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.
The 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|
|IpmiInterface||--ipmiinterface||✓||✓||'lan' or 'lanplus'||lan|
There are multiple ways to review the IPMI settings. They can be reviewed from a Profile level, all the way down to a specific Node.
The 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.
The following commands can be used to manage the current power state of your nodes through IPMI.
wwctl power [command]
|cycle||Turns the power off and then on|
|off||Turns the power off|
|on||Turns the power on|
|reset||Issues a reset|
|status||Shows current power status|
If your node is setup to use serial over lan (SOL), Warewulf can connect a console to the node.
sudo wwctl node console node0001