mardi 24 mai 2011

Update PSIGW configuration without restarting the PIA

If you need to reconfigure the PeopleSoft Integration Gateway, you can avoid downtime for users by redeploying only the Gateway.
With this methodology, you don’t need to restart the PIA.

1st modify the gateway configuration files as desired that reside in:
$PIA_HOME/myWebserver/applications/peoplesoft/PSIGW.war/WEB-INF
You can modify the 2 following files:
integrationGateway.properties (the gateway parameters)
gatewayUserProfile.xml (the gateway user and password)

2nd use the Deployer tool to redeploy the PSIGW module
cd $PIA_HOME/myWebserver/bin
. ./setEnv.sh

a) run the following command if you are running a one PIA server
java -classpath weblogic.jar weblogic.Deployer -adminurl myserver.mydomain.net:9999 -verbose -username system -password mypassword -name peoplesoft -redeploy -targets PSIGW@PIA

a) run the following command if you are running a PeopleSoft Cluster
java -classpath weblogic.jar weblogic.Deployer -adminurl myserver.mydomain.net:9999 -verbose -username system -password mypassword -name peoplesoft -redeploy -targets PSIGW@peoplesoftCluster

c) or run the following command if you want to redeploy the PSIGW module on both PIA and PeopleSoft Cluster
java -classpath weblogic.jar weblogic.Deployer -adminurl myserver.mydomain.net:9999 -verbose -username system -password mypassword -name peoplesoft -redeploy -targets PSIGW@PIA,PSIGW@peoplesoftCluster

The output will look like this:
<May 20, 2011 9:51:36 PM GMT+10:00> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating redeploy operation for application, peoplesoft [archive: null], to PIA .>
Task 2 initiated: [Deployer:149026]redeploy application peoplesoft on PIA.
Task 2 completed: [Deployer:149026]redeploy application peoplesoft on PIA.
Target state: redeploy completed on Server PIA

1 commentaire:

  1. Hello. When accessing PSIGW / errorLog.html via web. The errors are not updated for a long time.
    Could you please tell me how to solve the inconvenient?

    Thanks in advance

    RépondreSupprimer