OpenHPC: Setup the IPMI BMC Network in OpenHPC

From Define Wiki
Revision as of 23:02, 24 August 2016 by David (talk | contribs) (Created page with "== Add the Warewulf IPMI module == <syntaxhighlight> yum install warewulf-ipmi-ohpc </syntaxhighlight> == Now add the IPMI modules to the nodes == * Assumes compute nodes have already been added...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Add the Warewulf IPMI module

yum install warewulf-ipmi-ohpc

Now 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