How to setup persistent name binding in Solaris? - (KB10071) | ||
| ||
| ||
How to setup persistent name binding in Solaris? | ||
| ||
| ||
Persistent Name Binding support is available for target devices. This support is provided for users to associate a specified device World Wide Port Name (WWPN) to a specified SCSI target ID. For driver version earlier than 4.15, it is implemented through both the /kernel/drv/sd.conf and /kernel/drv/qla2300.conf files. The matching between the target device port, the SCSI target ID, and the adapter driver instance happens inside /kernel/drv/qla2300.conf. For driver versions 4.15 and later, the driver dynamically discovers targets, so no entries in the sd.conf or st.conf files are required. Note that if you disable dynamic discovery of devices (via the hbaX-disable-dynamic-device-support parameter), you must populate the sd.conf and st.conf files as noted above for pre-4.15 drivers. The Persistent Name Binding support for target devices associates a SCSI target ID to a specified device World Wide Port Name or port ID. If port ID binding is specified it takes precedent over World Wide Port Name binding. In other words, this entry changes the target ID of the specified device to the number specified in the entry. To enable persistent binding by WWPN, lines of the following format should be added in the qla2300.conf file for each target device: hba<#>-SCSI-target-id-<#>-fibre-channel-port-name="<device WWPN>"; For example, to associate the following WWPN with target ID 2 on adapter instance 1, the entry is: hba1-SCSI-target-id-2-fibre-channel-port-name="2100002037004ac9"; To enable persistent binding by port ID, lines of the following format should be added in the qla2300.conf file: hba<#>-SCSI-target-id-<#>-port-id="<device port ID>"; For example, to associate the following port ID with target ID 2 on adapter instance 1, the entry is: hba1-SCSI-target-id-2-port-id="10031e"; The current effective mapping between device WWPN or port ID and SCSI ID of the target devices detected by a particular adapter instance can be found in the /var/adm/messages file. The information looks similar to this: qla2300: hba1-SCSI-target-id-2-fibre-channel-node-name="2000002037004ac9"; IMPORTANT
CAUTION: Use extreme caution when the devices are shared among multiple adapters. It is strongly recommended that all target devices be bound with all adapter instances so that the devices show up in a pre-determinable way. A shared device which is bound on one adapter instance but unbound on another adapter instance may show up at a SCSI target ID which is unexpected by the user for the unbound adapter instance, which may lead to possible data corruption on the device if the user unknowingly writes to the unexpected device. | ||
| ||
| ||
Solaris | ||
|
'IT > Unix' 카테고리의 다른 글
Network 정보 변경 (0) | 2012.02.02 |
---|---|
netstat의 TCP 상태 표시 (1) | 2012.02.02 |
AIX 보안 정책 (root 관련) (0) | 2012.01.31 |
IBM pSeries 장비에 시리얼(HMC) 연결 (0) | 2012.01.20 |
du와 df 출력 차이 설명 (0) | 2012.01.20 |