ESXi 4.1 and HP BL460c G6 with Mezzenine card

Had an issue where I would install CentOS on these HP blades and I would be able to see 16 nics.  But when I installed ESXi 4.1 I only saw 8 nics.  16 is the right number because each flexNIC has 4 vNics.  So with 4 of these, I wanted to see some serious bandwidth.  […]

ESXi 4.1 command line awesomeness

I spend a lot of time on the command line of ESXi 4.1 due to my development duties at Sumavi.  There are quite a few things you can do on the command line that make it pretty cool to work with.  As such, in many instances I don’t install vSphere Server nor vSphere client.  I […]

VMware API code to mount NFS Datastore on ESX host.

Since I posted this to the VMware user group today I figured I might as well post this to my blog as well: Lets say you have a datastore that has a mount point /install/vm directory. You want to mount that datastore onto host vhost04 so you can start creating VMs. Here is how […]

ESXi 4.1: setting license via command line

Setting the license at the command line is done with the following command: [cc lang=”bash”] vim-cmd vimsvc/license [/cc] If you run it you’ll see that one of the options is to –set=string. But if you run it like this: [cc lang=”bash”] vim-cmd vimsvc/license –set=XXXXX-XXXXX-XXXXX-XXXXX-XXX11 [/cc] You will get an error. The right way to do […]

VMware API in Perl

Here’s a simple example to connect to a hypervisor [cc lang=”perl”] #!/usr/bin/perl use Data::Dumper; require VMware::VIRuntime; VMware::VIRuntime->import(); use strict; # try logging into a node: my $conn; my $hyp = shift || ‘vhost31′; print “performing action on $hyp\n”; eval { $conn = Vim->new(service_url=>”https://$hyp/sdk”); $conn->login(user_name=>’root’,password=>’cluster’); }; [/cc] Now you probably want to do something since you’re […]

More notes on ESXi 4.1 Kickstart

ESXi 4.1 kickstart is adequate for most things but I still have several issues with it that I consider ‘bugs': 1.  If you’re not connected to a network, it doesn’t work.  This is fine since most people will be on a network with VMware anyway right?  Fine, I’ll let this one slide.  But if you […]