2008-01-08 15:20:46 +00:00
=head1 NAME
2008-08-02 16:18:07 +00:00
2011-12-09 18:21:13 +00:00
B<rmvm> - Removes HMC-, IVM-, and zVM-managed partitions or virtual machines.
2008-08-02 16:18:07 +00:00
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<rmvm [-h| --help]>
2008-02-13 14:56:24 +00:00
I<rmvm [-v| --version]>
2008-01-08 15:20:46 +00:00
2010-02-01 03:50:36 +00:00
I<rmvm [-V| --verbose] noderange [-r] [--service]>
2008-01-08 15:20:46 +00:00
2011-06-27 22:04:20 +00:00
I<rmvm [-p] [-f]>
2008-01-08 15:20:46 +00:00
=head1 DESCRIPTION
2008-02-13 14:56:24 +00:00
The rmvm command removes the partitions specified in noderange. If noderange is an CEC, all the partitions associated with that CEC will be removed. Note that removed partitions are automatically removed from the xCAT database. For IVM-managed systems, care must be taken to not remove the VIOS partition, or all the associated partitions will be removed as well.
2008-01-08 15:20:46 +00:00
=head1 OPTIONS
B<-h> Display usage message.
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
2011-06-23 13:19:20 +00:00
B<-r> Retain the data object definitions of the nodes.
2010-02-01 03:50:36 +00:00
2010-01-04 04:35:46 +00:00
B<--service> Remove the service partitions of the specified CECs.
2011-06-23 13:19:20 +00:00
B<-p> Purge the existence of the VM from persistant storage. This will erase all storage related to the VM in addition to removing it from the active virtualization configuration.
B<-f> Force remove the VM, even if the VM appears to be online. This will bring down a live VM if requested.
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 remove the partition lpar3, enter:
2008-01-08 15:20:46 +00:00
2008-08-02 16:18:07 +00:00
I<rmvm lpar3>
2008-01-08 15:20:46 +00:00
Output is similar to:
lpar3: Success
2008-02-13 14:56:24 +00:00
2. To remove all the partitions associated with CEC cec01, enter:
2008-01-08 15:20:46 +00:00
2008-02-13 14:56:24 +00:00
I<rmvm cec01>
2008-01-08 15:20:46 +00:00
Output is similar to:
lpar1: Success
lpar2: Success
lpar3: Success
2010-01-04 04:52:23 +00:00
3. To remove the service partitions of the specified CEC cec01 and cec02, enter:
2010-01-04 04:35:46 +00:00
I<rmvm cec01,cec02 --service>
Output is similar to:
cec01: Success
cec02: Success
2011-06-23 13:19:20 +00:00
4. To remove the partition lpar1, but retain its definition, enter:
2010-02-01 03:50:36 +00:00
I<rmvm lpar1 -r>
Output is similar to:
lpar1: Success
2011-12-09 18:21:13 +00:00
5. To remove a zVM virtual machine:
I<rmvm gpok4>
Output is similar to:
2011-12-09 19:59:32 +00:00
gpok4: Deleting virtual server LNX4... Done
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/rmvm
2008-08-02 16:18:07 +00:00
=head1 SEE ALSO
2008-01-08 15:20:46 +00:00
2008-08-02 16:18:07 +00:00
L<mkvm(1)|mkvm.1>, L<lsvm(1)|lsvm.1>, L<chvm(1)|chvm.1>
2008-01-08 15:20:46 +00:00
2008-02-13 14:56:24 +00:00