This section describes some of the xCAT configuration necessary
for the 32 node example cluster. If your cluster differs from this
example, you'll have to make changes. xCAT configuration files are
located in /opt/xcat/etc. You must setup these
configuration files before proceeding.
12.1 Copy the Sample Config Files to
Their Required
Location
| > mkdir
/opt/xcat/etc > cp /opt/xcat/samples/etc/*
/opt/xcat/etc
12.2 Create Your Own Custom
Configuration
| Edit /opt/xcat/etc/* to suit your
cluster. Please read the man pages 'man site.tab',
etc., to learn more about the format of these configuration files.
There is a bit more detail on some of these files in some of the
later sections. The following are examples that will work with our
example 32 node cluster...
/opt/xcat/etc/site.tab
# site.tab control most of xCAT's global settings.
# man site.tab for information on what each field means.
# this example uses 'c' as a subdomain private to the cluster and
# 10.0.0.1 as the corp DNS server (forwarder).
rsh /usr/bin/ssh
rcp /usr/bin/scp
gkhfile /opt/xcat/etc/gkh
tftpdir /tftpboot
tftpxcatroot xcat
domain c.mydomain.com
dnssearch c.mydomain.com,mydomain.com
nameservers 192.16.100.1
forwarders 10.0.0.1
nets 172.16.0.0:255.255.0.0,172.17.0.0:255.255.0.0,172.18.0.0:255.255.0.0
dnsdir /var/named
dnsallowq 172.16.0.0:255.255.0.0,172.17.0.0:255.255.0.0,172.18.0.0:255.255.0.0
domainaliasip 172.16.100.1
mxhosts c.mydomain.com,man-c.c.mydomain.com
mailhosts man-c
master man-c
homefs man-c:/home
localfs man-c:/usr/local
pbshome /var/spool/pbs
pbsprefix /usr/local/pbs
pbsserver man-c
scheduler maui
xcatprefix /opt/xcat
keyboard us
timezone US/Central
offutc -6
mapperhost NA
serialmac 0
serialbps 9600
snmpc public
snmpd 172.17.100.1
poweralerts Y
timeservers man-c
logdays 7
installdir /install
clustername Clever-cluster-name
dhcpver 2
dhcpconf /etc/dhcpd.conf
dynamicr eth0,ia32,172.30.0.1,255.255.0.0,172.30.1.1,172.30.254.254
usernodes man-c
usermaster man-c
nisdomain NA
nismaster NA
nisslaves NA
homelinks NA
chagemin 0
chagemax 60
chagewarn 10
chageinactive 0
mpcliroot /opt/xcat/lib/mpcli
/opt/xcat/etc/nodelist.tab
# nodelist.tab contains a list of nodes and defines groups that
# can be used in commands. man nodelist.tab for more information.
node01 all,rack1,compute,myri,mpn1
node02 all,rack1,compute,myri,mpn1
node03 all,rack1,compute,myri,mpn1
node04 all,rack1,compute,myri,mpn1
node05 all,rack1,compute,myri,mpn1
node06 all,rack1,compute,myri,mpn1
node07 all,rack1,compute,myri,mpn1
node08 all,rack1,compute,myri,mpn1
node09 all,rack1,compute,myri,mpn2
node10 all,rack1,compute,myri,mpn2
node11 all,rack1,compute,myri,mpn2
node12 all,rack1,compute,myri,mpn2
node13 all,rack1,compute,myri,mpn2
node14 all,rack1,compute,myri,mpn2
node15 all,rack1,compute,myri,mpn2
node16 all,rack1,compute,myri,mpn2
node17 all,rack1,compute,myri,mpn3
node18 all,rack1,compute,myri,mpn3
node19 all,rack1,compute,myri,mpn3
node20 all,rack1,compute,myri,mpn3
node21 all,rack1,compute,myri,mpn3
node22 all,rack1,compute,myri,mpn3
node23 all,rack1,compute,myri,mpn3
node24 all,rack1,compute,myri,mpn3
node25 all,rack1,compute,myri,mpn4
node26 all,rack1,compute,myri,mpn4
node27 all,rack1,compute,myri,mpn4
node28 all,rack1,compute,myri,mpn4
node29 all,rack1,compute,myri,mpn4
node30 all,rack1,compute,myri,mpn4
node31 all,rack1,compute,myri,mpn4
node32 all,rack1,compute,myri,mpn4
rsa01 nan,mpa
rsa02 nan,mpa
rsa03 nan,mpa
rsa04 nan,mpa
ts01 nan,ts
ts02 nan,ts
myri01 nan
/opt/xcat/etc/mpa.tab
#service processor adapter management
#
#type = asma,rsa
#name = internal name (must be unique)
# internal name should = node name
# if rsa/asma is primary management
# processor
#number = internal number (must be unique and > 10000)
#command = telnet,mpcli
#reset = http(ASMA only),mpcli,NA
#dhcp = Y/N(RSA only)
#gateway = default gateway or NA (for DHCP assigned)
#
rsa01 rsa,rsa01,10001,mpcli,mpcli,NA,N,NA
rsa02 rsa,rsa02,10002,mpcli,mpcli,NA,N,NA
rsa03 rsa,rsa03,10003,mpcli,mpcli,NA,N,NA
rsa04 rsa,rsa04,10004,mpcli,mpcli,NA,N,NA
/opt/xcat/etc/mp.tab
# mp.tab defines how the Service processor network is setup.
# node07 is accessed via the name 'node07' on the RSA 'rsa01', etc.
# man asma.tab for more information until the man page to mp.tab is ready
node01 rsa01,node01
node02 rsa01,node02
node03 rsa01,node03
node04 rsa01,node04
node05 rsa01,node05
node06 rsa01,node06
node07 rsa01,node07
node08 rsa01,node08
node09 rsa02,node09
node10 rsa02,node10
node11 rsa02,node11
node12 rsa02,node12
node13 rsa02,node13
node14 rsa02,node14
node15 rsa02,node15
node16 rsa02,node16
node17 rsa03,node17
node18 rsa03,node18
node19 rsa03,node19
node20 rsa03,node20
node21 rsa03,node21
node22 rsa03,node22
node23 rsa03,node23
node24 rsa03,node24
node25 rsa04,node25
node26 rsa04,node26
node27 rsa04,node27
node28 rsa04,node28
node29 rsa04,node29
node30 rsa04,node30
node31 rsa04,node31
node32 rsa04,node32
/opt/xcat/etc/apc.tab
# apc.tab defines the relationship between nodes and APC
# MasterSwitches and their assigned outlets. In our example,
# the power for asma1 is plugged into the 1st outlet the the
# APC MasterSwitch, etc.
rsa01 apc1,1
rsa02 apc1,2
rsa03 apc1,3
rsa04 apc1,4
ts01 apc1,5
ts02 apc1,6
myri01 apc1,7
/opt/xcat/etc/conserver.cf
# conserver.cf defines how serial consoles are accessed. Our example
# uses the ELS terminal servers and node01 is connected to port 1
# on ts01, node02 is connected to port 2 on ts01, node17 is connected to
# port 1 on ts02, etc.
# man conserver.cf for more information
#
# The character '&' in logfile names are substituted with the console
# name. Any logfile name that doesn't begin with a '/' has LOGDIR
# prepended to it. So, most consoles will just have a '&' as the logfile
# name which causes /var/consoles/ to be used.
#
LOGDIR=/var/log/consoles
#
# list of consoles we serve
# name : tty[@host] : baud[parity] : logfile : mark-interval[m|h|d]
# name : !host : port : logfile : mark-interval[m|h|d]
# name : |command : : logfile : mark-interval[m|h|d]
#
node01:!ts01:3001:&:
node02:!ts01:3002:&:
node03:!ts01:3003:&:
node04:!ts01:3004:&:
node05:!ts01:3005:&:
node06:!ts01:3006:&:
node07:!ts01:3007:&:
node08:!ts01:3008:&:
node09:!ts01:3009:&:
node10:!ts01:3010:&:
node11:!ts01:3011:&:
node12:!ts01:3012:&:
node13:!ts01:3013:&:
node14:!ts01:3014:&:
node15:!ts01:3015:&:
node16:!ts01:3016:&:
node17:!ts02:3001:&:
node18:!ts02:3002:&:
node19:!ts02:3003:&:
node20:!ts02:3004:&:
node21:!ts02:3005:&:
node22:!ts02:3006:&:
node23:!ts02:3007:&:
node24:!ts02:3008:&:
node25:!ts02:3009:&:
node26:!ts02:3010:&:
node27:!ts02:3011:&:
node28:!ts02:3012:&:
node29:!ts02:3013:&:
node30:!ts02:3014:&:
node31:!ts02:3015:&:
node32:!ts02:3016:&:
%%
#
# list of clients we allow
# {trusted|allowed|rejected} : machines
#
trusted: 127.0.0.1
/opt/xcat/etc/conserver.tab
# conserver.tab defines the relationship between nodes and
# conserver servers. Our example uses only one conserver on
# the localhost. man conserver.tab for more information.
node01 localhost,node01
node02 localhost,node02
node03 localhost,node03
node04 localhost,node04
node05 localhost,node05
node06 localhost,node06
node07 localhost,node07
node08 localhost,node08
node09 localhost,node09
node10 localhost,node10
node11 localhost,node11
node12 localhost,node12
node13 localhost,node13
node14 localhost,node14
node15 localhost,node15
node16 localhost,node16
node17 localhost,node17
node18 localhost,node18
node19 localhost,node19
node20 localhost,node20
node21 localhost,node21
node22 localhost,node22
node23 localhost,node23
node24 localhost,node24
node25 localhost,node25
node26 localhost,node26
node27 localhost,node27
node28 localhost,node28
node29 localhost,node29
node30 localhost,node30
node31 localhost,node31
node32 localhost,node32
/opt/xcat/etc/nodehm.tab
#
#node hardware management
#
#power = mp,baytech,emp,apc,apcp,NA
#reset = mp,apc,apcp,NA
#cad = mp,NA
#vitals = mp,NA
#inv = mp,NA
#cons = conserver,tty,rtel,NA
#bioscons = rcons,mp,NA
#eventlogs = mp,NA
#getmacs = rcons,cisco3500
#netboot = pxe,eb,ks62,elilo,file:,NA
#eth0 = eepro100,pcnet32,e100,bcm5700
#gcons = vnc,NA
#serialbios = Y,N,NA
#
#node power,reset,cad,vitals,inv,cons,bioscons,eventlogs,getmacs,netboot,eth0,gcons,serialbios
#
node01 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node02 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node03 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node04 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node05 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node06 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node07 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node08 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node09 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node10 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node11 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node12 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node13 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node14 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node15 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node16 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node17 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node18 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node19 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node20 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node21 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node22 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node23 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node24 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node25 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node26 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node27 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node28 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node29 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node30 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node31 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
node32 mp,mp,mp,mp,mp,conserver,rcons,mp,rcons,pxe,eepro100,vnc,N
rsa01 apc,apc,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,N
rsa02 apc,apc,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,N
rsa03 apc,apc,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,N
rsa04 apc,apc,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,N
ts01 apc,apc,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,N
ts02 apc,apc,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,N
myri01 apc,apc,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,N
/opt/xcat/etc/noderes.tab
#
#TFTP = Where is my TFTP server?
# Used by makedhcp to setup /etc/dhcpd.conf
# Used by mkks to setup update flag location
#NFS_INSTALL = Where do I get my files?
#INSTALL_DIR = From what directory?
#SERIAL = Serial console port (0, 1, or NA)
#USENIS = Use NIS to authencate (Y or N)
#INSTALL_ROLL = Am I also an installation server? (Y or N)
#ACCT = Turn on BSD accounting
#GM = Load GM module (Y or N)
#PBS = Enable PBS (Y or N)
#ACCESS = access.conf support
#GPFS = Install GPFS
#INSTALL NIC = eth0, eth1, ... or NA
#
#node/group TFTP,NFS_INSTALL,INSTALL_DIR,SERIAL,USENIS,INSTALL_ROLL,ACCT,GM,PBS,ACCESS,GPFS,INSTALL_NIC
#
compute man-c,man-c,/install,0,N,N,N,Y,Y,Y,N,eth0
nan man-c,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
/opt/xcat/etc/nodetype.tab
# nodetype.tab maps nodes to types of installs.
# Our example uses only one type, but you might have a few
# different types.. a subset of nodes with GigE, storage nodes,
# etc. man nodetype.tab for more information.
########### !!!!!!!!!!!! this file can not contain comments !!!!
########### !!!!!!!!!!!! this file can not contain comments !!!!
########### !!!!!!!!!!!! this file can not contain comments !!!!
node01 compute73
node02 compute73
node03 compute73
node04 compute73
node05 compute73
node06 compute73
node07 compute73
node08 compute73
node09 compute73
node10 compute73
node11 compute73
node12 compute73
node13 compute73
node14 compute73
node15 compute73
node16 compute73
node17 compute73
node18 compute73
node19 compute73
node20 compute73
node21 compute73
node22 compute73
node23 compute73
node24 compute73
node25 compute73
node26 compute73
node27 compute73
node28 compute73
node29 compute73
node30 compute73
node31 compute73
node32 compute73
/opt/xcat/etc/passwd.tab
# passwd.tab defines some passwords that will be used in the cluster
# man passwd.tab for more information.
cisco cisco
rootpw netfinity
asmauser USERID
asmapass PASSW0RD
|