Step 2: start cim server on the server, Step 3: configure openpegasus on the server – Dell Broadcom NetXtreme Family of Adapters User Manual

Page 170

Advertising
background image

Linux Management Application Installation: Broadcom NetXtreme BCM57XX User Guide

file:///C|/Users/Nalina_N_S/Documents/NetXtreme/English/lnx_bacs.htm[9/5/2014 3:32:23 PM]

the $PATH environment.

Examples

export PEGASUS_PLATFORM="LINUX_X86_64_GNU"
export PEGASUS_CIM_SCHEMA="CIM222"
export PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER=true
export PEGASUS_ROOT="/share/pegasus-2.10-src"
export PEGASUS_HOME="/pegasus"
export PATH=$PATH:$PEGASUS_HOME/bin

For SSL Support, add the following environment variable:

export PEGASUS_HAS_SSL=true

For WS-MAN Support, add the following environment variable:

export PEGASUS_ENABLE_PROTOCOL_WSMAN=true

CIM-XML and WSMAN in OpenPegasus use the same ports for HTTP or HTTPs. The default port numbers for HTTP and HTTPS
are 5989 and 5989, respectively.

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

Step 3: Configure OpenPegasus on the Server

.

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

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.

Step 3: Configure OpenPegasus on the Server

Use the cimconfig command to configure OpenPegasus, as shown in the following table:

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.

Advertising