Subcategories

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

    359 Topics
    3k Posts
    lsouai-vatesL
    @kagbasi-ngc hello, sorry but I didn't manage to see your GIF, it didn't work on my side. Could you make some screenshot? I am asking XO Team.
  • ACLs, Self-service, Cloud-init, Load balancing...

    88 Topics
    760 Posts
    nikadeN
    @blackliner said in Sdn controller and physical network: @nikade How do you "pair" the XCP-ng SDN with your routing setup? You cant/dont, you'll have to setup each private network on the vyos router and then have the vm private network routed through it manually. For example if you have private network 1 with subnet 192.168.1.0/24 you'd have to add this network to the vyos router and assign 192.168.1.1/24 on the router. Then set 192.168.1.1 as default gateway in your vm's which uses this network. Then you'll setup ospf or bgp on the vyos router manually with your upstream border/core-router or firewall. If the subnet is a private subnet you'll need to setup NAT as well somewhere before it reaches internet to NAT traffic from 192.168.1.0/24.
  • All XO backup features: full and incremental, replication, mirrors...

    364 Topics
    4k Posts
    itservicesI
    @RobWhalley That worked for me as well. I created a new XenOrchestra VM with commit 3c543. Enabling and disabling NBD on the backup job did the trick. Thank you and everyone else for your efforts and digging into the matter. Regards Marc
  • Everything related to Xen Orchestra's REST API

    63 Topics
    486 Posts
    olivierlambertO
    This page is being improved as we speak It shouldn't be in "Future improvements" because it's here
  • Terraform, Packer or any tool to do IaC

    33 Topics
    308 Posts
    B
    @BSmithITGuy said in Ubuntu 22.04.5 custom template - additional steps missing from documentation: If you are trying to create an Ubuntu template and are having trouble on XCP-NG 8.3 (some or all probably applies to previous versions), keep reading. Very nice. Very thorough. This inspired me to share a relevant part of my cleanup script. Maybe it will be of some additional help to everyone: echo "Resetting machine ID..." > /etc/machine-id rm -f /etc/machine-info echo "Cleaning APT cache..." apt-get clean echo "Removing netplan configuration..." # Ubuntu < 24.04 rm -f /etc/netplan/00-installer-config.yaml # Ubuntu >= 24.04 rm -f /etc/netplan/50-cloud-init.yaml echo "Cloud-init cleanup..." if [[ -f "/etc/cloud/clean.d/99-installer" ]]; then chmod a-x /etc/cloud/clean.d/99-installer fi # Ubuntu < 24.04 rm -f /etc/cloud/cloud.cfg.d/99-installer.cfg /etc/cloud/cloud.cfg.d/subiquity-disable-cloudinit-networking.cfg # Ubuntu >= 24.04 rm -f /etc/cloud/cloud.cfg.d/90-installer-network.cfg if [[ -x "$(command -v cloud-init)" ]]; then cloud-init clean --logs --seed else echo " No cloud-init detected. Skipping cloud-init cleanup!" fi echo "Removing SSH host keys..." find /etc/ssh/ -type f -name 'ssh_host_*' -delete The code is self explanatory but here are some additional tips: It's nice to do cleanup of APT cache. This will free up some space but also force the user to update APT cache on first run after VM has been provisioned. If APT cache is not cleaned, it will grow stale over time inside a template and, after some time, package installation in new VMs will start to break. Doing apt update before any package installation is good practice but people tend to easily forget it. This will force them to do it. Ubuntu installer relies on some cloud-init config for some first boot setup which has to be removed if cloud-init is to be used once again for provisioning VMs. You correctly identified these files for removal but there is a difference in Ubuntu older than 24.04 and Ubuntu 24.04 and newer. The reason I do chmod a-x /etc/cloud/clean.d/99-installer is to prevent cloud-init from removing /etc/cloud/ds-identify.cfg when doing cloud-init clean (default behavior). Because I override the default /etc/cloud/ds-identify.cfg, I don't want cloud-init clean to remove it. I remove all the other files explicitly. Additional note, /etc/cloud/clean.d/99-installer should not be removed. It should just be chmoded because it is part of the cloud-init package and will reappear on cloud-init package update. It's better to use cloud-init clean --logs --seed command to clean any runtime cloud-init leftovers and logs instead of removing them explicitly like rm -rf /var/lib/cloud/instance. SSH host keys should be removed so that they can be regenerated on first boot of newly provisioned VM. If you don't do it, all your VMs will have same host keys which could be considered as security issue.
  • SQL Database support and XO HA

    7
    0 Votes
    7 Posts
    213 Views
    I
    @olivierlambert Happy to hear
  • Just an idea :) - (SATA controller passthrough)

    3
    0 Votes
    3 Posts
    186 Views
    lsouai-vatesL
    @ScarfAntennae hello, and thanks for the suggestion. I am discussing it with the XO Team to add it to our next features. Have a good day!
  • Bonded interface viewing support in XO

    23
    1 Votes
    23 Posts
    3k Views
    lsouai-vatesL
    @flakpyro yes, indeed that exactly what I was talking about. The XO6 new interface will provide more information, but I am noting the missing type of bound to discuss it with XO team for next feature.
  • With qcow2 format support coming, could we then import KVM vm's ?

    3
    0 Votes
    3 Posts
    272 Views
    I
    Works with .raw at the moment. If you disconnect it from the vm and migrate it to another SR its converter to vhd.
  • resourceSet issues

    4
    7
    0 Votes
    4 Posts
    216 Views
    I
    @olivierlambert ack.
  • Trial period extension for on-going tests

    3
    1
    0 Votes
    3 Posts
    158 Views
    Y
    @Danp Hi, Thanks for quick support.
  • How to deploy XO on ESXi

    5
    0 Votes
    5 Posts
    215 Views
    D
    @yzgulec said in How to deploy XO on ESXi: I just used VMware Converter for V2V (seems more practical for me) Installing from Source or using an installation script from the community is also very straight-forwards. Maybe 10 minutes worth of setup for the OS and then for at least my github it's a single line installation.
  • Simulating network cable disconnect

    11
    0 Votes
    11 Posts
    2k Views
    O
    @splastunov I realize this thread is old, but I think there is important info to keep connected to this thread for future readers. The IP locking trick doesn't seem to prevent all traffic -- it only prevents traffic that has an IP that isn't 255.255.255.255 (and possibly others as well). That is, I can still successfully acquire a DHCP IP even when the IP locking mechanism is engaged. I think this is important for others to know since it doesn't fully isolate VMs like the OP wanted. UPDATE: Setting the locking mode to "disabled" is what you want -- not "locked". Disabled will drop all traffic; locked simply checks if the set of IPs in the VM is permitted. Source: https://docs.xenserver.com/en-us/citrix-hypervisor/networking/manage.html#vif-locking-mode-states
  • host connection error

    3
    1
    0 Votes
    3 Posts
    88 Views
    P
    @irtaza9 Sometimes when I have been tinkering with a host, I get a red triangle. Then just pressing Enabled and then Disabled can get rid of the triangle and the host back in business again.
  • 0 Votes
    10 Posts
    247 Views
    D
    @julien-f said in Enhancement suggestion: Filter showing VMs that don't have the agent installed: XO does not support this for halted VMs but that could be added indeed. Can you change the title of my thread to "Enhancement suggestion: Update 'ManagementAgentDetected?' to support halted VMs" ?
  • XO High Availability

    6
    0 Votes
    6 Posts
    277 Views
    DanpD
    @irtaza9 You should be able to login with the default credentials after you restart the xo-server service with systemctl restart xo-server.service.
  • Web Hook plugin

    2
    0 Votes
    2 Posts
    104 Views
    olivierlambertO
    Hi, Before enabling the plugin, you need to configure it in the Plugin view.
  • XOA on a vSphere VM

    4
    0 Votes
    4 Posts
    168 Views
    DanpD
    @yzgulec You will likely need to install the fix given in the following post for XOA to function correctly on vSphere -- https://xcp-ng.org/forum/post/50279
  • Difference between "pool", "host" and "server".

    Solved
    6
    0 Votes
    6 Posts
    1k Views
    pdoniasP
    @andrewperry Exactly
  • Lots of performance alerts after upgrading XO to commit aa490

    28
    0 Votes
    28 Posts
    5k Views
    Bastien NolletB
    @ph7 Some of the errors you encountered are intended. We don't allow values in the "Virtual Machines" field if "Exclude VMs" is disabled and "All running VMs" is enabled, because it would make the plugin configuration confusing. However you're right, there seems to be an issue when the VMs are selected and then removed. The value becomes an empty list instead of being undefined, which causes the validation to fail when we try to turn off the "Exclude VMs" option. I'm going to create a task on our side so that we can plan to resolve this problem. In the meantime you can work around the problem by deleting the monitor and recreating a new one with the same parameters.
  • S3 Backup - maximum number of parts

    1
    0 Votes
    1 Posts
    70 Views
    No one has replied
  • How to update to the latest version of XOA?

    2
    1
    0 Votes
    2 Posts
    198 Views
    DanpD
    Hi, This is explained in this KB article -- https://help.vates.tech/kb/en-us/30/21 Regards, Dan
  • Guide : XOA OIDC authentication with Fortiauthenticator

    1
    0 Votes
    1 Posts
    110 Views
    No one has replied
  • Rolling pool update failed to migrate VMs back

    14
    0 Votes
    14 Posts
    544 Views
    N
    @BenjiReis HA is automatically disabled by the RPU when it starts, then enabled at the end. - I see the task for that in the task log. We do have about 5 VMs that do not have HA enabled, but they are very small (~4GB each) so should not make any difference regardless of which hosts they were on. Also all VMs successfully evacuate from the host for the updates, its only when VMs are migrated back after all hosts are upgraded that I see a problem. I've raised a support ticket, if anything relevant comes out of it I'll try and report back here for future readers. Thanks for the suggestions, Neal.
  • Acl setting not clear, how to

    4
    0 Votes
    4 Posts
    132 Views
    I
    @Chico008 ACLs are used to assign rights to the guest users. As you said you have an admin who can do anything. In case you want to go with acl then your guest can get no leverage by using ACL create vm You as an admin will create VMs and manage other stuff but you then have ability to give three type of rights to the guest user. admin, operator, viewer In case of VMs when you give the admin right to a user then it means that user can have ability to anything with that VM. Delete, Reboot, etc But from you query you said that you want to give a right to guest user to create/run the vms to achieve this you have to look Self Service feature which is supported in XO from sources and in Premium XOA In self service you have ability to create resource sets which are pools, storage, networks, templates etc, and assign a user or group to it.