Get Started with the Deployment Process
Deploying observability and management stack monitoring for PeopleSoft applications requires three major steps:
- Configure licensing for your chosen edition, Standard or Enterprise, and for any resources or compartments used in your deployment.
- Discover and promote the resources used in your deployment.
- Use the OCI command-line interface (CLI) to discover new resources, create required associations between Stack Monitoring resources, or refresh the entire topology.
Configure Licensing
Stack Monitoring offers two editions: Standard and Enterprise. The Standard Edition monitors on-premises and cloud-deployed applications and tech stacks, including WebLogic, Tomcat, Oracle Database, and hosts. The Enterprise Edition adds advanced features like Metric Extensions, performance baselines, anomaly detection, and OCI resource integration for enhanced monitoring.
Note:
The steps for assigning licenses at either level are beyond the scope of this playbook. You can access the relevant procedures required for each assignment level, identified in the specific section, below, from "Explore More", elsewhere in this playbook.Configure Licensing for Compartment-Specific Features
You can set the resource license auto-assignment to Enterprise or Standard for all newly resources discovered or promoted resources within a compartment. Configuring license auto-assignment is a convenient way to automatically assign a license instead of applying it on a per resource instance basis. Additionally, you can enable or disable enterprise extensibility for an entire compartment.
Procedures for configuring licensing for compartment-specific features are described in "Licensing Assignment", in the Oracle Cloud Infrastructure documentation, which you can access from "Explore More".
Configure Licensing for Resource-Specific Features
Resource license assignment can done at the individual resource level during discovery or after discovery by using the Licensing UI. License changes applied to a composite apply to all children; that is, when applying Enterprise Edition License to a WebLogic Domain, all WebLogic Servers associated to the domain will also receive the Enterprise Edition.
During discovery, you can assign a license to the resource by selecting the corresponding radio button. You can also modify a resource license after a resource has been discovered by using the License UI. These procedures are described in "Licensing Assignment", in the Oracle Cloud Infrastructure documentation, which you can access from "Explore More".
Discover and Promote Resources for PeopleSoft
To monitor resources by using Stack Monitoring, you must first discover and promote these resources. Promotion prepopulates information related to the resource. You should validate this information to make sure that it is correct. The prerequisites and input parameters for promotion are the same as those for user-initiated discovery.
PeopleSoft discovery involves three mandatory resource families: the application server domain, process scheduler domain, and PeopleSoft Internet Architecture (PIA) with its underlying Weblogic domain(s). Each resource family may include one or more of these resources, which can span several servers.
- Discover the PeopleSoft database.
- Establish database grant privileges for PeopleSoft monitoring.
- Enable PeopleSoft Performance Monitor for Pure Internet Architecture (PIA).
- Meet prerequisites for the application server and process scheduler domains.
- Identify domains to be discovered.
- Add domains manually.
- Enable Elasticsearch discovery.
- Enable process monitor discovery.
Note:
The steps for discovering and promoting resources are beyond the scope of this playbook. You can access the relevant procedures required for each assignment level, identified in the specific section, below, from "Explore More", elsewhere in this playbook.Discover the PeopleSoft Database
You need to discover the Oracle Database containing the PeopleSoft schema before discovering the PeopleSoft application.
By discovering the database first, it becomes automatically associated with PeopleSoft application once PeopleSoft resource discovery completes. If you perform PeopleSoft application discovery before the database is discovered, you'll need to create the association manually. See Application Topology for more information. To discover the Oracle database, see "Oracle Database", which you can access from "Explore More", elsewhere in this playbook..
Establish Database Grant Privileges for PeopleSoft Monitoring
When discovering PeopleSoft Stack Monitoring, you can use the PeopleSoft schema owner, typically SYSADM, as the database credentials. You should create a monitoring user with only the privileges necessary to monitor a PeopleSoft application. Use the same database user to monitor both the Oracle database containing the PeopleSoft schema and the PeopleSoft application.
To create a database monitoring user, see the MOS Note: 2857604.1. For further information, also see "DB Grant Privileges for PeopleSoft Monitoring" in the OCI documentation. You can access both of this documents from "Explore More", elsewhere in this playbook.
Enable the PeopleSoft Performance Monitor for Pure Internet Architecture (PIA)
- Enable the PPM agent until the discovery or refresh is finished, then disable it and restart the domains.
- Manually INSERT/DELETE all PeopleSoft domain information. This will eliminate the need to enable Enable PPM agent.
- Navigate to PeopleTools, go to Web Profile, click Web Profile Configuration, and search for the profile in use; for example, PROD.
- If not checked already, select Enable PPM Agent.
- Restart all PIA domains.
Meet Prerequisites for Application Server and Process Scheduler Domains
Next. you need to meet the prerequisites for each application server and process scheduler domains. PeopleSoft discovery assumes that the remote administration user ID/password for JMX access is the same for all application server domains, and also for all process scheduler domains.
- Enable the PeopleSoft Performance Monitor agent.
- Enable JMX agents.
- Enable the Performance Collator Property.
The following topics provide high-level steps for completing these tasks. For detailed procedures, see "Prerequisites for Application Server and Process Scheduler Domains" in the Stack Monitoring OCI documentation, which you can access from "Explore More", elsewhere in this playbook.
Enable the PeopleSoft Performance Monitor Agent
To enable the PeopleSoft Performance Monitor Agent, do the following:
- Open up the domain configuration files in edit mode. From the PSADMIN command-line interface. select Application Server (Option 1) or Process Scheduler (Option 2) then Administer a domain (Option 1) then Select Domain then Edit configuration/log files menu(option 6) then Edit domain configuration file (Option 1).
- Under the PSTOOLS section, check the value for EnablePPM Agent.
- Enable the PPM Agents, set the value to 1, and save the file.
Enable JMX Agents
This prerequisite enables Stack Monitoring to collect availability and performance data for a PeopleSoft application. Here are the high-level steps:
Enable the Performance Collator Property
Before enabling the Performance Collator property, check the current value
of Performance Collator in the domain template files psprcsrv.ubx
(Process scheduler) and psappsrv.ubx
(Application Server) located under
$PS_CFG_HOME
.
{PPM} Do you want Performance Collators configured (PSPPMSRV) (y/n)? [y]:
If the Performance Collator is disabled, you will see this entry:
{PPM} Do you want Performance Collators configured (PSPPMSRV) (y/n)? [n]:
If the Performance Collator is already enabled and changes were implemented to EnablePPM
Agent or JMX values, you can restart all domains. If the Performance Collator is not
already enabled, do the following:Identify Domains to be Discovered
Stack Monitoring leverages the information stored within the Oracle Database to identify domains to be discovered or refreshed.
SELECT * FROM PSPMAGENT;
Before discovering or
refreshing the PeopleSoft application, you should remove any domains returned by the
query that no longer exists. Note:
If you need to add a domain that is not listed, see the following topic, "Adding domains manually".- Back up the PSPMAGENT table prior to making changes.
create table PSPMAGENT_BKP_DATE as select * from PSPMAGENT;
where DATE with the current timestamp
- Verify the back-up table you created has same content as parent
table.
select * from PSPMAGENT MINUS select * from PSPMAGENT_BKP_DATE;
PSPMAGENT
match
PSPMAGENT_BKP_DATE
, proceed removing stale domains:
delete from PSPMAGENT WHERE PM_AGENTID='&enter_agent_id_of_stale_domain';
Commit;
Add Domains Manually
Next, check whether all valid domains are visible from the PSPMAGENT table. If any valid domains are not showing up, use the queries in the following topics. The agent host should be able to reach all other hosts using the hostname from the PM_HOST_PORT column stored in PSPMAGENT table.
- Process Scheduler domain
- Application Server domain
- PIA Server
- Prior to making changes, log in as the system administrator or
equivalent userand back up the table:
wherecreate table PSPMAGENT_BKP_DATE as select * from PSPMAGENT;
DATE
is the current timestamp. - Verify the back-up table you created has same content as parent
table. The rows count from
PSPMAGENT
should match the rows count fromPSPMAGENT_BKP_DATE
:
whereselect * from PSPMAGENT MINUS select * from PSPMAGENT_BKP_DATE;
DATE
is the current timestamp.
- Process Scheduler
domain
INSERT INTO PSPMAGENT values ('&AGENT_ID','&PM_JMX_RMI_PORT','PSMONITORSRV','&DOMAIN_NAME','04','&DOMAIN_DIR','Y','&HOST_PORT:','1','1','N');
- Application Server
domain
INSERT INTO PSPMAGENT values ('&unique_agent_id','&JMX_RMI_PORT','PSMONITORSRV','&DOMAIN_NAME','01','&DOMAIN_DIR','Y','&host_name:&jolt_port','1','1','N');
- PIA
Server
INSERT INTO PSPMAGENT values ('&unique_agent_id','-1','WEBRESOURCE','&DOMAIN_NAME','02','&DOMAIN_DIR','Y','&host_name:&http_port:&https_port','1','1','N');
Enable Elasticsearch Discovery
refresh
command, and add the Elasticsearch database
grants to the monitoring user. For more information regarding
grants, see "Establish Database Grant Privileges for PeopleSoft Monitoring", above,
and for more information regarding CLI refresh commands, see "Refresh PeopleSoft
Instances", elsewhere in this playbook.
- Stack Monitoring only supports monitoring Elasticsearch configured with SSL. Its endpoint must be HTTPS. For more information on the setup of Elasticsearch, see "Configuring SSL between PeopleSoft and Elasticsearch", which you can access from "Explore More", elsewhere in this playbook.
- Before discovering Elasticsearch, create a JKS
truststore (JKS is the only supported trust store) on the
monitoring agent host to store the certificate from
Elasticsearch. This truststore's location and password are
required parameters in the discovery UI or in the discovery
JSON when attempting discovery via CLI. Additionally, the
trust store location has to be accessible on the agent host.
For example:
keytool -keystore truststore.jks -alias ALIAS -import -file ELASTICSEARCH_CERTIFICATE
Enable Process Monitor Discovery
The Process Monitor is discovered alongside PeopleSoft and is enabled by default when discovering a PeopleSoft application. Selecting No under the Discover Process Monitor section excludes Process Monitor from the PeopleSoft discovery.
Process Monitor discovery is optional. If the
Process Monitor is enabled already then you can include it in the initial discovery. To
integrate the Process Monitor in the future, use the PeopleSoft CLI refresh
command, and add the Process Monitor DB grants to the monitoring user. For more information
regarding grants, see "Establish Database Grant Privileges for PeopleSoft Monitoring", above,
and for more information regarding CLI refresh commands, see "Refresh PeopleSoft Instances",
elsewhere in this playbook.
There are no properties required for Process Monitor discovery.
Process Monitor discovery is included by default. To opt out, select No on the Discover Process Monitor in the Resource discovery panel.
For more information, see "Enable Process Monitor discovery for PeopleSoft", which you can access from "Explore More", elsewhere in this playbook.
Update Application Topology
You can use the OCI CLI to discover new resources, create required associations between Stack Monitoring resources, or refresh the entire topology. Specifically, you can use the CLI to create associations between the database and PeopleSoft.
- Manage PeopleSoft domains.
- Refresh PeopleSoft instances.
Manage PeopleSoft Domains
Stack Monitoring leverages domain information contained in the PSPMAGENT table for discovery. If your PeopleSoft domain is missing, you can create the necessary domain information manually by following the steps outlined in "Add Domains Manually", elsewhere in this playbook.
Refresh PeopleSoft Instances
PeopleSoft application refresh refreshes of the following Stack Monitoring resource types:
oracle_psft
oracle_psft_appserv
oracle_psft_prcs
oracle_psft_pia
weblogic_domain (including members)
Refresh will not validate the credentials for new domains found during the refresh process. If, during the discovery process, any failed domains were discovered, these could be stale domains, they might not be accessible for JMX connections from the agent, or for other reasons. Once the underlying issues are resolved, ensure that the common credentials are valid for each of the new domains that you intend to add by validating via a JMX connection from the agent host and then performing a refresh operation. Once the refresh succeeds, the new domains are added. These domains use the same common credentials with which the previoiusly discovered domains are configured.
A refresh will also refresh the existing associated WebLogic domains and their members.
When new PIA instances are added, performing PeopleSoft refresh will discover the newly added PIA resource but it will not discover the underlying new WebLogic domain. You need to discover the WebLogic domain manually by using the CLI to associate that new WebLogic Domain with the newly discovered PIA.
- To refresh from the UI, from the home page of the resource, click Refresh below the resource name. On the confirmation message, click OK to open the Resource Discovery panel in a new tab. You can track the status of submitted refresh job here.
- To refresh by using CLI, you must run
discovery-job create
. This option involves a JSON file. To allow resource deletion during the refresh operation, you must add theallow_delete_resources
property to the payload, along with theresource_id property
and the monitoring agent ID property. Theresource_id
is the ID of the PeopleSoft resource needing to be refreshed.To refresh PeopleSoft instances by using the CLI, use this command:oci stack-monitoring discovery-job create --compartment-id "Compartment_OCID" --discovery-type REFRESH --discovery-details file:///tmp/psft_refresh_dev.json
For more details on refreshing PeopleSoft instances, see "PeopleSoft Refresh" in the OCI documentation, which you can access from "Explore More", elsewhere in this playbook.