Configuration using PCM rules pconfig
BMC PATROL for Oracle WebLogic supports configuration of the KM without the usage of PATROL Console. this can be performed using PCM.
The KM installation contains a rule set file for PCM. The rule set file path file is:$PATROL_HOME/rulesets/Shipped/BEAWLS/3_0_00/BEAWLS_ruleSet.cfg
This file is installed either during custom install of the KM or when it is installed on a host where PCM already exists. The rule set file contains configuration rules required to configure a Oracle WebLogic environment and to enable options for debug reporting.
You can add environments using PCM pconfig, using the following template:
Code Bolck
PATROL_CONFIG
"/BEAWLS/Default/Debug/debugEnabled" = {
REPLACE = "<<true|false>>"
},
"/BEAWLS/Default/Debug/debugFileCount" = {
REPLACE = "<<Number of debug tmp files generated every time the
file reach the size defined below (/BEAWLS/Default/Debug/debugFileSize).>>"
},
"/BEAWLS/Default/Debug/debugFileSize" = {
REPLACE = "<<size of log file for all PSL code in MB>>"
},
"/BEAWLS/WebLogic/<<environment name>>/healthMonitoring" = {
REPLACE = "<<Type of monitoring: Server & Application availability
only=1, General Health=2i, WebLogic system controlled=3, Customer
PMI Selection=4>>"
},
"/BEAWLS/WebLogic/<<environment name>>/hostName" = {
REPLACE = "<<hostname or IP of the system on which WebLogic is
running. Standalone server, Node Agent or DMGR>>"
},
"/BEAWLS/WebLogic/<<environment name>>/instanceName" = {
REPLACE = "<<Instance name on PATROL and BPPM>>"
},
"/BEAWLS/WebLogic/<<environment name>>/isPasswordChange" = {
REPLACE = "1"
},
"/BEAWLS/WebLogic/<<environment name>>/localUser" = {
REPLACE = "<<Local OS account with read and execute permissions on the
directory of $WAS_HOME and $USER_INSTALL_ROOT.>>"
},
"/BEAWLS/WebLogic/<<environment name>>/pmiList" = {
REPLACE = "1,10,11,12,12.1,12.2,12.3,12.4,13,14,15,16,17,18,19,2,20,21,22,23,3,
3.1,3.1.1,3.1.2,3.1.3,3.1.4,3.2,3.2.1,4,5,6,7,7.1,7.1.1,7.2,8,9"
},
"/BEAWLS/WebLogic/<<environment name>>/port" =
{ REPLACE = "<<Monitored WebLogic port to connect with>>"
},
"/BEAWLS/WebLogic/<<environment name>>/protocol" = {
REPLACE = "<<WebLogic connection protocol: SOAP=1, RMI=2>>"
},
"/BEAWLS/WebLogic/<<environment name>>/secure" = {
REPLACE = "<<Usage WebLogic Global Security based connection: Yes=1,
No=0>>"
},
"/BEAWLS/WebLogic/<<environment name>>/setupCmd" = {
REPLACE = "<<Full path of a setupCmdLine.sh. e.g. $USER_INSTALL_ROOT/bin/setupCmdLine.sh>>
},
"/BEAWLS/WebLogic/<<environment name>>/userName" = {
REPLACE = "<<WebLogic Global Security account>>"
},
"/BEAWLS/WebLogic/<<environment name>>/wasLocalVersion" = {
REPLACE = "<<Version of Local WebLogic installation>>"
},
"/SecureStore/BEAWLS_MAIN/<<environment name>>_Pass" = {
REPLACE = "BEAWLS_MAIN;BEAWLS_ENVIRONMENT/<<WebLogic Global Security password>>"
},
"/SecureStore/BEAWLS_MAIN/<<environment name>>_localPassword_Pass" = {
REPLACE = "BEAWLS_MAIN;BEAWLS_ENVIRONMENT/<<Password of local OS account>>"
}
"/BEAWLS/Default/Debug/debugEnabled" = {
REPLACE = "<<true|false>>"
},
"/BEAWLS/Default/Debug/debugFileCount" = {
REPLACE = "<<Number of debug tmp files generated every time the
file reach the size defined below (/BEAWLS/Default/Debug/debugFileSize).>>"
},
"/BEAWLS/Default/Debug/debugFileSize" = {
REPLACE = "<<size of log file for all PSL code in MB>>"
},
"/BEAWLS/WebLogic/<<environment name>>/healthMonitoring" = {
REPLACE = "<<Type of monitoring: Server & Application availability
only=1, General Health=2i, WebLogic system controlled=3, Customer
PMI Selection=4>>"
},
"/BEAWLS/WebLogic/<<environment name>>/hostName" = {
REPLACE = "<<hostname or IP of the system on which WebLogic is
running. Standalone server, Node Agent or DMGR>>"
},
"/BEAWLS/WebLogic/<<environment name>>/instanceName" = {
REPLACE = "<<Instance name on PATROL and BPPM>>"
},
"/BEAWLS/WebLogic/<<environment name>>/isPasswordChange" = {
REPLACE = "1"
},
"/BEAWLS/WebLogic/<<environment name>>/localUser" = {
REPLACE = "<<Local OS account with read and execute permissions on the
directory of $WAS_HOME and $USER_INSTALL_ROOT.>>"
},
"/BEAWLS/WebLogic/<<environment name>>/pmiList" = {
REPLACE = "1,10,11,12,12.1,12.2,12.3,12.4,13,14,15,16,17,18,19,2,20,21,22,23,3,
3.1,3.1.1,3.1.2,3.1.3,3.1.4,3.2,3.2.1,4,5,6,7,7.1,7.1.1,7.2,8,9"
},
"/BEAWLS/WebLogic/<<environment name>>/port" =
{ REPLACE = "<<Monitored WebLogic port to connect with>>"
},
"/BEAWLS/WebLogic/<<environment name>>/protocol" = {
REPLACE = "<<WebLogic connection protocol: SOAP=1, RMI=2>>"
},
"/BEAWLS/WebLogic/<<environment name>>/secure" = {
REPLACE = "<<Usage WebLogic Global Security based connection: Yes=1,
No=0>>"
},
"/BEAWLS/WebLogic/<<environment name>>/setupCmd" = {
REPLACE = "<<Full path of a setupCmdLine.sh. e.g. $USER_INSTALL_ROOT/bin/setupCmdLine.sh>>
},
"/BEAWLS/WebLogic/<<environment name>>/userName" = {
REPLACE = "<<WebLogic Global Security account>>"
},
"/BEAWLS/WebLogic/<<environment name>>/wasLocalVersion" = {
REPLACE = "<<Version of Local WebLogic installation>>"
},
"/SecureStore/BEAWLS_MAIN/<<environment name>>_Pass" = {
REPLACE = "BEAWLS_MAIN;BEAWLS_ENVIRONMENT/<<WebLogic Global Security password>>"
},
"/SecureStore/BEAWLS_MAIN/<<environment name>>_localPassword_Pass" = {
REPLACE = "BEAWLS_MAIN;BEAWLS_ENVIRONMENT/<<Password of local OS account>>"
}
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*