Subcategories

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

    378 Topics
    3k Posts
    olivierlambertO
    Hi, Do you have any error message? What's happening? Anything visible or not?
  • ACLs, Self-service, Cloud-init, Load balancing...

    93 Topics
    783 Posts
    MK.ultraM
    @tmk said in Cloudbase-init on Windows: @jkatz I ran into the same issue when trying to configure a network adapter with cloudbase-init. The documentation says that the MAC address value is optional but in reality it is required. In my case I want Xen Orchestra to choose a unique MAC during deployment, and I since I am deploying from a template, the NIC name is a known value. The fix that ended up working for me was to modify the networkconfig.py file in cloudbase-init so that the NIC name is required and the MAC address is optional. I ended up making some additional changes to allow for the network-config v2 format along with the existing v1 support and some additional logic to aid in setting the dns search domains (I can't recall if this was originally supported or not but I had issues getting it to work with the original networkconfig.py file) This file needs to replace the existing one that is installed in the C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\Lib\site-packages\cloudbaseinit\plugins\common\ directory. To replace it you should make sure that the cloudbase-init service is stopped, then replace the file. Once this file is replaced, delete the pycache folder in the same parent folder as networkconfig.py - this will ensure that python recompiles this file on service start. Start the cloudbase-init service and confirm that you see a new pycache get created. I'm not a python programmer by trade so others may be able to point out areas for improvement but this ended up working for me and I wanted to share in case it could help others needing to deploy new servers without manually specifying a new MAC address. Below is an example network-config v2 format that works with the updated file. version: 2 ethernets: Ethernet 2: dhcp4: false addresses: - 10.20.30.10/24 nameservers: addresses: - 10.20.5.12 - 10.20.5.13 - 10.20.5.14 search: - intranet.domain.org - domain.org - public-domain.org routes: - to: default via: 10.20.30.1 Updated networkconfig.py file: networkconfig.py.txt Thank you for posting! I followed your directions verbatim and I'm still having trouble getting the network config to take. Does it work with Windows Server 2025?
  • All XO backup features: full and incremental, replication, mirrors...

    389 Topics
    4k Posts
    olivierlambertO
    That's also what we do in our prod.
  • Everything related to Xen Orchestra's REST API

    68 Topics
    529 Posts
    olivierlambertO
    @lsouai-vates we should try to reproduce and if we can, to fix it ASAP. Thanks!
  • Terraform, Packer or any tool to do IaC

    35 Topics
    350 Posts
    J
    @manilx I have proposed to the IaC team of Vates, a MCP Server for Vates VMS. Which can be used by GitHub Copilot or similar, if used when doing IaC etc.
  • XOSAN, what a time to be alive!

    8
    0 Votes
    8 Posts
    2k Views
    olivierlambertO
    It is an option indeed, one of the reason is we share the revenue with LINBIT.
  • How to Extend LVM After Increasing Hard Drive in XO?

    3
    4
    0 Votes
    3 Posts
    1k Views
    nikadeN
    @Danp Deleting and then re-creating doesnt always work if there's another partition (swap) after. I usually do this: fdisk -l /dev/xvda (note the end blocks of the last partition under the End column) fdisk /dev/xvda n accept the defaults except starting blocks (use next free block as starting block) w vgextend almalinux /dev/xvda3 (if thats the number you saw when creating the new partition) lvresize /dev/template-vg/almalinux-root -l +100%FREE -r
  • XO cant Snapshot itself ?

    Solved
    35
    0 Votes
    35 Posts
    7k Views
    W
    @julien-f Thanks a lot for this update!
  • VM console graphics messed up

    Solved
    4
    1
    0 Votes
    4 Posts
    566 Views
    olivierlambertO
    Great news, happy to have helped!
  • Xen Orchestra Prometheus Backup Metrics?

    10
    0 Votes
    10 Posts
    1k Views
    S
    Good things take time. Your team is doing god's work. Remember to stay healthy, in both mind and body!
  • Some guidelines for sizing a XO server ?

    5
    1 Votes
    5 Posts
    818 Views
    HolgiBH
    @Nick-085 Thanks for the hint mate ! I wasn't aware that this script also installs a XO proxy. In the mean time we already have something like backup proxies in place because we splitted backup jobs to two XO instances in the first place since we wanted to separate test environments from "production" (so to speak). A third instance is used mainly for centralized administration (we are only slowly moving away from using "Xencenter" since we are long time Citrix Xenserver users). I guess old habbits die slowly. In the end I guess by coincidence we already build something similar to what a central XO instance plus two XO proxies
  • Can't Disconnect a Physical Drive

    2
    0 Votes
    2 Posts
    258 Views
    L
    To anybody who may stumble across this in the future...I just yanked it. It wasn't connected to the VM anymore. There was no data corruption, and the replacement attached fine.
  • Management agent detected - No version

    9
    0 Votes
    9 Posts
    3k Views
    A
    @flakpyro Yes yes, this is exactly what is happening. If you want to enjoy the version number, you have to install version 9.3.2 first and then upgrade to version 9.3.3.
  • Changing Hosts and XOA IP

    14
    1 Votes
    14 Posts
    6k Views
    olivierlambertO
    No problem. XOA is meant to be disposable
  • Feat: Improvements to the VM statistics page:

    4
    4
    0 Votes
    4 Posts
    753 Views
    ForzaF
    @julien-f said in Feat: Improvements to the VM statistics page:: Yes, I've noted this for XO6 Great. Thanks Now we just need a XO 6.0 release
  • Shared SR (two pools)

    7
    0 Votes
    7 Posts
    2k Views
    J
    @olivierlambert Okay. I'll give it a shot.
  • Creating NFS remote trouble

    1
    0 Votes
    1 Posts
    223 Views
    No one has replied
  • XenOrchestra with Terraform

    4
    0 Votes
    4 Posts
    971 Views
    D
    @ddelnano Sorry to drag this up and also no OP, but I'm just looking at how to set a static RAM allocation via terraform too so this would be relevant to me. Here's a snippet of code, it's using a generic Ubuntu 22.04 LTS cloud image template which has 1GB ram by default, in the code I set the memory to 4GB, which works but uses Dynamic rather than static resource "xenorchestra_vm" "bar" { name_label = "TerraformCreatedMe" name_description = "Terraform Managed" template = data.xenorchestra_template.ubuntu22.id memory_max = 4294967296 cpus = 4 destroy_cloud_config_vdi_after_boot = true hvm_boot_firmware = "uefi" From the hypervisor side the VM looks like this: memory-static-max ( RW): 4294967296 memory-dynamic-max ( RW): 4294967296 memory-dynamic-min ( RW): 1073741824 memory-static-min ( RW): 1073741824 So to me it looks like memory_max in terraform changes just memory-static-max and memory-dynamic-max which leaves the VM with dynamic memory control. I want the behaviour to be, when I create a new VM or change the RAM allocation for the VM to have static RAM not dynamic. I hope this is possible.
  • VM_BAD_POWER_STATE

    13
    0 Votes
    13 Posts
    1k Views
    nick.lloydN
    @jmm Can you check to see if the health check is turned off? In your backup config, it'll be in the schedule just under the "Replication Retention" section. I've found that you can leave it on, but it will "fail" (despite the recovery working fine, unchecking it will get rid of the error on subsequent backups).
  • Shared Storage Redundancy Testing

    13
    0 Votes
    13 Posts
    1k Views
    olivierlambertO
    You can lazy umount a failed network share, then PBD unplug will work.
  • Can't Enable High Availability Feature

    Solved
    9
    0 Votes
    9 Posts
    747 Views
    D
    @olivierlambert Thanks! With HBA SR the HA feature is on for now
  • XOA quick deploy on 8.3 beta 2?

    Solved xoa 8.3 beta2
    4
    0 Votes
    4 Posts
    456 Views
    F
    Just tried it again...it's all good now!
  • Quick Deploy does not list storage options

    Solved xcp-ng xoa quick deploy
    11
    1
    0 Votes
    11 Posts
    6k Views
    SenekenS
    @olivierlambert : Thank you very much for this information. I really happy with xcp-ng!
  • Can't create bond on pool. Error: You do not have permissions

    Solved
    15
    1
    0 Votes
    15 Posts
    1k Views
    L
    Thank you @Danp , that suggestion worked! For anyone seeing this in the future, I just bond the nics on the master before adding the rest of the hosts to the pool.
  • Monitoring Xen Orchestra with Icinga2

    2
    0 Votes
    2 Posts
    509 Views
    J
    @fesch said in Monitoring Xen Orchestra with Icinga2: Hello XOA Community, We are in the process of migrating from VMware to XCP-NG with XOA. We are using Icinga2 as an unster infrastructure monitoring tool and would like to monitor the XOA and the hosts with Icinga2 as well. Does anyone know a good check plugin for Icinga or another good solution to monitor an XCP-NG cluster via Icinga/Nagios? Unfortunately, my searches on the web have not yielded any particularly good results. I am thankful for any hint. Best regards Felix @fesch There's in Xen Orchestra a plugin called "transport-icinga2" so if your got a high enough edition of Xen Orchestra (depending on Vate's bundle) subscription. So if you have this plugin in Xen Orchestra and configure it with the following:- Server (as a http or https url) Username Password Filter to use You may depending on whether your using valid cross signed certificates or not you may need to configure "allow unauthorised certificates". After configuring the plugin then enable it to start monitoring Xen Orchestra and through it the XCP-ng hosts being managed!