Pegasus Enhancement Proposal (PEP)

PEP #: 308

Title: Recommended OpenPegasus 2.8.0 Build and Configuration Options for Selected Platforms

Version: 1.3

Created: 30 October 2007

Authors: Denise Eckstein

Status:  Approved


Abstract: This PEP defines a set of recommended options for building, testing and running OpenPegasus 2.8.0 on a selected set of platforms. In this version of the PEP, platform-specific configuration information have been documented for the platforms described in the "Documented Platforms" section of this PEP.

Note 1: The recommendations defined in this PEP are not intended to document the feature set included in any vendor's OpenPegasus-based product.  Rather, the purpose of this PEP is to provide input to vendors when making product decisions.


Definition of the Problem

OpenPegasus supports a large number of build and runtime options. Determining which options to use can be challenging. The purpose of this PEP is to simplify the build, testing and administration of OpenPegasus 2.8.0 by providing a recommended, tested set of options.

 

Documented Platforms

Support for the OpenPegasus build and runtime options described in this document varies by platform.   In this version of the PEP, platform-specific configuration information has been included for the platforms described in the following table.  For all other platforms, please consult the OpenPegasus Platform Advocate for additional information.

Proposed Solution

Security Considerations

  1. To avoid introducing security vulnerabilities, vendors must never ship providers incompatible with the security assumptions used in their deployment. For example, providers designed for a single-user deployment that don't perform authorization must not be shipped with a CIM Server that expects the providers to perform authorization. Note that this authorization burden is considerably lighter if the provider is registered as 'run as requestor' and if the CIM Server enables that feature. See PEP#223 - Security Coding Guidelines for additional details.
  2. Vendors should ensure they configure the CIM Server consistently with the security requirements of their deployment.

Terminology Notes

  1. In this document, the term "Not Set" is used to indicate that the a value for the environment variable has not been defined.  "Set" is used to indicate that the value must be defined, but the actual value of the variable is not checked.

General Notes

  1. Not all functionality described in this document has achieved "Green" status, please refer to the OpenPegasus Project Feature Status page for information on the maturity level of OpenPegasus features.
  2. To encourage testing of new functionality, recommendations for the Development Build may include features that are not yet recommended for Release Builds.

Environment Variable Settings for Building OpenPegasus 2.8.0

Definitions

ICU_INSTALL
ICU_NO_UPPERCASE_ROOT
ICU_ROOT_BUNDLE_LANG
OPENSSL_BIN
OPENSSL_HOME
PEGASUS_ALLOW_ABSOLUTEPATH_IN_PROVIDERMODULE
PEGASUS_CCOVER
PEGASUS_CIM_SCHEMA
PEGASUS_CLASS_CACHE_SIZE
PEGASUS_DEBUG
PEGASUS_DEFAULT_USERCTXT_REQUESTOR
PEGASUS_DEFAULT_ENABLE_OOP
PEGASUS_DEST_LIB_DIR
PEGASUS_DISABLE_DEPRECATED_INTERFACES
PEGASUS_DISABLE_INSTANCE_QUALIFIERS
PEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET
PEGASUS_DISABLE_PERFINST
PEGASUS_DISABLE_PRIVILEGED_TESTS
PEGASUS_DISABLE_PROV_USERCTXT
PEGASUS_EMANATE_INCLUDE_DIR
PEGASUS_EMANATE_LIB_DIR
PEGASUS_EMBEDDED_INSTANCE_SUPPORT
PEGASUS_ENABLE_AUDIT_LOGGER
PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER
PEGASUS_ENABLE_COMPRESSED_REPOSITORY
PEGASUS_ENABLE_CQL
PEGASUS_ENABLE_DMTF_INDICATION_PROFILE_SUPPORT
PEGASUS_ENABLE_EXECQUERY
PEGASUS_ENABLE_EMAIL_HANDLER
PEGASUS_ENABLE_GCOV
    Description: GCOV, http://gcc.gnu.org/onlinedocs/gcc/index.html#toc_Gcov, is a code coverage utility.  If PEGASUS_ENABLE_GCOV is set,  GCC will instrument the code to support analysis by GCOV.
    Default Value: Not Set
    Recommended Value (Development Build): Not Set
    Recommended Value (Release Build): Not Set
    Required: No
    Considerations:  This flag is currently only supported with GCC on Linux.
PEGASUS_ENABLE_INDICATION_COUNT
PEGASUS_ENABLE_INTEROP_PROVIDER
PEGASUS_ENABLE_IPV6
PEGASUS_ENABLE_JMPI_PROVIDER_MANAGER
PEGASUS_ENABLE_OBJECT_NORMALIZATION
PEGASUS_ENABLE_PRIVILEGE_SEPARATION
PEGASUS_ENABLE_PROTOCOL_WSMAN
PEGASUS_ENABLE_REMOTE_CMPI
PEGASUS_ENABLE_SLP
PEGASUS_ENABLE_SORTED_DIFF
PEGASUS_ENABLE_SYSTEM_LOG_HANDER
PEGASUS_ENABLE_SSLV2
PEGASUS_ENABLE_USERGROUP_AUTHORIZATION
PEGASUS_EXTRA_C_FLAGS
PEGASUS_EXTRA_CXX_FLAGS
PEGASUS_EXTRA_LIBRARY_LINK_FLAGS
PEGASUS_EXTRA_LINK_FLAGS
PEGASUS_EXTRA_PROGRAM_LINK_FLAGS
PEGASUS_HAS_MESSAGES
PEGASUS_HAS_SSL
PEGASUS_HOME
PEGASUS_INDICATIONS_Q_THRESHOLD
PEGASUS_MAX_THREADS_PER_SVC_QUEUE
PEGASUS_ROOT
PEGASUS_NET_SNMP_INCLUDE_DIR
PEGASUS_NET_SNMP_LIB_DIR
PEGASUS_NOASSERTS
PEGASUS_OPENSLP_HOME
PEGASUS_PAM_AUTHENTICATION
PEGASUS_PLATFORM
PEGASUS_REMOVE_METHODTRACE
PEGASUS_REPOSITORY_MODE
PEGASUS_SLP_REG_TIMEOUT
PEGASUS_SNIA_EXTENSIONS
PEGASUS_SKIP_MOST_TEST_DIRS
PEGASUS_TEST_ENABLE_DEBUG_TRACE
PEGASUS_TEST_ISGROUP_GROUP/PEGASUS_TEST_ISGROUP_USER_SUCCESS/PEGASUS_TEST_ISGROUP_USER_FAILURE
PEGASUS_TEST_IPV6
PEGASUS_TEST_SDK
PEGASUS_TEST_USER_DEFINED
PEGASUS_TEST_USER_ID/PEGASUS_TEST_USER_PASS
PEGASUS_TEST_VALGRIND_LOG_DIR
PEGASUS_TMP
PEGASUS_USE_DEBUG_BUILD_OPTIONS
PEGASUS_USE_EMANATE
PEGASUS_USE_NET_SNMP
PEGASUS_USE_OPENSLP
PEGASUS_USE_PAM_STANDALONE_PROC
PEGASUS_USE_RELEASE_CONFIG_OPTIONS
PEGASUS_USE_RELEASE_DIRS
PEGASUS_USE_SYSLOGS
PEGASUS_WINDOWS_SDK_HOME

Examples Building a Linux IA32 (#IA64) Development/Debug Version

Building a Linux IA32 (#IA64) Production Release Version

Environment Variable Settings for Running OpenPegasus 2.8.0

Definitions

PEGASUS_HOME
PEGASUS_MSG_HOME

Configuration Properties

Notation

This section describes the notation used to define the configuration properties.

Definitions

authorizedUserGroups
daemon
enableAssociationTraversal
enableAuditLog
enableAuthentication
enableBinaryRepository
enableHttpConnection
enableHttpsConnection
enableIndicationService
enableNamespaceAuthorization
enableNormalization
enableRemotePrivilegedUserAccess
enableSSLExportClientVerification
enableSubscriptionsForNonprivilegedUsers
excludeModulesFromNormalization
exportSSLTrustStore
forceProviderProcesses
home
httpPort
httpsPort
idleConnectionTimeout
logdir
logLevel
maxProviderProcesses
messageDir
providerDir
providerManagerDir
repositoryDir
repositoryIsDefaultInstanceProvider
    Description: If true, the Repository functions as the Instance Provider for all classes for which there is not an explicitly registered Provider. This flag is also used to control the behavior of the repository when processing association operators.
    Recommended Default Value (Development Build):  true
    Recommended Default Value (Release Build):  false
    Recommend To Be Fixed/Hidden (Development Build):  No/No
    Recommend To Be Fixed/Hidden (Release Build):  No/Yes
    Dynamic?:  No
    Considerations:  This flag can be used to configure the CIM Server to allow the Repository to be used by CIM Clients and CIM Providers as a dynamic data store. The setting of this flag will significantly affect CIM Server behavior as viewed by the CIM Client.
    The following issues should be considered when setting repositoryIsDefaultInstanceProvider=true:
    The following issues should be considered when setting repositoryIsDefaultInstanceProvider=false: Source Configuration File:  Pegasus/Config/RepositoryPropertyOwner.cpp
shutdownTimeout
slp
socketWriteTimeout
sslCertificateFilePath
sslClientVerificationMode
sslKeyFilePath
sslTrustStore
sslTrustStoreUserName
traceComponents
traceFacility
traceFilePath
traceLevel

Configuration Constants

Definitions

static char CURRENT_CONFIG_FILE [] =
static char PLANNED_CONFIG_FILE [] =
static char CIMSERVER_START_FILE [] =

Configuration Macros

Definitions

PEGASUS_SSLCLIENT_CERTIFICATEFILE
PEGASUS_SSLCLIENT_RANDOMFILE
PEGASUS_SSLSERVER_RANDOMFILE
PEGASUS_LOCAL_AUTH_DIR
PEGASUS_LOCAL_DOMAIN_SOCKET_PATH

Version History

Version Date Author Change Description
1.0 30 Oct 2007 Denise Eckstein Initial Submission based on PEP 292.
1.1 31 May 2008 Denise Eckstein
  • Per Bug 7289, added definition for PEGASUS_ALLOW_ABSOLUTEPATH_IN_PROVIDERMODULE.
  • Per Bug 7679 change, (1) updated description and required fields of ICU_INSTALL and (2) removed definition of ICU_ROOT.
  • Per Bug 7430 changes, added definition for PEGASUS_TEST_VALGRIND_LOG_DIR.
  • Per Bug 7374, the variable PEGASUS_DISABLE_CQL has been replaced with PEGASUS_ENABLE_CQL. Removed definition of PEGASUS_DISABLE_CQL and added PEGASUS_ENABLE_CQL.
  • Added definition for PEGASUS_ENABLE_GCOV.
  • Per PEP 322, added definition for PEGASUS_ENABLE_INDICATION_COUNT.
  • Per PEP 311, added definition for PEGASUS_ENABLE_PROTOCOL_WSMAN.
  • Fixed typos in PEGASUS_HAS_MESSAGES.
  • Per Bug 7399, added definition for PEGASUS_TEST_ENABLE_DEBUG_TRACE.
  • Per Bug 7143, added definition for idleConnectionTimeout
  • 1.2 17 June 2008 Denise Eckstein
  • Per PEP 323, added definition for PEGASUS_ENABLE_DMTF_INDICATION_PROFILE_SUPPORT.
  • Per Bug 6769, added definition for PEGASUS_ENABLE_INTEROP_PROVIDER. Added Consideration section to PEGASUS_ENABLE_SLP. Added comment to Consideration section for PEGASUS_DISABLE_PERFINST.
  • Removed redundant "Required:" line in PEGASUS_ENABLE_INDICATION_COUNT.
  • Fixed typo in Consideration section of PEGASUS_ENABLE_INDICATION_COUNT.
  • Per Bug 7561, added definition for PEGASUS_SKIP_MOST_TEST_DIRS.
  • Per Bug 7276 changed the default value for PEGASUS_CIM_SCHEMA to CIM217.
  • Updated Description for PEGASUS_CCOVER to reference the new C-Cover NB&T system.
  • Added Consideration section to PEGASUS_ALLOW_ABSOLUTEPATH_IN_PROVIDERMODULE.
  • Reworded Description of PEGASUS_ENABLE_INDICATION_COUNT.
  • 1.3 19 June 2008 Denise Eckstein
  • Per PEP 315, added definition for PEGASUS_REMOVE_METHODTRACE.
  • Per PEP 313, added definition for providerManagerDir.
  • Per PEP 315, added definition for traceFacility.
  • Per PEP 315, updated definition of traceLevel.
  • Approved - Architecture Team Ballot 152.

  • Copyright (c) 2004 EMC Corporation; Hewlett-Packard Development Company, L.P.; IBM Corp.; The Open Group; VERITAS Software Corporation
    Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; EMC Corporation; Symantec Corporation; The Open Group.

    Permission is hereby granted, free of charge, to any person obtaining a copy  of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

    THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED  "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


    Template last modified: January 20th 2004 by Martin Kirk
    Template version: 1.6