I have installed iscsi-target RHEL Machine with the following steps:
I have the following partition table:
1. I downloaded iscsi-target package and followed the process:
Code:
[root@localhost iscsitarget]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 29G 7.4G 20G 27% /
/dev/sda1 107M 9.6M 92M 10% /boot
none 721M 0 721M 0% /dev/shm
/dev/sda3 20G 76M 19G 1% /home
Code:
#vi /etc/ietd.conf
Target iqn.2008-07.com.scsilinux:storage.disk2.sys1.xyz
# Users, who can access this target. The same rules as for discovery
# users apply here.
# (no users means anyone can access the target)
#IncomingUser joe secret
#OutgoingUser jim 12charpasswd
# Logical Unit definition
# You must define one logical unit at least.
# Block devices, regular files, LVM, and RAID can be offered
# to the initiators as a block device.
Lun 0 Path=/dev/sda3,Type=fileio
Saved the file.
And Then Started the service:
Code:
[root@localhost iscsitarget]# service iscsi-target restart
Stoping iSCSI target service: [ OK ]
Starting iSCSI target service: [ OK ]
Now, I went to setup iscsi-client on new system as:
Installed the Needed PAckage.
Pointed iscsi.conf to the target Machine.
And Then:
Code:
[root@BL02DL385 ~]# iscsi-ls
*******************************************************************************
SFNet iSCSI Driver Version ...4:0.1.11-6(03-Aug-2007)
*******************************************************************************
TARGET NAME : iqn.2008-07.com.logica.bl04mpdsk:storage.lun1
TARGET ALIAS :
HOST ID : 2
BUS ID : 0
TARGET ID : 0
TARGET ADDRESS : 10.14.236.134:3260,1
SESSION STATUS : DROPPED AT Thu Jul 10 05:19:36 IST 2008
SESSION ID : ISID 00023d000001 TSIH 300
*******************************************************************************
[root@BL02DL385 ~]# iscsi-rescan
It means Its Working and showing the target machine.
Now I am confused of "entry being made in iscsi.conf.Is entry
correct?
All I am attempting to setup is Red Hat Cluster with two nodes as initiator and the one target Machine.I havent any shared storage an dI am setting up Alternative to the Shared Storage.
Pls Help