_Setting_up_a_Red_Hat_Enterprise_Virtualization_environment
This section describes how to set up BMC BladeLogic 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 BladeLogic Server Automation console
- use the BMC BladeLogic Server Automation console to perform configuration tasks that complete the setup.
Step 1: Review minimum requirements for RHEV environments
System requirements
To employ BMC BladeLogic 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 BladeLogic 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 an RSCD agent. 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*
- License the RSCD agent, as described in Licensing agents.
Step 3: Add the Red Hat KVM server to BMC BladeLogic Server Automation
To add the server to the console, complete the following steps:
- From within the BMC BladeLogic 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 BladeLogic 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 BladeLogic Server Automation console, do the following:
- In the BMC BladeLogic 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 BladeLogic Server Automation console to Live browse server and access the RHEL KVM node.
For more information on adding a server and setting its properties, see the BMC BladeLogic Server Automation User Guide and the BMC BladeLogic Server Automation online help.