OpenHPC: Setup the IPMI BMC Network in OpenHPC
Jump to navigation
Jump to search
Add the Warewulf IPMI module
yum install warewulf-ipmi-ohpcNow add the IPMI modules to the nodes
- Assumes compute nodes have already been added
# Example
wwsh -y ipmi set ${c_name} --autoconfig=1 \
--ipaddr=${c_bmc[$i]} \
--netmask=${bmc_netmask} \
--username="${bmc_username}" \
--password="${bmc_password}"
# In practice / quick script. there will be better ways
#!/bin/bash
for ((i=2; i<10; i++))
do
echo "wwsh -y ipmi set node00${i} --autoconfig=1 --ipaddr=10.10.10.10${i} --netmask=255.255.255.0 --username=ADMIN --password=ADMIN"
done
for ((i=10; i<=52; i++))
do
echo "wwsh -y ipmi set node0${i} --autoconfig=1 --ipaddr=10.10.10.1${i} --netmask=255.255.255.0 --username=ADMIN --password=ADMIN"
done