If I had my choice, Prevent Migration is more understandable.
Disable Migration, while it means the same thing, doesn't naturally come out of the English language.
If I had my choice, Prevent Migration is more understandable.
Disable Migration, while it means the same thing, doesn't naturally come out of the English language.
@olivierlambert I was able to sort out the issue, it has to do with licensing and the fact that we aren't licensed to with "Live Migration" for this ESXi host.
Essentially this inquiry is solved.
@TechGrips While I can understand the desire to use removable USB as a Backup Repo, I would highly discourage it.
Managing and rotating USB drives is a pain, if they go to sleep, it's a pain, if they fail it's a pain, if you forget to rotate your drives, it's a pain.
I personally can understand the desire to do so, it's cheap and relatively affective if you can deal with these risks, however so is just using any NFS or SMB share and then having a replication script that could write to your USB, which you could then rotate. Separating your XCP-ng hosts, XO, and your backups is of critical importance because if you have any sort of server room environmental issues or failure, you're risking loosing everything.
XCP-ng and Xen Orchestra, while they do offer a ton of flexibility, there is obviously trades-offs to using less than ideal components, such as external USB drives as your primary backup repository.
If you really want to insist on using USB drives, you'll have to attach the drives to your host and then pass them through to your XO installation, which when you want to rotate those drives you'll have to update your Backup jobs within XO and confirm that your XO VM has the proper access to the drives. This seems like a lot of complexity for very little financial benefit.
Separately I think you're taking your own frustrations out on the community, because of a lack of understanding in the tooling that you testing in comparison to ESXi where you'd attach a USB drive directly, perform your backup, remove the disk and attach another.
I get that ESXi can make things "simple" but simple isn't always better.
HTH
The reason you wouldn't want to look at XO for this from a technical standpoint is because XO works at the hardware level of the hypervisor, dolling out resources to different VMs and creating backups.
You need to look at the content within a given VM and compare the file system difference from points A and B.
Only something that is operating within the file system would be able to readily tell you "Something has changed".
Odds are you have a user or several who are dumping files onto a share that they shouldn't be, or are replicating some cloud service to keep a copy on your server etc.
@flakpyro said in How to migrate XOA itself?:
@DustinB Are the any downsides to having two XOA instances pointing at the same pool? Since the config itself is stored at the pool level im guessing theres no downside?
IE: Priimary XOA running in core DC and secondary XOA running at your DR site. Is it just a matter of adding the pool on the secondary XOA and it downloads the existing config or did you need to do a full export / import?
If you import your configuration, each XO instance will think they should be running the backups as far as I've noticed. If I have two instances running with the same configuration, I simply disable the backup jobs on one of them.
The config file is just an XML that contains your existing instance. You can import it to any new XO instance and have the same exact configuration.
@yzgulec there really isn't any hard-fast rules to aligning CPU to vCPU. A Guest is going to need cores to operate no matter what.
If you're trying to min-max your CPU utilization for a given system, you might want to target the guest to use between 70-80% of it's vCPU all of the time.
This is all a part of system tuning and is always a shifting target, as CPU is shared among all VMs and DOM0.
As you increase the number of guests on a host, the CPU consumption will be increased, which means you may need to scale back on the vCPU a given VM has.
@stormi said in XSA-468: multiple Windows PV driver vulnerabilities - update now!:
Do others share this feeling and have this question after re-reading the whole announcement?
No it's pretty clear, update the drivers on everything as all versions are susceptible.
@olivierlambert I agree wholeheartedly with you on that. Keeping the system stock is best for support.
Separately, is there any planned work on officially integrating support for Uninterruptable Power Supplies and XCP-ng 8.3?
A question
You can disable all of the boot devices in the Advanced section of the VM, try disabling the HDD

Disable the Boot options if your system is making it past POST to quickly so you can get into the Guests BIOS.
@jasonnix said in A question for the creators of XO:
Hi @olivierlambert,
No, I'm not a bot. I asked it because I need your experiences. I want to make a panel for Xen.
So you know how to program with PHP and Ruby and not with Javascript, so the question is really "Why can't this be rewritten so I can help?"
These two playbooks do what ya need, but change your ntp servers to match.
cat /inventory/group_vars/all.yml
---
ntp_servers:
- 10.100.20.248 # <replace-with-your-ntp-sources>
- 10.100.20.249 # <replace-with-your-ntp-sources>
cat playbooks/configure-ntp.yml
---
- name: Configure NTP via chrony on Linux targets
hosts: rocky
gather_facts: true
tasks:
- name: Install chrony package
ansible.builtin.dnf:
name: chrony
state: present
- name: Configure chrony NTP servers
ansible.builtin.copy:
dest: /etc/chrony.conf
owner: root
group: root
mode: "0644"
content: |
{% for server in ntp_servers %}
server {{ server }} iburst
{% endfor %}
driftfile /var/lib/chrony/drift
makestep 1.0 3
rtcsync
notify: Restart chronyd
- name: Ensure chronyd service is started and enabled
ansible.builtin.systemd:
name: chronyd
state: started
enabled: true
handlers:
- name: Restart chronyd
ansible.builtin.systemd:
name: chronyd
state: restarted
- name: Configure NTP via w32time on Windows targets
hosts: windows
gather_facts: false
tasks:
- name: Ensure Windows Time service is running and automatic
ansible.windows.win_service:
name: w32time
state: started
start_mode: auto
- name: Configure w32time manual NTP peers
ansible.windows.win_shell: |
$peers = "{{ ntp_servers | join(' ') }}"
w32tm /config /manualpeerlist:"$peers" /syncfromflags:MANUAL /reliable:yes /update
Restart-Service w32time
w32tm /resync /rediscover
changed_when: true
Sorry this forum is weird, it says I need reputation to post links. I cannot put the screenshots here
Not at all a problem, the answer here is you need to set up your guests and hosts to use the same time source, normally that might be a NTP or AD server that is on-premise (whatever else the rest of your network uses) rather than a public one like pool.ntp.org.
This way, everything within the network has the same time source as your "source of truth" for your entire private network. That NTP server would then be the only time source that would point to something like pool.ntp.org but you have to set up each VM and system individually.
Ansible might be a good use case here...
Hey All,
Curious to know if there is a plugin that works along the lines of the transport-slack plugin within XOA/XOCE, but specifically for Google Chat and Google Groups.
Thanks in advance
@okynnor Quick and simple to get going, https://github.com/Jarli01/xenorchestra_installer
Just import your XO metadata backup and then you should be able to administer the environment again.
VMware customers moving away from 6.7 - and unfortunately there are still people using it
Sounds like people pretending to be in business. Can't update your software, really sounds like a "way to cheap to afford supported software, and to lazy to find other solutions".
Heck Hyper-V was more mainstream when 6.7 hit it's end of life.
@fred974 That error code 0xc0000225, claims that the disk either doesn't exist or doesn't contain the needed files to boot.
if you can boot into safe mode, try running sfc /scannow and chkdsk C: /f /r
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.

14 year old controller
it supported and has a driver. Whats wrong?
I can't find that storage adapter on the HCL, were you able to? But the summary I have here is replace the old really old adapter.
How reliable can't this card still be after working for so long?
Since I'm the happy owner of this controller, if there's no urgent solution, then tell me which models are definitely compatible with 8.3?
The Adaptec ASR-71605 was released in 2012, that's 14 years old. I'd use https://hcl.xenserver.com/search/?type=storagecontrollers&support_status=supported&page=1 to find compatible controllers if you need help.
But yeah... 14 year old controller...
I'm guessing this might be having updates applied, and now I need new Xen Tools. I have a feeling tomorrow will be filled with updating the tools and checking things because I bet all my backups fail tonight. And I bet all fail after they try to start.
Are you performing nightly healthy checks? Seems obsessive to need to check every system makes it to a login screen, but on the other hand, I understand.
Just curious.