15 Direct Monitoring of Xen Based Systems
It contains the following sections:
Direct Monitoring Overview
You can directly monitor a Xen based Hypervisor, the bare metal machine, its operating system, and the virtual machines without relying on their monitoring software. Monitoring these targets involves the following:
-
Direct Monitoring of the Oracle Virtual Server (Guest OS or DomU running on the Hypervisor) target based on Xen 4.1.2 or later.
-
Direct monitoring of Oracle Server (Physical Server)
-
Direct monitoring of the Oracle Virtual Server (Xen based Hypervisor).
-
Direct Monitoring of the Oracle Virtual Platform or the host operating system of the hypervisor machine.
Note:
To enable direct monitoring of Xen based Hypervisors, the Oracle Virtual Infrastructure 12.1.0.2 plugin must be deployed on the Management Server. This plugin is automatically deployed on the Management Agent when the Hypervisor is registered.
The following figure shows the high level architecture.
Figure 15-1 Direct Monitoring Architecture

Discovering the Hypervisor Target
Prerequisites:
-
To discover a Hypervisor target, the administrator must have the following privileges:
-
Add Any Target
-
Create Job
-
Operator privilege on the Management Agent that is monitoring the Hypervisor target.
-
To discover the Hypervisor by following these steps:
Deleting the Targets
To delete the targets that have been discovered, you must first delete the Oracle Virtual Platform target. When this target is deleted, all associated Oracle Virtual Server and Oracle Server targets are deleted.
To delete the target, follow these steps:
- From the Targets menu, select All Targets to navigate to the All Targets page.
- In the left panel of the All Targets page, select Oracle Virtual Platform under Servers, Storage, and Network target type. The list of Oracle Virtual Platform targets available is displayed.
- Click on one of the targets to navigate to the Oracle Virtual Platform Home page. From the Oracle Virtual Platform menu, select Target Setup, then select Remove Target. A confirmation message is displayed. Click Yes to delete the Oracle Virtual Platform target and the associated targets.
Setting the Credential Properties
You can specify the credentials for the Virtual Platform target being discovered. You can select the credential type as Host Credentials or SSH Key Credentials. Each of these credentials can be clubbed with the Sudo or PowerBroker privilege delegation option.
Figure 15-3 Discover Oracle Virtual Platform: Setting the Credentials

Host Credentials
If you have selected Host Credentials, you must specify the credential properties shown below:
-
User Name: The user name required to access the target.
-
Password: The password required to access the target.
-
Run Privilege: This can be:
-
None: Run privileges are not required. This option is used when the user is root and the Privileged User option is set to Yes.
-
Sudo: If you select Sudo, you must specify the following:
-
Sudo Command: Sudo allows a permitted user to execute a command as the super user or another user as specified in the sudoers file. Enter the command in the format
/usr/bin/sudo -S -u %RUN_AS% %COMMAND%
where/usr/bin/sudo
is the path to the sudo executable,RUN_AS
is the name of the user who is executing the command andCOMMAND
represents that Sudo command being executed. -
Run As: Specify
root
to run this command as a root user. -
Enable Pseudo Terminal: Select the checkbox if the sudo command requires the user to log in to a real terminal (tty). If this flag is set, the sudo user must log into the machine via a separate terminal.
-
-
PowerBroker: If you select PowerBroker, you must specify the following:
-
PowerBroker Command: Enter the command in the format
/usr/bin/pbrun -l -u %RUN_AS% %COMMAND%
where/usr/bin/pbrun
is the path to the PowerBroker executable,RUN_AS
is the name of the user running the command, andCOMMAND
represents the PowerBroker command being executed. -
Password Prompt: The prompt that is to be displayed when the password is specified.
-
Run As: Specify
root
to run this command as a root user. -
Profile: Specify the user profile to be used to run this command.
-
-
SSH Key Credentials
If you select SSH Key Credentials, you must specify the user name, private and public key, passphrase (for further encryption), and the run privilege.
If you select Sudo or PowerBroker in the Run Privilege field, enter the additional details as listed in the Host Credentials section.
Viewing the Oracle Server Home Page
To view the Oracle Server Home page, follow these steps:
- From the Targets menu, select All Targets to navigate to the All Targets page.
- In the left panel of the All Targets page, select Oracle Server under Servers, Storage, and Network target type. The list of Oracle Server targets available is displayed.
- Click on one of the targets to navigate to the Oracle Server Home page.
Figure 15-4 Oracle Server Home Page

This page contains the following regions:
-
General: This region provides general details such as the Oracle Virtual Platform target, name of the target, CPU sockets, CPU cores, total memory, and local disk space.
-
Availability: The chart in this region shows the status of the target over the last 24 hours.
-
Overview of Incidents and Problems: This region shows any incidents or problems associated with the Oracle Server target.
Viewing the Oracle Virtual Platform Home Page
To view the Oracle Virtual Platform Home page, follow these steps:
- From the Targets menu, select All Targets to navigate to the All Targets page.
- In the left panel of the All Targets page, select Oracle Virtual Platform under Servers, Storage, and Network target type. The list of Oracle Virtual Platform targets available is displayed.
- Click on one of the targets to navigate to the Oracle Virtual Platform Home page.
Figure 15-5 Oracle Virtual Platform Home Page

This page contains the following regions:
-
General: This region shows general details such as the Oracle Server target, platform version, name of the target, VCPUs allocated to Dom0 and total VCPUs allocated to the Oracle Virtual Server targets. It also indicates if this is a Privileged User. Virtualization metrics are collected only for privileged users.
-
Members: This region listed the virtual servers that belong to this virtual platform, their status, and the memory allocated to each virtual server.
Host names corresponding to the Oracle Virtual Server target are also displayed if the Management Agent is present on the virtual server.By default, this column is not visible. You can select this column using the View drop down menu.
-
Network Activity: This region shows the total throughput (MB per second) over the last 24 hours.
-
Overview of Incidents and Problems: This region shows any incidents or problems associated with the Oracle Server target.
-
Charts: The CPU utilization, Memory Utilization, Network, and Disk Activity charts show the activity over the last 24 hours. It shows the CPU and memory usage trending
-
Availability: The chart in this region shows the status of the target over the last 24 hours.
Viewing the Oracle VM Instance Home Page
To view the Oracle VM Instance Home page, follow these steps:
This page contains the following regions:
-
General: This region provides general details such as the Oracle Server and Oracle Virtual Platform targets, name of the target, and allocated memory.
-
Availability: The chart in this region shows the status of the target over the last 24 hours.
-
Overview of Incidents and Problems: This region shows any incidents or problems associated with the Oracle Server target.
-
Charts: The CPU utilization, Memory Utilization, Network, and Disk Activity charts show the activity over the last 24 hours.