vmware管理工具怎么安装(VMwareUpdateManager数据库的重置)
利用VMware vCenter6.7集成的Update Manager组件升级、安装VMware ESXi的补丁,前期文章已总结分享。
不过,前期文章遗留了一个问题:主机系统补丁已升级,如何删除上传补丁文件呢?
本期文章就VMware Update Manager数据库的重置,向各位小伙伴总结分享。
参考链接:
https://kb.vmware.com/s/article/2147284
VMware Update Manager数据库重置在VMware vCenter管理平台中Update Manager的更新页面中,是无法通过“移除基准”的方式删除上传的补丁文件,如下图所示;
VMware Update Manager数据库的重置,必须SSH登录VMware vCenter后台进行操作,操作步骤如下所示;
第1步:web登录VMware vCenter的5480端口,开启SSH登录;
第2步:SSH登录VMware vCenter后台;
SSH登录VMware vCenter后台通过命令重置VMware Update Manager数据库,具体操作过程如下所示;
Command> Shell
Shell access is granted to root
root@10 [ ~ ]#
root@10 [ ~ ]#
#停止vmware-updatemgr服务
root@10 [ ~ ]# service-control --stop vmware-updatemgr
Operation not cancellable. Please wait for it to finish...
Performing stop operation on service updatemgr...
Successfully stopped service updatemgr
# 重置VMware Update Manager 数据库
root@10 [ ~ ]# /usr/lib/vmware-updatemgr/bin/updatemgr-utility.py reset-db
Resetting vSphere Update Manager database...
Successfully reset vSphere Update Manager database
Start vSphere Update Manager service to apply the setting.
# 强制删除VMware Update Manager 补丁存储文件
root@10 [ ~ ]# rm -rf /storage/updatemgr/patch-store/*
#启动vmware-updatemgr服务
root@10 [ ~ ]# service-control --start vmware-updatemgr
Operation not cancellable. Please wait for it to finish...
Performing start operation on service updatemgr...
Successfully started service updatemgr
root@10 [ ~ ]#
第3步:web登录VMware vCenter管理平台,查看Update Manager的更新页面中的补丁文件;
总结
SSH登录VMware vCenter管理后台,通过命令可重置VMware Update Manager数据库,从而删除补丁程序文件。需要注意的是补丁程序文件(基准)要与物理主机分离;
关于VMware产品相关知识及故障处理解决方案可参见VMware官网的KB;
参考链接:https://kb.vmware.com/s/
以上分享,希望各位小伙伴有所收获,不足之处,多多留言指正。
,免责声明:本文仅代表文章作者的个人观点,与本站无关。其原创性、真实性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容文字的真实性、完整性和原创性本站不作任何保证或承诺,请读者仅作参考,并自行核实相关内容。文章投诉邮箱:anhduc.ph@yahoo.com