Jan 8

[原]远程重启或关闭ESX 3i 晴

linuxing , 13:04 , 网络服务 » 虚拟机 , 评论(1) , 引用(0) , 阅读(23287) , Via 本站原创 | |
    对于部署了ESX 3i 的服务器,通常我们都会放在机房,由VMware Infrastructure Client进行远程管理。而一些必要的管理工作,如创建虚拟磁盘、修改虚拟网卡配置等,可以在打开SSH访问后,在字符界面下进行。那重启、关闭ESX 3i Host呢?当然也可以进行远程操作。
    原以为既然ESX 3i 是基于Linux上的应用而已,重启和关闭无法就是用shutdown即可。实际操作才发现,ESX 3i 与Infrastructure 3不同,它不基于原始的Redhat系统,而是在核心的基础上使用busybox环境。故ESX 3i 的某些命令与Infrastructure 3是不同的。Infrastructure 3的命令请参考上一遍日志:[转]ESX 3.x Service Console Guide
    重启或关闭ESX 3i 的命令见下面:
引用
~ # reboot --help
BusyBox v1.2.1 (2008.06.26-17:58+0000) multi-call binary

Usage: reboot [-d] [-n] [-f]

Reboot the system.
Options:
-d delay interval for rebooting
-n no call to sync()
-f force reboot (don't go through init)
~ # poweroff --help
BusyBox v1.2.1 (2008.06.26-17:58+0000) multi-call binary

Usage: poweroff [-d] [-n] [-f]

Halt and shut off power.
Options:
        -d              delay interval for halting
        -n              no call to sync()
        -f              force power off (don't go through init)

即运行:
重启:

~ # reboot -f -d 0

关闭:
~ # poweroff -f -d 0

    当然,除了SSH方式外,还有在Infrastructure Client 3上的操作方法,请参考VMware的Knowledge文档:Rebooting an ESX Server host
Tags:
菜雨 Homepage
2010/06/04 16:23
帮助解决了一个大问题
分页: 1/1 第一页 1 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]