next up previous contents
Next: 0.3.3.5 Destroying Load Balancer Up: 0.3.3 Load Balancers Previous: 0.3.3.3 Listing Load Balancers   Contents

0.3.3.4 Operations on Members

You can view list of Load Balancer Member nodes using lb-member-list tool like that:

		$ lb-member-list -i 12347
		<Member: id=33385, address=192.168.0.1:80>
		<Member: id=33388, address=192.168.0.2:8080>
		$

You just specify id of the Balancer you're working with (in our case it's 12347) and get a list of members attached to it.

To add a new node to the Load Balancer you need to know its IP and port and pass it to lb-member-add tool:

		$ lb-member-add -i 12347 192.168.0.3:8080
		$

And, finally, to remove a member from Load Balancer, use lb-member-remove:

		$ lb-member-remove -i 12347 33388

In this case we have to specify id on the Load Balancer and id of the member we're removing (id of the member could be obtained using lb-member-list.



Roman Bogorodskiy 2011-05-30