Subcategories

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

    419 Topics
    3k Posts
    bvitnikB
    @acebmxer Great. These are some YAML basics. You should read more about it . Following AI instructions without understanding is not going to take you far.
  • ACLs, Self-service, Cloud-init, Load balancing...

    97 Topics
    816 Posts
    P
    @olivierlambert I'd like to see replicated vms in netbox, perhaps not syncing their IP address to avoid conflict DR VM as well
  • All XO backup features: full and incremental, replication, mirrors...

    433 Topics
    4k Posts
    W
    Hello, I had a Delta backup job running daily that was working fine on my original XO from sources installation. Late last week, I had to migrate the XO settings to another server. The job itself runs fine when executed manually but the scheduled job doesn't run at all. The job reports "Enabled" and the schedule also reports "Enabled". You can see my setup below. This morning I tried disabling and then enabling the schedule again just in case that would recreate whatever cron job is out there. Is there a config file somewhere that I can look at to verify it's actually scheduled rather than waiting till tomorrow? Thank you! [image: 1764086608703-09db2953-c0b6-4a70-bfed-eb598c403119-image.png]
  • Everything related to Xen Orchestra's REST API

    72 Topics
    557 Posts
    S
    Sorry for the necropost but here is what I did. import XenAPI import ssl HOST_IP = "192.168.1.100" USERNAME = "root" PASSWORD = "hostpasswordsecret" VM_LIST = ('sms', 'firewall1a', 'firewall1b', 'firewall2a', 'firewall2b', 'firewall3a', 'firewall3b') def main(): # disable https certificate checking if hasattr(ssl, '_create_unverified_context'): ssl._create_default_https_context = ssl._create_unverified_context url = f"https://{HOST_IP}" session = XenAPI.Session(url) try: print(f"Connecting to {HOST_IP}...") session.xenapi.login_with_password(USERNAME, PASSWORD, "1.0", "python-script") except XenAPI.Failure as e: print(f"XenAPI Error: {e}") return except Exception as e: print(f"General Error: {e}") return for vm in VM_LIST: print(f"Searching for VM: {vm}...") vms = session.xenapi.VM.get_by_name_label(vm) if len(vms) == 0: print(f"Error: VM '{vm}' not found.") continue vm_ref = vms[0] vif_refs = session.xenapi.VM.get_VIFs(vm_ref) if not vif_refs: print("No network interfaces found on this VM.") continue print(f"Found {len(vif_refs)} interface(s). Updating settings...") for vif in vif_refs: device = session.xenapi.VIF.get_device(vif) other_config = session.xenapi.VIF.get_other_config(vif) # ethtool-tx transmit checksum offload # ethtool-tso TCP segmentation offload # ethtool-ufo UDP fragmentation offload # ethtool-gro generic receive offload if other_config.get('ethtool-tx') == 'off': print(f" Interface {device}: TX Checksumming already disabled.") else: print(f"Disabling TX checksumming for interface {device}") other_config['ethtool-tx'] = 'off' try: session.xenapi.VIF.set_other_config(vif, other_config) print(f" - Interface {device}: TX Checksumming disabled (ethtool-tx: off)") power_state = session.xenapi.VM.get_power_state(vm_ref) if power_state == 'Running': print(" [!] VM is RUNNING. A reboot is required for these changes to take effect.") elif power_state == 'Halted': print(" [i] VM is Halted. Changes will apply on next boot.") else: print(f" [i] VM state is {power_state}.") print("Note: You must reboot the VM or unplug/plug the VIFs for changes to take effect.") print("") except XenAPI.Failure as e: print(f"XenAPI Error: {e}") except Exception as e: print(f"General Error: {e}") try: session.xenapi.logout() except: pass if __name__ == "__main__": main()
  • Terraform, Packer or any tool to do IaC

    45 Topics
    421 Posts
    cichyC
    Prioritization of VM startup AND shutdown sequencing! PLEASE - in the GUI (XO). So - without code - I can finally shutdown my servers accessing DB's prior to shutting down the DB server vm's themselves thereby saving myself from table corruption.
  • Update XOA OS via apt update?

    12
    0 Votes
    12 Posts
    1k Views
    olivierlambertO
    @thomas-dkmt we might need to make sure XO docs tell how system updates are handled and proxy config
  • Migrating logs and history between XOA instances?

    8
    0 Votes
    8 Posts
    924 Views
    ForzaF
    @olivierlambert said in Migrating logs and history between XOA instances?: Hi, VM stats aren't store on XOA but on your pools, and they should be there with the same history as the old one Can you tell exactly what kind of logs are you talking about? Thanks. I had looked on the wrong VM. The stats are indeed retained. Originally I was thinking of audit logs, but I realized they can be exported and imported. So for m point of view it is enough for now. Other logs that are missing is for example backup logs.
  • New proxy giving unauthorized error

    1
    0 Votes
    1 Posts
    90 Views
    No one has replied
  • XO logs to external syslog

    19
    0 Votes
    19 Posts
    4k Views
    P
    @Forza I didn't try, as my default Graylog Input was UDP and worked with the hosts... But guys, that was it. In TCP mode, it's working. Rapidly set up a TCP input, and voila. [image: 1758137911306-42411fc9-af86-4838-a870-ca9ca6307234-image.png]
  • DUPLICATE_MAC_SEED

    8
    0 Votes
    8 Posts
    1k Views
    I
    @KPS Unfortunate, no. I just replicate and avoid moving live VM on the same host, target for replication.
  • XOA deploy from XO lite

    Solved
    8
    3
    0 Votes
    8 Posts
    1k Views
    olivierlambertO
    Excellent news!
  • 0 Votes
    17 Posts
    1k Views
    M
    @Andrw0830 I am using paid version of ESXi / vSphere. The free version of ESXi has so many limitations that I consider it pretty much unusable / only usable for very limited basic tests. It would not suprise me if your issue is due to the license limitations within ESXi.
  • XOA suddenly "empty" during rolling update

    5
    3
    0 Votes
    5 Posts
    903 Views
    H
    @Andrew said in XOA suddenly "empty" during rolling update: @halvor Yes, kind of... The pool master must be updated and rebooted first. If you move the master to a different host then you are no longer rebooting the pool master first. XOA is just a very smart client and needs the pool master to provide all of the pool information. Secondary machines will just redirect to the master, so if you try to connect XOA to one as a backup it won't work. You just need to wait for the master to reboot and return to a functioning state and wait for XOA to automatically reconnect. The everything will start happening again. If your master host is destroyed (ie. software corruption, hardware failure) then an existing host can be forced to take over the pool as master, but this is not a good thing to do unless the actual pool master is unrecoverable. Ok, great, thank you for clearing this up!
  • XOA 5.110 Disconnecting From Hosts

    4
    0 Votes
    4 Posts
    885 Views
    DanpD
    @planedrop While you are connected to the XOA VM, be sure to verify that the required changes have been performed on /etc/systemd/system/xo-server.service when the VM memory was increased. Details can be found in this troubleshooting KB article -- https://help.vates.tech/kb/en-us/31/48
  • Custom Tags not showing

    6
    2
    1 Votes
    6 Posts
    1k Views
    olivierlambertO
    I have no idea what this flag is doing, so my gut feeling is: no, it's not on XO side but a "problem "on the reverse proxy itself.
  • vm grub recovery boots garbled display

    4
    0 Votes
    4 Posts
    1k Views
    S
    I just had this problem with a ubuntu VM. With recovery mode selected press e to edit. Remove nomodeset. Here is an example. From: linux /vmlinuz-5.4.0-65-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro recovery nomodeset dis_ucode_ldr To: linux /vmlinuz-5.4.0-65-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro recovery dis_ucode_ldr The link below helped me solve this issue. https://portal.nutanix.com/page/documents/kbs/details?targetId=kA07V000000LWLrSAO
  • XO Console switch Keyboard Layout on ALTGR

    12
    1
    0 Votes
    12 Posts
    3k Views
    E
    @olivierlambert Thanks a lot. Will definitely try once I get this customer properly licensed.
  • Xen Orchestra from Sources unreachable after applying XCPng Patch updates

    24
    0 Votes
    24 Posts
    4k Views
    JamfoFLJ
    @CodeMercenary Glad it worked! I just noticed that in the couple weeks since this happened, a new set of Pool Patches was available, so I ran through the usual process to update those and had no issues at all. This time, everything went smoothly, just as it has for the entire time I've had this lab up and running. So, chalk this up to one of those weird glitches you're bound to see when you use any technology long enough. As far as I'm concerned, the issue has been resolved. Please feel free to close out the issue.
  • Xen Orchestra v6 - From Sources

    4
    2
    0 Votes
    4 Posts
    1k Views
    lsouai-vatesL
    @acebmxer good news! XO Team is totally aware of these "loading in progress" issues, and it will be fixed in the next release which will be released very soon. Don't hesitate to inform us if you see another UI issues. Have a good day!
  • Kubernetes Recipe VM failed to start - Raise Network Interfaces

    10
    1
    0 Votes
    10 Posts
    1k Views
    D
    @Cyrille It would be nice if (assuming integration with the ccm) there was a way to integrate the horizontal scaling tooling that exists to automatically scale up&down (setting minimum/maximum VM counts), but that is 100% out of scope for the CCM as is Im sure. If you are asking for a dream wishlist tho, Id love if I could See what recipes Ive deployed & their current settings & general sum-stats have ability to adjust variables such as the ssh key, the current worker count or upgrade to a HA cluster (that is, increase master count to 3. (I understand that some of those are harder than others) Be able to upgrade the recipes as necessary (IE from 1.33-> 1.34).
  • XOA v6 create (dynamic) groups to organize vms - Feature request

    4
    1
    0 Votes
    4 Posts
    893 Views
    Vincent GV
    @lsouai-vates
  • Expanded VM View Display Issue for Debian based VMs

    4
    1
    0 Votes
    4 Posts
    633 Views
    olivierlambertO
    It's not a branch question, you need to build XO 6: yarn run turbo run build --filter @xen-orchestra/web
  • 0 Votes
    18 Posts
    2k Views
    D
    @HH said in XO Commuity Edition Xen Orchestra, commit fee7b geht nicht auf Master, commit e5702: I didn't mean that I want to go to 6.0 now, but when 6.0 becomes "Stable LTS", get that automatically with your script ? Assuming there aren't any major changes to the upgrading processing using the existing script should work, but that has to be determined once a general release is created.
  • Trial period extension for on-going tests

    3
    0 Votes
    3 Posts
    625 Views
    Y
    @olivierlambert Thank you Olivier
  • xoa updater stalls

    3
    0 Votes
    3 Posts
    537 Views
    xo-xenX
    Thank you so much for that hint. Yes, after restarting some xoa service this now works. So cool. You are great. Thank you.