Subcategories

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

    479 Topics
    4k Posts
    johnnezeroJ
    @poddingue Thank you for all the details and advise. I will reach out to them to see if it is anywhere on the project horizon. Thanks much, and have a great day!
  • 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...

    517 Topics
    5k Posts
    P
    @pedro_udifar Hi, You can try again with minPartSize=100000000 indeed. But I would advise you to contact B2 directly. They should have a clearer error to show instead of a 500. Thanks for your patience and your help
  • 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
    472 Posts
    JeremyLARDENOISJ
    New releases! Terraform Provider Xen Orchestra v0.40.0 This new release allows users to import VMs directly from Xen Orchestra into Terraform without recreating it or modifying manually the Terraform state. There is still some drift when importing it, but nothing that changes the real state of VM and we are currently on it! https://github.com/vatesfr/terraform-provider-xenorchestra/releases/tag/v0.40.0 Golang SDK for Xen Orchestra v1.11.0 v2 The network service is now available from the v2 client! You can now create, get and delete your network directly from it! v1 & v2 The template value in VM struct params has been fixed, We can now get the template id directly from it. https://github.com/vatesfr/xenorchestra-go-sdk/releases/tag/v1.17.0
  • Netbox Debugging

    Solved
    9
    1
    0 Votes
    9 Posts
    3k Views
    jedimarcusJ
    @pdonias I did an update to Netbox 2.11.12 and it works now, so I don't need to tamper with my XOA.
  • XCP host rebooted: VM's wont start anymore :-(

    40
    0 Votes
    40 Posts
    13k Views
    olivierlambertO
    It can't be done by XO, because XO is using XAPI to make all calls (there's no XAPI command to rename a file on the SR, also XO isn't connected via SSH, so there's 0 change it was caused by XO). So it was done manually at some point (check your host bash history).
  • 0 Votes
    6 Posts
    3k Views
    pdoniasP
    Thanks @cookie-eater2000, we'll take a look.
  • Allowing replicated server to start

    4
    0 Votes
    4 Posts
    773 Views
    olivierlambertO
    There's no issue nor restriction to replicate a shutdown VM. CR will work as long as the destination VM never booted (otherwise destination blocks will be modified, so you understand now why we should block boot except if you really know what you do )
  • Error: footer1 !== footer2

    10
    0 Votes
    10 Posts
    2k Views
    M
    @julien-f said in Error: footer1 !== footer2: @markhewitt1978 In that case, please open a support ticket there and then, open a support tunnel for us to investigate Thanks. I shall run it one more time manually to make sure. And if it fails I’ll open a ticket Thanks.
  • Xen Orchestra CLI

    Solved
    7
    0 Votes
    7 Posts
    3k Views
    S
    @stormi Awesome! Thanks again for your help stormi.
  • Backup, CR and snapshots question

    2
    0 Votes
    2 Posts
    1k Views
    olivierlambertO
    Correct, no problem to do that No other limitation. Yes, space will be reclaimed thanks to coalesce after that.
  • Why XOA did not restore the backup to a vm, but a template

    6
    0 Votes
    6 Posts
    1k Views
    T
    @ninghe Are A and B identical servers? No shared storage? Does it work if you use normal snapshot mode?
  • Backup storage - what connects to the remote storage device?

    2
    0 Votes
    2 Posts
    679 Views
    olivierlambertO
    Hi, It doesn't' work that way. XCP-ng is not capable of pushing any data by itself, it has to be pulled. That's exactly why we manage to build XO Proxies to solve this kind of common "enterprise" issue, when you have remote sites
  • Backing up the backup

    5
    0 Votes
    5 Posts
    2k Views
    M
    Doing a bit more hunting it seems like if we could get Arcserve to use the nolock option then that would likely solve the problem, but there's nowhere to add any options and the Arcserve Proxy itself uses the Windows NFS client behind the scenes. Right now we've worked around the problem by creating a separate, read-only SMB share pointing to the same location and using that for Arcserve instead. Our only concern now is what could happen if XO starts a job while Arcserve is still doing its own backup. Edit: I did a bit more Googling after posting the above and came across this thread: https://www.truenas.com/community/threads/nfs-the-process-cannot-access-the-file-because-another-process-has-locked.12644/ ... which suggests that it's actually a long-standing TrueNAS bug. Buried within the comments is this suggestion: If you're having trouble with the NFS locking mechanism, and you would like to use the "NET USE" command, or the [WNetAddConnection] function to mount a NFS share without locking, there's an undocumented registry entry hidden in the NFSNP.DLL: "HKLM\Software\Microsoft\Client for NFS\CurrentVersion\Users\Default\Mount" REG_DWORD "Locking" If the value is "0x0" then locking will be disabled globally. If the value is "0x1" then locking will ben enabled globally. We'll test it and report back.
  • 0 Votes
    7 Posts
    2k Views
    fohdeeshaF
    @cbaguzman hi, you could try a hard mount instead of soft, then it should constantly retry until it sees the mount again https://www.ibm.com/docs/en/spectrum-protect/8.1.6?topic=considerations-nfs-hard-soft-mounts
  • Failed to join the pool

    3
    3
    0 Votes
    3 Posts
    1k Views
    N
    @gskger thank you a lot. I'll try again.
  • Very minor issue: tooltip location

    1
    1
    0 Votes
    1 Posts
    372 Views
    No one has replied
  • Delta backups vs ZFS snapshots

    4
    0 Votes
    4 Posts
    1k Views
    DarkbeldinD
    @tsettle I'm using a cloud to save regularly my full backup, but otherwise i'm only using a Truenas with ZFS.
  • XO console keyboard on iOS and iPadOS - no input possible

    7
    0 Votes
    7 Posts
    2k Views
    M
    @olivierlambert said in XO console keyboard on iOS and iPadOS - no input possible: No but it doesn't mean this won't be solved with a virtual keyboard anyway It would need to be able to trigger the built in iPad / iPhone keyboard for it to be properly usable.
  • Default for create new ...

    3
    0 Votes
    3 Posts
    731 Views
    E
    Whenever a server or pool is needed, so the field doesn't stay empty and requires manual selection. For example, when creating a new VM, the screen is empty with one line: Create new VM on: [pull down] The same goes for some other items but I don't click nearly as much so in particular for creating new VM's it would save some time if a default could be configured. Thanks!
  • XOA - static route - persistent

    Solved
    10
    0 Votes
    10 Posts
    4k Views
    olivierlambertO
    Since this is a pretty advanced setting, I'm not sure we want to add it into the UI What do you think @julien-f ?
  • Blank CloudInit Drive from Xen Orchestra

    9
    0 Votes
    9 Posts
    2k Views
    M
    @olivierlambert Amazing. Thank you for your help sir!
  • XO console

    3
    0 Votes
    3 Posts
    2k Views
    R
    @olivierlambert thanks. I do understand the console not intended to be Remote Desktop but more of the "I really need access" type of service. Tools like NX and any desk you give a very nice Remote Desktop experience but the virtual graphics card (framework?) Limits what those tools can provide for Remote Desktop. I'll take your advice and check into UDS enterprise.
  • Custom script execution after backup job

    5
    0 Votes
    5 Posts
    1k Views
    AnonabharA
    @olivierlambert Ah.. I'm being thick.. I didnt have the plugin loaded so I was wracking my brains to try and find out where the hook would have been called.. Thanks for you help, and back to coding! 8-)