Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » 云计算  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
reply to postflat modethreaded modeno previous topicgo to next topicgo to back
作者 How to Install latest ESXi VMware Patch
阿熊

阿熊

元老


发贴: 5644
于 2017-02-07 11:38 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
If you have just installed the latest VMware vSphere 6 for example and want to patch, but you don’t know how? This guide is especially useful if your ESXi host is not connected to the internet. Many folks are waiting for VMware to “polish” the 6.0 release the latest patches which don’t break things, but that’s not always the case.


According to the latest KB2145667, you can safely go ahead and finally patch ESXi 6.0 host as the latest ESXi 6.0 patch don’t break anything. This patch is cumulative. Those of you who stepped in and runs vSphere 6.0, you might want to install latest ESXi VMware patch. Especially the one fixing the nasty CBT bug, where backing up a virtual machine with Change Block Tracking (CBT) enabled fails on ESXi 6.0.

So in today’s post we look at the patching process. Where to download the latest patches and how to apply them to the host. We will focus on simple CLI method today for environments with single ESXi host. This can be the case for branch office or a test environment or simply a site without the resources to purchase a license package that includes vCenter.

Step 1: The patch download portal first (you need VMware login – create a free account if you haven’t done yet).

Select the product you want to download patches (in our case ESXi 6.0)

Select patches you want to download. (they are cumulative).

Step 2: Download the ZIP file and upload it to a datastore (via vsphere C# client or via WinSCP for example) that is reachable for the host you want to patch (it can be local or shared datastore) > Bring the host into the maintenance mode > Connect with SSH (via Putty for example or through Firefox and FireSSH) to your ESXi host.

To enable SSH go and select your host > configuration > security profile > services > properties > SSH.

Then connect via SSH and run this command:

esxcli software vib install -d /vmfs/volumes/datastore1/patch-directory/ESXi600-201608001.zip

So in my case it was:

esxcli software vib install -d/vmfs/volumes/drobo/patches/ESXi600-201608001.zip

Reboot the host and leave the maintenance mode.

As a result, I have patched this host to the latest release…. See the before and after screenshot.

How to patch ESXi standalone via command line

You’re done. In case you have a vSphere cluster in place you can leverage VMware Update manager (VUM) which can orchestrate the patching across your cluster where it goes and puts the host in maintenance mode and evacuates VMs via vMotion automatically each time a host within cluster needs to be patched. So you just attach a baseline which include the latest patches > scans the cluster > remediate…. You will certainly not patch like I showed in this guide today. But today’s post is certainly useful for isolated, lab environments, or environments where VUM isn’t installed.




都2021年了,这是准备一年只发一个贴的节奏么?弄个微信群腐败活动起来啊!

话题树型展开
人气 标题 作者 字数 发贴时间
1186 How to Install latest ESXi VMware Patch 阿熊 2847 2017-02-07 11:38
559 Re:How to Install latest ESXi VMware Patch 阿熊 211 2020-03-04 13:04
1092 Re:How to Install latest ESXi VMware Patch 阿熊 459 2020-03-04 13:13

reply to postflat modethreaded modeno previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923