@@ -40,6 +40,8 @@ consoleproxy_svcs() {
4040 chkconfig apache2 off
4141 chkconfig nfs-common off
4242 chkconfig portmap off
43+ chkconfig keepalived off
44+ chkconfig conntrackd off
4345 echo " cloud postinit ssh" > /var/cache/cloud/enabled_svcs
4446 echo " cloud-passwd-srvr haproxy dnsmasq apache2 nfs-common portmap" > /var/cache/cloud/disabled_svcs
4547 mkdir -p /var/log/cloud
@@ -55,6 +57,8 @@ secstorage_svcs() {
5557 chkconfig nfs-common on
5658 chkconfig ssh on
5759 chkconfig apache2 off
60+ chkconfig keepalived off
61+ chkconfig conntrackd off
5862 echo " cloud postinit ssh nfs-common portmap" > /var/cache/cloud/enabled_svcs
5963 echo " cloud-passwd-srvr haproxy dnsmasq" > /var/cache/cloud/disabled_svcs
6064 mkdir -p /var/log/cloud
@@ -72,14 +76,19 @@ routing_svcs() {
7276 if [ $RROUTER -eq 0 ]
7377 then
7478 chkconfig dnsmasq off
79+ chkconfig keepalived on
80+ chkconfig conntrackd on
7581 chkconfig postinit on
76- echo " postinit" > /var/cache/cloud/enabled_svcs
82+ echo " keepalived conntrackd postinit" > /var/cache/cloud/enabled_svcs
83+ echo " dnsmasq " > /var/cache/cloud/disabled_svcs
7784 else
7885 chkconfig dnsmasq on
7986 chkconfig keepalived off
8087 chkconfig conntrackd off
88+ echo " dnsmasq " > /var/cache/cloud/enabled_svcs
89+ echo " keepalived conntrackd " > /var/cache/cloud/disabled_svcs
8190 fi
82- echo " cloud-passwd-srvr ssh dnsmasq haproxy apache2" >> /var/cache/cloud/enabled_svcs
91+ echo " cloud-passwd-srvr ssh haproxy apache2" >> /var/cache/cloud/enabled_svcs
8392 echo " cloud nfs-common portmap" > /var/cache/cloud/disabled_svcs
8493}
8594
@@ -91,6 +100,8 @@ dhcpsrvr_svcs() {
91100 chkconfig ssh on
92101 chkconfig nfs-common off
93102 chkconfig portmap off
103+ chkconfig keepalived off
104+ chkconfig conntrackd off
94105 echo " cloud-passwd-srvr ssh dnsmasq apache2" > /var/cache/cloud/enabled_svcs
95106 echo " cloud nfs-common haproxy portmap" > /var/cache/cloud/disabled_svcs
96107}
@@ -101,6 +112,8 @@ elbvm_svcs() {
101112 chkconfig ssh on
102113 chkconfig nfs-common off
103114 chkconfig portmap off
115+ chkconfig keepalived off
116+ chkconfig conntrackd off
104117 echo " ssh haproxy" > /var/cache/cloud/enabled_svcs
105118 echo " cloud cloud-passwd-srvr dnsmasq apache2 nfs-common portmap" > /var/cache/cloud/disabled_svcs
106119}
0 commit comments