Changes

Jump to navigation Jump to search
547 bytes added ,  13:53, 4 July 2016
ips failover for OBF and OFF
Line 62: Line 62:  
* off user
 
* off user
    +
==== IP failover ====
 +
 +
1 ip failover for each service so that we can easily switch servers
 +
* OFF: 178.33.252.125
 +
* OBF: 178.33.104.169
 +
 +
Add to /etc/network/interfaces :
 +
 +
<pre>
 +
 +
post-up /sbin/ifconfig eth0:0 178.33.104.169 netmask 255.255.255.255 broadcast 178.33.104.169
 +
post-down /sbin/ifconfig eth0:0 down
 +
 +
post-up /sbin/ifconfig eth0:1 178.33.252.125 netmask 255.255.255.255 broadcast 178.33.252.125
 +
post-down /sbin/ifconfig eth0:1 down
 +
</pre>
 +
 +
/etc/init.d/networking restart
 +
* [ ok ] Restarting networking (via systemctl): networking.service.
    
==== DNS ====
 
==== DNS ====

Navigation menu