2008-01-08 15:20:46 +00:00
=head1 NAME
2008-08-02 16:18:07 +00:00
B<chvm> - Changes HMC- and IVM-managed partition profiles.
2008-01-08 15:20:46 +00:00
=head1 SYNOPSIS
2008-08-02 16:18:07 +00:00
2008-01-08 15:20:46 +00:00
I<chvm [-h| --help]>
2008-02-12 12:47:19 +00:00
I<chvm [-v| --version]>
2008-01-08 15:20:46 +00:00
2008-06-20 13:38:46 +00:00
I<chvm [-V| --verbose] noderange [-p profile]>
2008-01-08 15:20:46 +00:00
2009-04-16 10:09:49 +00:00
I<chvm [-V| --verbose] noderange attr=val [attr=val...]>
2008-01-08 15:20:46 +00:00
=head1 DESCRIPTION
2009-04-16 10:09:49 +00:00
The chvm command modifies the partition profile for the partitions specified in noderange. A partitions current profile can be read using lsvm, modified, and piped into the chvm command, or changed with the -p flag.
2009-04-16 10:20:04 +00:00
2009-04-16 10:09:49 +00:00
This command also supports to change specific partition attributes by specifying one or more "attribute equals value" pairs in command line directly, without whole partition profile.
2008-01-08 15:20:46 +00:00
=head1 OPTIONS
B<-h> Display usage message.
2008-06-20 13:38:46 +00:00
B<-p profile> Name of an existing partition profile.
2009-04-16 10:09:49 +00:00
B<attr=val> Specifies one or more "attribute equals value" pairs, separated by spaces.
2008-08-02 16:18:07 +00:00
B<-v> Command Version.
2008-01-08 15:20:46 +00:00
2008-08-02 16:18:07 +00:00
B<-V> Verbose output.
2008-01-08 15:20:46 +00:00
=head1 RETURN VALUE
0 The command completed successfully.
1 An error has occurred.
=head1 EXAMPLES
2008-08-02 16:18:07 +00:00
1. To change the partition profile for lpar4 using the configuration data in the file /tmp/lparfile, enter:
2008-01-08 15:20:46 +00:00
2008-08-02 16:18:07 +00:00
I<cat /tmp/lparfile | chvm lpar4>
2008-01-08 15:20:46 +00:00
Output is similar to:
lpar4: Success
2008-08-02 16:18:07 +00:00
2. To change the partition profile for lpar4 to the existing profile 'prof1', enter:
2008-06-20 13:38:46 +00:00
2008-08-02 16:18:07 +00:00
I<chvm lpar4 -p prof1>
2008-06-20 13:38:46 +00:00
Output is similar to:
lpar4: Success
2009-04-16 10:09:49 +00:00
3. To change partition attributes for lpar4 by specifying attribute value pairs in command line, enter:
2009-04-16 10:20:04 +00:00
2009-04-16 10:09:49 +00:00
I<chvm lpar4 max_mem=4096>
Output is similar to:
lpar4: Success
2008-01-08 15:20:46 +00:00
=head1 FILES
2008-08-02 16:18:07 +00:00
2008-01-08 15:20:46 +00:00
/opt/xcat/bin/chvm
2008-08-02 16:18:07 +00:00
=head1 SEE ALSO
L<mkvm(1)|mkvm.1>, L<lsvm(1)|lsvm.1>, L<rmvm(1)|rmvm.1>
2008-01-08 15:20:46 +00:00
2008-02-12 12:47:19 +00:00