GLYPH<SM590000> Two host name suffixes each ( eth0  with - port0ip1  and - port0ip2 ; eth1  with - port1ip1  and - port1ip2): 

nichostnamesuffixes='eth0!-port0ip1|-port0ip2,eth1!-port1ip1|-port1ip2' 

To configure the InfiniBand network interfaces of the compute nodes, complete the following steps: 

1. Set the attributes of the nics  table in the node group by running the chdef  command: 

$ chdef -t group ac922\ nictypes='ib0!InfiniBand' \ nicnetworks='ib0!net-app-ib' \ nichostnamesuffixes='ib0!-ib' \ nicips='|p9r(\d+)n(\d+)|ib0!10.10.($1+0).($2+0)|' 1 object definitions have been created or modified. 

Note:  The following definition results in the same IP: nicips='|ib0!10.10.($2+0).($3+0)|' 

2. Verify the attributes by running the lsdef  command. They are represented with per-interface subattributes (that is, <attribute>.<interface>=<values-for-the-interface> ). 

$ lsdef --nics -t group ac922 Object name: ac922 nichostnamesuffixes.ib0=-ib nicips.ib0=10.10.($1+0).($2+0) nicnetworks.ib0=net-app-ib nictypes.ib0=InfiniBand 

Note:  To view the full nicips  value, add --verbose  to the lsdef  command. 

3. Verify that the attributes that are based on regular expressions have the correct values on a particular node by running the lsdef  command: 

lsdef --nics p9r1n1 Object name: p9r 1 n 1 nichostnamesuffixes.ib0=-ib nicips.ib0=10.10. 1 . 1 nicnetworks.ib0=net-app-ib nictypes.ib0=InfiniBand 

4. Update the configuration files for the host table, DNS server, and DHCP server by running the makehosts , makedns , and makedhcp  commands: 

$ makehosts ac922 $ cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 10.1.0.1 xcat-mn.xcat-cluster xcat-mn 10.1.1.1 p9r1n1 p9r1n1.xcat-cluster 10.10.1.1 p9r1n1-ib p9r1n1-ib.xcat-cluster 

