Subcategories

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

    482 Topics
    4k Posts
    I
    The sr.probeIscsiIqns and sr.createIscsi is very slow. I checked the payload too and it send the target, which turned out to be a synthetic "*" (wildcard). Any way to optimize the SR.probe and creation? [image: 1787475941008-89b00c18-ae23-4259-981e-62d0f5d58d58-image.jpeg]
  • ACLs, Self-service, Cloud-init, Load balancing...

    106 Topics
    867 Posts
    olivierlambertO
    Question for @Team-XO-Backend
  • All XO backup features: full and incremental, replication, mirrors...

    526 Topics
    6k Posts
    T
    It looks like this is identified and solved, I'll test on a new version of XO next week at some point, but I just wanted to confirm that I've been seeing what appears to be the same problem. This hasn't affected any of my full, delta or mirror backups, on any of the NFS targets - but it does affect two different Pool metadata & xo config backups. Both on different NFS targets on different schedules. It's an infrequent failure, sometimes not failing for a couple of days, but sometimes failing up to 3 or 4 times per day - this is on an hourly schedule. [image: 1787394387803-912ddd51-e6c1-4a62-8529-79d6b2fe8ad0-image.jpeg] My most recent failure on the hourly job was yesterday morning, the one before that was almost 24 hours earlier. This is currently on Xen Orchestra, commit 24913 but it was also noticeable on a version from the end of July. From what I've read, I'm guessing the fix will be in the main branch soon enough and an update will solve it, but if there's any useful information I can provide, please let me know.
  • Everything related to Xen Orchestra's REST API

    87 Topics
    650 Posts
    A
    @poddingue Borrow away - "smoke alarm" is a better name for it than anything we had, so we might borrow it right back. Since you mentioned reading the matrix - here is the classification you would be reading, straight from the file: grep access: dadl/xen-orchestra.dadl | sort | uniq -c 49 access: admin 21 access: dangerous 122 access: read 75 access: write 122 of the 267 tools are plain read - that is the entire surface a review-capped agent gets. The other 145 exist in the same file, but for that agent they might as well not. The whole security taxonomy is greppable plaintext - which is rather the point of a declarative format. And if anything in the matrix looks wrong or missing, this thread is exactly the right place - real-world corrections are how it improves.
  • Terraform, Packer or any tool to do IaC

    51 Topics
    472 Posts
    JeremyLARDENOISJ
    New releases! Terraform Provider Xen Orchestra v0.40.0 This new release allows users to import VMs directly from Xen Orchestra into Terraform without recreating it or modifying manually the Terraform state. There is still some drift when importing it, but nothing that changes the real state of VM and we are currently on it! https://github.com/vatesfr/terraform-provider-xenorchestra/releases/tag/v0.40.0 Golang SDK for Xen Orchestra v1.17.0 v2 The network service is now available from the v2 client! You can now create, get and delete your network directly from it! v1 & v2 The template value in VM struct params has been fixed, We can now get the template id directly from it. https://github.com/vatesfr/xenorchestra-go-sdk/releases/tag/v1.17.0
  • XOA does not mount CloudConfigDrive

    5
    0 Votes
    5 Posts
    1k Views
    olivierlambertO
    This can happen since using the sources means also experiment some bugs, while on XOA, you should be safer because we do QA before each release. If you want stability and a production grade solution, go for XOA Anyway, the bug is now fixed, get the latest commit on master and try again, it should work!
  • 404 not found importing from VMware to XOA - workaround

    4
    0 Votes
    4 Posts
    1k Views
    florentF
    @paulorrockgit thanks paul for the bug report and exploration I propose this bugfix : https://github.com/vatesfr/xen-orchestra/pull/7504 and can deploy it on your XOA
  • OVA Import

    6
    0 Votes
    6 Posts
    2k Views
    B
    @olivierlambert I was able to get the import working by importing into vmware workstation, exporting to ovf and then converting to ova with vmwares command line tool.
  • SMB ISO share can't upload

    4
    0 Votes
    4 Posts
    1k Views
    M
    @Tristis-Oris said in SMB ISO share can't upload: @mohammadm looks like Truenas related issue. Check the account permissions. if it stop working after XO update, try to rollback previous commit. User – xcp-ng Read | Write | Execute For now I upload the ISO's through Windows SMB. Because it is accessible from XOA. Only uploading is not working.
  • Accessing XCP host outside of private network

    13
    0 Votes
    13 Posts
    6k Views
    U
    I'm using ZeroTier and access works, except for the console view.
  • How to install Windows Server 2022 with XO?

    9
    0 Votes
    9 Posts
    3k Views
    M
    @ckargitest You need to run: fs0: cd \efi\boot and then run the program which is in this folder. It took me a while as well to figure it out.
  • How to import from VMware when VM has RDM

    1
    0 Votes
    1 Posts
    517 Views
    No one has replied
  • self signed cert

    4
    0 Votes
    4 Posts
    1k Views
    M
    I'm also getting the "self-signed certificate" error sinds the last update. I get it while trying to import/upload ISO. From source, commit e52b1 8.3 beta
  • 1 Votes
    3 Posts
    5k Views
    stormiS
    I added a big warning in step 3 which should never be done outside a test host that you are ready to reinstall afterwards. @codycrypto's comment is another workaround which replaces it without any impact on the host, but weakens the security by accepting weaker key types.
  • Guest console copy / paste`

    14
    0 Votes
    14 Posts
    15k Views
    S
    @TodorPetkov thanks, and apologies for the (very basic) off-topic questions. Also first time using server-core.
  • A question for the creators of XO

    31
    -1 Votes
    31 Posts
    19k Views
    J
    @jasonnix said in A question for the creators of XO: Hi @john-c, Thank you for your great tips. As I said, I've heard that Java and JavaScript are insecure, but they also have some advantages that you and others have pointed out. For example, they have a large community of users and developers. Sorry, but I think that sometimes we don't choose the right path. For example, I'm sure that a professional PHP or Ruby developer can convince you that JavaScript is not the right choice for some projects. If PHP or Ruby were not good programming languages, then they would not have so many fans and everyone would use JavaScript. One of the reasons why JavaScript is so popular is that this language can be run by browsers. Something like a standard for the web. In my opinion, JavaScript like Windows operating system. It has capabilities and features, but the most important reasons for its popularity are its large number of users and ease of use. My other question is, why is there no program under the operating system to manage XCP-ng? If you are talking about directly on XCP-ng operating system there are. In this case there's two options:- XO Lite xe Though XO Lite is new and still being developed its designed to be hosted (embedded) on the currently beta XCP-ng version 8.3. It's aim is to provide a features consistent with a single host or single pool environment. It's aimed at home lab users mostly so they can perform basic tasks, without having to install any extra software on client computers. Though technically it's viewed and invoked remotely but the commands are done directly on the pool master XCP-ng host. The remote viewing and invoking is done on a client device through the web browser or if installed as PWA the browser engine. The other option is xe its command line based so everything you wish to do needs to be typed out in the right syntax. Even tasks as basic as creating a new VM require multiple commands, several of which are from xe to perform a part. To manage XCP-ng remotely you have the option of:- Xen Orchestra XCP-ng Center Xen Orchestra - XO CLI Xen Orchestra - REST API A bit off topic are you any good with PowerShell? If so how about reading up on the relevant documentation about XAPI and/or XO's API so that a PowerShell commandlet can be developed?
  • Unsure how to link an external server for backup

    3
    0 Votes
    3 Posts
    514 Views
    T
    @Danp yes, I'm getting this error on the settings > remotes page. As you can imagine, I'm confused why NFS works on the main SR page, but not the settings > remotes page EDIT: never mind, discovered that I have to put the full share path, not just the share name. Example: \\10.69.50.31:Port:/mnt/user/UnraidBackup/XCPNGBackups
  • SSL Inspection Certificates

    4
    0 Votes
    4 Posts
    3k Views
    J
    @jqueiroz said in SSL Inspection Certificates: Don't you love to find the answer by yourself just after asking in the community forum? Create directory '/usr/local/share/ca-certificates' Copy the needed certificates this place Run /usr/sbin/update-ca-certificates [seems not be on the path]. @john-c said in SSL Inspection Certificates: Also for future reference if you ever re-do a server note that XCP-ng's certificates can be done through the XO application. Thanks. But, just for clarification, it wasn't the XO/XOA server certificate, was the certificates that sign all the HTTPS pages we visit. I uncovered a much more effective and supported method that that one you done. Follow the steps in the documentation for the XCP-ng hosts, utilising a certificate chain to include you custom CA certificate. Not forgetting setting up a custom extra CA for xen orchestra via an additional configuration file documented in the documentation for XO VM. Also by the way the method you did in the post above will be lost on upgrade, as well as likely not included in the backup feature process of XO application. However the links below will get included in the backup feature and the backup of XO configuration. Plus your method will potentially interfere with software update package which comes from the official repository, that updates the certificate authority certificates and their trusts. https://xen-orchestra.com/docs/configuration.html#custom-certificate-authority https://xen-orchestra.com/docs/configuration.html#https-and-certificates https://docs.xenserver.com/en-us/citrix-hypervisor/hosts-pools.html#install-a-tls-certificate-on-your-server https://docs.xcp-ng.org/guides/TLS-certificates-xcpng/
  • XO Deployment

    1
    0 Votes
    1 Posts
    239 Views
    No one has replied
  • Adding OS Logos

    21
    0 Votes
    21 Posts
    16k Views
    J
    @john-c well, me too. But since it gets neither at the moment. And being realistic in that they can't be excpected to keep up with every distro in existance. I'll take what I reasonably can get Update: Let me clarify. If there could be Distro specific logos, then that would be awesome. However, if we could get a generic Tux for Linux in general. Then that would cover a large part of the variants out there.
  • Slower performance on XO than XOA

    Unsolved
    1
    0 Votes
    1 Posts
    295 Views
    No one has replied
  • configure shared storage for VM for SQL Server Cluster

    10
    0 Votes
    10 Posts
    4k Views
    F
    @olivierlambert is there a way to mount the same disk in two VMs in RW mode? I have a lab that uses pacemaker inside the VM's and pacemaker handles the mounting/access of the volumes. I have a working setup on oVirt using the "Shareable" option of a Virtual Disk. So I can attach to multiple VM's simultaneously. Is there anything similar on XCP-ng? Even if I have to hack through the command like to attach? Thank you.
  • Cannot start Xen Orchestra Quick Deploy Appliance

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    D
    @fffeee the underlying storage repository is disconnected from the Host. It would likely be better to open a new topic to discuss in detail, as there are a variety of reasons as to why this could happen that are going to be case specific to your issue.
  • Can not create a storage for shared iso

    3
    1
    0 Votes
    3 Posts
    848 Views
    C
    @Tristis-Oris thank you
  • XOA is allways halted after the machine is rebooted

    8
    0 Votes
    8 Posts
    3k Views
    C
    @splastunov said in XOA is allways halted after the machine is rebooted: xe vm-param-set uuid=<vm_UUID> other-config:auto_poweron=true Thank you very much for detailed reply. It worked. All the best