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 -configFile="/ds1/home/emagent/Oracle/Middleware/oms/bin/inputDirectTargets.properties"
Field Name |
Sample Value |
---|---|
host |
<HOST_NAME> |
crawlDepth |
2 |
targetList |
ps_app_serverps_piaps_home |
discoveryPath |
<PS_CFG_HOME> |
credName |
NC_PSOFT |
credOwner |
SYSMAN |
The verb psft_discover_db_targets is used to discover the directly discoverable targets. To do this go to OMS_BIN and execute the following:
./emcli psft_discover_db_targets -configFile="/ds1/home/emagent/Oracle/Middleware/oms/bin/inputDbTargets.properties"
Field name |
Sample Value |
---|---|
host |
S854101R.app.slc06evj.ds1_home_psoft_psft_pt_854 |
targetName |
S854101R.app.slc06evj.ds1_home_psoft_psft_pt_854 |
targetType |
ps_app_server |
credName |
NC_PSOFT |
credOwner |
SYSMAN |
At this point, only one db target gets discovered and this process does not create the system target. To create a system target and to associate the targets to the system, click the Organize target button and execute the logical grouping test case.
The verb psft_discover_prcs_mntr_targets is used to discover the directly discoverable targets. To do this, go to OMS_BIN and execute the following:
./emcli psft_discover_prcs_mntr_targets - configFile="/ds1/home/emagent/Oracle/Middleware/oms/bin/inputPrcsMntrTargets.properties"
Field Name |
Sample value |
---|---|
host |
slc06evj.us.oracle.com |
targetType |
ps_pia |
credName |
NC_SLC06EVJ_PSOFT |
credOwner |
SYSMAN |
piaName |
S854903R.pia.slc06evj.ds1_home_psoft_psft_pt_854 wsdlUrl=http://<HOST_NAME>:<PORT>/PSIGW/PeopleSoftServiceListeningConnector/QE_LOCAL/PROCESSREQUEST.1.wsdl |
userName |
QEDMO |
userPwd |
QEDMO |
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.