I am trying to explain how we can do a load balancing with Peoplesoft process scheduler. I am assuming that we have two process scheduler running on UNIX as PSUNX and PSUNX1, and one scheduler on Windows as PSNT. Lets see how we configure the load balancing.
For load balancing to take place master scheduler process in atleast one of the process schedulers should be active. A Master Scheduler can be activated in any of the Process Scheduler servers in Microsoft Windows and UNIX. This option is enabled by default when you are configuring a new Process Scheduler server in Windows and UNIX. However, this option is not available in the IBM UNIX System Services (USS). Each Process Scheduler domain on Windows or UNIX (except for USS) can be set up to have a Master Scheduler started. However, only one Master Scheduler is active to control the workload at any time. The other Master Schedulers remain in a state of idle. If the active Master Scheduler goes down, then one of the idle Master Scheduler servers take control. If a Master Scheduler is not available, then the PSPRCSRV servers, currently in remote server mode, switch back to standalone mode and query the Process Request table to find work.
1. As an initial step got peopletools->process scheduler->system settings. Make sure that you have a primary OS defined. System load balancing option should be Assign To Server in Any O/S. This will help us to use all available servers in all the operating systems to be used for load balancing. If this is not selected, the process schedulers in other OS apart from your Primary OS will not be used for load balancing. In this case on PSUNX and PSUNX2 will be used.
2. Now goto Peopletools->Process scheduler-> Servers and select all the servers one by one and do the following configurations. Lets take PSUNX as an example
Following are the options we need to monitor
a. Make sure Operating system is correct
b. Server Load Balancing option: Make sure this is set to Use for load balancing. Otherwise this server will not be used for load balancing. When you select Do Not Use Option, the server takes a request only when the name of the server has been specified on the Process Request page or in any of the definition tables.
c. Redistribute Workload Option: Select Do Not Redistribute, Redistribute to any O/S, or Redistribute to Same O/S. When you select the option to redistribute, another active agent can take a request that is originally assigned to this server. When this agent detects that one of the other active agents is no longer active and the server is set up to allow work to be distributed, it takes any queued request that was assigned to the inactive agent and redistributes it, based on the available active agents.
Once these settings are done you can test the load balancing on your system
Very informative blog! Good job, Vivek.
ReplyDeleteOne question. If I have 2 Windows Process Schedulers and 2 Unix servers. Can I load balance my 2 Windows Process Schedulers only for Crystal Reports, and load balance appengine, cobol, sqr, etc in UNIX? what should be the settings in Systems Settings?
regards,
andyv
Yes Andy that is possible. What you have to do is disable all processes like AE,SQR etc from Windows server, so that they will load balance between UNIX servers only. Also remove crystal reports from UNIX so that they will get load balanced between Windows server. In this case you should have one master scheduler enabled in one of the Unix server and another in one of the NT server.
ReplyDeleteYou can add or delete process types from a server in first page of navigation Peopletools->Process scheduler-> Servers
This comment has been removed by the author.
ReplyDeleteHi Vivek this is pandu
ReplyDeleteIn process scheduler i've three servers like PSNT,PSNT1,PSNT2 in windows and three servers in unix like PSUNX,PSUNX1,PSUNX2 in these two OS where can i enable master scheduler please give the reply to me
The option to enable the PSMSTPRC service is one of the final steps displayed when reconfiguring the domain through the psadmin menu.
ReplyDelete