Kaspar Schiess committed f0aaafd

describes vmadm

Comments (0)

Files changed (2)


-# storadm(1) -- Manages VM storage. 
+# storadm(1) -- manages virtual machine storage
     vm_name             # base dataset
     vm_name/disk1       # first block device (zvol)
+These subcommands are defined:
   * `storadm list`: 
     Lists all virtual machine storage spaces on this machine. For all 
     storage spaces that have an iSCSI export, it lists the corresponding 
-# vmadm(1) -- Manages VMs. 
+# vmadm(1) -- manages qemu-toolkit virtual machines
+`vmadm` [-h]<br>
+`vmadm list`<br>
+`vmadm create` <name><br>
+`vmadm start` [--bootiso <iso_file>]<name><br>
+`vmadm shutdown` <name><br>
+`vmadm kill` <name><br>
+`vmadm monitor` <name><br>
+`vmadm vnc` <name><br>
+`vmadm console` <name><br>
+The `vmadm` command manages virtual machines. A virtual machine is defined 
+by using the `virtual_machine` syntax in a file below `/etc/qemu-toolkit`. 
+(see qemu-toolkit-configuration(7)) 
+  * `vmadm list`:
+    Lists all virtual machines that are defined on this system. 
+  * `vmadm create` <name>: 
+    Creates a new virtual machine definition and fills it with sensible default
+    values. 
+  * `vmadm start` <name>: 
+    Starts a virtual machine using QEMU/KVM. 
+    * `--bootiso` <iso_file>:
+      Boots the virtual machine once from virtual cdrom backed by the iso file
+      given. Upon reboot, the machine will use its first disk to boot. 
+  * `vmadm shutdown` <name>: 
+    Sends the virtual machine a system/powerdown event. 
+  * `vmadm kill` <name>: 
+    Immediately kills the virtual machine.
+  * `vmadm monitor` <name>: 
+    Enters an interactive monitor mode that controls the virtual machine. The
+    machine must be running for this to work. Use Control+D to exit. 
+  * `vmadm vnc` <name>: 
+    Connect the terminal to a VNC server that displays the console of the 
+    virtual machine. 
+  * `vmadm console` <name>: 
+    Connects the terminal to the serial console of the virtual machine. Note
+    that this must be specially configured for most guest OSes.
+### Example 1 Boot a virtual machine
+The following command starts the virtual machine and boots it from its 
+first disk. 
+    # vmadm start my_vm
+### Example 2 Install a virtual machine from ISO
+The following command boots the virtual machine from a virtual cdrom. The
+cdrom is backed by an ISO file called ubuntu.iso. 
+    # vmadm start my_vm --bootiso ubuntu.iso
 ## BUGS