Commands To Manage PIA on OAS WebServer | PeopleSoft Tutorial

Commands To Manage PIA on OAS WebServer

Oracle Application Server can be used as a Webserver for installing PIA Website. As part of maintenance of Peoplesoft environment on OAS webserver, you would need to fire commands to start, stop, install, uninstall , check status and various other similar commands. Here is a cheat sheet of some of those most commonly used commands which will help you administer PIA on OAS webserver.

Commands to Manage OAS Webserver

Checking Status of all the instances

Navigate to : $OAS_HOME/opmn/bin
opmnctl status

OR

Navigate to : $OAS_HOME/dcm/bin
dcmctl listcomponents

Stopping PIA

Navigate to : $OAS_HOME/opmn/bin
opmnctl stopproc ias-component=OC4J process-type=pshrcnv

Starting PIA

Navigate to : $OAS_HOME/webserver/opmn/bin
opmnctl startproc ias-component=OC4J process-type=pshrcnv

Restarting PIA

Navigate to : $OAS_HOME/opmn/bin
opmnctl restartproc ias-component=OC4J process-type=pshrcnv

To list all the installed components

Goto $OAS_HOME/dcm/bin

dcmctl listcomponents

Uninstalling PIA via dcmctl

dcmctl removecomponent -component your_pia_install_name
eg: dcmctl removecomponent -component psfsdmo

Note: Make sure none of the PIA files (logfiles, cdg files) are open while uninstalling.
Note: 1810 is default admin port

Starting OAS Server

Navigate to $OAS_HOME/opmn/bin

opmnctl startall

Stopping OAS Server

Navigate to $OAS_HOME/opmn/bin

opmnctl stopall

Getting OAS Console URL and port no.

Navigae to $OAS_HOME/bin

emctl config iasconsole port

Using the Command Line To uninstall individual OC4J instances

At a command prompt, navigate to the location of the dcmctl command within the home folder of the OAS 10g instance from which you want remove PIA. For example:

cd C:\OraHome_1\dcm\bin

Enter the following command:

dcmctl removeComponent -co OC4Jinstancename

For example:

dcmctl removeComponent -co PIA_PeopleSoft

List all the components

dcmctl listComponents

If you know of some other useful commands that could help others, please feel free to share it with us and will update this post with your inputs.

Prashant
 

>