_Setting_up_a_Red_Hat_Enterprise_Virtualization_environment
This section describes how to set up BMC Server Automation for a Red Hat Enterprise Virtualization (RHEV) environment.
To do so, you:
- install a special Linux agent on the Red Hat Enterprise Linux system running the Red Hat Kernel-based Virtual Machine (KVM)
- add the server to the BMC Server Automation Console
- use the BMC Server Automation Console to perform configuration tasks that complete the setup.
Step 1: Review minimum requirements for RHEV environments
System requirements
To employ BMC Server Automation in a RHEV environment, you must have a Red Hat Enterprise Linux 5.4 (or later) server with:
- the virtualization packages installed
- the latest version of libvirt (minimum 0.6.3)
- one or more domains running on the server
- the BMC Server Automation RSCD agent for Red Hat Enterprise Linux installed and running.
Required access and privileges
For a RHEV environment, you must have root access to the Red Hat KVM host server.
Step 2: Install the Linux agent
- Install the RSCD agent on the Red Hat Linux server, as described in Installing-only-the-RSCD-agent-Linux-and-UNIX. Be sure to install the RSCD agent that is specifically designated for use with a 64-bit Linux server.
- Open the /usr/lib/rsc/exports file and edit the last line so it reads:
- rw,user=root*
Step 3: Add the Red Hat KVM server to BMC Server Automation
To add the server to the console, complete the following steps:
- From within the BMC Server Automation Console, add the Red Hat KVM server as a managed server to a server group (right-click a server group and select Add Server ).
- Distribute configuration objects to the Red Hat KVM server:
- From the BMC Server Automation Console, navigate to the Jobs folder.
- Right-click a job group and select New > Administration Task > Distribute Configuration Objects.
- Provide a name for the Job and click Next.
- Expand the Global Configuration Objects list, select the RHEL KVM object, and add it to the Selected Configuration Objects section.
- Click Next.
- On the Targets panel, select the server running the Red Hat KVM hypervisor.
- Click Finish, and execute the job.
For details, see Distributing configuration objects.
- In the BMC Server Automation Console, do the following:
- In the BMC Server Automation Console, select Configuration > Property Dictionary View.
- Browse the Built-in Property Classes > Custom Objects Environment class.
- Define an instance of Custom Objects Environment class, with the following properties and click Finish:
Property | Update |
|---|---|
JPA_JAVA_HOME* | Enter the path where the JDK is installed, for example /jdk1.6.0_20/. |
JPA_JVM_ARGUMENTS* | Can be used to set JVM arguments such as -Xms32m, Xmx256m, and so on. |
JPA_JVM_LIB* | Enter the path of the libjvm.so on the server, for example jdk1.6.0_20/jre/lib/amd64/server/libjvm.so. |
To set the instance for the server, complete the following steps:
- From the Servers workspace, select the Red Hat KVM server.
- In the Properties tab, under the Extended properties object, select Custom Objects Environment.
- Choose the class instance that you defined above.
- Click OK.
You can now use the BMC Server Automation Console to Live browse server and access the RHEL KVM node.
For more information about adding a server and setting its properties, see Adding-a-server-to-the-system in the BMC Server Automation online documentation.