LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   PowerPath and Qlogic Doubt (https://www.linuxquestions.org/questions/linux-server-73/powerpath-and-qlogic-doubt-890558/)

purusrhce@gmail.com 07-08-2011 04:33 AM

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

TB0ne 07-08-2011 10:54 AM

Quote:

Originally Posted by purusrhce@gmail.com (Post 4408632)
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.

purusrhce@gmail.com 07-11-2011 03:24 AM

Quote:

Originally Posted by TB0ne (Post 4408909)
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

TB0ne 07-11-2011 09:45 AM

Quote:

Originally Posted by purusrhce@gmail.com (Post 4411328)
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.


All times are GMT -5. The time now is 07:56 AM.