Wednesday, 30 March 2016

how to check & fix probles while apply kjp in solaris10?

# ./installpatchset --s10patchset
....
PaTcH_MsG 23 Patch number 146681-02 cannot be applied until all         restricted patches are backed out
solution:
Please Note : we have to Backout IDR Patch No IDR148092-01 before proceeding to KJP. IDR patch was interim patch  provided to us which is causing error now.
I have backed out  IDR Patch No IDR148092-01    for  p60app01 (10.66.230.50). You can proceed further for KJP installation.


# patchrm IDR148092-01
it removes successfuly


 # pwd

/tmp/10_Recommended


 # cd patches


 # patchadd 146681-02
now it add successfully

HBA s/w FCode1.14.15 installation in solaris10?

steps to install HBAport Qlogic FC software:
#pkgadd -d scli-1.7.1-18.sparc.Solaris.pkg
...
success ful
#tar -xvf isp2312FCode1.14.15.tar
#ls
isp2312.prom
#reboot -->need to reboot server other wise it will through following error
Enter a file name or Hit <RETURN> to abort: /tmp/isp2312.prom
Updating FCode on HBA instance 2 -  QLA2342. Please wait...
Unable to update Flash on this HBA (Instance 2). Error=(0x20000067) (Device is busy)!
Updating FCode on HBA instance 3 -  QLA2342. Please wait...
Unable to update Flash on this HBA (Instance 3). Error=(0x20000067) (Device is busy)!
Flash update feature is not supported on this HBA (Instance 4 - )!
Updating FCode on HBA instance 0 -  QLA2342. Please wait...
Unable to update Flash on this HBA (Instance 0). Error=(0x20000067) (Device is busy)!
Updating FCode on HBA instance 1 -  QLA2342. Please wait...
Unable to update Flash on this HBA (Instance 1). Error=(0x20000067) (Device is busy)!
root@SRMDV # scli
Searching for QLogic FC HBA(s) and attached device(s) ...              /

        SANsurfer FC HBA CLI
        v1.7.1 Build 18
    Main Menu
    1:  General Information
    2:  HBA Information
    3:  HBA Parameters
    4:  Target/LUN List
    5:  iiDMA Settings
    6:  Target Persistent Bindings
    7:  Selective LUNs
    8:  Boot Device
    9:  Driver Settings
   10:  Utilities
   11:  Beacon
   12:  Diagnostics
   13:  Statistics
   14:  Help
   15:  Exit

        Enter Selection: 10
        SANsurfer FC HBA CLI
        v1.7.1 Build 18
    Utilities Menu
    1:  Flash Update
    2:  Flash Save
    3:  HBA Parameters Update
    4:  HBA Parameters Save
    5:  HBA Parameters Templates
    6:  Driver Rescan
    7:  Return to Previous Menu

        Note: 0 to return to Main Menu
        Enter Selection: 1
Warning: Unknown adapter SSDID (0xFFFF) and SSVID (0xFFFF)!
        SANsurfer FC HBA CLI
        v1.7.1 Build 18
    Flash Update Menu
    HBA Model QLA2342:
      1: Port   1 (HBA  2 OS  2): WWPN: 21-00-00-E0-8B-84-1B-70 Loop Down
      2: Port   2 (HBA  3 OS  3): WWPN: 21-01-00-E0-8B-A4-1B-70 Loop Down
    HBA Model :
         Port   1 (HBA  4 OS  3): WWPN: 21-00-00-14-4F-4A-D5-FC Online
    HBA Model QLA2342:
      3: Port   1 (HBA  0 OS  0): WWPN: 21-00-00-E0-8B-92-2B-DF Loop Down
      4: Port   2 (HBA  1 OS  1): WWPN: 21-01-00-E0-8B-B2-2B-DF Loop Down
      5: All HBAs
      6: Return to Previous Menu

        Note: 0 to return to Main Menu
        Enter Selection: 5
        SANsurfer FC HBA CLI
        v1.7.1 Build 18
    Warning:
        The Flash save/update operation requires that all the HBAs
        have no outstanding input and output operations. Please make sure
        there are no active I/Os before starting the operation.
        Also after the update operation, the HBAs will be reset. This may
        adversely affect your SAN.
        Please note that only HBAs that are compatible with the image
        file specified will be updated.
        Do you want to proceed with the operation?
    1:  Yes
    2:  No

        Enter Selection: 1
Enter a file name or Hit <RETURN> to abort: /scripts/isp2312.prom
Updating FCode on HBA instance 2 -  QLA2342. Please wait...
Flash update complete. Changes have been saved to the HBA instance 2.
Updating FCode on HBA instance 3 -  QLA2342. Please wait...
Flash update complete. Changes have been saved to the HBA instance 3.
Flash update feature is not supported on this HBA (Instance 4 - )!
Updating FCode on HBA instance 0 -  QLA2342. Please wait...
Flash update complete. Changes have been saved to the HBA instance 0.
Updating FCode on HBA instance 1 -  QLA2342. Please wait...
Flash update complete. Changes have been saved to the HBA instance 1.

                Hit <RETURN> to continue:
Warning: Unknown adapter SSDID (0xFFFF) and SSVID (0xFFFF)!
        SANsurfer FC HBA CLI
        v1.7.1 Build 18
    Flash Update Menu
    HBA Model QLA2342:
      1: Port   1 (HBA  2 OS  2): WWPN: 21-00-00-E0-8B-84-1B-70 Loop Down
      2: Port   2 (HBA  3 OS  3): WWPN: 21-01-00-E0-8B-A4-1B-70 Loop Down
    HBA Model :
         Port   1 (HBA  4 OS  3): WWPN: 21-00-00-14-4F-4A-D5-FC Online
    HBA Model QLA2342:
      3: Port   1 (HBA  0 OS  0): WWPN: 21-00-00-E0-8B-92-2B-DF Loop Down
      4: Port   2 (HBA  1 OS  1): WWPN: 21-01-00-E0-8B-B2-2B-DF Loop Down
      5: All HBAs
      6: Return to Previous Menu

        Note: 0 to return to Main Menu
        Enter Selection: 6
        SANsurfer FC HBA CLI
        v1.7.1 Build 18
    Utilities Menu
    1:  Flash Update
    2:  Flash Save
    3:  HBA Parameters Update
    4:  HBA Parameters Save
    5:  HBA Parameters Templates
    6:  Driver Rescan
    7:  Return to Previous Menu

        Note: 0 to return to Main Menu
        Enter Selection: 7
        SANsurfer FC HBA CLI
        v1.7.1 Build 18
    Main Menu
    1:  General Information
    2:  HBA Information
    3:  HBA Parameters
    4:  Target/LUN List
    5:  iiDMA Settings
    6:  Target Persistent Bindings
    7:  Selective LUNs
    8:  Boot Device
    9:  Driver Settings
   10:  Utilities
   11:  Beacon
   12:  Diagnostics
   13:  Statistics
   14:  Help
   15:  Exit
-------------------
#scli-->select(2)-->select(6)--(FCode Version: 2.00.09 it shows this version)

 # fcinfo hba-port

#reboot

--->then  check
FCode Version: 1.14.15

#egrep -iv 'qla|qlc' /etc/path_to_inst>/a

# cp /a /etc/path_to_inst

WHAT HAPPENS dont make proper entry in /etc/vfstab IN SOLARIS10?

Rebooting with command: boot disk1

Boot device: /pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/disk@1  File and args:
SunOS Release 5.10 Version Generic_118822-26 64-bit
Copyright 1983-2005 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Hostname: RETAILSAPT21
WARNING: /pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/sd@0,0 (sd3):
        Error for Command: load/start/stop         Error Level: Informational
        Requested Block: 0                         Error Block: 0
        Vendor: FUJITSU                            Serial Number: 0550S01ALB
        Sense Key: Soft Error
        ASC: 0x5d (hardware impending failure too many block reassigns), ASCQ: 0x14, FRU: 0x0
The / file system (/dev/rdsk/c3t1d0s) is being checked.
WARNING - Unable to repair the / filesystem. Run fsck
manually (fsck -F ufs /dev/rdsk/c3t1d0s).
Mar 15 16:22:38 svc.startd[7]: svc:/system/filesystem/usr:default: Method "/lib/svc/method/fs-usr" failed with exit status 95.
[ system/filesystem/usr:default failed fatally (see 'svcs -x' for details) ]
Requesting System Maintenance Mode
(See /lib/svc/share/README for more information.)
Console login service(s) cannot run
Root password for system maintenance (control-d to bypass):
single-user privilege assigned to /dev/console.
Entering System Maintenance Mode
Mar 15 16:24:52 su: 'su root' succeeded for root on /dev/console
Sourcing //.profile-EIS.....


 # svcs -x


svc:/system/filesystem/usr:default (read/write root file systems mounts)
 State: maintenance since Thu Mar 15 16:22:38 2012
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
   See: http://sun.com/msg/SMF-8000-KS
   See: /etc/svc/volatile/system-filesystem-usr:default.log
Impact: 48 dependent services are not running.  (Use -v for list.)
svc:/network/rpc/gss:default (Generic Security Service)
 State: uninitialized since Thu Mar 15 16:22:28 2012
Reason: Restarter svc:/network/inetd:default is not running.
   See: http://sun.com/msg/SMF-8000-5H
   See: gssd(1M)
Impact: 13 dependent services are not running.  (Use -v for list.)
svc:/network/rpc/meta:default (SVM remote metaset services)
 State: uninitialized since Thu Mar 15 16:22:29 2012
Reason: Restarter svc:/network/inetd:default is not running.
   See: http://sun.com/msg/SMF-8000-5H
   See: rpc.metad(1M)
Impact: 6 dependent services are not running.  (Use -v for list.)
svc:/application/print/server:default (LP print server)
 State: disabled since Thu Mar 15 16:22:28 2012
Reason: Disabled by an administrator.
   See: http://sun.com/msg/SMF-8000-05
   See: lpsched(1M)
Impact: 1 dependent service is not running.  (Use -v for list.)

 # who -r

 # df -kh
Filesystem             size   used  avail capacity  Mounted on
/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/disk@1,0:a
                        11G   7.4G   3.0G    72%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                    15G   888K    15G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
/platform/sun4v/lib/libc_psr/libc_psr_hwcap1.so.1
                        11G   7.4G   3.0G    72%    /platform/sun4v/lib/libc_psr.so.1
/platform/sun4v/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
                        11G   7.4G   3.0G    72%    /platform/sun4v/lib/sparcv9/libc_psr.so.1

 # init 0

 # svc.startd: The system is coming down.  Please wait.
svc.startd: 11 system services are now being stopped.
svc.startd: The system is down.
syncing file systems... done
Program terminated


SOLUTION:-

1)MOUNT / FILE SYSTEM AS READ WIRTE
2)EDIT /etc/vfstab FILE WITH PROPER ENTRIES
3)CLEAR FAULT SERVICES

WHAT HAPPENS NFS SERVER STOP WORING AFTER MOINTING NFS FILE SYSTEM IN CLINET IN SOLARIS 10?

Mntpt: /mnt]NFS server XX.XX.XX.XX not responding; still trying

 # df -kh
Filesystem             size   used  avail capacity  Mounted on
/dev/md/dsk/d10         29G    11G    17G    40%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                    65G   1.9M    65G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap2.so.1
                        29G    11G    17G    40%    /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1
                        29G    11G    17G    40%    /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                    65G   296K    65G     1%    /tmp
swap                    65G    56K    65G     1%    /var/run
swap                    65G     0K    65G     0%    /dev/vx/dmp
swap                    65G     0K    65G     0%    /dev/vx/rdmp
/dev/odm                 0K     0K     0K     0%    /dev/odm
/vol/dev/dsk/c0t0d0/sol_10_1008_sparc
                       2.5G   2.5G     0K   100%    /cdrom/sol_10_1008_sparc
/dev/vx/dsk/D22-TEST/sapmnt
                        68G    36G    32G    53%    /sapmnt
/dev/vx/dsk/D22-TEST/oracle
                       600G   379G   219G    64%    /oracle
^C


 # dmesg
Feb 10 03:37:06 rrtest2 nfs: [ID 236337 kern.info] NOTICE: [NFS4][Server: 10.66.14.75][Mntpt: /mnt]NFS op OP_OPEN got error NFS4ERR_EXPIRED causing recovery action NR_CLIENTID.
Feb 10 03:37:06 rrtest2 nfs: [ID 581112 kern.info] NOTICE: [NFS4][Server: 10.66.14.75][Mntpt: /mnt]NFS Starting recovery for mount /mnt (mi 0x30014b5c000 mi_recovflags [0x1]) on server 10.66.14.75, rnode_pt1 . (0x6004d5ab6b8), rnode_pt2 ./CID0020068250_0028884.ATT (0x6004d5ab2f0)
Feb 10 03:37:06 rrtest2 nfs: [ID 273629 kern.info] NOTICE: [NFS4][Server: 10.66.14.75][Mntpt: /mnt]NFS Recovery done for mount /mnt (mi 0x30014b5c000) on server 10.66.14.75, rnode_pt1 . (0x6004d5ab6b8), rnode_pt2 ./CID0020068250_0028884.ATT (0x6004d5ab2f0)
Feb 10 03:37:06 rrtest2 nfs: [ID 236337 kern.info] NOTICE: [NFS4][Server: 10.66.14.75][Mntpt: /mnt]NFS op OP_GETATTR got error NFS4ERR_STALE causing recovery action NR_STALE.
Feb 10 03:37:06 rrtest2 nfs: [ID 286389 kern.info] NOTICE: [NFS4][Server: 10.66.14.75][Mntpt: /mnt]File ./EPS/in (rnode_pt: 3000df0e058) was closed due to NFS recovery error on server 10.66.14.75(failed to recover from NFS4ERR_STALE NFS4ERR_STALE)
Feb 10 03:37:06 rrtest2 nfs: [ID 941083 kern.info] NOTICE: NFS4 FACT SHEET:
Feb 10 03:37:06 rrtest2  Action: NR_STALE
Feb 10 03:37:06 rrtest2  NFS4 error: NFS4ERR_STALE  
Feb 13 19:25:46 rrtest2 SAPD22_00[14570]: [ID 744969 user.error] Unable to open trace file sapstartsrv.log. (Error 11 Resource temporarily unavailable) [ntservsserver.cpp 3233]
Feb 15 16:12:54 rrtest2 nfs: [ID 733954 kern.info] NOTICE: [NFS4][Server: 10.66.14.75][Mntpt: /mnt]NFS server 10.66.14.75 not responding; still trying
Feb 15 22:46:20 rrtest2 last message repeated 1 time
Feb 16 15:01:18 rrtest2 nfs: [ID 733954 kern.info] NOTICE: [NFS4][Server: 10.66.14.75][Mntpt: /mnt]NFS server 10.66.14.75 not responding; still trying
Feb 18 12:47:05 rrtest2 last message repeated 1 time
Feb 18 12:53:25 rrtest2 svc.startd[8]: [ID 122153 daemon.warning] svc:/network/nfs/client:default: Method or service exit timed out.  Killing contract 2528.
Feb 18 12:53:25 rrtest2 svc.startd[8]: [ID 636263 daemon.warning] svc:/network/nfs/client:default: Method "/lib/svc/method/nfs-client stop" failed due to signal KILL.
Feb 18 12:54:26 rrtest2 svc.startd[8]: [ID 122153 daemon.warning] svc:/network/nfs/client:default: Method or service exit timed out.  Killing contract 2529.
Feb 18 12:54:26 rrtest2 svc.startd[8]: [ID 636263 daemon.warning] svc:/network/nfs/client:default: Method "/lib/svc/method/nfs-client stop" failed due to signal KILL.

 # svcs nfs/client
STATE          STIME    FMRI
disabled       12:55:27 svc:/network/nfs/client:default

# cat /etc/mnttab


 # umount -f /mnt
 # df -kh
Filesystem             size   used  avail capacity  Mounted on
/dev/md/dsk/d10         29G    11G    17G    40%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                    65G   1.9M    65G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap2.so.1
                        29G    11G    17G    40%    /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1
                        29G    11G    17G    40%    /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                    65G   296K    65G     1%    /tmp
swap                    65G    56K    65G     1%    /var/run
swap                    65G     0K    65G     0%    /dev/vx/dmp
swap                    65G     0K    65G     0%    /dev/vx/rdmp
/dev/odm                 0K     0K     0K     0%    /dev/odm
/vol/dev/dsk/c0t0d0/sol_10_1008_sparc
                       2.5G   2.5G     0K   100%    /cdrom/sol_10_1008_sparc
/dev/vx/dsk/D22-TEST/sapmnt
                        68G    36G    32G    53%    /sapmnt
/dev/vx/dsk/D22-TEST/oracle
                       600G   379G   219G    64%    /oracle

 # cat /etc/mnttab
/dev/md/dsk/d10 /       ufs     rw,intr,largefiles,logging,xattr,onerror=panic,dev=154000a      1328770692
/devices        /devices        devfs   dev=5c00000     1328770669
ctfs    /system/contract        ctfs    dev=5c40001     1328770669
proc    /proc   proc    dev=5c80000     1328770669
mnttab  /etc/mnttab     mntfs   dev=5cc0001     1328770669
swap    /etc/svc/volatile       tmpfs   xattr,dev=5d00001       1328770669
objfs   /system/object  objfs   dev=5d40001     1328770669
sharefs /etc/dfs/sharetab       sharefs dev=5d80001     1328770669
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap2.so.1   /platform/sun4u-us3/lib/libc_psr.so.1   lofs    dev=154000a     1328770690
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1   /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1   lofs    dev=154000a     1328770690
fd      /dev/fd fd      rw,dev=5f00001  1328770692
swap    /tmp    tmpfs   xattr,dev=5d00002       1328770693
swap    /var/run        tmpfs   xattr,dev=5d00003       1328770693
swap    /dev/vx/dmp     tmpfs   xattr,dev=5d00004       1328770701
swap    /dev/vx/rdmp    tmpfs   xattr,dev=5d00005       1328770701
/dev/odm        /dev/odm        odm     smartsync,dev=5f80000   1328770712
/vol/dev/dsk/c0t0d0/sol_10_1008_sparc   /cdrom/sol_10_1008_sparc        hsfs    ro,nosuid,noglobal,maplcase,rr,traildot,dev=16c0001     1328770723
/dev/vx/dsk/D22-TEST/sapmnt     /sapmnt vxfs    rw,suid,delaylog,largefiles,qio,ioerror=mwdisable,dev=5347530   1328770898
/dev/vx/dsk/D22-TEST/oracle     /oracle vxfs    rw,suid,delaylog,largefiles,qio,ioerror=mwdisable,dev=5347531   1328770909

 # svcs -a|grep nfs
disabled       Feb_09   svc:/network/nfs/server:default
disabled       12:53:38 svc:/network/nfs/cbd:default
disabled       12:55:27 svc:/network/nfs/client:default
online         Feb_09   svc:/network/nfs/status:default
online         Feb_09   svc:/network/nfs/mapid:default
online         Feb_09   svc:/network/nfs/nlockmgr:default
online         Feb_09   svc:/network/nfs/rquota:default


 # svcadm enable svc:/network/nfs/cbd:default
 # svcadm enable svc:/network/nfs/client:default
 # svcs -a|grep -i nfs
disabled       Feb_09   svc:/network/nfs/server:default
online         Feb_09   svc:/network/nfs/status:default
online         Feb_09   svc:/network/nfs/mapid:default
online         Feb_09   svc:/network/nfs/nlockmgr:default
online         Feb_09   svc:/network/nfs/rquota:default
online         12:57:30 svc:/network/nfs/cbd:default
online         12:57:55 svc:/network/nfs/client:default
   

WHAT HAPPENS IF PROPER ENTRIES NOT MAKE IN SYSLOG.CONFILE IN SOLARIS 10?

unknown priority name "*"

vi /etc/syslog.conf
hear i enter follwing 4 fields with out mention tab space as serperator
*.notice                                         /var/log/notice
mail.info                                        /var/log/notice
*.crit                                                  /var/log/critical
kern,mark.debug                                  /dev/console

then i restarted service:
then it throug following errors

Feb 19 11:07:33 murexhub syslogd: line 31: unknown priority name "notice                      /var/log/notice"
Feb 19 11:07:33 murexhub syslogd: line 32: unknown priority name "info                     /var/log/notice"
Feb 19 11:07:33 murexhub syslogd: line 33: unknown priority name "crit                        /var/log/critical"
Feb 19 11:07:33 murexhub syslogd: line 34: unknown priority name "debug    /dev/console"
Feb 19 11:09:01 murexhub syslogd: going down on signal 15
Feb 19 11:09:02 murexhub syslogd: line 31: unknown priority name "notice                      /var/log/notice"
Feb 19 11:09:02 murexhub syslogd: line 32: unknown priority name "info                     /var/log/notice"
Feb 19 11:09:02 murexhub syslogd: line 33: unknown priority name "crit                        /var/log/critical"
Feb 19 11:09:02 murexhub syslogd: line 34: unknown priority name "debug      /dev/console"
----------
After i seperated with TAB spaece
----------
Now working Fine
---------
Feb 19 11:14:47 murexhub syslogd: going down on signal 15

*************** AND it is working Fine*************

TRY TO VXFS FILE SYSTEM WITH UFS IN SOLARIS 10? (NOTICE: mount: not a UFS magic number (0x0))

I obtained this errore because i tried to mount a ufs filesystem when the volume was vxfs!

# mount /dev/vx/dsk/dg1/vol01 /mnt

May 25 16:23:10 gri2 ufs: NOTICE: mount: not a UFS magic number (0×0)
mount: /dev/vx/dsk/zonepath_gri2_DG/zonepath_gri2_vol01 is not this fstype


 # fstyp /dev/vx/dsk/dg1/vol01
vxfs


So , i mounted the filesystem with vxfs option:
mount -F vxfs /dev/vx/dsk/dg1/vol01 /mnt

HOW TO SEE HBA PORT INFORMATION IN SOLARIS 10?

FOLLOWING WAYS to see hba prot information


# luxadm -e port
/devices/pci@1c,600000/QLGC,qla@1/fp@0,0:devctl                    CONNECTED
/devices/pci@1c,600000/QLGC,qla@1,1/fp@0,0:devctl                  CONNECTED
/devices/pci@3c,600000/QLGC,qla@1/fp@0,0:devctl                    CONNECTED
/devices/pci@3c,600000/QLGC,qla@1,1/fp@0,0:devctl                  CONNECTED




 #  luxadm qlgc

  Found Path to 0 FC100/P, ISP2200, ISP23xx Devices
  Complete



# fcinfo hba-port | grep WWN

HBA Port WWN: 210000e08b8f79cd
        Node WWN: 200000e08b8f79cd
HBA Port WWN: 210100e08baf79cd
        Node WWN: 200100e08baf79cd
HBA Port WWN: 210000e08b8f68c9
        Node WWN: 200000e08b8f68c9
HBA Port WWN: 210100e08baf68c9
        Node WWN: 200100e08baf68c9


 # fcinfo hba-port
HBA Port WWN: 210000e08b8f79cd
        OS Device Name: /dev/cfg/c2
        Manufacturer: QLogic Corp.
        Model: QLA2342
        Firmware Version: 03.03.28
        FCode/BIOS Version:  fcode: 2.08;
        Serial Number: not available
        Driver Name: qlc
        Driver Version: 3.00p
        Type: N-port
        State: online
        Supported Speeds: 1Gb 2Gb
        Current Speed: 2Gb
        Node WWN: 200000e08b8f79cd
HBA Port WWN: 210100e08baf79cd
        OS Device Name: /dev/cfg/c5
        Manufacturer: QLogic Corp.
        Model: QLA2342
        Firmware Version: 03.03.28
        FCode/BIOS Version:  fcode: 2.08;
        Serial Number: not available
        Driver Name: qlc
        Driver Version: 3.00p
        Type: N-port
        State: online
        Supported Speeds: 1Gb 2Gb
        Current Speed: 2Gb
        Node WWN: 200100e08baf79cd
HBA Port WWN: 210000e08b8f68c9
        OS Device Name: /dev/cfg/c6
        Manufacturer: QLogic Corp.
        Model: QLA2342
        Firmware Version: 03.03.28
        FCode/BIOS Version:  fcode: 2.08;
        Serial Number: not available
        Driver Name: qlc
        Driver Version: 3.00p
        Type: N-port
        State: online
        Supported Speeds: 1Gb 2Gb
        Current Speed: 2Gb
        Node WWN: 200000e08b8f68c9
HBA Port WWN: 210100e08baf68c9
        OS Device Name: /dev/cfg/c7
        Manufacturer: QLogic Corp.
        Model: QLA2342
        Firmware Version: 03.03.28
        FCode/BIOS Version:  fcode: 2.08;
        Serial Number: not available
        Driver Name: qlc
        Driver Version: 3.00p
        Type: N-port
        State: online
        Supported Speeds: 1Gb 2Gb
        Current Speed: 2Gb
        Node WWN: 200100e08baf68c9
--

# scli -i
——————————————————————————
Host Name                  : sunserver
HBA Model                  : QLE2462
HBA Alias                  :
Port                       : 1
Port Alias                 :
Node Name                  : 20-00-00-1B-32-XX-XX-XX
Port Name                  : 21-00-00-1B-32-XX-XX-XX
Port ID                    : 11-22-33
Serial Number              : AAAAAAA-bbbbbbbbbb
Driver Version             : qlc-20080514-2.28
FCode Version              : 1.24
Firmware Version           : 4.04.01
HBA Instance               : 2
OS Instance                : 2
HBA ID                     : 2-QLE2462
OptionROM BIOS Version     : 1.24
OptionROM FCode Version    : 1.24
OptionROM EFI Version      : 1.08
OptionROM Firmware Version : 4.00.26
Actual Connection Mode     : Point to Point
Actual Data Rate           : 2 Gbps
PortType (Topology)        : NPort
Total Number of Devices    : 2
HBA Status                 : Online
——————————————————————————
Host Name                  : sunserver
HBA Model                  : QLE2462
HBA Alias                  :
Port                       : 2
Port Alias                 :
Node Name                  : 20-01-00-1B-32-YY-YY-YY
Port Name                  : 21-01-00-1B-32-YY-YY-YY
Port ID                    : 00-00-00
Serial Number              : AAAAAAA-bbbbbbbbbb
Driver Version             : qlc-20080514-2.28
FCode Version              : 1.24
Firmware Version           : 4.04.01
HBA Instance               : 3
OS Instance                : 3
HBA ID                     : 3-QLE2462
OptionROM BIOS Version     : 1.24
OptionROM FCode Version    : 1.24
OptionROM EFI Version      : 1.08
OptionROM Firmware Version : 4.00.26
Actual Connection Mode     : Unknown
Actual Data Rate           : Unknown
PortType (Topology)        : Unidentified
Total Number of Devices    : 0
HBA Status                 : Loop down

Using prtconf

# prtconf -vp | grep -i wwn

port-wwn:  2100001b.32xxxxxx
node-wwn:  2000001b.32xxxxxx
port-wwn:  2101001b.32yyyyyy
node-wwn:  2001001b.32yyyyyy

Using prtpicl


# prtpicl -v | grep wwn

:node-wwn  20  00  00  1b  32  xx  xx  xx
:port-wwn  21  00  00  1b  32  xx  xx  xx
:node-wwn  20  01  00  1b  32  yy  yy  yy
:port-wwn  21  01  00  1b  32  yy  yy  yy

Using luxadm

Run the following command to obtain the physical path to the HBA Ports

$ luxadm -e port

/devices/pci@400/pci@0/pci@9/SUNW,qlc@0/fp@0,0:devctl              CONNECTED
/devices/pci@400/pci@0/pci@9/SUNW,qlc@0,1/fp@0,0:devctl            NOT CONNECTED