Openfiler : Opensource iSCSI SAN Server
For an Openfiler I’ll be using VMware Virtual Appliance that you can download here (x86 VMware Virtual appliance). If you want another version (like x64) or ISO image just go to this url and choose the version you need. I’ll be using VMware Workstation to actually run the Openfiler Virtual Machine. I know the performances will not be excellent but to test all this stuff it’ll be just fine.
There is some good documentation about the actual architecture of Openfiler you can have look here.
1.Add Second virtual hard disk to your VM
Before you first start your Openfiler VM, add a second virtual hard disk (as an SCSI hard disk). Like this Openfiler will detect this disk at startup and then you’ll be able to use this disk for your data.
2. Start Openfiler VM
Then log In remotely via web browser to the ip address which was assigned via DHCP. You will see an image like this. Login with a “Openfiler” as a login and with “password” as a password.
3. Then you need to configure Openfiler as a iSCSI target. What’s this? Basicaly that Openfiler will be acting as a server.
- First create physical volume. Go to Volumes and click on the link (see image below).
- Then create a partition on this volume. Clic on /dev/sdb
You will get onto a page which looks like this one… Click on the button Create. (if you are curious you can click to see on the drop down box…)
- Then Create a Volume Group. Give it some name and click the button Add Volume Group
- Then add a volume at Volumes, then Add Volume.
You will then be directed to the page where you can fill the name for your iSCSI volume and also Description. You then must pull the button indicated with the slider bar to the right to specify how big the volume should be. Don’t forgot to use the drop down box to select iSCSI as a type of volume.
4. Go to General Tab and edit the properties of the volume.
Just go to general tab and click on Network Setup. Now, fill in the IP adress of Openfiler VM, set the subnet mask, select Share, and then click on the button Update.
5. Go and enable the iSCSI target
To be able to do that you must go to Services and click on a link to enable the iSCSI target.
That’s about it. Please subscribe now.... to read more articles like these.