Recommended OpenPegasus Build and Configuration Options for Selected Platforms


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

Note 1: The recommendations defined in this document are not intended to document the feature set included in any vendor's OpenPegasus-based product. Rather, the purpose of this document 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 document is to simplify the build, testing and administration of OpenPegasus 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 document, 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

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_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
PEGASUS_ENABLE_INDICATION_COUNT
PEGASUS_ENABLE_PROTOCOL_INTERNAL_BINARY
PEGASUS_ENABLE_PROTOCOL_BINARY
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_REPOSITORY_STORE_COMPLETE_CLASSES
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_FLAVOR
PEGASUS_USE_SQLITE_REPOSITORY
PEGASUS_USE_SYSLOGS
PEGASUS_WINDOWS_SDK_HOME
SQLITE_HOME

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

Building a Linux IA32 (#IA64) Production Release Version

Environment Variable Settings for Running OpenPegasus

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
enableSubscriptionsForNonprivilegedUsers
excludeModulesFromNormalization
forceProviderProcesses
home
httpPort
httpsPort
idleConnectionTimeout
logdir
logLevel
maxLogFileSizeKBytes
maxProviderProcesses
messageDir
providerDir
providerManagerDir
repositoryDir
repositoryIsDefaultInstanceProvider
shutdownTimeout
slp
socketWriteTimeout
sslCertificateFilePath
sslClientVerificationMode
sslKeyFilePath
sslTrustStore
sslTrustStoreUserName
traceComponents
traceFacility
traceFilePath
traceLevel
traceMemoryBufferKbytes

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

Licensed to The Open Group (TOG) under one or more contributor license agreements. Refer to the OpenPegasusNOTICE.txt file distributed with this work for additional information regarding copyright ownership. Each contributor licenses this file to you under the OpenPegasus Open Source License; you may not use this file except in compliance with the License.

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.