Clearing the connections counter – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual
Page 404
388
Brocade Virtual ADX Server Load Balancing Guide
53-1003247-01
Displaying configuration information
B
3. Under VIP, unbind the real server.
4. Delete the real server.
To complete deletion of the server in this case, enter the clear server session name command after
entering the no server real name command.
Example
The no server real command deletes real server "rs1". The show server real command displays the
states of the real servers. Notice that rs1 is still listed as a valid real server, and has the state
"await_delete". If the no server real command does not list the deleted server, the server has been
completely deleted.
If the server continues to be listed with the "await_delete" state after several minutes, enter the
clear server session command to finish deleting the server. The clear server session command
deletes the remaining sessions for rs1, after which the Brocade Virtual ADX can finish deleting the
server. You can enter this command immediately after entering the no server real command. You
do not need to wait for any sessions to end normally.
NOTE
The clear server session real server command is used to clear sessions for a specific real server,
regardless of the server in "await_del" or "await_u" state.
If you execute the clear server all-session real-server command from the MP, it clears all sessions
in the MP and BP. If you use this command from the BP, it clears only the BP sessions.
The real-server variable is optional in the clear server all-session command and specifies the real
server.
Clearing the connections counter
You can clear the counter for real servers only or virtual servers only.
To clear the total connections counter (“Tot-Conn”) in show commands for real and virtual servers,
enter a command such as the following.
Virtual ADX(config-vs-Brocade)#clear server tot-conn virtual
Syntax: clear server tot-conn real | virtual
Virtual ADX(config)#no server real rs1
Virtual ADX(config)#show server real rs1
Real Servers Info
Name : rs1 Mac-addr: Unknown
IP:10.2.3.4 Range:1 State:await_delete Max-conn: n/a
Least-con Wt:0 Resp-time Wt:0
Port State Ms CurConn TotConn Rx-pkts Tx-pkts Rx-octet Tx-octet Reas
---- ----- -- ------- ------- ------- ------- -------- -------- ----
8080 unbnd 0 0 0 0 0 0 0 0
default unbnd 0 0 0 0 0 0 0 0
Server Total 0 0 0 0 0 0 0
Virtual ADX(config)#clear server session rs1