XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. wmazren
    W
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 14
    • Groups 0

    wmazren

    @wmazren

    3
    Reputation
    2
    Profile views
    14
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    wmazren Unfollow Follow

    Best posts made by wmazren

    • Xen Orchestra Inventory Export Script

      Hi,

      I've always wanted a tool or script similar to RVTools that could export VM inventory and related data to CSV for reporting purposes. Since I couldn’t find one that met my needs, I decided to leverage AI and the Xen Orchestra (XO) API to build my own.

      I'm sharing the script here in case anyone else finds it useful:

      https://github.com/wmazren/xen-orchestra-inventory

      b7716e09-cc67-4b7b-bb1a-375551525df3-image.png

      a2eb1d6b-b1ac-4328-97eb-acf1d8f5f638-image.png

      Thanks, and feel free to contribute or provide feedback!

      Best regards,
      Azren

      posted in REST API
      W
      wmazren

    Latest posts made by wmazren

    • RE: VDI not showing in XO 5 from Source.

      @Danp said in VDI not showing in XO 5 from Source.:

      xe vdi-param-list uuid=

      Hi Dan,

      [18:52 mycsskvdcxcp03 ~]# xe vdi-param-list uuid=5f899e22-f3a7-4f0b-8de6-2b8058c0f575
      
      uuid ( RO)                    : 5f899e22-f3a7-4f0b-8de6-2b8058c0f575
                    name-label ( RW): ADSIM-UAT_DISK01
              name-description ( RW):
                 is-a-snapshot ( RO): false
                   snapshot-of ( RO): d31f2db0-be21-4794-b858-1bea357869c8
                     snapshots ( RO):
                 snapshot-time ( RO): 19700101T00:00:00Z
            allowed-operations (SRO): clone; snapshot
            current-operations (SRO):
                       sr-uuid ( RO): 5d22cba7-fbf6-a03b-bb73-9ffba3a3ee75
                 sr-name-label ( RO): SR-HDD-DEV-2
                     vbd-uuids (SRO): c6f4c7fa-4f6f-7999-d13c-3a29d887d828
               crashdump-uuids (SRO):
                  virtual-size ( RO): 171798691840
          physical-utilisation ( RO): 50272698880
                      location ( RO): 5f899e22-f3a7-4f0b-8de6-2b8058c0f575
                          type ( RO): User
                      sharable ( RO): false
                     read-only ( RO): false
                  storage-lock ( RO): false
                       managed ( RO): true
           parent ( RO) [DEPRECATED]: <not in database>
                       missing ( RO): false
                  is-tools-iso ( RO): false
                  other-config (MRW):
                 xenstore-data (MRO):
                     sm-config (MRO): host_OpaqueRef:c3426081-ce96-507b-a219-8d2cb124c3ad: RW; read-caching-enabled-on-e1594701-28e9-4127-858e-74d4663669f8: true
                       on-boot ( RW): persist
                 allow-caching ( RW): false
               metadata-latest ( RO): false
              metadata-of-pool ( RO): <not in database>
                          tags (SRW):
                   cbt-enabled ( RO): false
      
      
      [18:54 mycsskvdcxcp03 ~]#
      

      Best regards,
      Azren

      posted in Management
      W
      wmazren
    • VDI not showing in XO 5 from Source.

      Hi All,

      I just notice that when I select VM in XO 5 and click on the Disks tab, the VDI is not showing. But in XO 6 it is showing ok. I'm using XO from source latest version (commit: b89c2). Any idea?

      Troubleshooting done so far:

      1. restart toolstack on all hosts in the pool
      2. update XO from source to latest commit b89c2
      3. Reboot XO

      XO 5 VDI not showing

      7776c415-ed1d-4ac5-9782-fe2f3ad169a7-image.png

      XO 6 VDI showing ok

      00569588-e44c-48ac-bc1f-d9d3c1edced4-image.png

      Best regards,
      Azren

      posted in Management
      W
      wmazren
    • Xen Orchestra Inventory Export Script

      Hi,

      I've always wanted a tool or script similar to RVTools that could export VM inventory and related data to CSV for reporting purposes. Since I couldn’t find one that met my needs, I decided to leverage AI and the Xen Orchestra (XO) API to build my own.

      I'm sharing the script here in case anyone else finds it useful:

      https://github.com/wmazren/xen-orchestra-inventory

      b7716e09-cc67-4b7b-bb1a-375551525df3-image.png

      a2eb1d6b-b1ac-4328-97eb-acf1d8f5f638-image.png

      Thanks, and feel free to contribute or provide feedback!

      Best regards,
      Azren

      posted in REST API
      W
      wmazren
    • RE: VM Live Migration Issue After VMware to XO Import

      @Pilow

      Not selected.

      posted in Migrate to XCP-ng
      W
      wmazren
    • RE: VM Live Migration Issue After VMware to XO Import

      @olivierlambert

      I'm using XO from source.

      Best regards,
      Azren

      posted in Migrate to XCP-ng
      W
      wmazren
    • VM Live Migration Issue After VMware to XO Import

      Hi,

      I've noticed an issue with live migration on VMs that were imported from VMware using XO. During migration, the VM hangs and loses network connectivity (ping fails), requiring a forced power-off and power-on to recover.

      Here’s what I’ve found:

      1. The VM template after import is incorrect, it shows as "Other install media".
      2. If I create a new VM using the correct template and reattach the existing VDI, the issue is resolved. I can do live migration without issue.

      Please let me know if further investigation is needed or if there's a recommended fix for the template mismatch during import.

      8bd599ea-2a33-4b96-a948-0eb9830ca459-image.png

      Best regards,
      Azren

      posted in Migrate to XCP-ng
      W
      wmazren
    • RE: Async.VM.pool_migrate stuck at 57%

      @olivierlambert

      I've already moved the pool master from host #1 to host # 2

      Best regards,
      Azren

      posted in Management
      W
      wmazren
    • RE: Async.VM.pool_migrate stuck at 57%

      It appears that the issue is related to Host #1. Any migration into or out of Host #1 tends to cause problems. Occasionally, virtual machines (VMs) lose network connectivity during migration and become unresponsive — they cannot be shut down, powered off (even forcefully), or restarted, often getting stuck in the process.

      I’ve added Host #3 to the pool. Migration between Host #2 and Host #3 works smoothly in both directions.

      Any idea how can I kill the stuck VM?

      xe vm-reset-powerstate force=true vm=MYVM03
      This operation cannot be completed because the server is still live.
      host: cb8311e8-d0fd-4d53-be99-fe3fea2c9351 (HOST01)
      

      Best regards,
      Azren

      posted in Management
      W
      wmazren
    • RE: Async.VM.pool_migrate stuck at 57%

      @olivierlambert

      Both hosts are Dell PowerEdge R760 dual processor with 512GB of memory. Missing this month patches. I'm trying to live migrate VMs to 1 host so that I can start installing patches and reboot.

      Host#1

      5407bbff-e84c-4e62-b2cb-bc80ef5565a0-image.png

      Host#2

      b707b1cb-44e7-44f1-bf43-16c6776af0b9-image.png

      Host#1: dmesg

      6f9faa0c-e1be-4f4e-bf5b-1bed6a62211b-image.png

      Host#2: dmesg

      813113f7-f8c1-434f-a942-f7ea3818417c-image.png

      posted in Management
      W
      wmazren
    • RE: Async.VM.pool_migrate stuck at 57%

      @sid

      My dmesg...

      8b4484d3-094a-4303-a7a3-551cd423d993-image.png

      This is the XO VM that I try to migrate, but issue also happen to other VMs running MS WIndows.

      Best regards,
      Azren

      posted in Management
      W
      wmazren