cancel
Showing results for 
Search instead for 
Did you mean: 

how do "wispr survivability" work?

hyosang_choi
Valued Contributor
HI there.


We know a function as "wispr survivability" staring from sz 5.0.


How do the function work?


Do anyone have a document of the concept? or how to?


Regards.
12 REPLIES 12

abilashpr
Contributor III
Hi Jeronimo,

Could you share the configuration or the sample portal configuration to support this ?

Thank you in advance!!!

Regards,
Abilash PR.

Ok. I'll share it soon.

From v5.0, WIspr redirection is responsible AP.

There If SZ goes down, AP can failover by himself.

1) Web portal failover.
Image_ images_messages_5f91c48e135b77e247ae60b7_68777e0edada4479b26eeaffbf9a99f0_RackMultipart2020012058745vwhl-1d243e5a-cdd0-444f-a6c2-acc529f878c4-230367534.png1579493169

When you configure secondary external URL on Hotsport setting, AP will periodically send request to primay URL. (per about one minuete.)
If Primary URL is not reachable, AP redirects request to secondary.

It's WEB portal failover.
It's so cool function.

2) WISPr failover
Image_ images_messages_5f91c48e135b77e247ae60b7_888dcff60cc2f1653c676696220a62cc_RackMultipart2020012050066685e-c180ae40-6cbb-4ad3-b967-2591a1d849a0-1422059158.png1579493422
If you configure auth/acct server as proxy mode, you can backup auth/acct server.

The server is worked as non-proxy mode at AP when ssh tunnel with SZ is disconnected(not reachable).

If ssh tunnel with SZ is recovered, AP work via normal auth/acct server(primary server as proxy mode).

It's so amazing function.

3) AAA server failover

It's originally worked at AAA profile using primart/secondary server.

4) Modified HTML form code.

You have to modify POST action like below.

*as is  : 
document.write('
http://' + get_sip() + ':9997/SubscriberPortal/hotspotlogin">');

*to be :
document.write('http://' + get_apip() + ':9997/SubscriberPortal/hotspotlogin">');

you also have to modify java script section "sip" to "apip" like below.

function get_apip() {

    var apip = get_param("apip");

    if (apip.indexOf(":") < 0) { // IPv4 address

        return apip;

    } else {                    // IPv6 address

        return '[' + apip + ']';

    }

}

If you have more question, please give me email to jeronimo@retailtech.co.kr.

As a result, When you need to serve WISPr wlan, we can failover everything about AAA server / web portal/ WISPr redirection.

Regards.

Hi Jeronimo,

Thank you for sharing the details.

You are welcome.

I have added below.

At 2), If primary web portal is not reachable or not responsible, AP redirects secondary web portal.