Wednesday, November 26, 2008

impdp with in Peoplesoft database

I was very enthusiat by the new features offered by the Oracle import dump, the new import utility in 10g.
Especially with the option NETWORK_LINK which allow us to do an import in a database through a database link directly from the database source, without having the need of the creation of any dump file.
It is very useful regarding the size of Peoplesoft database dump, several dozen of Gb.
Until today, to save disk space, it was common to use an old export utility into a dump file and compress on the fly. Same for the import, uncompress and import into database on fly.
Since it is not possible to do with expdp, the NETWORK_LINK should offer a good alternative.

Unfortunately, two mains points make it impossible to use :

1. NETWORK_LINK does not work with tables containing LONG datatype.
It is not a joke, but Peoplesoft database (before the Peoplesoft version 9.0 and Peopletools 8.49) still contains a lot of tables like that. I was very disapointed by this limitation, and I was surprised because nothing in the documentation say anything about that limitation. You could read the Metalink note 6630677.8 (IMPDP skips table exported just before table with LONG column using NETWORK_LINK - seems to be fixed in 11.1.0.6).
Ok, we could find a workaround and work through a file for these tables (with LONG datatype column in it), even if it's a pity. Or work with the very old, but much more robust SQL*Plus command COPY.

2. There is a bug in the number of imported rows reported in the log file (known bug #7146127, not solved yet). In some cases, for tables containing a lot of columns (I don't know what's the number to hit this error), it is reported 1 imported row in the log file, even if it imported several of thousands of rows. So, now how to prove how many have been imported ? Run a count against every single imported tables ? Not acceptable.

Here is the output of number of columns by tables (Peoplesoft HRMS9, Peopletools 8.49) :
Nb tables with less than 100 columns.................. : 42655
Nb tables with more than 100 and less than 200 columns : 171
Nb tables with more than 200 columns.................. : 21

What else ? Still stuck with exp/imp utility despite they are old.

Enjoy,


Addendum (04-FEB-2009) : regarding the wrong number of rows reported in the logfile, there is one off-patch for 10.2.0.4, it is fixed in the coming 11.2, please have a look into the following Metalink note :
Impdp Logfile Reports Wrong Number of Row Imported For a Table If Using NETWORK_LINK
Doc ID: 752476.1

Friday, November 14, 2008

Oracle 11.1.0.6_1013

Last month, October 2008, Oracle has released a new version of the initial patchset level of 11gR1 - 11.1.0.6 - downloadable on http://download.oracle.com
If you start a new project with in 11gR1 database, take care to have this version, the file is suffixed by _1013.
This new recut of the 11gR1 include a bug fix - see the Metalink note 738115.1 for more information.

Enjoy,

Saturday, November 08, 2008

Metalink3, the end of Peoplesoft GSC, future of database support

Yesterday, Firday 7th, November 2008, the website Metalink3 has take in place of the Peoplesoft Global Support Center (http://www.peoplesoft.com).
That was expected since Oracle bought Peoplesoft. Finally, it is happening.
It is a very big change for Peoplesoft cutomers.
For who work on Peoplesoft for several years, that means a lot of habits have to be change (started with the severity scale and basics words as "case" becoming "SR").

Awaiting the effectivness of the replacement (from the coming Monday, after the outage during this week-end), the Metalink3 was available in "reduce" mode without all the features. That is more likely the Oracle classic Metalink site we know for the database support.

Moreover, it has been already announced, the Metalink3 website will become also the support website for the Oracle Database, eBusiness... the date is not defined yet.

Well, hopefully, that'll help,

Enjoy,

Nicolas.

Tuesday, October 14, 2008

Oracle 11g patch set 1 (11.1.0.7)

Few days ago the Oracle 11g patch set 1 - 11.1.0.7 - has been out for Windows plateform (it was already available for Lunix few weeks ago).
Time to upgrade my Personal Edition database :

SQL> select * from v$version;

BANNER
------------------------------------------------------------------
Personal Oracle Database 11g Release 11.1.0.7.0 - Production
PL/SQL Release 11.1.0.7.0 - Production
CORE 11.1.0.7.0 Production
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
NLSRTL Version 11.1.0.7.0 - Production

SQL>

Friday, September 19, 2008

OTN forums : 28 days later, what else ?

In reference to the horror movie 28 days later.

Tomorrow, already 4 weeks later. Or 28 days later... (to continue the movie reference, read this article : 500)
28 days after the OTN forum's software upgrade. And ?

Well, a lot of posts have been written about new features around the blogoshpere- like the most (in)famous point system.

So, 28 days later, where are we ? Instability is still the main problem, at least from some part of the world.We have to be patient, or learn patience... down... up... down... up... and network issue...

Instability.

The top user list has been dropped down. Since OTN forums is cumulated points and no more the number of posts for the top10 users, everyone have seen his point counter dropped to 0.
Ok, if this is not a problem in the two major forum (Database - General and SQL & PL/SQL) where there is enough activity to show this activity, I think this is a real problem on some less popular forum like one of my favorite - Peoplesoft.
Between instability, no more people in the top users list, and a point system not very well explained, people are went away. There was some sort of activities in such forum, but since... there is very, very, very few.

Less acitvity.

Then, some new behaviours have been seen. Ok, there is an report abuse button, very good. But...
Sometimes, there are a bunch of answers without more questions about the requirements where it would be required. Pity.
Some people copy&paste what they found over Internet/Metalink without given the link reference, and they got points, because the OP doesn't realize the plagiarism (it seems to me it happens much more than before). Pity.
Sometimes answers are marked as correct when obviously it is not. Pity.
Sometimes answers are marked as correct for giving a link to http://tahiti.oracle.com/. Does that make sense ?
Sometimes people claim their points. Pity. Did they claimed a thanks before ?
It is interesting to see how point system has motivated some people to try their chance, and also to "reactivate" some old account. Indeed, I haven't seen so much active "old" account since a while.
I have no statistics, but seems to be a lot of new users have been created after the upgrade...
In the mean time, a lot of other people disappeard.
Coincidence ?

New people. New behaviour.

Well, finally, it seems we got a new "OTN forums world", like a new world 28 days after pandemic with only few survivors.

I wish a long and a workable life to the OTN forums.

Have fun,

Thursday, August 14, 2008

Oracle Open World 2008

I'm registered for the Oracle Open World 2008 in San Fancisco, California, 21-25 September.
First time I'll go there, it seems very interesting.
I'll post later here the conferences I'll try to follow (some about Oracle database, some about Peoplesoft/Peopletools).

Enjoy,

Wednesday, July 23, 2008

A bare-metal virtualization for free

Yesterday, VMWare announced one of their products, VMWare ESXi, will be provide for free later next week.
Very interesting for whom want test, learn and work on a bare-metal virtualization software, hypervisor, for free.
This is a little bit different than VMWare Server, but also make a more robust and perfomant system. The main difference is about host OS, VMWare Server need one whereas VMWare ESXi don't need it - it's bootable -, however it required a dedicated machine.
A test should come soon here.

Enjoy,

Tuesday, June 17, 2008

Firefox 3

Just for the fun...

Download Day 2008

Wednesday, June 11, 2008

Peoplesoft (server) on Windows XP

Peoplesoft, the server part, has never been supported on Windows XP, and maybe will never supported.

So, why such article ?

On the Peoplesoft forum, there are a lot of questions about that configuration. And I receive a lot of questions. On one part I can understand for training and learning purpose.

On an other hand, I showed by the past through articles on this blog that was not so complicated, and much more interesting, to build a solution based on Linux with in a virtual machine.


Anyway, why not try it. I have to say once again,
Peoplesoft (appserver, process scheduler and web server) is not supported on Windows XP.

1. Tuxedo 9.1 (downloaded from http://edelivery.oracle.com, Peopletools 8.49 folder, build B42600-01) Run the pstuxinstall.exe from the unzipped package :



On the following screen give the BEA HOME path directory you previously created. A tuxedo folder will be created inside. This version of Tuxedo include the rolling patch 036, you can check it into the file patchlev under udataobj :
2. BEA Weblogic 9.2 (downloaded from http://edelivery.oracle.com, Peopletools 8.49 folder, build B42602-01)
Run the server920-win32.exe from the unzipped package :

Choose the BEA HOME you previously created (the sane as the one for Tuxedo) :Don't need to choose a complete installation, here we don't need the developper part of BEA product, just the web server, check the custom install :Check only the server, the only one required componenet for our installation (that'll save disk space):Once more, we need only the minimal installation, uncheck the additional tool :
Choose the path directory where you want to install weblogic :


3. BEA Weblogic 9.2 maintenance pack 1 (downloaded from ftp://ftp.peoplesoft.com/outgoing/ptools/weblogic/9.20/mp1)
Run the server921_upgrade_win32.exe :

Choose your BEA HOME path directory :
It should recognize your previous installation :
4. BEA Weblogic 9.2 maintenance pack 1 patches 1 and 2 (downloaded from ftp://ftp.peoplesoft.com/outgoing/ptools/weblogic/9.20/mp1/patches)
Since my try, the patch 4 has been raised, it is bigger, but process is same, you could try it by yourself.
Copy the
files installwlspatch.cmd, wls92mp1-p1.zip and wls92mp1-p2.zip into the BEA_HOME directory you defined earlier. Then run the installation command from a DOS window :
installwlspatch.cmd wls92mp1-p1.zip
That'll install at what required itself. Same for the second patch, and in case same for the latest one.


Check the existence of txt files with the same name as the patch.

5. PeopleTools 8.49 (downloaded from http://edelivery.oracle.com, Peopletools 8.49 folder, build B42585-01,B42586-01, B42587-01, B42588-01, B42589-01, B42590-01 and B42591-01) I won't become on that point, it's exactly the same process as the one for Linux, GUI excepted. Here below just few key screenshots :


6. PeopleTools 8.49 patch 11 - only if you are licenced - (downloaded from ftp://ftp.peoplesoft.com/outgoing/ptools/84911) From the extracted package, under disk1, run setup.exe, and follow the exact process as the previous one.

7. Create your Application Server.
Don't forget to add a line with an IP address and your computer name into your Windows/system32/driver/etc/hosts file.
I'll use an existing remote Oracle database :

C:\app\psoft\hrms9\appserv>psadmin

PSADMIN -- Tools Release: 8.49.11
Copyright (c) 1988, 2003, Oracle. All rights reserved.
[...]
----------------------------------------------
Quick-configure menu -- domain: DMOHRMS9
----------------------------------------------
Features Settings
========== ==========
1) Pub/Sub Servers : No 15) DBNAME :[DMOHRMS9]
2) Quick Server : No 16) DBTYPE :[ORACLE]
3) Query Servers : No 17) UserId :[PS]
4) Jolt : Yes 18) UserPswd :[PS]
5) Jolt Relay : No 19) DomainID :[DMOHRMS9]
6) WSL : Yes 20) AddToPATH :[c:\app\oracle\11.1.0\BIN]
7) PC Debugger : No 21) ConnectID :[people]
8) Event Notification: No 22) ConnectPswd:[peop1e]
9) MCF Servers : No 23) ServerName :[]
10) Perf Collator : No 24) WSL Port :[7000]
11) Analytic Servers : No 25) JSL Port :[9000]
12) Domains Gateway : No 26) JRAD Port :[9100]

Actions
=========
13) Load config as shown
14) Custom configuration
h) Help for this menu
q) Return to previous menu

Enter selection (1-26, h, or q): 13
Performing load prechecks ...
Loading validation table...
setting DBName=DMOHRMS9
setting DBType=ORACLE
setting UserId=PS
setting UserPswd=PS
setting ConnectId=people
setting ConnectPswd=peop1e
setting ServerName=
setting Port=7000
setting Port=9000
setting Listener Port=9100
setting Domain ID=DMOHRMS9
setting Add to PATH=c:\app\oracle\11.1.0\BIN
New CFG file written with modified Startup parameters

Log Directory entry not found in configuration file.
Setting Log Directory to the default... [PS_SERVDIR\LOGS]
Spawning disabled for server PSAPPSRV.
Configuration file successfully created.
CFG setting changes completed, loading configuration...
Domain configuration complete.
[...]
-------------------------------
PeopleSoft Domain Boot Menu
-------------------------------
Domain Name: DMOHRMS9

1) Boot (Serial Boot)
2) Parallel Boot
q) Quit

Command to execute (1-2, q) [q]: 1
Attempting to boot bulletin board...
tmadmin - Copyright (c) 1996-1999 BEA Systems, Inc.
Portions * Copyright 1986-1997 RSA Data Security, Inc.
All Rights Reserved.
Distributed under license by BEA Systems, Inc.
Tuxedo is a registered trademark.
No bulletin board exists. Entering boot mode.
INFO: BEA Tuxedo, Version 9.1, 32-bit, Patch Level 036
INFO: Serial #: 650522264137-2065448083901, Expiration NONE, Maxusers 1000000
INFO: Licensed to: Oracle-Peoplesoft-ISV

Booting admin processes ...

exec BBL -A :
process id=560 ... Started.
1 process started.
Attempting to boot ...
INFO: BEA Tuxedo, Version 9.1, 32-bit, Patch Level 036
INFO: Serial #: 650522264137-2065448083901, Expiration NONE, Maxusers 1000000
INFO: Licensed to: Oracle-Peoplesoft-ISV

Booting server processes ...

exec PSWATCHSRV -A -- -ID 64419 -C psappsrv.cfg -D DMOHRMS9 -S PSWATCHSRV :
process id=2652 ... Started.
exec PSAPPSRV -s@..\psappsrv.lst -s@..\psqcksrv.lst -sICQuery -sSqlQuery:SqlRequest -- -C psappsrv.cfg -D DMOHRMS9 -S PS
APPSRV :
process id=2664 ... Started.
exec PSAPPSRV -s@..\psappsrv.lst -s@..\psqcksrv.lst -sICQuery -sSqlQuery:SqlRequest -- -C psappsrv.cfg -D DMOHRMS9 -S PS
APPSRV :
process id=2136 ... Started.
exec PSAPPSRV -s@..\psappsrv.lst -s@..\psqcksrv.lst -sICQuery -sSqlQuery:SqlRequest -- -C psappsrv.cfg -D DMOHRMS9 -S PS
APPSRV :
process id=2716 ... Started.
exec PSSAMSRV -A -- -C psappsrv.cfg -D DMOHRMS9 -S PSSAMSRV :
process id=2684 ... Started.
exec PSMONITORSRV -A -- -ID 64419 -C psappsrv.cfg -D DMOHRMS9 -S PSMONITORSRV :
process id=2728 ... Started.
exec WSL -A -- -n //INDUS:7000 -z 0 -Z 0 -I 5 -T 60 -m 1 -M 3 -x 40 -c 5000 -p 7001 -P 7003 :
process id=2772 ... Started.
exec JSL -A -- -n //INDUS:9000 -m 5 -M 7 -I 5 -j ANY -x 40 -S 10 -c 1000000 -w JSH :
process id=1728 ... Started.
exec JREPSVR -A -- -W -P C:\app\psoft\hrms9\appserv\DMOHRMS9\jrepository :
process id=512 ... Started.
9 processes started.

8. Create your WebServer.
C:\app\psoft\hrms9\setup\PsMpPIAInstall>setup.exe -console -is:javahome C:\app\bea\jdk150_06
You have to give the java home here jdk150_06, coming from the Weblogic patches. A new DOS window will appear to the screen.
Welcome to the InstallShield Wizard for PeopleSoft Internet Architecture.

Using the InstallShield Wizard you will install PeopleSoft Internet
Architecture on your computer.

Version: 8.49.11

Note: If installing onto a BEA WebLogic Server, make sure to shutdown any
running web servers to avoid web server corruption.

Select Next to continue or Cancel to exit.

Cliquez sur 1 pour Suivant, 3 pour annuler ou 5 pour afficher Ó nouveau [1]


Choose the directory where you installed PeopleSoft, commonly known as
"PS_HOME":

Indiquez un nom de rÚpertoire ou cliquez sur EntrÚe.
[C:\app\psoft\hrms9]

Cliquez sur 1 pour Suivant, 2 pour PrÚcÚdent, 3 pour annuler ou 5 pour afficher
Ó nouveau [1]

SÚlectionnez le type d'installation le mieux adaptÚ Ó vos besoins.

[X] 1 - Oracle Application Server

[ ] 2 - BEA WebLogic Server

[ ] 3 - IBM WebSphere Server

Pour sÚlectionner une option, indiquez le numÚro correspondant ou 0, lorsque
vous avez terminÚ : [0]2

Entrez 0 pour poursuivre ou 1 pour faire une autre sÚlection : [0]

Cliquez sur 1 pour Suivant, 2 pour PrÚcÚdent, 3 pour annuler ou 5 pour afficher
Ó nouveau [1]


Select the web server root directory:

Indiquez un nom de rÚpertoire ou cliquez sur EntrÚe. [C:\Bea] C:\app\bea

Detected web server version: WebLogic 9.2.1

Cliquez sur 1 pour Suivant, 2 pour PrÚcÚdent, 3 pour annuler ou 5 pour afficher
Ó nouveau [1]


Please enter the administrator login and password for WebLogic domain.

Login ID:

[system]
Password:[password]

:

Re-type Password:[password]

:

Cliquez sur 1 pour Suivant, 2 pour PrÚcÚdent, 3 pour annuler ou 5 pour afficher
Ó nouveau [1]


Select domain type:


[X] 1 - Create New WebLogic Domain

Pour sÚlectionner une option, indiquez le numÚro correspondant ou 0,
lorsque vous avez terminÚ [0]:

Cliquez sur 1 pour Suivant, 2 pour PrÚcÚdent, 3 pour annuler ou 5 pour afficher
Ó nouveau [1]


Enter domain name or click Next to select default:

[peoplesoft]

Cliquez sur 1 pour Suivant, 2 pour PrÚcÚdent, 3 pour annuler ou 5 pour afficher
Ó nouveau [1]

Please select the configuration to install.

[X] 1 - Single Server Domain
[ ] 2 - Multi Server Domain
[ ] 3 - Distributed Managed Server

Pour sÚlectionner une option, indiquez le numÚro correspondant ou 0, lorsque
vous avez terminÚ : [0]


Cliquez sur 1 pour Suivant, 2 pour PrÚcÚdent, 3 pour annuler ou 5 pour afficher
Ó nouveau [1]


Please specify a name for the PeopleSoft web site:

Website name:

[ps] DMOHRMS9

Cliquez sur 1 pour Suivant, 2 pour PrÚcÚdent, 3 pour annuler ou 5 pour afficher
Ó nouveau [1]


Enter port numbers and summaries.

AppServer name:

[indus]

JSL Port:

[9000]

HTTP Port:

[80]

HTTPS Port:

[443]

Authentication Token Domain:(optional)

[]

Cliquez sur 1 pour Suivant, 2 pour PrÚcÚdent, 3 pour annuler ou 5 pour afficher
Ó nouveau [1]


Please enter the Name of the Web Profile used to configure the webserver. The
user id and password will be used to retrieve the web profile from the
database. (NOTE: Other available preset web profile names are "TEST", "PROD",
and "KIOSK".)

Web Profile Name:

[DEV]

User ID:

[PTWEBSERVER]

Password:[PTWEBSERVER]

:

Re-type Password:[PTWEBSERVER]

:
:
Cliquez sur 1 pour Suivant, 2 pour PrÚcÚdent, 3 pour annuler ou 5 pour afficher
Ó nouveau [1]


Select the Report Repository location:

Indiquez un nom de rÚpertoire ou cliquez sur EntrÚe. [c:\psreports] e:\psreports

Cliquez sur 1 pour Suivant, 2 pour PrÚcÚdent, 3 pour annuler ou 5 pour afficher
Ó nouveau [1]


Setup Type :

Web server root directory :

Web server version :

Web server domain :

Internet Architecture app name :

Integration Gateway app name :

PeopleSoft Business Interlink app name :

PeopleSoft Online Library Infrastructure :

Environment Management Hub :

Hello Portlet app name :

Portlet Container app name :

Testsuite app name :

Wsrptest app name :

Site name :

Authentication Token Domain :

Application server name :

JSL port :

HTTP port :

HTTPS port :

Report repository directory :

PIA webserver directory :

weblogic

C:\app\bea

9.2

peoplesoft

PORTAL

PSIGW

PSINTERLINKS

PSOL

PSEMHUB

helloportletapp

pspc

testsuite

wsrptest

DMOHRMS9


indus

9000

80

443

e:\psreports

C:\app\psoft\hrms9\webserv

Cliquez sur 1 pour Suivant, 2 pour PrÚcÚdent, 3 pour annuler ou 5 pour afficher
Ó nouveau [1]

[...]
BUILD SUCCESSFUL
Total time: 0 seconds


Deploy Completed. Click next to finish the install.

The InstallShield Wizard has successfully installed PeopleSoft Internet
Architecture. Choose Finish to exit the wizard.

Cliquez sur 3 pour terminer ou 5 pour afficher Ó nouveau [3]


9. Start you WebServer and enjoy with your front end application on XP
C:\app\psoft\hrms9\webserv\peoplesoft\bin>startPIA.cmd
[...]
Attempting to start WebLogic Server 'PIA'

starting weblogic with Java version:
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode)
[...]
11 juin 2008 22 h 03 CEST Notice WebLogicServer BEA-000360 Server started in RUNNING mode
[...]


Lastly, in your favorite browser :

So, no issue on the installation of Application and Web servers. But once more, it is not supported.

Have fun,

Tuesday, June 03, 2008

Cube

Today, a question on the Oracle forum for a alternate query (here)

Coming from a bad design, find the sum of two columns, grouping by two others columns.
The first thing coming in mind is a subquery with a UNION ALL :
select dt, ccy, sum(amt) amt
from (select dt, ccy1 as ccy, amt1 as amt from a
union all
select dt, ccy2 as ccy, amt2 as amt from a)
group by dt,ccy;


Then, trying to avoid it :
select dt, decode(t,1,ccy1,2,ccy2) ccy, sum(decode(t,1,amt1,2,amt2)) amt
from a , (select 1 t from dual union select 2 from dual)
group by dt, decode(t,1,ccy1,2,ccy2);


As we can see in the thread, the UNION ALL (which implies 2 table scan) is more performant than 1 table scan (implies a cartesian product and DECODE usage).

Well, all was said, until the nice demo of CUBE usage by DimaCit, the query is now the following :
with X as (
select dt, ccy1, sum(amt1) amt1, ccy2, sum(amt2) amt2
from a
group by dt, cube(ccy1, ccy2)
)
select x1.dt, x1.ccy1, x1.amt1 + x2.amt2
from X x1, X x2
where x1.dt = x2.dt
and x1.ccy1 is not null and x1.ccy2 is null
and x2.ccy2 is not null and x2.ccy1 is null
and x1.ccy1 = x2.ccy2;


I have to say I never thought about CUBE() on those cases.
So, very nice query, a little bit tricky, and a very good point for the best performance !
A nice demo of CUBE usage. Thank to DimaCit

Addendum : the solution doesn't work if one of the currency is not in the other column, then the CUBE solution is no more a solution. Thanks to Dominic Brooksfor comment it out this point.

Thursday, May 29, 2008

Peoplesoft Peopletools upgrade : 8.49.11

Some days ago, I planned to upgrade to Peopletools 8.49.10, but since that time a new patch has been released, so why not try it.
My current Peopletools version is 8.49.07, and the Peopletools patches are cumulative, don't need to apply every patches until the latest one.

So, let's go for the upgrade.
Four mains steps :

1. Upgrade the Peopletools software of your MS Windows client

2. Upgrade the Peopletools software of your server (below on OEL4.6)
3. Upgrade the database

4. Redeploy your web server

Firstly, you'll need to download the patch (more than 1Gb, and that increase very patch) on
ftp://ftp.peoplesoft.com/outgoing/ptools
Then, of course, you'll need a valid customer identifier to get the password of the downloaded zipped file (do I need to say that's illegal to share ?).


1. Anyway, here we go first for the MS Windows client upgrade, easily, click
able and apply. At this step, you'll need the Oracle code licence for Peoplesoft Peopletools here (the code depend of the database you are working on).
Run the setup.exe file into cd84911/disk1 directory, then basically follow the instructions :
Here you have to give your current PS_HOME you want upgrade : Run the Application Designer, or DataMover to verify you are good or not : 2. On your Linux server now, nothing special, except the DISPLAY variable setting as to be used : [root@orion:/root]$ cd /nfs/software
[root@orion:/nfs/software]$ cd PeopleSoftCD/PeopleTools/PT8.49/PeopleTools8.49.11/cd84911/disk1
[root@orion:/nfs/software/PeopleSoftCD/PeopleTools/PT8.49/PeopleTools8.49.11/cd84911/disk1]$ ls -lrt
total 325804
-rwxr--r-- 1 root root 976 May 12 02:46 readme.txt
-rwxr--r-- 1 root root 13 May 13 08:19 media.inf
-rwxr--r-- 1 root root 7638720 May 13 08:31 setup.jar
-rwxr--r-- 1 root root 31046656 May 13 08:31 setup.linux
-rwxr--r-- 1 root root 81633280 May 13 08:31 setup.hp
-rwxr--r-- 1 root root 47185920 May 13 08:31 setup.solaris
-rwxr--r-- 1 root root 25104596 May 13 08:31 setup.exe
-rwxr--r-- 1 root root 95426560 May 13 08:31 setup.hp-ia64
-rwxr--r-- 1 root root 139264 May 13 08:32 setup.zlinux
-rwxr--r-- 1 root root 139264 May 13 08:32 setup.unix
-rwxr--r-- 1 root root 44913664 May 13 08:32 setup.aix
drwxr-xr-x 3 root root 4096 May 26 20:55 setup
[root@orion:/nfs/software/PeopleSoftCD/PeopleTools/PT8.49/PeopleTools8.49.11/cd84911/disk1]$ chmod a+x setup.linux
[root@orion:/nfs/software/PeopleSoftCD/PeopleTools/PT8.49/PeopleTools8.49.11/cd84911/disk1]$ su - crm9
[crm9@orion:/apps/psoft/crm9]$ cd /nfs/software/PeopleSoftCD/PeopleTools/PT8.49/PeopleTools8.49.11/cd84911/disk1
[crm9@orion:/nfs/software/PeopleSoftCD/PeopleTools/PT8.49/PeopleTools8.49.11/cd84911/disk1]$ ls -lrt
total 325804
-rwxr--r-- 1 root root 976 May 12 02:46 readme.txt
-rwxr--r-- 1 root root 13 May 13 08:19 media.inf
-rwxr--r-- 1 root root 7638720 May 13 08:31 setup.jar
-rwxr-xr-x 1 root root 31046656 May 13 08:31 setup.linux
-rwxr--r-- 1 root root 81633280 May 13 08:31 setup.hp
-rwxr--r-- 1 root root 47185920 May 13 08:31 setup.solaris
-rwxr--r-- 1 root root 25104596 May 13 08:31 setup.exe
-rwxr--r-- 1 root root 95426560 May 13 08:31 setup.hp-ia64
-rwxr--r-- 1 root root 139264 May 13 08:32 setup.zlinux
-rwxr--r-- 1 root root 139264 May 13 08:32 setup.unix
-rwxr--r-- 1 root root 44913664 May 13 08:32 setup.aix
drwxr-xr-x 3 root root 4096 May 26 20:55 setup
[crm9@orion:/nfs/software/PeopleSoftCD/PeopleTools/PT8.49/PeopleTools8.49.11/cd84911/disk1]$ export DISPLAY=0.0
[crm9@orion:/nfs/software/PeopleSoftCD/PeopleTools/PT8.49/PeopleTools8.49.11/cd84911/disk1]$ ./setup.linux -is:javaconsole -console




Initializing Wizard........

Initializing Wizard........
Launching InstallShield Wizard........


-------------------------------------------------------------------------------
Welcome to the InstallShield Wizard for PeopleTools 8.49.11

The InstallShield Wizard will install PeopleTools 8.49.11 on your computer.
To continue, choose Next.

PeopleTools 8.49.11




Press 1 for Next, 3 to Cancel or 5 to Redisplay [1]

-------------------------------------------------------------------------------

Please Enter your PeopleSoft license code:

License Code (characters 1 to 6) []: zm7ky3

License Code (characters 7 to 12) []: w41m04

License Code (characters 13 to 19) []: 4u863q6

License Code (characters 20 to 25) []: 7oke1m

License Code (characters 26 to 31) []: s7t1f2

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]

-------------------------------------------------------------------------------

For a database platform of 'Oracle', are you installing a:


[X] 1 - Non-Unicode Database
[ ] 2 - Unicode Database

To select an item enter its number, or 0 when you are finished [0]: 2


[ ] 1 - Non-Unicode Database
[X] 2 - Unicode Database

To select an item enter its number, or 0 when you are finished [0]:

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]

-------------------------------------------------------------------------------

For Oracle on Linux the following can be installed:


[X] 1 - PeopleSoft Application Server
[X] 2 - PeopleSoft Batch Server
[X] 3 - PeopleSoft Database Server
[X] 4 - PeopleSoft Web Server

To select an item enter its number, or 0 when you are finished [0]:

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]

-------------------------------------------------------------------------------
PeopleTools 8.49.11 Install Location

Please specify a directory or press Enter to accept the default directory.

Directory Name: [/opt/PT8.49.11] /apps/psoft/crm9

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]

-------------------------------------------------------------------------------

Please select the location of the installed Tuxedo software.

Please specify a directory name or press Enter [/opt/tuxedo] /apps/bea/tuxedo/9.1

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]

-------------------------------------------------------------------------------
Select the features for "PeopleTools 8.49.11" you would like to install:

PeopleTools 8.49.11

To select/deselect a feature or to view its children, type its number:

1. [x] PeopleTools
2. [x] PeopleTools System Database

Other options:

0. Continue installing

Enter command [0]


Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]



PeopleTools 8.49.11 will be installed in the following location:
/apps/psoft/crm9
with the following features:
PeopleTools
PeopleTools System Database

The following PeopleSoft Servers were selected by you:
PeopleSoft Application Server
PeopleSoft Batch Server
PeopleSoft Database Server
PeopleSoft Web Server

Database Type:
Oracle


-------------------------------------------------------------------------------

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]

Installing PeopleTools 8.49.11. Please wait...


|-----------|-----------|-----------|------------|
0% 25% 50% 75% 100%
||||||||||||||||||||||||||||||||||||||||||||||||

Setting Files Permission... Please wait

-------------------------------------------------------------------------------
The InstallShield Wizard has successfully installed PeopleTools 8.49.11. Choose
Finish to exit the wizard.

Press 3 to Finish or 5 to Redisplay [3]

[crm9@orion:/nfs/software/PeopleSoftCD/PeopleTools/PT8.49/PeopleTools8.49.11/cd84911/disk1]$


3. The upgrade of database, 3 steps :

3.1 Open the DataMover tool within the Peoplesoft user and run the script PS_HOME/script/PTPATCH.dms


3.2 Open the Application Designer, and copy the projects PATCH849 and PATCH849ML if you are using a multilingual application.




3.3 Open the DataMover tool in bootstrap mode (the owner of Peoplesoft object, SYSADM in most of case), and run the PS_HOME/scripts/MSGTLSUPG.dms and MSGTLFRA.dms (FRA for French, if you have) :



4. Start your Application server and Process scheduler :

[crm9@orion:/nfs/software/PeopleSoftCD/PeopleTools/PT8.49/PeopleTools8.49.11/cd84911/disk1]$ cd $PS_HOME
[crm9@orion:/apps/psoft/crm9]$ cd appserv
[crm9@orion:/apps/psoft/crm9/appserv]$ ./psadmin

PSADMIN -- Tools Release: 8.49.11
Copyright (c) 1988, 2003, Oracle. All rights reserved.

--------------------------------
PeopleSoft Server Administration
--------------------------------


1) Application Server
2) Process Scheduler
3) Search Server
q) Quit


Command to execute (1-3, q): 1


--------------------------------------------
PeopleSoft Application Server Administration
--------------------------------------------

1) Administer a domain
2) Create a domain
3) Delete a domain
4) Import domain configuration
q) Quit

Command to execute (1-4, q) : 1


Tuxedo domain list:

1) DMOCRM9

Select domain number to administer: 1



--------------------------------
PeopleSoft Domain Administration
--------------------------------
Domain Name: DMOCRM9

1) Boot this domain
2) Domain shutdown menu
3) Domain status menu
4) Configure this domain
5) TUXEDO command line (tmadmin)
6) Edit configuration/log files menu
7) Messaging Server Administration menu
8) Purge Cache
9) Preload File Cache
10) Clean IPC resources of this domain
q) Quit

Command to execute (1-10, q) : 1


-------------------------------
PeopleSoft Domain Boot Menu
-------------------------------
Domain Name: DMOCRM9

1) Boot (Serial Boot)
2) Parallel Boot
q) Quit

Command to execute (1-2, q) [q]: 1
psappsrv.cfg has changed archiving old one...
Copying DMOCRM9/Archive/psappsrv.cfg to DMOCRM9/Archive/psappsrv_051308_2336_04.cfg
Attempting to boot bulletin board...
tmadmin - Copyright (c) 1996-1999 BEA Systems, Inc.
Portions * Copyright 1986-1997 RSA Data Security, Inc.
All Rights Reserved.
Distributed under license by BEA Systems, Inc.
Tuxedo is a registered trademark.
No bulletin board exists. Entering boot mode.
INFO: BEA Tuxedo, Version 9.1, 32-bit, Patch Level 036
INFO: Serial #: 650522264137-2065448083901, Expiration NONE, Maxusers 1000000
INFO: Licensed to: Oracle-Peoplesoft-ISV

Booting admin processes ...

exec BBL -A :
process id=14083 ... Started.
1 process started.
Attempting to boot ...
INFO: BEA Tuxedo, Version 9.1, 32-bit, Patch Level 036
INFO: Serial #: 650522264137-2065448083901, Expiration NONE, Maxusers 1000000
INFO: Licensed to: Oracle-Peoplesoft-ISV

Booting server processes ...

exec PSWATCHSRV -A -- -ID 43641 -C psappsrv.cfg -D DMOCRM9 -S PSWATCHSRV :
process id=14085 ... Started.
exec PSAPPSRV -s@../psappsrv.lst -s@../psqcksrv.lst -sICQuery -sSqlQuery:SqlRequest -- -C psappsrv.cfg -D DMOCRM9 -S PSAPPSRV :
process id=14086 ... Started.
exec PSAPPSRV -s@../psappsrv.lst -s@../psqcksrv.lst -sICQuery -sSqlQuery:SqlRequest -- -C psappsrv.cfg -D DMOCRM9 -S PSAPPSRV :
process id=14094 ... Started.
exec PSAPPSRV -s@../psappsrv.lst -s@../psqcksrv.lst -sICQuery -sSqlQuery:SqlRequest -- -C psappsrv.cfg -D DMOCRM9 -S PSAPPSRV :
process id=14102 ... Started.
exec PSSAMSRV -A -- -C psappsrv.cfg -D DMOCRM9 -S PSSAMSRV :
process id=14110 ... Started.
exec PSMONITORSRV -A -- -ID 43641 -C psappsrv.cfg -D DMOCRM9 -S PSMONITORSRV :
process id=14117 ... Started.
exec WSL -A -- -n //orion.phoenix-nga:7010 -z 0 -Z 0 -d unused -I 5 -T 60 -m 1 -M 3 -x 40 -c 5000 -p 7011 -P 7013 :
process id=14124 ... Started.
exec JSL -A -- -d unused -n //orion.phoenix-nga:9010 -m 5 -M 7 -I 5 -j ANY -x 40 -S 10 -c 1000000 -w JSH :
process id=14126 ... Started.
exec JREPSVR -A -- -W -P /apps/psoft/crm9/appserv/DMOCRM9/jrepository :
process id=14132 ... Started.
9 processes started.


--------------------------------
PeopleSoft Domain Administration
--------------------------------
Domain Name: DMOCRM9

1) Boot this domain
2) Domain shutdown menu
3) Domain status menu
4) Configure this domain
5) TUXEDO command line (tmadmin)
6) Edit configuration/log files menu
7) Messaging Server Administration menu
8) Purge Cache
9) Preload File Cache
10) Clean IPC resources of this domain
q) Quit

Command to execute (1-10, q) : q


--------------------------------------------
PeopleSoft Application Server Administration
--------------------------------------------

1) Administer a domain
2) Create a domain
3) Delete a domain
4) Import domain configuration
q) Quit

Command to execute (1-4, q) : q


--------------------------------
PeopleSoft Server Administration
--------------------------------


1) Application Server
2) Process Scheduler
3) Search Server
q) Quit


Command to execute (1-3, q): 2


-------------------------------------------
PeopleSoft Process Scheduler Administration
-------------------------------------------

1) Start a Process Scheduler Server
2) Stop a Process Scheduler Server
3) Configure a Process Scheduler Server
4) Create a Process Scheduler Server Configuration
5) Delete a Process Scheduler Server Configuration
6) Edit a Process Scheduler Configuration File
7) Import an existing Process Scheduler Configuration
8) Show Status of a Process Scheduler Server
9) Kill a Process Scheduler Server
10) Clean IPC resources of a Process Scheduler Domain

q) Quit

Command to execute (1-10, q) : 1


Database list:

1) DMOCRM9

Select item number to start: 1

psprcs.cfg has changed archiving old one...
Copying Archive/psprcs.cfg to Archive/psprcs_012708_2118_32.cfg

Starting Process Scheduler Server PSUNX for Database DMOCRM9 ...

Booting all admin and server processes in /apps/psoft/crm9/appserv/prcs/DMOCRM9/PSTUXCFG
INFO: BEA Tuxedo, Version 9.1, 32-bit, Patch Level 036
INFO: Serial #: 650522264137-2065448083901, Expiration NONE, Maxusers 1000000
INFO: Licensed to: Oracle-Peoplesoft-ISV

Booting admin processes ...

exec BBL -A :
process id=14150 ... Started.

Booting server processes ...

exec PSMSTPRC -A -- -C psprcs.cfg -CD DMOCRM9 -PS PSUNX -A start -S PSMSTPRC :
process id=14151 ... Started.
exec PSAESRV -- -C psprcs.cfg -CD DMOCRM9 -S PSAESRV :
process id=14160 ... Started.
exec PSAESRV -- -C psprcs.cfg -CD DMOCRM9 -S PSAESRV :
process id=14168 ... Started.
exec PSAESRV -- -C psprcs.cfg -CD DMOCRM9 -S PSAESRV :
process id=14176 ... Started.
exec PSDSTSRV -p 1,600:1,1 -sPostReport -- -C psprcs.cfg -CD DMOCRM9 -PS PSUNX -A start -S PSDSTSRV :
process id=14184 ... Started.
exec PSPRCSRV -sInitiateRequest -- -C psprcs.cfg -CD DMOCRM9 -PS PSUNX -A start -S PSPRCSRV :
process id=14206 ... Started.
exec PSMONITORSRV -A -- -ID 197104 -C psprcs.cfg -PS PSUNX -S PSMONITORSRV :
process id=14218 ... Started.
8 processes started.



And lastly, redeploy your web server application :
[crm9@orion:/apps/psoft/crm9/appserv]$ su - weblogic
Password:
[weblogic@orion:/home/weblogic]$ cd /apps/psoft/crm9/
[weblogic@orion:/apps/psoft/crm9]$ ls
appserv cblbin data etc jre log psconfig.sh PSEMViewer sdk secvault setup.log src utility web
bin crw dict fonts jre1.5.0 peopletools.properties PSEMAgent scripts SecurityAddIns setup sqr toolsadmin.sh verity webserv
[weblogic@orion:/apps/psoft/crm9]$ cd setup
[weblogic@orion:/apps/psoft/crm9/setup]$ ls
AdvancedConfigurator endorsed parmfile PsCIA PsMpDbInstall pstuxenv.sh SH UPGCOMPVIEWER
dashboard install_endorsed.sh pkgs psdb.sh PsMpPIAInstall pstuxftp.txt unicode.cfg WINDOWS
dbcodes.cr mpwebappdeploy PsCA psdmtx.cfg PsMpWebAppDeployInstall PsUa uninstall_endorsed.sh
dbcodes.pt NOTESDB pscbl.mak PsMpCrystalInstall psrun.mak pt_responsefile.txt unpack_jre.sh
[weblogic@orion:/apps/psoft/crm9/setup]$ cd PsMpPIAInstall
[weblogic@orion:/apps/psoft/crm9/setup/PsMpPIAInstall]$ export DISPLAY=0.0
[weblogic@orion:/apps/psoft/crm9/setup/PsMpPIAInstall]$ ./setup.linux -is:javaconsole -console

Initializing Wizard........
Launching InstallShield Wizard........


Welcome to the InstallShield Wizard for PeopleSoft Internet Architecture.

Using the InstallShield Wizard you will install PeopleSoft Internet
Architecture on your computer.

Version: 8.49.11



Note: If installing onto a BEA WebLogic Server, make sure to shutdown any
running web servers to avoid web server corruption.

Select Next to continue or Cancel to exit.

Press 1 for Next, 3 to Cancel or 5 to Redisplay [1]


Choose the directory where you installed PeopleSoft, commonly known as
"PS_HOME":

Please specify a directory name or press Enter [/] /apps/psoft/crm9

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]

Choose the installation type that best suits your needs.

[X] 1 - Oracle Application Server

[ ] 2 - BEA WebLogic Server

[ ] 3 - IBM WebSphere Server

To select an item enter its number, or 0 when you are finished: [0] 2

Enter 0 to continue or 1 to make another selection: [0]

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]


Select the web server root directory:

Please specify a directory name or press Enter [/opt/bea] /apps/bea/weblogic/9.2

Detected web server version: WebLogic 9.2.1

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]


Please enter the administrator login and password for WebLogic domain.

Login ID:

[system]

Password:[password]

:

Re-type Password:[password]

:

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]


Select domain type:


[X] 1 - Create New WebLogic Domain
[ ] 2 - Existing WebLogic Domain

To select an item enter its number, or 0 when you are finished [0]: 2


[ ] 1 - Create New WebLogic Domain
[X] 2 - Existing WebLogic Domain

To select an item enter its number, or 0 when you are finished [0]:

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]


Select domain name from list:


[X] 1 - peoplesoft

To select an item enter its number, or 0 when you are finished [0]:

The domain name already exists. Please select an action:


[X] 1 - Install additional PeopleSoft site
[ ] 2 - Redeploy PeopleSoft Internet Architecture
[ ] 3 - Re-create WebLogic domain and redeploy PeopleSoft Internet Archite
[ ] 4 - Deploy additional PeopleSoft application extensions

To select an item enter its number, or 0 when you are finished [0]: 2


[ ] 1 - Install additional PeopleSoft site
[X] 2 - Redeploy PeopleSoft Internet Architecture
[ ] 3 - Re-create WebLogic domain and redeploy PeopleSoft Internet Archite
[ ] 4 - Deploy additional PeopleSoft application extensions

To select an item enter its number, or 0 when you are finished [0]:

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]


Please specify a name for the PeopleSoft web site:

Website name:

[ps] DMOCRM9

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]


Enter port numbers and summaries.

AppServer name:

[orion]

JSL Port:

[9000] 9010

Authentication Token Domain:(optional)

[]

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]


Please enter the Name of the Web Profile used to configure the webserver. The
user id and password will be used to retrieve the web profile from the
database. (NOTE: Other available preset web profile names are "TEST", "PROD",
and "KIOSK".)

Web Profile Name:

[DEV]

User ID:

[PTWEBSERVER]

Password:[PTWEBSERVER]

:

Re-type Password:[PTWEBSERVER]

:

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]


Select the Report Repository location:

Please specify a directory name or press Enter [/opt/psreports] /psreports

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]


Setup Type :

Web server root directory :

Web server version :

Web server domain :

Internet Architecture app name :

Integration Gateway app name :

PeopleSoft Business Interlink app name :

PeopleSoft Online Library Infrastructure :

Environment Management Hub :

Hello Portlet app name :

Portlet Container app name :

Testsuite app name :

Wsrptest app name :

Site name :

Authentication Token Domain :

Application server name :

JSL port :

Report repository directory :

PIA webserver directory :

weblogic

/apps/bea/weblogic/9.2

9.2

peoplesoft

PORTAL

PSIGW

PSINTERLINKS

PSOL

PSEMHUB

helloportletapp

pspc

testsuite

wsrptest

DMOCRM9


orion

9010

/psreports

/apps/psoft/crm9/webserv

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]
[...]

BUILD SUCCESSFUL
Total time: 0 seconds
100 % complete


Deploy Completed. Click next to finish the install.

The InstallShield Wizard has successfully installed PeopleSoft Internet
Architecture. Choose Finish to exit the wizard.

Press 3 to Finish or 5 to Redisplay [3]

[weblogic@orion:/apps/psoft/crm9/setup/PsMpPIAInstall]$

And start the Webserver as well :
[weblogic@orion:/apps/psoft/crm9/webserv/peoplesoft/bin]$ ./startPIA.sh
Attempting to start WebLogic Server PIA
No activity will be logged to this window.
Server activity will be logged to /apps/psoft/crm9/webserv/peoplesoft/servers/PIA/logs/PIA_*
PID for WebLogic Server PIA is: 15179
[weblogic@orion:/apps/psoft/crm9/webserv/peoplesoft/bin]$ tail -f /apps/psoft/crm9/webserv/peoplesoft/servers/PIA/logs/PIA_stdout.log

[...]
BUILD SUCCESSFUL
Total time: 0 seconds
100 % complete


Deploy Completed. Click next to finish the install.

The InstallShield Wizard has successfully installed PeopleSoft Internet
Architecture. Choose Finish to exit the wizard.

Press 3 to Finish or 5 to Redisplay [3]

[weblogic@orion:/apps/psoft/crm9/setup/PsMpPIAInstall]$

And start your Web server :
[weblogic@orion:/apps/psoft/crm9/webserv/peoplesoft/bin]$ ./startPIA.sh
Attempting to start WebLogic Server PIA
No activity will be logged to this window.
Server activity will be logged to /apps/psoft/crm9/webserv/peoplesoft/servers/PIA/logs/PIA_*
PID for WebLogic Server PIA is: 15179
[weblogic@orion:/apps/psoft/crm9/webserv/peoplesoft/bin]$ tail -f /apps/psoft/crm9/webserv/peoplesoft/servers/PIA/logs/PIA_stdout.log

You can run a DDDAUDIT report to validate your upgrade.