LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices



Reply
 
Search this Thread
Old 08-15-2007, 12:27 PM   #1
sachin1361
Member
 
Registered: Feb 2007
Posts: 126

Rep: Reputation: 15
emc docs for RHEL-5


hi,

any anybdy provide me any good docs related to connecting and configuring RHEL-5 with Dell EMC CX 300 .

I searched all where but couldnt find anything related to RHEL-5.All docs are based on RHEL-4.

anyhelp will be appreciated

thanx
 
Old 08-17-2007, 03:26 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
normally there is very little difference what version you're using it with... are you having specific trouble not address on the existing documentation?
 
Old 08-18-2007, 02:34 AM   #3
sachin1361
Member
 
Registered: Feb 2007
Posts: 126

Original Poster
Rep: Reputation: 15
emc storage

Thanx for replying,


these are the config check which i found.



#cat /proc/partition

major minor blocks name

8 16 1048576 sdb
8 32 1048576 sdc
8 48 1048576 sdd
8 64 1048576 sde

---------------------------------------------------------
cat /proc/scsi/scsi
Host; scsi0 channe: 02 id:00 Lun: 00
vendorELL model : PERC /5i
Type: direct access


Host; scsi1 channe: 00 id:00 Lun: 00
vendorGC model : LUNZ
Type: direct access


Host; scsi1 channe: 02 id:01 Lun: 00
vendorGC model : LUNZ
Type: direct access


Host; scsi2 channe: 02 id:00 Lun: 00
vendorGC model : LUNZ
Type: direct access


Host; scsi2 channe: 02 id:01 Lun: 00
vendorGC model : LUNZ
Type: direct accessca

---------------------------------------------------------------

#./naviserverutil
HBA SP Port IP
0 B 0 172.16.1.2
1 B 1 172.16.1.2
0 A 0 172.16.1.1
1 A 1 172.16.1.1


-----------------------------------------------------------


[root@mail02 Navisphere]#
[root@mail02 Navisphere]# udevtest /block/sdbmain: looking at device '/block/sdb' from subsystem 'block'
run_program: '/bin/bash -c '/sbin/lsmod | /bin/grep ^dm_multipath''
run_program: '/bin/bash' (stdout) 'dm_multipath 21577 0 '
run_program: '/bin/bash' returned with status 0
run_program: '/lib/udev/usb_id -x'
run_program: '/lib/udev/usb_id' returned with status 1
run_program: '/lib/udev/scsi_id -g -x -s /block/sdb -d /dev/.tmp-8-16'
run_program: '/lib/udev/scsi_id' (stdout) 'ID_VENDOR=DGC'
run_program: '/lib/udev/scsi_id' (stdout) 'ID_MODEL=LUNZ'
run_program: '/lib/udev/scsi_id' (stdout) 'ID_REVISION=0219'
run_program: '/lib/udev/scsi_id' (stdout) 'ID_SERIAL=350060160b022e4d250060160b022e4d2'
run_program: '/lib/udev/scsi_id' (stdout) 'ID_TYPE=disk'
run_program: '/lib/udev/scsi_id' (stdout) 'ID_BUS=scsi'
run_program: '/lib/udev/scsi_id' returned with status 0
udev_rules_get_name: add symlink 'disk/by-id/scsi-350060160b022e4d250060160b022e4d2'
run_program: '/lib/udev/path_id /block/sdb'
run_program: '/lib/udev/path_id' (stdout) 'ID_PATH=pci-0000:0c:00.0-fc-0x500601603022e4d2:0x0000000000000000'
run_program: '/lib/udev/path_id' returned with status 0
udev_rules_get_name: add symlink 'disk/by-path/pci-0000:0c:00.0-fc-0x500601603022e4d2:0x0000000000000000'
run_program: '/lib/udev/vol_id --export /dev/.tmp-8-16'
run_program: '/lib/udev/vol_id' returned with status 4
run_program: '/lib/udev/edd_id --export /dev/.tmp-8-16'
run_program: '/lib/udev/edd_id' (stderr) 'no kernel EDD support'
run_program: '/lib/udev/edd_id' returned with status 2
run_program: '/bin/grep '^OMDataEngine.installpath' /etc/omreg.cfg'
run_program: '/bin/grep' (stdout) 'OMDataEngine.installpath=/opt/dell/srvadmin/dataeng'
run_program: '/bin/grep' returned with status 0
udev_rules_get_name: no node name set, will use kernel name 'sdb'
udev_device_event: device '/block/sdb' already in database, validate currently present symlinks
udev_node_add: creating device node '/dev/sdb', major = '8', minor = '16', mode = '0640', uid = '0', gid = '6'
udev_node_add: creating symlink '/dev/disk/by-id/scsi-350060160b022e4d250060160b022e4d2' to '../../sdb'
udev_node_add: creating symlink '/dev/disk/by-path/pci-0000:0c:00.0-fc-0x500601603022e4d2:0x0000000000000000' to '../../sdb'
main: run: '/sbin/multipath -v0 8:16'
main: run: 'socket:/org/kernel/udev/monitor'
main: run: '/lib/udev/udev_run_devd'
main: run: 'socket:/org/freedesktop/hal/udev_event'
main: run: '/sbin/pam_console_apply /dev/sdb /dev/disk/by-id/scsi-350060160b022e4d250060160b022e4d2 /dev/disk/by-path/pci-0000:0c:00.0-fc-0x500601603022e4d2:0x0000000000000000'
main: run: '/opt/dell/srvadmin/dataeng/bin/dataeng.hotplug block'

------------------------------------------------

[root@mail02 Navisphere]#
[root@mail02 Navisphere]# fdisk /dev/sdb

Unable to read /dev/sdb
[root@mail02 Navisphere]#

----------------------------------------------------


[root@mail02 Navisphere]#
[root@mail02 Navisphere]# scsi_id -g -u -s /block/sdb
350060160b022e4d250060160b022e4d2
[root@mail02 Navisphere]# scsi_id -g -u -s /block/sdc
350060160b022e4d250060160b022e4d2
[root@mail02 Navisphere]# scsi_id -g -u -s /block/sdd
350060160b022e4d250060160b022e4d2
[root@mail02 Navisphere]# scsi_id -g -u -s /block/sde
350060160b022e4d250060160b022e4d2
----------------------------------------------------------


The partition created for each LUNs is 300 GB (approx).but commands displays only 1 GB above
.I wanna know how to configure LUN for the adapter and how to mount them.Above is the error i get when i run fdisk command.What should i do next tp fdisk the LUNs
-------------------------

alias wwn
mail02 mail02l 10.00.00.00.c9.57.18.be
mail02 mail02r 10.00.00.00.c9.57.2e.fe


storage1 storage2
mail02zone mail02l spa0 spb0
mail02zone mail02r spa1 spb1

#./naviserverutil

HBA SP Port IP
0 B 0 172.16.1.2
1 B 1 172.16.1.2
0 A 0 172.16.1.1
1 A 1 172.16.1.1



------------------------------

[root@mail02 rules.d]# mpath_
mpath_ctl mpath_prio_hds_modular mpath_wait
mpath_prio_alua mpath_prio_netapp
mpath_prio_emc mpath_prio_tpc
----------------------

[root@mail02 mapper]# multipath -v2sdb: checker msg is "emc_clariion_checker: Logical Unit is unbound or LUNZ"
sdc: checker msg is "emc_clariion_checker: Logical Unit is unbound or LUNZ"
sdd: checker msg is "emc_clariion_checker: Logical Unit is unbound or LUNZ"
sde: checker msg is "emc_clariion_checker: Logical Unit is unbound or LUNZ"
[root@mail02 mapper]#

[root@mail02 mapper]# multipathd -k>show devices

ram4 (blacklisted)
ram5 (blacklisted)
ram6 (blacklisted)
ram7 (blacklisted)
ram8 (blacklisted)
ram9 (blacklisted)
sda
sdb (blacklisted)
sdc (blacklisted)
sdd (blacklisted)
sde (blacklisted)

[root@mail02 dev]# cd /dev/mapper/[root@mail02 mapper]# ls
control VolGroup00-LogVol00 VolGroup00-LogVol01
[root@mail02 mapper]#


----------------------------------
LUNs and storage groups have been defined in EMC CX300 storage.
Now i wanna know if above LUNs are those which r configured on Storage or different becoz partittion size was different as i defined in storage. and how to bind HBA with LUNz . which tell me where to proceed now.

I m using RHEL-5 on 2.6 kernel

thankx
 
Old 08-25-2007, 03:41 PM   #4
mark.ruys
LQ Newbie
 
Registered: May 2007
Posts: 4

Rep: Reputation: 0
I had the same problem. Reading your post, I saw the line:

Quote:
main: run: '/opt/dell/srvadmin/dataeng/bin/dataeng.hotplug block'
Inspired (sort of) by it, I tried:

Code:
service dataeng stop
service iscsi restart
multipath -ll
Now I was able to see the devices! So it appears that Dell's Open Manage (omsa) interferes with iscsi...


Mark

Code:
$ rpm -q srvadmin-deng iscsi-initiator-utils
srvadmin-deng-5.2.0-460
iscsi-initiator-utils-6.2.0.742-0.6.el5
 
Old 08-26-2007, 02:43 AM   #5
sachin1361
Member
 
Registered: Feb 2007
Posts: 126

Original Poster
Rep: Reputation: 15
linux host registration ?

Thankyou for replying to my query.

Another thing which I wanna know is that I 'd read some of the docs which says that Linux host must have been manually registered on the Array (EMC cx300) and assigned to a Storage group.Is it correct ? I installed Navishphere host agent on windows machines and hosts were registered automatically. Is linux hosts registration is different than Windows? Shall I have to do it manually on EMC storage?

Can you please tell me how Linux host registration is different than Windows as I have done my best in Linux , still host is not registered in EMC Array.And what shall I have to do to get it register on Array.



Thankyou very much.
 
Old 08-27-2007, 04:10 AM   #6
mark.ruys
LQ Newbie
 
Registered: May 2007
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by sachin1361 View Post
Thankyou for replying to my query.

Another thing which I wanna know is that I 'd read some of the docs which says that Linux host must have been manually registered on the Array (EMC cx300) and assigned to a Storage group.Is it correct ? I installed Navishphere host agent on windows machines and hosts were registered automatically. Is linux hosts registration is different than Windows? Shall I have to do it manually on EMC storage?

Can you please tell me how Linux host registration is different than Windows as I have done my best in Linux , still host is not registered in EMC Array.And what shall I have to do to get it register on Array.



Thankyou very much.
We have a AX 150i, but I think that makes no difference. Probably, you need "Navisphere .. Server Utility" from EMC. Then something like:
Code:
rpm -ihv naviserverutil.i386.rpm 
/opt/Navisphere/bin/naviserverutilcli update
This will register your server to the SAN.

Mark

PS. Before you can register your server, you need to install and configure iscsi-initiator-utils (rpm part of RHEL5). For an AX150i, I modified /etc/iscsi/iscsid.conf as follows:
Code:
node.session.timeo.replacement_timeout = 10
node.session.iscsi.InitialR2T = Yes
node.session.iscsi.ImmediateData = No
node.conn[0].iscsi.HeaderDigest = None
node.conn[0].iscsi.DataDigest = None
 
Old 08-28-2007, 05:51 AM   #7
sachin1361
Member
 
Registered: Feb 2007
Posts: 126

Original Poster
Rep: Reputation: 15
hi

I have posted in Dell website and they told me that cx series is not supported with iscsi.I installed naviagent client and it get registered in storage.
Only mpio is the only solution with rhel-5 becoz no powerpath is released for that.

Problem is solved .Thanks for replying
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I create a partition on our SAN, RHEL Qlogic and EMC krigby Linux - Enterprise 13 08-07-2011 08:07 AM
EMC HBA problem sachin1361 Red Hat 2 08-03-2007 08:49 AM
dell emc sachin1361 Linux - Enterprise 1 08-03-2007 07:25 AM
Cannot fdisk EMC drives etcetera Linux - Hardware 1 05-16-2006 03:30 PM
Linux 8.0 contact EMC FC4700 Polaris Linux - Hardware 0 05-16-2003 03:40 AM


All times are GMT -5. The time now is 02:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration