esxi主機維護模式


將主機置於維護模式
方法一:# vim-cmd /hostsvc/maintenance_mode_enter
方法二:# esxcli system maintenanceMode set --enable yes
方法三:# vimsh -n -e /hostsvc/maintenance_mode_enter
 
退出維護模式:
方法一:# vim-cmd /hostsvc/maintenance_mode_exit
方法二:# esxcli system maintenanceMode set --enable no
方法三:# vimsh -n -e /hostsvc/maintenance_mode_exit
 
檢查主機是否在維護模式:
# vim-cmd /hostsvc/hostsummary | grep inMaintenanceMode
或者
# vimsh -n -e /hostsvc/hostsummary | grep inMaintenanceMode


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM