Subcategories

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

    476 Topics
    4k Posts
    A
    @pkgw Planning an RPU as a whole is a nice idea in theory, but it's inherently designed to co-exist with normal pool management operations (you should still be able to migrate VMs between hosts B and C during it, or start new ones), we are not "pre-booking" memory and other resources for groups of VMs, otherwise it can quickly make the rest of the pool hard to manage while some VM migrations could still be far away. Regarding the narrower case - I'll note this down and see if we can improve things, thank you!
  • ACLs, Self-service, Cloud-init, Load balancing...

    105 Topics
    864 Posts
    M
    Is a centralized XOA server "managing" two remote Proxy-fronted XCP clusters supported with the SDN Controller Plugin? We are looking to deploy an architecture similar to this blog post from 2022: https://xen-orchestra.com/blog/xo-proxy-a-concrete-guide/
  • All XO backup features: full and incremental, replication, mirrors...

    515 Topics
    5k Posts
    poddingueP
    Thanks for checking. That's useful, even if it points away from where I was looking. Clocks within a second of each other means drift probably isn't your problem, and I'd guess the MST/UTC difference is just how dom0 displays it, though I'm not sure. What I keep coming back to is that your full backups fail while the delta jobs on the same hosts never do. That's the same split in https://github.com/vatesfr/xen-orchestra/issues/9181, where full backups hit BodyTimeoutError on VMs with big disks or a lot of free space and the deltas are fine. If your failing VMs look like that, your dates and the MST/UTC detail would do more good on that issue than buried in here. MajorP93 created this issue in vatesfr/xen-orchestra open Full backup fails on large VMs / VMs with lots of free disk space #9181
  • Everything related to Xen Orchestra's REST API

    86 Topics
    645 Posts
    J
    Hello I'm pulling stats for all VMs to understand CPU usage. We're a bit behind the curve in terms of XO versions, but these questions hopefully are still relevant. If using a granularity of days, the interval is set to 86400 (understandably) but the endTimestamp varies. Running this on June 9th @ ~1740 we get timestamps for both Mon Jun 8 01:00:00 AM BST 2026 and Tues Jun 9 01:00:00 AM BST 2026. Does this average across the day? Why is the timestamp 0100? Why would there be different timestamps between VMs (all are running) and does that mean that the figures are misaligned in the results? These are retrieved via curl and a bash script, a bit hacky, but for clarity the request is: ++ curl -X GET -s -H accept:application/json -b authenticationToken=[[REDACTED]] -o [[REDACTED]] 'https://[[REDACTED]]/rest/v0/vms/[[REDACTED]]/stats?granularity=days' Really keen to know if we can control the start and endtime, as well as provide a manual interval, as well as the aggregation strategy (min, max, average). Are any of these possible? Lastly, is cpuUsage the percentage as per the dashboard, but averaged over all CPUs? Thanks so much in advance. James
  • Terraform, Packer or any tool to do IaC

    51 Topics
    471 Posts
    poddingueP
    The Kubernetes CSI driver for Xen Orchestra just hit v0.4.0, and we want it on more real clusters before it reaches a stable release candidate. If you run Kubernetes on XCP-ng VMs, this is a good time to give it a proper workout. What's new in v0.4.0: Local-storage support Automatic pool-discovery fallback Kubernetes metadata now lives in Xen Orchestra VDI tags instead of the deprecated other_config. That change also drops the old requirement for Xen Orchestra 6.4 or newer, so the driver runs on more deployments now. ️ Read this before you upgrade. v0.4.0 is a breaking change. The Kubernetes metadata moved from other_config to VDI tags, so you must migrate before upgrading from v0.3.0. Do not upgrade in place: follow the v0.3.0 to v0.4.0 migration guide in the release notes, then move to v0.4.0. What helps us most is hearing how it behaves on your own setup: what works, what breaks, which storage backend you use, and which flavour of Kubernetes you run (k3s, full k8s, or something else). Edge cases on real clusters are the ones we don't see in our own testing. Where to report: start right here in this thread. It keeps everything visible to the community and lets others on the same setup jump in. If something turns out to be a reproducible bug, we'll move it to a GitHub issue on the repo so the team can track it to a fix. Release notes and migration guide: https://github.com/vatesfr/xenorchestra-csi-driver/releases/tag/v0.4.0
  • A question for the creators of XO

    31
    -1 Votes
    31 Posts
    18k Views
    J
    @jasonnix said in A question for the creators of XO: Hi @john-c, Thank you for your great tips. As I said, I've heard that Java and JavaScript are insecure, but they also have some advantages that you and others have pointed out. For example, they have a large community of users and developers. Sorry, but I think that sometimes we don't choose the right path. For example, I'm sure that a professional PHP or Ruby developer can convince you that JavaScript is not the right choice for some projects. If PHP or Ruby were not good programming languages, then they would not have so many fans and everyone would use JavaScript. One of the reasons why JavaScript is so popular is that this language can be run by browsers. Something like a standard for the web. In my opinion, JavaScript like Windows operating system. It has capabilities and features, but the most important reasons for its popularity are its large number of users and ease of use. My other question is, why is there no program under the operating system to manage XCP-ng? If you are talking about directly on XCP-ng operating system there are. In this case there's two options:- XO Lite xe Though XO Lite is new and still being developed its designed to be hosted (embedded) on the currently beta XCP-ng version 8.3. It's aim is to provide a features consistent with a single host or single pool environment. It's aimed at home lab users mostly so they can perform basic tasks, without having to install any extra software on client computers. Though technically it's viewed and invoked remotely but the commands are done directly on the pool master XCP-ng host. The remote viewing and invoking is done on a client device through the web browser or if installed as PWA the browser engine. The other option is xe its command line based so everything you wish to do needs to be typed out in the right syntax. Even tasks as basic as creating a new VM require multiple commands, several of which are from xe to perform a part. To manage XCP-ng remotely you have the option of:- Xen Orchestra XCP-ng Center Xen Orchestra - XO CLI Xen Orchestra - REST API A bit off topic are you any good with PowerShell? If so how about reading up on the relevant documentation about XAPI and/or XO's API so that a PowerShell commandlet can be developed?
  • Unsure how to link an external server for backup

    3
    0 Votes
    3 Posts
    465 Views
    T
    @Danp yes, I'm getting this error on the settings > remotes page. As you can imagine, I'm confused why NFS works on the main SR page, but not the settings > remotes page EDIT: never mind, discovered that I have to put the full share path, not just the share name. Example: \\10.69.50.31:Port:/mnt/user/UnraidBackup/XCPNGBackups
  • SSL Inspection Certificates

    4
    0 Votes
    4 Posts
    3k Views
    J
    @jqueiroz said in SSL Inspection Certificates: Don't you love to find the answer by yourself just after asking in the community forum? Create directory '/usr/local/share/ca-certificates' Copy the needed certificates this place Run /usr/sbin/update-ca-certificates [seems not be on the path]. @john-c said in SSL Inspection Certificates: Also for future reference if you ever re-do a server note that XCP-ng's certificates can be done through the XO application. Thanks. But, just for clarification, it wasn't the XO/XOA server certificate, was the certificates that sign all the HTTPS pages we visit. I uncovered a much more effective and supported method that that one you done. Follow the steps in the documentation for the XCP-ng hosts, utilising a certificate chain to include you custom CA certificate. Not forgetting setting up a custom extra CA for xen orchestra via an additional configuration file documented in the documentation for XO VM. Also by the way the method you did in the post above will be lost on upgrade, as well as likely not included in the backup feature process of XO application. However the links below will get included in the backup feature and the backup of XO configuration. Plus your method will potentially interfere with software update package which comes from the official repository, that updates the certificate authority certificates and their trusts. https://xen-orchestra.com/docs/configuration.html#custom-certificate-authority https://xen-orchestra.com/docs/configuration.html#https-and-certificates https://docs.xenserver.com/en-us/citrix-hypervisor/hosts-pools.html#install-a-tls-certificate-on-your-server https://docs.xcp-ng.org/guides/TLS-certificates-xcpng/
  • XO Deployment

    1
    0 Votes
    1 Posts
    224 Views
    No one has replied
  • Adding OS Logos

    21
    0 Votes
    21 Posts
    15k Views
    J
    @john-c well, me too. But since it gets neither at the moment. And being realistic in that they can't be excpected to keep up with every distro in existance. I'll take what I reasonably can get Update: Let me clarify. If there could be Distro specific logos, then that would be awesome. However, if we could get a generic Tux for Linux in general. Then that would cover a large part of the variants out there.
  • Slower performance on XO than XOA

    Unsolved
    1
    0 Votes
    1 Posts
    282 Views
    No one has replied
  • configure shared storage for VM for SQL Server Cluster

    10
    0 Votes
    10 Posts
    4k Views
    F
    @olivierlambert is there a way to mount the same disk in two VMs in RW mode? I have a lab that uses pacemaker inside the VM's and pacemaker handles the mounting/access of the volumes. I have a working setup on oVirt using the "Shareable" option of a Virtual Disk. So I can attach to multiple VM's simultaneously. Is there anything similar on XCP-ng? Even if I have to hack through the command like to attach? Thank you.
  • Cannot start Xen Orchestra Quick Deploy Appliance

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    D
    @fffeee the underlying storage repository is disconnected from the Host. It would likely be better to open a new topic to discuss in detail, as there are a variety of reasons as to why this could happen that are going to be case specific to your issue.
  • Can not create a storage for shared iso

    3
    1
    0 Votes
    3 Posts
    752 Views
    C
    @Tristis-Oris thank you
  • XOA is allways halted after the machine is rebooted

    8
    0 Votes
    8 Posts
    2k Views
    C
    @splastunov said in XOA is allways halted after the machine is rebooted: xe vm-param-set uuid=<vm_UUID> other-config:auto_poweron=true Thank you very much for detailed reply. It worked. All the best
  • Unable to add a Host to Xen Orchestra - no errors

    7
    4
    0 Votes
    7 Posts
    2k Views
    DanpD
    @Xelosu FWIW, the log entries related to xo-server-test are benign and should be ignored.
  • how to get syslog to remote to work?

    4
    0 Votes
    4 Posts
    2k Views
    lawrencesystemsL
    @djingo My syslog stopped working (I think after one o the updates) and this bug still exists. If you trying removing it form the Pool or individual hosts in the Pool via XO it will not let you have it as blank. If you ssh in and use xsconsole you can remove the syslog server and but it will not let you specify a port. But once it has been removed from xsconsole you can go back into XO and add in the syslogserver along with a non-default port such as 192.168.2.7:1521 and it will work.
  • Xen Orchestra & XO Lite PWA Manifest

    xenorchestra xolite pwa manifest iconography
    10
    0 Votes
    10 Posts
    2k Views
    J
    @pdonias said in Xen Orchestra & XO Lite PWA Manifest: Thank you @john-c! We need to make a few changes first, we'll take care of your PR right after that As a result of taking such a long time to get around to reviewing and merging my PR. The base for my contribution got really out of sync so I had to discard the changes and rebase. This meant the PR got closed a new one was needed. The Old PR with branch was really out of sync and with several lots of conflicts. https://github.com/vatesfr/xen-orchestra/pull/7445 So please do this new one during today or tomorrow so that the rebasing isn't needed again! MrGrymReaper opened this pull request in vatesfr/xen-orchestra closed xo-web Initial PWA manifest for Xen Orchestra 6 #7445
  • Adding OS Logo to XenOrchestra Home

    8
    0 Votes
    8 Posts
    2k Views
    E
    i found this lines of code (ex. mint) in the other topic (https://xcp-ng.org/forum/topic/4583/adding-os-logos/14?_=1709647941739) on the right side my version as ex. NAME="Linux Mint" VERSION="20.1 (Ulyssa)" ID=linuxmint ID_LIKE=ubuntu PRETTY_NAME="Linux Mint 20.1" VERSION_ID="20.1" NAME="Scientific Linux" VERSION="7.2 (Nitrogen)" ID=scientificlinux ID_LIKE=redhat PRETTY_NAME="Scientific Linux 7.2" VERSION_ID="7.2" do i forgot to add some more lines like those (up) for e.x. ?
  • fatal error while updating XOA (installed from source)

    9
    0 Votes
    9 Posts
    3k Views
    L
    @stormi Thanks for your answer. I'll give a try later, bypassing the PFBlocker module of the router. Github is not currently on any blacklist, but I block Digital Ocean and some others who host many attackers.
  • Problem importing ANY ESXi VMDK into Xen Orchestra CE

    26
    1
    0 Votes
    26 Posts
    13k Views
    nikadeN
    @Mathieu said in Problem importing ANY ESXi VMDK into Xen Orchestra CE: Just experienced the same issue with a few VMs I imported from VMware. I think it's a Windows issue, from what I can tell. The network adapter type changes after the import in xcp-ng (from VMXNet to XenServer PV), that's normal. Windows do not allow the same IP address to be used automatically for a different type of network adapter, so that's why it reverts to DHCP with the new adapter. You can see that by setting the previous static IP address in the new adapter, it will warn you that the address was used with a previous adapter and asks for confirmation. https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/error-message-when-you-set-ip-address No idea if there's a way to avoid that. Yeah same, we're also using VMXNET. When trying to do this manually there's a popup which you have to accept to "force" having the same IP on multiple interfaces. Im sure the IP's are save in registry so deleting the post as part of the process would probably resolve it.
  • Error on attempting delta backup -- how to rectify?

    6
    0 Votes
    6 Posts
    1k Views
    K
    @Danp Aww. see that box. Let me look into this problem a bit more. Learning some new things here.
  • New VM Creator drop-down is not working

    Solved
    13
    0 Votes
    13 Posts
    2k Views
    JamfoFLJ
    @julien-f Agreed... I will add (just for future reference) that I did confirm that I was on the very latest versions of xo-server at the time... in fact, I made sure to apply all updates and reboot the Xen server before submitting the ticket. Nothing seemed to work... even multiple reboots, etc. Once @Danp made mention of the Nodejs version and I updated from v18.18.2 to v18.19.1 everything immediately started working. I made no other changes after applying the Nodejs update. So while that may not have been the cause, it somehow fixed whatever was ailing me. I have no explanation either, other than the fact that making that change is what took me from the feature not working to the feature working.
  • XO Dev Setup

    2
    0 Votes
    2 Posts
    583 Views
    florentF
    @jedimarcus yarn dev start only the watcher(s) you can start the server by using cd packages/xo-server and then yarn start you can use nodemon instead of node if you want autoreload
  • unknown error from the peer

    3
    0 Votes
    3 Posts
    2k Views
    J
    @Danp Yes. I have 3 VMs on this host plus the XOA. All using the same eth1. I'm able to reach https://xen-orchestra.com/ from the network and other VMs. Although in the Internet connectivity: Error: above it is being directed to non SSL connection. Could it be that the registration cannot handle redirects? JB