Wednesday, November 5, 2008

Cheap (FREE) and Good SAN / iSCSI Storage - OpenFiler SAN Server

If you want to work / test / learn many of the VMware ESX Server advanced features, like VMotion, VMware High Availability (VMHA), and VMware Distributed Resource Scheduler (DRS), you should have SAN (Storage Area Network).

For my Home Lab I'm using OpenFiler. You can find a very good Step-By-Step tutorial about OpenFiler at well know Petri.co.il web site. Article by David Davis - "Use OpenFiler as your Free VMware ESX SAN Server"

I just want to add one small part to this tutorial. I think it's not the best idea to use IP address from DHCP on Server, a specially on SAN :). So, I've configured my SAN to use static IP. Here is how to do that:

Logon to the OpenFiler console as a root.
Run "vi /etc/sysconfig/network" and make the following changes:

NETWORKING=yes
HOSTNAME=net-nas-01.admininfo.local
GATEWAY=192.168.1.1

Run "vi /etc/sysconfig/network-scripts/ifcfg-eth0" and make the following changes:

DEVICE=eth0
IPADDR=192.168.1.15
BOOTPROTO=static
NETMASK=255.255.255.0
NETWORK=192.168.1.0
GATEWAY=192.168.1.1
BROADCAST=192.168.1.255
ONBOOT=yes

Go and modify the hosts file. To modify the hosts file run this command "vi /etc/hosts" and make sure the FQDN names for 127.0.0.1 and the static IP address are set correct.

127.0.0.1 net-nas-01.admininfo.local
192.168.1.15 net-nas-01.admininfo.local

For more information go to Openfiler website
Running ESX 3.5 and 3i Under VMWare Workstation 6.5
Sunday, 24 August 2008 10:24
As result of battle between Microsoft and VMWare (for place on Virtualization market), VMWare announced that a new VMWARE ESXi server became FREE.
This news generated a lot of interest and many people started to try install VMWARE ESXi on VMWARE Workstation, just to see it and learn.

By little Googling you will find a lot of sites, where explained how to run ESX 3.0 server on VMWARE Workstation 6.x, but you will see that this tricks is not working for ESX 3.5. Equally they are working, but you unable to start virtual machine inside ESX.

To make ESX 3.5 fully working on VMWare Workstation we need to do the following steps:
  1. Download and install Workstation 6.5 (Right now you can download RC version from official version from www.vmware.com)
  2. Inside Workstation 6.5 create a new VM, but keep in mind select Custom in "New Virtual Machine Wizard. As Hardware Compatibility select Workstation 6.5. You need to select an Redhat x64 Linux version. Set to use One CPU. At least 1024 MB ram. As a Virtual disk type select SCSI and as SCSI controller select LSI Logic (Recommended).
In my testfrom VM settings I removed USB Controller, Sound Card, Floppy drive. In Display settings I deselect the Accelerate 3D graphics checkbox. On network tab I've selected Bridged and Replicate physical network connection state. On Processors tab select Intel VT or AMD-V as preferred mode.

OK, now is very important part :). Close VMWare Workstation and got to .vmx file of your just created VM. Open .vmx file in Notepad and add (change) the following lines:

ethernet0.virtualDev = “e1000″

monitor.virtual_exec = “hardware”
monitor_control.restrict_backdoor = “true”

Save .vmx file, start VMWARE Workstation and you are ready to start install a new Vmware ESX 3.5.