mvmctl | (Moab Virtual Machine Control) |
Synopsis
mvmctl -c [<options>] <vmid> mvmctl -d <vmid> mvmctl -m [<options>] <vmid> mvmctl -M dsthost=<newhost> <vmid> mvmctl -q <vmid> [--xml]
Overview
mvmctl controls the creation, modification, querying, migration, and destruction of virtual machines (VMs).Format
-c | |
Name: | Create |
Format: | [<options>] [<vmid>] The <options> variable is a comma-separated list of <attr>=<value> pairs. Where the <attr> attribute is one of the following:
Note that the vmid must be unique; Moab returns an error if the name is already taken. |
Default: | --- |
Description: | Creates a VM. |
Example: | > mvmctl -c image=stateful,hypervisor=node03,mem=512,procs=2 myNewVM > mvmctl -c image=rhel51,hypervisor=n4,storage=gold:3%silver:5@/home/jason/silver%gold MyTestVM > mvmctl -c variable=var1:value1+var2=value2,image=rhel51 |
-d | |
Name: | Destroy |
Format: | <vmid> |
Default: | --- |
Description: | Destroys the specified VM. |
Example: | > mvmctl -d oldVM |
-m | |
Name: | Modify |
Format: | [<options>] <vmid>
The <options> parameter is a comma-separated list of <attr>=<value> pairs. |
Default: | --- |
Description: | Modifies the VM. |
Example: |
> mvmctl -m gevent=hitemp:'mymessage' myNewVM > mvmctl -m gmetric=bob:5.6 myNewVM > mvmctl -m os=compute myNewVM > mvmctl -m powerstate=off myNewVM > mvmctl -m trigger=etype=start\&atype=exec\&action='trig.py $OID $HOSTLIST' myNewVM > mvmctl -m variable=user:bob+purpose:myVM myNewVM |
Notes: |
|
-M | |
Name: | Migrate |
Format: | dsthost=<newhost> <vmid> |
Default: | --- |
Description: | Migrate the given VM to the destination host. |
Example: | > mvmctl -M dsthost=node05 myNewVM |
-q | |
Name: | Query |
Format: | <vmid> [--xml] |
Default: | --- |
Description: | Queries the specified VM; that is, it returns detailed information about the given VM. May be used with or without the --xml flag. "ALL" may also be used to display information about all VMs. |
Example: | < mvmctl -q myNewVM < mvmctl -q ALL --xml |