LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 07-08-2011, 05:33 AM   #1
purusrhce@gmail.com
LQ Newbie
 
Registered: Dec 2010
Posts: 13

Rep: Reputation: 0
PowerPath and Qlogic Doubt


Hi,

In our environment we are using EMC for storage..

We are using Qlogic provided drivers and PowerPath and the OS is RHEL5.3

Currently we have 2 Luns connected in one of our server ( emcpowera & emcpowerb )and storage team has allocated another 100Gb Lun to that system, my doubt is if I execute "ql-dynamic-tgt-lun-disc.sh" script that would be enough to detect the Lun and see the device under /dev/ as emcpowerc or i need to execute "powermt config" and "powermt save" commands also.

I am very new to SAN, need your help..

Thanks,
Puru
 
Old 07-08-2011, 11:54 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,088

Rep: Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715
Quote:
Originally Posted by purusrhce@gmail.com View Post
Hi,
In our environment we are using EMC for storage..

We are using Qlogic provided drivers and PowerPath and the OS is RHEL5.3
Currently we have 2 Luns connected in one of our server ( emcpowera & emcpowerb )and storage team has allocated another 100Gb Lun to that system, my doubt is if I execute "ql-dynamic-tgt-lun-disc.sh" script that would be enough to detect the Lun and see the device under /dev/ as emcpowerc or i need to execute "powermt config" and "powermt save" commands also.

I am very new to SAN, need your help..
You posted a SAN question back in December of last year...after 7 months, you should have some experience by now.

Without knowing details about how you have things configured, it's dangerous for us to assume things. While it *SHOULD* work, you are (still), in a supported environment. You are paying for support from RedHat and EMC, and they can answer this with far better clarity than we can here.
 
Old 07-11-2011, 04:24 AM   #3
purusrhce@gmail.com
LQ Newbie
 
Registered: Dec 2010
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
You posted a SAN question back in December of last year...after 7 months, you should have some experience by now.

Without knowing details about how you have things configured, it's dangerous for us to assume things. While it *SHOULD* work, you are (still), in a supported environment. You are paying for support from RedHat and EMC, and they can answer this with far better clarity than we can here.

==================================================================================================== ================================

Hi,

I have been working in redhat provided drivers with multipathing not Qlogic provided + powerpath, I use the below commands to detect a LUN and configure the device... But in powerpath i dont have much experience that why i posted my doubts here.. If you know the answer for my question kindly share it..

1) Issue LIP Reset


for i in /sys/class/fc_host/host*; do echo "1" > $i/issue_lip; sleep 5; done

- Verify that LIP reset worked
- Output in syslog should display:
.....LIP reset occured... -> This indicates the LIP reset completed.
grep -i lip /var/log/messages | tail -10


2) Rescan SCSI bus
for i in /sys/class/scsi_host/host*; do echo "- - -" > $i/scan; sleep 5; done

multipath -F
multipath -v2

Thanks,
Puru
 
Old 07-11-2011, 10:45 AM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,088

Rep: Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715
Quote:
Originally Posted by purusrhce@gmail.com View Post
I have been working in redhat provided drivers with multipathing not Qlogic provided + powerpath, I use the below commands to detect a LUN and configure the device... But in powerpath i dont have much experience that why i posted my doubts here.. If you know the answer for my question kindly share it..

1) Issue LIP Reset
for i in /sys/class/fc_host/host*; do echo "1" > $i/issue_lip; sleep 5; done
- Verify that LIP reset worked
- Output in syslog should display:
.....LIP reset occured... -> This indicates the LIP reset completed.
grep -i lip /var/log/messages | tail -10


2) Rescan SCSI bus
for i in /sys/class/scsi_host/host*; do echo "- - -" > $i/scan; sleep 5; done
multipath -F
multipath -v2
The word "doubt" and the word "question" mean two different things. And your original question and the follow up have changed...what are you trying to accomplish? What ISN'T working? What are you having a problem with, exactly???

And as I posted before, without knowing the particulars of your environment, and how YOU want things to work, it's dangerous to speculate. Once again, you are using RedHat Enterprise with an EMC SAN, and Qlogic cards. A very well supported configuration...you need to call RedHat and/or EMC, and ask THEM. You are paying for support...that's what it's there for. They can help you far better in this instance than anyone here can.
 
  


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
EMC PowerPath how to change psuedo names using powermt ? shellshock79 Linux - Newbie 9 06-17-2013 07:33 AM
[SOLVED] Migrating RHEL4 OS to EMC SAN with PowerPath jbilderb Linux - Enterprise 5 04-19-2010 10:05 AM
Powerpath and lvm.conf filter SpLaSh212 Linux - Server 1 05-04-2009 04:51 PM
Qlogin, Powerpath and too many paths to the same disk SpLaSh212 Linux - Server 4 03-07-2009 01:44 PM
emc powerpath problem sachin1361 Linux - Enterprise 1 08-27-2007 04:47 PM


All times are GMT -5. The time now is 11:27 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