HP Matrix Operating Environment 7.2 Update 1 Infrastructure Orchestration User Guide

and/or a certificate ID. These IDs are the keys to an actual password or certificate that is stored
in IO. This allows more than one load balancer to use a common password or certificate. The IO
administrator can manage passwords and certificates in IO using ioexec commands and the
SOAP API.
Typically, a load balancer has access to a private and a public network, and has an IP address
on a management network.
Following are examples of commands that add an HAProxy load balancer to the CMS, and set
the password for a load balancer.
In the following examples, the administrator can add -w administrator-password to each
command. If this option is not supplied, ioexec will prompt for the password, if it is not defined
in the default configuration file.
C:\> ioexec add loadbalancer -l haproxy-load-balancer -m HAProxy -v
1.4.18 -s example-private-network,example-public-network -a
192.100.100.10 -p 22 -U root -W haproxy-password-id --maxgrps 10 -t
example-tag1,example-tag2 -u administrator
C:\> ioexec setpassword loadbalancer -W haproxy-password-id -p
example-password -u administrator
where:
-l haproxy-load-balancer Load balancer ID, selected by the administrator as a name
for the load balancer
-m HAProxy Model of the load balancer
-v 1.4.18 Version of the load balancer
-s example-private-network,
example-public-network
Networks visible to the load balancer
-a 192.100.100.10 Management IP address to connect to the load balancer
-p 22 Management port on which to connect the load balancer
-U root Management user name for the load balancer
-W haproxy-password-id Password ID of the load balancer
--maxgrps 10 Maximum number of groups supported by the load balancer
-t example-tag1,example-tag2 Tag names by which this load balancer can be referenced
in infrastructure orchestration designer
-u administrator user name for the ioexec CLI
For more information, see the HP CloudSystem Matrix/Matrix Operating Environment Integration
Interfaces API and CLI Operations Reference Guide at http://www.hp.com/go/matrixoe/docs.
Requesting a load balancer for a service
Load balancing servers in one or more server groups is done by selecting the Load Balance tab in
each server group configuration screen in infrastructure orchestration designer. Only one load
balancer can be specified per server group. The Load Balance tab allows the IO architect to specify
features of a load balancer that are desired in the service.
Optional tags can be specified to ensure that a particular load balancer is used. If tags are included,
infrastructure orchestration searches the inventory for a load balancer that meets the requirements
and has matching tags. Leaving the Tags field empty expands the selection of a load balancer for
the server group.
Configuring a load balancer 55