mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-17 03:40:39 +00:00
Updated rst files for chvm, lsvm, mkvm.
This commit is contained in:
@ -11,7 +11,7 @@ NAME
|
||||
****
|
||||
|
||||
|
||||
\ **chvm**\ - Changes HMC-, DFM-, IVM-, and zVM-managed partition profiles or virtual machines. For Power 775, chvm could be used to change the octant configuration values for generating LPARs; change the I/O slots assignment to LPARs within the same CEC.
|
||||
\ **chvm**\ - Changes HMC-, DFM-, IVM-, KVM-, VMware-, and zVM-managed partition profiles or virtual machine attributes. For Power 775, chvm could be used to change the octant configuration values for generating LPARs; change the I/O slots assignment to LPARs within the same CEC.
|
||||
|
||||
|
||||
********
|
||||
@ -324,7 +324,7 @@ VMware/KVM specific:
|
||||
|
||||
\ **-**\ **-mem**\ \ *memory*\
|
||||
|
||||
Set the memory, defaults to MB.
|
||||
Set the memory size for kvm/vmware virtual machines, default unit is MB. Specify in MB or append K for KB, M for MB, or G for GB.
|
||||
|
||||
|
||||
|
||||
@ -527,7 +527,7 @@ zVM specific:
|
||||
|
||||
\ **-**\ **-removeloaddev**\ \ *wwpn*\ \ *lun*\
|
||||
|
||||
Removes the LOADDEV statement from a virtual machines's directory entry.
|
||||
Removes the LOADDEV statement from a virtual machine's directory entry.
|
||||
|
||||
|
||||
|
||||
@ -749,7 +749,7 @@ then run the command:
|
||||
cat /tmp/lparfile | chvm lpar4 --p775
|
||||
|
||||
|
||||
5. To change the I/O slot profile for lpar1-lpar8 using the configuration data in the file /tmp/lparfile. Users can use the output of lsvm.and remove the cec information, and modify the lpar id before each I/O, and run the command as following:
|
||||
5. To change the I/O slot profile for lpar1-lpar8 using the configuration data in the file /tmp/lparfile. Users can use the output of lsvm, remove the cec information, modify the lpar id before each I/O, and run the command as following:
|
||||
|
||||
|
||||
.. code-block:: perl
|
||||
@ -848,7 +848,7 @@ VMware/KVM specific:
|
||||
|
||||
.. code-block:: perl
|
||||
|
||||
chvm vm1 -a 8,16 --mem 512 --cpus 2
|
||||
chvm vm1 -a 8,16 --mem 4096 --cpus 2
|
||||
|
||||
|
||||
Output is similar to:
|
||||
|
@ -11,7 +11,7 @@ NAME
|
||||
****
|
||||
|
||||
|
||||
\ **lsvm**\ - Lists partition profile information for HMC-, DFM-, IVM-, KVM-, VMware- and zVM-managed nodes. For Power 775, it lists the LPARs' I/O slots information and CEC configuration.
|
||||
\ **lsvm**\ - Lists information about HMC-, DFM-, IVM-, KVM-, VMware-, and zVM-managed partitions or virtual machines. For Power 775, it lists the LPARs' I/O slots information and CEC configuration.
|
||||
|
||||
|
||||
********
|
||||
@ -56,7 +56,7 @@ DESCRIPTION
|
||||
***********
|
||||
|
||||
|
||||
The \ **lsvm**\ command lists all partition profiles defined for the partitions specified in \ *noderange*\ . If \ *noderange*\ is a CEC, all the partitions associated with that CEC are displayed.
|
||||
The \ **lsvm**\ command lists all profiles defined for the partitions or virtual machines specified in \ *noderange*\ . If \ *noderange*\ is a CEC, all the partitions associated with that CEC are displayed.
|
||||
|
||||
For PPC (using Direct FSP Management):
|
||||
======================================
|
||||
|
@ -11,7 +11,7 @@ NAME
|
||||
****
|
||||
|
||||
|
||||
\ **mkvm**\ - Creates HMC-, DFM-, IVM-, and zVM-managed partitions or other virtual machines.
|
||||
\ **mkvm**\ - Creates HMC-, DFM-, IVM-, KVM-, VMware-, and zVM-managed partitions or virtual machines.
|
||||
|
||||
|
||||
********
|
||||
@ -96,14 +96,14 @@ For PPC (using Direct FSP Management) specific:
|
||||
|
||||
With option \ *full*\ , a partition using all the resources on a normal power machine will be created.
|
||||
|
||||
If no option is specified, a partition using the parameters specified with attributes such as 'vmcpus', 'vmmory', 'vmphyslots', 'vmothersetting', 'vmnics', 'vmstorage' will be created. Those attributes can either be specified with '\*def' commands running before or be specified with this command.
|
||||
If no option is specified, a partition using the parameters specified with attributes such as 'vmcpus', 'vmmemory', 'vmphyslots', 'vmothersetting', 'vmnics', 'vmstorage' will be created. Those attributes can either be specified with '\*def' commands running before or be specified with this command.
|
||||
|
||||
|
||||
For KVM and VMware:
|
||||
===================
|
||||
|
||||
|
||||
The \ **mkvm**\ command creates new virtual machine(s) with the \ *disksize*\ size of hard disk, \ *memsize*\ size of memory and \ *cpucount*\ number of cpu.
|
||||
The \ **mkvm**\ command creates a new virtual machine with \ *disksize*\ GB of storage space, \ *memsize*\ MB of memory, and \ *cpucount*\ cpu(s).
|
||||
|
||||
|
||||
For zVM:
|
||||
@ -136,7 +136,7 @@ OPTIONS
|
||||
|
||||
\ **-**\ **-cpus**\
|
||||
|
||||
The cpu count which will be created for the kvm/vmware virtual machine.
|
||||
Number of CPUs for the kvm/vmware virtual machine being created.
|
||||
|
||||
|
||||
|
||||
@ -174,7 +174,7 @@ OPTIONS
|
||||
|
||||
\ **-**\ **-mem**\
|
||||
|
||||
The memory size which will be used for the new created kvm/vmware virtual machine. Unit is Megabyte.
|
||||
Set the memory size for kvm/vmware virtual machines, default unit is MB. Specify in MB or append K for KB, M for MB, or G for GB.
|
||||
|
||||
|
||||
|
||||
@ -186,7 +186,7 @@ OPTIONS
|
||||
|
||||
\ **-s|-**\ **-size**\
|
||||
|
||||
The size of storage which will be created for the kvm/vmware virtual machine.
|
||||
Set the storage size for kvm/vmware virtual machines, default unit is GB. Specify in GB or append K for KB, M for MB, G for GB.
|
||||
|
||||
|
||||
|
||||
@ -374,12 +374,36 @@ Output is similar to:
|
||||
gpok4: Starting LNX3... Done
|
||||
|
||||
|
||||
7. To create a new kvm/vmware virtual machine with 10G storage, 2048M memory and 2 cpus.
|
||||
7. To create a new kvm/vmware virtual machine with 20 GB of storage, 4096 MB of memory, and 2 cpus.
|
||||
|
||||
|
||||
.. code-block:: perl
|
||||
|
||||
mkvm vm1 -s 10G --mem 2048 --cpus 2
|
||||
mkvm vm1 -s 20 --mem 4096 --cpus 2
|
||||
|
||||
|
||||
or
|
||||
|
||||
|
||||
.. code-block:: perl
|
||||
|
||||
mkvm vm1 -s 20G --mem 4194304K --cpus 2
|
||||
|
||||
|
||||
or
|
||||
|
||||
|
||||
.. code-block:: perl
|
||||
|
||||
mkvm vm1 -s 20480M --mem 4096M --cpus 2
|
||||
|
||||
|
||||
or
|
||||
|
||||
|
||||
.. code-block:: perl
|
||||
|
||||
mkvm vm1 -s 20971520K --mem 4G --cpus 2
|
||||
|
||||
|
||||
8. To create a full partition on normal power machine.
|
||||
@ -454,7 +478,7 @@ After a node object is defined, the resources that will be used for the partitio
|
||||
chdef lpar1 vmcpus=1/4/16 vmmemory=1G/4G/32G vmphyslots=0x21010201,0x21010200 vmothersetting=bsr:128,hugepage:2
|
||||
|
||||
|
||||
Then, create the partion on the specified cec.
|
||||
Then, create the partition on the specified cec.
|
||||
|
||||
|
||||
.. code-block:: perl
|
||||
@ -470,7 +494,7 @@ Option 2:
|
||||
mkvm lpar1 vmcpus=1/4/16 vmmemory=1G/4G/32G vmphyslots=0x21010201,0x21010200 vmothersetting=bsr:128,hugepage:2
|
||||
|
||||
|
||||
The outout is similar to:
|
||||
The output is similar to:
|
||||
|
||||
|
||||
.. code-block:: perl
|
||||
|
Reference in New Issue
Block a user