Forum Discussion
nathe
Cirrocumulus
May 05, 2010add pool member in a disabled state
Hi all,
Is there any way of adding a new pool member to an existing pool in a disabled state, rather than adding it enabled and then disabling it straight away?
Thanks in advance,
N
10 Replies
- Mark_Cloutier
Nimbostratus
I know in version 9.x you can add a node, disable the node, then add the node to the existing pool. I remember thinking this same question in version 4.x but never to the time to determine if it was possible - Hamish
Cirrocumulus
Sadly in v9 if you disable a node, then you disable ALL the poolmembers on that node. So it would only work for the first poolmember on that node.
However you could perhaps create a monitor that always marked a member down. Then add the member with that monitor as a member specific monitor. The monitor would immediately mark the member down... However I'm unsure whether the member would be marked down BEFORE any client connections were attempted to be sent to the new member...
Might require some testing...
H - Michael_Yates
Nimbostratus
Yes. You can do it with a Merge File. Not something for people that are not comfortable with Linux Command Line (CLI) and VI, but here is an example:
From F5 Command Line, create a file (in your Home Directory is fine):
vi test.merge.file
Paste in the pool with the changes (Note: You can get the information by searching through the /config/bigip.conf file and grab everything for the pool [See Example Below])
If you do NOT have Administrative Domains and Partitions Configured:pool whatever.the.pool.name.is { lb method member least conn monitor all tcp members 10.10.10.10:http 20.20.20.20:http session disable }
If you have Administrative Domains and Paritions Configured:shell write partition Partition.Name pool whatever.the.pool.name.is { lb method member least conn monitor all tcp members 10.10.10.10:http 20.20.20.20:http session disable }
Save the file.
Verify the file to insure that it is formatted correctly and that there are no obvious syntax errors:
b verify merge test.merge.file
Reading configuration from test.merge.file
No problems found.
Merge the file.
b merge test.merge.file - rdbronce_104346
Nimbostratus
I need to forward 300 port at the same time to a new member, Is it recommended to apply this method too?, or there is any suggestion to use another method?.
Regards. - L4L7_53191
Nimbostratus
If you're using least connections just use a slow ramp configuration to do this - it'll gracefully add the pool member without hammering it with new connections.
-Matt - rdbronce_104346
Nimbostratus
Hi L4L7, if I understand well, are you recommend to do this with the GUI window?, is it right? - rdbronce_104346
Nimbostratus
Hi L4L7, if I understand well, are you recommend to do this with the GUI window?, is it right? - L4L7_53191
Nimbostratus
Yes, you can configure slow ramp via the GUI.
-Matt - Nirav_67406
Nimbostratus
you can do that using the following command :
modify ltm pool Pool-name members add { 1.1.1.1:45010 { session disabled }}
- Wand_97484
Nimbostratus
if you have a Active/Standby pair, just add the new member at the standby unit, disable it and sync
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects