Saturday, December 27, 2014

PeopleSoft Installation Made Extremely Easy: Part 4

Creating and Configuring the Application Server Domain

Its time to finally build the 4-tier architecture to be able to use PIA. Make sure that the environment variable TUXDIR is set to point Tuxedo home directory.


Step 1: Configure Application Server Domain

To configure application server domain, first make sure the database HRDEMO is up and running. If not then start it as shown in the article Connecting and Starting the Database through sqlplus Command
Once Database is started, follow below steps:
  1. Open the MS DOS Command Prompt, and change the directory to C:\PS_HOME\appserv by executing the command cd C:\PS_HOME\appserv.
  2. Execute the command set PS_HOME=C:\PS_HOME and  set PS_CFG_HOME=C:\app to set these two environment variables. There shouldn't be any space around '='
  3. Execute the command psadmin
  4. Press 1 and hit enter to configure Application Server
  5. Press 2 and hit enter to create domain then it asks for the domain name enter your database name HRDEMO(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.
  6. In the next step, it will ask to select the configuration template. Though you can select any one of them but for now select the fist one - Developer
  7. The next dialog will ask for confirmation, press 'y' and enter and this is what you see next:
  8.  Application Server Domain Configuration in PeopleSoft installation
  9. Now we have to change the UserID and UserPswd which appears at 18th and 19th number respectively however they might also appear at 17th and 18th number.
  10. Press 18 and hit enter to change the UserID. Enter the User ID as PS in next prompt and press enter.
  11. Press 19 and hit enter to change the UserPswd. Enter the User Password as PS in next prompt and press enter.
  12. We need to enable WSL, Press 6 and hit enter upon doing so the the option will change from No to Yes.
  13. Press 13 and hit enter to load the configuration. It will configure the app server domain once done the next screen will ask to boot the domain.
  14. Press 1 and hit enter to boot the domain, in the next screen choose 1 for serial boot for now and hit enter.
Your app server will start running now.


Step 2: Testing the Three-Tier Connection

Now that we have created an application server domain HRDEMO to connect to our demo database HRDEMO (Both have same name) in 3 tier mode, we need to verify this connectivity through app designer.

Before we begin doing so, we need to get the Host Name and WSL port on which Application Server Domain HRDEMO will listen the connection requests. In our case as you can see in the above screenshot, the WSL Port (at number 25) is 7000. To find out what will be host name, just start the application server domain and once started see the host name against WSL port 7000 at the bottom:


Host Name or Machine Name for Application Server Domain PeopleSoft Installation


 So the Host Name or Machine name is WIN-5TI0P2TA3PE.

Launch the configuration manager pscfg from C:\PS_HOME\bin\client\winx86. Create a desktop shortcut so that you don't have to go to this directory again and again:
1. Select the Profile Tab. Highlight Default and select Edit.
2. On the Edit Profile dialog box, select Application Server as the Connection Type.
3. Enter values for these parameters:

  • Application Server Name - HRDEMO
  • Machine Name or IP Address - WIN-5TI0P2TA3PE
  • Port Number (WSL) - 7000
  • Domain Connection Password - PS
  • Domain Connection Password (confirm) - PS
5. Click on Set to add the definition to the list and then click on OK to close the dialog box.
6. On the Configuration Manager dialog box, select the Startup tab.
7. Select Application Server from the Database Type list. Your application server name should be displayed.
8. Enter the values for User ID as PS, Connect ID as people, and password as peop1e.
9. Click OK. 


New Launch the app designer and login with userid/password as PS/PS.

We are done in this part, visit the next part - PeopleSoft Installation Made Extremely Easy: Part 5



1 comment: