Documentos de Académico
Documentos de Profesional
Documentos de Cultura
And by installing the proper iscsi initiator on the client you can mount the
openfiler's iscsi target on your client. In background its just redhat rhel linux.
In this example we are using openfiler as iscsi target and a Rhel5 machine as iscsi
initiator.
IP: 192.168.0.29
Netmask: 255.255.255.0
Give the gateway and DNS settings for openfiler system. Rest is optional.
GW: 192.168.0.1
DNS: 8.8.8.8
After rebooting you will get a screen like this. You can login as a root user.
In this machine password set was redhat. In the screen its shown that you can access
the openfiler web interface through
https://192.168.0.29:446
For accessing openfiler through web interface you need a web server configured.
Apache comes as configured with opefiler. But you have to start the service.
Web Interface:
First you need to set a Network access Point. This machine / network will be used as
client.
If you are setting a iscsi device for a host, u need to give 255.255.255.255 as netmask.
If you are setting a iscsi device for a network, u can give 255.255.255.0 as netmask.
Openfiler uses the LVM concept. First it will create a Physical volume. After that it
will create Volume group and then the Logical Volume.
We 'll create an extended partition first. You may dont have to do this if it is already
created.
After that in that extended partition, we will create a new partition as physical volume.
As shown below.
Now we will create the Volume Group using the create physical volume. You can
create more physical volumes and make a volume group using all those physical
volumes.
Click Shares:
Description : disk1
Type : iscsi
The Logical volume is created. You can create more if you want. Now we want to set
up the LUN.
Configuring LUN:
Before configuring LUN you need to enable the iscsi target service. Goto services tab:
Before it was disabled now Iscsi target server became enabled. You just had to click.
Now we have to createa LUN device. Goto volumes tab. Click iscsi target on the right
side window.
Clicking "add" you will get like this. You can edit the target name. After the ":" you
can edit as you want. Here we gave *:storage.lap
Now Goto LUN mapping tab under the Iscsi target.
Click on map.
Now You have to edit the Network acl and allow the host to use the mapped LUN.
Click on Network acl.
Now the iscsi target from openfiler is mapped to the metwork access point. You can
access it from that machine.
# chkconfig iscsid on
# chkconfig iscsi on
-l or --login
#fdisk -l
will list the iscsi targets now.
Example:
[root@server ~]# iscsiadm -m discovery -t sendtargets -p 192.168.0.29
192.168.0.29:3260,1 iqn.2006-01.com.openfiler:storage.lap
[root@server ~]# iscsiadm -m node -T iqn.2006-01.com.openfiler:storage.lap -p
192.168.0.29 -l
[root@server ~]# fdisk -l