add dynamic node group example in mkdef and chdef manpage

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3505 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2009-06-03 09:04:05 +00:00
parent 1cc1a6ba9a
commit e9b12557ed
2 changed files with 18 additions and 0 deletions

View File

@ -118,6 +118,12 @@ To update a set of definitions based on information contained in the stanza file
cat mystanzafile | chdef -z
=item 8.
To update a dynamic node group definition to add the cons=hmc wherevals pair.
chdef -t group -o dyngrp -d -p -w "cons=hmc"
=back

View File

@ -118,6 +118,18 @@ To create node definitions for a set of node host names contained in the node ra
mkdef -t node node1,node2,node3 power=hmc groups="all,aix"
=item 8.
To create a dynamic node group definition called HMCMgtNodes containing all the HMC managed nodes"
mkdef -t group -o HMCMgtNodes -d -w "mgt=hmc,cons=hmc"
=item 9.
To create a dynamic node group definition called SLESNodes containing all the SLES nodes
mkdef -t group -o SLESNodes -d -w "os=|^sles[0-9]+$|"
=back