
Driver for Linux - Configuration Section Page 21
Set Persistent Binding
Syntax: ./hbacmd SetPersistentBinding <wwpn> <scope> <bindtype> <id> <scsibus>
<scsitarget>
Description: Creates a persistent binding between an FCP target and OS SCSI information.
Parameters: wwpn- The World Wide Port Name of the port. The port can be either local or remote.
Scope- P, I, or B. P = Bind set permanently. I = Bind set immediately. B = Bind set immediately and permanently
at reboot.
BindType- D, P, or N. D = Enable binding by D_ID. P = Enable binding by WWPN. N = Enable binding by WWNN.
ID- Either WWPN, WWNN, or D_ID (depending on BindType).
Remove All Persistent Binding
Syntax:
./hbacmd RemoveAllPersistentBinding <wwpn>
Description: Removes all persistent bindings for the specified HBA. Only the configured bindings can be
removed; rebooting is required to remove a live bindings.
Parameters: wwpn- The World Wide Port Name of the port. The port can be either local or remote.
Remove Persistent Binding
Syntax:
./hbacmd RemovePersistentBinding <wwpn> <bindtype> <id> <scsibus>
<scsitarget>
Description: Removes a selected persistent binding. Only the configured bindings can be removed; rebooting is
required in order to remove a live binding.
Parameters: wwpn- The World Wide Port Name of the port. The port can be either local or remote.
BindType- D, P, or N. D = Enable binding by D_ID. P = Enable binding by WWPN. N = Enable binding by WWNN.
ID- Either WWPN, WWNN, or D_ID (depending on BindType).
Binding Capabilities
Syntax:
./hbacmd BindingCapabilities <wwpn>
Description: The flags returned by this function represent all binding capabilities present in the HBA specified by
ObjectPort.
Parameters: wwpn- The World Wide Port Name of the port. The port can be either local or remote.
Binding Support
Syntax:
./hbacmd BindingSupport <wwpn> <source>
Description: This function returns the subset of capabilities that is currently active on the specified HBA.
Parameters: wwpn- The World Wide Port Name of the HBA. The HBA can be either local or remote.
Source- Either C or L. C = Configuration. L = Live.
Set Binding Support
Syntax:
./hbacmd SetBindingSupport <wwpn> <bindflag>
Description: This function installs a set of active capabilities in the specified HBA.
Parameters: wwpn- The World Wide Port Name of the port. The port can be either local or remote.
Bindflag- D, P, N, A, DA, Pa, or NA. D = Enable binding by D_ID. P = Enable binding by WWPN. N = Enable
binding by WWNN. A = Enable binding by AUTOMAP. DA = Enable binding by D_ID and AUTOMAP. PA = Enable
binding by WWPN and AUTOMAP. NA = Enable binding by WWNN and AUTOMAP.
Driver Parameters
Syntax:
./hbacmd DriverParams <wwpn>
Description: This function returns the driver parameters array of the specified HBA. Each entry in the array
contains the parameter name and values for minimum value, maximum value, current value, and default value.
Parameters: wwpn- The World Wide Port Name of the port. The port can be either local or remote.
Set Driver Parameters
Syntax:
./hbacmd SetDriverParams <wwpn> <ctrlword> <param> <value>
Description: This function is used to assign a value to a member of the Driver Parameters array belonging to the
HBA referenced by ObjectPort. Only one parameter can be set for each call to this function.
Parameters: wwpn- The World Wide Port Name of the port. The port can be either local or remote.
ctrlword- P, G, B or N. P = Permanent. G = Global. B = Both. N = Neither
Comentarios a estos manuales