8bd8fc66d9e120ef976a0adf25e938e0b52eca10
[gnt-info] / bin / install-gnt-monitor.sh
1 #!/bin/sh -xe
2 sudo cp gnt-monitor /etc/ganeti/
3 sudo gnt-cluster copyfile /etc/ganeti/gnt-monitor
4 sudo cp systemd/gnt-monitor.service /etc/systemd/system/
5 sudo gnt-cluster copyfile /etc/systemd/system/gnt-monitor.service
6 sudo gnt-cluster command systemctl enable gnt-monitor
7 sudo gnt-cluster command systemctl start gnt-monitor
8 sudo gnt-cluster command systemctl status gnt-monitor