Category Archives: vSphere

Esxi 下收集 vmsupport 日志

收集方法: 收集好的日志会生成在/var/tmp 目录下 拷贝文件到目标存储上导出或直接使用scp拷贝出来即可。

Posted in OS, vSphere | Tagged , , | Leave a comment

ESXi 虚拟机无法重启

原因1:ESXi在为虚拟机安装vmTools的时候出现错误,导致失败。 解决方案:http://xjsunjie.blog.51cto.com/999372/1734698

Posted in OS, vSphere | Tagged , , | Leave a comment

ESXi 网络设置

esxcli network nic list 查看网卡信息 esxcli network ip route ipv4 list 查看路由(ipv4) esxcli network ip dns server list 查看 dns esxcli network ip interface ipv4 get 查看ip配置(ipv4) esxcfg-route: esxcfg-route 查看默认路由 esxcfg-nics: esxcfg-nics 等价 esxcli network nic list tcpdump-uw:类似于Linux下的 tcpdump, 是 ESX 的抓包工具vsish

Posted in OS, vSphere | Tagged , | Leave a comment

ESXi shell控制虚拟机开关机

To power on a virtual machine from the command line:List the inventory ID of the virtual machine with the command: vim-cmd vmsvc/getallvms |grep <vm name> Note: The first column of the output shows the vmid.Check the power state of the … Continue reading

Posted in OS, vSphere | Tagged , | Leave a comment

ESXi使用ssh-key登陆

通过 ssh 登录到 ESXi 系统后, 可以通过 passwd root 来修改密码参考 Changing ESXi Root Password , 里面还说明了如何开启 ESXi ssh 登录.For ESXi 5.0, the location of authorized_keys is: /etc/ssh/keys-<username>/authorized_keys

Posted in AutomaticOPS, OS, SSH/PSSH, vSphere | Tagged , | Leave a comment