This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

Tuesday, 23 April 2013

How to clone root account in linux

-->
If you want to make your account have the same right as root, you can clone root / duplicate root account. Here’s how to do that :

Suppose you have create user admin and you want that user to have the same right as root then you can do that just by simply typing the following command (make sure you login with root account or su) :

# usermod -u 0 admin
or
$ sudo usermod -u 0 admin

that's it … try login with user admin and if you got the # prompt, you know what it means …

Wednesday, 12 December 2012

ORACLE-BASE - Basic Enterprise Manager Troubleshooting

ORACLE-BASE - Basic Enterprise Manager Troubleshooting:

'via Blog this'

Sunday, 21 October 2012

how to check linux kernel is 32 bit or 64 bit

how to check linux kernel is 32 bit or 64 bit:

'via Blog this'

Friday, 12 October 2012

Application Designer on Linux | Blog

Application Designer on Linux | Blog:

'via Blog this'

Wednesday, 29 August 2012

MySandbox: Moving the control, data and redo log file of an Oracle 11g R2 database to a new location

MySandbox: Moving the control, data and redo log file of an Oracle 11g R2 database to a new location:

'via Blog this'

Saturday, 26 May 2012

ORA-00022: invalid session ID; access denied Process ID: 10610 Session ID

This is related to Second DB Connection, and can be worked around.  In the  psappsrv.cfg & psprcs.cfg make the DbFlags=4, to disable Second DB Connection.

Wednesday, 2 May 2012

Missing or Invalid Version of SQL Library libpsora

Taken from customer connection..



E:AS Missing or Invalid Version of SQL Library libpsora PeopleTools 8.48+ on Oracle 10g and 11i [ID 650409.1]

Modified 30-MAR-2012     Type PROBLEM     Status ARCHIVED

In this Document
  Symptoms
  Cause
  Solution

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version: 8.48 to 8.51   [Release: 8.4 to 8.4]
Generic Linux
***Checked for relevance on 23-Aug-2011***

Symptoms

Application server can't start because of bad link.  The application server is looking for a library that does not exist: dlopen in libpscompat failed for libpsora.sl: ld.so.1: PSAPPSRV: fatal: libclntsh.sl.9.0: open failed: No such file or directory

stderr file has errors similar to:

/usr/lib/pa20_64/dld.sl: Unable to find library 'libclntsh.sl.9.0'.


stdout file has the error:

shl_load in libpscompat failed for libpsora.sl


Cause

Not Applicable

Solution

PeopleSoft now supports 64 bit Oracle for PeopleTools 8.48 and later. The library libclntsh.so.10.1 (Oracle 10g) libclntsh.so.11.1 (Oracle 11i) must be linked in the 64 bit lib directory.

NOTE: On Linux platforms for PeopleTools 8.48 and 8.49 we are still using the 32 bit libraries for the application server. Starting with PeopleTools 8.50 Linux now uses the 64 bit libraries. Make sure you are linking the libclntsh.sl.9.0 file from the $ORACLE_HOME/lib32 directory if running 64 bit Linux prior to PeopleTools 8.50. If you have only installed the Oracle 32 bit client on Linux you may only have the lib directory and not lib32, so do the link from the lib directory in this case.

If stderr error reports an error with libclntsh.sl.9.0, run the link command in the $ORACLE_HOME/lib directory as the oracle user :

     ln -s $ORACLE_HOME/lib/libclntsh.sl.10.1 libclntsh.sl.9.0    (Oracle 10g)

     ln -s $ORACLE_HOME/lib/libclntsh.so.11.1 libclntsh.sl.9.0    (Oracle 11i)

If stderr error reports an error with libclntsh.so.9.0, run the link command in the $ORACLE_HOME/lib directory as the oracle user :

     ln -s $ORACLE_HOME/lib/libclntsh.so.10.1  libclntsh.so.9.0   (Oracle 10g)
     
     ln -s $ORACLE_HOME/lib/libclntsh.so.11.1 libclntsh.so.9.0 (Oracle 11i)

** NOTE ** Check your library name in the $ORACLE_HOME/lib directory to make sure it it the exact name above. It the name differs replace above name with yours.


Make sure your LIBPATH, SHLIB_PATH or LD_LIBRARY_PATH references the $ORACLE_HOME 64 bit libraries ($ORACLE_HOME/lib).


Check your $PS_HOME/install/psdb.sh script and make sure the PATH's in there points to the 64 bit libraries for Oracle.

On PeopleTools 8.48+ the location of psdb.sh is $PS_HOME/setup

After fixing this, re-logon as the psoft account to reset your environment. Make sure you reconfigure your domain so it picks up the new changes. Check your $PS_HOME/appserv/DomainName/psappsrv.env file to ensure that your environment has the Oracle 64 bit libraries in your LIBPATH, SHLIB_PATH or LD_LIBRARY_PATH and not $ORACLE_HOME/lib32.

Changing hostname – The UNIX way!

While the /etc/hosts file is generally the first to come to mind when you think about changing the name of a Unix system, modifying this file is only one step in the process. The other files that need to be changed depend on which particular version of “*nix” you are running.

The following is a list of UNIX flavors and methods of changing hostname permanently on each system.

Solaris

On Solaris, there are three files that you need to edit. These include /etc/hosts, /etc/hostname. and /etc/nodename.
- Edit /etc/hosts with vi and update to the new hostname.
- Similarly update /etc/nodename using an editor or “echo newhost > /etc/nodename”
- Lastly, edit /etc/hostname.. The should be replaced by the name of the particular network interface on your server. For example, a common name is /etc/hostname.hme0. If you’re not sure about the interface name, simply do an ‘ifconfig -a’, this’ll display the network interface name.
Once you’ve updated the above 3 files, best thing is to reboot your system or if can’t reboot right away, you can execute ‘uname -S ‘ command to assign the new hostname immediately.

Redhat Linux (Fedora, Mandriva, PCLos)

On Redhat based Linux systems, the primary setting for the system hostname is included in the /etc/sysconfig/network file.
- Open this file in editor, you should see something like this:
—————————————————-
NETWORKING=yes
HOSTNAME=abc.example.com
—————————————————-
- and of course the /etc/hosts file.

Debian/Ubuntu Linux

Debian based systems use the file /etc/hostname to read the hostname of the system at boot time and set it up using the init script /etc/init.d/hostname.sh.
- Edit /etc/hostname and update to your new hostname, you can then run /etc/init.d/hostname.sh to activiate the change.
- Update your /etc/hosts file to refelect new hostname
You can also use sysctl to change the hostname:
- sysctl kernel.hostname (To read the current hostname)
- sysctl kernel.hostname=NEW_HOSTNAME (to change it)
To change in gui in Ubuntu you can click to:
- System > Administration > Networking > General tab > Host name field

Slackware Linux

Similar to Debian except the it is uppercase HOSTNAME.
- Edit /etc/HOSTNAME and update to new value
- Update /etc/hosts to new hostname value as well

SuSE Linux

To change hostname permanently on SuSE Linux
- Edit the file /etc/HOSTNAME and change the value in it, Save and exit
- Update /etc/hosts to new hostname value

Mac OSX

To change hostname on a Mac OSX server…
- Edit /etc/hostconfig and update to your new hostname
- And of course the /etc/hosts file needs to be adjusted to your new host
You can also execute the following command:
- sudo scutil –set HostName abc.example.com

OpenBSD

Very similar to Solaris operating system.
- Update to new hostname in /etc/hosts file
- Make appropriate change in /etc/myname
- Lastly, /etc/hostname.. Similar to Solaris, you’ll need to identify system interface and update this file appropriately.

HP-UX

The script /sbin/set_parms changes system parameters including hostname and IP address.
- /sbin/set_parms

Digital Unix

- Edit /etc/hostname.driver
- As well as /etc/hosts file

FreeBSD

To change hostname do:
- Edit /etc/rc.conf and update to new hostname value
- Edit /etc/hosts

AIX

AIX stores all its information in ODM (Object Database Manager) including hostname value. There are a couple ways of doing it:
- chdev -l inet0 -a hostname=thomas
Or you can use smitty as well.

NetBSD

- Edit /etc/myname
- And of course edit /etc/hosts file :)

SCO Unix

I don’t know who in their right mind would run SCO these days. But anyhow the way to change hostname permanently is:
- sys-unconfig

IRIX

I can understand why IRIX may still be used. To change hostname:
- Edit /etc/sys_id and update to new host value
- Edit /etc/hosts as well
Then reboot your workstation/server for changes to take affect.
Finally, some general facts about all Linux distros. The following are commands that are unique to all flavors of Linux:
To print current system hostname on the system:
- hostname
- uname -n
- cat /etc/hosts | grep 127.0.0.1
To print the fully qualified domain name of the system:
- hostname -fqd
To temporarily update the system to new hostname:
- hostname new_hostname
- echo “new hostname” > /proc/sys/kernel/hostname
On most Linux flavors, you can also execute the command:
- netconfig

Thursday, 22 March 2012

The Application has Failed to Start Because its Side-by-side Configuration is Incorrect

Issue: The Application has Failed to Start Because its Side-by-side Configuration is Incorrect

If any time you face issue like this when you open any executable of peopletools, it means VC++ compiler is not installed. you can install it from PSHOME/setup/vcr directory.

Thanks,
Praveen Joshi

Monday, 30 January 2012

PeopleSoft Process Scheduler

Processes Stuck at Queued 

There are a number of reasons why a process might be stuck at queued. The most obvious is that the process scheduler is down (check the Servers tab in the process monitor). Beyond this, there are some useful troubleshooting that apply:
Check the following tables:


  • PSPRCSRQST 
  • PSPRCSQUE 
  • PSPRCSPARMS


The row count should be the same in both tables. If one is out of sync with the other, then it can help to remove orphaned instances in of the tables. Restarting the process scheduler and clearing the process scheduler cache will also fix a number of issues.


Run status

In the PeopleTools 8.4x look at the translates on the field RUNSTATUS or use the query.

select FIELDVALUE, XLATLONGNAME 
from PSXLATITEM
where FIELDNAME = 'RUNSTATUS'


Here's a summary of the run status translates (from PeopleTools 8.49). Note that not all of these are active.






















ValueStatus
1Cancel
2Delete
3Error
4Hold
5Queued
6Initiated
7Processing
8Cancelled
9Success
10Not Successful
11Posted
12Unable to Post
13resend
14Posting
15Content Generated
16Pending
17Success with Warning
18Blocked
19Restart



The following query will give you a summary of the process run statuses in your process request table:



select     
RUNSTATUS,
(
select XLATSHORTNAME
from PSXLATITEM
where FIELDNAME = 'RUNSTATUS'
and FIELDVALUE = RUNSTATUS
) as RUNSTATUS_DESCR,
count(PRCSINSTANCE)
from
PSPRCSRQST
group by
RUNSTATUS
order by
RUNSTATUS;




Summary of requested processes by process 
status.




The following query will give you a summary of the requested processes by process status.




select
RQST.RUNSTATUS,
RQST.PRCSTYPE,
(
select XLAT.XLATLONGNAME
from PSXLATITEM XLAT
where XLAT.EFFDT = (
select max(XLAT_ED.EFFDT)
from PSXLATITEM XLAT_ED
where XLAT_ED.FIELDNAME = XLAT.FIELDNAME
and XLAT_ED.FIELDVALUE = XLAT.FIELDVALUE
) and XLAT.FIELDNAME = 'RUNSTATUS'
and XLAT.FIELDVALUE = RQST.RUNSTATUS
) as RUNSTATUS_XLAT,
count(RQST.PRCSINSTANCE) as TOTAL_PROCESSES,
min(RUNDTTM) as FIRST_OCCURRED,
max(RUNDTTM) as LAST_OCCURRED
from PSPRCSRQST RQST
group by RQST.RUNSTATUS, RQST.PRCSTYPE
order by RUNSTATUS_XLAT, RQST.PRCSTYPE




Distribution



The following tables store information about the distribution of process scheduler output to users or roles.


PS_PRCSDEFNCNTDIST
Distribution settings for process definitions.


PS_PRCSJOBCNTDIST
Distribution settings for jobs.


PS_PRCSRQSTDIST
Distribution settings by process instance. Join to PS_CDM_FILE_LIST on the process instance to get the file names.


PS_PRCSRUNCNTLDIST
Distribution by operator ID and run control.

Taken from http://peoplesoft.wikidot.com

Thursday, 22 December 2011

script to start and PeopleSoft Application server and process Scheduler



#!/bin/sh
export DATE=`date`
ORACLE_HOME=/oracle/fin/oracle/11.2.0/db_1;export ORACLE_HOME
ORACLE_SID=xxxxxxxxxxxx;export ORACLE_SID
export TERM=vt100
export PATH=$PATH:/usr/local/bin:/usr/bin:/usr/sbin:.
export EPC_DISBLED=TRUE
export EPC_DISABLED=TRUE
stty erase ^?
ORAENV_ASK=YES;export ORAENV_ASK
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
mv /psoft/fin/xxxxxxxxxxxx/appserv/xxxxxxxxxxxx/LOGS/APPSRV.LOG /psoft/fin/xxxxxxxxxxxx/appserv/xxxxxxxxxxxx/LOGS/APPSRV.LOG.old
rm -R /psoft/fin/xxxxxxxxxxxx/appserv/xxxxxxxxxxxx/CACHE/*
print "Environment brought up at : " $DATE
. /psoft/fin/xxxxxxxxxxxx/psconfig.sh
cd $PS_HOME/appserv
echo STARTING UP  APPSERVER
psadmin -c boot -d xxxxxxxxxxxx
#echo STARTING UP PROCESS SCHEDULER
psadmin -p start -d xxxxxxxxxxxx
$DATE

Script to Shut Down Application Server in UNIX



#!/bin/sh
export DATE=`date`
ORACLE_HOME=/oracle/fin/oracle/11.2.0/db_1;export ORACLE_HOME
ORACLE_SID=xxxxxx;export ORACLE_SID
export TERM=vt100
export PATH=$PATH:/usr/local/bin:/usr/bin:/usr/sbin:.
export EPC_DISBLED=TRUE
export EPC_DISABLED=TRUE
stty erase ^?
ORAENV_ASK=YES;export ORAENV_ASK
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
print "Environment brought down at : " $DATE
. /psoft/fin/ xxxxxx /psconfig.sh
cd $PS_HOME/appserv
echo SHUTTING DOWN PROCESS SCHEDULER
psadmin -p kill -d xxxxxx
echo SHUTTING DOWN APPSERVER
psadmin -c shutdown! -d xxxxxx
echo 'Sleeping for 120 seconds to shutdown the APPS Server'
sleep 120
$DATE

How to delete older files in UNIX



export PATH=${PATH}:/usr/contrib/bin
FILESPATH="/location from where you have to delete files"
cd $FILESPATH
print "Following files will be deleted"
find . -name '*.log' -print -mtime +30 -exec ls -l {} \+
find . -name '*.LOG' -print -mtime +30 -exec ls -l {} \+
find . -name '*.tracesql' -print -mtime +30 -exec ls -l {} \+
print "Files older than 30 days deleted"
rm -rf *.log -print -mtime +30 -exec ls -l {} \+
rm -rf *.LOG -print -mtime +30 -exec ls -l {} \+
rm -rf *.tracesql -print  -mtime +30 -exec ls -l {} \+

Sunday, 11 December 2011

PeopleSoft Installation in 18 steps

PeopleSoft Installation: 18 Easy Steps

Hradware Requirements:
Ø Minimum 2gb RAM
Ø  Minimum 50gb of space on hard drive
Ø  Windows xp or above

Peoplesoft Installtaion: versions of softwares used
Ø   PeopleTools version 8.50
Ø  HRMS version 9.1
Ø   Tuxedo R3 VS2005
Ø  Web logic 10.3
Ø  Jrockit R28.0.0

18 easy installation steps

1)     Install Oracle 11g software
2)      Create database manually (instance)
3)      Install people tools
4)      Install people application (HRMS)
5)      Running scripts to create seed database in our manually created database
6)      Import data using data mover
7)      Run grant.sql script
8)      Check peopletools and database compatibility plus
9)      Updating PeopleTools Database Objects
10)   Updating PeoleTools System Data
11)   Running PoepleTools conversions
12)   Running SQR reports
13)   Install Tuxedo
14)   Configure application domain
15)   Install web server
16)   Configure web server(install and run PIA)
17)   Configure Report Node and Process Scheduler
18)   Install cobol compiler

Step 1:
Install Oracle 11 g without database

Step2: Create Database Instance
Create a service for our database from ms-dos command prompt:
Oradim –new –SID HRDEMO
Where HRDEMO is name of our database and will be used throught this documentation
Now, create some dummy folders :
è E:\ORADATA\HRDEMO  (Assuming database is being installed in e drive)
è Goto Orcale Base and under admin directory create folder named as HRDEMO. Under HRDEMO create 3 sub folders as adump, dpdump and pfile.
Step 3: Install People Tools
Install People tools in e drive under directory PSHOME i.e e:\PSHOME

Step 4: Install PeopleSoft Application
Install HRMS application under the directory PSHOME i.e. e:\PSHOME

Step 5: Create seed database
We need to run some scripts in certain sequence. Thses scripts are placed in
E:\PSHOME\scripts\nt
Scripts are run in following sequence
1.       Createdb10.sql
2.       Utlspace.sql
3.       Dbowner.sql
4.       Hcddl.sql
5.       Psroles.sql
6.       Psadmin.sql
7.       Connect.sql
But before running these scripts, we need to configure them
Createdb10.sql configuartion
This script creates the database. The script begins with pfile location. But since we have created instance of our database manually, pfile is not present in database folder of orcale home. 
So we need to copy paste or edit init file(pfile) in database folder. Database folder is located in oracle home.
Editing initHRDEMO.ora (pfile) -->
è Check db_domain and db_name
è Replace E:\app\Administrator\admin\HRDEMO against audit_file_dest location where Administrator is the name of our pc in our case.
è Replace E:\ORADATA\HRDEMO against control_file location
è Specify undo_tablespace name. You can find undo_tablespace name from createdb10.sql file (note: both pfile and createdb10.sql must have same undo tablespace name)
Open createdb10.sql file
è provide the path of pfile
è check create database statement and ensure that all datafiles, temporary tablespace , undo tablespace and log files are pointing to : E:\ORADATA\HRDEMO\....

utlspace.sql configuration
This script creates utility tablespaces -> PSTEMP and PSDEFAULT and data dictionaries -> catalog.sql, catblock.sql and catproc.sql
Specify the utility tablespaces directory like
E:\ORADATA\HRDEMO\pstemp01.dfb similary perform for other tablespace as well

Dbowner.sql configuration
It does not require any configuration. We have two schemas in peoplesoft one where all records are contained i.e. ACCESS ID and PS schema where PSDBOWNER table is maintained.
Dbowner.sql creates the PSDBOWNER table. This tabel contains two coloumns: DBNMAE and OWNERID



Hcddl.sql configuration
This script is application specific , in our case it is related to HRMS, therefore it creates tablespaces and datafiles related to HRMS module.
Just ensure that all tablespaces and datafiles are pointing to correct directory:
E:\ORADATA\HRDEMO

Psroles.sql configuration
This script does not require any configuration. This script creates two roles PSUSER and PSADMIN .
PSUSER has only create session priviledges and PSADMIN has all priviledges.
( any user in peoplesoft logs in with low-secuirty accound i.e connect id. Connect id is assigned PSUSER role privilege and database user access id is assigned PSADMIN role priviledge).

Psadmin.sql configuration
It does not require any configuration. This script creates PeopleSoft’s Owner ID (ACCESS ID). It creates  peoplesoft admin user and then  grants the user PSADMIN role. This script asks for adin user name and password let it be sysadm and sysadm respectively.

Connect.sql configuration
It creates low-secuirty database user (connect id) used by signon process until passsword is validated. Post that user is assigned access id internally. The last line of script is grant create session to <connect id>. It could have been replaced with grant PSUSER to <connect id> without any problems.

We have configured all our scripts. Now we need to run them in proper sequence. For this we need to login in our dummy database. But we can’t log in to our database as we haven’t created orapwd(password) file  yet. To create password file open md-dos command prompt and execute following:
Orapwd file= fullpath of orcale home….\database\pwdHRDEMO.ora password=sys entries=5
Now in command prompt write:
 SET ORACLe_SID = HRDEMO
Sqlplus sys/sys as sysdba (this performs login)
You will be greeted with message : connected to idel instance.
Now excute all the scripts mentioned below in same sequence as they follow:
Createdb10.sql  >> utlspace.sql >> dbowner.sql >> hcddl.sql >> psroles >> psadmin.sql >> connect.sql
Note: To excute script copy paste its full path and prefix @ in front of it and press enter

Step 6: Import data using data mover
Open data mover from menu items. Log in with access id i.e sysadm/sysadm.
If data mover gives any error regarding version mis-match between people tools and people application then check out step 8 for solution.
Go to File -> database setup and select HRMS
 Run scripts. Note datamover will seem to be as if its not working. To keep the track of datamover’s operation goto c:\temp and trace following log files which are created during this operation:
Hcengs.log, hcengl.log, triggers.log, views.log, temptbls.log
This whole datamover task takes around 5 hours or more depending upon the cpu configuration.
Step 7: Run grant.sql
Run this script after logging into the HRDEMO database with sysdba priviledge.
This script grants select power to connect id on PSSTATUS, PSOPRDEFN and PSACCESSPRFL. This is necessary as whenever user logs in the first task poeplesoft performs is to check version compatibility b/w people tools and people database. This information is conatianed in PSSTATUS table. Next step is to check user’s password which is conatined in PSOPRDEFN table. From PSOPRDEFN table peoplesoft after chehcking password fetches symbolic ID (sysadm1). Next and final step before killing connect id process is to get ACCESSID and ACCESSPWD from PSACCESSPRFL table against symbolic id. This leads to killing of connect id process and then poeplesoft re-connects as access id.

Step 8: check compatibility between peopletools and people database
We does not need to check the compatiblity at this step since it would have already being done during step 6. This is because if both peopletools and people database had different versions then datamover would have given error.
In that case id database’s v ersion is higher than peopletools version then re-install peopltools new verison. If database version is lower than peopletools then in that case we need to run scripts in release sequence to make both peopletools and people database compatible.
For example if application database verion is 8.47 and and peopletools version is 8.50 in that case we need to run scripts in following sequence Rel848, Rel849, Rel850 (these scripts are found in PSHOME\scripts directory).
Now log in with PS account in datamover and run storedll.dms file
Again log in with sysadm accoun in datamover and run msgtlsupg.dms file






Step 9: Updating PeopleTools Database Objects
Open Application Designer and log in with PS
Goto Tools -> Copy project -> From file Browse PSHOME\Projects and click Open
By default some of the projects are listed in listbox
We need to copy 3 projects
1>     PPLTLS84CUR (highlighted above)
2>     PPLTLS84CURDEL
3>     PT84TBLSPC
We need to build PPLTLS84CUR and PT84TBLSPC projects only.



Building PPLTLS84CUR
Goto File-> Open and select PPLTLS84CUR
Now goto Build -> Project
Make sure create tables and alter tables are check marked and build script file option is selected as shown below.




Now click Settings:
Under scripts Tab make changes as below:

Under Alter tab make changes as shown below:
Under create tab make changes as shwon below:
Click ok to close dialog box and then click build.
Building PT84TBLSPC
Goto File-> Open and select PPLTLS84CUR
Now goto Build -> Project
Make sure alter tables are check marked and build script file option is selected as shown below.

Now click settings
Under scripts tab perform as shown below:

Under alter tab make changes as shwon below:

Click ok to close dailog box.
Now click build.











Step 10: Updating People Tools System Data
Invoke datamover from start menu programs and login as Access ID
Run below scripts: (File -> Open)
Pslanguages.dms -> loads platform specific seed data
Tlspgnoncomp.dms -> imports updated peoplesoft tools’ trees, roles and access groups in db
 Msgtleng.dms -> updates messages in db
Ptstreng.dms -> updates SQR strings in db
Storept.dms -> updates peoplesoft COBOL stored stmts
Ptdefnses.dms -> updates peoplesoft peopletools definition security group
Createvw.dms -> recreate all views in db
All above .dms files are contained in PSHOME\scripts except for storept.dms which is contained in PSHOME\src\cbl\base

Step 11: Running People Tools Conversions
Open ms dos command prompt
Goto
E:\PSHOME\bin\client\winx86   <- directory (use cd command)
Now execute following commands:
Pase –CD HRDEMO -CT ORACLE –CO PS –CP PS –R INSTALL –AI UPG844PORTAL
Pase –CD HRDEMO -CT ORACLE –CO PS –CP PS –R INSTALL –AI UPGQRYDUPHED
Pase –CD HRDEMO -CT ORACLE –CO PS –CP PS –R INSTALL –AI UPGPTSMDAT
Pase –CD HRDEMO -CT ORACLE –CO PS –CP PS –R INSTALL –AI UPGPT846PP
Pase –CD HRDEMO -CT ORACLE –CO PS –CP PS –R INSTALL –AI UPGPT848PP
Pase –CD HRDEMO -CT ORACLE –CO PS –CP PS –R INSTALL –AI UPGPT850PTFP
Pase –CD HRDEMO -CT ORACLE –CO PS –CP PS –R INSTALL –AI UPGPT851PTFP
Pase –CD HRDEMO -CT ORACLE –CO PS –CP PS –R INSTALL –AI UPGPTHASH
Pase –CD HRDEMO -CT ORACLE –CO PS –CP PS –R INSTALL –AI UPGPT848IBUG
Pase –CD HRDEMO -CT ORACLE –CO PS –CP PS –R INSTALL –AI UPGPTSERVOPR
Pase –CD HRDEMO -CT ORACLE –CO PS –CP PS –R INSTALL –AI UPGVERSION


Step 12 : Running SQR reports
run sqrw.exe , it can be found in PSHOME\bin\sqr\ORA\binw
we need to run setspace.sqr (it is located in PSHOME\sqr)
copy paste below flags in report arguments
-ZIFE:\PSHOME\sqr\pssqr.ini  -iE:\PSHOME\sqr\ -fc:\temp\setspace.htm –keep
See the below image for clearification:

Now click ok to run setspace.sqr file.
Setp 13 : Installing tuxedo
 Installing tuxedo is easy as it is GUI based. Though we can install tuxedo anywhere its better to install in oracle base directory this is because we will install weblogic in same directory and its easy manage things when they are placed in same scope.
Oracle base directory is where all oracle products are installed.

Step 14 : Configure Application domain
to configure application server run psadmin.exe utility. It is located in PSHOME\appserv\psadmin.exe
below screen appears

Press 1 to configure application domain

Press 2 to create domain
It asks for the domain name enter your database name(though its not necessary to enter database name you can enter any name, but makes sense when application domain name and database name both have same names )
Press enter and then it asks for the configuration template , you can select any four of them depending upin the requirement.
After selecting right configuration template, it asks whether you want to configure the newly created domain now , press y  to configure.
Below scree appears:
Press 15 if database name is not correct else leave it as it is.
Press 17 to enter PS account name which is PS
Press 18 to enter PS account password which is PS
Finally press 13 to laod configuration
After loading configuration, below screen appears:
Press 1 to boot the domain
Next it asks whether you want to boot it serially or parallely, for now just select serial boot i.e. 1 choice
And press enter your application server is up and running now.


Step 15: Install weblogic
Installing weblogic is easy again it’s a GUI environment and for simplicity it must be installed in oracle base directory where tuxedo is installed (though you can install it anywhere)
Running weblogic by double clicking is not normally possible if the system is not configured to run .jar files directly.
Open command prompt track down the bin folder of the java software. In windows env java is installed in c drive under program files directory.
Using cd command place your self in bin directory, now execute following command:
Java –jar fullpath of weblogic..\weblogic.jar for example if your weblogic’s setup is placed in e drive then your stmt should become something like this
C:\program files\java\jdk\Bin> java –jar e:\weblogic.jar
After excuting above statement GUI to install weblogic opens up just follow the on screen instructions and make sure you are installing it in oracle base directory.

Step 16: Configure webserver (weblogic)
Configuring webserver requires you to install PIA (Pure Internet Architecture). PIA acts as a bridge between webserver and application server.
Before we install PIA, make sure you are having jrockit. Download the jrockit from edilvery.oracle and copy paste it in oracle base directory.
Now to install pIA goto E:\PSHOME\setup\PsMpPIAInstall
And run setup.bat
After installing it a new folder will be created in PSHOME directory named as webserv but before we run our webserver we need to make some chnages in configuration file as running PIA needs jrockit utility.
Goto oracle base directory, open weblogic’s folder find folder named as common and then open commEnv file in notepad. Weblogic \ common\ commEnv
Track JAVA_HOME variable in the file and just copy paste the fullpath of jrockit’s folder against it.
Make save changes and return to PSHOME directory.
Goto E:\PSHOME\webserv\peoplesoft\bin
Now double click startPIA.cmd, this will up and make our webserver in running mode
From this point of time you must be able to open peoplesoft application in browser. Just write localhost in browser and press enter, peoplesoft application opens up.

Step 17: configure report node and process scheduler
Before running our process scheduler we need to setup our report node(one time setup).
Open poeplesoft application in browser. Provide pS account credentails and login.
Now goto Main menu -> PeopleTools -> Process Scheduler -> Report Nodes
Click add a new value
Provide name of our database(again it can be any name if you wish) in Distribution Node Name textbox
Now window like below is opened up
Under Distribution Node details
URL: if you are setting up peoplesoft on single machine then it is localhost else ip address of machine having webserver
Under connection information
URI host : either local host or ip address of webserver machine
URI Resource must be: SchedulerTransfer/ps
If URI host is an ip address of the machine then provide login credential details of that machine
Click save.
Now goto Main menu -> PeopleTools -> Process Scheduler -> Severs
Click search and select PSNT server
Now click Distribution domain tab
and make sure Distribution Node name is same as you entered above in report node configuration
maximum transfer times and Interval for transfer Attempt is 3 and 5 respectively and transfer system files to report repository is checked
and click save.
Now signout from the application.
Process Scheduler’s Configuration
Goto E:\PSHOME\appserv\psadmin.exe
Press 2 for Process Scheduler
The window appears to be like this:
Select option 4 to create process scheduler
The system will ask to enter database name for which prcocess scheduler is to be configured
Provide name HRDEMO
Then configure it just provide PS account  credentails press 8 to enter PS account user name and press 9 to enter password of PS account. Load the configs and run the prcocess scheduler.
Your process scheduler is now up and running.
Now upon up peoplesoft application again using pS acocunt credentails.
Goto main menu -> people tools -> security -> secuirty objects -> single signon
Make sure message node name is PSFT_HR
Now goto main menu -> people tools -> integration broker -> integration setup -> nodes
Serach PSFT_HR if it is not there then under add a new value tab provide tab name PSFT_HR
And click a new window opens up set authentication type = password and default user id as PS.
Now we are in position to run our processes.
Goto main menu -> peopletools -> process scheduler -> system process requests
Add a new ruin contorl id and click add
Now click run, a new window opens up , select all those processes which you want to run.
To see the status of all the processes whether they are successfully posted or not goto
Main menu -> peopletools -> process scheduler -> process monitor
If run status and distribution status are success and posted respectively that means process is succefully posted else there might be some error, click details then under actions column select view log/trace
Then in file list click the log file and find out the cause of the error.
If you wuld have selected any cobol file to be run, it would have given error like -> not posted this is because cobol compiler has not been installed yet on the system.

Step 18: Install Cobol complier
Micro Focus in te compnay which develops cobol complier for both windows and unix. For windows it develops net express while for un ix it develops sever express
Just install cobol compiler.
Now goto program files -> micro focus -> net express
Now copy paste bas folder in c: drive this is because during cobol compilation of files from command prompt it does not recognise spaces in folder names and thus when we try to run cobol complier from with in program files it gives error like invalid complier.
Now open command prompt:
Set PS_HOME = e:\PSHOME
Set COBROOT=c:\base
Now using cd command goto e:\PSHOME\setup
Cblbld.bat c: \temp
Execute above command all the cobol source files will be compiled during comiplation and will be put in temp directory, finally when all the files are converted a new folder will be made in PSHOME by this utility named as  CBLBINA and all complied files will be copied from temp to this folder.
Now open peoplesoft application and try run any cobol process and check the status.

Query and tip section
What if already some other application is listening at port number 80, then how to run web server ?
è  In case some other application is already listening at port number 80, Stop that applictaion and try open peoplesoft again. Else change port number where our webserver will listen requests. Goto E:\PSHOME\webserv\peoplesoft\config\config.xml and edit it by writing some other port number in place of 80.

What if application designer gives error related to tns ?
è Make sure hou have configured your tnsnames.ora. Tnsnames.ora file is used by client to connect to target database with particular listener, listening at some port for database connections.

 Thanks,
Praveen Joshi