1 / 42

Using Multiple Web Servers With Different PeopleTools Versions on a Single Windows Serve

Using Multiple Web Servers With Different PeopleTools Versions on a Single Windows Serve. John Morrish, NERC, jomo@nerc.ac.uk. David Kurtz, Go-Faster Consultancy. www.go-faster.co.uk. Session 615. October, 20th 16:00 to 16:45. Natural Environment Research Council. 4 Research Centres.

muniya
Download Presentation

Using Multiple Web Servers With Different PeopleTools Versions on a Single Windows Serve

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Using Multiple Web Servers With Different PeopleTools Versionson a Single Windows Serve John Morrish, NERC, jomo@nerc.ac.uk David Kurtz, Go-Faster Consultancy. www.go-faster.co.uk Session 615 October, 20th 16:00 to 16:45

  2. Natural Environment Research Council • 4 Research Centres • British Antartic Survey • British Geological Survey • Centre for Ecology and Hydrology • Proudman Oceanographic Laboratory • 22 Collaborative Centres

  3. Natural Environment Research Council • Directly employed staff 2,500+ • Fellows, PHDs,Master Students, Higher education institutes 2,400+ • Funding £220 m (2002/3)

  4. Initial Hardware Setup • Logical server setup • 40 users & low concurrent usage • Database/Application Servers • Sun single cpu 750mhz 1 GB Mem • Solaris and Oracle • Web Server • Intel P3 600mhz 640 M Mem • Linux Red Hat

  5. Configuration - Old Win 2000 Report Server Production Production Production Production Support Support Support UAT Support UAT UAT UAT Training Training Training DEV DEV DEV SYS SYS SYS DMO DMO Training DMO DEV SYS DMO Unix Database Server Application and Batch Servers (User PRD) Linux Web Server Apache DataBase Instances Application and Batch Servers (User DEV)

  6. Web Server as delivered – with some important directories D:\….Weblogic myserver clientclasses psftdocs HR80PRD HR80UAT Peoplesoft8 public_html HR80PRD HR80UAT serverclasses servletclasses  Weblogic.properties for everything  Applies to all myserver sites  configuration.properties per site  signon.html per site  Applies to all myserver sites  Applies to all myserver sites

  7. Application Servers as Delivered D:\... Psoft8\HR8SP1 ActiveX api appserv HR80PRD HR80UAT prcs HR80PRD HR80UAT bin cblbin class crw  all software under the one directory

  8. Why Change? • Delivered structure for servers does not lend itself to easy PeopleTools upgrade • Initial logical server structure too unpredictable • Early tests, indicated system failure with the proposed increase • Increased user base 40+ to 2500+ requires substantial increase in flexibility and robustness

  9. And the GSC? • 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?

  10. The Hardware Change - Physical Server setup • Database Server • 2 cpu 750mgz – 3GB Mem • Application Server • 2 cpu Xeon 2.4 ghz – 1 GB Mem • Web Server • 2 cpu 1.4 ghz – 2 GB Mem • Report Server • 1 cpu Xeon 2.4 ghz – 1GB Mem

  11. 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

  12. Configuration - New Win 2000 Application Server Win 2000 Report Server Win 2000 Web Server Unix Database Server Production Production Support Support Production Production UAT UAT Support Support UAT UAT Training Training Win 2000 Application Server Win 2000 Report Server Test Test Training Training DEV DEV Test Test SYS SYS DEV DEV DMO DMO SYS SYS DMO DMO

  13. Web Server Changed D:\..Weblogic myserver myserverHR80PRD clientclasses psftdocs HR80PRD public_html HR80PRD serverclasses servletclasses myserverHR80UAT • has Weblogic.properties unique to this myserverHR80PRD  has configuration.properties has signon.html unique to this myserverHR80PRD • unique to this myserverHR80PRD

  14. Application Servers Changed D:\... Psoft8 HR8SP1PRD ActiveX …… HR8SP1UAT ActiveX api appserv HR80UAT prcs HR80UAT bin cblbin class crw ……  Each instance has all the software  Each instance has all the software

  15. 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

  16. Configuration - Considerations • Tuxedo • Application Servers • Weblogic webserver

  17. Tuxedo • Install on each server • One Important Configuration Consideration • Some possible tuning opportunities

  18. Queue and 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

  19. Number of Message Queues • Number of queues = 2 * ( PSAPPSRV + PSQCKSRV + PSQRYSRV + PSSAMSRV + PSDBGSRV + PSPUB*) + 7 • (More server types in 8.4).

  20. Tuxedo – IPC settings

  21. 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?

  22. Weblogic Server • Only one Weblogic server per physical windows server because of use of registry. • These would be environmental variables on Unix.

  23. How to create a copy of myserver – part 1 • 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

  24. How to create a copy of myserver – part 2 • 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

  25. Weblogic SP9 • Required in order to support multiple NT services. • BEA Documentation uncharacteristically contradictory • beasvc.exe instead of install.exe and remove.exe

  26. Multiple Application 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

  27. Multiple Application Servers • One PeopleTools version per %PS_HOME% • Need to set this variable before running psadmin

  28. PIA Install quirks • PIA Location • Weblogic NT Services

  29. Weblogic NT Services • PeopleSoft PIA Installation process only creates service that runs default myserver • Don’t run myserver, use it as a template only

  30. Create NT Service per 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.

  31. 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.

  32. installNtServiceXXXX.cmd Part 1 of 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 …

  33. installNtServiceXXXX.cmd Part 2 of 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 …

  34. installNtServiceXXXX.cmd Part 3 of 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%

  35. How the services should look

  36. PIA Location • 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

  37. Upgrading Tools for Weblogic – Part 1 of 2 • Install the websever changes into myserver • Copy the following 3 directories from myserver to myserver_newserver structure • Clientclass • Serverclasses • servletclasses

  38. Upgrading Tools for Weblogic – Part 2 of 2 • Backup Weblogic.properties, configuration.properties, signon.html to compare with new files for changes • Copy all files from myserver\psftdocs to target server • Copy all files from i to target server • Rebuild Configuration files from scratch & compare to backups

  39. Upgrading • You can move an upgrade between different versions of PeopleTools • Do in 2-tier mode • Can connect to different patch releases • 8.18.xx (may not be supported) • If different minor releases go via file • 8.14 -> 8.18 • Just like a PSFT patch! • Thus Application upgrades can overtake PeopleTools upgrade.

  40. Other bits • Tuxedo and Terminal Services • Don’t • Can’t start a server when a TS window open • 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

  41. Finally • Questions?

  42. Using Multiple Web Servers With Different PeopleTools Versionson a Single Windows Server John Morrish, NERC, jomo@nerc.ac.uk David Kurtz, Go-Faster Consultancy, david.kurtz@go-faster.co.uk Session 615 October, 20th 16:00 to 16:45

More Related