woensdag 24 november 2010

OpenFiler iSCSI target

OpenFiler
 (downloaded Virtual Appliance from openfiler.com)

Configure your virtual machine with storage to be used
for clients that will be provided with storage.
I find it usefull not to make the storage on the root
disk of the Virtual Machine but to add a different disk
to the VM where we put the storage on.

Edit Settings
  Add ..
   HardDisk
Create new Virtual Disk

Start Virtual Machine

If the Virtual Machine has started it will have port 446 available
for you to connect to :

http://192.168.2.9:446

Login: openfiler
Password: password

Goto TAB : Volumes

On the right hand side you will find menu option: Block Device

Check to find if the added disk is present (propably /dev/sdb)

Under Edit Disk there are links to the disks. Click on /dev/sdb
to create a partition.

Next click on menu (right hand side) Volume Group

Create a Volume Name on the Volume Group: volumegroupy
Add Volume menu action
Create a volume in ‘volumegroupy
  Volume Name:      volumenamy
  Space:                 16384
  FileSystem:           iSCSI

We now have a volume to be used with iSCSI:



Enable iSCSI from the SERVICES tab

Next make sure we listen to a network:

System Tab
Network Access Configuration
'completenetwork' 192.168.2.0/255.255.255.0 share

Now we can create a volume for the iscsi target to use
iSCSI Targets menu
Now MAP the volume name you created to the iSCSI target in the LUN Mapping TAB.


Make sure the network is configured

iSCSI Targets
Network ACL TAB
Allow Access
update




RAID 5 array

For a RAID 5 containing multiple RAW Devices use these
steps:

Volumes
 Block Devices
  *Edit Disk*
   Mode: Primary
   Type: Raid Array Member
   [create]
Repeat for all disks
These Raid Member disks should be combined into a RAID 5 array
Software RAID
  Create Array whith at least 3 raid-members checked to creat a RAID5 array
  Select RAID array type: RAID 5 (parity)
  [Add Array]
Now make a Volume Group on this array.
Volume group name: volumegroupy
Selct /dev/md0 (raid5) [add volume group]


Geen opmerkingen:

Een reactie posten