XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. cairoti
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 27
    • Groups 0

    cairoti

    @cairoti

    7
    Reputation
    6
    Profile views
    27
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    cairoti Unfollow Follow

    Best posts made by cairoti

    • RE: "Virtual Disk Not On Preferred Path" error on Dell Storages when mapping volumes

      @cairoti said in "Virtual Disk Not On Preferred Path" error on Dell Storages when mapping volumes:

      The description below appears in the mapped volume in XO:

      2025-02-17_16-44.png

      I don't know if the image has any relation to the problem.

      The "Multipathing" option was not enabled on the hosts in the pool. So even though there was more than one connection to the Dell Storage, the warning message was displayed. The controller to be used could be 0 or 1. But because "Multipathing" was disabled, the storage automatically switched from 1 to 0 for some mapped volumes because it believed there was only one possible path.

      I consider this issue resolved!

      2025-02-18_18-32.png

      posted in Hardware
      cairotiC
      cairoti
    • RE: Re-add a repaired master node to the pool

      @Andrew, @bvitnik and @DustinB In my tests, I did the following. I did this process twice and it worked. To simulate a hardware failure on the master node, I simply turned it off.

      If the master pool is down or unresponsive due to a hardware failure, follow these steps to restore operations:

      1. Use an SSH client to log in to a slave host in the pool.

      2. Run the following command on the slave host to promote it as the new pool master:

      xe pool-emergency-transition-to-master
      
      1. Confirm the change of the pool master and verify the hosts present in it:
      xe pool-list
      
      xe host-list
      

      Even if it is down, the old master node will appear in the listing.

      1. Remap the pool in XCP-ng or XO using the IP of the new master node.

      2. After resolving the hardware issues on the old master node, start it up. When it finishes booting, it will be recognized as a slave node.

      In testing, I did not need to run any other commands. However, if the node is not recognized, try typing on it after accessing it via SSH: xe pool-recover-slaves

      I didn't understand why it worked. It seemed like "magic"!

      posted in Compute
      cairotiC
      cairoti

    Latest posts made by cairoti

    • RE: Re-add a repaired master node to the pool

      @Andrew, @bvitnik and @DustinB In my tests, I did the following. I did this process twice and it worked. To simulate a hardware failure on the master node, I simply turned it off.

      If the master pool is down or unresponsive due to a hardware failure, follow these steps to restore operations:

      1. Use an SSH client to log in to a slave host in the pool.

      2. Run the following command on the slave host to promote it as the new pool master:

      xe pool-emergency-transition-to-master
      
      1. Confirm the change of the pool master and verify the hosts present in it:
      xe pool-list
      
      xe host-list
      

      Even if it is down, the old master node will appear in the listing.

      1. Remap the pool in XCP-ng or XO using the IP of the new master node.

      2. After resolving the hardware issues on the old master node, start it up. When it finishes booting, it will be recognized as a slave node.

      In testing, I did not need to run any other commands. However, if the node is not recognized, try typing on it after accessing it via SSH: xe pool-recover-slaves

      I didn't understand why it worked. It seemed like "magic"!

      posted in Compute
      cairotiC
      cairoti
    • RE: Re-add a repaired master node to the pool

      @DustinB I use the open community version.

      posted in Compute
      cairotiC
      cairoti
    • RE: Re-add a repaired master node to the pool

      @DustinB I use a dedicated Dell SAN storage.

      posted in Compute
      cairotiC
      cairoti
    • Re-add a repaired master node to the pool

      I am doing a lot of testing before putting my environment into production.

      Suppose the pool has two nodes, one master node and the other a slave node. In case the master node fails due to hardware issues, I saw that the slave node can be changed to master using the command "xe pool-emergency-transition-to-master".

      But when the old master server is repaired, how can I add it back? Won't I have two masters at the same time? Will a conflict occur?

      In the tests I performed, when shutting down the master node, the VMs running on it were also shut down and not migrated to the slave node.

      Links consulted:

      https://xcp-ng.org/forum/topic/8361/xo-new-pool-master
      https://xcp-ng.org/forum/topic/4075/pool-master-down-what-steps-need-done-next

      posted in Compute
      cairotiC
      cairoti
    • RE: "Virtual Disk Not On Preferred Path" error on Dell Storages when mapping volumes

      @cairoti said in "Virtual Disk Not On Preferred Path" error on Dell Storages when mapping volumes:

      The description below appears in the mapped volume in XO:

      2025-02-17_16-44.png

      I don't know if the image has any relation to the problem.

      The "Multipathing" option was not enabled on the hosts in the pool. So even though there was more than one connection to the Dell Storage, the warning message was displayed. The controller to be used could be 0 or 1. But because "Multipathing" was disabled, the storage automatically switched from 1 to 0 for some mapped volumes because it believed there was only one possible path.

      I consider this issue resolved!

      2025-02-18_18-32.png

      posted in Hardware
      cairotiC
      cairoti
    • RE: "Virtual Disk Not On Preferred Path" error on Dell Storages when mapping volumes

      The description below appears in the mapped volume in XO:

      2025-02-17_16-44.png

      I don't know if the image has any relation to the problem.

      posted in Hardware
      cairotiC
      cairoti
    • "Virtual Disk Not On Preferred Path" error on Dell Storages when mapping volumes

      Hi, when I map Dell storage volumes in XCP-ng, I get "Virtual Disk Not On Preferred Path" error in Dell management software.

      In the link below I posted in the Dell community and from the answer given I understood that it could be some configuration that I didn't do in XCP-ng. But what would it be?

      https://www.dell.com/community/en/conversations/powermax/virtual-disk-not-on-preferred-path-message-on-powervault-storages/67afaa9c86c8e6496312842f

      Volumes mapped to "RAID Controller Module in Slot 0" do not exhibit the issue. However, volumes mapped to "RAID Controller Module in Slot 1" are changed to "RAID Controller Module in Slot 0", which causes the issue.

      Has anyone dealt with this issue?

      posted in Hardware
      cairotiC
      cairoti
    • RE: vm start delay - does it work yet?

      @payback007 said in vm start delay - does it work yet?:

      unfortunately "start delay" is not working as expected. The function what you marked above is to change the start delay of an existing "vApp". Here is an example of my setup:

      04e7439d-6b92-4356-aa23-14d704588be3-grafik.png

      The value whould change the "Delay interval" later by XOA, nothing else. Otherwise is vApp feature also not working on my XCP-ng installation, I think it was never really tested.

      If you want to implement start delays to your VM's you can follow this guide:

      1. define vApp for autostart in xcp-ng center including start order
      2. find out the uuid of the vApp:
      xe appliance-list
      
      1. write autostart script containing
      #!/bin/sh
      xe appliance-start uuid=uuid-autostart-vApp
      
      1. implement new systemd.service in /etc/systemd/system/autostart.service
      [Unit]
      Description=autostart script for boot VM
      After=graphical.target
      
      [Service]
      Type=simple
      ExecStart=/path/to/your/autostart-script.sh
      TimeoutStartSec=0
      
      [Install]
      WantedBy=default.target
      
      1. enable the service
      systemctl enable autostart.service
      

      Editing of boot delay time is then possible via XOA which is already a nice feature at all for "fine tuning" or adapt if new VMs are added to the autostart vApp.

      @olivierlambert whould it make sense to open an additional feature request? vApp-implementation was several times discussed with no "final statement" I think.

      When I have a pool without HA, how could I use this script?

      I thought about setting the script on the master server. However, in a maintenance, where a second node becomes the master, will I have to recreate the script?

      posted in Xen Orchestra
      cairotiC
      cairoti
    • RE: Question about "auto power on"

      @Davidj-0 From what I understand, the xcp host must already be turned on. The VM will only start at the defined time, when for some reason, it has been turned off previously.

      My plan was to have the servers power up when they received power. Then the "auto power on" XOCE VM would start and, via scheduling, power on other VMs in a predefined order.

      Does the "Appliances" feature only exist in the XCP-ng command line or in the XCP-ng Center?

      According to this link this feature does not exist on XO: https://xcp-ng.org/forum/topic/6311/managing-vapps-with-xoa

      posted in Management
      cairotiC
      cairoti
    • RE: Question about "auto power on"

      @karlisi To test I created 3 schedules to start 3 VMs respectively. My goal was to test the startup order. Afterwards I restarted the XO VM. I noticed that the VMs start earlier than expected. How does the XO time the VMs?

      In job I did not define timeout. Below are the schedules for each VM.

      2025-02-07_19-13.png

      posted in Management
      cairotiC
      cairoti