User guide
NetXtreme II User Guide
September 2013
Broadcom Corporation
Page 124 Detailed Procedures Document INGSRVT78-CDUM100-R
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.
Build and install OpenPegasus
From $PEGASUS_ROOT (the location of the Pegasus source root directory), run the following:
make clean
make
make repository
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 Configure OpenPegasus on the Server.
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
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.
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.
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.