The Sysadmins

Tips and tricks from the Sysadmins

Category: VMware

P2V – HP Proliant Support Pack Cleaner

CTxAdmTools provide a handy tool for removing HP’s Proliant Support pack. I’ve used it on a number of occasions typically when P2V’ing HP servers, and it’s a great time saver. Once the server is virtualized you’ll want to remove the PSP as it may cause issues further down the line and it’s simply software and drivers that you won’t need on the system any more. I’ve seen people recommend removing the PSP prior to the P2V process, but I believe it’s best to keep the source server ‘as is’ if you need to backout of the procedure.

You can download the tool here: HP PSP Cleaner

HP PSP Cleaner 15A

VMware vSphere Web Client Console on Ubuntu Linux 11.04

I was interested to play with the new Web Client and to see how well it works on something like Ubuntu. Being able to manage ESXi/Vcenter from a non-windows machine is a pretty big deal!

So… with an Ubuntu 11.04 Desktop live CD in hand and Vcenter 5 configured I thought I’d have a go.

First off, browse to your Web Client install, by default this is https://ip:9443/vsphere-client/

Ubuntu_Web_client_1

———————————

The web client requires Adobe flash to operate, go ahead and install it

Ubuntu_Web_client_2

———————————

Ubuntu_Web_client_3

———————————

Ubuntu_Web_client_3

———————————

This brings us to the login page, you can see in the bottom left that the Client integration plug-in is not currently installed. This provides functionality for the web console. Click the link and download the .bundle which is around 42MB

Ubuntu_Web_client_5

———————————

Ubuntu_Web_client_6

———————————

To install this head to the terminal and run sudo sh ./VMware-VMRC.i386.bundle and agree to the defaults

Ubuntu_Web_client_7

———————————

Ubuntu_Web_client_8

———————————

Ubuntu_Web_client_11

———————————

Now head back to the login page and login. From here you can do a large array of tasks, for example; stop and start guests, take snapshots, editing a guest configuration, clone, migrate, view events and view performance graphs to name a few. I’ve linked a site at the bottom of this post which gives you a good walk through of features. To access the console, select the guest you want to view, and select ‘Launch Console’

Ubuntu_Web_client_12

———————————

Select Launch Console which will open the console in another tab/window

Ubuntu_Web_client_14

Ubuntu_Web_client_13

I have some issues with one of my 2008 R2 guests which won’t detect or move the mouse (haven’t resolved this yet), but the others are working well, even in full screen mode.

Other functionality seems great, here’s a good walk through of the interface:

Walk through of new vSphere 5 web client interface – virtualizetips.com

Restrict vSphere Client Access to IP or Network – ESXi 5 Firewall

You can easily restrict access to various services with the ESXi 5 firewall. This post will explain how to restrict access to the vSphere client, but can be applied to any of the other services listed (for example SSH).

Accessing the Security Profile

  • Click on the Host in vSphere Client
  • Select Configuration
  • Select Security Profile
  • Select properties across from the Firewall heading

ESXi 5 Firewall

Restricting Access to the vSphere Client

  • Scroll down and find the ‘vSphere Client’ entry
  • Select and click Firewall
  • Change to ‘Only allow connections from the following networks’
  • Enter the IP(s) or Network(s) you want to allow access

Esxi Firewall Settings

Updating VMware Tools – ESXi 5

Once you have updated your host to version 5 you should update the guest version of VMware tools.

You will get a yellow exclamation mark within your guest and the vSphere client will display ‘Running (Out-of-date).’

Upgrading VMware tools

    • Login into the vSphere Client
    • Right click the guest you want to update
    • Select Guest -> Install/Upgrade VMware Tools
    • Choose Automatic Tools upgrade
    • This will update the guest – Beware this will also automatically reboot the guest

Upgrade VMware Tools ESXi 5

Upgrading VMware tools Video

Installing and Updating to VMware ESXi 5

I upgraded my main test ESXi host today from ESXi 4.1 to version 5. The process was pretty straight forward and I haven’t found any quirks yet. It took around 15 minutes in total including downloading the ISO and burning it.

Whats new in vSphere 5

What’s New in vSphere 5.0 – VMware

What’s new in vSphere 5 (Part 1) – virtualizationadmin.com

What’s new in vSphere 5 (Part 2) – virtualizationadmin.com

You can download the ESXi 5 ISO below (login needed as usual), the version 5 free licenses aren’t showing yet so this update will put you into a 60 day evaluation mode.

Edit 26/08/11 – The VMware website is now showing ESXi 5 Licenses

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

Host running 4.1

Burn the ISO to CD, insert into the host and boot from CD-ROM, follow the on screen instructions

For most people upgrading the first option will be most suitable

Click here to learn how to upgrade VMware tools.

Free VMware E-learning Course – Transition to ESXi Essentials

VMware are offering a free self paced 3 hour e-learning course on ESXi. If you complete the course and answer a quick survey they’ll even give you a free E-book version of “VMware ESXi: Planning, Implementation, and Security”.

Sign up here: Free VMware elearning course

The course consists of five modules:

Transition to ESXi Overview provides an overview of why a transition to the ESXi hypervisor is necessary and addresses questions that customers might ask before transitioning to ESXi.

Compare and Contrast VMware ESXi and VMware ESX discusses what is different between the ESXi and ESX architectures.

Install and Configure VMware ESXi discusses the prerequisites for the ESXi installation, describes the installation process, demonstrates the configuration steps and migration process to help with planning a smooth transition to ESXi.

Script Interfaces and Command Line Tools discusses about the various scripting interfaces and command line tools available for VMware ESXi. You will also learn about how vMA can be used to run scripts or agents that interact with ESXi without having to explicitly authenticate each time.

Performing Management Tasks discusses simplifying ongoing management tasks of ESXi hosts and this can achieved by recognizing the hardware monitoring options, remote management of distributed datacenters, saving log files for troubleshooting and compliance, and managing the security of the ESXi hosts.