Application Delivery (ADX)

Reply
Occasional Contributor
Posts: 6
Registered: ‎02-13-2012

"backup-stay-active" how to know what is in use Primary or Secondary

The feature "backup-stay-active" work as described in the manual.

My question is around how do you know what real server the VIP is pointing to?

Example:

server real vipt2 172.25.68.202

backup

port http

port http keepalive

port http url "GET /index.html"

server real vipt1 172.25.68.201

port http

port http keepalive

port http url "GET /index.html"

server virtual viptest 172.25.68.225

sticky-age 20

port http

port http sticky

port http lb-pri-servers backup-stay-active

Under normal circumstances all traffic is directed to vipt1.

If this real server fails all traffic is then directed to the backup real server "vipt2"

Now even if real server "vipt1" come alive again the traffic will still be directed to vipt2

After a failover has occurred and the primary server is up again the "show virtual viptest 80" shows vipt1 as the preferred real server to bind to.

Yet if I do a connection test on port 80 to the VIP I am still being bound to vipt2 (As expected)

Is there a way to know if you are in the fail-over mode?

If some one was to log into the console and look at the state of the VIP they will assume all traffic is going to vipt1 yet its not.

eg:

show server bind viptest

Bind info

Virtual server: viptest              Status: enabled  IP: 172.25.68.225

                                         symmetric VIP state: Owner

        http -------> vipt1: 172.25.68.201,  http (Active)

                      vipt2: 172.25.68.202,  http (Active)

Contributor
Posts: 47
Registered: ‎07-14-2010

Re: "backup-stay-active" how to know what is in use Primary or Secondary

Hello again,

The next 12.400c or 12.4.00d patch will introduce "show server backup-associated-state" new command, which I've requested. I am not sure what the command output looks like at this moment because it is not yet released, but I think you will have what you want in next or next next patch.

Below is the background of the request(I think same reason with you).

•When "lb-pri-servers backup-stay-active" is enabled and there are two servers(one is backup server) and both of them are alive, there is no way to know which server is being used for SLB traffic. It is possible to do that by checking traffic, but Customer wants to do that by issuing a show command. For operational reason, Customer wants a command which can tell the backup server is active or standby.

•Ideally, it is better if we can put this feature into the output of “show server bind” or “show server session” or “show server real”. For example,

ADX#sh server bind

Bind info

Virtual server: vip1                     Status: enabled  IP: 200.0.0.102

http -------> rs2: 192.168.100.12, http (Active) (Active)

             > rs3: 192.168.100.13,  http (Active) (Backup)

•However, such change may confuse many current ADX customers. So if it is difficult, it is OK to create a new show command. For example,

ADX# sh server status

Bind info

Virtual server: vip1                     Status: enabled  IP: 200.0.0.102

http -------> rs2: 192.168.100.12, http (UP) (Active)

               > rs3: 192.168.100.13,  http (UP) (Backup)

ADX#sh server status

Bind info

Virtual server: vip1                     Status: enabled  IP: 200.0.0.102

http -------> rs2: 192.168.100.12, http (DOWN) (Backup)

               > rs3: 192.168.100.13,  http (UP) (Active)

Join the Community

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