VMware ESXi

Apply Patches and Updates to ESXi 5 with CLI – Single Host

Applying patches and upgrades via CLI on ESXi 5 has changed from the way it was done on previous versions.

The main changes are the commands are different and the updates are now copied up to the Host datastore, before being applied.  There are also other methods to apply updates such as update manager, but for a single host I find CLI the best.

For more information see:

http://communities.vmware.com/people/vmroyale/blog/2011/09/15/updating-esxi-5–single-use-esxcli-how-to

To do via SSH see:

http://www.itadmintools.com/2012/02/howto-patch-vmware-vsphere-esxi-50-free.html

Be the first to comment - What do you think?
Posted by Admin - March 30, 2012 at 1:58 pm

Categories: VMware ESXi   Tags:

Run IBM DSA on ESXi server without shutting down

Some good instructions can be found here: http://serverchronicle.blogspot.com/2011/10/running-ibm-dsa-on-esxi-servers.html

From my windows system I ran: ibm_utl_dsa_dsyt85t-3.40_portable_windows_x86-64.exe –vmware-esxi user:password@ip-address -v -c -d c:\temp\dsa

Note: Does not work when copying and pasting text above from this webpage.  Type the above command in.

IBM DSA Portable can be downloaded from here: http://www-947.ibm.com/support/entry/portal/docdisplay?brand=5000008&lndocid=SERV-DSA

1 comment - What do you think?
Posted by Admin - October 11, 2011 at 4:36 pm

Categories: VMware ESXi   Tags:

Installing APC Powerchute Network Shutdown 3 on VMWare ESXi

APC Powerchute Network Shutdown (PCNS) version 3 is much improved from the older versions.
The instructions to install in ESXi are still not the greatest, but I managed to get through it easy enough with hardly any Linux skills.

The new version can be downloaded from here: http://www.apc.com/tools/download/index.cfm

Filter by Software and Firmware > select powerchute network shutdown

Download the program, compatability chart and install and configure guides.

Once downloaded I make an ISO with the pcns300esxi.tar.gz file in the root and upload this to my ISO’s kept on a VMWare datastore.

Configure the Network card (NMC) on the APC UPS, Set IP, password, low battery duration, return delay, Auth phrase.  See instrutions downloaded from APC above for more info.

Download vMA 4.1 from VMWare: http://www.vmware.com/support/developer/vima/

In vMA by selecting file > “Deploy OVF Template” in the vSphere Client.  Set IP, password etc.

Once installed attach PCNS ISO created above and boot.

Logon to vMA as vi-admin

sudo mkdir /mnt/cdrom

enter the vi-admin password

sudo chmod 666 /mnt/cdrom

sudo mount -t iso9660 /dev/cdrom /mnt/cdrom

cd /mnt/cdrom    *Note* my file is in root of cdrom

sudo cp pcns300esxi.tar.gz /tmp

cd /tmp

sudo gunzip pcns300esxi.tar.gz

sudo tar -xvf pcns300esxi.tar

cd ESXi

sudo ./install_en.sh

Install will now run….

EULA

Choose install paths

Enter IP address of the ESXi host (target server), username and password

Install completes.  Now connect to https://vMA_ip_address:6547 and run through the new wizard which is a great improvement on previous versions.

Configure and test.

Note: The 1st time setting this up I used an @ in the password.  I could not log back into the PCNS after the initial setup.  To resolve this I had to add “username = apc” and “password = apc” lines under [NetworkManagementCard] in the pcnsconfig.ini file on the vMA VM’s.  Restart the powerchute service.  Could then logon.  Changed password to one without @ symbol and also changed password to be the same on NMC.

Be the first to comment - What do you think?
Posted by Admin - May 31, 2011 at 5:15 pm

Categories: APC UPS, VMware ESXi   Tags:

Apply Updates to ESXi 4.1 Using vCLI

It’s really easy to apply updates to ESXi 4.1 with vCLI.

Here are a couple of good links on how to do it:

http://www.vladan.fr/how-to-update-the-esxi-4-1-free-version-to-esxi-4-1-update-1/

http://communities.vmware.com/people/ivangb/blog/2011/01/11/update-esxi-41-with-vcli

Things to note:

If you save the zip update file into the c:\Program Files\VMware\VMware vSphere CLI\bin directory then you do not need the file path when applying.

Use –bundle option to install all updates in the zip file.

 

Be the first to comment - What do you think?
Posted by Admin - May 17, 2011 at 2:21 pm

Categories: VMware ESXi   Tags:

IBM Customized ESXi 4.1 download

Update July 2011

As posted in the comments VMware vSphere Hypervisor (ESXi) 4.1 U1 with IBM Customization can now be downloaded from IBM.  Thanks for letting us know vChad!

Link: http://www-03.ibm.com/systems/x/os/vmware/esxi/

 

May 2011

I wanted to install the IBM Customized version of ESXi on IBM x3650M3 servers so that the CIM providers work correctly and hardware is easier to monitor. I could not find this online anywhere. The VMWare.com site > downloads > ESXi section > only had ‘Vmware ESXi 4.0 Update 1 Installer CD for IBM’ listed.

I did not want to use the preinstalled IBM USB key’s that fit inside the server as I needed redundancy.

I asked a number contacts (IBM, Suppliers, VMWare) and finally found it on the VMWare full download page, The heading is ‘OPTIONAL BINARY ESXi 4.1 installable with IBM Customization’

Link: https://www.vmware.com/tryvmware/p/activate.php?p=free-esxi&lp=1

After installing I updated to ESXi 4.1 Update 1 by applying the update.  Updating is supported by IBM.

3 comments - What do you think?
Posted by Admin - May 16, 2011 at 5:09 pm

Categories: VMware ESXi   Tags:

Booting ESXi 4.1 U1 on an IBM x3650 Server

I had trouble booting ESXi that had been installed on two IBM x3650 servers.
ESXi was installed onto a local Raid1 array and the servers had connections to an IBM DS3524 SAN via SAS HBA Controller cards.

To get it to boot I had to:

Set the virtual Raid Array as the boot drive in the LSI Raid management.
In the server bios set the boot order to Legacy, Hard Drive 0, Hard Drive 1.

It would not boot until after I added Hard Drive 0 and Hard Drive 1 after Legacy in the boot order.

More information can be found here: http://www-947.ibm.com/support/entry/portal/docdisplay?lndocid=MIGR-5083225

Be the first to comment - What do you think?
Posted by Admin - May 11, 2011 at 1:36 pm

Categories: VMware ESXi   Tags:

Installing APC Powerchute Network Shutdown 2.2.4 on VMWare ESXi

Update 31/05/2011 – PCNS version 3 is now out. This is much easier to install and configure.
See new post here

This requires a vMA virtual machine to be installed and then APC Powerchute Network Shutdown installed into that.

On an ESXi 4.0.0 175625 server I was getting the following error when doing the install:

This version of Powerchute Network Shutdown only supports VMware ESXi

A patch with updates scripts was required to resolve that.  I updated the files, created a new iso, uploaded to the datastore, mounted and installed.

Links for info needed to do install:

APC install doc: http://emea-en.apc.com/app/answers/detail/a_id/10309/kw/11144/related/1/session/L2F2LzEvdGltZS8xMzAzMjUzNTI1L3NpZC9CQWo2alZyaw%3D%3D

Patch info: http://emea-en.apc.com/app/answers/detail/a_id/11144/kw/11144

More info on error: http://communities.vmware.com/message/1622927

Be the first to comment - What do you think?
Posted by Admin - April 20, 2011 at 11:18 am

Categories: APC UPS, VMware ESXi   Tags: