Adding a load balancer health monitor using CLI
In this recipe, we will create a health monitor to watch the health of the application that is running on the load balancer members using the Neutron CLI.
Getting ready
For this recipe, you will need the following information:
The SSH login credentials for a node where the Neutron client packages are installed
A shell RC file that initializes the environment variables for CLI
The type of monitor
The time interval between consecutive health check request sent by the monitor
The amount of time to wait for a reply from the application
The number of times the monitor will try to get a reply from the application
How to do it…
The following steps will show you how to create and associate a health monitor with a load balancer pool:
Using the appropriate credentials, SSH into the OpenStack node installed with the Neutron client packages.
Source the shell RC file to initialize the environment variables required for the CLI commands.
Execute the
neutron lb-healthmonitor...