2007-10-29 19:38:31 +00:00
|
|
|
README for: /usr/share/xcat/templates/e1350 directory
|
|
|
|
-----------------------------------------------------
|
2007-10-26 22:44:33 +00:00
|
|
|
|
2007-10-29 19:38:31 +00:00
|
|
|
The set of *.csv files in this directory are sample xCAT table values that
|
|
|
|
you may wish to use as templates for defining your xCAT cluster.
|
|
|
|
The data is based on defining a cluster using the address scheme given in:
|
2012-07-31 18:36:50 +00:00
|
|
|
http://download.boulder.ibm.com/ibmdl/pub/systems/support/system_x_pdf/intelligent_cluster_factory_settings_05.24.12b.pdf.
|
|
|
|
Additional information on using xCAT 2.0 can be found at
|
|
|
|
http://sourceforge.net/apps/mediawiki/xcat/index.php?title=XCAT_iDataPlex_Cluster_Quick_Start.
|
2007-10-26 22:44:33 +00:00
|
|
|
|
2007-10-29 19:38:31 +00:00
|
|
|
Check the 1350 default templates to see if they apply to your environment.
|
|
|
|
If you decide to use some of these templates, modify them, or create your own,
|
|
|
|
you can first edit the files and then load them into the database, or load the
|
|
|
|
files first and then edit the database once they are loaded.
|
2007-10-26 22:44:33 +00:00
|
|
|
|
2007-10-29 19:38:31 +00:00
|
|
|
To load a file, use the tabrestore command on each template to load the tables
|
|
|
|
in the database.
|
2007-10-26 22:44:33 +00:00
|
|
|
|
2007-10-29 19:38:31 +00:00
|
|
|
To load the database tables:
|
|
|
|
for i in *.csv; do tabrestore $i; done
|
2007-10-29 18:22:00 +00:00
|
|
|
|
2007-10-29 19:38:31 +00:00
|
|
|
To verify that a table has been correctly loaded, run "tabdump <tablename>".
|
|
|
|
For example:
|
|
|
|
tabdump nodetype
|
2007-10-29 18:22:00 +00:00
|
|
|
|
2007-10-29 19:38:31 +00:00
|
|
|
|
|
|
|
You can add nodes to the database by using the nodeadd command.
|
2012-07-31 18:36:50 +00:00
|
|
|
See the example below and details in http://sourceforge.net/apps/mediawiki/xcat/index.php?title=XCAT_iDataPlex_Cluster_Quick_Start.
|
2007-10-29 18:22:00 +00:00
|
|
|
|
|
|
|
For example, to add 2048 IPMI rackmount nodes which happen to start
|
|
|
|
at the first U of the first rack, with each rack having a 1U switch
|
2012-07-31 18:36:50 +00:00
|
|
|
and 41 servers plugged into that switch, numbered 1-41 in order,
|
|
|
|
with the nodes named node1-node2048, and members of groups named
|
|
|
|
41nodeperrack,41perswitch,ipmi,compute,all, run the following:
|
2007-10-29 18:22:00 +00:00
|
|
|
|
2012-07-31 18:36:50 +00:00
|
|
|
nodeadd node1-node2048 groups=41nodeperrack,41perswitch,ipmi,compute,all
|
2007-10-29 18:22:00 +00:00
|
|
|
|
|
|
|
After that, other tables will setup according to that scheme:
|
2007-10-26 22:44:33 +00:00
|
|
|
nodels node1235 nodepos.u nodepos.rack switch.switch switch.port ipmi.bmc hosts.ip
|
|
|
|
node1235: hosts.ip: 172.20.131.5
|
|
|
|
node1235: nodepos.u: 5
|
|
|
|
node1235: nodepos.rack: 31
|
|
|
|
node1235: switch.switch: switch31
|
|
|
|
node1235: switch.port: 5
|
|
|
|
node1235: ipmi.bmc: bmc1235
|
|
|
|
|
2007-10-29 18:22:00 +00:00
|
|
|
Note: the hosts table is only used if you use the makehosts command to setup /etc/hosts.
|
2007-10-26 22:44:33 +00:00
|
|
|
|
|
|
|
An example with blades, 56 to a rack and padding out to four digits:
|
2007-10-29 18:22:00 +00:00
|
|
|
nodeadd node0001-node2048 groups=blade,compute,all,56nodeperrack
|
2007-10-26 22:44:33 +00:00
|
|
|
|
|
|
|
|
2007-10-29 18:22:00 +00:00
|
|
|
If wanting to use makehosts for non-server equipment, nodeadd can help for that as well with these templates:
|
2007-10-26 22:44:33 +00:00
|
|
|
(Supplementing the previous rackmount example)
|
2007-10-29 18:22:00 +00:00
|
|
|
|
|
|
|
nodeadd switch1-switch50 groups=switch
|
|
|
|
nodeadd bmc1-bmc2048 groups=41bmcperrack
|
2007-10-26 22:44:33 +00:00
|
|
|
makehosts switch,41bmcperrack
|
|
|
|
|
|
|
|
(And to make hosts file entries for 147 AMMs for the 2048 blades above)
|
2007-10-29 18:22:00 +00:00
|
|
|
nodeadd amm1-amm147 groups=amm
|
2007-10-26 22:44:33 +00:00
|
|
|
makehosts amm
|
|
|
|
|