pia configuration on windows/2000
DESCRIPTION
PIA Configuration on Windows/2000. John Morrish David Kurtz. John Morrish NERC HRMS Technical Manager [email protected] www.nerc.ac.uk. David Kurtz Go-Faster Consultancy Ltd. [email protected] www.go-faster.co.uk. The Presenters. Council Structure. - PowerPoint PPT PresentationTRANSCRIPT
PIA Configuration on Windows/2000
John Morrish
David Kurtz
www.nerc.ac.uk / www.go-faster.co.uk 2
The Presenters
• John Morrish– NERC
– HRMS Technical [email protected]
– www.nerc.ac.uk
• David Kurtz– Go-Faster Consultancy Ltd.– [email protected]
– www.go-faster.co.uk
www.nerc.ac.uk / www.go-faster.co.uk 3
• Natural Environment Research Council– 4 Research Centres
• British Antartic Survey
• British Geological Survey
• Centre for Ecology and Hydrology
• Proudman Oceanographic Laboratory
– 22 Collaborative centres
Council Structure
www.nerc.ac.uk / www.go-faster.co.uk 4
Statistics
• Directly employed staff 2,500+
• Fellows, PHDs,Master Students, Higher education institutes 2,400+
• Funding £220 m (2002/3)
www.nerc.ac.uk / www.go-faster.co.uk 5
Objective
• Potential for Different PeopleTools versions on the same node– Tuxedo Application Server– Weblogic web servers
• Facilitates progressive PeopleTools upgrade – Not ‘big bang’– Thorough testing
www.nerc.ac.uk / www.go-faster.co.uk 6
Initial Hardware
• Logical server setup • (40 users & low concurrent usage)• Database/Application Servers
– Sun 1 cpu 750mhz 1 GB Mem– Solaris and Oracle
• Web Server – Intel P3 600mhz 640 M Mem– Linux Red Hat
www.nerc.ac.uk / www.go-faster.co.uk 7
Why change?
• Delivered structure for servers does not lend itself to easy PeopleTools upgrade
• Initial logical server structure too unpredictable• Early tests, when extrapolated indicated system
failure with the introduction of self service• Increased user base 40+ to 2500+ requires
substantial increase in flexibility and robustness
www.nerc.ac.uk / www.go-faster.co.uk 8
• Also the technique appears to be officially supported• 717563: WebLogic: How do I install multiple instances
of WebLogic 5.1 • 200731212: How to Start Multiple WebLogic 5.1
Instances on Windows 2000/NT as Services (SP9)• 714889 - Installing and Removing the Multiple
WebLogic NT Services • Partially correct – but use beasrv.exe
• 720177 - How to configure Weblogic for multiple NICs?
And the GSC?
www.nerc.ac.uk / www.go-faster.co.uk 9
The Hardware Change
• Physical Server setup• Database Server
– Sun 2 cpu 750mgz – 3GB Mem
• Application Server – Compaq DL380 G3 2 cpu Xeon 2.4 ghz – 1 GB Mem
• Web Server– Compaq ML370 G2 2 cpu 1.4 ghz – 2 GB Mem
• Report Server– Compaq DL380 G3 1 cpu Xeon 2.4 ghz – 1GB Mem
• Running on a secure gigabyte network.
www.nerc.ac.uk / www.go-faster.co.uk 10
The Software
• Database – Oracle 8.1.7.4 on Solaris 8
• All other servers Windows 2000
• PeopleSoft HRMS 8.0 SP1
• PeopleTools 8.18
• SQR 8.18
• Crystal 8.0
www.nerc.ac.uk / www.go-faster.co.uk 11
• Old• New
swhrweb2Windows 2000
Weblogic HTTP/Servlet
Server
swhrweb2Windows 2000
Weblogic HTTP/Servlet
Server
HR80UAT
HR80CNV
HR80TRN
HR80TST
HR80DEV
HR80SYS
HR80DMO
HR80PRD
swhrUnix DB & Application server
swhrUnix DB & Application server
HR80DMO
HR80DSYS
HR80DEV
HR80TST
HR80TRN
HR80UAT
HR80CNV
HR80PRD
psoftpsoft
HR80TRN
HR80TST
HR80DEV
HR80SYS
HR80DMO
psoftprdpsoftprd
HR80UAT
HR80CNV
HR80PRDswhrweb2Windows 2000
Weblogic HTTP/Servlet
Server
swhrweb2Windows 2000
Weblogic HTTP/Servlet
Server
HR80UAT
HR80CNV
HR80TRN
HR80TST
HR80DEV
HR80SYS
HR80DMO
HR80PRD
swhrweb2Windows 2000
Weblogic HTTP/Servlet
Server
swhrweb2Windows 2000
Weblogic HTTP/Servlet
Server
HR80UAT
HR80CNV
HR80TRN
HR80TST
HR80DEV
HR80SYS
HR80DMO
HR80PRD
swhrUnix DB & Application server
swhrUnix DB & Application server
HR80DMO
HR80DSYS
HR80DEV
HR80TST
HR80TRN
HR80UAT
HR80CNV
HR80PRD
psoftpsoft
HR80TRN
HR80TST
HR80DEV
HR80SYS
HR80DMO
psoftprdpsoftprd
HR80UAT
HR80CNV
HR80PRD
swhrUnix DB & Application server
swhrUnix DB & Application server
HR80DMO
HR80DSYS
HR80DEV
HR80TST
HR80TRN
HR80UAT
HR80CNV
HR80PRD
HR80DMO
HR80DSYS
HR80DEV
HR80TST
HR80TRN
HR80UAT
HR80CNV
HR80PRD
psoftpsoft
HR80TRN
HR80TST
HR80DEV
HR80SYS
HR80DMO
psoftpsoft
HR80TRN
HR80TST
HR80DEV
HR80SYS
HR80DMO
psoftprdpsoftprd
HR80UAT
HR80CNV
HR80PRD
psoftprdpsoftprd
HR80UAT
HR80CNV
HR80PRD
swhrUnix DB server
swhrUnix DB server
HR80DMO
HR80DSYS
HR80DEV
HR80TST
HR80TRN
HR80UAT
HR80CNV
HR80PRD
swhrdevappWindows 2000
Tuxedo Application
Server
swhrdevappWindows 2000
Tuxedo Application
Server
HR80TRN
HR80TST
HR80DEV
HR80SYS
HR80DMO
swhrprdappWindows 2000
Tuxedo Application
Server
swhrprdappWindows 2000
Tuxedo Application
Server
HR80UAT
HR80CNV
HR80PRD
swhrweb2Windows 2000
Weblogic HTTP/Servlet
Server
swhrweb2Windows 2000
Weblogic HTTP/Servlet
Server
HR80UAT
HR80CNV
HR80TRN
HR80TST
HR80DEV
HR80SYS
HR80DMO
HR80PRD
swhrUnix DB server
swhrUnix DB server
HR80DMO
HR80DSYS
HR80DEV
HR80TST
HR80TRN
HR80UAT
HR80CNV
HR80PRD
swhrUnix DB server
swhrUnix DB server
HR80DMO
HR80DSYS
HR80DEV
HR80TST
HR80TRN
HR80UAT
HR80CNV
HR80PRD
swhrdevappWindows 2000
Tuxedo Application
Server
swhrdevappWindows 2000
Tuxedo Application
Server
HR80TRN
HR80TST
HR80DEV
HR80SYS
HR80DMO
swhrdevappWindows 2000
Tuxedo Application
Server
swhrdevappWindows 2000
Tuxedo Application
Server
HR80TRN
HR80TST
HR80DEV
HR80SYS
HR80DMO
swhrprdappWindows 2000
Tuxedo Application
Server
swhrprdappWindows 2000
Tuxedo Application
Server
HR80UAT
HR80CNV
HR80PRD
swhrprdappWindows 2000
Tuxedo Application
Server
swhrprdappWindows 2000
Tuxedo Application
Server
HR80UAT
HR80CNV
HR80PRD
swhrweb2Windows 2000
Weblogic HTTP/Servlet
Server
swhrweb2Windows 2000
Weblogic HTTP/Servlet
Server
HR80UAT
HR80CNV
HR80TRN
HR80TST
HR80DEV
HR80SYS
HR80DMO
HR80PRD
swhrweb2Windows 2000
Weblogic HTTP/Servlet
Server
swhrweb2Windows 2000
Weblogic HTTP/Servlet
Server
HR80UAT
HR80CNV
HR80TRN
HR80TST
HR80DEV
HR80SYS
HR80DMO
HR80PRD
Configurations
www.nerc.ac.uk / www.go-faster.co.uk 12
Configuration considerations
• Tuxedo
• Weblogic webserver
• Application Servers
www.nerc.ac.uk / www.go-faster.co.uk 13
Tuxedo
• Install once on each physical application server– One Important Configuration Consideration
• Some possible tuning opportunities
www.nerc.ac.uk / www.go-faster.co.uk 14
Weblogic Issues
• Only one Windows Webserver– Used for Dev, Test and Production
• On Windows, only one Weblogic installation per Weblogic version.
• Want to run different PeopleTools versions on same Weblogic installation – how to upgrade?
www.nerc.ac.uk / www.go-faster.co.uk 15
Web Server as deliveredD:\..Weblogic myserver has Weblogic.properties for everything cgi-bin clientclasses Applies to all myserver sites psftdocs HR80PRD has configuration.properties per site HR80CNV HR80UAT Peoplesoft8 public_html HR80PRD has signon.html per site HR80CNV HR80UAT serverclasses Applies to all myserver sites servletclasses Applies to all myserver sites
www.nerc.ac.uk / www.go-faster.co.uk 16
Web Server Changed D:\..Weblogic
myserver
myserverHR80PRD has Weblogic.properties for HR80PRD
…….
myserverHR80UAT has Weblogic.properties for HR80UAT
cgi-bin
clientclasses unique to this myserverHR80UAT
psftdocs
HR80UAT has configuration.properties
Peoplesoft8
public_html
HR80UAT has signon.html
serverclasses unique to this myserverHR80UAT
servletclasses unique to this myserverHR80UAT
www.nerc.ac.uk / www.go-faster.co.uk 17
How to create a copy of myserver
• Copy the entire myserver directory to myserver_newserver• Amend the Weblogic.properties for the new server • Rename the directory in \psftdocs to the new server (say
newserver)• Amend the configuration.properties within this directory• Rename the directory under public_html to the new server
(say newserver)• Amend the signon.html within this directory• Delete access.log & other log files from
myserver_newserver directory
www.nerc.ac.uk / www.go-faster.co.uk 18
Weblogic Server
• Only one Weblogic server per physical windows server because of use of registry.
• These would be environmental variables on Unix.
www.nerc.ac.uk / www.go-faster.co.uk 19
Weblogic SP9
• Required in order to support multiple NT services.
• BEA Documentation uncharacteristically contradictory– beasvc.exe instead of install.exe and
remove.exe
www.nerc.ac.uk / www.go-faster.co.uk 20
MultipleApplication Servers
• Two new servers for Application Servers.– Still need different PeopleTools versions on
each servers• Multiple %PS_HOME%
– Only one Tuxedo installation per Windows server
• One configuration to support all domains– Application Servers and Process Schedulers under Tuxedo
www.nerc.ac.uk / www.go-faster.co.uk 21
Application Server
• One PeopleTools version per %PS_HOME%
• Need to set this variable before running psadmin
www.nerc.ac.uk / www.go-faster.co.uk 22
D:\... Psoft8 HR8SP1 all software under the one directory ActiveX api appserv HR80PRD HR80CNV HR80UAT prcs HR80PRD HR80CNV HR80UAT bin cblbin class crw
Application server as delivered
www.nerc.ac.uk / www.go-faster.co.uk 23
D:\... Psoft8 HR8SP1PRD Each instance has all the software ActiveX …… HR8SP1UAT ActiveX api appserv HR80UAT prcs HR80UAT bin cblbin class crw ……
Application Server Changed
www.nerc.ac.uk / www.go-faster.co.uk 24
Perceived Benefits
• Allowed us to progressively upgrade PeopleTools 8.14.10 to 8.18.x
• Different Tools versions in different environments. Permitting testing of tools versions through chain of environments.
• Substantial increase in system stability & scalability with the new structure
• Reviewed several physical/logical combinations
www.nerc.ac.uk / www.go-faster.co.uk 25
• PIA Location
• Weblogic NT Services
PIA Install quirks
www.nerc.ac.uk / www.go-faster.co.uk 26
• PeopleSoft PIA Installation process only creates service that runs default myserver
• Don’t run myserver, use it as a template only
Weblogic NT Services
www.nerc.ac.uk / www.go-faster.co.uk 27
Create NT Serviceper Web Server
• Used beasvc.exe to create and delete NT services for each Weblogic server.– Introduced at SP9– Do not use install.exe and remove.exe (up to
SP8)– If you have to delete a service you will
probably have to reboot the Windows server because the service table will lock.
www.nerc.ac.uk / www.go-faster.co.uk 28
First, do it without a service
• Get the various web servers starting from just an ordinary batch script.– Get the environmental variables for the JVM
right.– The put those variables into script to create
service.
www.nerc.ac.uk / www.go-faster.co.uk 29
Services
• Create service with batch script
• Recommend create – one batch script to install each server– one batch script to remove each server
– Caveat: deleting a service will lock the service table, and you have to reboot the whole server
www.nerc.ac.uk / www.go-faster.co.uk 30
installNtServiceXXXX.cmd [1/3]
set MYSERVER=myserverXXXX
set JAVA_HOME=C:\PROGRA~1\JavaSoft\JRE\132DB1~1.1_0
set WEBLOGICHOME=d:\ps\weblogic51
set CLASSPATH=%WEBLOGICHOME%\lib\weblogic510spboot.jar;%WEBLOGICHOME%\classes\boot;%WEBLOGICHOME%\eval\cloudscape\lib\cloudscape.jar
…
www.nerc.ac.uk / www.go-faster.co.uk 31
installNtServiceXXXX.cmd [2/3]
• This is variable comes from the batch script.
…set WEBLOGICCLASSPATH=%WEBLOGICHOME%\lib\weblogic510sp.jar;
%WEBLOGICHOME%\%MYSERVER%\servletclasses\entbase.jar;%WEBLOGICHOME%\%MYSERVER%\servletclasses\entssl.jar;%WEBLOGICHOME%\%MYSERVER%\servletclasses\gnu-regexp-1.0.8.jar;%WEBLOGICHOME%\%MYSERVER%\servletclasses\enthttp.jar;%WEBLOGICHOME%\%MYSERVER%\servletclasses;%WEBLOGICHOME%\license;%WEBLOGICHOME%\classes;%WEBLOGICHOME%\lib\weblogicaux.jar;%WEBLOGICHOME%\%MYSERVER%\serverclasses
…
www.nerc.ac.uk / www.go-faster.co.uk 32
installNtServiceXXXX.cmd [3/3]
…
set CMDLINE="-ms64m -mx64m -classpath \"%CLASSPATH%\" -Dweblogic.class.path=\"%WEBLOGICCLASSPATH%\" -Djava.security.policy==\"%WEBLOGICHOME%\weblogic.policy\" -Dweblogic.system.name=%MYSERVER% -Xrs PSweblogic"
%WEBLOGICHOME%\bin\beasvc.exe -install -svcname:"Weblogic Server 5.1.0 - %MYSERVER%" -javahome:%JAVA_HOME% -execdir:%WEBLOGICHOME% -extrapath:%WEBLOGICHOME%\bin -cmdline:%CMDLINE%
www.nerc.ac.uk / www.go-faster.co.uk 33
• No matter what you specify for the location the servlet files go to myserver!– (PT8.18.10)
• So don’t actually use myserver– Use it as a template
PIA Location
www.nerc.ac.uk / www.go-faster.co.uk 34
• Install the webserver changes into myserver
• Copy the java client binaries in the following 3 directories from myserver to myserver_newserver structure
– clientclass, serverclasses, servletclasses
• Copy peoplesoft8 sites from myserver to target server (myserverXXXX)– Now have vanilla configuration for that version of PeopleTools within
that server
• Retain backups of Weblogic.properties, configuration.properties, signon.html to compare with new files for changes
• Copy all files from peoplesoft8 into each site.
• Compare with backups to replace configuration values
Upgrading Tools for Weblogic
www.nerc.ac.uk / www.go-faster.co.uk 35
A Good Compare Tool
• http://www.oneysoft.com/fcompare.htm
www.nerc.ac.uk / www.go-faster.co.uk 36
… and this is why
• Handle new parameters
www.nerc.ac.uk / www.go-faster.co.uk 37
• You can move an upgrade between different versions of PeopleTools– Do in 2-tier mode– Can connect to different patch releases
• 8.18.xx
– If different minor releases go via file• 8.14 -> 8.18• Just like a PSFT patch!
• Thus Application upgrades can overtake PeopleTools upgrade.
Upgrading
www.nerc.ac.uk / www.go-faster.co.uk 38
Other Bits
• Tuxedo and Terminal Services
• Unix Kernel Configuration
• Multiple NICs
www.nerc.ac.uk / www.go-faster.co.uk 39
Tuxedo& Terminal Services
• Don’t
www.nerc.ac.uk / www.go-faster.co.uk 40
Tuxedo ‘Unix Kernel’ Configuration
www.nerc.ac.uk / www.go-faster.co.uk 41
Queue & Maximum Message Size
• Typical Tuxedo Message ~100Kb
• If message > ¾ of message queue/max message size then written to disk– This is slow
• Provide room for queuing
• Recommend at least 256Kb– See 8.4 Red Paper for on-line performance
www.nerc.ac.uk / www.go-faster.co.uk 42
Number of Message Queues
• Number of queues = 2 * (
PSAPPSRV + PSQCKSRV + PSQRYSRV + PSSAMSRV + PSDBGSRV)
+ 7
www.nerc.ac.uk / www.go-faster.co.uk 43
Message Segments & Size
• Total Memory overhead of Message Queues= Maximum Number of Message Queues
* Maximum Message Queue Size
= Number Of Message Segments
* Size of Message Segment
www.nerc.ac.uk / www.go-faster.co.uk 44
Other bits
• Multiple NIC’s– Different IP address and/or different ports– Load balance across IP address
• even on same network card
• and on same physical NT server
• Hence multiple JVM without Weblogic clusters
www.nerc.ac.uk / www.go-faster.co.uk 45
Multiple NICs
www.nerc.ac.uk / www.go-faster.co.uk 46
Multiple NICs
www.nerc.ac.uk / www.go-faster.co.uk 47
Questions?
www.nerc.ac.uk / www.go-faster.co.uk 48
• John Morrish• NERC
• HRMS Technical [email protected]
• www.nerc.ac.uk
• David Kurtz• Go-Faster Consultancy
This presentation also available from
• www.go-faster.co.uk