add the over/item/back to format options; correct the output format of the mkvm examples

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9162 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2011-03-28 02:26:47 +00:00
parent b45d1f856e
commit cf9dcf0b4b

View File

@ -50,16 +50,17 @@ mkvm ....
=head1 OPTIONS
=over 10
B<-h|--help> Display usage message.
=item B<-h|--help> Display usage message.
B<-c> The cec (fsp) name for the destination.
=item B<-c> The cec (fsp) name for the destination.
B<-i> Starting numeric id of the newly created partitions. For P7 IH using Direct FSP Management, the id value only could be 1, 5, 9, 13, 17, 21, 25 and 29.
=item B<-i> Starting numeric id of the newly created partitions. For P7 IH using Direct FSP Management, the id value only could be 1, 5, 9, 13, 17, 21, 25 and 29.
B<-m> memory interleaving. The value only could be interleaved or non-interleaved. non-interleaved mode means the memory cannot be shared across the processors in an octant. interleaved means the memory can be shared.
=item B<-m> memory interleaving. The value only could be interleaved or non-interleaved. non-interleaved mode means the memory cannot be shared across the processors in an octant. interleaved means the memory can be shared.
B<-r> partition rule.
=item B<-r> partition rule.
If all the octants configuration value are same in one CEC, it will be " -r 0-7:value" .
@ -67,26 +68,23 @@ If the octants use the different configuration value in one cec, it will be "-r
The octants configuration value for one Octant could be 1, 2, 3, 4, 5 . The meanings of the octants configuration value are as following:
1 - 1 partition with all cpus and memory of the octant
1 - 1 partition with all cpus and memory of the octant
2 - 2 partitions with a 50/50 split of cpus and memory
3 - 3 partitions with a 25/25/50 split of cpus and memory
4 - 4 partitions with a 25/25/25/25 split of cpus and memory
5 - 2 partitions with a 25/75 split of cpus and memory
2 - 2 partitions with a 50/50 split of cpus and memory
=item B<-l> The partition name of the source.
3 - 3 partitions with a 25/25/50 split of cpus and memory
=item B<-p> The file that contains the profiles for the source partitions.
4 - 4 partitions with a 25/25/25/25 split of cpus and memory
=item B<--full> Request to create a new full system partition for each CEC.
5 - 2 partitions with a 25/75 split of cpus and memory
=item B<-v|--version> Command Version.
B<-l> The partition name of the source.
B<-p> The file that contains the profiles for the source partitions.
B<--full> Request to create a new full system partition for each CEC.
B<-v|--version> Command Version.
B<-V|--verbose> Verbose output.
=item B<-V|--verbose> Verbose output.
=back
=head1 RETURN VALUE
@ -167,74 +165,57 @@ lpar6: Success
5. For P7 IH, to create a new partition lpar1 on the first octant of the cec, lpar1 will use all the cpu and memory of the octant 0, enter:
I<mkdef -t node -o lpar1 mgt=fsp groups=all parent=cec01 nodetype=lpar hcp=cec01>
mkdef -t node -o lpar1 mgt=fsp groups=all parent=cec01 nodetype=lpar hcp=cec01
then:
I<mkvm lpar1 -i 1 -m non-interleaved -r 0:1>
mkvm lpar1 -i 1 -m non-interleaved -r 0:1
Output is similar to:
par1: Success
cec1: Please reboot the CEC cec1 firstly, and then use chvm to assign the I/O slots to the LPARs
par1: Success
cec1: Please reboot the CEC cec1 firstly, and then use chvm to assign the I/O slots to the LPARs
6. For P7 Ih, to create new partitions lpar1-lpar8 on the whole cec, each LPAR will use all the cpu and memory of each octant, enter:
I<mkdef -t node -o lpar1-lpar8 nodetype=lpar mgt=fsp groups=all parent=cec01 hcp=cec01>
mkdef -t node -o lpar1-lpar8 nodetype=lpar mgt=fsp groups=all parent=cec01 hcp=cec01
then:
I<mkvm lpar1-lpar8 -i 1 -m non-interleaved -r 0-7:1>
mkvm lpar1-lpar8 -i 1 -m non-interleaved -r 0-7:1
Output is similar to:
lpar1: Success
lpar2: Success
lpar3: Success
lpar4: Success
lpar5: Success
lpar6: Success
lpar7: Success
lpar8: Success
cec1: Please reboot the CEC cec1 firstly, and then use chvm to assign the I/O slots to the LPARs
lpar1: Success
lpar2: Success
lpar3: Success
lpar4: Success
lpar5: Success
lpar6: Success
lpar7: Success
lpar8: Success
cec1: Please reboot the CEC cec1 firstly, and then use chvm to assign the I/O slots to the LPARs
7. For P7 IH, to create new partitions lpar1-lpar9, the lpar1 will use 25% CPU and 25% memory of the first octant, and lpar2 will use the left CPU and memory of the first octant. lpar3-lpar9 will use all the cpu and memory of each octant, enter:
I<mkdef -t node -o lpar1-lpar9 mgt=fsp groups=all parent=cec1 nodetype=lpar hcp=cec1>
mkdef -t node -o lpar1-lpar9 mgt=fsp groups=all parent=cec1 nodetype=lpar hcp=cec1
then:
I<mkvm lpar1-lpar9 -i 1 -m non-interleaved -r 0:5,1-7:1>
mkvm lpar1-lpar9 -i 1 -m non-interleaved -r 0:5,1-7:1
Output is similar to:
lpar1: Success
lpar2: Success
lpar3: Success
lpar4: Success
lpar5: Success
lpar6: Success
lpar7: Success
lpar8: Success
lpar9: Success
cec1: Please reboot the CEC cec1 firstly, and then use chvm to assign the I/O slots to the LPARs
lpar1: Success
lpar2: Success
lpar3: Success
lpar4: Success
lpar5: Success
lpar6: Success
lpar7: Success
lpar8: Success
lpar9: Success
cec1: Please reboot the CEC cec1 firstly, and then use chvm to assign the I/O slots to the LPARs
=head1 FILES