[ English | русский | Deutsch | Indonesia | English (United Kingdom) ]
Mematikan host Compute¶
Jika host Compute perlu dimatikan:
Nonaktifkan biner
nova-compute
:# nova service-disable --reason "Hardware replacement" HOSTNAME nova-compute
Daftar semua instance yang berjalan pada host Compute:
# nova list --all-t --host <compute_name> | awk '/ACTIVE/ {print $2}' > \ /home/user/running_instances && for i in `cat /home/user/running_instances`; do nova stop $i ; done
Gunakan SSH untuk terhubung ke host Compute.
Konfirmasikan semua instance tidak aktif:
# virsh list --all
Matikan host Compute:
# shutdown -h now
Setelah Compute hos kembali online, konfirmasi semuanya sudah berfungsi dan mulai instance pada host. Sebagai contoh:
# cat /home/user/running_instances # do nova start $instance done
Aktifkan layanan
nova-compute
di lingkungan:# nova service-enable HOSTNAME nova-compute