échange de clef entre tous les noeuds du cluster

This commit is contained in:
2019-03-18 11:48:59 +01:00
parent dcc8eeeece
commit f04a680864
2 changed files with 14 additions and 18 deletions

View File

@ -1,15 +1,10 @@
#!/bin/bash
ha=$(CreoleGet activer_one_ha non)
if [[ ${ha} == "oui" ]]
then
indx=$(CreoleGet one_ha_server_index)
else
indx="0"
fi
if [[ ${1} == "instance" ]] && [[ ${indx} == "0" ]]
then
/usr/share/eole/sbin/onehost_create_all
if [[ ${1} == "instance" ]]; then
ha=$(CreoleGet activer_one_ha non)
if [[ ${ha} == "oui" ]]
then
/usr/share/eole/sbin/onehost_create_all
fi
fi
exit 0