VMware vSphere Management Assistant Guide(2)
来源:未知 责任编辑:责任编辑 发表时间:2015-01-01 13:17 点击:次
设置健康检查脚本
此健康检查脚本名称为vmwarevSphereHealthCheck.pl,其配置文件为healthCheck.conf。建议将此脚本和配置文件存放在/home/vi-admin/bin目录下。修改文件属性如下所示:
vi-admin@vma:~/bin> chown vi-admin:root vmwarevSphereHealthCheck.pl vi-admin@vma:~/bin> chown vi-admin:root healthCheck.conf
接着运行vmwarevSphereHealthCheck.pl脚本,如下所示:
vi-admin@vma:~> vmwarevSphereHealthCheck.pl --server vcenter.xzxj.edu.cn --usernameadministrator@vsphere.local --config bin/healthCheck.conf --type vcenter Enter password: Generating VMware vSphere Health Report v5.5.0 "vmware_health_report.html" ... This can take a few minutes depending on the size of your environment. Get a cup of coffee/tea/beer and check out http://www.virtuallyghetto.com Wide character in print at /home/vi-admin/bin/vmwarevSphereHealthCheck.pl line 554. Wide character in print at /home/vi-admin/bin/vmwarevSphereHealthCheck.pl line 3582. Wide character in print at /home/vi-admin/bin/vmwarevSphereHealthCheck.pl line 3896. Start Time: 11-17-2014 21:31:00 End Time: 11-17-2014 21:31:21 Duration : 21 Seconds
运行完成后,会在当前目录下生成vmware_health_report.html文件。使用浏览器打开后可查看VMware的相关信息。如果打开后,出现乱码,将浏览器的字符集更改为Unicode即可。
相关新闻>>
- 在VMwarevSphereClient下使用Linux虚拟机安装CentOS6.4系统
- 解决虚拟机提示VMwareWorkstationcannotconnecttothevirtualmach
- vmware的后台启动
- VMWarelinux虚拟机扩容
- 在VMware虚拟机中安装中文版Win7系统详细教程 附虚拟机下载
- 虚拟机VMWare“提示:软件虚拟化与此平台上的长模式不兼容”的解
- VMware10下CentOS7的详细安装图解
- VMware虚拟机平台的网络配置(RHEL5)
- VMware虚拟机上网络连接(networktype)的三种模式--bridged、ho
- 解决VMWARE虚拟机安装64位系统“此主机支持IntelVT-x,但IntelVT
最新推荐更多>>>
- 发表评论
-
- 最新评论 更多>>