2008-01-08 15:20:46 +00:00
=head1 NAME
B<mkvm> - Creates HMC- and IVM-managed partitions.
=head1 SYNOPSIS
I<mkvm [-h| --help]>
2008-02-13 14:42:18 +00:00
I<mkvm [-v| --version]>
2008-01-08 15:20:46 +00:00
2008-04-30 19:31:55 +00:00
I<mkvm [-V| --verbose] singlenode -i id -n noderange>
2008-01-08 15:20:46 +00:00
2008-04-30 19:31:55 +00:00
I<mkvm [-V| --verbose] srccec -c destcec>
2008-01-08 15:20:46 +00:00
=head1 DESCRIPTION
2008-04-30 19:31:55 +00:00
The mkvm command creates new partition(s) with the same profile/resources as the partition specified by singlenode. The -i and -n flags specify the starting numeric partition number and the noderange for the newly created partitions, respectively. The second form of this command duplicates all the partitions associated with srccec to destcec. Note that srcdest and destcec must be associated with the same HMC. Newly created partitions are automatically added to the xCAT database.
2008-01-08 15:20:46 +00:00
=head1 OPTIONS
B<-h> Display usage message.
2008-04-30 19:31:55 +00:00
B<-c> Copy partitions from srccec to destcec on single HMC.
2008-01-08 15:20:46 +00:00
2008-04-30 19:31:55 +00:00
B<-i> Starting numeric id of the newly created partitions.
2008-01-08 15:20:46 +00:00
2008-04-30 19:31:55 +00:00
B<-n> New partition name.
2008-01-08 15:20:46 +00:00
B<-v> Command Version.
B<-V> 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<mkvm lpar4 -i 5 -n lpar5>
Output is similar to:
lpar5: Success
2008-04-30 19:31:55 +00:00
2. To create new partitions lpar5-lpar8 based on the profile/resources of lpar4, enter:
2008-01-08 15:20:46 +00:00
2008-04-30 19:31:55 +00:00
I<mkvm lpar4 -i 5 -n lpar5-lpar8>
Output is similar to:
lpar5: Success
lpar6: Success
lpar7: Success
lpar8: Success
3. To duplicate all the partitions associated with cec01 on cec02, enter:
2008-01-08 15:20:46 +00:00
2008-02-13 14:42:18 +00:00
I<mkvm cec01 -c cec02>
2008-01-08 15:20:46 +00:00
Output is similar to:
2008-02-13 14:42:18 +00:00
cec01: Success
2008-01-08 15:20:46 +00:00
=head1 FILES
/opt/xcat/bin/mkvm
=head1 NOTES
This command is part of the xCAT software product.
2008-02-13 14:42:18 +00:00
2008-04-30 19:31:55 +00:00