Setting up an RHEV Manager environment
To set up an RHEV Manager environment, you must:
- Install a Red Hat Linux agent on the Red Hat Enterprise Linux server where the RHEV Manager is installed
- Add that server to the TrueSight Server Automation Console and update the properties and perform configuration tasks that complete the setup.
This topic includes the following sections:
To install the Linux agent on the RHEV Manager
- Install the RSCD agent on the Red Hat Enterprise Linux server where the RHEV Manager is installed, 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 Linux server.
- 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:
- Open the /etc/rsc/users.local and add an entry for a role and user that should be mapped to the root account. For example:
Save and close the files.
For more information about the exports and users.local files, see Setting up configuration files.
To add the Linux server to TrueSight Server Automation
From within the TrueSight Server Automation Console, add the Red Hat Enterprise Linux server as a managed server to a server group (right-click a server group and select Add Server ).
To distribute the RHEV Manager configuration object
Distribute the RHEV Manager configuration object on the RHEV manager server by completing the following steps:
Beginning with version 8.2 SP1, the configuration object file (rhev.zip) is auto-imported and is certified against RHEV 3.0 GA. If you have not applied the service pack and are using version 8.2.00, the new RHEV configuration object is not auto-imported and is certified against a beta version of RHEV 3.0. Should you choose to use the beta version of the configuration object, note that upgrade from the beta configuration object to the GA-version RHEV 3.0 configuration object may not be supported. The RHEV 3.0 beta configuration object is located in the <installDirectory>\br\betacontent\customobjects directory (file name is rhev-beta4.zip). For instructions on importing the configuration object, see the Adding a custom configuration object.
- 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 RHEV Manager object, and add it to the Selected Configuration Objects section. Click Next.
- On the Targets panel, select the RHEV manager server.
- Click Finish, and execute the job. For details, see Distributing configuration objects.
To set connection and virtualization properties
- In the TrueSight Server Automation Console, select Configuration > Property Dictionary View.
- Browse the Built-in Property Classes > Connection class.
- Click the Instances tab and set the connection details to the RHEV Manager host. Create a Connection instance with the name
Connection_<serverName>, where <serverName> is the name of the Linux server. This new instance contains the connection details to the RHEV Manager host.
Set the following properties for the newly added instance:
Set this value to the fully-qualified URL (or IP address) of the RHEV Manager server, for example "https://rhev-manager-rh61x64.xyz.com:8443/api".
Set this value to the RHEV Manager administrator user name, for example "internal\admin".
Enter the password of the RHEV Manager administrator user.
- Save this instance.
- Browse the Built-in Property Classes > Virtualization class.
For each RHEV Manager object you add, create a corresponding Virtualization instance.
- Ensure that the
VIRTUAL_ENTITY_CONNECTIONproperty in the Virtualization instance points to the previously created Connection instance, and that the
VIRTUAL_ENTITY_TYPEis set to RHEV Manager.
- Save this instance.
- Select the Linux server from the Servers folder and set the Virtualization property, as follows:
- In the Properties window, expand the Extended properties and select the Virtualization property.
- Click the Browse icon ( )to display the Select value for complex type dialog box.
- Select the Virtualization instance you created previously, as shown below:
- Click OK.
You can now use the TrueSight Server Automation Console to Live Browse the RHEV Manager server and access the RHEV Manager node.
For details on adding a server and setting its properties, see Adding a server to the system.