Forum Discussion

milo's avatar
milo
Icon for Nimbostratus rankNimbostratus
May 21, 2010

remotely enable or disable pool member with browser

Is there a way to enable or disable a pool member through the browser? I'm sure I saw an iRule along those lines last year when browsing through the site. But, the only thing I see now is to use the Maintenance Page. I don't need to take down all the pool members for a particular VIP.

4 Replies

  • Milo, I guess I do not understand your request. If you are using a browser such as Firefox or IE then you just log in to the box, click Local Traffic, click Pools, click the desired Pool, click on the Members tab and from there you can disable or enable an individual pool member.
  • milo's avatar
    milo
    Icon for Nimbostratus rankNimbostratus
    I'm trying to set up a method for our support teams to disable and enable pool members without giving them credentials on the BigIP. I thought there was an iRule that allowed this type of behavior based on the URL content. The user would input the server IP address and /enable or /disable in the URL.
  • Hi Milo,

     

     

    You can disable a pool member from an iRule using LB::down, but you cannot set it offline. So the monitors would continue to poll the server and mark it back up on the first successful response.

     

     

    If you want to give some users the ability to disable a pool member and they have access to the servers themselves, you could configure a monitor which checks for a specific string in the response content for a page. The users could then change or rename that page when they want to take a server down. Once the maintenance is finished, they could restore the page being monitored.

     

     

    If the users don't have access to the servers, you could create an iControl based program which allows users to disable specific pool members. See the iControl wiki pages for disabling pool members for details on this.

     

     

    Another option would be to give the users limited access to the LTM GUI. Using partitions, you can limit the objects they can modify to specific VIPs and pools.

     

     

    Aaron
  • Good catch Hoolio.

     

     

    I was testing and ran into the situation that you just mentioned. I overlooked the health checks chaning the status back to good.

     

     

    Thanks!