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
    @florent so it's like https://github.com/vatesfr/xen-orchestra/commit/a459015ca91c159123bb682f16237b4371a312a6 might introduced a regression? 0 fbeauchamp committed to vatesfr/xen-orchestra Fix(replication): VDI_NOT_MANAGED error (#8935) from ticket #40151
  • 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.
  • [XO] Export pool metadata not finish...

    10
    0 Votes
    10 Posts
    762 Views
    S
    @Darkbeldin Yes, btw right now works normal after 3-5 days with problem...
  • Long Backup Task Goes Away from List

    4
    0 Votes
    4 Posts
    264 Views
    olivierlambertO
    This is documented in our official doc IIRC
  • Continuous replication failing

    10
    0 Votes
    10 Posts
    1k Views
    M
    Update: I disabled the CR job and created a new one, which did successfully start - so I'm hoping this fixed it
  • delayed_ack needed?

    4
    0 Votes
    4 Posts
    360 Views
    olivierlambertO
    I am no iSCSI expert, I don't know if this settings exists, but before tinkering I would do some benchmarks.
  • Continous Replication Network

    8
    0 Votes
    8 Posts
    747 Views
    planedropP
    @vincentp I'd personally go with a 10GbE switch just to be sure there are no bottlenecks from that, I don't really think you'll hit full 10GbE for a replication job but it's better to alleviate that IMO.
  • Backups show as started but no tasks running

    Solved
    4
    0 Votes
    4 Posts
    464 Views
    V
    @Darkbeldin worked perfectly thanks.
  • 10 gig on different subnet

    6
    0 Votes
    6 Posts
    550 Views
    planedropP
    @abelaguilar Sounds good, yeah I think that is the easiest method to go about it, rather than direct attached networking.
  • How to get 10gbe speeds on guest VMs?

    Solved
    6
    0 Votes
    6 Posts
    6k Views
    T
    @RaHu In theory you would want to change the MTU of parent interface in OPNSense to 9000. In my case testing is not possible since I run all vlans off a since interface (2x10gbe NIC) and do not want to change the MTU of systems outside my virtual environment. Anyways, with the change mentioned above you achieve 10gbe speeds between VMs.
  • Second ip for hosts interface

    12
    0 Votes
    12 Posts
    2k Views
    fohdeeshaF
    @SNSNSN Indeed, these would typically at least be isolated via vlans at least (one vlan for iscsi traffic, one for iscsi). There's no point in having them in two different subnets if they're in the same network and vlan, the traffic isn't isolated at all. You might as well have them in the same subnet if you're doing that, in which case you only need 1 IP on the XCP-ng management NIC.
  • what speed do you get - import from VMware

    4
    0 Votes
    4 Posts
    466 Views
    olivierlambertO
    What do you mean by "performance to local storage was equivalent"?
  • "Pay for Premium or we corrupt your database backups"

    5
    0 Votes
    5 Posts
    843 Views
    S
    @KimmoJ I wonder how much you pays to Vmware? + Probably you have to pay also to your backup software...
  • Packer issues

    8
    0 Votes
    8 Posts
    2k Views
    D
    @rochemike sorry for the late reply! If we already have an ISO on an SR, do we even need to mount the ISO for a network build of Centos/RHEL? Isn't... shouldn't it be possible for the ISO to be mounted by the new build VM as source for creating the new VM, instead of using network build? That is exactly what packer-plugin-xenserver#56 accomplishes. The new VM mounts the guest tools to the DVD - which I don't even want to use as I prefer to install a package afterwards. Is it possible to mount the RHEL/Centos ISO instead? I believe the ISO and guest tools are treated the same -- both VBDs are attached as cds. If you can identify what is different about them in the UI or from the xe cli that would help me understand what you trying to describe. As for what is possible, if what you want to configure is accessible via the XCP-ng / Xenserver API the packer plugin could be enhanced to perform that action. Hope this helps explain more on the potential possibilities.
  • Error importing large vhd file

    Solved
    17
    0 Votes
    17 Posts
    3k Views
    olivierlambertO
    No worries, happy to help!
  • restore backup mac adress

    5
    0 Votes
    5 Posts
    408 Views
    S
    @Andrew in my case , the backup is restore from smb share but i don't think the problem from here
  • XO (Delta) Backup to BackBlaze B2 with Error: getaddrinfo EAI_AGAIN--Workaround

    Solved
    4
    0 Votes
    4 Posts
    469 Views
    olivierlambertO
    That's exactly why our doc is precise on this with a big yellow warning block: https://xen-orchestra.com/docs/community.html#report-a-bug
  • VM stuck on old host after migration, non-responsive

    5
    0 Votes
    5 Posts
    1k Views
    mauzillaM
    @dredge999 yeah in hindsight thats what I should have done I wonder if I can restore the config files and have the VM operational again. It's more getting it to stop now without a host restart
  • Create time is a bit off.....53 thousand years in the future off....

    Solved
    13
    1
    0 Votes
    13 Posts
    1k Views
    S
    @olivierlambert many thanks.
  • Github Auth plugin scope

    Solved
    2
    0 Votes
    2 Posts
    309 Views
    julien-fJ
    @Flying9167 It's indeed not possible at this to filter which users are allowed to sign in with XO auth plugins. At this time it should be handled at the authentication provider itself and it does not look like GitHub OAuth implementation supports it.
  • NFS storage change IP and mounth path

    11
    0 Votes
    11 Posts
    2k Views
    olivierlambertO
    That's why life is great, we can always learn new stuff
  • no icon displayed even with correct tools installed

    os-icon
    15
    1
    0 Votes
    15 Posts
    2k Views
    D
    @pdonias thank you!