Show Table of Contents
21.2. Installing OpenLMI
OpenLMI is distributed as a collection of RPM packages that include the CIMOM, individual CIM providers, and client applications. This allows you distinguish between a managed and client system and install only those components you need.
21.2.1. Installing OpenLMI on a Managed System
A managed system is the system you intend to monitor and manage by using the OpenLMI client tools. To install OpenLMI on a managed system, complete the following steps:
- Install the tog-pegasus package by typing the following at a shell prompt as
root:yum install tog-pegasusThis command installs the OpenPegasus CIMOM and all its dependencies to the system and creates a user account for thepegasususer. - Install required CIM providers by running the following command as
root:yum install openlmi-{storage,networking,service,account,powermanagement}This command installs the CIM providers for storage, network, service, account, and power management. For a complete list of CIM providers distributed with Red Hat Enterprise Linux 7, see Table 21.1, “Available CIM Providers”. - Edit the
/etc/Pegasus/access.confconfiguration file to customize the list of users that are allowed to connect to the OpenPegasus CIMOM. By default, only thepegasususer is allowed to access the CIMOM both remotely and locally. To activate this user account, run the following command asrootto set the user's password:passwd pegasus - Start the OpenPegasus CIMOM by activating the
tog-pegasus.serviceunit. To activate thetog-pegasus.serviceunit in the current session, type the following at a shell prompt asroot:systemctl start tog-pegasus.serviceTo configure thetog-pegasus.serviceunit to start automatically at boot time, type asroot:systemctl enable tog-pegasus.service - If you intend to interact with the managed system from a remote machine, enable TCP communication on port
5989(wbem-https). To open this port in the current session, run the following command asroot:firewall-cmd --add-port 5989/tcpTo open port5989for TCP communication permanently, type asroot:firewall-cmd --permanent --add-port 5989/tcp
You can now connect to the managed system and interact with it by using the OpenLMI client tools as described in Section 21.4, “Using LMIShell”. If you intend to perform OpenLMI operations directly on the managed system, also complete the steps described in Section 21.2.2, “Installing OpenLMI on a Client System”.
21.2.2. Installing OpenLMI on a Client System
A client system is the system from which you intend to interact with the managed system. In a typical scenario, the client system and the managed system are installed on two separate machines, but you can also install the client tools on the managed system and interact with it directly.
To install OpenLMI on a client system, complete the following steps:
- Install the openlmi-tools package by typing the following at a shell prompt as
root:yum install openlmi-toolsThis command installs LMIShell, an interactive client and interpreter for accessing CIM objects provided by OpenPegasus, and all its dependencies to the system. - Configure SSL certificates for OpenPegasus as described in Section 21.3, “Configuring SSL Certificates for OpenPegasus”.
You can now use the LMIShell client to interact with the managed system as described in Section 21.4, “Using LMIShell”.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.