XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Confirming health checks work

    Scheduled Pinned Locked Moved Backup
    8 Posts 3 Posters 958 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      McHenry
      last edited by

      I understand Health Checks wait for the management tools to load however I have a device being backed up that does not have these management tools loaded yet still passes.

      How is this possible?

      c2eb77c3-7820-451b-86fa-56754fad38e3-image.png

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Hi,

        Can you copy the result of xe vm-param-list uuid=<UIID of this VM> and paste it here?

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          McHenry @olivierlambert
          last edited by

          @olivierlambert said in Confirming health checks work:

          xe vm-param-list uuid=

          [07:16 hst100 ~]# xe vm-param-list uuid=57ca2b95-2516-41ea-c2a3-1df02dc9ed4e
          uuid ( RO)                                  : 57ca2b95-2516-41ea-c2a3-1df02dc9ed4e
                                      name-label ( RW): server.cloud - rtr000
                                name-description ( RW): pfSense
                                    user-version ( RW): 1
                                   is-a-template ( RW): false
                             is-default-template ( RW): false
                                   is-a-snapshot ( RO): false
                                     snapshot-of ( RO): <not in database>
                                       snapshots ( RO): 6ac4aa42-5d12-ca8e-aa70-bc5a70e12012; e491e534-8a09-b1c6-e124-9ee18c8d7c48
                                   snapshot-time ( RO): 19700101T00:00:00Z
                                   snapshot-info ( RO): 
                                          parent ( RO): e491e534-8a09-b1c6-e124-9ee18c8d7c48
                                        children ( RO): 
                               is-control-domain ( RO): false
                                     power-state ( RO): running
                                   memory-actual ( RO): 1073729536
                                   memory-target ( RO): 1073741824
                                 memory-overhead ( RO): 11534336
                               memory-static-max ( RW): 1073741824
                              memory-dynamic-max ( RW): 1073741824
                              memory-dynamic-min ( RW): 1073741824
                               memory-static-min ( RW): 134217728
                                suspend-VDI-uuid ( RW): <not in database>
                                 suspend-SR-uuid ( RW): <not in database>
                                    VCPUs-params (MRW): 
                                       VCPUs-max ( RW): 1
                                VCPUs-at-startup ( RW): 1
                          actions-after-shutdown ( RW): Destroy
                        actions-after-softreboot ( RW): Soft reboot
                            actions-after-reboot ( RW): Restart
                             actions-after-crash ( RW): Restart
                                   console-uuids (SRO): b324db63-c892-09a2-6b34-332732eeebdc
                                             hvm ( RO): true
                                        platform (MRW): timeoffset: 0; device-model: qemu-upstream-compat; secureboot: false; viridian: true; nx: true; acpi: 1; apic: true; pae: true; hpet: true
                              allowed-operations (SRO): metadata_export; changing_dynamic_range; migrate_send; pool_migrate; checkpoint; snapshot
                              current-operations (SRO): 
                              blocked-operations (MRW): pause: true; clean_shutdown: true; suspend: true; hard_shutdown: true; shutdown: true; hard_reboot: true; clean_reboot: true; destroy: true
                             allowed-VBD-devices (SRO): 1; 2; 3; 4; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 16; 17; 18; 19; 20; 21; 22; 23; 24; 25; 26; 27; 28; 29; 30; 31; 32; 33; 34; 35; 36; 37; 38; 39; 40; 41; 42; 43; 44; 45; 46; 47; 48; 49; 50; 51; 52; 53; 54; 55; 56; 57; 58; 59; 60; 61; 62; 63; 64; 65; 66; 67; 68; 69; 70; 71; 72; 73; 74; 75; 76; 77; 78; 79; 80; 81; 82; 83; 84; 85; 86; 87; 88; 89; 90; 91; 92; 93; 94; 95; 96; 97; 98; 99; 100; 101; 102; 103; 104; 105; 106; 107; 108; 109; 110; 111; 112; 113; 114; 115; 116; 117; 118; 119; 120; 121; 122; 123; 124; 125; 126; 127; 128; 129; 130; 131; 132; 133; 134; 135; 136; 137; 138; 139; 140; 141; 142; 143; 144; 145; 146; 147; 148; 149; 150; 151; 152; 153; 154; 155; 156; 157; 158; 159; 160; 161; 162; 163; 164; 165; 166; 167; 168; 169; 170; 171; 172; 173; 174; 175; 176; 177; 178; 179; 180; 181; 182; 183; 184; 185; 186; 187; 188; 189; 190; 191; 192; 193; 194; 195; 196; 197; 198; 199; 200; 201; 202; 203; 204; 205; 206; 207; 208; 209; 210; 211; 212; 213; 214; 215; 216; 217; 218; 219; 220; 221; 222; 223; 224; 225; 226; 227; 228; 229; 230; 231; 232; 233; 234; 235; 236; 237; 238; 239; 240; 241; 242; 243; 244; 245; 246; 247; 248; 249; 250; 251; 252; 253; 254
                             allowed-VIF-devices (SRO): 2; 3; 4; 5; 6
                                  possible-hosts ( RO): cb2ae4d4-6ed4-4790-8739-3cf0c2940c99
                                     domain-type ( RW): hvm
                             current-domain-type ( RO): hvm
                                 HVM-boot-policy ( RW): BIOS order
                                 HVM-boot-params (MRW): firmware: bios; order: cd
                           HVM-shadow-multiplier ( RW): 1.000
                                       PV-kernel ( RW): 
                                      PV-ramdisk ( RW): 
                                         PV-args ( RW): 
                                  PV-legacy-args ( RW): 
                                   PV-bootloader ( RW): 
                              PV-bootloader-args ( RW): 
                             last-boot-CPU-flags ( RO): vendor: AuthenticAMD; features: 178bfbff-f6f83203-2e500800-040001f3-0000000f-f1bf07a9-00405f4e-00000000-711ed005-10000010-00000020-18000144-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000
                                last-boot-record ( RO): ''
                                     resident-on ( RO): cb2ae4d4-6ed4-4790-8739-3cf0c2940c99
                                        affinity ( RW): <not in database>
                                    other-config (MRW): auto_poweron: true; import_task: OpaqueRef:2d9c20fa-8f3f-ab13-da2e-523397d0311b; mac_seed: aead2513-60f2-c322-af2a-2e2a5b13a0f0; xo:6eb22368: {"creation":{"date":"2025-03-09T05:14:39.610Z","template":"552bce37-51b2-445d-84f2-5f33fa112d7e","user":"a2e57b71-9b1b-4044-b7c6-4199ab307f28"}}; base_template_name: Other install media; install-methods: cdrom
                                          dom-id ( RO): 8
                                 recommendations ( RO): <restrictions><restriction field="memory-static-max" max="137438953472"/><restriction field="vcpus-max" max="64"/><restriction field="has-vendor-device" value="false"/><restriction field="supports-bios" value="yes"/><restriction field="supports-uefi" value="yes"/><restriction field="supports-secure-boot" value="yes"/><restriction max="255" property="number-of-vbds"/><restriction max="7" property="number-of-vifs"/></restrictions>
                                   xenstore-data (MRW): vm-data/mmio-hole-size: 268435456; vm-data: 
                      ha-always-run ( RW) [DEPRECATED]: false
                             ha-restart-priority ( RW): 
                                           blobs ( RO): 
                                      start-time ( RO): 20250710T21:50:55Z
                                    install-time ( RO): 19700101T00:00:00Z
                                    VCPUs-number ( RO): 1
                               VCPUs-utilisation (MRO): 0: 0.026
                                      os-version (MRO): 
                                    netbios-name (MRO): 
                              PV-drivers-version (MRO): 
              PV-drivers-up-to-date ( RO) [DEPRECATED]: true
                                          memory (MRO): 
                                           disks (MRO): 
                                            VBDs (SRO): f219ecc9-6986-11ef-901c-e9843e595f19
                                        networks (MRO): 
                             PV-drivers-detected ( RO): true
                                           other (MRO): platform-feature-xs_reset_watches: 1; platform-feature-multiprocessor-suspend: 1; has-vendor-device: 0; feature-suspend: 1; feature-reboot: 1; feature-poweroff: 1
                                            live ( RO): true
                      guest-metrics-last-updated ( RO): 20250710T21:51:20Z
                             can-use-hotplug-vbd ( RO): unspecified
                             can-use-hotplug-vif ( RO): unspecified
                        cooperative ( RO) [DEPRECATED]: true
                                            tags (SRW): Backup
                                       appliance ( RW): <not in database>
                                          groups ( RW): 
                               snapshot-schedule ( RW): <not in database>
                                is-vmss-snapshot ( RO): false
                                     start-delay ( RW): 0
                                  shutdown-delay ( RW): 0
                                           order ( RW): 0
                                         version ( RO): 0
                                   generation-id ( RO): 
                       hardware-platform-version ( RO): 0
                               has-vendor-device ( RW): false
                                 requires-reboot ( RO): false
                                 reference-label ( RO): other-install-media
                                    bios-strings (MRO): bios-vendor: Xen; bios-version: ; system-manufacturer: Xen; system-product-name: HVM domU; system-version: ; system-serial-number: ; baseboard-manufacturer: ; baseboard-product-name: ; baseboard-version: ; baseboard-serial-number: ; baseboard-asset-tag: ; baseboard-location-in-chassis: ; enclosure-asset-tag: ; hp-rombios: ; oem-1: Xen; oem-2: MS_VM_CERT/SHA1/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d
                               pending-guidances ( RO): 
                                           vtpms ( RO): 
                   pending-guidances-recommended ( RO): 
                          pending-guidances-full ( RO)
          
          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            It's a FreeBSD, so the PV drivers are bundled in the kernel. Maybe that's enough for XO to detects when they are loaded by populating the Xen store.

            Let me ask @Bastien-Nollet to review a bit of the logic behind the tools detection

            Bastien NolletB 1 Reply Last reply Reply Quote 0
            • Bastien NolletB Offline
              Bastien Nollet Vates 🪐 XO Team @olivierlambert
              last edited by

              @olivierlambert I think you're right, we just wait for the XAPI field PV_drivers_detected of the restored VM's guest metrics to be true.

              1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by

                So that explains it then 🙂 Free BSD boots and since the kernel loads successfully the PV drivers, it's fine by us.

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  McHenry @olivierlambert
                  last edited by

                  @olivierlambert

                  Good to know the management agent is not required on FreeBSD (pfSense)

                  1 Reply Last reply Reply Quote 0
                  • olivierlambertO Offline
                    olivierlambert Vates 🪐 Co-Founder CEO
                    last edited by

                    It's better to have it to get handy options like IP addresses displayed and so on.

                    1 Reply Last reply Reply Quote 1

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • First post
                      Last post