HPE EVA Storage
1844011 Members
3474 Online
110226 Solutions
New Discussion

Re: Replacing/adding HBA to Solaris server with Secure Path

 
SOLVED
Go to solution
S Lam
Occasional Advisor

Replacing/adding HBA to Solaris server with Secure Path

I have a Solaris 8 server with 1 HBA (QLogic QLA2300) connected to a EVA3000. Secure Path v3.0c is being used.

I would like to know what re-configuration steps are necessary when:

1. replacing the HBA (same model)
2. adding a second HBA (same model)

Any one with experience on this? or documentation? Please help.

Thanks,
Lam
17 REPLIES 17
Rob Leadbeater
Honored Contributor

Re: Replacing/adding HBA to Solaris server with Secure Path

Hi Lam,

I'm not that familiar with Solaris but there are some checks that would be the same across all platforms.

Check what zoning configuration is in place.
If hardware (port) zoning is in place then for your question 1. just ensure the replacement HBA gets plugged in to the same switch port. If software (WWN) zoning is in place then you'll need to ensure that the WWN of the new HBA is configured into the config.

Similar thing for question 2. You'll need to ensure that the switch port or WWN of the new HBA is configured into the relevant zone.

Hope this helps,

Regards,

Rob
Juan B.S.R.
Trusted Contributor
Solution

Re: Replacing/adding HBA to Solaris server with Secure Path

Hi.
I believe that...
If you replace it with the same HBA model the only step is to change the WWN to persistent binding or FC switches zones.
If you add another HBA you need to reconfigure your system and Secure Path configuration.
You can make all changes through Secure Path configuration, except for FC switches zones. You can see the steps in Secure Path documentation http://h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?contentType=SupportManual〈=en&cc=us&docIndexId=179111&taskId=101&prodTypeId=18964&prodSeriesId=1815000
Best regards.
S Lam
Occasional Advisor

Re: Replacing/adding HBA to Solaris server with Secure Path

Thanks for your reply.

I should have made myself clearer. I would like to know the reconfiguration steps required on the Solaris side. I did try to read the Secure Path documentation but I am unsure what to do.

1. Is the HBA id stored somewhere in any configuration files on Solaris? If yes, how do I update the configuration files?

2. Do I run 'spconfig -o' or 'spmgr add ...' to replace/add an HBA?

Please help.

Thanks,
Lam

Re: Replacing/adding HBA to Solaris server with Secure Path

Hi LAM
to answer your questions
1. you can see HBA WWID in /var/adm/messages (if you have luck) or if secure path is already install on solaris machine you can see HBA WWID that are managed by secure path in /kernel/drv/swsp.conf anyway spconfig utility can help you to asset all HBA by using scan function

2. you have to run spmgr to move active path to another path and use spconfig to add new HBA to secure path.


good luck
S Lam
Occasional Advisor

Re: Replacing/adding HBA to Solaris server with Secure Path

I added the second HBA, run "spconfig -o". However, Secure Path seems not to know there is a second HBA. "spmgr display -av" still shows only 1 HBA?!

Then, I pkgrm'ed CPQswsp and pkgadd'ed again and run spconfig. And I got the error:

"Error: 0 No useable arrays found, please check your configuration"

Any advice? Please help.


Thanks,
Lam
Stephen Kebbell
Honored Contributor

Re: Replacing/adding HBA to Solaris server with Secure Path

Hi,

you also need to add the new WWN to the Host you defined on the EVA.
In Command View EVA, goto the Hosts folder, select your Solaris host, Ports -> Add Port and select the new WWN from the drop-down list. (it should appear if the zoning is correct. If it does not appear, check your zoning)

Regards,
Stephen
S Lam
Occasional Advisor

Re: Replacing/adding HBA to Solaris server with Secure Path

I did use CommandView EVA to add the new port to the host. Does it matter if there is already vdisk presented to the host when I add the seocnd port? Or do I need to unpresent all vdisk, add the port, then present the vdisk again?

After running "spconfig -o", I checked the configuration files /kernel/drv/qla2300.conf, hsx.conf. They did not reflect the existence of the second HBA. Am I supposed to edit them :(

Thanks for any help.

Rgds,
Lam
Juan B.S.R.
Trusted Contributor

Re: Replacing/adding HBA to Solaris server with Secure Path

Hi.
I think that you need to modify the file '/kernel/drv/qla2300.conf' to change the old WWN with the new.
You can do this manually, editing the file or using the utility 'opt/HPfcraid/bin/config.sh' to add the new HBA.
After the reboot you must run 'spconfig -o'.

Regards.
S Lam
Occasional Advisor

Re: Replacing/adding HBA to Solaris server with Secure Path

1. There is no "opt/HPfcraid/bin/config.sh" on my system. The directories created by the Platform Kit and Secure Path are "/opt/CPQhsv" and "/opt/CPQswsp". No config.sh found. What is the equivalent of config.sh?

2. The qla2300.conf got the following lines:

hba0-SCSI-target-id-33-fibre-channel-port-name="50001FE15001683D";
hba0-SCSI-target-id-32-fibre-channel-port-name="50001FE150016838";

Where can I find out the channel-port-name for the second HBA?

Thanks for your help.

Rgds,
Lam
Juan B.S.R.
Trusted Contributor

Re: Replacing/adding HBA to Solaris server with Secure Path

Hi.
Sorry for the mistake.
In the 'qla2300.conf' you only have the persistent binding from your hba to EVA.
This WWN '50001FE15001683D' and '50001FE150016838' is your EVA.

About 'config.sh' take a look to '/opt/steam/bin/', because you have an old version of Secure Path.

You can find the WWN of your hba in '/var/adm/messages'.

Best regards

Juan B.S.R.
Trusted Contributor

Re: Replacing/adding HBA to Solaris server with Secure Path

Running 'config.sh' utility make changes to the file '/kernel/drv/hsx.conf'.
You can add your second HBA manually but you need to modify other system´s file like '/etc/path_to_inst'.
Its better to use 'config.sh'
S Lam
Occasional Advisor

Re: Replacing/adding HBA to Solaris server with Secure Path

No /opt/stream directory either. I checked the packages CPQhsv and CPQswsp that I installed. No config.sh in there. I am running Secure Path 3.0c. Any idea what is the equivalent of config.sh?

Many thanks for your help.

Rgds,
Lam

Juan B.S.R.
Trusted Contributor

Re: Replacing/adding HBA to Solaris server with Secure Path

Hi.
Have you got installed the CPQfcraid or HPfcraid package?
This package is included in the Sun Solaris 3.0 Platform kit and in the Secure Path 3.0D version.
Is the new hba Qlogic from HP (FCA2357P)or Sun?
S Lam
Occasional Advisor

Re: Replacing/adding HBA to Solaris server with Secure Path

The HBA is a QLogic QLA2300, or called FCA2257P.

The Solaris Platform Kit I am using is 3.0b. It only have the following packages available in it:

CPQfcaPCI
CPQfcaw
CPQhsv
HBAnyware
QLA2200-1
QLA2200-2
QLA2200-3
QLA2300-1
QLA2300-2
QLA2300-3
QLSDMLIB
QLSDMLIB6

No *fcraid package in it.

Thanks for your help.

Rgds,
Saminda
Juan B.S.R.
Trusted Contributor

Re: Replacing/adding HBA to Solaris server with Secure Path

Ok, FCA2257P is the correct model from HP.
The lastest Platform Kit is 3.0E http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&swItem=co-22604-1&jumpid=reg_R1002_USEN
With Secure Path 3.0D HPfcraid is included, take a look to this document.

"HP StorageWorks Secure Path for SUN Solaris Software - Adding a Path to an Existing Secure Path Configuration."
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c00872655

I think that you can try to upgrade all the packages.
S Lam
Occasional Advisor

Re: Replacing/adding HBA to Solaris server with Secure Path

Juan,

Thanks for your help. Unfortunately, due to constraints in my environment, I am stuck with the old versions.

Rgds,
Lam
D.Glass
Advisor

Re: Replacing/adding HBA to Solaris server with Secure Path

I have added a second HBA card to a Solaris 10 machine, but SecurePath does not see it. "spmgr display" still shows only 2 paths to each LUN. I tried the config.sh utility and it wrecked everything. I had to manually edit qla2300.conf to undo the damage. I asked one of our local HP guys about this, and he said the only way to make it work was completely uninstall SecurePath etc. and start again.