1 / 48

PIA Configuration on Windows/2000

PIA Configuration on Windows/2000. John Morrish David Kurtz. John Morrish NERC HRMS Technical Manager jomo@nerc.ac.uk www.nerc.ac.uk. David Kurtz Go-Faster Consultancy Ltd. david.kurtz@go-faster.co.uk www.go-faster.co.uk. The Presenters. Council Structure.

Download Presentation

PIA Configuration on Windows/2000

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. PIA Configuration on Windows/2000 John Morrish David Kurtz

  2. John Morrish NERC HRMS Technical Managerjomo@nerc.ac.uk www.nerc.ac.uk David Kurtz Go-Faster Consultancy Ltd. david.kurtz@go-faster.co.uk www.go-faster.co.uk The Presenters www.nerc.ac.uk / www.go-faster.co.uk

  3. Council Structure • Natural Environment Research Council • 4 Research Centres • British Antartic Survey • British Geological Survey • Centre for Ecology and Hydrology • Proudman Oceanographic Laboratory • 22 Collaborative centres 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. 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? 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 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 delivered D:\..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. Application server as delivered D:\... Psoft8 HR8SP1  all software under the one directory ActiveX api appserv HR80PRD HR80CNV HR80UAT prcs HR80PRD HR80CNV HR80UAT bin cblbin class crw www.nerc.ac.uk / www.go-faster.co.uk

  23. Application Server Changed D:\... Psoft8 HR8SP1PRD  Each instance has all the software ActiveX …… HR8SP1UAT ActiveX api appserv HR80UAT prcs HR80UAT bin cblbin class crw …… 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 Install quirks • PIA Location • Weblogic NT Services www.nerc.ac.uk / www.go-faster.co.uk

  26. Weblogic NT Services • PeopleSoft PIA Installation process only creates service that runs default myserver • Don’t run myserver, use it as a template only 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. 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 www.nerc.ac.uk / www.go-faster.co.uk

  34. Upgrading Tools for Weblogic • 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 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. 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 • If different minor releases go via file • 8.14 -> 8.18 • Just like a PSFT patch! • Thus Application upgrades can overtake PeopleTools upgrade. 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 Managerjomo@nerc.ac.uk www.nerc.ac.uk David Kurtz Go-Faster Consultancy Ltd.david.kurtz@go-faster.co.uk This presentation also available from www.go-faster.co.uk www.nerc.ac.uk / www.go-faster.co.uk

More Related