Highlighted
Absent Member.
Absent Member.
544 views

Load balancer

Hello,

 

We have HPSM 9.3 working on Windows..

 

In our environment, clients are using the SM by some third party application (application using wsdl) connecting to the SM using web services.

Now, due to over load we need to apply load balancer in SM.

 

I have modified the sm.cfg and added the parameter (marked blue)

 

#
# HP Service Manager Server Configuration File
#
# Used by HP Service Manager service on Windows and smstart script on Unix
# to start the Service Manager server processes.
#
######################################################################################
#
# Copyright (c) 1997-2007 HP, Inc.
# All Rights Reserved
#
######################################################################################

#
# start a Service Manager listener
#

sm -loadBalancer -httpPort:13080 -sslConnector:0 -RTM:3 -debugdbquery:999 -debughttp:1 -log:../logs/sm_lb_13080.log
#sm -httpPort:13080 -sslConnector:0 -log:../logs/sm_lb_13080.log

#sm -httpPort:13080 -sslConnector:0 -log:../logs/sm_lb_13080.log
sm -httpPort:13083 -sslConnector:0 -log:../logs/sm_lb_13083.log

#sm -httpPort:13085 -sslConnector:0 -log:../logs/sm_lb_13085.log -debugnode:1 -heartbeatinterval:300

sm -httpPort:13081 -sslConnector:1 -httpsPort:13443 -ssl:1 -log:../logs/sm_lb_13081.log
sm -httpPort:13082 -sslConnector:1 -httpsPort:13182 -ssl:1 -log:../logs/sm_13082.log
sm -httpPort:13084 -sslConnector:1 -httpsPort:13184 -ssl:1 -log:../logs/sm_13084.log
sm -httpPort:13085 -sslConnector:1 -httpsPort:13185 -ssl:1 -log:../logs/sm_13085.log

#sm -httpPort:13081 -sslConnector:1 -httpsPort:13443 -ssl:1 -log:../logs/sm_lb_13081.log -RTM:3 -debugdbquery:999 -#sqldebug:1 -debughttp:1 -#log:../logs/trace13081.txt
sqldebug:1 -debughttp:1 -#log:../logs/trace13081.txt


sm -httpPort:13080 -sqldb:HPSMDB -sqltz:INDIA


sm system.start

 

 

Now, problem is that, in the port 13084 and 13085 if i add sslConnector as 0, then i can connect my SM client, but if the same parameter is 1, client fails to login.

But in both the cases, i.e., sslConnector 0 or 1, web application (the application they use using our web services) do not able to retrieve data from SM.

 

Please help, i am missing something!!!

 

 

Thanks in advance.......

 

 

0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

Hi,

 

Load balancing and making servlets are two different things.

 

If you have 2 SM App. servers and you want to balance laod from server 1 to server 2, you use load balancing(by ebabling http loadbalancer servlet)

 

If you want to balance load on single SM App server you use http servelts. Each servlet can support upto 50 users and number of servlets depend on physical RAM memory on your server.

 

Regarding integration, first make these changes in your system and check webservice integration only with single servlet.

 

Because there are many instances in HP SM wherein it does not support load balancer integration.  (RC, SRC are ones)


Assign Kudos by clicking on Star on your left ,if this post helped you in any manner...Thanks...

Gaurav
Highlighted
Fleet Admiral
Fleet Admiral

Hi,

 

According to me do not allow your WSDL connections to connect through LB port create one seperate servlet say 13093 for WSDL connection and use this port to connect.

 

for SSL check your certificates and parameters again.

 

Regards,

Abhijit K

 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.