Disabling a real server, Disabling or re-enabling an application port, Globally disabling real and virtual ports – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual
Page 96
![background image](/manuals/361724/96/background.png)
80
Brocade Virtual ADX Server Load Balancing Guide
53-1003247-01
Disabling or deleting VIPs and real ports
2
Disabling a real server
Under the real server config level, you can disable a real server. Disabling a real server also
disables all the existing real server ports. The real server state will become “disabled”, and no new
connections will be assigned to a disabled real server. However, all the existing connections will
remain. No health check will be done for a disabled real server.
To disable a real server, enter commands such as the following.
Virtual ADX(config)#server real rs1 10.1.1.1
Virtual ADX(config-rs-rs1)#disable
Syntax: [no] disable
Disabling or re-enabling an application port
Application ports are enabled by default. To disable an application port on a virtual server, enter
commands such as the following.
Virtual ADX(config)#server virtual-name-or-ip Zoot_Allures 10.2.3.4
Virtual ADX(config-vs-Zoot_Allures)#port http disable
Syntax: [no] port tcp/udp-port disable
To re-enable a port, enter commands such as the following.
Virtual ADX(config)#server virtual-name-or-ip Zoot_Allures 10.2.3.4
Virtual ADX(config-vs-Zoot_Allures)#no port http disable
Globally disabling real and virtual ports
You can globally disable a Layer 4 port on the Brocade Virtual ADX. The port can be disabled for all
real servers, all virtual servers or all real and virtual servers. After you disable a port globally, you
can enable the port on individual real or virtual servers as necessary. By default, all real and virtual
ports are enabled.
When the Brocade Virtual ADX is booted, if the command to globally disable a real or virtual port
exists in the startup-config file, the specified port is disabled at startup. When a real or virtual port
is created, and the port has been disabled globally, the real or virtual port is disabled as well. You
must enable the port explicitly.
To disable all real HTTP ports, enter commands such as the following.
Virtual ADX(config)#server port 80
Virtual ADX(config-port-http)#disable real
Virtual ADX(config-port-http)#
To disable all virtual HTTP ports, enter commands such as the following.
Virtual ADX(config)#server port 80
Virtual ADX(config-port-http)#disable virtual
Virtual ADX(config-port-http)#
To disable all real and virtual HTTP ports, enter commands such as the following.
Virtual ADX(config)#server port 80
Virtual ADX(config-port-http)#disable
Virtual ADX(config-port-http)#
Syntax: disable [real | virtual]