... | @@ -142,10 +142,10 @@ This routine should be able to reboot all hosts with a `rebootPolicy` |
... | @@ -142,10 +142,10 @@ This routine should be able to reboot all hosts with a `rebootPolicy` |
|
defined to `justdoit` or `rotation`:
|
|
defined to `justdoit` or `rotation`:
|
|
|
|
|
|
echo "rebooting 'justdoit' hosts with a 10-minute delay...."
|
|
echo "rebooting 'justdoit' hosts with a 10-minute delay...."
|
|
./reboot -H $(ssh alberti.torproject.org 'ldapsearch -h db.torproject.org -x -ZZ -b ou=hosts,dc=torproject,dc=org -LLL "(rebootPolicy=justdoit)" hostname | awk "\$1 == \"hostname:\" {print \$2}" | sort') --delay-hosts=30 --delay-shutdown=10 -v
|
|
./reboot -H $(ssh alberti.torproject.org 'ldapsearch -h db.torproject.org -x -ZZ -b ou=hosts,dc=torproject,dc=org -LLL "(rebootPolicy=justdoit)" hostname | awk "\$1 == \"hostname:\" {print \$2}" | sort -R') --delay-hosts=1800 --delay-shutdown=10 -v
|
|
|
|
|
|
echo "rebooting 'rotation' hosts with a 30-minute delay...."
|
|
echo "rebooting 'rotation' hosts with a 30-minute delay...."
|
|
./reboot -H $(ssh alberti.torproject.org 'ldapsearch -h db.torproject.org -x -ZZ -b ou=hosts,dc=torproject,dc=org -LLL "(rebootPolicy=rotation)" hostname | awk "\$1 == \"hostname:\" {print \$2}" | sort') --delay-hosts=30 --delay-shutdown=10 -v
|
|
./reboot -H $(ssh alberti.torproject.org 'ldapsearch -h db.torproject.org -x -ZZ -b ou=hosts,dc=torproject,dc=org -LLL "(rebootPolicy=rotation)" hostname | awk "\$1 == \"hostname:\" {print \$2}" | sort -R') --delay-hosts=1800 --delay-shutdown=10 -v
|
|
|
|
|
|
The remaining is the "manual" procedure, the KVM hosts:
|
|
The remaining is the "manual" procedure, the KVM hosts:
|
|
|
|
|
... | | ... | |