XCP-ng

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Forza
    • Profile
    • Following 1
    • Followers 0
    • Topics 69
    • Posts 272
    • Best 25
    • Controversial 1
    • Groups 0

    Forza

    @Forza

    67
    Reputation
    50
    Profile views
    272
    Posts
    0
    Followers
    1
    Following
    Joined Last Online
    Website wiki.tnonline.net

    Forza Unfollow Follow

    Best posts made by Forza

    • RE: [WARNING] XCP-ng Center shows wrong CITRIX updates for XCP-ng Servers - DO NOT APPLY - Fix released

      @Biggen At the moment, xcp-ng center provides some better views and overviews not yet available in XO.. Hoping next major version fixes this 🙂

      posted in News
      Forza
      Forza
    • RE: Best CPU performance settings for HP DL325/AMD EPYC servers?

      Sorry for spamming the thread. 🙂

      I have two identical servers (srv01 and srv02) with AMD EPYC 7402P 24 Core CPUs. On srv02 I enabled the LLC as NUMA Node.

      I've done some quick benchmarks with Sysbench on Ubuntu 20.10 with 12 assigned cores. Command line: sysbench cpu run --threads=12

      It would seem that in this test the NUMA option is much faster, 194187 events vs 103769 events. Perhaps I am misunderstanding how sysbench works?

      b65ec3da-4b1d-430e-b90d-02542fe59552-image.png

      With 7-zip the gain is much less, but still meaningful. A little slower in single-threaded performance but quite a bit faster in multi-threaded mode.
      f9592ee9-d327-4ce1-9e34-0ee86280d9e9-image.png

      posted in Compute
      Forza
      Forza
    • RE: Host stuck in booting state.

      Problem was a stale connection with the NFS server. A reboot of the NFS server fixed the issue.

      posted in Compute
      Forza
      Forza
    • RE: Restoring a downed host ISNT easy

      @xcprocks said in Restoring a downed host ISNT easy:

      So, we had a host go down (OS drive failure). No big deal right? According to instructions, just reinstall XCP on a new drive, jump over into XOA and do a metadata restore.

      Well, not quite.

      First during installation, you really really must not select any of the disks to create an SR as you could potentially wipe out an SR.

      Second, you have to do the sr-probe and sr-introduce and pbd-create and pbd-plug to get the SRs back.

      Third, you then have to use XOA to restore the metadata which according to the directions is pretty simple looking. According to: https://xen-orchestra.com/docs/metadata_backup.html#performing-a-restore

      "To restore one, simply click the blue restore arrow, choose a backup date to restore, and click OK:"

      But this isn't quite true. When we did it, the restore threw an error:

      "message": "no such object d7b6f090-cd68-9dec-2e00-803fc90c3593",
      "name": "XoError",

      Panic mode sets in... It can't find the metadata? We try an earlier backup. Same error. We check the backup NFS share--no its there alright.

      After a couple of hours scouring the internet and not finding anything, it dawns on us... The object XOA is looking for is the OLD server not a backup directory. It is looking for the server that died and no longer exists. The problem is, when you install the new server, it gets a new ID. But the restore program is looking for the ID of the dead server.

      But how do you tell XOA, to copy the metadata over to the new server? It assumes that you want to restore it over an existing server. It does not provide a drop down list to pick where to deploy it.

      In an act of desperation, we copied the backup directory to a new location and named it with the ID number of the newly recreated server. Now XOA could restore the metadata and we were able to recover the VMs in the SRs without issue.

      This long story is really just a way to highlight the need for better host backup in three ways:

      A) The first idea would be to create better instructions. It ain't nowhere as easy as the documentation says it is and it's easy to mess up the first step so bad that you can wipe out the contents of an SR. The documentation should spell this out.

      B) The second idea is to add to the metadata backup something that reads the states of SR to PBD mappings and provides/saves a script to restore them. This would ease a lot of the difficulty in the actual restoring of a failed OS after a new OS can be installed.

      C) The third idea is provide a dropdown during the restoration of the metadata that allows the user to target a particular machine for the restore operation instead of blindly assuming you want to restore it over a machine that is dead and gone.

      I hope this helps out the next person trying to bring a host back from the dead, and I hope it also helps make XOA a better product.

      Thanks for a good description of the restore process.

      I was wary of the metadata-backup option. It sounds simple and good to have, but as you said it is in no way a comprehensive restore of a pool.

      I'd like to add my own oppinion here. A full pool restore, including network, re-attaching SRs and everything else that is needed to quickly get back up and running. Also a restore pool backup should be available on the boot media. It could look for a NFS/CIFS mount or a USB disk with the backup files on. This would avoid things like issues with bonded networks not working.

      posted in Xen Orchestra
      Forza
      Forza
    • RE: Remove VUSB as part of job

      Might a different solution be to use a USB network bridge instead of direct attached USB? Something like this https://www.seh-technology.com/products/usb-deviceserver/utnserver-pro.html (There are different options available)... We use my-utn-50a with hardware USB keys and it has shown to be very reliable over the years.

      posted in Xen Orchestra
      Forza
      Forza
    • RE: Netdata package is now available in XCP-ng

      @andrewm4894 said in Netdata package is now available in XCP-ng:

      Qq, what would be the best way for me to try spin up a sort of test or dev XCP-ng env for me to try things out on? Or is there sort of hardware involved such that this might not be so easy. In my mind I'm imagining spinning up a VM lol which probably shows my level of naivety

      You can run XCP-ng inside a VM, as long as the hypervisor underneath exposes nested virtualisation. The actual installation of XCP-ng is very easy. Mostly click and run.

      posted in News
      Forza
      Forza
    • RE: Xen Orchestra 5.46

      @olivierlambert looks nice, also with the improved docs 🙂

      posted in News
      Forza
      Forza
    • RE: how to enable VT100 text console for guest (fedora-34)

      Could you set up netconsole with your guest. This is a kernel feature that allows you to send the console to a netcat/nc client over the network. You add the configuraton to the kernel command line.

      https://www.kernel.org/doc/html/latest/networking/netconsole.html

      posted in Compute
      Forza
      Forza
    • RE: Host stuck in booting state.

      No problem 🙂 Thanks yourself!

      posted in Compute
      Forza
      Forza
    • RE: DNS queries during backup job

      @olivierlambert said in DNS queries during backup job:

      Okay I would be curious to see if you have a similar behavior on XOA 🙂

      I can have a look at work during the week.

      posted in Xen Orchestra
      Forza
      Forza

    Latest posts made by Forza

    • RE: XCP-NG vm's extremly slow

      @Andi79 interesting results. It is known that vibrations can affect performance, but this is the worst I've heard of!

      On that note I'd like to mention that SMR drives aren't very performant. As soon as write buffer fills and/or garbage collection kicks in, the performance goes down to a crawl.

      posted in Compute
      Forza
      Forza
    • RE: XCP-NG vm's extremly slow

      Looking at the video it seems the writes get queued up (Dirty in /proc/meminfo). I wonder why writes are so slow.

      What filesystems do you use on the guest?

      posted in Compute
      Forza
      Forza
    • RE: XCP-NG vm's extremly slow

      Can you try ext/thin instead of LVM? Not that this should matter that much.

      posted in Compute
      Forza
      Forza
    • RE: XCP-NG vm's extremly slow

      You did not show any SR details. You can see those in XOA->Hosts->(your host->Storage-tab

      Example:
      0a8d0788-7efc-4dbd-ab11-76f34529f36a-image.png

      Also. Your VM. What storage does it use?
      Example:
      5ff7b548-176d-4ce7-9e6b-73ced2a2beec-image.png

      posted in Compute
      Forza
      Forza
    • RE: XCP-NG vm's extremly slow

      @Andi79 said in XCP-NG vm's extremly slow:

      here is a Video of the problem
      https://we.tl/t-A8JF4EAWht

      I can't download from there. But in any case. Can you provide the details exactly how things are configured?

      posted in Compute
      Forza
      Forza
    • RE: XCP-NG vm's extremly slow

      @Andi79

      What SR do you have setup for storing your VMs? Your mount output does not list /dev/mapper/XSLocalEXT-xxxx as would be normal for a local SR or a NFS mount used for share storage. What do you have in /run/sr-mount/ ?

      Is this a plain xcp-ng installation or did you build from source?

      It is unusual that ls would be slow. It sounds like a networking issue, perhaps DNS timeout or something similar that is affecting things.

      posted in Compute
      Forza
      Forza
    • RE: XCP-NG vm's extremly slow

      @Andi79

      • What kind of storage do you use for your VMs?
      • When you do ls, what path do you do ls for?
      • What is the output of mount?
      posted in Compute
      Forza
      Forza
    • RE: XOA 5.71 news letter

      Great. Thanks for checking this. 🙂

      posted in News
      Forza
      Forza
    • XOA 5.71 news letter

      Hi @olivierlambert

      In the news letter about 5.71 you write that the backup restore check is an enterprise feature, but when looking today, XOA actually says Premium. So I guess there is a topo somewhere (I hope in XOA ; )

      2bee8ff8-587f-45fa-80cd-debda7e4a8d0-image.png

      posted in News
      Forza
      Forza
    • RE: Netdata package is now available in XCP-ng

      @andrewm4894 said in Netdata package is now available in XCP-ng:

      Qq, what would be the best way for me to try spin up a sort of test or dev XCP-ng env for me to try things out on? Or is there sort of hardware involved such that this might not be so easy. In my mind I'm imagining spinning up a VM lol which probably shows my level of naivety

      You can run XCP-ng inside a VM, as long as the hypervisor underneath exposes nested virtualisation. The actual installation of XCP-ng is very easy. Mostly click and run.

      posted in News
      Forza
      Forza