Forum Discussion

Jacob_Becker's avatar
Jacob_Becker
Icon for Nimbostratus rankNimbostratus
Dec 11, 2007

modifying pool member via CLI

I'm looking for a way to script modifying pools. Ideally it would be a graceful method, only allow active connections, but forcing the member down is perfectly acceptable.

 

 

I know you can do this through the gui, but due to recent event we would like to make this process as consistent as possible.

 

 

 

I thought something like this might work....

 

 

b pool test_pool pool member 192.168.0.2 down

 

 

but...

 

 

Any suggestions?

 

 

Thank!

3 Replies

  • actually I think I might have got it, but any feedback would be welcome...

     

     

    b pool test_pool pool member 192.168.0.2:80 down
  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    Setting the pool member to down should allow existing and persistent connections to continue. SOL7566 () for your version would have version specific info on the options as well.

     

     

    Aaron
  • There is a perl script in the Code Share that will do this via IControl.

     

     

    http://devcentral.f5.com/wiki/default.aspx/iControl/TogglePoolMember.html Click here