Subcategories

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

    451 Topics
    3k Posts
    DustyArmstrongD
    @nikade Sure. I have 2 mini machines running as XCP hosts, decided to upgrade them to newer hardware as they were struggling. I have: XC1 - Brand new pool master on pool XC1 XC2 - Brand new pool slave on pool XC1 XCP1 - Old pool master on pool XCP1 XCP2 - Old pool master on pool XCP2 Installed XCP on both the new hosts, imported to Xen Orchestra, designated the first as pool master, added the second to the pool. Performed updates, did some nominal checks and called them good. Wasn't ready to migrate my VMs yet so powered both off. Came yesterday, I unplugged my old hosts and set them aside, plugged in my new hosts (this is onto my UPS supply) power and network. Plugged in my old hosts to my temporary working area to migrate VMs. Powered everything on (old then new). XO stayed online the whole time, though DNS is on a VM that went down. Only a single host came up (XCP2 - slave of XCP1). XCP1 had to be rebooted 3 or 4 times before it finally came alive but at a big ping delay (4ms, usually <1ms). XC1 and XC2 never came alive, their NICs had physical activity but got nothing. Eventually plugged in a monitor (awkward so didn't do it immediately), rebooted them both and saw no network configuration on either, just empty. Found this thread and decided, as they were basically fresh, I would just re-install and start over. Eventually got everything back. I am assuming based on this thread that XC2 may have come up before XC1 and thus couldn't connect so it obliterated itself. Don't know why XC1 also did the same. During testing I powered both XC1 and XC2 on and off multiple times without this happening, it was only when I powered everything on after moving them that it occurred. Thought I was going nuts or had caused a major network loop somehow.
  • ACLs, Self-service, Cloud-init, Load balancing...

    100 Topics
    832 Posts
    Tristis OrisT
    Ok, my syntax is oudated. resize_rootfs: true growpart: mode: auto devices: ['/dev/xvda3'] ignore_growroot_disabled: false runcmd: - pvresize /dev/xvda3 - lvextend -r -l +100%FREE /dev/ubuntu-vg/ubuntu-lv || true this one works. final_message. doesn't support any macro like %(uptime) %(UPTIME)
  • All XO backup features: full and incremental, replication, mirrors...

    462 Topics
    5k Posts
    DustyArmstrongD
    I recently migrated all my VMs to new hosts in a new pool via warm migration, which worked great, but I am now seeing "detached snapshots" for the VMs that I moved. I have tested on another VM which was created natively on one of the new hosts and it does not have the same problem. It says it has a "Missing VM": [image: 1771176970478-ff5b9719-c951-4ceb-8b02-048737513911-image.png] I also recently migrated from a Xen Orchestra container to another (x86 -> ARM), but unsure if that has anything to do with it - I restored my XO config from a metadata backup. The natively created VM was made after this move. Is there something I need to do or re-configure to prevent this? The snapshots appear to work, but I have not yet tried to revert to one.
  • Everything related to Xen Orchestra's REST API

    77 Topics
    583 Posts
    R
    @Pilow tags can work and the path to them is much more succinct. Thanks!
  • Terraform, Packer or any tool to do IaC

    49 Topics
    452 Posts
    J
    @nathanael-h As a further follow up the MCP agents include at minimum:- Pulumi MariaDB Anyway I would really appreciate having an MCP Server which, can be used when writing IaC to provision and configure your customers’ systems. Can it be made available during this year please?
  • iso smb library - how to create it in XOA?

    Solved
    14
    1
    0 Votes
    14 Posts
    9k Views
    AddeA
    @akurzawa OK then I know
  • Clean up "old version of guest-tools.iso"

    4
    0 Votes
    4 Posts
    2k Views
    H
    @axiom00 Thank you for your answer, this worked great. Was able to clean the entire list of old versions this way.
  • Number of cores in stats is incorrect for VMs

    10
    1
    0 Votes
    10 Posts
    2k Views
    B
    @olivierlambert xcp-ng Center displays it properly, so yeah, it must be the way XO is pulling data. [image: 1565959684237-cpu.jpg] Oh well. Not a big deal. Just was curious. Thanks Olivier!
  • Two Delta-Backups on the same host

    4
    3
    0 Votes
    4 Posts
    807 Views
    olivierlambertO
    When you click on the link of the error message it should send you to the official documentation, explaining what it means: https://xen-orchestra.com/docs/backup_troubleshooting.html#error-messages I'm not sure to understand the UI question, can you post a screenshot?
  • vm visible in console not in xen-orchestra

    4
    2
    0 Votes
    4 Posts
    1k Views
    akurzawaA
    @jedimarcus You were right [root@XCP02 ~]# xe vm-list is-a-snapshot=false | grep 29_ name-label ( RW): 29_Hades @Danp [root@XCP02 ~]# xe vm-list params=name-label,uuid,other-config uuid=c2ae0376-b164-1d63-5c9a-e90a6be4cfbc uuid ( RO) : c2ae0376-b164-1d63-5c9a-e90a6be4cfbc name-label ( RW): 29_zeus-file-archive_2019-08-08T13:36:58.771Z other-config (MRW): base_template_name: Debian Stretch 9.0; import_task: OpaqueRef:c1020902-7587-47fd-9035-ad97d0f82c99; mac_seed: 06e28f1e-e6b0-3a82-1d50-33414ceea41e; install-methods: cdrom,nfs,http,ftp; linux_template: true ok thank You guys.
  • Disaster recovery - wrong network in destination

    Solved
    7
    2
    0 Votes
    7 Posts
    1k Views
    olivierlambertO
    Yeah I would say that's the more logical solution in the end
  • cloud-init Network configuration

    4
    0 Votes
    4 Posts
    1k Views
    fohdeeshaF
    Do you mean to say when you edit the network config box, and fill it out with your own network info (adhering to this standard: https://cloudinit.readthedocs.io/en/latest/topics/network-config-format-v1.html) that cloudinit in the vm gives a yaml error? This indicates the way you filled out the entry box is not properly formatted. Keep in mind to pass networking info, your cloudinit install in your template VM needs to be set to use nocloud data sources, and keep in mind the network configuration passed via cloud-init is added to the template VM, not replaced, so you need to properly configure your template VM to not already have adapters configured with IP addresses etc
  • XO does not show all VMs on a particular xs 6.2 node and other

    8
    0 Votes
    8 Posts
    1k Views
    B
    Yes, you are right infact the old instances are halted and are temporarily kept till I am not sure the imported ones are perfectly working on new node. Unfortunately in the meantime I need a way to manage boths and it means xencenter or cli. Thanks for having pointed my attention to the duplicated uiids problem.
  • XO from source - no plugins, no config import

    5
    0 Votes
    5 Posts
    2k Views
    DanpD
    See me previous post here -- https://xen-orchestra.com/forum/post/5072 I'm guessing that you were missing the symlinks for the plugins, otherwise they should have been present in XO.
  • Question About Multiple Remotes on XOA Backup-NG

    5
    0 Votes
    5 Posts
    1k Views
    A
    Thank you, @olivierlambert, for all you do here.
  • Migrate or export XOCE

    3
    0 Votes
    3 Posts
    1k Views
    bnrstnrB
    I think the simplest way to just do this once is to go to Settings > Config, there you can export the backup. Once you create your new instance of XOCE, you can import the backup using the same page, then just logout of the default user, and you can login using your old credentials. Make sure to delete the admin@admin.net account after.
  • Full XOA

    6
    0 Votes
    6 Posts
    3k Views
    olivierlambertO
    So you can't create a backup with XOA Free. This edition is meant for all usual administrative tasks, like XCP-ng Center if you like. If you want backup features, 2 choices: going for XOA Starter, Enterprise or Premium depending on your backup needs. See each edition features here: https://xen-orchestra.com/#!/featuresmatrix (each edition comes with pro support, updater and remote SSH access if needed) install XO from the sources on a system you like, following our guide: https://xen-orchestra.com/docs/from_the_sources.html
  • XO and Debian10

    9
    0 Votes
    9 Posts
    2k Views
    DanpD
    @axel I just ran the installation script on a Debian 10 VM and it worked as expected. Even when using the "official" way, sometimes the installation can fail due to things like -- issues with recent commit to github repo issues with upstream dependency etc This is why the pre-built XOA appliance exists. Feel free to open an issue over on the script's Github repo if you continue to encounter issues.
  • How to detect when Backups fails in XOA!?

    4
    0 Votes
    4 Posts
    969 Views
    olivierlambertO
    This is a 3rd party container not validated nor endorsed by XO devs. We don't know what's inside, if you have questions on it, ask on the Github repo of the maintainer Backup reports will answer your initial question/requirement (reports can be sent by email, Slack etc.) There's also a Nagios plugin, or you can use XO API to make request to be support in any software of your infrastructure Monitoring a Docker container is outside scope of XO, I would suggest to ask Docker community. Regarding XO and how backup are done, any fresh XOA deployed (or from the sources) will be able to find all the previous backup done by an old XOA, because we store every info on the remote.
  • Run an backed-up VM from an NFS-Share

    7
    0 Votes
    7 Posts
    1k Views
    olivierlambertO
    The best option is to use Disaster Recovery, or both DR with your current backup. It's the easiest way. Please watch the video I posted.
  • Can't add host - ECONNREFUSED

    Moved
    4
    0 Votes
    4 Posts
    2k Views
    olivierlambertO
    Are you sure you entered the IP address of your XCP-ng host?
  • gui xenorchestra. tree

    Solved
    7
    2 Votes
    7 Posts
    2k Views
    olivierlambertO
    https://github.com/vatesfr/xen-orchestra/milestone/36
  • No network available in new VM page?

    5
    1
    0 Votes
    5 Posts
    2k Views
    olivierlambertO
    Yeah it's like there's no network. Also double check with XOA (that you can deploy here: http://xen-orchestra.com/#!/xoa )
  • no object with UUID or opaque ref

    5
    0 Votes
    5 Posts
    2k Views
    2
    I think this is what happens when you ask XOA to move a disk into a different resource pool, and that pool can't see the storage. Discovered that by accident
  • Moving VMs in a multi-pool setup

    3
    0 Votes
    3 Posts
    1k Views
    2
    Olivier - the destination storage was attached to the wrong pool. It was behaving correctly, but not doing what I wanted.