XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Ascar
    3. Posts
    A
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 15
    • Posts 55
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Neofetch on XCP-NG

      @Danp Well, it is just a user-definable system summary that may be run on demand or when the terminal session starts. CPU/Memory utilization etc.

      Oliver was involved in a discussion related to XCP-NG logo coloring for Neofetch, however this was long time ago. At that time he did not say anything like 'Don't do it, it is bad for your host'.

      https://github.com/xcp-ng/xcp/issues/491
      https://doc.netwaze.fr/books/xcp-ng/page/neofetch-xcp-ng

      I can live without it, but it does not harm to have Neofetch on the host for a quick glimpse at the resources.

      undu created this issue in xcp-ng/xcp

      open ASCII-based logo for xcp-ng #491

      posted in Compute
      A
      Ascar
    • RE: Neofetch on XCP-NG

      @Forza Not a bash script, a package that requires installation. XCP-NG has all repos wisely disabled. That's why installing it on this specific type of host is not a trivial task.

      posted in Compute
      A
      Ascar
    • Neofetch on XCP-NG

      Hello, everyone.

      I am curious what is Vates' standing on neofetch installation/use on XCP-NG. Discouraged? Neutral?
      If neutral how do I install it? These approaches did not work
      yum install neofetch --enablerepo=base,updates
      yum install neofetch --enablerepo=konimex/neofetch

      Thank you

      posted in Compute
      A
      Ascar
    • RE: Update host name of the XO VM

      @Danp Thank you, trying now.

      posted in Management
      A
      Ascar
    • RE: Update host name of the XO VM

      @olivierlambert Please, how? Not getting my head around it. Thank you

      posted in Management
      A
      Ascar
    • Update host name of the XO VM

      Hello, everyone.

      I guess when I installed XO I had a different name set for the VM host and late on I changed it to something else.
      I am trying to get the list of available objects by running xo-cli list-objects I get errors returned which point to the wrong host name and DNS errors:

      ✖ Error: getaddrinfo ENOTFOUND xo1.my-domain.com
          at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
        code: 'ENOTFOUND',
        errno: -3008,
        hostname: 'xo1.my-domain.com',
        syscall: 'getaddrinfo'
      }
      

      My new host name is xo1-xyz.my-domain.com. What and where should I update to get the CLI working again?

      Thank you very much

      posted in Management
      A
      Ascar
    • RE: Different Icons next to different VMs in the list

      @Affonso Something is not adding up. Look at this screenshot. All VMs are down. Some show blue cloud. Some show 'hamburger'-like icon and the name of the host and pool.

      6247ea49-c974-4686-8f60-32ae1223c53a-image.png

      posted in Compute
      A
      Ascar
    • RE: Different Icons next to different VMs in the list

      @BenjiReis Thank you for your insight.
      Here is another screenshot showing 2 pFsense VMs - one is running and the other one is halted. As you can see they both have the same icon regardless of the power state:

      5d0a3b15-39ed-4c53-9349-efe88ba2eae7-image.png

      posted in Compute
      A
      Ascar
    • RE: Different Icons next to different VMs in the list

      @olivierlambert Not an issue at all, I just want to understand and learn more. Here is a screenshot showing 2 VMs with different icons

      a612a093-111f-4fc9-83e7-fc2e0720f778-image.png

      Thank you

      posted in Compute
      A
      Ascar
    • Different Icons next to different VMs in the list

      Please enlighten the uninitiated: I currently have a single pool with a single host. Why some VMs in the list show blue cloud icon and pool name and other VMs show host icon and the host name twice separated with a dash?

      Thank you

      posted in Compute
      A
      Ascar
    • RE: Recovering from disaster with backups on S3 storage

      @olivierlambert Thank you. When you say 'reconnect the S3' do you mean recreate the Remotes and then in Backup/Restore click on the Refresh backups list button?

      posted in Backup
      A
      Ascar
    • Recovering from disaster with backups on S3 storage

      Re: Can the backups created by one XO be restored inside another XO?
      @olivierlambert I have a different scenario: a single physical node with XO and a few VMs. The node crashes irreparably. Before the crash I had all metadata and VMs backed up to an S3 endpoint.

      If I get a new physical server and install XCP-NG onto it - is there a way to restore VMs from that S3 backup?

      Thank you

      posted in Backup
      A
      Ascar
    • RE: Smartctl Plugin in XO 5.92 and XCP-NG 8.2

      @Tristis-Oris Alright, so 8.3 is pre-requisite. Thanks for confirming.

      posted in Hardware
      A
      Ascar
    • Smartctl Plugin in XO 5.92 and XCP-NG 8.2

      Hello, everyone. Please clear my doubt. I am on XCP-NG 8.2 fully patched and I also updated XO to 5.92.
      Following the announcement of features in XO 5.87 and I was hoping to see the health of local hard drives and SSDs. The option is present in the Advanced tab of the Hosts page, however it is grayed out. Small message says "Smartctl plugin not installed".

      I checked the Plugins page and smartctl is nowhere there.
      Simple question - as long as I am not on XCP-NG 8.3 am I not supposed to have the disk drive monitoring available in the WebUI of XO?

      Thank you in advance

      posted in Hardware
      A
      Ascar
    • RE: Adding OS Logos

      @olivierlambert This topic was last time discussed in June of 2021.

      I am wondering if some sort of solution has been built to add icons to VMs which don't have icons next to them?
      I have one VM with FreePBX and while in its core this is a modified CentOS yet the OS reports itself as Sangoma Linux. Another VM is virtualized TrueNAS Scale. Both VMs are bare iconless 🙂

      Thank you

      posted in Xen Orchestra
      A
      Ascar
    • RE: Best way to migrate a VM with PCIe device passes-through to another host

      @planedrop Yes, doing thing like this frequently would not be fun at all. This is a one-off event. So, B is the way to go.

      posted in Compute
      A
      Ascar
    • RE: Best way to migrate a VM with PCIe device passes-through to another host

      @dredknight Thank you. I did not try A but I was feeling that it would not succeed.

      posted in Compute
      A
      Ascar
    • Best way to migrate a VM with PCIe device passes-through to another host

      Knowledgeable people, please advise what should be the best sequence for migrating a VM with running pFsense to another host while a NIC is passed through to it:

      a) Just try to migrate straight ahead

      b) Stop the VM => Remove the PCIe device from the VM => Migrate => Pass the NIC through to the Migrate VM on the Target Host

      c) Make a clone of the VM => Migrate the Clone to the Target Host => Pass the NIC to the new VM on the Target Host

      Thanks in advance to everyone

      posted in Compute
      A
      Ascar
    • RE: Correct approach to passing block devices (SSD) through to a VM

      Hello, @planedrop

      This is what has been on my mind recently. I have a home lab setup with a few nodes, 3 to be precise.

      I bought refurbished Supermicro boards with Xeon-D processors, chassis and all other components required for home server builds. As software-defined storage is the technology of choice for many people nowadays my server nodes have Broadcom 9300-8i HBAs with SATA SSDs connected to them.

      There is something, though, what is itching - lack of visibility of what is happening to the storage drives and the HBAs when using XCP-NG. MegaRAID Storage Manager does not work with 9300-series HBAs so there is no tooling to monitor the HBA and anything connected to it, SAS3IRCU is pretty useless as it does not provide anything other than HBA listing; if I wanted to be able to get more out of this utility I would have needed to use IR vs IT firmware in the HBA which defeats the idea of running an SDS stack.

      Using smartmontool manually is not foolproof - I will always forget to check the stats and miss an event of drive failure. If I make and mdadm or even openzfs volumes again to be on top of things I will have to watch the server health myself and of course something will get in the way.

      So, my thought process was like this - install XCP-NG on a PCIe M.2 stick and don't make any SRs from the SSDs connected to the HBA. Instead, the first VM on the host will be a TrueNAS instance and the drives or even the HBA, as you suggested yesterday, will be passed through to the TrueNAS VM. TrueNAS has all hardware monitoring built in and it is a "set it and forget it" thing, all automated and taken care of by TrueNAS. Moreover, for the NAS fleets with less than 50 drives in total you may use TrueCommand to have all monitoring tasks on autopilot. Plus you get the best automated ZFS array health monitoring done by TrueNAS.

      Once this part is done make an NFS or iSCSI share on the NAS VM and then point XCP-NG to it and add a new SR. All network traffic will be flowing withing the PCIe bus of the host and even not traversing the network switches unless the SR is accessed by other XCP-NG hosts. This way we get like a hypervisor and a NAS running inside the same node, while a better, more advanced storage repository is placed on the ZFS-protected volume in the NAS.

      What I wanted to discuss is whether there are any gotchas in my thinking and whether you and people like you can spot any oversights in my "design". Please share ideas and views.

      posted in Compute
      A
      Ascar
    • RE: Correct approach to passing block devices (SSD) through to a VM

      @planedrop Oh, here is my old friend from previous discussions about how to get things done better.
      Thank you @planedrop. I am coming up tomorrow with even a bigger question 🙂
      Have a good evening

      posted in Compute
      A
      Ascar