HP Matrix Operating Environment Software User Manual

Page 53

Advertising
background image

Table 2 ioexec create and delete load balancer group commands

Description

ioexec command

Creates a group in a logical load balancer. A group describes a service to
load balance

creategroup logicalloadbalancer

Deletes a group from a logical load balancer, and removes all group members

deletegroup logicalloadbalancer

NOTE:

The create logical load balancer operation using the SOAP API or the ioexec CLI requires

administrator approval. The administrator is notified and the operation is paused until the
administrator clicks Approved on the infrastructure orchestration console Requests tab.

Other load balancer operations, such as deleting a load balancer group and adding or removing
group members, appear on the Requests tab but do not require administrator approval. These
operations do, however, require that a username and password are supplied on the command
line.

The following figure shows an HAProxy load balancer configured to load balance the network
traffic between two servers in the Petclinic server group.

Following are examples of commands that create and delete a logical load balancer group.

When creating a logical load balancer group, a service IP address is usually on a public network.

C:\> ioexec creategroup logicalloadbalancer -s example-io-service -l

LogicalLoadBalancer:00000000-0000-0000-0000-000000000000 -g http-group

-P http -a 10.1.100.10 -p 80 -H example-website -U "/" -t 6000 -O

JSESSIONID -u administrator

C:\> ioexec deletegroup logicalloadbalancer -s example-io-service -l

LogicalLoadBalancer:00000000-0000-0000-0000-000000000000 -g http-group

-u administrator

where:

Configuring a load balancer

53

Advertising