SUMMARY: Solaris and SAN Connectivity

From: Levi Ashcol <leviashcol_at_hotpop.com>
Date: Mon Mar 17 2008 - 16:15:05 EDT
Hello,
   Thanks to  Ketan Patel Markus Mayer and Sengork.

I found Ketan's email below contains the best SUMMARY.

Markus suggested "Solaris Fibre Channel and Storage Multipathing Guide",
part number 819-0139 from Sun, http://docs.sun.com/source/819-0139 .

Sengork suggested a utility called emlxadm, this utility is not natively
installed with Solaris.

" The Emulex tools and drivers are provided by the EMLXemlxu package, which
you can download from Emulexs website. The pkgadd utility can be used to
install the package, and it will place the management tools under the
/opt/EMLXemlxu directory."

Thanks.

Levi

-----Original Message-----
From: ketan.patel@uk.nomura.com [mailto:ketan.patel@uk.nomura.com]
Sent: Friday, March 14, 2008 12:18 PM
To: leviashcol@hotpop.com
Subject: RE: Solaris and SAN Connectivity

Hi Levi,

I can answer a few of your questions:

1. If you are using Emulex/Qlogic provided drivers on Solaris, you don't
need to install any Sun package. If you plan to use solaris drivers,
then you should install Sun Storedge Traffic manager Software (or Sun
SAN foundation). In sol 10, I think you don't need to install anything.
Drivers are already integrated.

2. In order to determine the controller numbers, use the utilities
provided by Emulex (lpfcutil) or Qlogic (scli). Or you can use cfgadm (a
solaris command).

3. Same as above.

4. On switch, you need to create a zone comprising host and disk arrays.
On disk array, you need to create lun and present it to the host. On
host, you just need devfsadm.

5. you don't need to change /kernel/drv/sd.conf now a days. At least we
don't do any more. The drivers are smart enough to figure out the
controller number. You can use vendor utilities to give a particular
controller number (same as plumbing the network interface).

6- What about the HBA configuration file lpfc.conf, qlc.conf ? Any
needed changes ?
No, unless you want a particular controller to be managed/not managed by
drivers, or change time outs, or change number of retries, or load
balancing policy.

7- How to know the WWID of the HBA?
Vendor utilities should do this for you. From Sun point of view, you can
run following script:
#!/bin/sh
for i in `cfgadm | grep fc-fabric | awk '{print $1}'`; do
  dev="`cfgadm -lv $i | grep devices | awk '{print $NF}'`"
  wwn="`luxadm -e dump_map $dev | grep 'Host Bus' | awk '{print $4}'`"
  echo "$i: $wwn"
done
Or command line: on all versions:
#prtpicl -v -c scsi-fcp | grep wwn (On all versions)
  :node-wwn      20  00  00  e0  8b  94  92  8d
  :port-wwn      21  00  00  e0  8b  94  92  8d
# prtconf -vp | grep -i ww
            port-wwn:  210000e0.8b80fb81
            node-wwn:  200000e0.8b80fb81
On Sol 10
# fcinfo hba-port

8- Is the disk name "c10t60020F2000000CAA3DABB7B10001D2D4d0s2 function
in SAN switch port and LUN ID ? What is the impact of changing switch
port ,
LUN number on the storage on disk naming ?
Once the ctds numbers are allocated, changing switch port etc should not
have any impact on existing name - theoretically. Haven't came across
that situation ever. The target number might be the UUID of the lun
created on EMC.

9- What is the PWWN and NWWN?
Let me know if you find out their difference :) I've usually seen them
beginning with 20/21, 50/51.

10-Any good books or reference that fully explain Solaris-SAN
connectivity?
Learning by experience and google. We are talking about multiple vendors
and different entities (sun, emc, Emulex, qlogic). It is difficult find
a single document covering everything.

You also need to figure out what multipathing you are going to use.
There are various options - mpxio from sun, powerpath from emc, dmp from
veritas.

Drivers: Sun branded qlogic card - qlc, Sun branded Emulex card - emlxs,
Original qlogic card - qla, original Emulex card - elmx

Hope this helps. Don't forget to summarise for others.
Cheers
Ketan

-----Original Message-----
From: sunmanagers-bounces@sunmanagers.org
[mailto:sunmanagers-bounces@sunmanagers.org] On Behalf Of Levi Ashcol
Sent: 13 March 2008 18:32
To: sunmanagers@sunmanagers.org
Subject: Solaris and SAN Connectivity

Hi,
  I am new to connecting Solaris based servers to SAN. We are in the
process
of purchasing new EMC DMX storage and Qlogic/Emulex HBAs.

I have some newbie questions and hope Gurus help me in them:

1- What is the necessary Solaris packages to be installed to connect to
SAN
?
2- How I know which HBA in the server the fiber cable is connected to ?
(I
have c2, c3, c4how can I know which HBA the cable is plugged in ?
3- How to Check HBA-switch connectivity status? How can I know if the
link
is up or not ?
4- What should be done from the storage/SAN switch before working on the
host side ? (Zone, masking )
5- What are the necessary changes in the /kernel/drv/sd.conf file ?
6- What about the HBA configuration file lpfc.conf, qlc.conf ? Any
needed
changes ?
7- How to know the WWID of the HBA ?
8- Is the disk name "c10t60020F2000000CAA3DABB7B10001D2D4d0s2 function
in
SAN switch port and LUN ID ? What is the impact of changing switch port
,
LUN number on the storage on disk naming ?
9- What is the PWWN and NWWN?
10-Any good books or reference that fully explain Solaris-SAN
connectivity ?

I will definitely summarize.

Thanks.

Levi

No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.518 / Virus Database: 269.21.7/1327 - Release Date:
12-Mar-08
1:27 PM
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This e-mail (including any attachments) is confidential, may contain
proprietary or privileged information and is intended for the named
recipient(s) only. Unintended recipients are prohibited from taking action
on the basis of information in this e-mail and must delete all copies.
Nomura will not accept responsibility or liability for the accuracy or
completeness of, or the presence of any virus or disabling code in, this
e-mail. If verification is sought please request a hard copy. Any reference
to the terms of executed transactions should be treated as preliminary only
and subject to formal written confirmation by Nomura. Nomura reserves the
right to monitor e-mail communications through its networks (in accordance
with applicable laws). No confidentiality or privilege is waived or lost by
Nomura by any mistransmission of this e-mail. Any reference to "Nomura" is
a reference to any entity in the Nomura Holdings, Inc. group. Please read
our Electronic Communications Legal Notice which forms part of this e-mail:
http://www.Nomura.com/email_disclaimer.htm

No virus found in this incoming message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.21.7/1328 - Release Date: 13-Mar-08
11:31 AM


No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.21.7/1331 - Release Date: 16-Mar-08
10:34 AM
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon Mar 17 15:15:56 2008

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:10 EST