Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get the IPMI address of a server?

I'm writing a Python program that collect information about the host it's running on.

Among the information to be collected is the IPMI address.

After some googling, I discovered a command line tool called ipmitool, but I had no idea how to make it output the IPMI address.

like image 448
satoru Avatar asked Dec 28 '15 09:12

satoru


People also ask

Does the IPMI server have a web address or IP address?

The web address of the IPMI isn't preceded by an ip address like I've seen others (sorry for vagueness here but I can't provide certain info or I'll break the rules of the competition). If somebody could help me understand more about how web addresses of IPMI servers (like I said it's a Supermicro) work that would be so helpful.

How to configure the IPMI interface in BMC?

Now switch to the IPMI tab and then to the BMC Network Configuration menu. Here you will see the IP address with which the IPMI interface can be reached. If there is no DHCP server in the network, the IP address has to be assigned static. Now restart the server.

How do I activate the IPMI console on my server?

To activate the IPMI console, it must be equipped with a LAN cable. The IPMI console is located above the USB ports, as shown in the following figure. The server can then be booted. The POST should already show that the IPMI initializes itself and refers to an IP address. At this point, press the Delete key repeatedly to enter the BIOS.

How do I connect to IPMI VPN?

Click IPsec Settings Now, it is possible to connect to IPMI VPN. 1. Go to System preferences: 2. Choose Network then: 3. At the bottom left corner of the new window press + to add a new connection: 4. Choose VPN as a connection interface and L2TP/IPSec as the VPN Type, specify the name of the new connection service. 5.


1 Answers

In one of my Ubuntu 14.04 server with IPMI, sudo ipmitool lan print gives an output including the IPMI management interface IP.


Set in Progress         : Set Complete
Auth Type Support       : NONE MD2 MD5 PASSWORD
Auth Type Enable        : Callback : MD2 MD5
                        : User     : MD2 MD5
                        : Operator : MD2 MD5
                        : Admin    : MD2 MD5
                        : OEM      :
IP Address Source       : Static Address
IP Address              : 10.0.3.80
Subnet Mask             : 255.255.0.0
MAC Address             : f0:..:..:..:..:..
SNMP Community String   : public
IP Header               : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10
BMC ARP Control         : ARP Responses Enabled, Gratuitous ARP Disabled
Gratituous ARP Intrvl   : 2.0 seconds
Default Gateway IP      : 10.0.0.1
Default Gateway MAC     : 00:00:00:00:00:00
Backup Gateway IP       : 0.0.0.0
Backup Gateway MAC      : 00:00:00:00:00:00
802.1q VLAN ID          : Disabled
802.1q VLAN Priority    : 0
RMCP+ Cipher Suites     : 0,1,...
Cipher Suite Priv Max   : Xa...
like image 77
Achimnol Avatar answered Oct 08 '22 23:10

Achimnol