Subcategories

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

    491 Topics
    4k Posts
    tjkreidlT
    @irtaza9 Is this on a single host or a pool? Are all hosts properly time-synchronized? It it related to just one specific storage device or on any, e.g., is the behavior the same on a locally-created SR? Are there any hung tasks causing unnecessary I/O on that storage device?
  • ACLs, Self-service, Cloud-init, Load balancing...

    107 Topics
    874 Posts
    poddingueP
    @dknight-bg the Feeder post you linked asks for two things: sending audit events to syslog, which is what this PR does, and recording successful logins, which as far as I can tell the PR doesn't touch. If others reading this need either one, a vote on https://feedback.vates.tech/posts/88/audit-log-forward-events-to-remote-syslog-record-successful-logins is the easiest way to show it. The PR is still waiting for a reviewer, as far as I can see.
  • All XO backup features: full and incremental, replication, mirrors...

    545 Topics
    6k Posts
    poddingueP
    Hi, @Velocity1192 . On v6 first: creating and editing backup jobs still happens in XO 5 for now, XO 6 shows the jobs but doesn't create them yet (https://docs.xen-orchestra.com/backups-and-dr/backups-in-xo6). For the schedule, @abudef asked almost the same question earlier this year. @Pilow's answer there is clearer than anything I'd write: https://xcp-ng.org/forum/post/104108. As I read it, you either use one daily schedule plus the "Full backup interval" setting (the full lands N runs after the chain starts), or two schedules on the same job with "Force full backup" ticked on the Sunday one. That second way is how you get to pick the day, and he says not to mix the two. One thing to expect, from @Danp in another thread (https://xcp-ng.org/forum/post/91943) : the oldest backup is always a full and old deltas get merged into it, so for a while you'll see two fulls on the remote rather than weeks 1 and 2 being deleted. I don't think the scheduler can say "every other Sunday". I might be wrong there; someone who runs this kind of plan may know a trick.
  • Everything related to Xen Orchestra's REST API

    89 Topics
    656 Posts
    P
    Hi, This was fixed in Latest. But if you need to stay on Stable, you can open a ticket to have a patch.
  • Terraform, Packer or any tool to do IaC

    54 Topics
    507 Posts
    D
    For anyone else who steps through this, I've also installed the latest xen-guest-agent with the below process. Repeat for each host in the environment, 1 at a time from your Helper VM. ### ssh into your helper ### oc debug node/fedora-cmp-1/2/3 chroot /host cd /var/tmp curl -LO https://gitlab.com/xen-project/xen-guest-agent/-/jobs/6041686376/artifacts/raw/RPMS/x86_64/xen-guest-agent-0.4.0-0.fc37.x86_64.rpm sudo rpm-ostree install /var/tmp/xen-guest-agent-0.4.0-0.fc37.x86_64.rpm mkdir /var/tmp/xga && cd /var/tmp/xga rpm2cpio ../xen-guest-agent-0.4.0-0.fc37.x86_64.rpm | cpio -idmv ### From your helper... DRAIN YOUR WORKERS ### oc adm drain fedora-cmp-1/2/3 --ignore-daemonsets --delete-emptydir-data ### log back into fedora-cmp-1/2/3... ### sudo systemctl reboot ### from helper ### oc adm uncordon fedora-cmp-1/2/3 ### login to fedora-cmp-1/2/3 ### chroot /host sudo systemctl enable --now xen-guest-agent And then from XO this is what your VMs will look like. [image: image.jpeg]
  • disaster recovery backup test - skipped, missingvms

    6
    1
    0 Votes
    6 Posts
    1k Views
    olivierlambertO
    If you didn't, I strongly suggest that you watch the live YT webinar I did on XO backups. IIRC, there is a part talking about smart backup. https://www.youtube.com/watch?v=FfUqIwT8KzI
  • This topic is deleted!

    1
    1
    0 Votes
    1 Posts
    43 Views
    No one has replied
  • Help with stuck delta backups.

    9
    0 Votes
    9 Posts
    3k Views
    olivierlambertO
    You have a problem on your XCP-ng, this is not related to a XO issue. It's stuck doing a snapshot, which is really a basic operation that shouldn't fail at all. Double check your SMlog on the host.
  • Remotes not mounted after upgrade

    4
    0 Votes
    4 Posts
    2k Views
    2
    It looks like I can remove the remotes and set them up again, and configure the backup jobs to address the new share. That's okay, there are not too many.
  • How to start an XOA continuous replication image at the backup end?

    7
    0 Votes
    7 Posts
    2k Views
    olivierlambertO
    You need one XOA, connected to both pools. It will stream the VM content (delta) from the source to the destination. You don't need any directly link between your SR in both DCs. You DCs can be isolated with just one XOA connected to both, and it will work.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Can't access Orchestra after build

    4
    1 Votes
    4 Posts
    2k Views
    B
    I was able to fix my issue by adding http to firewalld.
  • Delta backup failes if previous transfer isnt done.

    4
    1
    0 Votes
    4 Posts
    1k Views
    olivierlambertO
    No XCP-ng/XenServer workaround, it's a "built-in"/by design limitation (it's considered as "stalled"). So your goal would be to avoid these extremely long tasks (ie: to finish before the task is destroyed)
  • scheldued snapshots and manual snapshots

    Moved
    6
    1
    0 Votes
    6 Posts
    2k Views
    olivierlambertO
    You'll end up with a chain, yes (so every read will need to make "hops" on each member of the chain). Longer the chain, slower the operation. But it shouldn't be too catastrophic either (for a heavily IOPS loaded VM, you'll notice the difference, but not in other less IOPS hungry scenarios)
  • Changing delta backup schedules breaks backups.

    5
    0 Votes
    5 Posts
    1k Views
    ForzaF
    The error I get when changing snapshot schedule is [image: delta-fail_1.png]
  • shanshot scheldue - no snapshots visible in XCP-center

    Moved
    5
    1
    0 Votes
    5 Posts
    1k Views
    akurzawaA
    Sure, thanks. I'm using xoa and desktop app simultaneously. I hope that the desktop app will be available for long time.
  • Delete Log Backup-NG

    2
    1
    0 Votes
    2 Posts
    1k Views
    olivierlambertO
    No, because those logs are useful in case of problem (to find a potential bug). However, they are garbage collected automatically (the oldest ones) after a while.
  • Unable to copy a machine on the same host.

    9
    1
    0 Votes
    9 Posts
    4k Views
    olivierlambertO
    All I can tell is that's not an usual issue. Never heard of problem of this kind before… So yeah, there is something weird. Could be related to NFS permissions maybe, or something between XCP-ng and your NFS host. It's not XCP-ng code directly, because otherwise everyone else using NFS will endure the same problems. So it's more a "combo" between XCP-ng and your NFS within your infrastructure. Please read the wiki on where to check logs (especially SMlog) to spot potential hints on where's the issue.
  • Limit backup speeds

    6
    0 Votes
    6 Posts
    2k Views
    nikadeN
    @S-Pam Having a VIF for management and one for storage-traffic is a good solution, we do it that way to avoid crippling management during backups.
  • Where are the logs for "Backup NG" kept?

    Moved
    3
    1
    0 Votes
    3 Posts
    1k Views
    D
    sorry mate - you are correct - will do
  • XO new boot delay feature not working

    Moved
    8
    0 Votes
    8 Posts
    2k Views
    P
    Any ideas for a more elegant way than to write a script? For my point of view vApps should work without HA mode but unfortunately it doesn't work on my XCP-ng server. Only console/script start of the vApp using xe appliance-start uuid= "set here the uuid of the vAppp" is working. But it is again rework for the next XCP-ng version, I think manually set vices in systemd are not persistent through an update. Will vApp supported also in future? there are some discussions about it, if really needed.
  • Hardware for Orchestra

    Moved
    15
    0 Votes
    15 Posts
    8k Views
    A
    sorry for that okay will change it
  • xoa 5.30, cannot restart the host after 12 updates applied

    Moved
    2
    2
    0 Votes
    2 Posts
    545 Views
    olivierlambertO
    A soft reboot will try to migrate existing VMs (ie running on this host) to another host in the pool. Using Xen motion, so only if there is a shared storage. If it fails, then you need a force reboot, that will shutdown the VM, and then reboot the host.
  • Auto Power On VMs when reboot host

    Moved
    10
    0 Votes
    10 Posts
    11k Views
    olivierlambertO
    IIRC, we based the button in XO to do both modification at the same time when you set it up for a VM (in the pool if it's not enabled and in the VM). However, it's been a while I didn't check the code, I'll take a look to be sure
  • How do you remotly manage XO

    Moved
    8
    0 Votes
    8 Posts
    4k Views
    akurzawaA
    Only thru VPN.