PATROL Configuration Manager (PCM) rule sets configuration

To configure instances using the PATROL Configuration Manager rule sets, you must set the values for the pconfig variables listed in Pconfig variables in the PcmConfig.cfg file.

The product creates the PcmConfig.cfg file at the $PATROL_HOME/../oracle/rulesets directory for UNIX and the %PATROL_HOME%\oracle\rulesets directory for Microsoft Windows.

When you apply the rule set to the configured Agent, the Agent automatically configures all the instances for which the rule sets have been created.

For the details of the configuration, you can see the BatchConfig Agent-port-no.log file that is created at the $PATROL_HOME/../oracle/conf directory for UNIX and the*%PATROL_HOME%\oracle\conf* directory for Microsoft Windows*.*

The following is an example of PcmConfig.cfg:

PATROL_CONFIG
"/OracleConfig.PcmConfigFlag" = {
REPLACE = "1"
},
! Multiple instances need to be separated with comma
"/OracleConfig.InstanceListToConfigure" = {
            REPLACE = "ORA12DB2"
},
! Specify for Agent Version 3.8 and later
! Enter Patrol Database Monitoring Account
"/SecureStore/ORACLE_INSTANCE.ORA12DB2.patrolacc" = {
            REPLACE = "ORACLE/PatrolMon\\PatrolMon"
},
! Name of Default Permanent Tablespace
"/OracleConfig.ORA12DB2.DefaultTablespace" = {
            REPLACE = "USERS"
},
! Name of Default Temporary Tablespace
"/OracleConfig.ORA12DB2.TempTablespace" = {
            REPLACE = "TEMP"
},
! Name of Default user profile. as default: DEFAULT.
"/OracleConfig.ORA12DB2.UserProfile" = {
            REPLACE = "DEFAULT"
},
! If the field is blank, default Application classes AVAILABILITY COLLECTORS will be !considered.Inser categories separated with space
"/OracleConfig.ORA12DB2.Categories" = {
            REPLACE = "AVAILABILITY COLLECTORS CAPACITY DB_LINKS ENVIRONMENT JOBS LOG MTS NETWORK PERFORMANCE PQO REPLICATION SGA SQLVIEWER USERS PLUGABLE"
},
! Applicable for NT platform OR if the Instance is Remote
"/OracleConfig.ORA12DB2.Home" = {
            REPLACE = "/data1/oracle/oracle_home"
}

Note

In PATROL for Oracle 9.7.11.02, if the user password contains special characters, specify the password within the double quotes. Example: “%BMC$"

Note

You can also add the option to configure PCM without using the privilege user account, you can only use the monitored user.

The following is example for cfg file without sys.

PATROL_CONFIG
"/OracleConfig.PcmConfigFlag" = {
            REPLACE = "1"
},
! Multiple instances need to be separated with comma
"/OracleConfig.InstanceListToConfigure" = {
            REPLACE = "ORA12DB2"
},
! Specify for Agent Version 3.8 and later
! Enter Patrol Database Monitoring Account
"/SecureStore/ORACLE_INSTANCE.ORA12DB2.patrolacc" = {
            REPLACE = "ORACLE/PatrolMon\\PatrolMon"
},
! If the field is blank, default Application classes AVAILABILITY COLLECTORS will be !considered.Inser categories separated with space
"/OracleConfig.ORA12DB2.Categories" = {
            REPLACE = "AVAILABILITY COLLECTORS CAPACITY DB_LINKS ENVIRONMENT JOBS LOG MTS NETWORK PERFORMANCE PQO REPLICATION SGA SQLVIEWER USERS PLUGABLE"
},
! Applicable for NT platform OR if the Instance is Remote
"/OracleConfig.ORA12DB2.Home" = {
            REPLACE = "/data1/oracle/oracle_home"
}


Note

You can configure more than one instance using PCM. In this case you need to add the other instances details and update InstanceListToConfigure with the other instances separated by comma.

After creating PcmConfig.cfg file, you need to load it to pconfig then apply configuration. The discovery process verifies the pconfig values and then it configures.

Note

You can remove the usage of username and password, if it is not automatic configuration for the main instance.

Was this page helpful? Yes No Submitting... Thank you

Comments