Forum Discussion

Heiko_Engemann_'s avatar
Heiko_Engemann_
Icon for Nimbostratus rankNimbostratus
Sep 07, 2009

enable/disable Vserver with bigpipe

Hello,

 

 

i habe created some emergency SSH Pools/Vserver which we only would like

 

to enable if needed.

 

Is there a way to enable the Vserver remotely with ssh ?

 

 

We have restricted access to the WebGUI, but these Vserver need to be enabled from everywhere.

 

In the Documentation I could only find a command for enabling/disabling nodes but not Vserver.

 

 

I cant disable any on the nodes because there are other services and the command below does not work,

 

it should according to the docs.

 

 

b node 172.17.3.161:1199 show

 

BIGpipe: : : syntax error, refer to extended help for assistance

 

 

it works without port

 

 

b node 172.17.3.161 show

 

NODE 172.17.3.161 UP SESSIONS ENABLED

 

| conns (cur, max, limit, tot) = (0, 0, 0, 0)

 

| (pkts,bits) in = (0, 0), out = (0, 0)

 

| requests (total) = 0

 

 

 

how can we do this?

 

 

 

 

greetings

 

 

Heiko

 

 

 

3 Replies

  • I think the command would be:

     

     

    b pool member session disable

     

    b pool member session enable.

     

     

     

    To enable/disable the VIP then

     

     

    b virtual enable

     

    b virtual disable

     

     

    Also with iRules you can create a virtual server that can allow you to disable a pool based on the URL for example you can pass this into the virtual server http://virtualIP/pool_name/memberip/port/disable and it was disable/enable the member based on what you entered. However, the iRules would not handle any authentication you required, that would be up to the authentication you place on the VIP.

     

    I hope this helps

     

    CB
  • Hello CB,

     

     

    that works great. thnx a lot.

     

     

    After I do these changes the configsync needs to be run,

     

    Is "b config sync all" the same as when I press the "Syncronize to Peer" button?

     

     

     

    greetings

     

     

    Heiko