... | ... | @@ -9,13 +9,13 @@ PASSWORD="" # not shown here for security purposes |
|
|
|
|
|
Get a serial console. This console is only useful during boot time and can access the boot configuration menu and the bios. Also you can see if the PXE boot process works.
|
|
|
|
|
|
```
|
|
|
```bash
|
|
|
ipmitool -I lanplus -H $IPMI_IP -U ADMIN -P $PASSWORD sol activate
|
|
|
```
|
|
|
|
|
|
You can check a node's power status and change it. Useful if you need to reboot a node if you locked yourself out of ssh with a bad iptables configuration.
|
|
|
|
|
|
```
|
|
|
```bash
|
|
|
ipmitool -I lanplus -H $IPMI_IP -U ADMIN -P $PASSWORD chassis power status
|
|
|
ipmitool -I lanplus -H $IPMI_IP -U ADMIN -P $PASSWORD chassis power off
|
|
|
ipmitool -I lanplus -H $IPMI_IP -U ADMIN -P $PASSWORD chassis power on
|
... | ... | @@ -23,14 +23,14 @@ ipmitool -I lanplus -H $IPMI_IP -U ADMIN -P $PASSWORD chassis power on |
|
|
|
|
|
You can change the boot device if you want to switch from PXE boot to disk and vice versa.
|
|
|
|
|
|
```
|
|
|
```bash
|
|
|
ipmitool -I lanplus -H $IPMI_IP -U ADMIN -P $PASSWORD chassis bootdev pxe
|
|
|
ipmitool -I lanplus -H $IPMI_IP -U ADMIN -P $PASSWORD chassis bootdev disk
|
|
|
```
|
|
|
|
|
|
You can list additional IPMI commands and possible parameters if you provide insufficient parameters for the tool.
|
|
|
|
|
|
```
|
|
|
```bash
|
|
|
ipmitool -I lanplus -H $IPMI_IP -U ADMIN -P $PASSWORD
|
|
|
ipmitool -I lanplus -H $IPMI_IP -U ADMIN -P $PASSWORD chassis
|
|
|
ipmitool -I lanplus -H $IPMI_IP -U ADMIN -P $PASSWORD chassis bootdev
|
... | ... | |