A.5. Test Your HAProxy Configuration
On your HAProxy nodes, check to ensure the virtual IP address from your
keepalived
configuration appears.
$ ip addr show
On your calamari node, see if you can reach the gateway nodes by means of the load balancer configuration. For example:
$ wget haproxy
This should return the same result as:
$ wget rgw1
If it returns an
index.html
file with the following contents then your configuration is working properly.
<?xml version="1.0" encoding="UTF-8"?> <ListAllMyBucketsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> <Owner> <ID>anonymous</ID> <DisplayName></DisplayName> </Owner> <Buckets> </Buckets> </ListAllMyBucketsResult>