uCosminexus Application Server, System Setup and Operation Guide
To control the load balancer using Smart Composer functionality, you must set up a connection with the load balancer. Additionally, you must define the load balancer (load-balancer tag definition) in Easy Setup definition file.
Use Smart Composer functionality to define type of the load balancer, connection method and the other connection information required for accessing the load balancer. Define the information in the lb.properties (load balancer definition property) file on the host for allocating the management functionality. The settings include information unique to the load balancer as well as common information.
The following example describes the method of setting the lb.properties file to directly connect to load balancers (AX2000, BS320) using telnet. For an example of setting the load balancer to connect directly using APIs, see 8.5 Load balancer connection settings in the Management Server (Smart Composer functionality) in the uCosminexus Application Server Security Management Guide.
lb.list=192.168.100.10 lb.enable_passwd.192.168.100.10=adminpw lb.connect_type.192.168.100.10=telnet #lb.telnet.port.192.168.100.10=23 lb.telnet.user.192.168.100.10=user01 lb.telnet.passwd.192.168.100.10=user01pw lb.telnet.user_prompt.192.168.100.10="AX login: " lb.telnet.passwd_prompt.192.168.100.10="Password: " lb.telnet.login_prompt.192.168.100.10=> #lb.telnet.login_timeout.192.168.100.10=10 #lb.telnet.command_timeout.1192.168.100.10=10 |
The lb.properties file contains information such as user name and password used for connecting to the load balancer. Assign appropriate access permissions to maintain the confidentiality of the information.
Define following tags (load-balancer tags) in the definition of the load balancer of Easy Setup definition file.
Following example shows the method to create Easy Setup definition file, and describes the contents of definition in the load-balancer tag defining the load balancer.
<!--Specify the settings of load balancer.-->
<load-balancer>
<name>MyAX2000</name>
<load-balancer-type>ACOS</load-balancer-type>
<management-host>192.168.100.10</management-host>
<virtual-server>
<virtual-server-name>www.sample.com</virtual-server-name>
<ip-address>192.168.1.10</ip-address>
<http-port>80</http-port>
</virtual-server>
</load-balancer>
All Rights Reserved. Copyright (C) 2012, 2013, Hitachi, Ltd.