2beaa6421e
Change-Id: I84526351f9aa4882d498601ebe9681e622909516
12 lines
337 B
Bash
Executable File
12 lines
337 B
Bash
Executable File
#!/bin/bash
|
|
/opt/compass/bin/manage_db.py checkdb
|
|
if [[ "$?" == "0" ]]; then
|
|
/opt/compass/bin/manage_db.py clean_clusters
|
|
fi
|
|
/opt/compass/bin/manage_db.py createdb
|
|
/opt/compass/bin/manage_db.py sync_switch_configs
|
|
/opt/compass/bin/manage_db.py sync_from_installers
|
|
service compassd restart
|
|
service httpd restart
|
|
service rsyslog restart
|