diff --git a/xCAT-client/pods/man8/nodeset.8.pod b/xCAT-client/pods/man8/nodeset.8.pod index 37727d40f..0c5584924 100644 --- a/xCAT-client/pods/man8/nodeset.8.pod +++ b/xCAT-client/pods/man8/nodeset.8.pod @@ -10,14 +10,14 @@ B [I<-h>|I<--help>|I<-v>|I<--version>] =head1 B -B sets the next cold or warm boot state for a single or range of -nodes or groups. This tells xCAT what you want to happen the next time the +B sets the next boot state for a single or range of +nodes or groups. It tells xCAT what you want to happen the next time the nodes are booted up. See L. B accomplishes this by changing the network boot files. Each xCAT node always boots from the network and downloads a boot file with instructions on what action to take next. -B will maniputale the boot configuration files of yaboot and pxelinux.0. +B will manipulate the boot configuration files of yaboot and pxelinux.0. Assume that /tftpboot is the root for tftpd (set in L). @@ -30,7 +30,7 @@ B only sets the next boot state, but does not reboot. B is called by rinstall and winstall and is also called by the installation process remotely to set the boot state back to "boot". -User can supply their own scripts to be run on the mn or on the service node (if their is hierarchy) for a node during the nodeset command. Such scripts are called B. They should be copied to /install/prescripts dirctory. A table called I is used to specify the scripts and their associated actions. The scripts to be run at the beginning of the nodeset command are stored in the 'begin' column of I table. The scripts to be run at the end of the noodeset command are stored in the 'end' column of I table. Please run 'tabdump prescripts -d' command for details. The following two environment variables will be passed to each script: NODES contains all the names of the nodes that need to run the script for and ACTION contains the current nodeset action. If I<#xCAT setting:MAX_INSTANCE=number> is specified in the script, the script will get invoked for each node in parallel, but no more than I of instances will be invoked at at a time. If it is not sepcified, the script will be invoked once for all the nodes. +A user can supply their own scripts to be run on the mn or on the service node (if a hierarchical cluster) for a node when the nodeset command is run. Such scripts are called B. They should be copied to /install/prescripts dirctory. A table called I is used to specify the scripts and their associated actions. The scripts to be run at the beginning of the nodeset command are stored in the 'begin' column of I table. The scripts to be run at the end of the nodeset command are stored in the 'end' column of I table. You can run 'tabdump prescripts -d' command for details. The following two environment variables will be passed to each script: NODES contains all the names of the nodes that need to run the script for and ACTION contains the current nodeset action. If I<#xCAT setting:MAX_INSTANCE=number> is specified in the script, the script will get invoked for each node in parallel, but no more than I of instances will be invoked at at a time. If it is not sepcified, the script will be invoked once for all the nodes. =head1 B @@ -46,14 +46,18 @@ Instruct network boot loader to be skipped, generally meaning boot to hard disk Prepare server for installing a node according to the table configuration. This will typically mean an unattended install file is created (i.e. kickstart or autoyast), install resources will be verified in tftp and the bulk transfer method (http, ftp, or nfs for example), and the boot loader configuration file will be written. +Note: this option has been deprecated and will be removed in a future release. You should change to using the osimage option instead. + =item B|B|B> -Prepare server for deploying diskless nodes. With the diskless solution, the os image will reside in the RAM of the node. +Prepare server for deploying diskless nodes. With the diskless solution, the os image will reside in the RAM of the node. +Note: this option has been deprecated and will be removed in a future release. You should change to using the osimage option instead. =item B|B|B> Prepare server for deploying statelite nodes. Statelite provides an efficient and flexible diskless solution because most of the OS image is NFS mounted read-only, but a configurable list of directories and files can be read-write. The read-write files can either be persistent across reboots, or volatile (restoring to pristine state after reboot). The configuration can be done through B, B and B tables. +Note: this option has been deprecated and will be removed in a future release. You should change to using the osimage option instead. =item B @@ -61,7 +65,11 @@ Cleanup the current pxe/tftp boot configuration files for the nodes requested =item B|B> -Prepare server for installing a node using the sepcified os image. The os image is defined in the I table and I table. If the is omitted, the os image name will be obtained from I for the node. +Prepare server for installing a node using the specified os image. The os image is defined in the I table and I table. If the is omitted, the os image name will be obtained from I for the node. + +=item B=> + +If you would like to run a task after deployment, you can define that task with this attribute. =item B @@ -107,13 +115,21 @@ root directory and the TFTP xCAT subdirectory. /tftpboot and =head1 B -B I I +=over 3 -node5: install compute62-compute +=item * -Install node5 with the compute62 image using resources from the compute -resource group. +To setup to install mycomputeimage on the compute node group. +nodeset compute osimage=mycomputeimage + +=item * + +To run http://$master/image.tgz after deployment: + +nodeset $node runimage=http://$MASTER/image.tgznodeset + +=back =head1 B B