=head1 NAME B - Use this xCAT command to create xCAT osimage definitions and related AIX/NIM resources. The command can also be used to update an existing AIX diskless image(SPOT). =head1 SYNOPSIS B B B =head1 DESCRIPTION This command will create both an xCAT osimage definition and the corresponding NIM resource definitions. The command can also be used to update an existing AIX diskless image(SPOT). The command will also install the NIM master software and configure NIM if needed. The naming convention for the NIM SPOT resource definition is to use the same name as the xCAT osimage. The naming convention for any other NIM resources that are created is "_". (ex. "61image_lpp_source" ) When creating a mksysb image definition you must specify either the "-n" or the "-b" option. The "-n" option can be used to create a mksysb image from an existing NIM client machine. The "-b" option can be used to specify an existing mksysb backup file. When creating a diskless osimage definition you also have the option of automatically updating the NIM SPOT resource. You can have additional software installed or you can have configuration files added or updated. To have software installed you must provide either the names of NIM installp_bundle resources or fileset names on the command line using the "attr=val" option. You may also supply the installp flags to use when installing the software. To have configuration files updated you must provide the full path name of a "synclists" file which contains the the list of actual files to update. The xCAT osimage definition that is created will contain the installp_bundle, otherpkgs, and synclists files that are provided on the command line. If you wish to update an existing diskless image after it has already been created you can use the "-u" (update) option. In this case the xCAT osimage definition will not be updated. There are two ways to use the update feature. You can update the osimage definition and run the B command with no "installp_bundle", "otherpkgs", or "synclists" command line values. The information for updating the SPOT will come from the osimage definition only. This has the advantage of keeping a record of any changes that were made to the SPOT. Or, you could do a more ad hoc update by providing one or more of the "installp_bundle", "otherpkgs", or "synclists" values on the command line. If any of these values are provided the B command will use those values only. The osimage definition will not be used or updated. To change the xCAT osimage definition you can use the xCAT B command. To list the contents of the xCAT osimage definition use the xCAT B command ("lsdef -t osimage -l -o "). To remove an xCAT osimage definition along with the associated NIM resource definitions use the rmnimimage command. Be careful not to accidently remove NIM resources if they are still needed. To list a NIM resource definition use the AIX B command ("lsnim -l "). To remove specific NIM resource definitons use the AIX nim command. =head1 OPTIONS =over 10 =item B Specifies one or more "attribute equals value" pairs, separated by spaces. Attr=val pairs must be specified last on the command line. Currently supported attributes: =over 3 =item B The name of a NIM bosinst_data resource. =item B The name of the NIM dump resource. =item B The name of a NIM fb_script resource. =item B The name of the NIM home resource. =item B One or more comma separated NIM installp_bundle resources. =item B The name of the NIM lpp_source resource. =item B The name of a NIM mksysb resource. =item B One or more comma separated installp or rpm packages. The rpm packages must have a prefix of 'R:', (ex. R:foo.rpm) =item B The name of the NIM paging resource. =item B The name of the NIM resolv_conf resource. =item B The name of the NIM root resource. =item B