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

    How to Setup IPMI in XO

    Scheduled Pinned Locked Moved Management
    24 Posts 8 Posters 1.7k Views 9 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.
    • florentF Online
      florent Vates 🪐 XO Team @stevewest15
      last edited by florent

      @stevewest15 these errors are normal on XO from source, since you don't have licenses
      the configuration to use for ipmi sensors depends on the bios strings .

      Could you post the bios string of your hosts ? Dell configuration is used if system-manufacturer' contains the string dell

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        someone2b @florent
        last edited by Danp

        @florent I also ran into this. It seems to be working on Dell hosts, but on my supermicro hosts I get nothing even though I do get data back from the cli plugin

        [09:15 host01 ~]# xe host-call-plugin host-uuid=aa8e6bf4-6710-4320-98f9-d8e581cf8ef7  plugin=ipmitool.py fn=is_ipmi_device_available
        true
        [09:16 host01 ~]# xe host-call-plugin host-uuid=aa8e6bf4-6710-4320-98f9-d8e581cf8ef7  plugin=ipmitool.py fn=get_all_sensors
        [{"name": "CPU Temp", "value": "59 degrees C", "event": "ok"}, {"name": "Inlet Temp", "value": "no reading", "event": "ns"}, {"name": "PCH Temp", "value": "43 degrees C", "event": "ok"}, {"name": "System Temp", "value": "23 degrees C", "event": "ok"}, {"name": "Peripheral Temp", "value": "30 degrees C", "event": "ok"}, {"name": "CPU_VRMON Temp", "value": "39 degrees C", "event": "ok"}, {"name": "M2_SSD1 Temp", "value": "38 degrees C", "event": "ok"}, {"name": "M2_SSD2 Temp", "value": "40 degrees C", "event": "ok"}, {"name": "DIMMAB Temp", "value": "30 degrees C", "event": "ok"}, {"name": "FAN1", "value": "16240 RPM", "event": "ok"}, {"name": "FAN2", "value": "16800 RPM", "event": "ok"}, {"name": "FAN3", "value": "16380 RPM", "event": "ok"}, {"name": "FAN4", "value": "no reading", "event": "ns"}, {"name": "FAN5", "value": "no reading", "event": "ns"}, {"name": "FANA", "value": "10080 RPM", "event": "ok"}, {"name": "FANB", "value": "no reading", "event": "ns"}, {"name": "MB 12V", "value": "11.92 Volts", "event": "ok"}, {"name": "MB 5VCC", "value": "5.10 Volts", "event": "ok"}, {"name": "MB 3.3VCC", "value": "3.34 Volts", "event": "ok"}, {"name": "VBAT", "value": "0x04", "event": "ok"}, {"name": "MB 5VSB", "value": "5.06 Volts", "event": "ok"}, {"name": "MB 3.3VSB", "value": "3.34 Volts", "event": "ok"}, {"name": "PCH 1.8V", "value": "1.82 Volts", "event": "ok"}, {"name": "CPU 1.8V_AUX", "value": "1.79 Volts", "event": "ok"}, {"name": "PCH 1.05V", "value": "1.05 Volts", "event": "ok"}, {"name": "BMC 2.5V", "value": "2.50 Volts", "event": "ok"}, {"name": "BMC 1.8V", "value": "1.81 Volts", "event": "ok"}, {"name": "CPU 1.1V_DDR", "value": "1.11 Volts", "event": "ok"}, {"name": "CPU Core", "value": "1.34 Volts", "event": "ok"}, {"name": "BMC 3.3VSB", "value": "3.34 Volts", "event": "ok"}, {"name": "CPU 1.05V", "value": "1.05 Volts", "event": "ok"}, {"name": "CPU 1.8V", "value": "1.82 Volts", "event": "ok"}, {"name": "Chassis Intru", "value": "0x00", "event": "ok"}, {"name": "PS1 Status", "value": "0x01", "event": "ok"}, {"name": "AOC_NIC1 Temp", "value": "63 degrees C", "event": "ok"}, {"name": "PS2 Status", "value": "0x01", "event": "ok"}]
        
        1 Reply Last reply Reply Quote 0
        • marcoiM Online
          marcoi
          last edited by

          curious how does this work, dont you need to put in a username and password/IP address for ipmi details. I havent looked at docs or tried this out, just wondering. I think on ESXI i had to setup the ipmi with such details before i could issue power on etc.

          nikadeN florentF 2 Replies Last reply Reply Quote 0
          • nikadeN Offline
            nikade Top contributor @marcoi
            last edited by

            @marcoi said in How to Setup IPMI in XO:

            curious how does this work, dont you need to put in a username and password/IP address for ipmi details. I havent looked at docs or tried this out, just wondering. I think on ESXI i had to setup the ipmi with such details before i could issue power on etc.

            I am also curious, since I asume authentication would be required before you're allowed to read or write data from iDRAC, we have a read-only "statsuser" to poll from iDRAC with Observium.

            But maybe there is some kind of "special" integrated pass-through authentication done since the ipmitool is being executed from the same host.

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

              Indeed, there's no login, we just call ipmitool from the Dom0. I'm not aware of any write access from there.

              1 Reply Last reply Reply Quote 0
              • florentF Online
                florent Vates 🪐 XO Team @marcoi
                last edited by Danp

                @marcoi on xo side we use to show the ip of the ipmi and the sensor. We don't write anything nor use it for poweroff

                1 Reply Last reply Reply Quote 0
                • nikadeN Offline
                  nikade Top contributor
                  last edited by

                  Cool, thnx for the info!

                  1 Reply Last reply Reply Quote 0
                  • C Online
                    Chr57
                    last edited by

                    So to understand it...

                    To get IPMI info from Supermicro;

                    Can the Host access the IPMI internally, or does it need to talk to it by the main NIC (sharing IPMI) or do I have to open FW access from the host to the dedicated IPMI interface?

                    In version 8.3, do I need to install any plugin, or should it work by itself? It isn't now.

                    C 1 Reply Last reply Reply Quote 0
                    • C Online
                      Chr57 @Chr57
                      last edited by

                      Tested this and it worked;

                      [09:33 xcp-ng-01 ~]# ls /dev/ipmi*
                      /dev/ipmi0
                      [09:33 xcp-ng-01 ~]# ipmitool sensor
                      CPU Temp         | 49.000     | degrees C  | ok    | na        | 5.000     | na                                                                   | na        | 100.000   | na
                      Inlet Temp       | 24.000     | degrees C  | ok    | na        | 5.000     | na                                                                   | na        | 50.000    | na
                      System Temp      | 27.000     | degrees C  | ok    | na        | 5.000     | na                                                                   | na        | 85.000    | na
                      Peripheral Temp  | 35.000     | degrees C  | ok    | na        | 5.000     | na                                                                   | na        | 85.000    | na
                      CPU_VRM0 Temp    | 41.000     | degrees C  | ok    | na        | 5.000     | na                                                                   | na        | 100.000   | na
                      CPU_VRM1 Temp    | 32.000     | degrees C  | ok    | na        | 5.000     | na                                                                   | na        | 100.000   | na
                      SOC_VRM Temp     | 38.000     | degrees C  | ok    | na        | 5.000     | na                                                                   | na        | 100.000   | na
                      VDDIO_VRM Temp   | 31.000     | degrees C  | ok    | na        | 5.000     | na                                                                   | na        | 100.000   | na
                      DIMMA~F Temp     | 37.000     | degrees C  | ok    | na        | 5.000     | na                                                                   | na        | 85.000    | na
                      DIMMG~L Temp     | 38.000     | degrees C  | ok    | na        | 5.000     | na                                                                   | na        | 85.000    | na
                      MB 12V           | 11.999     | Volts      | ok    | 10.151    | 10.319    | na                                                                   | na        | 13.259    | 13.427
                      MB 5VCC          | 5.112      | Volts      | ok    | 4.482     | 4.482     | na                                                                   | na        | 5.490     | 5.490
                      MB 3.3VCC        | 3.229      | Volts      | ok    | 2.952     | 2.952     | na              
                      
                      1 Reply Last reply Reply Quote 0
                      • marcoiM Online
                        marcoi
                        last edited by

                        Just to add more data.
                        Xen Orchestra, commit 56b17
                        Master, commit 56b17
                        All patches on host are done.

                        the ipmitool works on my asrock MB but i dont see it in XO host screen.
                        I also didnt see it on xo6 interface.

                        a5e1c4e9-bcd7-4593-8485-0810a532809b-image.jpeg

                        f04bedae-a959-4d9f-a2dc-7a3c940b799a-image.jpeg

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

                          Hi,

                          Each vendor got a different way to display their IPMI stats, so it needs a specific code in XO to display it. Sadly, it's not universal. There's no Asrock support yet.

                          1 Reply Last reply Reply Quote 1
                          • A Offline
                            acebmxer @marcoi
                            last edited by

                            @marcoi said:
                            the ipmitool works on my asrock MB but i dont see it in XO host screen.
                            I also didnt see it on xo6 interface.

                            @olivierlambert

                            Is ipmi data supposed to show in v6 on support systems or not yet. I dont see ipmi data for my dell servers at work in v6 only v5.

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

                              Not yet, I think it's already planned, check https://feedback.vates.tech

                              1 Reply Last reply Reply Quote 0

                              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