PAGES

The Ultimate Virtualization Kit for IT Executives

Download THIS kit to learn everything you need to know about Virtualization.. FOR FREE !!

Sponsored by: HP and Intel®

Monday, 18 June 2012

Configuring FreeNAS 8 for iSCSI on VMware vSphere 5

Configuring FreeNAS 8 for iSCSI on VMware vSphere 5 

PART 1

Installing FreeNAS on VMware Workstation

FreeNAS is a NAS (Network Attached Storage) server OS based on FreeBSD 8.0 supporting wide range of technologies. FreeNAS™ 8 features a ground up redesign of the web user interface. 


No mess, no fuss – your server is easily controlled from any web-enabled device. Configuration is straightforward and simple, and you can make your changes on the fly. One of FreeNAS™ 8′s most important features is full support for the ZFS filesystem

ZFS includes data integrity protection, practically unlimited size caps, cloneable snapshots, automatic repair, RAID-Z, and more. ZFS is fully open-source, and is a great way to store and manage your important files.

10Gig Ethernet drivers are included in FreeNAS™ 8. If you’ve got onboard 10GigE, or better yet, a 10GigE card, FreeNAS™ 8 becomes screamingly fast when transferring files. This is especially noticeable for video streaming, and multiple simultaneous connections.

If your data is somehow lost, FreeNAS™ makes it easy to restore from a previously generated snapshot. With the periodic snapshots feature, you can worry less about data loss, and use your system stress free. It takes far less time than a full backup, but a continuous set of snapshots will provide the same level of protection.

So lets get started..

Firstly, download the latest edition of FreeNAS from HERE
NOTE: For this tutorial I have used FreeNAS v8.0.4

Create a simple new virtual machine on VMware Workstation.. 
NOTE: You can follow the same installation steps for VMware vSphere Environments also.

in the "New Virtual Machine Wizard" Specify your “FreeNAS” ISO path in “Installer Disc Image file” & click next.

Select Operating System as “Other” & Version as “FreeBSD 64-bit” & click next.

Specify the disk size. You can give it a minimalistic HDD size. I gave it 5 GB. This is just going to be used for the installation of the OS. 

I am going to add one hard disk for my FreeNAS Server in following steps for Additional storage & that will be used as a NFS storage.

Set minimum 256 MB, recommended is 512MB memory for VM. 

Once done, Power ON the VM

 
You can go with default option 1. If you don't provide any options, it will automatically boot FreeNAS

Select the Install option in next screen. 


 FreeNAS 8 should be installed on any of the disks. As we only have a single disk (5 GB), we will install the OS on this HDD


Proceed with the installation as shown. This will basically format the disk for installing the OS.


 Once installed, it will prompt you to REBOOT the VM


Select option 3 and hit OK


Once the reboot completes, you will be shown the URL to access the web console


Log in to FreeNAS. User name for GUI access is admin and password freenas

Make sure VMware network is connected to virtual machine and it’s in any type of networks where host and guest can communicate. In our case, we have used a Bridged Network for the VM

Once you have logged in, FreeNAS will prompt you to change the Admin password by showing a ALERT in the top right hand corner of your browser as shown:


 Click on My Account --> Change Admin Password
Provide the old password as "freenas" and a new one of your choice.



That’s the end of How to Install FreeNAS 8 on VMware.

FreeNAS is an ideal solution to make your old computer or virtual machine as storage for production and testing environment.

In our coming tutorials I will show you how to Configure iSCSI in FreeNAS and later, Use that iSCSI disk in your VMware ESXi environment.