Subcategories

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

    408 Topics
    3k Posts
    olivierlambertO
    Or even test the qcow2 beta and report if you have issues
  • ACLs, Self-service, Cloud-init, Load balancing...

    96 Topics
    811 Posts
    olivierlambertO
    Indeed, and it's clearly stated at https://docs.xen-orchestra.com/community
  • All XO backup features: full and incremental, replication, mirrors...

    416 Topics
    4k Posts
    ForzaF
    @Bastien-Nollet said in Full backup - new long-retention options: @Forza As your backup tasks executes only once a week, the schedule retention is redundant with using "Number of weekly backups kept" of LTR. If keeping the last 52 weekly backups of this job is what you want, I recommend you to set the schedule retention to 1, and the number of weekly backups kept to 52. This way, if you happen to execute this backup job manually (in addition to its schedule), it will not delete the oldest backups. Thanks for the feedback. I included that difference (52 in the schedule and 12 in the LTR) on purpose in the screenshot because I wanted to know what takes presendece here, the 12 weeks, or 52 weeks. I have not yet enabled LTR, but am considering it for this backup job so that I can keep 52 weeks, 24 months and 5 yearly. Now I wonder if each dailym weekly, monthly and yearly option are sequential to the previous, or if all counts from 0? Will it mean that I have: year 1: 52 weekly year 2: 12 monthly year 3: 12 monthly year 4: 1 yearly year 5: 1 yearly year 6: 1 yearly year 7: 1 yearly year 8: 1 yearly Or will I get: year 1: 52 weekly + 12 monthly + 1 yearly (at the end of year 1) year 2: 12 monthly + 1 yearly year 3: 1 yearly year 4: 1 yearly year 5: 1 yearly
  • Everything related to Xen Orchestra's REST API

    71 Topics
    555 Posts
    olivierlambertO
    Yes, they are created either: on demand for users when we need in XO 6 Now, XO 6 is becoming the main driver for new endpoint as the UI is providing more and more features.
  • Terraform, Packer or any tool to do IaC

    40 Topics
    378 Posts
    olivierlambertO
    Ping @Team-DevOps
  • Deleting all existing Backups

    4
    0 Votes
    4 Posts
    1k Views
    planedropP
    Yeah for doing a fresh start it's easiest to just nuke the backup directory you were using and start over, have done it before and it's quick and easy vs trying to manually remove them all within XOA.
  • Deleting orphaned backups

    4
    0 Votes
    4 Posts
    325 Views
    DanpD
    Not that I am aware of.
  • 0 Votes
    5 Posts
    1k Views
    A
    @ronivay, I resolved my problem with orchestra which did not want to make backup with NFS. Orchestra wrote errors like: Command failed with exit code 1: mount -o -t nfs 192.168.11.53:/backups/xo /run/xo-server/mounts/0e5e9511-8912-48d4-96ad-532979533332 mount: only root can use "--options" option In general, orchestra tried to use mount option "--options" but mount command rejected this option. When I mount my NFS-shares manually everything was ok - mount works, read-write too, umount also. I did simplest process. I removed at all "--options" from mount command. (As far as I understand, *BSD mount will not work without this option but my Ubuntu works). Background: xcp-ng server (centos 8.2) as NFS server ubuntu server 16.04 where orchestra is going to be placed Orchestra installed 10 days ago from sources according to https://xen-orchestra.com/docs/installation.html#from-the-sources I complete followed document before chapter "Installing dependencies". I made yarn Then, before "yarn build", I manually edited file: /opt/xen-orchestra/@xen-orchestra/fs/src/_mount.js at string 68 I replaced await this.#execa('mount', ['-o', options, '-t', type, device, realPath], { with await this.#execa('mount', ['-t', type, device, realPath], { I then proceeded to follow the instructions: yarn build a so on... Now "patched" orchestra fine makes any kind of backup with NFS. At least, I solved this problem. Yet another question appeared as backup works What kind of Backup should I use to make full copy which enough for restoring (Heaven forbid)? I tried simply "Backup". It SUCCESSFULLY (!) created several files with 56 kbytes (no giga, no mega but kilo). I suppose it abnormal. My VM has got 20 Gb of disk space and about one half is already used (ubuntu server, postgres etc). As far as I understand (https://xcp-ng.org/forum/topic/7034/backup-with-local-usb-hdd-attached-sr_operation_not_supported/5?_=1688120707451) my version of xcp-ng (8.2.1) does not support "Snapshots" with local disks. Now I copy imagine of my VM with cron as temporary option but may be there is some more correct backup option?
  • Snapshot failure

    12
    0 Votes
    12 Posts
    2k Views
    S
    @sumansaha Hello Team, The issue has resolved after applying xe-toolstack-restart. Thanks.
  • increase 24 hour timeout-limit on backup/copy

    Solved
    24
    0 Votes
    24 Posts
    7k Views
    florentF
    @sumansaha that is a good news yes, the replication go through the XO VM, the faster the link the better the performances
  • if ACL is not free?

    3
    0 Votes
    3 Posts
    518 Views
    K
    @AtaxyaNetwork Thanks
  • Debian 12 (Bookworm) default template

    3
    0 Votes
    3 Posts
    1k Views
    escape222E
    @olivierlambert Thanks
  • Hosts have disappeared from XO Web UI

    30
    0 Votes
    30 Posts
    10k Views
    D
    @julien-f @julien-f All I have done is let ronivay's script do the builds daily on schedule if there is a new commit on the master branch. His script has not changed. There have been no new patches to the hosts. I don't have an explanation.
  • clone linode to local

    1
    0 Votes
    1 Posts
    139 Views
    No one has replied
  • SR_SOURCE_SPACE_INSUFFICIENT

    Solved
    4
    0 Votes
    4 Posts
    648 Views
    olivierlambertO
    XO saved the day
  • Check User creation Date/time

    3
    0 Votes
    3 Posts
    285 Views
    N
    @Danp Yes but unfortunately before of this incident audit is disabled
  • Move VMs between SRs

    4
    0 Votes
    4 Posts
    849 Views
    olivierlambertO
    No problem! Did you manage to do what you need?
  • XOA does not reliably autostart

    Solved
    4
    0 Votes
    4 Posts
    841 Views
    B
    Toggling it back and forth seems to have worked, thanks.
  • OIDC not redirecting back to XO

    22
    0 Votes
    22 Posts
    4k Views
    julien-fJ
    The fix is now merged on master and will be part of the next release.
  • DR - Failback Scenario

    5
    0 Votes
    5 Posts
    479 Views
    H
    That's great, we'll be watching the space.
  • How to restore vm and xo metadata from backups?

    2
    0 Votes
    2 Posts
    2k Views
    GheppyG
    I don't have experience with something like this, but I can do a mini lab with something like this, to test the steps below . What would I do. 0. Do you have metadata backup for XCP-ng? If YES 1.1. I would reinstall the server from scratch, before make a backup with Clonezilla with the boot disk of XCP-ng ; 1.2. I would reconnect iSCSI, without formatting it - reinitialize, only reconnecting (to not delete the data on it); 1.3. I would restore the metadata; 1.4. The result should be all the info about the VM that was on XPC-ng, and hopefully it also attaches the iSCSI disks. If NO 2.2. I would reinstall the server from scratch, before make a backup with Clonezilla with the boot disk of XCP-ng; 2.2. I would reconnect iSCSI, without formatting it - reinitialize, only reconnecting (to not delete the data on it); 2.3. I would redone the VMs from scratch and start attaching the disks to identify which and to which VMs they were attached before; 2.4. The result should be functional VMs In principle, if you have the disks intact, the data is there, you just have to restore the VMs (RAM, CPU, attached the correct disks, etc.) This is the menu for XCP-ng metadata backup, Backup/New. [image: 1686467766517-cf7e9ec4-0d85-4ab6-9a1a-1061cd40a685-image.png] [image: 1686467824225-129ea089-e38b-4cf6-aa04-f7b3020b23a3-image-resized.png]
  • Failing backups due to the Lock File

    5
    2
    0 Votes
    5 Posts
    957 Views
    B
    @olivierlambert Thank you! Updated to latest version of Xen Orchestra, commit b0e2e, and started backup again. Will update once it finishes. One thing that scares me is that now XOA is saying that XVA might be broken. [image: 1686296039914-206f4cb2-9efc-424f-808b-cf55c0c03e4c-image.png]
  • Host/Guest Console Scrolling

    7
    0 Votes
    7 Posts
    2k Views
    R
    @olivierlambert Hi there I also have this issue. Neither in XCP-NG-Center nor in XO I am able to use Shift + PgUp to scroll upwards. (Just nothing happens) I tested it with Ubuntu 18, 20 and also with Rocky 9.1 VMs. Is there a way to activate it? Many thanks, Cheers
  • xoa api SR space usage

    4
    0 Votes
    4 Posts
    498 Views
    V
    @jedimarcus thank you i will have a look!
  • Mirror Backup Testing, So Far Awesome!!

    12
    1 Votes
    12 Posts
    2k Views
    planedropP
    This is all so cool, love to see a platform under this level of development.