From 19cf67376616ac92c22c0cb789f76ddd14f9cfe6 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Mon, 20 Feb 2012 01:14:31 +0000 Subject: [PATCH] Update the man page of mkvm,rmvm,lsvm for KVM and Vmware managed virtual machine git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11629 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/pods/man1/lsvm.1.pod | 8 +++++++- xCAT-client/pods/man1/mkvm.1.pod | 35 +++++++++++++++++++++++++++----- xCAT-client/pods/man1/rmvm.1.pod | 4 +++- 3 files changed, 40 insertions(+), 7 deletions(-) diff --git a/xCAT-client/pods/man1/lsvm.1.pod b/xCAT-client/pods/man1/lsvm.1.pod index 0a1ac6a28..770c20055 100644 --- a/xCAT-client/pods/man1/lsvm.1.pod +++ b/xCAT-client/pods/man1/lsvm.1.pod @@ -1,6 +1,6 @@ =head1 NAME -B - Lists partition profile information for HMC-, IVM-, and zVM-managed nodes. For Power 775, it lists the LPARs' I/O slots information and CEC configuration. +B - Lists partition profile information for HMC-, IVM-, KVM-, Vmware- and zVM-managed nodes. For Power 775, it lists the LPARs' I/O slots information and CEC configuration. =head1 SYNOPSIS @@ -47,6 +47,12 @@ The Memory Interleaving Mode has 3 valid options: More information about this part, refer to the section Using the *vm commands to define partitions in xCAT DFM in the link below. https://sourceforge.net/apps/mediawiki/xcat/index.php?title=XCAT_Power_775_Hardware_Management + +=head2 For KVM and Vmware + +The virtual machines that defined in the hypervisor I will be displayed. I only can be hypervisor. The type of the hypervisor should be set: hypervisor.type before running the lsvm. + +Note: Only the virtual machine which is in power on state can be listed by lsvm command. =head2 For zVM: diff --git a/xCAT-client/pods/man1/mkvm.1.pod b/xCAT-client/pods/man1/mkvm.1.pod index 6601c4997..dfc52e8eb 100644 --- a/xCAT-client/pods/man1/mkvm.1.pod +++ b/xCAT-client/pods/man1/mkvm.1.pod @@ -20,7 +20,11 @@ B [B<-V>| B<--verbose>] I B<--full> =head2 For KVM: -B I B<-m>|B<--master> I B<-s>|B<--size> I B<-f>|B<--force> +B I [B<-m|--master> I] [B<-s|--size> I] [B<--mem> I] [B<--cpus> I] [B<-f|--force>] + +=head2 For Vmware: + +B I [B<-s>|B<--size> I] [B<--mem> I] [B<--cpus> I] =head2 For zVM: @@ -42,10 +46,12 @@ Please make sure the nodes in the I is defined in the I tab Please note that the mkvm command currently only supports creating standard LPARs, not virtual LPARs working with VIOS server. -=head2 For KVM: +=head2 For KVM and Vmware: -mkvm .... +The mkvm command creates new virtual machine(s) with the I size of hard disk, I size of memory and I number of cpu. +For KVM: If B<-f>|B<--force> is specified, the storage will be destroyed first if it existed. + =head2 For zVM: The first form of mkvm creates a new virtual machine based on a directory entry. @@ -64,6 +70,18 @@ Display usage message. The cec (fsp) name for the destination. +=item B<--cpus> + +The cpu count which will be created for the kvm/vmware virtual machine. + +=item B<--full> + +Request to create a new full system partition for each CEC. + +=item B<-f|--force> + +If B<-f|--force> is specified, the storage will be destroyed first if it existed. + =item B<-i> Starting numeric id of the newly created partitions. @@ -72,13 +90,17 @@ Starting numeric id of the newly created partitions. The partition name of the source. +=item B<--mem> + +The memory size which will be used for the new created kvm/vmware virtual machine. Unit is Megabyte. + =item B<-p> The file that contains the profiles for the source partitions. -=item B<--full> +=item B<-s|--size> -Request to create a new full system partition for each CEC. +The size of storage which will be created for the kvm/vmware virtual machine. =item B<-v|--version> @@ -195,6 +217,9 @@ Output is similar to: gpok4: Detatching source disk (0100) at (1100) gpok4: Starting LNX3... Done +7. To create a new kvm/vmware virtual machine with 10G storage, 2048M memory and 2 cpus. + + mkvm vm1 -s 10G --mem 2048 --cpus 2 =head1 FILES diff --git a/xCAT-client/pods/man1/rmvm.1.pod b/xCAT-client/pods/man1/rmvm.1.pod index 424d486f3..4b4ede25e 100644 --- a/xCAT-client/pods/man1/rmvm.1.pod +++ b/xCAT-client/pods/man1/rmvm.1.pod @@ -1,6 +1,6 @@ =head1 NAME -B - Removes HMC-, IVM-, and zVM-managed partitions or virtual machines. +B - Removes HMC-, IVM-, KVM-, Vmware- and zVM-managed partitions or virtual machines. =head1 SYNOPSIS @@ -11,6 +11,8 @@ I I +=head2 For KVM and Vmware: + I =head1 DESCRIPTION