Emcli verb based discovery of targets

There are three verbs defined for:

  • psft_discover_direct_targets

  • psft_discover_db_targets

  • psft_discover_prcs_mntr_targets

The verb psft_discover_direct_targets is used to discover the directly discoverable targets. To do this go to OMS_BIN and execute the following:

./emcli psft_discover_direct_targets -input_file=psft_discovery_input:/tmp/
inputDirectTargets.properties" 

inputDirectTargets.properties file should contain below parameters as explained in the table.

Field Name

Sample Value

host

<HOST_NAME>

crawlDepth

2

targetList

ps_app_serverps_piaps_home

discoveryPath

<PS_CFG_HOME>

credName

NC_PSOFT

credOwner

SYSMAN

discoverDB

true

By default discoverDB parameter is set to true. This will automatically discover the Database target if any Appserver or Process Scheduler target is discovered. If the Database target is discovered successfully, then a Peoplesoft System is formed and all the discovered targets will be organized under the system target.

Note: This verb makes Database target discovery verb(explained below) obsolete.

The verb psft_discover_db_targets is used to discover the DB targets. To do this go to OMS_BIN and execute the following:

./emcli psft_discover_db_targets -input_file=psft_db_discovery_input:/
tmp/dbTraget.properties"

dbTraget.properties file should contain below parameters as explained in the table.

Field name

Sample Value

host

abc.us.oracle.com

dbtarget.1

targetName=<app_server_target_name>;targetType=ps_app_server;credName=<CREDNAME>;credOwner=<CREDOWNER>

At this point, only one prcs mntr target gets discovered. After discovery, the process monitor target automatically gets associated with a System target if the system is already formed.

The verb psft_discover_prcs_mntr_targets is used to discover the Process Monitor targets. To do this, go to OMS_BIN and execute the following:

./emcli psft_discover_prcs_mntr_targets -input_file=psft_discovery_input:/
tmp/prcsMontarget.properties"

prcsMontarget.properties file should contain below parameters as explained in the table.

Field Name

Sample value

host

abc.us.oracle.com

prcsmntr.1

targetType=ps_pia;credName=<CREDNAME>;credOwner=<CREDOWNER>;piaName=T58MKD07_peoplesoft.pia.SLC07KVY.home_psadm2_psft_pt_858;wsdlUrl=http://<host>:<port>/PSIGW/PeopleSoftServiceListeningConnector/PROCESSREQUEST.1.wsdl;userName=<PS_USER>;userPwd=<PASSWD>

At this point, only one prcs mntr target gets discovered. After discovery, the process monitor target needs to be manually associated through the logical grouping.

Note: The property file is a name, value pair. The names have to be exactly the same as mentioned in the above examples. The same applies to the format of the values to be passed.