Qlogic FIBRE CHANNEL HBA Spécifications Page 14

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 18
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 13
Driver auto-compilation supported
What is auto-compilation?
Auto-compilation is the ability to have the QLogic Fibre Channel HBA driver automatically compile
itself when a new kernel is loaded. The advantage of having the QLogic FC HBA driver compile itself
automatically is that an administrator will not have to manually invoke the driver compile scripts, so
that the new kernel is running the HP-approved FC HBA driver for QLogic.
How does auto-compilation work?
Auto-compilation is achieved by adding a trigger script to the kernel-source and kernel-devel RPMs
in both Red Hat and Novell Linux distributions. What a trigger script does is when either the
kernel-source or kernel-devel RPMs are either installed or upgraded, a small script will run and see if
the QLogic FC HBA driver needs to be compiled for the new kernel. This script is actually located in
/opt/hp/src/hp_qla2x00src/smart_compile.
What happens is this script is initially run when the hp_qla2x00src RPM is installed to take an
inventory of kernels that have already been installed on the server. When the trigger script runs, it
calls the smart compile script to compile the currently installed HP QLogic FC HBA driver for all the
kernels that it does not have in its repository.
Once smart_compile is finished compiling the driver for all the newly installed kernels, it updates
it inventory of kernels so that it contains the new kernels it just compiled the driver for. Thus, if
smart_compile is run again it won’t compile the drivers that it has already compiled the kernel for
again.
Example 1. Auto-compilation example
An example of what would happen during an auto-compile is below:
1. User enables auto-compilation as specified in the section
How to enable auto-compilation, page ?.
2. User installs the actual kernel binary RPM.
3. User installs the kernel development RPM (either kernel-source or kernel-devel).
4. Trigger script is run. If auto-compilation has been enabled, then smart_compile is run.
5. Auto-compilation script (smart_compile) compiles the QLogic FC HBA driver for the newly
installed kernel
The HP supported QLogic FC HBA driver will then load on next reboot.
How to enable auto-compilation
Auto-compilation of the QLogic driver is turned off by default. To enable auto-compilation, perform
the following steps:
1. Change directory to /opt/hp/src/hp_qla2x00src.
2. Run the following command.
# ./set_parm -a
The script should then output that auto-compilation has been set to yes. If the output says that it
has been set to no, simply rerun the set_parm -a command again as the -a switch simply
toggles this functionality on and off.
14
Vue de la page 13
1 2 ... 9 10 11 12 13 14 15 16 17 18

Commentaires sur ces manuels

Pas de commentaire