Solved

Applying updates and Patches to a ESXi 5.5 Host via vcentre

Posted on 2014-03-24
11
714 Views
Last Modified: 2014-03-31
Hi All

Is it possible to update a ESXi host from vcenter if the Vcenter install is running on a VM on the host?  I think I may have to put the Host into Maintenance mode but I think in doing so I have to shut down all VM's on the host before I can update.

I was thinking of migrating the vcenter VM to a windows box so I can perform the updates if this is possible?

Thanks

Simon
0
Comment
Question by:cybersi
  • 6
  • 3
  • 2
11 Comments
 
LVL 12

Assisted Solution

by:Gary Dewrell
Gary Dewrell earned 167 total points
ID: 39950193
Simon since you have to put that system into maintenance mode obviously that will cause your vcenter to shut down. You do have other options. This question was actually answered in another post. Take a look at this link and for a detailed step by step process of how to update your single host, scroll about half way down the page.

http://www.experts-exchange.com/Software/VMWare/Q_28021624.html
0
 

Author Comment

by:cybersi
ID: 39950309
Hi Gdewrell

Thanks for putting me in the right direction.  I have a mini server which is running veeam on windows.  What do you think of me converting this install to a vm image then upgrading to ESXi (free version) then migrating the vcenter vm to the mini server then I can use update manager from within vcenter?

I'll be honest the solution in the link looks very complex and well above my knowledge.

Thanks

Si
0
 
LVL 22

Accepted Solution

by:
Haresh Nikumbh earned 333 total points
ID: 39950310
you can try alternate option to patch host.

Download the patch - you can download patches direct from VMware @ the Patch Portal

Open a datastore with enough freespace to store the patch via your vSphere Client
(Right-Click->Browse on a datastore)

Upload the patch you downloaded (should be a .zip file)

SSH into the host

esxcli software vib install -d /vmfs/volumes/[DATASTORE]/[PATCH_FILE].zip

replace <DATASTORE-NAME> and <PATCH-NAME> appropriately.


When it's done you should get some text like below, remember to pay attention to this text so you know if you need to reboot your host or not.
Installation Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true

Open in new window

0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 

Author Comment

by:cybersi
ID: 39950380
Hi
Been looking into in a little more detail maybe an idea to do it from the command line

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2008939

I tried to see if the host has a command line and it doesn't.  Am I right in saying that I should use a tool like Putty to connect to the host using SSH?

Cheers

Si
0
 

Author Comment

by:cybersi
ID: 39950388
Hi Haresh

Sorry I didn't press f5 before posting.

Si
0
 
LVL 12

Expert Comment

by:Gary Dewrell
ID: 39950393
Simon I think that would work. Having more than 1 host will definitely give you much more flexibility and having that redundancy is a good thing!
0
 
LVL 22

Assisted Solution

by:Haresh Nikumbh
Haresh Nikumbh earned 333 total points
ID: 39950440
yes you can use putty to connect HOST, before that you need to enable SSH on the host, that can be enable from Vcenter it self


    Login to vCenter
    Select your host
    Click the configuration tab
    Select Security Profile under Software
    Click Properties for Services
    Select SSH and click options
    Choose the startup policy that you require
    Click Start
    Click OK and OK
    SSH to your host


haresh n
0
 

Author Comment

by:cybersi
ID: 39950507
Haresh

I have put the downloads in the datastore do I have to un zip them first?

Regards
Si
0
 

Author Comment

by:cybersi
ID: 39950719
Hi Guys

As you can probably tell I have never done this before.  I have connected to the esxi box using SSH putty which I enabled on the server directly.

I have uploaded the zip files to the datastore but was wondering if someone to check my syntax:

1.

# esxcli software vib install -d "/vmfs/volumes/50cb900b-3cb70a03-2eb9-9c8e9956f9eo/updates/vm updates/ESXi550-201312001.zip"

2.

# esxcli software vib install -d "/vmfs/volumes/50cb900b-3cb70a03-2eb9-9c8e9956f9eo/updates/vm updates/update-from-esxi5.5-5.5_update01.zip"
datastore.png
browse.png
0
 
LVL 22

Expert Comment

by:Haresh Nikumbh
ID: 39950870
Looks like syntex is correct,

Refer if required
0
 

Author Comment

by:cybersi
ID: 39966572
Yeeee Haaa it worked thanks guys.  I looked at vcenter to see what updates the server needed then downloaded them and installed off line using putty.  Its just a shame my vcenter is running on a VM hosted on the server I wanted to update using update manager from within Vcenter.  Thanks to both of you for your help.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VMware Fail Over 6 44
Which vmware product do I need. 8 54
Cloning SBS, then moving workstations between cloned domains? 4 68
Unable to clone a Live VM in vCenter 6.x 9 34
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question