Discover the Container and Pluggable Database Tier
Note:
The database system, including its components (Listener, ASM, and so on), is discovered as part of an Oracle Database discovery. Database system discovery and monitoring is supported only in LINUX environments.For more information on database discovery and monitoring, see "Discover PeopleSoft Database" and "Oracle Database", which you can access from "Explore More", elsewhere in this playbook.
Understand Critical Components of the PeopleSoft Stack Monitoring User Interface
In PeopleSoft's OCI Stack Monitoring page, the Performance, Configuration, Related Resources, and Members sections serve distinct purposes.
- Stack View
Stack View is the feature of Performance Session: Utilize the Stack View to review vital signs across the PeopleSoft stack. Verify that Application Server Domain Health is Ok, its current Load is not Heavy, Server Processes are running and the volume of requests in their corresponding queues is manageable. Perform a similar check for the Process Scheduler Domain’s Health and System Load, and PIA’s Health and System Load. Going down the stack you can review the WebLogic Server’s key metrics such as JVM Memory Utilization and the status of the Thread Pool.
- ConfigurationThis section displays the configuration details of the monitored PeopleSoft stack components. It allows administrators to verify setup details and ensure compliance with best practices. The key features of the Configuration panel include:
- Details of virtual machines, middleware, databases, and application configurations.
- Information about software versions, patch levels, and applied updates.
- Customization and tuning parameters for system optimization.
Complete the Prerequisites
Before starting the discovery process, you need to complete the following prerequisites:
- Enable the PeopleSoft Performance Monitor Agent.
- Enable PeopleSoft Performance Monitor for Pure Internet Architecture (PIA).
- Set the Performance Collator property.
- Enable JMX agents for the application server and process scheduler domains.
- Complete the various database prerequisites.
Enable the PeopleSoft Performance Monitor Agent
To enable the PeopleSoft Performance Monitor agent, from the Linux VM
command line, open the menu-driven psadmin
utility and navigate to the
Application Server Configuration File. Update required parameter accordingly:
Enable PeopleSoft Performance Monitor for Pure Internet Architecture
To enable PeopleSoft Performance Monitor for Pure Internet Architecture (PIA), do the following:
- From PeopleSoft PIA, navigate to PeopleTools then Web Profile then Web Profile Configuration then open the active web profile, for example, PROD.
- If not checked already, select Enable PPM Agent.
- Restart PIA.
Set the Performance Collator Property
Enabling the Performance Collator option tells Tuxedo to start a PSPPMSRV process in the Performance Monitor application server domain.
Min Instances=1
will be started. Minimum and
maximum instances should be set to the same value, as new PSPPMSRV servers
are not spawned on demand.
- Run PSADMIN and choose the domain that you want to configure.
- Select 4) Configure this domain.
- Enter y for the question: Do you want to continue (y/n).
- Toggle 10) Perf Collator to set it to Yes.
- Select 14) Load config as shown.
- Restart the domain.
Enable JMX Agents for the Application Server and Process Scheduler Domains
This prerequisite enables Stack Monitoring to collect availability and performance data for a PeopleSoft application. Do the following for each application server and process scheduler domain:
Complete the Application Tier Prerequisites
Before discovering the PeopleSoft application tier, you need to complete these prerequisites:
- Add your PeopleSoft DNS entries to your local machine’s
/etc/hosts
file and access the PeopleSoft console by using the following commands:- Console URL:
http://hostname:http portnumber
- WebLogic Console
URL:
http://hostname:http portnumber/console
- Console URL:
- Follow the instructions in "PeopleSoft Metrics", in the OCI "Metric Reference" documentation, to ensure additional PeopleSoft-specific parameters are set. See "Explore More", elsewhere in this playbook, for a link to this document.
- Set the Remote Administration to Application Server and PRCS.
Complete the PeopleSoft Database Prerequisites
When discovering the PeopleSoft database, you should use an alternate user. You can also use Sysadm for this task. This solution uses dbsnmp for CDB/PDB discovery and SYSADM to discover the PeopleSoft application.
- Create a monitoring user and assign privileges
To enable monitoring of a PeopleSoft application, create a special database user and provide the required privileges to the user. Typically, in the UNIX environment, the database is located at
/db/oracle-server/19.3.0.0
in the PeopleSoft installation directory. You can log in to the database instance as SYSADM user or with any SYSDBA role.The sample code below uses the schema name SYSADM. If the schema name is different in your setup, replace SYSADM in the following code with that name.
- Provide the PeopleSoft specific grants to the user (for example, DBSNMP)
Use these grants:
GRANT SELECT ON SYSADM.PSSTATUS TO DBSNMP; GRANT SELECT ON SYSADM.PSRELEASE TO DBSNMP; GRANT SELECT ON SYSADM.PSPMAGENT TO DBSNMP; GRANT SELECT ON SYSADM.PS_PTPMJMXUSER TO DBSNMP; GRANT SELECT ON SYSADM.PSIBWSDLDFN TO DBSNMP; GRANT SELECT ON SYSADM.PSIBSVCSETUP TO DBSNMP; GRANT SELECT ON SYSADM.PS_PTSF_SRCH_ENGN TO DBSNMP; GRANT SELECT ON SYSADM.PSPRCSRQST TO DBSNMP; GRANT SELECT ON SYSADM.PSXLATITEM TO DBSNMP;
- Create the following synonyms for the PeopleTools
tables:
CREATE OR REPLACE SYNONYM "DBSNMP"."PSSTATUS" FOR "SYSADM"."PSSTATUS"; CREATE OR REPLACE SYNONYM "DBSNMP"."PSRELEASE" FOR "SYSADM"."PSRELEASE"; CREATE OR REPLACE SYNONYM "DBSNMP"."PSPMAGENT" FOR "SYSADM"."PSPMAGENT"; CREATE OR REPLACE SYNONYM "DBSNMP"."PS_PTPMJMXUSER" FOR "SYSADM"."PS_PTPMJMXUSER"; CREATE OR REPLACE SYNONYM "DBSNMP"."PSIBWSDLDFN" FOR "SYSADM"."PSIBWSDLDFN"; CREATE OR REPLACE SYNONYM "DBSNMP"."PSIBSVCSETUP" FOR "SYSADM"."PSIBSVCSETUP"; CREATE OR REPLACE SYNONYM "DBSNMP"."PS_PTSF_SRCH_ENGN" FOR "SYSADM"."PS_PTSF_SRCH_ENGN"; CREATE OR REPLACE SYNONYM DBSNMP.PSPRCSRQST FOR SYSADM.PSPRCSRQST; CREATE OR REPLACE SYNONYM DBSNMP.PSXLATITEM FOR SYSADM.PSXLATITEM;
Complete the Oracle Database Prerequisites
- Log in to the PeopleSoft node by using SSH and set the ORACLE_HOME and ORACLE_SID to the
CDB.
sudo su – psadm2
export ORACLE_HOME=/opt/oracle/psft/db/oracle-server/19.3.0.0
export ORACLE_SID=CDBFSCM
- Create the DBSNMP password and set it's
PASSWORD_LOCK_TIME
to unlimited:cd $ORACLE_HOME
./bin/sqlplus / as sysdba
alter user dbsnmp identified by xxxxxxyyyyyyzzz account unlock;
Now try logging to PDB as the DBSNMP user.alter profile default limit PASSWORD_LOCK_TIME unlimited;
Discover External Databases
You can discover databases outside of OCI ("external databases"), both single-instance Oracle Databases and Oracle RAC instances, including the database system, by using the Stack Monitoring service. The entire database system is discovered as part of Oracle Database discovery.
Discover the PeopleSoft Application Tier
PeopleSoft discovery involves 3 mandatory resource families: Application Server Domain, Process Scheduler Domain, and PeopleSoft Internet Architecture (PIA) with its underlying Weblogic domain(s).
- Application Server Domain uses Host
- Process Scheduler Domain uses Host
- PIA uses Host
For more information on discovering the PeopleSoft Application Tier, see "PeopleSoft", in the "Resource Discovery and Promotion" OCI documentation, which you can access from "Explore More", elsewhere in this playbook.