Subcategories

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

    475 Topics
    4k Posts
    olivierlambertO
    Great! I think this is really the best possible approach to make it clean
  • ACLs, Self-service, Cloud-init, Load balancing...

    104 Topics
    863 Posts
    laszlobortelL
    @florent Thanks for your reply! We have started to migrate thousands of VMs, so disk transfer speed is important for us.. We will also do our detailed tests soon with different threads setting and publish it here. I think threads=1 is a good and logical default, but not efficient. Others might complain if you set it to a higher value. Configuration option would be a real good solution.
  • All XO backup features: full and incremental, replication, mirrors...

    514 Topics
    5k Posts
    P
    @pedro_udifar Hi, We think we have found two issues into one: can you test this branch please? It has the changes from previous branch you built: fix_throttled_stream This should fix the stream issue and fix the warning.
  • 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
  • How to improve backup performance, where's my bottleneck

    19
    1 Votes
    19 Posts
    7k Views
    S
    server has 10G DAC to dedicated 10G SW, Disk its writing to is a NAS iSCSI Target with a single 10GBe NIC. Network Traffic is low under 30Mb/s ![alt text]([image: 1580537059039-screenshot-from-2020-02-01-16-26-10.png] image url) png) [image: 1580537959635-pdd.png] first peek is memory read.
  • SSH keys in XO

    4
    0 Votes
    4 Posts
    2k Views
    A
    @olivierlambert Re: SSH keys in XO Great, thanks for your explanation!
  • Template list refresh

    3
    0 Votes
    3 Posts
    1k Views
    stormiS
    There's a bug report about it: https://github.com/vatesfr/xen-orchestra/issues/4610 pdonias created this issue in vatesfr/xen-orchestra open Duplicate VM templates #4610
  • 0 Votes
    4 Posts
    3k Views
    H
    ok, could remove the vm by using the command xe vm-reset-powerstate uuid=******* --force, then I could remove the host
  • Re: [Ubuntu 18.04 desktop graphics console not working.]

    5
    0 Votes
    5 Posts
    1k Views
    stormiS
    See also: https://xcp-ng.org/forum/post/21792
  • Ubuntu 18.04 desktop graphics console not working.

    10
    0 Votes
    10 Posts
    4k Views
    stormiS
    See also https://xcp-ng.org/forum/post/21792
  • xoa restrict access to web interface by ip

    6
    0 Votes
    6 Posts
    2k Views
    olivierlambertO
    Yes, I would try that
  • Create a Ubuntu 18.04 cloud init template

    18
    0 Votes
    18 Posts
    7k Views
    M
    @bcatubig [image: 1580232853539-776ddfa2-a97c-4ea6-adb5-2dd05943b421-image.png] I see this message on the console right after the VM is created. Could it be somehow helpful?
  • Spread the backup load across servers

    6
    0 Votes
    6 Posts
    808 Views
    M
    For the moment I've had to create several backup jobs instead of one big backup it's e.g. servers01-06, 07-12, 13-18. Which isn't ideal as it's harder to manage, but is what it is!
  • XOA additional network interface

    6
    0 Votes
    6 Posts
    2k Views
    olivierlambertO
    So please open a support ticket, that would be easier to assist
  • Logs Not Revealing

    2
    1
    0 Votes
    2 Posts
    741 Views
    DanpD
    Hard to say from just a screenshot. What version of XO are you running? How long did you wait for the logs to load? Did you try refreshing the page? FWIW, I've noticed that XO seems to take longer to load this page than it did previously. P.S. Technically, you aren't running XOA (the pre-built XO appliance).
  • too many VDI/VHD per VM, how to get rid of unused ones

    43
    0 Votes
    43 Posts
    19k Views
    R
    its still there ie the host is still atached to that vdi im thinking this is the issue why my backups wont run anymore if not i will do it on the xen server cli, but it would be nice to know why this isnt working
  • XO on Raspberry Pi 3B+ ?

    5
    0 Votes
    5 Posts
    4k Views
    G
    I've been spending some time on it for the last few nights, and my skills are improving little by little. I think Ubuntu desktop was the closest I got to functional, there is a custom image for the Rpi3b+ that I found and it was one of the attempts that got to trying to start the XO-server service and failed. I was never able to get the xo-server to start manually either and the log files didn't give me anything I understood. One of the versions that worked the least was CentOS 7 for RPi, node.js is not available for it in the normal repos. I have more experience with CentOS from a few years ago and more comfortable with it, may have to look into compiling all the dependencies from source to see if I can make it work. I think an RPi 4b with 2gb or 4gb of RAM might be a better choice, but I have the 3b+.
  • Issue with vm 's that where suppose to be deleted

    2
    1
    0 Votes
    2 Posts
    578 Views
    olivierlambertO
    Have you refresh your broswer tab? Have you tried to disconnect/reconnect the pool in Settings/servers?
  • XOA sign in page, default credentials not working

    Solved
    3
    0 Votes
    3 Posts
    7k Views
    olivierlambertO
    Hey! Thanks for the feedback Keep us posted if you have any issues!
  • Error When adding host to XO

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    F
    @olivierlambert Thank you. All back to normal now
  • Having issue registering xo-cli

    2
    1
    0 Votes
    2 Posts
    482 Views
    DanpD
    You need a space between the URL and the user name.
  • High Availability setup

    2
    0 Votes
    2 Posts
    4k Views
    olivierlambertO
    This guide shows an old UI of XO, but you can always set the HA for the VM in its Advanced Tab. HA at the pool level might be enabled using the command displayed in the blog post. So far enabling HA on the pool level isn't exposed in XO because HA is causing more issues than it solves in general. If you decide to enable it on the CLI, it means that you probably understand what you do. If you don't know where to find a SR UUID, using HA might expose you to VERY bad experience. BTW, you can find it in SR view, click on the SR you want to use as HA SR, you'll see the UUID just beneath the name. As someone said in this forum few weeks ago: Everybody wants HA but not everyone needs it
  • where is the Home Server option in XO

    4
    0 Votes
    4 Posts
    1k Views
    olivierlambertO
    Also please note that's not a guarantee to boot the VM on this host. In fact, there's no way to be 100% sure it will. It's just than now XCP-ng will do its best to honor this. But eg, if there's not enough RAM on the host, then it will boot on another host of the pool.
  • XO to manage KVM?

    27
    1 Votes
    27 Posts
    17k Views
    G
    I think, solution you are looking for is direct disk access. It's possible. I use it for my file server VM (FreeNAS) with five 4TB wd red drives (zfs). Passthrough entire PCI storage card is better, but even cheap server motherboards have 6 sata channels (one for dom0 ssd, and five for file server storage). This is my example (and my UUIDs) mkdir /srv/direct-sata_sr xe sr-create name-label=”Direct SATA SR” name-description=”SATA links to passthrough direct to VMs” type=udev content-type=disk device-config:location=/srv/direct-sata_sr New UUID generated on sr creation ba9b124c-c5ac-2c0b-7b1f-014d9cezzzzz ln -s /dev/disk/by-id/<disk id> /srv/direct-sata_sr/<disk id> ln -s /dev/disk/by-id/ata-WDC_WD5000BEVT-26A0RT0_WD-WXE1A10V7603 /srv/direct-sata_sr/ata-WDC_WD5000BEVT-26A0RT0_WD-WXE1A10V7603 xe sr-scan uuid=ba9b124c-c5ac-2c0b-7b1f-014d9cezzzzz xe vdi-list sr-uuid=ba9b124c-c5ac-2c0b-7b1f-014d9cezzzzz Good luck.