openBMC Host Usage Basics

OpenBMC is an open software framework to build a complete Linux image for a Board Management Controller (BMC)

I expect increasing number of openPOWER based servers moving towards openBMC vs conventional and proprietary IPMI implementations.

In my effort to familiarize readers with openPOWER servers, I wanted to write about some basic commands on using openBMC, specifically on how to control host via openBMC. 

To perform host power operations  you should start via “ssh” login into openBMC Linux:

You can do this via following command:

ssh root@<bmc-ip>

Standard OpenBMC password (or contact the administrator)

To power off the host from BMC:

obmcutil poweroff

To power on the host from BMC

obmcutil poweron

To check the power state of host , or to make sure the host is powered on / powered off, run the below command

obmcutil state

To get remote host console within the BMC SSH Session

obmc-console-client

If you are debugging something on the host, I suggest you have 2 parallel ssh sessions to the BMC and use one to control power / look at logs and the other to look at host console.

To get remote host console directly without logging into the BMC:

ssh -p2200 root@<BMC IP>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s