Setting up a Red Hat KVM environment


To set up BMC Server Automation for a Red Hat KVM environment, you install a special Linux agent on the Red Hat Enterprise Linux system running the Red Hat Kernel-based Virtual Machine (KVM) and add the server to the BMC Server Automation Console.

To install the Linux agent on the Red Hat Linux server

  1. 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.
  2. Open the /etc/rsc/exports file and add an entry with the application server IP address or host name and a read/write mapping. This restricts access to accept connections only from the listed application server. For example
    192.168.0.1  rw 
  3. Open the /etc/rsc/users.local file and add an entry for a role and user that should be mapped to the root account. For example:
    BLAdmins:BLAdmin rw,map=root
  4. Save and close the files.

For more information about the exports and users.local files please see Setting-up-configuration-files.

To add the Red Hat KVM to BMC Server Automation

  1. 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 ).
  2. Distribute configuration objects to the Red Hat KVM server:
    1. From the BMC Server Automation Console, navigate to the Jobs folder.
    2. Right-click a job group and select New > Administration Task > Distribute Configuration Objects.
    3. Enter a name for the Job and click Next.
    4. Expand the Global Configuration Objects list, select the RHEL KVM object and add it to the Selected Configuration Objects section. Click Next.
    5. On the Targets panel, select the server running the Red Hat KVM hypervisor
    6. Click Finish, and execute the job.

For details, see Distributing-configuration-objects.

For details on adding a server and setting its properties, see Adding-a-server-to-the-system.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*