Building the ACM Cluster, Part 6: Network Configuration
Published on in ACM, ACM Cluster
In part 5 of this series, I covered the generic xCat setup and we told it how the network was set up. We’ve done little bits of network setup before (like setting our switches up for SNMP read access in the public community). Now we’re going to do quite a bit more.
Telling xCat where Nodes Are
xCat has this wonderful ability to know what a newly plugged in machine is, based on where it is on a switch. In my case, I have the first management node on eth-switch1’s 1st port, second management on the second port. I then have the fiber switch’s management interface on the 3rd port, and nodes are ports 4-20. The following set of commands encapsulates this, though you’ll note that I’ve intentionally not made any entries for the management nodes - no point in confusing xCat by doing so.
# nodech myricom-switch switch.switch=eth-switch1 switch.port=3
# nodech compute switch.switch=eth-switch1 switch.port='|\D+(\d+)$|($1+3)|'
Notice that …