메뉴 건너뛰기

조회 수 188 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

I have received quite a few demands for how to update standalone ESXi hosts via the command line. For most people it’s probably no brainer, but for new folks this might not be so obvious. So for those of you who are looking to update ESXi 5.x to the latest release which is the ESXi 6.0, then you can simply watch this short video where I’m detailing the steps. It’s basically a 3 step process to easily upgrade ESXi 5.x to the latest ESXi 6.0 CLI.

How to upgrade ESXi 5.x to the latest ESXi 6.0?

Update: I need to add a correction to this post. VMware now recommends using “esxcli software update profile” command instead, for UPGRADES. As with this command you have a possibility to specify the image profile within the upgrade package. See an updated section below this post… So this commands below works, they are simple, but not supported by VMware. The “esxcli software update profile” command allows to pick a image profile within the upgrade package (usually there is 4 of them), but adds a bit of complexity. Not much though…

1. Download the file called update-from-esxi6.0-6.0_update02.zip from My VMware portal. It should be available when you sign-up for a trial of VMware vSphere 6.0 together with the ESXi 6.0 iso file.

2. Upload this file to the datastore visible by your ESXi host.

How to upgrade ESXi

3. Put your host in maintenance mode (right click > enter maintenance mode) and connect via putty. Note that SSh must be enabled. (configuration > security profile > properties > ssh). Now run this command to update the host:

esxcli software profile update -d /vmfs/volumes/<your_datastore>/update-from-esxi6.0-6.0_update02.zip -p ESXi-6.0.0-20160302001-standard

so in my case

esxcli software profile update -d /vmfs/volumes/drobo/update-from-esxi6.0-6.0_update02.zip -p ESXi-6.0.0-20160302001-standard

How to patch ESXi host

4. Reboot your host and exit maintenance mode.

Here is the video detailing the process of upgrading ESXi 5.x to the latest release which is ESXi 5.5 Update 1. Best to watch in HD, as usually.

Update:

As above, from previous release, with more details which profile to choose from….. (there are four)

Let’s do an UPGRADE of ESXi 5.5 to ESXi 6.0 via “esxcli software profile update” command.

Step 1: Connect via putty. Note that I’ll use that latest ESXi 6.0 update zip file for this post.

esxcli software sources profile list -d /vmfs/volumes/<your_volume>/ESXi600-201601001.zip

so in our case…

Upgrade ESXi 5.x to the latest ESXi 6.x

Step 2: Then type

esxcli software profile update -d /vmfs/volumes/<your_volume>/ESXi600-201601001.zip -p <profile-image>

so in my case:

esxcli software profile update -d /vmfs/volumes/datastore1/ESXi600-201601001.zip -p ESXi-6.0.0-20160101001s-standard

(note that you could easily pick other 3 image profiles…. It’s just one example here..)

how to upgrade ESXi 5.x to 6.x

check if any error messages….. then reboot…

How to upgrade ESXi 5.x to 6.x via image profile command

and here is a new video detailing the steps …

If you want to check what’s new in vSphere 6.0 then you should check my vSphere 6.0 page. You might also be interested in installing custom vibs, for example for unsupported Realtec NIC drivers. I wrote a post about it here. Realtek 8169 NIC in ESXi 5.5 not detected by default – install a VIB.

Enjoy… -:)


출처 - http://www.vladan.fr/easily-upgrade-esxi-5-x-to-the-latest-esxi-5-5-update-1-via-cli/


List of Articles
번호 제목 글쓴이 날짜 조회 수
19 RemoteFX - Windows 7 가상 머신에서 DirectX 9c 환경을 제공 맨하탄노숙자 2015.05.14 652
18 VMware workstation 11 host Linux NAT 셋업 맨하탄노숙자 2015.04.17 418
17 Using VMware Workstation VMware Workstation 11 Manual file 맨하탄노숙자 2015.04.19 270
16 VMware에서 Port forwarding 방법 맨하탄노숙자 2015.04.27 230
15 Enabling the SSD option on SSD based disks/LUNs that are not detected as SSD by default (2013188) 맨하탄노숙자 2016.04.05 224
14 MS RemoteFX 관련 VM별 메모리 할당 크기 file 맨하탄노숙자 2015.05.14 210
13 esxi force reboot - esxi 6 강제 재부팅 맨하탄노숙자 2016.04.02 209
12 CloudStack 4.1 설치하기 맨하탄노숙자 2015.06.19 209
11 VMware ESXi vib 설치 맨하탄노숙자 2016.04.30 204
» Easily upgrade ESXi 5.x to the latest ESXi 6.0 via CLI 맨하탄노숙자 2016.04.30 188
9 esxi 6 vib install 맨하탄노숙자 2016.04.05 176
8 Installing on VMware vib 맨하탄노숙자 2016.04.05 173
7 virt-install OS variant does not exist 맨하탄노숙자 2019.07.07 16
6 libvirt qemu 맨하탄노숙자 2019.07.11 15
5 Virtual machine CPU configuration 맨하탄노숙자 2019.07.12 14
4 CentOS 7 KVM Bridge Network 브릿지 설정 맨하탄노숙자 2019.07.11 13
3 Booting from a cdrom in a kvm guest using libvirt 맨하탄노숙자 2019.07.11 12
2 KVM Cheatsheet - centos 맨하탄노숙자 2019.07.07 10
1 VMware Workstation 11.x Universal License for Windows & Linux secret 맨하탄노숙자 2015.04.16 0
Board Pagination Prev 1 Next
/ 1