15
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

 · Web viewØ 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

Embed Size (px)

Citation preview

PeopleSoft Installation in 18 stepsPeopleSoft 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 software2)      Create database manually (instance)3)      Install people tools4)      Install people application (HRMS)5)      Running scripts to create seed database in our manually created database6)      Import data using data mover7)      Run grant.sql script8)      Check peopletools and database compatibility plus9)      Updating PeopleTools Database Objects10)   Updating PeoleTools System Data11)   Running PoepleTools conversions12)   Running SQR reports13)   Install Tuxedo14)   Configure application domain15)   Install web server16)   Configure web server(install and run PIA)17)   Configure Report Node and Process Scheduler18)   Install cobol compiler

Step 1:Install Oracle 11 g without database

Step2: Create Database InstanceCreate a service for our database from ms-dos command prompt:Oradim –new –SID HRDEMOWhere HRDEMO is name of our database and will be used throught this documentationNow, 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 ToolsInstall People tools in e drive under directory PSHOME i.e e:\PSHOME

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

Step 5: Create seed databaseWe need to run some scripts in certain sequence. Thses scripts are placed inE:\PSHOME\scripts\ntScripts are run in following sequence

1.       Createdb10.sql2.       Utlspace.sql3.       Dbowner.sql4.       Hcddl.sql5.       Psroles.sql6.       Psadmin.sql7.       Connect.sql

But before running these scripts, we need to configure themCreatedb10.sql configuartionThis 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 configurationThis script creates utility tablespaces -> PSTEMP and PSDEFAULT and data dictionaries -> catalog.sql, catblock.sql and catproc.sqlSpecify the utility tablespaces directory likeE:\ORADATA\HRDEMO\pstemp01.dfb similary perform for other tablespace as well

Dbowner.sql configurationIt 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 configurationThis 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 configurationThis 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 configurationIt 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 configurationIt 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=5Now in command prompt write: SET ORACLe_SID = HRDEMOSqlplus 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.sqlNote: To excute script copy paste its full path and prefix @ in front of it and press enter 

Step 6: Import data using data moverOpen 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.logThis whole datamover task takes around 5 hours or more depending upon the cpu configuration.Step 7: Run grant.sqlRun 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 databaseWe 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 fileAgain log in with sysadm accoun in datamover and run msgtlsupg.dms file

Step 9: Updating PeopleTools Database ObjectsOpen Application Designer and log in with PSGoto 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 projects1>     PPLTLS84CUR (highlighted above)2>     PPLTLS84CURDEL3>     PT84TBLSPC

We need to build PPLTLS84CUR and PT84TBLSPC projects only.

Building PPLTLS84CURGoto File-> Open and select PPLTLS84CURNow goto Build -> ProjectMake sure create tables and alter tables are check marked and build script file option is selected as shown below.

Under create tab make changes as shwon below:

Click ok to close dialog box and then click build.Building PT84TBLSPCGoto File-> Open and select PPLTLS84CURNow goto Build -> ProjectMake sure alter tables are check marked and build script file option is selected as shown below.

Now click settingsUnder 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 DataInvoke datamover from start menu programs and login as Access IDRun below scripts: (File -> Open)Pslanguages.dms -> loads platform specific seed dataTlspgnoncomp.dms -> imports updated peoplesoft tools’ trees, roles and access groups in db Msgtleng.dms -> updates messages in dbPtstreng.dms -> updates SQR strings in dbStorept.dms -> updates peoplesoft COBOL stored stmtsPtdefnses.dms -> updates peoplesoft peopletools definition security groupCreatevw.dms -> recreate all views in dbAll 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 ConversionsOpen ms dos command promptGotoE:\PSHOME\bin\client\winx86   <- directory (use cd command)Now execute following commands:Pase –CD HRDEMO -CT ORACLE –CO PS –CP PS –R INSTALL –AI UPG844PORTALPase –CD HRDEMO -CT ORACLE –CO PS –CP PS –R INSTALL –AI UPGQRYDUPHEDPase –CD HRDEMO -CT ORACLE –CO PS –CP PS –R INSTALL –AI UPGPTSMDATPase –CD HRDEMO -CT ORACLE –CO PS –CP PS –R INSTALL –AI UPGPT846PPPase –CD HRDEMO -CT ORACLE –CO PS –CP PS –R INSTALL –AI UPGPT848PPPase –CD HRDEMO -CT ORACLE –CO PS –CP PS –R INSTALL –AI UPGPT850PTFPPase –CD HRDEMO -CT ORACLE –CO PS –CP PS –R INSTALL –AI UPGPT851PTFPPase –CD HRDEMO -CT ORACLE –CO PS –CP PS –R INSTALL –AI UPGPTHASHPase –CD HRDEMO -CT ORACLE –CO PS –CP PS –R INSTALL –AI UPGPT848IBUGPase –CD HRDEMO -CT ORACLE –CO PS –CP PS –R INSTALL –AI UPGPTSERVOPRPase –CD HRDEMO -CT ORACLE –CO PS –CP PS –R INSTALL –AI UPGVERSION

Step 12 : Running SQR reportsrun sqrw.exe , it can be found in PSHOME\bin\sqr\ORA\binwwe 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 –keepSee 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 domainto configure application server run psadmin.exe utility. It is located in PSHOME\appserv\psadmin.exebelow 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 PSPress 18 to enter PS account password which is PSFinally press 13 to laod configurationAfter loading configuration, below screen appears:

Press 1 to boot the domainNext it asks whether you want to boot it serially or parallely, for now just select serial boot i.e. 1 choiceAnd press enter your application server is up and running now.

Step 15: Install weblogicInstalling 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 thisC:\program files\java\jdk\Bin> java –jar e:\weblogic.jarAfter 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\PsMpPIAInstallAnd run setup.batAfter 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\ commEnvTrack 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\binNow double click startPIA.cmd, this will up and make our webserver in running modeFrom 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 schedulerBefore 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 NodesClick add a new valueProvide name of our database(again it can be any name if you wish) in Distribution Node Name textboxNow 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 webserverUnder connection informationURI host : either local host or ip address of webserver machineURI Resource must be: SchedulerTransfer/psIf URI host is an ip address of the machine then provide login credential details of that machineClick save.Now goto Main menu -> PeopleTools -> Process Scheduler -> SeversClick search and select PSNT serverNow click Distribution domain taband make sure Distribution Node name is same as you entered above in report node configurationmaximum transfer times and Interval for transfer Attempt is 3 and 5 respectively and transfer system files to report repository is checkedand click save.Now signout from the application.Process Scheduler’s ConfigurationGoto E:\PSHOME\appserv\psadmin.exePress 2 for Process Scheduler

The window appears to be like this: Select option 4 to create process schedulerThe system will ask to enter database name for which prcocess scheduler is to be configuredProvide name HRDEMOThen 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 signonMake sure message node name is PSFT_HRNow goto main menu -> people tools -> integration broker -> integration setup -> nodesSerach PSFT_HR if it is not there then under add a new value tab provide tab name PSFT_HRAnd 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 requestsAdd a new ruin contorl id and click addNow 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 gotoMain menu -> peopletools -> process scheduler -> process monitorIf 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/traceThen 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 complierMicro 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 expressJust install cobol compiler.Now goto program files -> micro focus -> net expressNow 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:\PSHOMESet COBROOT=c:\baseNow using cd command goto e:\PSHOME\setupCblbld.bat c: \tempExecute 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 sectionWhat 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.