Skip to main content

PeopleSoft Components Startup & Shutdown Scripts - Linux/Unix

Hello World,

I am writing scripts to shutdown PeopleSoft Components (Application Server, Process Scheduler & Web Server). The script will run on a particular Linux Server and will shutdown/start these components on remote servers. There is a configuration file which contains details about each component, one line for each component.

Here is how it works.

The script rapsststp.ksh runs on a Linux server, let us call this as server04. There is a config file rapsststp.cfg which has one line for each component, e.g.



PSEnv:HCTSND:psadm:server05:HCTSND1:AS:/u01/app/psoft/pt/tools:psconfig.sh:1
PSEnv:HCTSND:psadm:server05:HCTSND:PS:/u01/app/psoft/pt/tools:psconfig_hctsnd.sh:1

Field 1 - Fixed with value PSEnv
Field 2 - Name of the environment, e.g. it could be "Sand Box"
Field 3 - The Linux/Unix user name
Field 4 - The Server (remote server where component reside)
Field 5 - Domain Name
Field 6 - Directory where psconfig.sh file exists
Field 7 - psconfig.sh file name

When the script runs, it does what it supposed to do. It stops & starts the PeopleSoft Components.
But there are some issues I am facing.

Issue 1: When I start webserver, it does not detect if its already running, so it initiates a new java process. The original java process is still running. After sometime the new java process disappears but the file PIA.pid now has the new process id, but the process running has the older process id.


Issue 2: When script stops the application server, it shows the usual messages captured in the LOG file (created by the script). But it also has following, which I am not able to find out, from where its coming.
(Resolved, the psconfig.sh file was incorrect in the config file)

"Value for PS_APP_HOME: /u01/app/psoft/pt/hcm/hcprd, is invalid.  Your^M
environment may not work as expected.^M"

You can view/download scripts from the following link
https://drive.google.com/drive/folders/0BxPY_a7s3yD9eVgxNGFiVTNOQnM?usp=sharing

Comments

Popular posts from this blog

JRE Location is either invalid or not specified while Installation of Tuxedo 12 on Oracle Enterprise Linux 7.2

JRE Location is either invalid or not specified while Installation of Tuxedo 12 on Oracle Enterprise Linux 7.2 on Virtual Box 5.2 In the oraparam.ini  JRE_LOCATION is specified but it does not exist. Resolution: Provide correct JAVA_HOME and add to the .bashrc or your profile file. In my case I did "which java" , resulted in "/usr/bin/java" and "java -version" to confirm my java installation. Added "JAVA_HOME=/usr" to the .bashrc file and relogged into ssh ran "./runinstaller.sh"  (I got error running ./runInstaller)

"msvcr100 dll is missing from your computer" when running tnsping

While Install Oracle 12c client Install on Windows 2008 R2, I received error. Problem: While Installing Oracle 12c client 32 bit on Windows 2008 R2 64 bit server, I received the error "msvcr100 dll is missing from your computer". The resolution I found on support.oracle.com was to install/re-install Microsoft Visual C++ 2010 SP1 Redistributable, which I did (64 bit version). But was still getting the same error. The resolution: Install Oracle 12c 64 bit client on Windows 2008 R2 64 bit server. And I am able to successfully tnsping servicename.