Force node offline from CLI

I’m scripting a way to disable some specific nodes nightly, the virtual servers relating to them are assigned persistency profiles with default timeout and TCP profile with indefinite idle timeout.

Is anyone aware of a way touse “forced offline” for a node from the command line using the bigpipe command?

Running BigIP LTM 9.4.7

Hi Will,

Here is a post with relevant info for this:

http://devcentral.f5.com/Forums/tabid/1082223/asg/44/showtab/groupforums/aff/32/aft/812653/afv/topic/Default.aspx

You can use ‘b node 1.1.1.1 down’ to set 1.1.1.1 to forced offline. You can reset the stats for a node by running ‘b node 1.1.1.1 stats reset’ and then check for active connections using ‘b node 1.1.1.1 stats’ and check the “cur” total.

To set the node to disabled (Only persistent or active connections allowed), you can use ‘b node 1.1.1.1 session disable/enable’.

Aaron

Thanks, that worked. Apologies for the “double post”.