How to Power Cycle a node through BMC?

Case: 
1. Ping not working 
2. Server got hung / not accessible 
3. SSH not working


Cause: What is a BMC? 

The baseboard management controller (BMC) is the intelligence in the IPMI architecture. It is a specialized microcontroller embedded on the motherboard of a computer, generally a server. The BMC manages the interface between system management software and platform hardware. Different types of sensors built into the computer system report to the BMC on parameters such as temperature, cooling fan speeds, power status, operating system (OS) status, etc. The BMC monitors the sensors and can send alerts to a system administrator via the network if any of the parameters do not stay within preset limits, indicating a potential failure of the system. The administrator can also remotely communicate with the BMC to take some corrective action such as resetting or power cycling the system to get a hung OS running again. These abilities save on the total cost of ownership of a system. Physical interfaces to the BMC include SMBus buses, an RS-232 serial console, address and data lines and an Intelligent Platform Management Bus (IPMB), that enables the BMC to accept IPMI request messages from other management controllers in the system. A direct serial connection to the BMC is not encrypted as the connection itself is secure. Connection to the BMC over LAN may or may not use encryption depending on the security concerns of the user. iDrac is a Dell term for BMC, RMM is term used for Intel Servers. HP calls it ILO.

Workaround:
ex : ipmiutil power -d -N sdw1-sp -U root -P sephiroth 

From a different server on the DCA, Here I've taken sdw1 as an example To power cycle the server, you can run: 
ipmiutil power -c -N <host#-sp> -U root -P <password> 
ex : ipmiutil power -c -N sdw1-sp -U root -P sephiroth
Note: If in case power cycle (-c) option does not work then do power down (-d) and power up (-u). 

To power up a a shutdown server, you can run: 
ipmiutil power -u -N <host#-sp> -U root -P <password> 
ex : ipmiutil power -u -N sdw1-sp -U root -P sephiroth 

To power down a server you can run: 
ipmiutil power -d -N <host#-sp> -U root -P <password>
Note: SP port password by default is 'sephiroth' if in case client is using anything different from this kindly get the password from client itself.

Comments

Popular posts from this blog

GP - Kerberos errors and resolutions

How to set Optimizer at database level in greenplum

GP - SQL Joins