The musings of an IT Consultant:

ESX Server

Sep 15 2008   2:02PM GMT

Changing the Service Console IP address in VMWare ESX Server



Posted by: Raj Perumal
VMWare, ESX Server, service console, IP Address, Service Console IP, Change IP address, change service console IP address, VMWare ESX Server

Hi folks, have you ever setup ESX server and set the IP just to find out later that it’s taken and you have to change it? I have, and I have to say I hate it when that happens.

Luckily there is an easy way to resolve this. With the proper command line commands you can quickly change the IP address of the service console.

Just connect to the console of the ESX server and at the shell prompt type in: esxcfg-vswif -d vswif0

This deletes the existing vswif0 and it will give you a message about “nothing to flush”. You can safely ignore this.

Then type in: esxcfg-vswif -a vswif0 -p Service\ Console -i 192.168.1.5 255.255.255.0 -b 192.168.1.255

That will recreate the vswif0 with the IP 192.168.1.5. You can of course use whatever IP and subnet mask you wish. The last address is the broadcast address.

If you have changed the IP of the service console to a new subnet then you will also have to change the default gateway. You can edit the file “network” in the directory /etc/sysconfig. Just use the vi editor to update the file and save it.

After all of this is done, restart the entire ESX server and that should fix it.

-RP

Aug 2 2008   8:16PM GMT

Bare Metal Hypervisors



Posted by: Raj Perumal
Virtualization, VMWare, hypervisor, Citrix, Microsoft, Hyper-V, XenServer, Citrix XenServer, IT consultant, ESX Server, IT Consulting, ESXi 3.5, ESXi, Level 1 hypervisor, bare metal hypervisor, bare metal, level 2 hypervisor

With Hyper-V out now, the virtualization marketing machine from all the different virtualization companies is in full swing. The battle is on and it looks like it’s going to be an ugly one. With virtualization pros on either side spouting the virtues of their product and claiming why one is better than the other.

Within the past few days I have read about a ton of cost comparisons between all the different offerings out there between Hyper-V, XenServer, and VMWare. I think at the end of the day, you need to delve a little deeper and look at the differences between the technologies that make up these products and what they mean to you and your business.

 One of the core differences that is important to me (and might not be important to you, depending on your needs) is the level/classification of hypervisor that is employed by the various companies. VMWare and Citrix both offer what are called level 1 or type 1 classification hypervisors. These are hypervisors that install on bare metal without an underlying OS. Whereas Microsoft offers Hyper-V only installed as a role on Windows 2008. This is what is called a level 2 hypervisor or type 2 classification hypervisor.

This is important because anytime you have a virtual product using a level 2 hypervisor, the hosting OS gives a larger footprint to attack and can compromise the security or stability of the box more than a level 1 hypervisor would. Now for non mission critical servers this wouldn’t be much of an issue, but for mission critical virtual machines this could be the difference between choosing which virtualization product is right for you.

However, it is said that Microsoft will be developing a level 1 hypervisor. We will have to wait and see how this progresses, because once this comes out, the lines will be even further blurred between the different competitors.

-RP


Jul 2 2008   3:09PM GMT

Installing BES in a Virtual Environment



Posted by: Raj Perumal
Virtualization, VMWare, BlackBerry, virtual machines, BES, VMware ESX, Blackberry Enterprise Server, IT consultant, ESX Server

Hi folks, today I’d like to talk about BES installations. I find that BES is one of those server installations that lends itself well to virtualization. You see I like to run BES on it’s own server so if you need to reboot it or perform any maintenance, it won’t affect other services.

Of course buying a brand new server just for BES isn’t exactly cost effective. This is where virtualization comes in. Using VMWare you can easily setup a tiny VM with minimal resources just for BES. The downside to this however is that how are you going to plug in a BlackBerry directly to the BES server via USB cable if you need to troubleshoot a BlackBerry device that isn’t synchronizing properly wirelessly?

Well the solution to this is actually pretty straightforward. In most virtualized environments you will usually have one server that is not virtual (a management server as I like to call them), that allows you to manage the virtualized environment with all the administration tools installed on it and perhaps even backup software to backup or replicate the virtual machines to another location. On this same server you can just install the Blackberry Management console and point it at the BES server. This way you can plug in USB devices to the physical management server and the devices will communicate with your virtual BES server.

-RP


Jun 28 2008   5:40PM GMT

Server consolidation



Posted by: Raj Perumal
server consolidation, VMWare, HP, blade servers, blades, virtual machines, VMware ESX, virtual, HP BladeSystem c3000, ESX Server, power efficiency, thermal, Power and cooling

There is one commonality here in Winnipeg, Manitoba. Lots of servers, using a lot of power. Being a province that generates our own Hydro, we have pretty cheap electricity without having to worry about the expense of power like other provinces or states do. However this doesn’t mean we shouldn’t be a little more green to help out the rest of the world.

It is quite often I will see server rooms filled with racks and racks of servers with no heed paid to virtualization at all. A lot of people believe it or not, still haven’t even heard of it as they are busy focusing on other things in their business and don’t keep their ear to the ground in the IT world. It’s at times like these that I like to point out the benefits of virtualization.

You can easily take an HP C3000 blade enclosure (this enclosure, aka the “shorty” is targeted at the SMB market) and fill it with server blades, a tape blade and a storage blade, and consolidate racks worth of servers down into 6U of space. Then you can install VMWare ESX Server on the server blades and potentially have tons of virtual machines per blade server. If you haven’t looked into these technologies lately I suggest you do, they are the next big thing in IT and have just been getting better and better.

 By doing this you can save your company money on power, thermal, physical space constraints, and sheer amount of servers and racks you have to buy. Also by implementing VMWare on a blade enclosure, you increase the level of redundancy you have greatly over what you would typically have in standard configuration of one server installation per rack mounted server by taking advantage of the features available to you in VMWare and in the blade enclosure.

 -RP


Jun 23 2008   3:12PM GMT

Tuning VMWare



Posted by: Raj Perumal
VMWare, performance tuning, virtual machines, VMware ESX, ESX Server, VCP

One of the most common mistakes I see when out in the field with VMWare, is incorrectly configured VMWare ESX servers. It is very common to see people configure virtual machines as if they are physical machines. If you are going to implement VMWare in your environment I highly suggest going through the VCP training. The knowledge a VMWare instructor can share with you during your course can be invaluable. They can tell you about all those little things you just can’t find in a book.

In the mean time you can follow this simple guide from VMWare on performance tuning. It is quite helpful in guiding you along the path on how to get the most out of it. Check out this link:http://www.vmware.com/pdf/vi_performance_tuning.pdf

 -RP