Move from away serial to ethernet for Linux H/A. Also generate new authkeys each...
authorAndy Witter <awitter@georgialibraries.org>
Fri, 17 Jan 2014 19:10:48 +0000 (14:10 -0500)
committerAndy Witter <awitter@georgialibraries.org>
Fri, 17 Jan 2014 19:10:48 +0000 (14:10 -0500)
templates/lvs/authkeys
templates/lvs/ha.cf
templates/setup.sh

index a564ef4..56c0352 100644 (file)
@@ -20,7 +20,7 @@
 #      crc adds no security, except from packet corruption.
 #              Use only on physically secure networks.
 #
-auth 1
-1 crc
-#2 sha1 HI!
+auth 2
+#1 crc
+2 sha1 My4uthK3yG03sH3r3
 #3 md5 Hello!
index 5245a52..2a93703 100644 (file)
@@ -3,8 +3,9 @@ keepalive 1
 deadtime 5
 warntime 2
 initdead 10
-baud 19200
-serial /dev/ttyS1
+#baud 19200
+#serial /dev/ttyS1
+bcast eth0 #This must be set to the private interface.
 auto_failback on
 node    FIRST_LVS_SERVER
 node    SECOND_LVS_SERVER
index 373dac5..f1d6949 100755 (executable)
@@ -633,9 +633,11 @@ fi
 if cat /etc/hostname | grep -q "lvs0"
 then
        echo
-       echo -e $COL_BR_GREEN "NOTE ** You must have a null-modem serial cable"
-       echo -e "connected between lvs01 and lvs02 for failover"
-       echo -e "to function correctly." $COL_RESET
+       echo -e $COL_BR_GREEN "NOTE ** ha.cf is configured to use broadcast"
+       echo -e "over ethernet between lvs01 and lvs02 for failover"
+       echo -e "to function correctly. Veryfiy that the bcast"
+       echo -e "directive has the correct ethernet inteface"
+       echo -e "for the *PRIVATE* network."  $COL_RESET
        ### Configure apache for lvs servers.
         if [ -e "/etc/apache2/sites-available/default-ssl" ]
         then