Secure Global Desktop 4.40 Administration Guide > SGD Servers, Arrays, and Load Balancing > Troubleshooting the Least CPU Usage and Most Free Memory Methods of Application Load Balancing
If you experience problems with the Least CPU Usage and Most Free Memory methods of application load balancing, you can get information from the following places to help you understand what is happening:
Add the following filters to the Log Filters field on Global Settings » Monitoring tab in the SGD Administration Console:
server/tier3loadbalancing/*:t3loadbal%%PID%%.log server/tier3loadbalancing/*:t3loadbal%%PID%%.jsl
This provides detailed information about the decision to launch an application and the data being sent by the application server.
For UNIX or Linux platform application servers these are in the
same directory as the Sun Secure Global Desktop Enhancement Module.By default this is /opt/tta-tem
.
For Windows application servers, this information displays in the Event Viewer.
Go to the http://applicationserver:3579?get&ttalbinfo
URL.
You can use this information to troubleshoot the following problems:
Use the load balancing service connection CGI program to check.
On UNIX and Linux platform application servers, use the following command to check that load balancing processes are running:
/opt/tta-tem/bin/tem status
The load balancing service on the application server sends load information to the primary SGD server. If the primary is not available, SGD uses Fewest application sessions as the method for load balancing application servers.
For the load balancing service to work, the firewall must allow the following connections:
Note These connections do not need to be authenticated.
After creating a server-specific load balancing properties file, you must do a warm restart of the primary SGD server, as follows:
# tarantella restart --warm
Check the following:
Use the load balancing service connection CGI program to check.
Check the application server object in the SGD Administration Console. Ensure the Application Start check box is selected on the General tab for the application server object.
Check the following:
Check the Hosting Application Servers tab for the application object.
Check the application server objects in the SGD Administration Console.
Check the default method on the Global Settings » Performance tab in the SGD Administration Console, and the method selected on the Performance tab for the application object.
Server affinity means that, if possible, SGD launches an application on the same application server as the last application the user launched. Server affinity is on by default.
Use the load balancing service connection CGI program to check.
Check that the server weighting value for the servers the same.
The SGD server log file might show an information message containing the following text:
Got an update for unknown id id from machine applicationserver
This message can be ignored. It occurs only when the primary SGD server is restarted.
Copyright © 1997-2007 Sun Microsystems, Inc. All rights reserved.