=head1 NAME B - Creates HMC- and IVM-managed partitions. =head1 SYNOPSIS =head2 Common: I I =head2 For PPC: I I =head2 For KVM: I =head1 DESCRIPTION =head2 For PPC: The first form of mkvm command creates new partition(s) with the same profile/resources as the partition specified by I. The -i and I 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 to the destination specified by I. The source and destination CECs can be managed by different HMCs. Please make sure the nodes in the I is defined in the I table and the I is set to 'hmc' in the I table before running this command. =head2 For KVM: mkvm .... =head1 OPTIONS B<-h|--help> Display usage message. B<-c> The cec (fsp) name for the destination. B<-i> Starting numeric id of the newly created partitions. B<-l> The partition name of the source. B<-p> The file that contains the profiles for the source partitions. B<-v|--version> Command Version. B<-V|--verbose> Verbose output. =head1 RETURN VALUE 0 The command completed successfully. 1 An error has occurred. =head1 EXAMPLES 1. To create a new partition lpar5 based on the profile/resources of lpar4, enter: I then: I Output is similar to: lpar5: Success 2. To create new partitions lpar5-lpar8 based on the profile/resources of lpar4, enter: I then: I Output is similar to: lpar5: Success lpar6: Success lpar7: Success lpar8: Success 3. To duplicate all the partitions associated with cec01 on cec02, first save the lpars from cec01 to a file: I > I then create lpars on cec02: I Output is similar to: lpar5: Success lpar6: Success lpar7: Success lpar8: Success =head1 FILES /opt/xcat/bin/mkvm =head1 SEE ALSO L, L, L