Adding ESXi Host to vCenter: Evaluation Expired (but it hasn’t)!

Quick and interesting little gotcha for those running or upgrading any systems running trail, evaluation or time-limited licenses out there.

If you try and add a host to vCenter and the agent replies with an error reporting that the evaluation license has expired, try checking the BIOS time and date settings for your ESXi host. If they are anything other than close to the vCenter system time, then this will affect your evaluation period and may result in the timeout error.

Solution: Reboot your ESXi host and check / update the BIOS date and time. Problem Fixed!

This solution is also detailed in VMware KB 2011655 here:

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

Configuring vCenter Orchestrator

Article by Michael Poore (@mpoore)

vCenter Orchestrator (vCO) is a no charge extra for vCenter Server owners. In fact the binaries are installed alongside vCenter Server itself.

This post covers what you need to configure vCO and start to use it. It’s based on the GA release of vCenter 5.0. (Of course I should point out that other orchestration products are available.) [Read more...]

Trying vCenter CapacityIQ

Previously I have posted about trying out vCenter Operations. Now the trial, assuming that you went down that route, is actually for vCenter Operations Advanced version. This includes vCenter CapacityIQ. It would be remiss of me not to talk about that too so here goes…

I’m going to assume that CapacityIQ has already been downloaded. After all, you signed up for the vCenter Operations trial didn’t you?

As with the Operations VM, CapacityIQ is delivered in an OVF package and installing it is as easy as:

1) – Open your vSphere Client and select “Deploy OVF Template…” from the file menu

2) – Locate and select the OVF file for CapcityIQ in the OVF deployment wizard

3) – Accept the EULA. Assign a name. Select a location, cluster and resource pool. Pick a datastore and disk format (thin or thick provisioned). Map the VM to a network (see screenshot below). Click Finish.

It shouldn’t take long to deploy. Typically a minute or so.

Before powering on, take a look at what has been provisioned. The CapacityIQ VM is configured as a 32-bit Redhat (RHEL) OS with 2 vCPUs and 3600Mb of RAM. Now you’d hope that with a level of memory that specific that the VM has been “tuned” or optimised in some way. We’ll look into that in a later post I think.

Interestingly, the VM hardware version is only 4. Now although CapacityIQ (version 1.5+) works with vCenter Server 4.0 onwards, it will work when that vCenter manages ESX hosts that are version 3.0.2 and above. The assumption therefore must be that it is possible that the CapacityIQ VM might run on these hosts and so the VM hardware version cannot be 7.

The remainder of the configuration of CapacityIQ is performed initially at the VM’s console screen and then through a web browser. So go ahead and power it on.

Give it a few seconds to boot. You’ll notice if you watch the console that interface eth0 fails to come up. There’s no DHCP available and IP configuration hasn’t taken place yet.

Eventually, you are prompted to set a root password. After that you will need to set a password for the user ciqadmin too.

Once these are done, the appliance will continue to boot. Once this is complete, you will be faced with a similar screen to the one used to configure the vCenter Operations appliance.

Use the cursor keys to select “Configure Network”. You’ll need then to decide (if you haven’t already) whether or not to use DHCP and if not you’ll need to provide some IP configuration details.

** Do be careful entering the information below. I messed up one time and even after correcting the information I couldn’t get HTTPS access to the appliance to work. It could have been a coincidence but if you find this happenning, just redeploy the appliance and start again :-) **

Once finished, the configuration is applied. If it’s successful then the console will prompt you to go to to https://<IP address> to manage and register CapacityIQ. That’s the next step.

Once you’ve acknowledged the inevitable SSL certificate warning, you will reach a login page. Login here using the ciqadmin account whose password you set earlier.

There are a few configuration tabs that you can browse through and setup.

We’re just going to focus at the moment on connecting CapacityIQ to vCenter. As you can see in the middle pane, we haven’t registered yet. Click the “Register” button to go ahead and do that.

You’ll need to enter the FQDN or IP address of your vCenter server and some credentials with which to authenticate to it. I should point out that the reason why the “vCenter CapacityIQ Address” section shows the domain name as being unavailable is probably because I haven’t created a DNS entry for the appliance in AD. If you’re serious about using CapacityIQ you might want to do that, this is just a demo though.

Successful registration will do two things. Firstly, you’ll see some changes to the “Setup” tab in the web GUI.

Secondly, the next time you connect to vCenter using the vSphere Client, you’ll see a new icon on the “Home” page. If you click on that (and acknowledge the SSL certificate warning) you’ll be into CapacityIQ.

As with vCenter Operations, CapacityIQ needs some time to gather data before it will display anything meaningful. In the spirit of Blue Peter though, here’s one I made earlier…

 

So, that’s all for now. Have a poke round the interface yourself and find out what you can see and do.

Trying vCenter Operations

As I mentioned a little while ago, vCenter Operations is a new management product that VMware are bringing out. Well, actually they’ve now brought it out as of Monday. I thought I’d check it out…

Downloading

To sign up for a trial and download vCenter Operations, you simply need to head over to VMware’s “Support and Downloads” page and expand the “Infra & Ops Management” section.

Follow the download link, register for a free trial, accept the Ts & Cs and download the software.

vCenter Operations comes as virtual appliance (you download an OVA file) that’s about 600MB+ in size. Depending on the size of your internet connection, you may want to do something else right now.

Installing

I don’t want to teach people how to suck eggs but if you’ve never install a virtual appliance before, it’s pretty much just a case of clicking “Deploy OVF Template” from the file menu in your vSphere Client and following the instructions. It’s very easy and takes only a couple of minutes.

As soon as it’s complete, find the appliance in vCenter and power it on. It won’t have any network configuration setup yet though.

 

Setup

Now it’s running, we need to configure the appliance. This is done in two stages. The first part involves getting the appliance connected to the network. The second part is establishing a connection to a vCenter server and licensing the appliance.

Network Configuration

In this example I’m using a static address. Before you start makes sure you know which address, subnet mask, gateway and DNS servers that you want to use. Also the appliance needs a hostname.

First, open the VM console.

As you can see, the appliance doesn’t have an IP address yet. Switch mouse and keyboard focus into the VM and use the cursor keys to highlight “Configure Network” and press Enter.

Follow the prompts, entering “y”, “n” or whatever configuration data it asks for. You can see above how I have configured mine. Eventually you’ll be prompted to confirm the settings. If you do, the network gets configured and you get dropped back to the welcome screen again.

Connecting to vCenter and Licensing

The next stage is accomplished using a web browser and the vSphere Client. First, point a web browser at the IP address you gave the appliance (and move past the SSL certificate warning).

Once you login with the default user name and password (admin / admin) you’ll be prompted to change the password. Next you’ll get prompted to add a vCenter Server.

You may want to set up a dedicated account which the appliance uses to talk with vCenter as it’s bad practice to use your own account! You’ll see a certificate warning as the appliance connects to the vCenter server. This can probably be ignored in most cases.

If the action is successful, you’ll then get prompted to head over to the vSphere Client and apply a license.

There are some other settings that you can make through the web browser (SMTP and SSL settings for instance) but I’ll leave you to play with them.

In the vSphere Client, head to the “Licensing” page and click on the “Manage vSphere Licenses” link.

In the wizard, enter your vCenter Ops trial license and complete the wizard, assigning the new license to the vCenter Operations appliance in the process. (Note that when assigning the key, the vCenter Operations appliance can be found on the “Solutions” tab.)

That’s it, job done.

What Next?

That’s the basic configuration of the appliance done. Now it will interrogate vCenter for lots of information. To have a look at what it has collected and determined, head back to the home screen of your vSphere Client. At the bottom you will see a new icon under “Solutions and Applications”.

Click it and go!

As Steve Bryen (@virtualportal) so eloquently put it this morning, “Plenty of pretty colours”. In my case, I’m not sure if it’s a good thing or not yet. Either way, go and try it out for yourself.

Released: vCenter 2.5 Update 6

vCenter 2.5 Update 6 was released on Friday. Whilst I’m not working with any 3.5 / 2.5 environments at the moment this is good news because Windows Server 2008 R2 guest customisations have been added. Also added is support for Firefox 3.x using vCenter Web Access. The full release notes are here.

I’m going to stick my neck out a bit and suggest that this may be the final update to vCenter 2.5 before it reaches the end of General Support in May.