Hi Group
I have won a reasonable size customer (90 extensions) and Im currently testing
Astlinux hot standby.
This is what I am planning to do:
1. The Astlinux HS is in parallel to the primary Astlinux server with
different IP Addresses on the internal and external interface but same subnet.
Its likely that these systems will be behind a firewall using NAT. The SIP
Trunk will be registered and not IP Address based.
2. The primary server periodically synchronises its config and database to
the HS server. I can basically use my standard backup and restore script to do
this
3. Both servers are remotely accessible
In the event that the primary server fails, the following is performed to
failover to the HS server:
1. Add primary server IP as virtual IP on HS server e.g. ifconfig eth1.100:1
172.30.30.1 netmask 255.255.255.0
2. Update ARP table e.g. arping -q -U -c 3 -I eth1.100 172.30.30.1
3. Register the SIP Trunk on the HS server
My initial testing seems to work well and I cant find any issues.
Obviously there are some caveats:
1. Don't sync gui.network.conf and Asterisk SIP Trunk config files as they
are different on the HS server
2. The virtual IP is not permanent. If the outage is long term, the HS
server should be converted into the primary (only a couple of files are
different)
3. Unless converted into the primary, any config changes (including dynamic
ones) will need to be synced to the primary server when failed back
4. Devstate will not be maintained
Although this solution is not perfect, the ability to run up a new server in
minutes remotely is certainly a big plus.
What do you think? Can you see any other issues?
Regards
Michael Knill
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
pay...@krisk.org.