ISCSI ON
RHEL6
We need our openfiler to be realized by RHEL6.
[root@pr01 ~]# yum install -y iscsi*
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You
can use subscription-manager to register.
Setting up Install Process
Package iscsi-initiator-utils-6.2.0.873-2.el6.x86_64 already
installed and latest version
Nothing to do
[root@dr01 ~]# yum install -y iscsi*
Loaded
plugins: product-id, refresh-packagekit, security, subscription-manager
This
system is not registered to Red Hat Subscription Management. You can use
subscription-manager to register.
client | 2.9 kB 00:00
Setting
up Install Process
Resolving
Dependencies
-->
Running transaction check
--->
Package iscsi-initiator-utils.x86_64 0:6.2.0.873-2.el6 will be installed
-->
Finished Dependency Resolution
Dependencies
Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
iscsi-initiator-utils x86_64 6.2.0.873-2.el6 client 655 k
Transaction
Summary
================================================================================
Install 1 Package(s)
Total
download size: 655 k
Installed
size: 2.2 M
Downloading
Packages:
iscsi-initiator-utils-6.2.0.873-2.el6.x86_64.rpm | 655 kB 00:00
Running
rpm_check_debug
Running
Transaction Test
Transaction
Test Succeeded
Running
Transaction
Warning:
RPMDB altered outside of yum.
**
Found 10 pre-existing rpmdb problem(s), 'yum check' output follows:
glibc-2.12-1.25.el6.i686
has missing requires of glibc-common = ('0', '2.12', '1.25.el6')
glibc-2.12-1.107.el6.x86_64
is a duplicate with glibc-2.12-1.25.el6.i686
libgcc-4.4.7-3.el6.x86_64
is a duplicate with libgcc-4.4.5-6.el6.i686
libstdc++-4.4.7-3.el6.x86_64
is a duplicate with libstdc++-4.4.5-6.el6.i686
nss-softokn-freebl-3.12.9-11.el6.x86_64
is a duplicate with nss-softokn-freebl-3.12.9-3.el6.i686
pam-1.1.1-8.el6.i686
has missing requires of libaudit.so.1
pam-1.1.1-8.el6.i686
has missing requires of libcrack.so.2
pam-1.1.1-8.el6.i686
has missing requires of libdb-4.7.so
pam-1.1.1-8.el6.i686
has missing requires of libselinux.so.1
pam-1.1.1-13.el6.x86_64
is a duplicate with pam-1.1.1-8.el6.i686
Installing : iscsi-initiator-utils-6.2.0.873-2.el6.x86_64 1/1
Verifying
: iscsi-initiator-utils-6.2.0.873-2.el6.x86_64 1/1
Installed:
iscsi-initiator-utils.x86_64
0:6.2.0.873-2.el6
Complete!
[root@pr01 ~]# chkconfig iscsi on
[root@pr01 ~]# chkconfig |grep iscsi
iscsi 0:off 1:off
2:on 3:on 4:on
5:on 6:off
iscsid 0:off 1:off
2:off 3:on 4:on
5:on 6:off
[root@dr01 ~]# chkconfig iscsi on
[root@dr01 ~]# chkconfig |grep iscsi
iscsi 0:off 1:off
2:on 3:on 4:on
5:on 6:off
iscsid 0:off 1:off
2:off 3:on 4:on
5:on 6:off
[root@pr01 ~]# iscsiadm -m discovery -t sendtargets -p
192.168.234.145:3260
Starting iscsid:
[ OK ]
192.168.234.145:3260,1 iqn.2006-01.com.openfiler:tsn.5877ffe9e2f4
[root@dr01 ~]# iscsiadm -m discovery -t sendtargets -p
192.168.234.145:3260
Starting iscsid: [ OK ]
192.168.234.145:3260,1 iqn.2006-01.com.openfiler:tsn.5877ffe9e2f4
[root@pr01 ~]# iscsiadm -m node -T
iqn.2006-01.com.openfiler:tsn.5877ffe9e2f4 -p 192.168.234.145:3260
#
BEGIN RECORD 6.2.0-873.2.el6
node.name
= iqn.2006-01.com.openfiler:tsn.5877ffe9e2f4
node.tpgt
= 1
node.startup
= automatic
node.leading_login
= No
iface.hwaddress
= <empty>
iface.ipaddress
= <empty>
iface.iscsi_ifacename
= default
iface.net_ifacename
= <empty>
iface.transport_name
= tcp
iface.initiatorname
= <empty>
iface.bootproto
= <empty>
iface.subnet_mask
= <empty>
iface.gateway
= <empty>
iface.ipv6_autocfg
= <empty>
iface.linklocal_autocfg
= <empty>
iface.router_autocfg
= <empty>
iface.ipv6_linklocal
= <empty>
iface.ipv6_router
= <empty>
iface.state
= <empty>
iface.vlan_id
= 0
iface.vlan_priority
= 0
iface.vlan_state
= <empty>
iface.iface_num
= 0
iface.mtu
= 0
iface.port
= 0
node.discovery_address
= 192.168.234.145
node.discovery_port
= 3260
node.discovery_type
= send_targets
node.session.initial_cmdsn
= 0
node.session.initial_login_retry_max
= 8
node.session.xmit_thread_priority
= -20
node.session.cmds_max
= 128
node.session.queue_depth
= 32
node.session.nr_sessions
= 1
node.session.auth.authmethod
= None
node.session.auth.username
= <empty>
node.session.auth.password
= <empty>
node.session.auth.username_in
= <empty>
node.session.auth.password_in
= <empty>
node.session.timeo.replacement_timeout
= 120
node.session.err_timeo.abort_timeout
= 15
node.session.err_timeo.lu_reset_timeout
= 30
node.session.err_timeo.tgt_reset_timeout
= 30
node.session.err_timeo.host_reset_timeout
= 60
node.session.iscsi.FastAbort
= Yes
node.session.iscsi.InitialR2T
= No
node.session.iscsi.ImmediateData
= Yes
node.session.iscsi.FirstBurstLength
= 262144
node.session.iscsi.MaxBurstLength
= 16776192
node.session.iscsi.DefaultTime2Retain
= 0
node.session.iscsi.DefaultTime2Wait
= 2
node.session.iscsi.MaxConnections
= 1
node.session.iscsi.MaxOutstandingR2T
= 1
node.session.iscsi.ERL
= 0
node.conn[0].address
= 192.168.234.145
node.conn[0].port
= 3260
node.conn[0].startup
= manual
node.conn[0].tcp.window_size
= 524288
node.conn[0].tcp.type_of_service
= 0
node.conn[0].timeo.logout_timeout
= 15
node.conn[0].timeo.login_timeout
= 15
node.conn[0].timeo.auth_timeout
= 45
node.conn[0].timeo.noop_out_interval
= 5
node.conn[0].timeo.noop_out_timeout
= 5
node.conn[0].iscsi.MaxXmitDataSegmentLength
= 0
node.conn[0].iscsi.MaxRecvDataSegmentLength
= 262144
node.conn[0].iscsi.HeaderDigest
= None
node.conn[0].iscsi.IFMarker
= No
node.conn[0].iscsi.OFMarker
= No
#
END RECORD
[root@pr01 ~]# iscsiadm -m node -T
iqn.2006-01.com.openfiler:tsn.5877ffe9e2f4 -p 192.168.234.145:3260 -l
Logging in to [iface: default, target:
iqn.2006-01.com.openfiler:tsn.5877ffe9e2f4, portal: 192.168.234.145,3260]
(multiple)
Login to [iface: default, target:
iqn.2006-01.com.openfiler:tsn.5877ffe9e2f4, portal: 192.168.234.145,3260]
successful.
we can check it by,
[root@pr01 ~]# fdisk -l
All LUN's from openfiler should be here.
No comments:
Post a Comment