Generally, you will use virsh to control VMs, but there are a few useful functions you can get from xm but not virsh. We cover the most common commands here. How to list the currently running VM on physical server? # xm list Name ID Mem VCPUs State Time(s) 0004fb00000600004689b1d1cc6e83d9 1 1027 1 r—– 293.5 […]
Oracle VM
List of ports required by Oracle VM
This post describes the list of ports used by Oracle VM Manager and Oracle VM Server. Configuring firewalls to allow for proper connectivity to and between required ports will help to ensure successful Oracle VM operation. The following table describes the list of ports used by Oracle VM Manager and Oracle VM Server. Some of […]
How to obtain virtual/physical CPU information in Oracle VM (XEN)
This post explains how to obtain virtual or physical CPU usage of an Oracle VM Server, including actual CPU usage and running time of guest domains. Guest-specific (Dom-U) CPU usage can be obtained by running commands on the guest itself, for example; top, ps, and sar. If, however, you wish to obtain specific CPU usage, […]
How to detach/attach vNIC by Command Line in Oracle VM (x86)
Under some situation, we may need troubleshooting issue by detaching/attaching vNIC from the command line. The method described in this post is a feature of xm toolstack, so be careful while using it. Collect informations from the physical host server (dom0): # xm list Name ID Mem VCPUs State Time(s) Domain-0 0 922 4 r—– […]
How to Get the Number of vCPUs that Oracle VM Guest can get in Oracle VM
On an x86-based system, a CPU core (no hyperthreading enabled) or a CPU thread (hyperthreading enabled) within a core is presented as a physical CPU by the hypervisor or the bare metal operating system. vCPUs (virtual CPUs) are exposed to the guest virtual machine as CPUs. The guest schedules applications on these vCPUs, and the […]