Unsolved

This post is more than 5 years old

13 Posts

824

April 29th, 2008 01:00

Powerpath 5.0.0-157 and SLES9

Hi,

if have the following not working scenario (IBM Blade HS21 XM and EMC CLARiiON CX3 Model 20):

Reboot of the blade fails if SP ownership on storage side is changed from SPA to SPB, we found out that emc powerpath doesn't come into play even all paths are active/alive.We are wondering if powerpath is properly loaded in the kernel.

Question:How can we ensure that powerpath is properly loaded in the kernel and blade should come up clean even if ownership is moved to SPB on storage side.

To install the PowerPath in our medium based on SLES9 SP3, we have done following:
1. Install rpm EMCpower.LINUX-5.0.0-157 with proper Powerpath license.
2. Modified /etc/sysconfig/kernel file so as to add qla2xxx_conf and qla2xxx.
3. Cleaned up /etc/qla2xxx.conf file. This file is attached for your review.
4. mkinitrd
5. chkconfig PowerPath on

All 4 path to boot and all 4 paths to data are in active/alive state.

Additional test failed: Even if 1st path sda (HBA0-SPA0) is dead, reboot fails.

Any ideas to solve this problems ?

THX

/etc/qla2xxx.conf:
scsi-qla0-adapter-port=2100001b3218a325\;
scsi-qla0-tgt-0-di-0-node=50060160c1e04437\;
scsi-qla0-tgt-0-di-0-port=5006016041e04437\;
scsi-qla0-tgt-1-di-0-node=50060160b9a02c5e\;
scsi-qla0-tgt-1-di-0-port=5006016039a02c5e\;
scsi-qla0-tgt-2-di-0-node=50060160c1e04437\;
scsi-qla0-tgt-2-di-0-port=5006016841e04437\;
scsi-qla0-tgt-3-di-0-node=50060160b9a02c5e\;
scsi-qla0-tgt-3-di-0-port=5006016839a02c5e\;
scsi-qla1-adapter-port=2101001b3238a325\;
scsi-qla1-tgt-6-di-0-node=50060160c1e04437\;
scsi-qla1-tgt-6-di-0-port=5006016941e04437\;
scsi-qla1-tgt-4-di-0-node=50060160c1e04437\;
scsi-qla1-tgt-4-di-0-port=5006016141e04437\;
scsi-qla1-tgt-7-di-0-node=50060160b9a02c5e\;
scsi-qla1-tgt-7-di-0-port=5006016a39a02c5e\;
scsi-qla1-tgt-5-di-0-node=50060160b9a02c5e\;
scsi-qla1-tgt-5-di-0-port=5006016239a02c5e\;

2 Intern

 • 

1.3K Posts

April 29th, 2008 12:00

"How can we ensure that powerpath is properly loaded in the kernel "

if the system is responding to "powermt display" that indicates the PP is loaded in the kernel. Other wise you may get a "initilization error"

Check the license is properly updated

#emcpreg -list

"Additional test failed: Even if 1st path sda (HBA0-SPA0) is dead, reboot fails"

COuld you explain a little more?

11 Legend

 • 

20.4K Posts

 • 

87.4K Points

April 29th, 2008 12:00

lsmod |grep emc

should return something like this:

emcpdm                 42724  0 
emcpgpx                21300  1 emcpdm
emcpmpx               155416  1 
emcp                 1319924  3 emcpdm,emcpgpx,emcpmpx
scsi_mod              120269  8 sg,lpfcdfc,emcp,lpfc,scsi_transport_fc,cciss,aic7xxx,sd_mod



can you paste content of modprobe.conf ..we need to make sure you don't have Qlogic HBA failover enabled as you have PowerPath to do that for you.

13 Posts

May 4th, 2008 23:00

# powermt display dev=all
Pseudo name=emcpowera
CLARiiON ID=APM00071600170 [KQHXKM1]
Logical device ID=6006016004331B00B22E4F5E0D92DC11 [LUN 15]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP A, current=SP A
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
2 qla2xxx sda SP A0 active alive 0 0
2 qla2xxx sdc SP B0 active alive 0 0
3 qla2xxx sde SP A1 active alive 0 0
3 qla2xxx sdg SP B1 active alive 0 0

Pseudo name=emcpowerb
CLARiiON ID=APM00074300825 [KQHXKM1]
Logical device ID=600601608CA61E00FAED9B3B21E6DC11 [ML-16]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP A, current=SP A
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
2 qla2xxx sdb SP A0 active alive 0 0
2 qla2xxx sdd SP B0 active alive 0 0
3 qla2xxx sdf SP A2 active alive 0 0
3 qla2xxx sdh SP B2 active alive 0 0

# lsmod |grep emc
emcpdm 50208 0
emcpgpx 33264 1 emcpdm
emcpmpx 174184 8
emcp 1895840 3 emcpdm,emcpgpx,emcpmpx
emcplib 19200 1 emcp
scsi_mod 158848 9 sg,st,sr_mod,emcp,qla2xxx,scsi_transport_fc,ata_piix,libata,sd_mod

# emcpreg -list

Key .......
Product: PowerPath
Capabilities: All

# cat modprobe.conf:
#
# Copyright (c) 1996-2002 SuSE Linux AG Nuernberg, Germany.
# All rights reserved.
#
# Author: Hubert Mantel , 1996-2002
#
# Configuration file for loadable modules; used by modprobe
#
#
########################################################################
# Aliases - specify your hardware
########################################################################

install eth0 /bin/true
install eth1 /bin/true
install tr0 /bin/true
install scsi_hostadapter /bin/true
install fb0 /bin/true

########################################################################
# only used for Mylex or Compaq Raid as module
########################################################################

install block-major-48 /bin/true
install block-major-49 /bin/true
install block-major-72 /bin/true
install block-major-73 /bin/true

########################################################################
# only needed for fifth and sixth IDE adaptor
########################################################################

install block-major-56 /bin/true
install block-major-57 /bin/true

########################################################################
# mouse (for older busmice)
########################################################################

install char-major-10 /bin/true

########################################################################
# If you want to use the new autofs4
########################################################################

# alias autofs autofs4

########################################################################
# For parallel port devices, uncomment the following two lines and
# change "frpw" to the protocol type you use
########################################################################

# install paride /sbin/modprobe --ignore-install paride && { /sbin/modprobe --ignore-install frpw; }
# remove paride { /sbin/modprobe -r --ignore-remove frpw; } ; /sbin/modprobe -r --ignore-remove paride

########################################################################
#
# Aliases for OSS
#
# These aliases will be changed by YaST2 sound configurator.
# If you would like to configure OSS drivers by yourself, please
# take a look at the files on /usr/src/linux/Documentation/sound.
#
########################################################################

install char-major-14 /bin/true
install sound /bin/true
install midi /bin/true

########################################################################
# Options; these are examples; uncomment and modify the lines you need
########################################################################

# options cdu31a cdu31a_port=0x340 cdu31a_irq=0
# options sbpcd sbpcd=0x230,1
# options aztcd aztcd=0x320
# options cm206 cm206=0x340,11
# options gscd gscd=0x340
# options mcd mcd=0x300,11
# options mcdx mcdx=0x300,11
# options optcd optcd=0x340
# options sjcd sjcd_base=0x340
# options sonycd535 sonycd535=0x340
# options isp16 isp16_cdrom_base=0x340 isp16_cdrom_irq=0 isp16_cdrom_dma=0 isp16_cdrom_type=Sanyo

# options ne io=0x300 irq=5

# Use this if you have two cards:
# options ne io=0x300,0x320 irq=5,7

# options tulip options=0
# options 3c59x options=0
# options 3c501 io=0x280 irq=5
# options 3c503 io=0x280 irq=5 xcvr=0
# options 3c505 io=0x300 irq=10
# options 3c507 io=0x300 irq=10
# options 3c509 irq=10
# options at1700 io=0x260 irq=10
# options smc-ultra io=0x200 irq=10
# options wd io=0x300 irq=10
# options smc9194 io=0x200 irq=10 ifport=0
# options e2100 io=0x300 irq=10 mem=0xd0000 xcvr=0
# options depca io=0x200 irq=7
# options ewrk3 io=0x300 irq=10
# options eexpress io=0x300 irq=10
# options hp-plus io=0x300 irq=10
# options hp io=0x300 irq=10
# options hp100 hp100_port=0x380
# options apricot io=0x300 irq=10
# options ac3200 io=0x300 irq=10 mem=0xd0000
# options de620 io=0x378 irq=7 bnc=1
# options ibmtr io=0xa20
# options arcnet io=0x300 irq=10 shmem=0xd0000
# options plip io=0x378 irq=7
# options eepro io=0x260 irq=10 mem=0x6000
# options eth16i io=0x2a0 irq=10
# options fmv18x io=0x220 irq=10
# options ni52 io=0x360 irq=9 memstart=0xd0000 memend=0xd4000
# options bttv pll=1 radio=0 card=0
# options tuner type=0
# options msp3400 once=1 simple=1

# install bttv /sbin/modprobe --ignore-install bttv && { /sbin/modprobe -k tuner; /sbin/modprobe -k msp3400; }
#

install dummy0 /sbin/modprobe -o dummy0 --ignore-install dummy
install dummy1 /sbin/modprobe -o dummy1 --ignore-install dummy

########################################################################
# cipe section
########################################################################

alias cipcb0 cipcb
alias cipcb1 cipcb

options cipcb cipe_debug=0

########################################################################
# block dev aliases
########################################################################

alias block-major-1 rd
alias block-major-2 floppy
install block-major-3 /bin/true
alias block-major-7 loop
alias block-major-8 sd_mod
alias block-major-11 sr_mod
alias block-major-13 xd
alias block-major-15 cdu31a
alias block-major-16 gscd
alias block-major-17 optcd
alias block-major-18 sjcd
alias block-major-20 mcdx
install block-major-22 /bin/true
alias block-major-23 mcd
alias block-major-24 sonycd535
alias block-major-25 sbpcd
alias block-major-26 sbpcd
alias block-major-27 sbpcd
alias block-major-28 sbpcd
alias block-major-29 aztcd
alias block-major-32 cm206
install block-major-33 /bin/true
install block-major-34 /bin/true
# network block device
install block-major-43 /bin/true
alias block-major-45 pd
alias block-major-46 pcd
alias block-major-47 pf
alias block-major-117 evms

########################################################################
# char dev aliases
########################################################################

alias char-major-6 lp
alias char-major-9 st
alias char-major-10-130 softdog
install char-major-10-134 /bin/true
install char-major-10-135 /bin/true
alias char-major-10-175 agpgart
alias char-major-10-181 toshiba
alias char-major-10-250 sonypi
options sonypi minor=250
install char-major-15 /bin/true
alias char-major-19 cyclades
alias char-major-20 cyclades
alias char-major-21 sg
alias char-major-27 ftape
install char-major-29 /bin/true
alias char-major-36 netlink_dev
# alias char-major-43 hisax
# alias char-major-44 hisax
# alias char-major-45 hisax
install char-major-43 /bin/true
install char-major-44 /bin/true
install char-major-45 /bin/true
alias char-major-48 riscom8
alias char-major-49 riscom8
alias char-major-67 coda
alias char-major-75 specialix
alias char-major-76 specialix
alias char-major-81 videodev
install char-major-81-0 /bin/true
install char-major-81-1 /bin/true
install char-major-81-2 /bin/true
install char-major-81-3 /bin/true

alias char-major-83 vtx
options vtx quiet=1

alias char-major-89 i2c-dev
alias char-major-96 pt
alias char-major-97 pg
alias char-major-107 3dfx
alias char-major-109 lvm-mod
# remove this if sound is configured
install char-major-116 /bin/true

########################################################################
# ppp over ethernet
# the kernel 2.2 uses pppox
# the kernel 2.4 uses pppoe
########################################################################

alias char-major-108 ppp_generic
alias char-major-144 pppoe
alias net-pf-24 pppoe

########################################################################
# IrDA
########################################################################

alias char-major-161 ircomm-tty

alias char-major-162 raw

########################################################################
# USB
########################################################################

install char-major-166 /bin/true

########################################################################
# Moxa Multiport Serial Boards
########################################################################

alias char-major-172 moxa
alias char-major-173 moxa

# options moxa type=2,,, baseaddr=0xdc000,,, numports=8,,,
alias char-major-174 mxser
alias char-major-175 mxser
# options mxser ioaddr=0x180

#alias char-major-180 usbcore

alias InterMezzo intermezzo
alias char-major-185 intermezzo

alias char-major-188 usbserial

alias char-major-195* nvidia
alias char-major-206 osst
alias char-major-212 /bin/true

alias binfmt-204 binfmt_aout
alias binfmt-263 binfmt_aout
alias binfmt-264 binfmt_aout
alias binfmt-267 binfmt_aout
alias binfmt-0064 binfmt_aout
alias binfmt-0008 binfmt_aout

alias iso9660 isofs
alias tty-ldisc-1 slip
alias tty-ldisc-2 serio
alias tty-ldisc-5 mkiss

# alias tty-ldisc-7 6pack
install tty-ldisc-7 /bin/true

# IrDA
alias tty-ldisc-11 irtty-sir

# alias ax0 mkiss
install ax0 /bin/true
# alias sp0 6pack
install sp0 /bin/true
alias slip0 slip
alias sl0 slip
alias slip1 slip
alias sl1 slip

########################################################################
# the kernel 2.2 uses ppp.o as ppp driver,
# the kernel 2.4 uses ppp_generic.o
########################################################################

alias ppp0 ppp_generic
alias ppp1 ppp_generic
alias tty-ldisc-3 ppp_async

alias plip0 plip
alias plip1 plip

# Tunnel interfaces
alias sit0 ipv6
alias gre0 ip_gre
alias ipip0 ipip

alias ppp-compress-18 ppp_mppe
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate

alias net-pf-1 unix
alias net-pf-3 ax25
# install net-pf-3 /bin/true
alias net-pf-4 ipx
# install net-pf-4 /bin/true
alias net-pf-5 appletalk
# install net-pf-5 /bin/true
alias net-pf-6 netrom
# install net-pf-6 /bin/true
alias net-pf-10 ipv6
# install net-pf-10 /bin/true
alias net-pf-11 rose
# install net-pf-11 /bin/true
alias net-pf-15 af_key
alias net-pf-17 af_packet
alias net-pf-31 bluez

alias bt-proto-0 l2cap
alias bt-proto-2 sco
alias bt-proto-3 rfcomm
alias bt-proto-4 bnep

alias md-personality-1 linear
alias md-personality-2 raid0
alias md-personality-3 raid1
alias md-personality-4 raid5
alias md-personality-7 multipath

alias tap0 ethertap
alias tap1 ethertap
alias tap2 ethertap
alias tap3 ethertap
alias tap4 ethertap
alias tap5 ethertap
alias tap6 ethertap
alias tap7 ethertap
alias tap8 ethertap
alias tap9 ethertap
alias tap10 ethertap
alias tap11 ethertap
alias tap12 ethertap
alias tap13 ethertap
alias tap14 ethertap
alias tap15 ethertap

alias xfrm-type-2-50 esp4
alias xfrm-type-2-51 ah4
alias xfrm-type-2-108 ipcomp
alias xfrm-type-10-50 esp6
alias xfrm-type-10-51 ah6
alias xfrm-type-10-108 ipcomp6

# don't try to reset isa-pnp cards on startup
options isa-pnp isapnp_reset=0

# end of common part for modprobe.conf
# begin of x86_64 part for modprobe.conf

alias char-major-4 serial
alias char-major-5 serial

alias parport_lowlevel parport_pc
# options parport_pc io=0x378 irq=none,none
# If you have multiple parallel ports, specify them this way:
# options parport_pc io=0x378,0x278 irq=none,none

# end of x86_64 part for modprobe.conf

# please keep this at the end and add local modifications to modules.conf.local
include /etc/modprobe.conf.local
###BEGINPP
include /etc/modprobe.conf.pp
###ENDPP

13 Posts

May 6th, 2008 22:00

"Additional test failed: Even if 1st path sda (HBA0-SPA0) is dead, reboot fails"

While testing ownership issue, we made simple test: Blade was scratch
installed on SPA0-HBA0 single path. Later, all additional paths were
binded correctly. If this first path over which blade was scratch
installed is dead even other 3 paths are in alive/active state, reboot
of the blade fails.
No Events found!

Top