webMethods and Intelligent Business Operations 10.2 | API Portal Administrator's Guide | Configuring API Portal | Considerations for Machines with Multiple Network Interfaces | Reconfiguring the Load Balancer when you configure multiple API Portal machines
 
Reconfiguring the Load Balancer when you configure multiple API Portal machines
If you are configuring multiple API Portal machines, you need to check the load balancer components on each one and ensure that the HTTPD.servername parameter is set to the correct IP address of server.
* To reconfigure the load balancer component
1. Start the ACC.
2. At the command line, type show instance loadbalancer_s to see the current configuration settings of the load balancer component. For example:
ACC+ localhost>show instance loadbalancer_s
ID: loadbalancer_s state:STARTED type:com.aris.runnables.httpd.httpd-run-prod-98.0.0
classifier=runnable type=zip
Configuration parameters:
HTTPD.LimitRequestFieldSize=32768
HTTPD.access.root=granted
HTTPD.keepalive=on
HTTPD.modjk.max_packet_size=32768
HTTPD.modjk.stickySessions.abs=true
HTTPD.modjk.stickySessions.ads=true
HTTPD.modjk.stickySessions.ecp=true
HTTPD.modjk.stickySessions.processboard=true
HTTPD.modjk.stickySessions.umc=true
HTTPD.port=18101
HTTPD.servername=192.0.2.11
HTTPD.ssl.port=18102
appcontext.abs=abs
appcontext.cop=/
appcontext.ecp=collaboration
plugin.ping.search.for.processes=false
zookeeper.application.instance.host= portal01.my.org
zookeeper.connect.string=localhost:18043
3. Examine the HTTPD.servername parameter. If it needs to point to another server IP, you can change it by using the reconfigure command. To do so:
a. Stop the load balancer component:
stop loadbalancer_s
b. Change the value of the HTTPD.servername parameter and specify the new IP address:
reconfigure loadbalancer_s +HTTPD.servername=new_IP
c. Optional. If you want to change the HTTPS port, you have to reconfigure both load balancer instances with the following command:
reconfigure loadbalancer_m HTTPD.redirect.http.port =":<port#>" HTTPD.redirect.https.port =":<new port #>" HTTPD.servername=<server name>
d. Start the load balancer component:
start loadbalancer_s

Copyright © 2015- 2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release