Virtualization Technology: Building a Virtualized Testbed on the Cheap - Part III: OpenFiler Configuration

 
 
By Andrew Garcia  |  Posted 2009-03-09
 
 
 

Building a Virtualized Testbed on the Cheap - Part III: OpenFiler Configuration

by Andrew Garcia

Building a Virtualized Testbed on the Cheap - Part III: OpenFiler Configuration

OpenFiler Web Configuration

To access the OpenFiler Web configuration page, from your management workstation, surf to https://openfileripaddress:446. By default, the log-in = openfiler and the password = password.

OpenFiler Web Configuration

Update OpenFiler

To update OpenFiler, press Update in the top right corner. When the System Update screen appears, click Launch System Update to start RPath's Conary updater.

Update OpenFiler

Update Packages

It takes a few minutes for Conary to find all available packages. I updated all packages at once, which automatically runs updater in the background. Check the update log on prior screen for a status report.

Update Packages

Change Password

Users should change the default OpenFiler credentials. To change the password, click Accounts, then Admin Password.

Change Password

iSCSI Services

To enable iSCSI on OpenFiler, click Service. Make sure both iSCSI Target Server and iSCSI Initiator are enabled, as the latter is disabled by default.

iSCSI Services

Network Access

To configure network objects to which you will later grant access, click System. Under Network Access Configuration, create network object for the entire subnet. For example, 192.168.10.0/255.255.255.0.

Network Access

Granular Network Access

For more specific access control, you should also create objects for each ESXi server that will connect to OpenFiler. For example, 192.168.10.120/255.255.255.255.

Granular Network Access

Create Volume

To begin creating the iSCSI share, click Volumes, then Create New Physical Volumes. Select the array left free earlier (/dev/hdb - not shown). As seen here, change Partition Type to Physical Volume and ensure all cylinders will be used. Click Create to complete this step.

Create Volume

Create Volume Group

Click Volume Groups. Name the new Volume Group, then add the volume just created to the group. Click Add Volume Group.

Create Volume Group

Shares

Click Shares, then click Create New Filesystem Volume.

Shares

Filesystem Volume

Name the volume, slide the Required Space bar to the right to use all available storage now, then change the Filesystem/Volume type to iSCSI.

Filesystem Volume

Configure iSCSI Volume

To begin configuring the iSCSI share, click Volumes, then click iSCSI Targets.

Configure iSCSI Volume

Add iSCSI Target

Click Add, to create an iSCSI target to which ESXi will connect. Note that OpenFiler automatically generates an IQN identifier for the target, which you may want to note it for future reference.

Add iSCSI Target

More iSCSI Targets

If needed, you can create multiple iSCSI targets on a single machine, each with its own configuration and security settings.

More iSCSI Targets

LUN Mapping

Map your filesystem volume to the iSCSI target. Leave the default R/W Mode and Transfer Mode settings.

LUN Mapping

ACL the Easy Way

Harkening back to earlier network object configurations in OpenFiler, the easy way is to allow all hosts on the subnet to access the iSCSI target.

ACL the Easy Way

ACL the Hard and More Secure Way

Or, to be a little more secure, you can enable access only to the ESXi server, while denying access to the rest of the subnet.

ACL the Hard and More Secure Way

CHAP Configuration

To secure authentication between OpenFiler and ESXi, click CHAP Authentication. Add a username and password and leave user type as incoming user. If you leave this blank, which you may want to do at first to ease configuration, make sure to skip CHAP configuration in the ESXi Configuration instructions below.

CHAP Configuration

Building a Virtualized Testbed on the Cheap - Part III: OpenFiler Configuration - Page 20

 

Building a Virtualized Testbed on the Cheap - Part III: OpenFiler Configuration - Page 20

Rocket Fuel