NAME

xcatstanzafile - Format of a stanza file that can be used with xCAT data object definition commands.


DESCRIPTION

A stanza file contains information that can be used to create xCAT data object definitions. A stanza file can be used as input to several xCAT commands. The stanza file contains one or more individual stanzas that provide information for individual object definitions. The following rules must be followed when creating a stanza file:

The format of a stanza file should look similar to the following.

 default-<object type>:
    attr=val
    attr=val
    . . .
 <object name>:
    objtype=<object type>
    attr=val
    attr=val
    . . .
 <object name>:
    objtype=<object type>
    attr=val
    attr=val
    . . .


EXAMPLES

  1. )

    Sample stanza file:

     mysite:
        objtype=site
        rsh=/bin/rsh
        rcp=/bin/rcp
        installdir=/xcatinstall
        domain=ppd.pok.ibm.com
     MSnet01:
        objtype=network
        gateway=1.2.3.4
        netmask=255.255.255.0
        nameserver=5.6.7.8
     default-node:
        next_osimage=aix61
        network=MSnet01
        groups=all,compute
     node01:
        objtype=node
        MAC=A2E26002C003
        xcatmaster=MS02.ppd.pok.com
        nfsserver=IS227.ppd.pok.com
     node02:
        objtype=node
        MAC=A2E26002B004
        xcatmaster=MS01.ppd.pok.com
        nfsserver=IS127.ppd.pok.com
     grp01:
        objtype=group
        members=node1,node2,node3


NOTES

This file is part of xCAT software product.


SEE ALSO

mkdef(1), lsdef(1), rmdef(1), chdef(1)