moxiefoxtrot

…a random blog about life and technology

Archive for the ‘esx’ tag

VMWare ESX 3.5u3 in Fusion

leave a comment

I’ve recently been working on a project and needed quick access to a ESX server for reference. I happen to use Macbook Pro and run VMWare’s Fusion product to manage my Ubuntu Linux and Windows desktops. I figured why not try to run ESX as well. Below are the extra variables I added to make ESX run stable inside Fusion.

Hardware: MacBook Pro 2.4ghz (code 2 duo), 4GB ram (early 2008 model)
VMWare Fusion: 2.0.1
VMWare ESX: 3.5U3

I needed to add the following variables to my .vmx file in order to successfully boot and install ESX inside Fusion. I’ve noticed some people are suggesting using 2 cpu’s instead of one however I found this caused serve slowness and ESX will run just fine with 1 CPU.

monitor_control.restrict_backdoor = TRUE
monitor_control.vt32 = TRUE
numvcpus = "1"
scsi0.virtualDev = "lsilogic"
ethernet0.virtualDev = "e1000"
ethernet0.addressType = "generated"
ethernet0.connectionType = "bridged"

Written by Ryan

December 26th, 2008 at 9:37 am

Posted in Apple & OSX, Virtualization

Tagged with , , ,

USB devices with VMWare ESX

one comment

I decided to do a short write up on using USB devices on your virtual machines inside of VMWare ESX. One of the challenges the company I worked faced when moving our physical servers to virtual machines was the fact some of the servers required a USB dongle for the software to run.

Unlike other VMWare desktop products such as Workstation or Fusion, ESX doesn’t allow you to utilize the ESX servers native USB ports and map them to a virtual machine.

We first tried a solution from Digi called AnywhereUSB, the product works well and is very stable and cost about $250 per unit. However, the down fall was we wanted to utilize the extra ports for other servers. At the time (and this still me be the case) the AnywhereUSB product wouldn’t allow multiple virtual machines to connect to the device and share the ports, we needed a solution that would allow separate virtual machines to connect to a dedicated port.

The second and final solution was a product from Lantronix called UBox, specifically the 4100 model and it cost around $150. It allows for 4 USB devices to be connected and each port can be specifically dedicated for a virtual machine, allowing us to connect 4 USB devices to 4 separate virtual machines without them knowing about each others devices. You can also have the operating system auto connect back to the USB device when the server is rebooted to ensure the hardware is always there by using the configuration software.

The simple configuration application will sit in the system tray of Windows. Below are a few screen-shots of the application (sorry for the nasty edits).

You’ll  notice the second image is giving us a warning about the software version we are running, it’s because it’s running on Windows 2000.

One of the cool things about these Lantronix units is that we are able to connect Windows 2000 and Windows 2003 virtual machines to the same UBox. The device comes with the Windows XP, 2003 software however the Windows 2000 software can be downloaded on the companies website.

In the end the Lantronix unit performs well, we have it setup on a private network and have had relatively few problems.

Written by Ryan

December 22nd, 2008 at 2:18 pm

EqualLogic PS5000x w/ Vmware ESX 3.5 – Part 1

3 comments

I had the opportunity to spend some time working with a Dell EqualLogic PS5000x SAN yesterday and here are some of my initial thoughts.

3 x Dell 1950, 2.4ghz Dual Core, 16GB ram
Vmware ESX 3.5U1
1 x Intel 100/1000 Ethernet port (iscsi)
1 x 3com 4924
1 x EL PS5000x  16×400GB SAS, 10K Drives
Using software ISCSI initiator

Pro’s
Snapshots are very efficient and effective. I loaded up a few 10GB virtual machines on a LUN, took a snapshot and delete them. You can’t restore while the LUN is online so you need to take it offline to restore, however you can take the snapshot and make it read/write and mount it while the main LUN/Volume is online.

After restoring from the snapshot all the data was in tact.

You can delete snapshots after so many days, schedule automatic snapshots etc.

The management interface is very, very user friendly and intuitive. It works best if you run it outside the browser. If you run it in the browser IE performs the best.

Thin provisioning is pretty interesting and will definitely prove viable in certain scenario’s.

You are able to setup LUNS/Volumes to be automatic, raid5, raid50 or raid10. This is independent from the storage pool configuration. For example if you have multiple storage pools across multiple members with different raid specifications it will automatically move your data and find the best fit on the raid type you specify. If you leave it set to automatic it will do an analysis and migrate data to the area’s were it will get the best performance. When I get access to a second unit I’ll be testing this out.

Volume/LUN cloning is pretty simple and straight forward, you can clone the Volume/LUN while its online however you cannot setup thin provisioning on the clone if the original LUN/Volume doesn’t have thin provisioning enabled.

Con’s
There is no dedicated management Ethernet interface. It’s a shared “group” IP address that floats between all three active nic’s on the controller.

According to Dell the next firmware which will be 4.0 and it will have the ability to specific a specific Ethernet port from the controller and make it a dedicated management port. But we will loose a ISCSI port that way so it might not be a viable option. The controllers can also be managed via serial cable.

Applying new firmware takes about 60 seconds and during this time both controllers are unable to serve data. An engineer told me that the next firmware will decrease this to about 20-30 seconds.

Misc thoughts
There is about a 10% slow down in read/write speeds when using straight vmdk files compared to storing the main vmdk file on local or fiber and then using the MS ISCSI initiator to mount the ISCSI lun. The downfall to using the MS ISCSI initiator is the amount of CPU it uses, almost 80% more then using straight vmdk disk.

Reads and writes are generally about 20-25% slower on the ISCSI then on the fiber disk. However, I think the demo setup is sort of gimped as we are only using 1 connection to the ISCSI network from the esx server and the switch we are using isn’t exactly the best choice. It seems to cap at about 40-50MB/s.

The I/O response times were about 10ms more on ISCSI then on the fiber disk. For example 13.4ms on fiber and 24ms on ISCSI.

More tests will be needed. However, while its generally a little slower given the nature of it the performance is still fast and efficient and with HBA’s and better switches I have no doubt these numbers will change.

Using IOMeter for my tests inside a virtual machine the servers cpu usage was about 2-5% lower on the ISCSI virtual machine as compared to the Fiber virtual machine.

There is much more to test and explore but these are my initial thoughts and I figured I would share them.

Written by Ryan

July 25th, 2008 at 11:50 am

Posted in Virtualization

Tagged with , , , ,