Mostly chicken sacrifice!
(there is no real structure here)
Scanning for a new Lun
luxadm probe -p
cfgadm -al
Should be Enough:
emcpdiscover
powermt check
Force HBA to scan bus
cfgadm -al|grep fc-fabric
c1 fc-fabric connected configured unknown
c2 fc-fabric connected configured unknown
cfgadm -o force_update -c configure cX
cX taken from above
or
use luxadm : (not recomended)
for port in `luxadm -e port |awk '{print $1}'`; do luxadm -e forcelip $port;done
luxadm -e port
/devices/pci@9,600000/SUNW,qlc@2/fp@0,0:devctl CONNECTED
/devices/pci@8,600000/fibre-channel@1/fp@0,0:devctl CONNECTED
/devices/pci@8,600000/fibre-channel@2/fp@0,0:devctl CONNECTED
but this shows both san and local
better to manualy forcelip :
Solaris# luxadm -e forcelip /devices/pci@8,700000/SUNW,qlc@2/fp@0,0:devctl
EMC Nav/Unisphare agent registration issues
host=`hostname`
ip=`/usr/bin/grep ${host} /etc/hosts|/usr/bin/awk '{print $1}'`
printf "%s\n%s" $host $ip >> /etc/log/agentID.txt
nuke the HostIdFile.txt and restart the agent.
UNLIC paths
suddenly your paths become like this :
Pseudo name=emcpower28a
CLARiiON ID=CKxxxxxxxx [host]
Logical device ID=600601604506260086790600F2F3DF11 [DOCUMENTUM_zone_seg_2]
state=alive; policy=BasicFailover; priority=0; queued-IOs=0
Owner: default=SP A, current=SP A Array failover mode: 1
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
3076 pci@2,600000/SUNW,qlc@0/fp@0,0 c1t500601623B20211Ed20s0 SP A2 active alive 0 0
3076 pci@2,600000/SUNW,qlc@0/fp@0,0 c1t5006016B3B20211Ed20s0 SP B3 active alive 0 0
3074 pci@3,700000/SUNW,qlc@0,1/fp@0,0 c2t500601633B20211Ed20s0 SP A3 unlic alive 0 0
3074 pci@3,700000/SUNW,qlc@0,1/fp@0,0 c2t5006016A3B20211Ed20s0 SP B2 unlic alive 0 0
fix:
reset the policy to Clariion Optimization
powermt set policy=co dev=all
powermt save
Now :
Pseudo name=emcpower28a
CLARiiON ID=CKxxxxxxxxxx [host]
Logical device ID=600601604506260086790600F2F3DF11 [DOCUMENTUM_zone_seg_2]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP A, current=SP A Array failover mode: 1
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
3076 pci@2,600000/SUNW,qlc@0/fp@0,0 c1t500601623B20211Ed20s0 SP A2 active alive 0 0
3076 pci@2,600000/SUNW,qlc@0/fp@0,0 c1t5006016B3B20211Ed20s0 SP B3 active alive 0 0
3074 pci@3,700000/SUNW,qlc@0,1/fp@0,0 c2t500601633B20211Ed20s0 SP A3 active alive 0 0
3074 pci@3,700000/SUNW,qlc@0,1/fp@0,0 c2t5006016A3B20211Ed20s0 SP B2 active alive 0 0
MPXIO
check mpxio (sol10 u8)
# stmsboot -L
stmsboot: MPxIO is not enabled
stmsboot: MPxIO disabled
set mpxio
stmsboot -e
WARNING: stmsboot operates on each supported multipath-capable controller
detected in a host. In your system, these controllers are
/pci@7c0/pci@0/pci@1/pci@0,2/fibre-channel@1/fp@0,0
/pci@7c0/pci@0/pci@1/pci@0,2/fibre-channel@2/fp@0,0
/pci@780/pci@0/pci@9/scsi@0
If you do NOT wish to operate on these controllers, please quit stmsboot
and re-invoke with -D { fp | mpt | mpt_sas} to specify which controllers you wish
to modify your multipathing configuration for.
Do you wish to continue? [y/n] (default: y) y
WARNING: This operation will require a reboot.
Do you want to continue ? [y/n] (default: y) y
The changes will come into effect after rebooting the system.
Reboot the system now ? [y/n] (default: y) y
updating /platform/sun4v/boot_archive
check multipath :
before mpxio enable
# luxadm probe
No Network Array enclosures found in /dev/es
Found Fibre Channel device(s):
Node WWN:50060160bb20211e Device Type:Disk device
Logical Path:/dev/rdsk/c2t500601613B20211Ed0s2
Logical Path:/dev/rdsk/c2t500601683B20211Ed0s2
Logical Path:/dev/rdsk/c3t500601603B20211Ed0s2
Logical Path:/dev/rdsk/c3t500601693B20211Ed0s2
Node WWN:50060160bb20211e Device Type:Disk device
Logical Path:/dev/rdsk/c2t500601613B20211Ed1s2
Logical Path:/dev/rdsk/c2t500601683B20211Ed1s2
Logical Path:/dev/rdsk/c3t500601603B20211Ed1s2
Logical Path:/dev/rdsk/c3t500601693B20211Ed1s2
Node WWN:50060160bb20211e Device Type:Disk device
Logical Path:/dev/rdsk/c2t500601613B20211Ed3s2
Logical Path:/dev/rdsk/c2t500601683B20211Ed3s2
Logical Path:/dev/rdsk/c3t500601603B20211Ed3s2
Logical Path:/dev/rdsk/c3t500601693B20211Ed3s2
after mpxio enable
# luxadm probe
No Network Array enclosures found in /dev/es
Found Fibre Channel device(s):
Node WWN:50060160bb20211e Device Type:Disk device
Logical Path:/dev/rdsk/c4t600601606D19250094E35D086F6DDF11d0s2
Node WWN:50060160bb20211e Device Type:Disk device
Logical Path:/dev/rdsk/c4t600601606D19250095E35D086F6DDF11d0s2
Node WWN:50060160bb20211e Device Type:Disk device
Logical Path:/dev/rdsk/c4t60060160450626009826340627D1DF11d0s2
Displaying Details
# luxadm display /dev/rdsk/c4t600601606D19250094E35D086F6DDF11d0s2
DEVICE PROPERTIES for disk: /dev/rdsk/c4t600601606D19250094E35D086F6DDF11d0s2
Vendor: DGC
Product ID: RAID 5
Revision: 0428
Serial Num: CKM00093100497
Unformatted capacity: 10240.000 MBytes
Read Cache: Enabled
Minimum prefetch: 0x0
Maximum prefetch: 0x0
Device Type: Disk device
Path(s):
/dev/rdsk/c4t600601606D19250094E35D086F6DDF11d0s2
/devices/scsi_vhci/ssd@g600601606d19250094e35d086f6ddf11:c,raw
Controller /devices/pci@7c0/pci@0/pci@1/pci@0,2/fibre-channel@1/fp@0,0
Device Address 500601683b20211e,0
Host controller port WWN 210000e08b8a5f19
Class secondary
State STANDBY
Controller /devices/pci@7c0/pci@0/pci@1/pci@0,2/fibre-channel@1/fp@0,0
Device Address 500601613b20211e,0
Host controller port WWN 210000e08b8a5f19
Class primary
State ONLINE
Controller /devices/pci@7c0/pci@0/pci@1/pci@0,2/fibre-channel@2/fp@0,0
Device Address 500601693b20211e,0
Host controller port WWN 210000e08b8aae14
Class secondary
State STANDBY
Controller /devices/pci@7c0/pci@0/pci@1/pci@0,2/fibre-channel@2/fp@0,0
Device Address 500601603b20211e,0
Host controller port WWN 210000e08b8aae14
Class primary
State ONLINE