The first form of mkvm command creates new partition(s) with the same profile/resources as the partition specified by I<singlenode>. The -i and I<noderange> specify the starting numeric partition number and the noderange for the newly created partitions, respectively. The LHEA port numbers and the HCA index numbers will be automatically increased if they are defined in the source partition.
The second form of this command duplicates all the partitions from the source specified by I<profile> to the destination specified by I<destcec>. The source and destination CECs can be managed by different HMCs.
Please make sure the nodes in the I<noderange> is defined in the I<nodelist> table and the I<mgt> is set to 'hmc' in the I<nodehm> table before running this command.
For PPC (without HMC, using Direct FSP Management) specific:
This feature is only for P7 IH. mkvm is designed to set the Octant configure value to split the CPU and memory for partitions, and set Octant Memory interleaving value. The mkvm will only set the pending attributes value. After mkvm, the CEC needs to be rebooted manually for the pending values to be enabled. Before reboot the cec, the administrator can use mkvm to change the partition plan. If the the partition needs I/O slots, the administrator should use chvm to assign the I/O slots.
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.
B<-r> partition rule.
If all the octants configuration value are same in one CEC, it will be " -r 0-7:value" .
If the octants use the different configuration value in one cec, it will be "-r 0:value1,1:value2,...7:value7", or "-r 0:value1,1-7:value2" and so on.
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
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
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: