Saturday, January 05, 2008

On The Peoplesoft Road : Weblogic 9.2

Downloaded from http://edelivery.oracle.com
Choose "Peoplesoft Entreprise", plateform "Linux x86", then under "PeopleSoft Enterprise - PeopleTools 8.49 Media Pack", choose the disk :
"BEA WebLogic Server 9.2 for Linux"

For the Maintenance Pack 1 (MP1), download from ftp://ftp.peoplesoft.com/outgoing/ptools/weblogic/9.20/mp1 the file
server921_upgrade_linux32.bin

And patches from ftp://ftp.peoplesoft.com/outgoing/ptools/weblogic/9.20/mp1/patches
installwlspatch.sh
wls92mp1-p1.zip
wls92mp1-p2.zip


1. As root user, create group, user and folder Weblogic :
[root@orion:/root]$ groupadd weblogic
[root@orion:/root]$ useradd -g weblogic -G psoft -G bea weblogic
[root@orion:/root]$ cd /apps/bea
[root@orion:/apps/bea]$ ls
tuxedo
[root@orion:/apps/bea]$ mkdir -p weblogic/9.2
[root@orion:/apps/bea]$ chown -R weblogic:weblogic weblogic
[root@orion:/apps/bea]$ passwd weblogic
Changing password for user weblogic.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[root@orion:/apps/bea]$


2. Install software as weblogic user.
The weblogic's installation folder might be inside the PS_HOME directory, but since we can share the Weblogic software by multiple Peopletools and Peoplesoft applications, better to externalize the Weblogic software and do not duplicate the installation.
[weblogic@orion:/home/weblogic]$ more .bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME
export BEA_HOME=/apps/bea/weblogic/9.2
[weblogic@orion:/home/weblogic]$


[weblogic@orion:/nfs/software/peoplesoft/BEA/BEA_WebLogic_Server_9.2]$ ls
B42606-01.zip install.cmd installer.xml install.sh installwlspatch.cmd installwlspatch.sh license patches readme.txt server920-linux32.bin utils
[weblogic@orion:/nfs/software/peoplesoft/BEA/BEA_WebLogic_Server_9.2]$ sh ./install.sh
Installing BEA WebLogic Server 9.2.0

BEA WebLogic Server 9.2.0 installation.

Installation log written to /home/weblogic/wls92_install.log

OS Platform detected to be Linux i686

Where would you like to install WebLogic Server 9.2.0 to [press ENTER to quit]?
/apps/bea/weblogic/9.2


Confirm installation of BEA WebLogic Server 9.2.0 to
/apps/bea/weblogic/9.2 [Y]?
Y
Launching installer server920-linux32.bin. Install logs will be written to /apps/bea/weblogic/9.2/logs/
Extracting 0%....................................................................................................100%
Base product and service pack installation complete.

Installing PeopleSoft provided WebLogic license.

BEA WebLogic Server license install process brought to you by PeopleSoft.

This process will update license for WebLogic 9.2 install in /apps/bea/weblogic/9.2
Existing WebLogic license will be backed up to license.bak

Installing PeopleSoft license for WebLogic Server 9.2 (Step 1 of 2)
Please wait and do not interrupt ....

Done!

Updating license registry. (Step 2 of 2)
WebLogic Server 9.2 license install complete.

Installation complete. Performing post install cleanup.

Installation of WebLogic 9.2.0 to /apps/bea/weblogic/9.2 is complete.
Refer to PeopleTools install guide to apply any required patches.
[weblogic@orion:/nfs/software/peoplesoft/BEA/BEA_WebLogic_Server_9.2]$


3. Upgrade the weblogic home directory to the latest maintenance pack (mode console) :
[weblogic@orion:/nfs/software/peoplesoft/BEA/BEA_WebLogic_Server_9.2_MP1]$ ls -lrt
total 193710
-rwxrwxrwx 1 1001 513 5440 Jan 2 22:26 WebLogic92_MP1_upgrade_instructions.txt
drwxrwxrwx 2 1001 513 0 Jan 2 22:31 patches
-rwxrwxrwx 1 1001 513 396708441 Jan 2 22:46 server921_upgrade_linux32.bin
[weblogic@orion:/nfs/software/peoplesoft/BEA/BEA_WebLogic_Server_9.2_MP1]$ ./server921_upgrade_linux32.bin -mode=console
Extracting 0%....................................................................................................100%





<------------------------------------------------------------------------ BEA Installer - BEA Products ------------------------------------------------------------------------>

Welcome:
--------

This installer will guide you through the installation of BEA Products. Type "Next" or enter to proceed to the next prompt. If you want to change data entered previously, type "Previous". You may quit the installer at any time by typing "Exit".




Enter [Exit][Next]>





<------------------------------------------------------------------------ BEA Installer - BEA Products ------------------------------------------------------------------------>

Choose BEA Home Directory:
--------------------------

->1|* Type in existing BEA Home
2|/apps/bea/weblogic/9.2




Enter index number to select OR [Exit][Previous][Next]> 2





<------------------------------------------------------------------------ BEA Installer - BEA Products ------------------------------------------------------------------------>

Confirm Product Installation Directories:
-----------------------------------------

BEA Home Directory: [/apps/bea/weblogic/9.2]

Product Installation Directories:

Default Product Home: [/apps/bea/weblogic/9.2/weblogic92]
Workshop for WebLogic Platform: [/apps/bea/weblogic/9.2/workshop92]

Files in /apps/bea/weblogic/9.2/weblogic92 will now be upgraded to the 9.2.1.0 maintenance level.





Enter [Exit][Previous][Next]>





<------------------------------------------------------------------------ BEA Installer - BEA Products ------------------------------------------------------------------------>

Backing up current installation...

0% 25% 50% 75% 100%
[------------|------------|------------|------------]
[***************************************************]




<------------------------------------------------------------------------ BEA Installer - BEA Products ------------------------------------------------------------------------>

Installing files..

0% 25% 50% 75% 100%
[------------|------------|------------|------------]
[***************************************************]




<------------------------------------------------------------------------ BEA Installer - BEA Products ------------------------------------------------------------------------>

Installing JDK....

0% 25% 50% 75% 100%
[------------|------------|------------|------------]
[***************************************************]


Performing String Substitutions...



Creating Domains...





<------------------------------------------------------------------------ BEA Installer - BEA Products ------------------------------------------------------------------------>

Installation Complete


Congratulations! BEA Products has been successfully installed to /apps/bea/weblogic/9.2/weblogic92.


Press [Enter] to continue or type [Exit]>





<------------------------------------------------------------------------ BEA Installer - BEA Products ------------------------------------------------------------------------>

Clean up process in progress ...

[weblogic@orion:/nfs/software/peoplesoft/BEA/BEA_WebLogic_Server_9.2_MP1]$

4. Install the patches of weblogic (copy the patches' files in the BEA_HOME directory first)
[weblogic@orion:/home/weblogic]$ cd $BEA_HOME
[weblogic@orion:/apps/bea/weblogic/9.2]$ cp /nfs/software/peoplesoft/BEA/BEA_WebLogic_Server_9.2_MP1/patches/* .
[weblogic@orion:/apps/bea/weblogic/9.2]$ ./installwlspatch.sh wls92mp1-p1.zip
WebLogic Server patch installation process brought to you by PeopleSoft.

created: weblogic92/
created: weblogic92/server/
created: weblogic92/server/lib/
inflated: weblogic92/server/lib/weblogic_sp.jar
created: weblogic92/server/plugin/
created: weblogic92/server/plugin/win/
created: weblogic92/server/plugin/win/32/
inflated: weblogic92/server/plugin/win/32/iisforward.dll
inflated: weblogic92/server/plugin/win/32/iisproxy.dll
inflated: wls92mp1-p1.txt

Patch install complete.
[weblogic@orion:/apps/bea/weblogic/9.2]$ ./installwlspatch.sh wls92mp1-p2.zip
WebLogic Server patch installation process brought to you by PeopleSoft.

created: weblogic92/
created: weblogic92/server/
created: weblogic92/server/lib/
inflated: weblogic92/server/lib/EccpressoAsn1.jar
inflated: weblogic92/server/lib/EccpressoCore.jar
inflated: weblogic92/server/lib/EccpressoJcae.jar
inflated: weblogic92/server/lib/jsafe.jar
inflated: weblogic92/server/lib/weblogic_sp.jar
inflated: weblogic92/server/lib/wlcipher.jar
created: weblogic92/server/plugin/
created: weblogic92/server/plugin/win/
created: weblogic92/server/plugin/win/32/
inflated: weblogic92/server/plugin/win/32/iisforward.dll
inflated: weblogic92/server/plugin/win/32/iisproxy.dll
inflated: wls92mp1-p2.txt

Patch install complete.
[weblogic@orion:/apps/bea/weblogic/9.2]$


5. Comment out the last line of $BEA_HOME/weblogic92/common/bin/commEnv.sh
#resetFd

Next step Peopletools installation.

Have fun,

No comments: