[Openstack] lbaas V2 member health status issue

Satish Patel satish.txt at gmail.com
Wed Nov 2 16:02:12 UTC 2016


I have created simple two node load balancer and its working great but
question is how do i check heath or active members in pool, I have
created health check using  lbaas-healthmonitor-create command and
used --type PING and then i have shutdown one of server to see what
status i am seeing but don't know how do i check status of member in
pool?

[root at ostack]# neutron lbaas-member-list 618ba0e4-4715-4b19-997a-b0c994c6148c
+--------------------------------------+------+--------------+---------------+--------+--------------------------------------+----------------+
| id                                   | name | address      |
protocol_port | weight | subnet_id                            |
admin_state_up |
+--------------------------------------+------+--------------+---------------+--------+--------------------------------------+----------------+
| 329407a8-c116-4e1e-b1ea-8953f9aa3004 |      | 192.168.10.3 |
 8140 |      1 | 17f7b5e9-e32e-4399-bf5d-6c49e0b0d6ef | True
|
| 4b2ecd8e-5cd4-4eb6-b5f2-3555ec8c1ef8 |      | 192.168.10.4 |
 8140 |      1 | 17f7b5e9-e32e-4399-bf5d-6c49e0b0d6ef | True
|
+--------------------------------------+------+--------------+---------------+--------+--------------------------------------+----------------+

last column showing admin_state_up is that a status of heath monitor?
I have tried everything to find out where i should check status but i
didn't get any option

[root at ostack]# neutron lbaas-healthmonitor-list
+--------------------------------------+------+------+----------------+
| id                                   | name | type | admin_state_up |
+--------------------------------------+------+------+----------------+
| adcaf4d3-1db0-4a60-b1ae-da192b83768a |      | PING | True           |
+--------------------------------------+------+------+----------------+


[root at ostack]# neutron lbaas-healthmonitor-show
adcaf4d3-1db0-4a60-b1ae-da192b83768a
+----------------+------------------------------------------------+
| Field          | Value                                          |
+----------------+------------------------------------------------+
| admin_state_up | True                                           |
| delay          | 10                                             |
| id             | adcaf4d3-1db0-4a60-b1ae-da192b83768a           |
| max_retries    | 3                                              |
| name           |                                                |
| pools          | {"id": "618ba0e4-4715-4b19-997a-b0c994c6148c"} |
| tenant_id      | 01b16b2aaaff42ea9e96f82d0351f9c1               |
| timeout        | 20                                             |
| type           | PING                                           |
+----------------+------------------------------------------------+




More information about the Openstack mailing list