cmbcmenv.properties
This properties file tells the connector where the INI files are located. It can also specify an LDAP server that can contain data source information or be used for user authentication.
Important: Parenthesis contain comments and information,
not utility parameters.
Usage
java com.ibm.mm.sdk.util.cmbcmenv Flags
Input parameter is optional if it has a default value.
-h (help)
-a <add> (action) -c <fileSystem> (category)
-p <directory path location for configuration files>
-d <directory path location cmbcmenv.properties> (default current directory)
-seeerr <TRUE | FALSE> (display error messages for add, update and
delete operations (default TRUE))
-a <update> (action) -c <fileSystem> (category)
-p <directory path location for configuration files>
-d <directory path location cmbcmenv.properties> (default current directory)
-seeerr <TRUE | FALSE> (display error messages for add, update and
delete operations (default TRUE))
-a <del> (action) -c <fileSystem> (category)
-d <directory path location cmbcmenv.properties> (default current directory)
-seeerr <TRUE | FALSE> (display error messages for add, update and
delete operations (default TRUE))
-a <add> (action) -c <URL> (category)
-url <URL location for configuration files>
-d <directory path location cmbcmenv.properties> (default current directory)
-seeerr <TRUE | FALSE> (display error messages for add, update and
delete operations (default TRUE))
-a <update> (action) -c <URL> (category)
-url <URL location for configuration files>
-d <directory path location cmbcmenv.properties> (default current directory)
-seeerr <TRUE | FALSE> (display error messages for add, update and
delete operations (default TRUE))
-a <del> (action) -c <URL> (category)
-d <directory path location cmbcmenv.properties> (default current directory)
-seeerr <TRUE | FALSE> (display error messages for add, update and
delete operations (default TRUE))
-a <add> (action) -c <LDAP> (category)
-ldapenabled <TRUE | FALSE> (LDAP enabled (default TRUE))
-ldapdatasourcesenabled <TRUE | FALSE> (LDAP datasources enabled
(default FALSE))
-ldapuserauthenabled <TRUE | FALSE> (LDAP user authentication enabled
(default FALSE))
-ldapfactory <LDAP Java JNDI context factory> (default com.sun.jndi.ldap.
LdapCtxFactory)
-ldapstype <ACTIVE_DIRECTORY | STANDARD_LDAP> (LDAP server type
(default STANDARD_LDAP))
-ldapurl < LDAP service provider url>
-ldapref <follow | ignore> (LDAP referral (default ignore))
-ldapauth <simple> (LDAP referral (default simple))
-ldapuid <LDAP principal>
-ldapcred <LDAP credentials>
-ldaprootdn <LDAP root domain name>
-ldapsrchscope <SUBTREE_SCOPE | ONELEVEL_SCOPE> (LDAP search scope
(default SUBTREE_SCOPE))
-ldapprotocol <none> (LDAP protocol (default none))
-ldapauthattr <LDAP authentication attribute> (default no value)
-ldapport <LDAP port> (default no value)
-ldapdescattr <LDAP user description attribute> (default DN)
-ldapsslkeyring <LDAP IBM SSL keyring name> (default no value)
-ldapsslpwd <LDAP IBM SSL password> (default no value)
-ldapsslcphrs <LDAP IBM SSL ciphers> (default SSL_RSA_EXPORT_WITH_RC4_40_MD5
SSL_RSA_EXPORT_WITH_DES40_CBC_SHA SSL_RSA_EXPORT_WITH_RC2_CBC_40_MD5)
-d <directory path location cmbcmenv.properties> (default current directory)
-seeerr <TRUE | FALSE> (display error messages for add, update and
delete operations (default TRUE))
-a <update> (action) -c <LDAP> (category)
-ldapenabled <TRUE | FALSE> (LDAP enabled (default TRUE)
-ldapdatasourcesenabled <TRUE | FALSE> (LDAP datasources enabled
(default FALSE))
-ldapuserauthenabled <TRUE | FALSE> (LDAP user authentication enabled
(default FALSE))
-ldapfactory <LDAP Java JNDI context factory> (default com.sun.jndi.ldap.
LdapCtxFactory)
-ldapstype <ACTIVE_DIRECTORY | STANDARD_LDAP> (LDAP server type
(default STANDARD_LDAP))
-ldapurl < LDAP service provider url>
-ldapref <follow | ignore> (LDAP referral (default ignore))
-ldapauth <simple> (LDAP referral (default simple))
-ldapuid <LDAP principal>
-ldapcred <LDAP credentials>
-ldaprootdn <LDAP root domain name>
-ldapsrchscope <SUBTREE_SCOPE | ONELEVEL_SCOPE> (LDAP search scope
(default SUBTREE_SCOPE))
-ldapprotocol <none> (LDAP protocol (default none))
-ldapauthattr <LDAP authentication attribute> (default no value)
-ldapport <LDAP port> (default no value)
-ldapdescattr <LDAP user description attribute> (default DN)
-ldapsslkeyring <LDAP IBM SSL keyring name> (default no value)
-ldapsslpwd <LDAP IBM SSL password> (default no value)
-ldapsslcphrs <LDAP IBM SSL ciphers> (default SSL_RSA_EXPORT_WITH_RC4_40_MD5
SSL_RSA_EXPORT_WITH_DES40_CBC_SHA SSL_RSA_EXPORT_WITH_RC2_CBC_40_MD5)
-d <directory path location cmbcmenv.properties> (default current directory)
-seeerr <TRUE | FALSE> (display error messages for add, update and
delete operations (default TRUE))
-a <del> (action) -c <LDAP> (category)
-d <directory path location cmbcmenv.properties> (default current directory)
-seeerr <TRUE | FALSE> (display error messages for add, update and
delete operations (default TRUE)) Examples
- This example adds the CMCFGDIR keyword and value to the cmbcmenv.properties file
which points to a directory where the INI files are located.
java com.ibm.mm.sdk.util.cmbcmenv -a add -c fileSystem -p "c:\Program Files\IBM\db2cmv8\cmgmt" - This example adds the CMCOMMON_URL keyword and value to the cmbcmenv.properties file
which point to a web server directory where the INI files are located.
java com.ibm.mm.sdk.util.cmbcmenv -a add -c URL -url http://www.mycorp.com/cmgmt