Linux Driver and Management Application InstallationNetXtreme User Guide
Broadcom
®
April 2017 • 2CS57XX-CDUM514-R Page 41
Build and install OpenPegasus
From $PEGASUS_ROOT (the location of the Pegasus source root directory), run the following:
make clean
make
make repository
Step 2: Start CIM Server on the Server
Use the cimserver command to start CIM server. To stop CIM server, use the command cimserver -s.
To check whether OpenPegasus has been installed properly, enter the following command:
cimcli ei -n root/PG_Interop PG_ProviderModule
Step 3: Configure OpenPegasus on the Server
Use the cimconfig command to configure OpenPegasus, as shown in the following table:
CIM server must be started before running
cimconfig, and must be restarted for configuration changes to take
effect.
Note: You can add these exports at the end of the .bash_profile. This file is located in the /root
directory.
• The environment variables will be set when a user logs in using PuTTY.
• On the Linux system itself, for each terminal where the environment variables are not set, run the
following command:
source /root/.bash_profile
• When you logout and login, the environment variables will be set.
Note: Whenever OpenPegasus is built from source, all configurations are reset to the default values.
If you are rebuilding OpenPegasus, you must redo the configuration as mentioned in Step 3: Configure
OpenPegasus on the Server.
Note: For OpenPegasus compiled from source, PEGASUS_HOME must be defined when you start
CIM server. Otherwise, CIM server will not load the repository properly. Consider setting
PEGASUS_HOME in the “.bash_profile” file.
Command Description
cimconfig -l
List all valid property names.
cimconfig -l -c
List all valid property names and its value
cimconfig -g <property name>
Query a particular property.
cimconfig -s <property name>=<value> -p
Set a particular property.
cimconfig --help
Find out more about the command.