diff --git a/pgpool/bin/pgpool_escalation b/pgpool/bin/pgpool_escalation index a007c3cd8c2a7a5c371a84368a2127d73905da58..72d3b0769a67e8c75c4bbfb483023e1c12c65858 100755 --- a/pgpool/bin/pgpool_escalation +++ b/pgpool/bin/pgpool_escalation @@ -43,22 +43,27 @@ while ! ifconfig | grep -F "$DELEGATE_IP" > /dev/null; do done # Start et7daemon if [[ ! -f /var/run/et7daemon.pid ]]; then - /etc/init.d/et7daemon start + service et7daemon start fi chkconfig et7daemon on # Start et7sync if [[ ! -f /var/run/et7sync.pid ]]; then - /etc/init.d/et7sync start + service et7sync start fi chkconfig et7sync on +# Enable jboss use cached dc after reboot +sed -i "s/JBOSS_DC_MODE=--backup/JBOSS_DC_MODE=--cached-dc/g" /etc/kszkipo/as7/jboss-as.conf + # Start as7-standalone -/etc/init.d/as7-standalone start +service as7-standalone start chkconfig as7-standalone on +# Start RIB server +service rib-server start +chkconfig rib-server on + # Start enable sep1 virsh start sep1 virsh autostart sep1 -# Enable jboss use cached dc after reboot -sed -i "s/JBOSS_DC_MODE=--backup/JBOSS_DC_MODE=--cached-dc/g" /etc/kszkipo/as7/jboss-as.conf