how to configure individual multipathed fc devices

5
How to Confgure Individual Multipathed FC Devices This sample procedure uses fabric-connected host ports c0 andc2 to configure fabric devices as multipathed devices on a system that has the multipathing software enabled. The cfgadm -c configure command for fabric devices is the same regardless of whether multipathing is enabled. 1. Become an administrator. 2. Identify the port WWN of the device to be configured as a multipathed device. Look for devices on a fabric-connected host port marked as fc-fabric . These devices are the devices you can configure with the cfgadm -c configure command. # cfgadm -al Ap_Id Type Receptacle Occupant Condition c0 fc-fabric connected unconfigured unknown c0::50020f2300006077 disk connected unconfigured unknown c0::50020f23000063a9 disk connected unconfigured unknown c1 fc-private connected configured unknown c1::220203708b69c32b disk connected configured unknown c1::220203708ba7d832 disk connected configured unknown c1::220203708b8d45f2 disk connected configured unknown c1::220203708b9b20b2 disk connected configured unknown c2 fc-fabric connected unconfigured unknown c2::50020f2300005f24 disk connected unconfigured unknown c2::50020f2300006107 disk connected unconfigured unknown In the above example the c0::50020f2300006077 andc2::50020f2300006107 Ap_Ids represent the same storage device with different port !!"s for the storage device controllers. The c0 andc2 host ports are enabled for multipathing. #. Configure the fabric device and make the devices available to the system. # cfgadm -c configure c0::50020f2300006077 c2::50020f2300006107 $. Verify that the selected devices are configured. 5. # cfgadm -al 6. Ap_Id Type Receptacle Occupant Condition 7. c0 fc-fabric connected configured unknown 8. c0::50020f2300006077 disk connected configured unknown 9. c0::50020f23000063a9 disk connected unconfigured unknown 10. c1 fc-private connected configured unknown 11. c1::220203708b69c32b disk connected configured unknown 12. c1::220203708ba7d832 disk connected configured unknown 13. c1::220203708b8d45f2 disk connected configured unknown

Upload: mathewkylescribd

Post on 06-Oct-2015

216 views

Category:

Documents


0 download

DESCRIPTION

How to Configure Individual Multipathed FC Devices

TRANSCRIPT

How to Configure Individual Multipathed FC DevicesThis sample procedure usesfabric-connected host portsc0andc2to configure fabric devices as multipathed devices on a system that has the multipathing software enabled.Thecfgadm -c configurecommand for fabric devices is the same regardless of whether multipathing is enabled.1. Become an administrator.2. Identify the port WWN of the device to be configured as a multipathed device.Look for devices on a fabric-connected host port marked asfc-fabric. These devices are the devices you can configure with thecfgadm -c configurecommand.# cfgadm -alAp_Id Type Receptacle Occupant Conditionc0 fc-fabric connected unconfigured unknownc0::50020f2300006077 disk connected unconfigured unknownc0::50020f23000063a9 disk connected unconfigured unknownc1 fc-private connected configured unknownc1::220203708b69c32b disk connected configured unknownc1::220203708ba7d832 disk connected configured unknownc1::220203708b8d45f2 disk connected configured unknownc1::220203708b9b20b2 disk connected configured unknownc2 fc-fabric connected unconfigured unknownc2::50020f2300005f24 disk connected unconfigured unknownc2::50020f2300006107 disk connected unconfigured unknownIn the above example, thec0::50020f2300006077andc2::50020f2300006107Ap_Idsrepresent the same storage device with different port WWNs for the storage device controllers. Thec0andc2host ports are enabled for multipathing.3. Configure the fabric device and make the devices available to the system.# cfgadm -c configure c0::50020f2300006077 c2::50020f23000061074. Verify that the selected devices are configured.5. # cfgadm -al6. Ap_Id Type Receptacle Occupant Condition7. c0 fc-fabric connected configured unknown8. c0::50020f2300006077 disk connected configured unknown9. c0::50020f23000063a9 disk connected unconfigured unknown10. c1 fc-private connected configured unknown11. c1::220203708b69c32b disk connected configured unknown12. c1::220203708ba7d832 disk connected configured unknown13. c1::220203708b8d45f2 disk connected configured unknown14. c1::220203708b9b20b2 disk connected configured unknown15. c2 fc-fabric connected configured unknown16. c2::50020f2300005f24 disk connected unconfigured unknownc2::50020f2300006107 disk connected configured unknownNotice that theOccupantcolumn ofc0andc0::50020f2300006077specifiesconfigured, which indicates that thec0port has at least one configured occupant and that thec0::50020f2300006077device is configured. The same change has been made inc2andc2::50020f2300006107.When the configure operation has been completed without an error, multipathed devices are created on the system. If the physical device represented byc0::50020f2300006077andc2::50020f2300006107has multiple SCSI LUNs configured, each LUN is configured as a multipathed device. The example below shows that two LUNs are configured throughc0::50020f2300006077andc2::50020f2300006107. EachAp_Idis associated with a path to multipathed devices.# cfgadm -al -o show_SCSI_LUN c0::50020f2300006077\ c2::50020f2300006107Ap_Id Type Receptacle Occupant Conditionc0::50020f2300006077,0 disk connected configured unknownc0::50020f2300006077,1 disk connected configured unknownc2::50020f2300006107,0 disk connected configured unknownc2::50020f2300006107,1 disk connected configured unknownThe example above shows that the following two multipathed devices are created for the device represented byc0::50020f2300006077andc2::50020f2300006107:

Solaris 8 & 9 : SAN Configuration StepsByRamdevSteps to configure Fibre Channel (FC) storage devices on Solaris 8 & 9 servers. After reboot Oracle/Sun HBA Driver will bind to all Oracle/Sun Branded HBA Hardware, as well as, NON-Oracle/Sun Branded HBA Hardware, assuming NON-Oracle/Sun Branded HBA Driver have been properly removed.=============================================Determining HBA WWPN============================================= to determine the World Wide Name(WWN) of a Host Bus Adapter (HBA) without a connectionIf hbas are cabled to a FC switch

Engage your FC Switch/SAN Administrator for assistance if needed verify hba wwpn is/are logging onto FC switch verify storage target wwpn is/are logging onto FC switch verify hba wwpn & storage target wwpn are in same zone and that zone is activeEngage your Storage Administrator for assistance if needed verify storage target has mapped LUNs with proper permissionsIf hba are directly cabled to storage device

Engage your Storage Administrator for assistance if needed verify hba wwpn is/are seen by storage device verify storage target has mapped LUNs with proper permissions# luxadm -e port