Before you install the operating system, you can configure a Fibre Host Bus Adapter to boot from a Storage Area Network (SAN). After configuration, it is possible to install an operating system to the SAN. The Toolkit provides a sample fibre policy file that can be used to deploy a fibre configuration.
You can use Linux Scripting ToolkitServerGuide Scripting Toolkit, Linux Edition variables to customize the configuration of Fibre HBAs on the target system, allowing them to boot from SAN targets.
By default, the Linux Scripting Toolkit configures the first HBA on the system to boot from the first available SAN target (for QLogic Fibre HBAs only. See Known problems and limitations for limitations concerning Emulex Fibre HBAs). The BIOS configures the first disk drive it finds that is also a LUN 0 as a boot device. The Linux Scripting Toolkit uses the following variables to configure Fibre HBAs.
Variable | Description |
---|---|
TK_FIBRE_COUNT | Specifies the number of HBA ports to configure. Valid values are 1–n, where n is the number of HBA ports available. This variable affects the use
of the following variables:
Note: You
must complete one of each of these variables for every HBA port you
configure. So if TK_FIBRE_COUNT=2, you must complete
one set of these variables for the first port and one for the second.
|
TK_FIBRE_N_HBA_ID | Identifies the Qlogic/Emulex HBA to be configured, where N is the HBA number to be configured. Valid values are:
Default: 0 |
Identifies the Brocade HBA to be configured, where N is the HBA number to be configured. Valid values are:
Default: 0 |
|
TK_FIBRE_N_BOOT_DISABLE | Disables the selected current boot device settings on the specified HBA port, where N is the HBA number to be configured. Valid values are:
|
TK_FIBRE_N_BOOT_PRIM = target_wwnn target_wwpn lun_id | Defines the primary boot target settings,
where N is the HBA number to be configured and:
Default: 0 0 0 Example:
|
TK_FIBRE_N_BOOT_ALT1 = target_wwnn target_wwpn lun_id | Configures the operating system to use the
indicated target as the first alternate boot device, where N is
the HBA number to be configured and:
Default: blank. Example:
|
TK_FIBRE_N_BOOT_ALT2 = target_wwnn target_wwpn lun_id | Configures the operating system to use the
indicated target as the second alternate boot device, where N is
the HBA number to be configured and:
Default: blank. Example:
|
TK_FIBRE_N_BOOT_ALT3 = target_wwnn target_wwpn lun_id | Configures the operating system to use the
indicated target as the third alternate boot device, where N is
the HBA number to be configured and:
Default: blank Example:
|
For more configuration options, please refer to QAUCLI.