HP BL680c XenServer Administrator's Guide 4.1.0 - Page 61
Host XenServer Host commands
UPC - 884420396314
View all HP BL680c manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 61 highlights
Command line interface Event classes Event classes are listed in the following table: Class name pool vm host network vif pif sr vdi vbd pbd Description A pool of physical hosts A Virtual Machine A physical host A virtual network A virtual network interface A physical network interface (note separate VLANs are represented as several PIFs) A storage repository A virtual disk image A virtual block device The physical block devices through which hosts access SRs 5.4.4.1. event-wait event-wait class=class name [ param-name=param-value ] [ param-name=/=param-value ] Block other commands from executing until an object exists that satisfies the conditions given on the command line. [x=y] means "wait for field x to take value y", and [x=/=y] means "wait for field x to take any value other than y". Example: wait for a specific VM to be running xe event-wait class=vm name-label=myvm power-state=running blocks until a VM called myvm is in the power-state "running." Example: wait for a specific VM to reboot: xe event-wait class=vm uuid=$VM start-time=/=$(xe vm-list uuid=$VM params=start-time --minimal) blocks until a VM with UUID $VM reboots (i.e. has a different [start-time] value). The class name can be any of the Event classes listed at the beginning of this section, and the parameters can be any of those listed in the CLI command class-param-list. 5.4.5. Host (XenServer Host) commands Commands for interacting with XenServer Hosts. XenServer Hosts are the physical servers running XenServer software. They have VMs running on them under the control of a special privileged Virtual Machine, known as the control domain or domain 0. The XenServer Host objects can be listed with the standard object listing command ( xe host-list, xe hostcpu-list, and xe host-crashdump-list), and the parameters manipulated with the standard parameter commands. See Section 5.3.2, "Low-level param commands" for details. 55