IPMI
It is possible to control the power or connect a console to your nodes being managed by Warewulf by connecting to the BMC through the use of IPMI. We will discuss how to set this up below.
#
IPMI SettingsThe common settings for the IPMI interfaces on all nodes can be set on a Profile level. The only field that would need to be assigned to each individual node would be the IP address.
If an individual node has different settings, you can set the IPMI settings for that specific node, overriding the default settings.
Here is a table outlining the fields on a Profile and Node level, along with the parameters that can be used when running wwctl profile set
or wwctl node set
.
Field | Parameter | Profile | Node | Valid Values | Default Value |
---|---|---|---|---|---|
IpmiIpaddr | --ipmi | โ | |||
IpmiNetmask | --ipminetmask | โ | โ | ||
IpmiPort | --ipmiport | โ | โ | 623 | |
IpmiGateway | --ipmigateway | โ | โ | ||
IpmiUserName | --ipmiuser | โ | โ | ||
IpmiPassword | --ipmipass | โ | โ | ||
IpmiInterface | --ipmiinterface | โ | โ | 'lan' or 'lanplus' | lan |
#
Reviewing SettingsThere are multiple ways to review the IPMI settings. They can be reviewed from a Profile level, all the way down to a specific Node.
#
Profile View#
Node View#
Review Only IPMI SettingsThe above views show you everything that is set on a Profile or Node level. That is a lot of detail. If you want to view key IPMI connecton details for a node or all nodes, you can do the following.
#
Power CommandsThe following commands can be used to manage the current power state of your nodes through IPMI.
wwctl power [command]
Command | Description |
---|---|
cycle | Turns the power off and then on |
off | Turns the power off |
on | Turns the power on |
reset | Issues a reset |
soft | Shutdown gracefully |
status | Shows current power status |
#
ConsoleIf your node is setup to use serial over lan (SOL), Warewulf can connect a console to the node.
sudo wwctl node console node0001