From: Andy Witter Date: Fri, 17 Jan 2014 19:10:48 +0000 (-0500) Subject: Move from away serial to ethernet for Linux H/A. Also generate new authkeys each... X-Git-Tag: GenaSYS-2.5.1~5 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=902dc5ffa542389feddf2842afa3e0f7cd63c78f;p=contrib%2Fpines%2Fgenasys.git Move from away serial to ethernet for Linux H/A. Also generate new authkeys each time GenaSYS is run. --- diff --git a/templates/lvs/authkeys b/templates/lvs/authkeys index a564ef4..56c0352 100644 --- a/templates/lvs/authkeys +++ b/templates/lvs/authkeys @@ -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! diff --git a/templates/lvs/ha.cf b/templates/lvs/ha.cf index 5245a52..2a93703 100644 --- a/templates/lvs/ha.cf +++ b/templates/lvs/ha.cf @@ -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 diff --git a/templates/setup.sh b/templates/setup.sh index 373dac5..f1d6949 100755 --- a/templates/setup.sh +++ b/templates/setup.sh @@ -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