Emulex LP1150-F4 Power Screwdriver User Manual


 
Solaris SFS Driver User Manual Page 35
PersistentBinding
Syntax: HBACMD PersistentBinding <wwpn> <source>
Description: Queries the presence of any persistent binding that may exist for the specified WWPN. The
<source> is used to query either the configured or live state of any binding that may be present. To view
the configured persistent binding for an adapter whose WWPN is 10:00:00:00:c9:20:0d:36, enter:
hbacmd persistentbinding 10:00:00:00:c9:20:0d:36 C
Sample response:
Persistent Binding for 10:00:00:00:c9:20:0d:36
Bind Type : WWPN
FCP ID : 10101SCSI
Bus Number: 0SCSI
Target Num: 0Node
WWN : 20:00:00:D0:B2:00:30:40
Port WWN : 20:00:00:D0:B2:00:30:40
OS Device Name : \\.\Scsi:4:0
Bind Type : WWPN
FCP ID : 10FEFSCSI
Bus Number: 0SCSI
Target Num: 1Node
WWN : 50:06:04:8A:CC:C8:99:00
Port WWN : 50:06:04:8A:CC:C8:99:00
OS Device Name : \\.\Scsi:4:1
If the binding does not exist, only the first line is returned.
Parameters:
WWPN - The World Wide Port Name of the HBA whose dump files you want to delete.
source - C if the configured state is being queried. L if the live state is being queried.
SetPersistentBinding
Syntax: HBACMD SetPersistentBinding <wwpn> <scope> <bindtype> <ID> \
<scsibus> <scsitarget>
Description: Sets a persistent binding between a Fibre Channel target and a Scsi bus and target. The
binding can be to a target WWPN, target WWNN, or target D_ID. To bind permanently, on behalf of HBA
10:00:00:00:c9:2e:51:2e, target WWPN 20:00:00:d0:b2:00:30:40 to Scsi bus 1, target 3, enter:
hbacmd setpersistentbinding 10:00:00:00:c9:2e:51:2e P P \
20:00:00:d0:b2:00:30:40 1 3
To bind immediately, on behalf of HBA 10:00:00:00:c9:2e:51:2e, target D_ID 10101 to Scsi bus 1, target
3, enter:
hbacmd setpersistentbinding 10:00:00:00:c9:2e:51:2e I D \
10101 1 3
If there are no errors, a response to the last example would be:
Set Persistent Binding for 10:00:00:00:c9:2e:51:2e I D \
10101 1 3
Parameters:
WWPN - The World Wide Port Name of the HBA for which a persistent binding is to be set. This HBA
can be either local or remote.
scope - P = binding is permanent (survives across reboot). I = binding is immediate. B = binding is both
permanent and immediate.
bindtype - P = enable binding by WWPN. N = enable binding by WWNN. D = enable binding by D_ID.