Application Delivery (ADX)

Reply
N/A
Posts: 1
Registered: ‎07-10-2012

automating disable/enable http/ssl ports of real server

I have a need to automate the process of

+ disabling http ports of a real server

+ wait for the server to drain (show server should show 0 connections)

+ enable the http ports

We have Brocade ADX 1000 series load balancer which is running 12.2.

So, I can't use the XML API which was added in 12.3.

The other option is to use SSH and script is using python or likes. But, I'm running into issues with the same.

The connection is established with the server and it authenticates fine but I get no response to 'show version'.

Also, I'm not sure if this is the right approach because this would entail mode change to config and executing 'enable' command

which requires human interventation to type in the password.

What is the best way to automate this process, if at all. Also, reference to any existing script which does something similar would be great help.

We have no plans to upgrade to 12.3 or higher anytime soon.

Brocadian
Posts: 70
Registered: ‎03-14-2009

Re: automating disable/enable http/ssl ports of real server

Hi Aditya,

with the constraints you have given there is no other option than using an external script to do what you need.

Instead of using SSH you can use SNMP OIDs. Check the MIB reference.

disable/enable Real Server Port: brcdIp.1.1.4.20.1.1.4

check real server port statistics: brcdIp.1.1.4.24.1.1.7

What do you want to do with this procedure. Is it used for any maintance tasks?

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.

Download FREE NVMe eBook