Subcategories

  • VMs, hosts, pools, networks and all other usual management tasks.

    375 Topics
    3k Posts
    M
    @Danp Hi, I'll try this. Thank you very much. Best regards Mattmurdock78
  • ACLs, Self-service, Cloud-init, Load balancing...

    93 Topics
    782 Posts
    T
    @jkatz I ran into the same issue when trying to configure a network adapter with cloudbase-init. The documentation says that the MAC address value is optional but in reality it is required. In my case I want Xen Orchestra to choose a unique MAC during deployment, and I since I am deploying from a template, the NIC name is a known value. The fix that ended up working for me was to modify the networkconfig.py file in cloudbase-init so that the NIC name is required and the MAC address is optional. I ended up making some additional changes to allow for the network-config v2 format along with the existing v1 support and some additional logic to aid in setting the dns search domains (I can't recall if this was originally supported or not but I had issues getting it to work with the original networkconfig.py file) This file needs to replace the existing one that is installed in the C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\Lib\site-packages\cloudbaseinit\plugins\common\ directory. To replace it you should make sure that the cloudbase-init service is stopped, then replace the file. Once this file is replaced, delete the pycache folder in the same parent folder as networkconfig.py - this will ensure that python recompiles this file on service start. Start the cloudbase-init service and confirm that you see a new pycache get created. I'm not a python programmer by trade so others may be able to point out areas for improvement but this ended up working for me and I wanted to share in case it could help others needing to deploy new servers without manually specifying a new MAC address. Below is an example network-config v2 format that works with the updated file. version: 2 ethernets: Ethernet 2: dhcp4: false addresses: - 10.20.30.10/24 nameservers: addresses: - 10.20.5.12 - 10.20.5.13 - 10.20.5.14 search: - intranet.domain.org - domain.org - public-domain.org routes: - to: default via: 10.20.30.1 Updated networkconfig.py file: networkconfig.py.txt
  • All XO backup features: full and incremental, replication, mirrors...

    388 Topics
    4k Posts
    olivierlambertO
    Use XO to connect on the host with the 10G network IPs addresses.
  • Everything related to Xen Orchestra's REST API

    68 Topics
    529 Posts
    olivierlambertO
    @lsouai-vates we should try to reproduce and if we can, to fix it ASAP. Thanks!
  • Terraform, Packer or any tool to do IaC

    35 Topics
    350 Posts
    J
    @manilx I have proposed to the IaC team of Vates, a MCP Server for Vates VMS. Which can be used by GitHub Copilot or similar, if used when doing IaC etc.
  • xo-cli and using self signed certificates

    6
    0 Votes
    6 Posts
    2k Views
    olivierlambertO
    That's the part where are potential/future public API could be very helpful
  • VM is running correcty, but console in XO/Xen-Center frezze

    5
    0 Votes
    5 Posts
    357 Views
    olivierlambertO
    Well, if you pay for an LTS version with active support on it, indeed, update to a more recent version shouldn't be the solution to a bug. But there's no such thing as LTS for Xen Orchestra, since there's a monthly release cycle. And I'm not aware either that you are paying for it
  • Can't create Private Network, on XO 5.83

    14
    1 Votes
    14 Posts
    2k Views
    BenjiReisB
    @bberndt the sdn controller communicate with the hosts on port 6640, opening it on the host should be enough. I don't know what's happening. !this TLS error should have been solved by the override-certs option set to on.
  • Lock file is already being held

    6
    0 Votes
    6 Posts
    1k Views
    brodiecyberB
    @brodiecyber Looks like it was some fluke with the way i scheduled the backup job as after i reorganized the times for the backup jobs im not encountering the error anymore. so entirely my fault was experimenting with incremental backups Thanks
  • Some questions to VM and XO and so on

    4
    2
    0 Votes
    4 Posts
    548 Views
    M
    @olivierlambert said in Some questions to VM and XO and so on: remote in Xen Orchestra is the place Thank you so much! to 3. I think I just go with mounting the NFS or SMB share to a VM to store some data in it. to 4. Was just interested if it works @Darkbeldin Thank you for sharing this tool
  • Best Way to Backup XCP NG

    2
    0 Votes
    2 Posts
    2k Views
    DarkbeldinD
    @gojjily Hi Gojjily, Not sure i fully understand your question so let me clarify some points and perhaps you can ask some questions after that. XO allow you to make backups to what we call a remote, this remote is a network share (or local but not recommended) inside the XCP network where you can store your backups. You can also backup XCP metadata this allow you in case of a major crash of one of your host to restore the host configuration. Once your backups are setup you can restore them directly from your XO. If you want to protect further your data you could copy your backup to another place but it's not directly include in XO even if you could set two remotes for the same backup job and have you backups directly replicated hope this clarify a bit.
  • can you convert from xo compiled to XOA when ready?

    4
    0 Votes
    4 Posts
    345 Views
    olivierlambertO
    As I said, we can extend it, just ask us
  • web-hooks Keeps giving errors

    2
    0 Votes
    2 Posts
    321 Views
    olivierlambertO
    Check the Settings/logs view for more details.
  • Backup timeout with compresion

    6
    0 Votes
    6 Posts
    413 Views
    GheppyG
    Is there any option to set for timeout value? I say this because, monitoring the process, everything seems to be going well until the moment when it starts to check the free space. XCP-NG is 8.2 up to date, the disk on which the VM is it is formated as local ext. The connection to the backup server is on NFS on the LAN at a speed of 1Gb. On the iotop it seems that the space check goes with speed 650Gbits +.
  • Migrating VM fails with DUPLICATE_VM error part2

    47
    0 Votes
    47 Posts
    17k Views
    A
    @darkbeldin For the record, both vm's were running on the same esxi host when exported. This may or may not be a factor (I suspect it is).
  • Slow XOA VM download (~250KBps)

    7
    0 Votes
    7 Posts
    1k Views
    B
    @olivierlambert I've dug into the issue a bit more, and it just gets stranger. Downloading to my Macbook on the same network gets ~4MB/s. This means there is something strange going on with the control domain around remote downloads. When I test the disk speed (which is an Samsung NVMe), the speed is 1.7GB/s: [14:31 xcp-host ~]# dd if=/dev/zero of=testfile oflag=direct bs=1M count=5000 status=progress 4998561792 bytes (5.0 GB) copied, 3.000607 s, 1.7 GB/s 5000+0 records in 5000+0 records out 5242880000 bytes (5.2 GB) copied, 3.15049 s, 1.7 GB/s When I test the network speed with Ookla's speedtest-cli it confirms a 1G connection, and a 1G transit to Europe (checked this twice because 1G Atlantic transits are rare): [14:44 xcp-host ~]# speedtest -s 2023 Speedtest by Ookla Server: LaFibre.info - Lyon (id = 2023) ISP: Bell Canada Latency: 108.05 ms (0.49 ms jitter) Download: 960.47 Mbps (data used: 1.5 GB ) Upload: 172.11 Mbps (data used: 293.4 MB ) Packet Loss: 0.0% Result URL: https://www.speedtest.net/result/c/b8f1da9f-5c57-4ad8-ad3b-729e1625affe On my Macbook (on 802.11ac) I can download an Ubuntu image at ~14MB/s ➜ wget http://ubuntu.mirrors.ovh.net/ubuntu-releases/21.10/ubuntu-21.10-desktop-amd64.iso --2021-11-16 14:49:41-- http://ubuntu.mirrors.ovh.net/ubuntu-releases/21.10/ubuntu-21.10-desktop-amd64.iso Resolving ubuntu.mirrors.ovh.net (ubuntu.mirrors.ovh.net)... 213.32.5.7 Connecting to ubuntu.mirrors.ovh.net (ubuntu.mirrors.ovh.net)|213.32.5.7|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3116482560 (2.9G) [application/octet-stream] Saving to: ‘ubuntu-21.10-desktop-amd64.iso’ ubuntu-21.10-desktop-amd64.iso 3%[=> ] 107.27M 14.4MB/s eta 4m 14s However on the control domain the download speed is considerably lower: [14:52 xcp-host ~]# wget http://ubuntu.mirrors.ovh.net/ubuntu-releases/21.10/ubuntu-21.10-desktop-amd64.iso --2021-11-16 14:53:03-- http://ubuntu.mirrors.ovh.net/ubuntu-releases/21.10/ubuntu-21.10-desktop-amd64.iso Resolving ubuntu.mirrors.ovh.net (ubuntu.mirrors.ovh.net)... 213.32.5.7 Connecting to ubuntu.mirrors.ovh.net (ubuntu.mirrors.ovh.net)|213.32.5.7|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3116482560 (2.9G) [application/octet-stream] Saving to: ‘ubuntu-21.10-desktop-amd64.iso.1’ 3% [==> ] 106,910,815 3.20MB/s eta 16m 47s Have you ever see something like this before? I saw you had some discussion on another thread regarding slow writes in a VM, but this looks like it affects the control domain as well: https://xcp-ng.org/forum/topic/4865/slow-disk-writes-inside-vm-on-8-2
  • Host Time with wront time, but timezone is OK

    4
    0 Votes
    4 Posts
    1k Views
    olivierlambertO
    Well, it's a bit hard to tell you directly what to do vs XOA, because on XOA you are already on a validated OS (Debian) with some packages installed. On which OS did you install Xen Orchestra in the first place?
  • Interrupted backups left on destination

    Solved
    3
    0 Votes
    3 Posts
    387 Views
    julien-fJ
    Sorry for the huge delay, I just stumbled on this thread It's indeed the case now, XO automatically check the integrity and clean any unused files in VM directory on a remote when that VM is backed up.
  • After reboot all vms hanged.

    2
    0 Votes
    2 Posts
    321 Views
    olivierlambertO
    Hi, Try to disable/enable back the auto power on for one VM, and try again.
  • Commands in Xen Orchestra Jobs no longer working

    5
    0 Votes
    5 Posts
    884 Views
    T
    @olivierlambert said in Commands in Xen Orchestra Jobs no longer working: The best solution is to rely on XOA, you know I agree with @olivierlambert! Personally, I'm using XO from sources in my home lab environment -- nothing is "production" and I'm mostly having fun trying to give back to the open source community.
  • always getting "unhealthy VDI chain"

    3
    0 Votes
    3 Posts
    842 Views
    I
    @Danp - thank you. Yes, I did, but that was not helping in this case. Found the solution: Both machines are on a hostserver, which has NOT all networks. So the real reason must be a network problem, therefore a quite missleading error message After moving both VMs to the master of this pool (which is connected to the same network where the xoa resides), everything went fine. Same storage, same vhds.
  • Backing up to NFS share on ZFS

    9
    0 Votes
    9 Posts
    2k Views
    IndyJI
    @indyj The file restore issue was due to installing XO on FreeBSD (fine for VM restores, not file extraction). I then installed XO on Ubuntu 20, and this worked for restoring files from Linux VMs but not Windows VMs. Then I installed on CentOS 8 and had the same problem as Ubuntu. I then installed on Fedora 34 and everthing works fine.
  • Backblaze B2 as a backup remote

    7
    0 Votes
    7 Posts
    1k Views
    olivierlambertO
    Just hold on for this month release
  • Automatic backup verification

    feature in backlog
    11
    1 Votes
    11 Posts
    2k Views
    julien-fJ
    Yes, it should be safe enough to try importing the backup, then starting the VM without network (ie VIFs) and see if it stays up for a few minutes. I think we could start by adding a manual feature and then see in a second step how we could automate it.
  • XOCE Integration with OpenLDAP

    41
    0 Votes
    41 Posts
    12k Views
    olivierlambertO
    Also, the user will be created only on first connection. Maybe you are thinking about the plugin in a way that's not how it behave.