Changes
Page history
delay-hosts is minutes
authored
Dec 11, 2020
by
Peter Palfrader
Show whitespace changes
Inline
Side-by-side
howto/upgrades.md
View page @
c51ad5fd
...
...
@@ -142,10 +142,10 @@ This routine should be able to reboot all hosts with a `rebootPolicy`
defined to
`justdoit`
or
`rotation`
:
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=
3
0 --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=
180
0 --delay-shutdown=10 -v
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=
3
0 --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=
180
0 --delay-shutdown=10 -v
The remaining is the "manual" procedure, the KVM hosts:
...
...
...
...