SAN/ NAS Storage with Openfiler – My Quickly Guide

Hello there,

Here we are with my ‘sequence’ posting 😀 . These are my old practice but have no time to post it until  now. I used openfire 2.3 as an iSCSI target (with only one extra hdd and it could be added to RAID as a spare storage) and centos RAID 10 (with 5 harddisks; sdb1, sdc1, sdd1, sde1, sdf1) as an iSCSI initiator.

system

For you, just do not forget these steps:
1. Create LVM with sequence create: Physical volume, Volume Group, and Logical Volume (See LVM guide in this website 😉 )

volume2. Don’t forget to turn on iSCSI server target.

service3. And then, allowing all of your network with LUN Mapping your SAN Storage.

LUN Mapping4. On initiator, you have to provide all of requirement packages such as open-iscsi (Debian) or iscsi-initiator-utils (RPM). And check first condition before discover the new one HD (in this case, my centos has a RAID 10 with 5 hdd). Then, type these steps:
~# service iscsi start
~# iscsiadm -m discovery -t sendtargets -p <IP_iSCSI_TARGET>
~# service iscsi restart
As you can see, i have an extra storage such a /dev/sdg below. You have to format it as well.
after1after2

5. If you don’t believe it, try to halt iSCSI target server and all of client (initator) will loosing their storage. So, it is recommended for SAN/NAS Openfiler to make it cluster (It might be supported with the latest version of Openfiler).
cut_connectioncut_connection1

Cheers

 

Advertisements

Tinggalkan pesan atau komentar

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s