Saturday, January 05, 2008

On The Peoplesoft Road : Tuxedo 9.1

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 Tuxedo 9.1 for AIX, Solaris, and Linux"

1. As root user, create group, user and folder Tuxedo :
[root@orion:/root]$ groupadd psoft
[root@orion:/root]$ groupadd tuxedo
[root@orion:/root]$ groupadd bea
[root@orion:/root]$ useradd -g tuxedo -G psoft -G bea tuxedo
[root@orion:/root]$ passwd tuxedo
Changing password for user tuxedo.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[root@orion:/root]$ cd /apps
[root@orion:/apps]$ mkdir -p bea/tuxedo/9.1
[root@orion:/apps]$ ls -lrt
total 16
drwxrwxrwx 8 oracle dba 4096 Dec 28 22:52 oracle
drwxr-xr-x 3 root root 4096 Jan 5 14:27 psoft
[root@orion:/apps]$ chgrp psoft psoft
[root@orion:/apps]$ ls -lrt
total 24
drwxrwxrwx 8 oracle dba 4096 Dec 28 22:52 oracle
drwxr-xr-x 2 root psoft 4096 Jan 5 14:57 psoft
drwxr-xr-x 3 root root 4096 Jan 5 14:58 bea
[root@orion:/apps]$ chgrp bea bea
[root@orion:/apps]$ cd bea
[root@orion:/apps/bea]$ chown -R tuxedo:tuxedo tuxedo
[root@orion:/apps/bea]$ ls -lrt
total 8
drwxr-xr-x 3 tuxedo tuxedo 4096 Jan 5 14:58 tuxedo
[root@orion:/apps/psoft/bea]$
[root@orion:/apps/psoft/bea]$


2. Install software as tuxedo user.
The tuxedo's installation folder might be inside the PS_HOME directory, but since we can share the Tuxedo software by multiple Peopletools and Peoplesoft applications, better to externalize the Tuxedo software and do not duplicate the installation.
[tuxedo@orion:/nfs/software/peoplesoft/BEA/BEA_Tuxedo_9.1]$ sh ./install.sh

01) ibm/aix53 02) linux/sles9 03) sun/sol9


Please select a platform? [1-3, q to quit, l for list]: 2

Installing for linux/sles9

Is this correct? [y,n,q]: y

If you wish to quit the installation at any point
press the interrupt key or .
BEA Home being defaulted to /bea (y/n)
n
Please supply alternative BEA Home:
/apps/bea
Tuxedo 9.1 will be installed to /apps/bea/tuxedo91 (y/n):
n
Please supply alternative Tuxedo location:
/apps/bea/tuxedo/9.1
Accept default TListen password 'password' (y/n):
y
Continue with installation of Tuxedo 9.1 (y/n):
y
Installing...

Tuxedo 9.1 base installation complete
Installing patch at /apps/bea/tuxedo/9.1
using /bin/gunzip to uncompress archive
Installing server and client files...
Enter owner for patch files:
tuxedo
Enter group for patch files:
tuxedo

The patch installation finished successfully.
[tuxedo@orion:/nfs/software/peoplesoft/BEA/BEA_Tuxedo_9.1]$

3. Add the two last line (in bold) in tuxedo's .bash_profile
[tuxedo@orion:/home/tuxedo]$
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 BEAHOME=/apps/bea
export TUXDIR=/apps/bea/tuxedo/9.1
[tuxedo@orion:/home/tuxedo]$

4. After reconnection, check the installation by existence of two files :
[tuxedo@orion:/home/tuxedo]$ cd $TUXDIR
[tuxedo@orion:/apps/bea/tuxedo/9.1]$ ls
bin cobinclude help include lib locale samples tux.env udataobj uninstaller
[tuxedo@orion:/apps/bea/tuxedo/9.1]$ find . -name lic.txt
./udataobj/lic.txt
[tuxedo@orion:/apps/bea/tuxedo/9.1]$ find . -name tlisten.pw
./udataobj/tlisten.pw
[tuxedo@orion:/apps/bea/tuxedo/9.1]$
[tuxedo@orion:/apps/bea/tuxedo/9.1]$ ln -s $TUXDIR/locale/C $TUXDIR/locale/Ja_JP
[tuxedo@orion:/apps/bea/tuxedo/9.1]$ ls -lrt locale
total 60
-rw-rw-r-- 1 tuxedo tuxedo 24 Jan 5 15:00 CATNAMES
lrwxrwxrwx 1 tuxedo tuxedo 1 Jan 5 15:01 en_US.UTF-8 -> C
lrwxrwxrwx 1 tuxedo tuxedo 11 Jan 5 15:01 japanese.euc -> ja_JP.eucJP
lrwxrwxrwx 1 tuxedo tuxedo 11 Jan 5 15:01 japanese -> ja_JP.eucJP
lrwxrwxrwx 1 tuxedo tuxedo 11 Jan 5 15:01 ja_JP.ujis -> ja_JP.eucJP
lrwxrwxrwx 1 tuxedo tuxedo 11 Jan 5 15:01 ja_JP -> ja_JP.eucJP
lrwxrwxrwx 1 tuxedo tuxedo 13 Jan 5 15:05 ja_JP.eucjp -> ./ja_JP.eucJP
drwxrwxr-x 2 tuxedo tuxedo 4096 Jan 5 15:05 ja_JP.SJIS
drwxrwxr-x 2 tuxedo tuxedo 4096 Jan 5 15:05 ja_JP.eucJP
drwxrwxr-x 2 tuxedo tuxedo 4096 Jan 5 15:05 C
lrwxrwxrwx 1 tuxedo tuxedo 29 Jan 5 15:09 Ja_JP -> /apps/bea/tuxedo/9.1/locale/C
[tuxedo@orion:/apps/bea/tuxedo/9.1]$


Next step, Weblogic installation.

Have fun,

7 comments:

Anonymous said...

Hi Nicolas,
why are you running this command at the end of setup :

ln -s $TUXDIR/locale/C $TUXDIR/locale/Ja_JP

/Stéphane.

Nicolas Gasparotto said...

Well, this is an optional step.
From the documentation :
If you will be booting Application Server or Process Scheduler in a shell using a locale other than C,
create a symlink in TUXDIR to the C directory. For instance, if the locale is Ja_JP, run this command:
ln –s TUXDIR/locale/C TUXDIR/locale/Ja_JP

DigitalEagle (Stephen Phillips) said...

Nicolas,

Great post.

What flavor of Linux are you using? Are you using SLES9 like the option says or are you using Oracle Enterprise Linux?

I am using Oracle Enterpise Linux and I got the error:

Installing...

awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/tmp/install.dir.5362/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
Tuxedo 9.1 base installation complete

I found a fix here:
http://www.linuxquestions.org/questions/linux-software-2/awk-could-be-jvm-error-libdl.so.2libc.so.6-370056/

So, I ran these commands:
cd linux/sles9/base/
cp tuxedo91_32_SLES_9_x86.bin ../Install.bak
chmod +w tuxedo91_32_SLES_9_x86.bin
cat ../Install.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > tuxedo91_32_SLES_9_x86.bin


This is the output that I get now:
awk: cmd. line:6: warning: escape sequence `\.' treated as plain `.'
=======================================================

Installer User Interface Mode Not Supported

Unable to load and to prepare the installer in console or silent mode.

=======================================================

Any ideas?

Thanks,

Stephen

DigitalEagle (Stephen Phillips) said...

I think I found the answer!

You need to edit (with either the vi command or the gedit command) the install.sh. Change the line from (line #259):

sh $INSTALL_BINARY -f $SILENT_INSTALL_FILE > $INSTALLER_OUTPUT;

to:

sh $INSTALL_BINARY LAX_VM /usr/java/jdk1.5.0_16/bin/java -f $SILENT_INSTALL_FILE > $INSTALLER_OUTPUT;

After that fix, tuxedo finally installed for me!

I posted more information here: http://psst0101.wordpress.com/2008/08/06/tuxedo-install-error/

saulmp said...

Hi Nicolas,

after installing the tuxedo how can i check if it is installed correctly, how this service is started ?? it is possible to start the service at startup ?

Anonymous said...

Hi Stephen,
It's too late to reply this post but I would like to share my taught s upon this.

If I am not wrong I think you are trying to install from non 'psoft' group memenber( psoft group member have prevalages to install Peoplesoft or tuxedo applications as per Nicolas).
So even if you sudo to psoft group member it doesn't work as sudoing doesn't support you GUI mode of installation, example we will get the bove error:
"Installer User Interface Mode Not Supported

Unable to load and to prepare the installer in console or silent mode.
"
as posted by Stephen

So try to login to psoft group member account(GUI) and than try to install. Which doesnt need to modify any line in install.sh as
"sh $INSTALL_BINARY LAX_VM /usr/java/jdk1.5.0_16/bin/java -f $SILENT_INSTALL_FILE > $INSTALLER_OUTPUT;"

Danny said...

Hi Nicolas,

Any idea where can i get Tuxedo 9.1 base installer? edelivery only have the latest PT 8.5 (Tuxedo 10gR3) Thanks.