HP Integrity rx1620 SmartSetup Scripting Toolkit Deployment Guide: HP Integrit - Page 34

Editing the Linux Boot Loader, Table 4-1 SSTK Variables, Table 4-2 SSTK Configuration Variables

Page 34 highlights

Table 4-1 SSTK Variables (continued) Variable Name IMAGE_FILE="" Description Sets the name of the Linux image file. The default value is linux.img. LOG_LEVEL=0 Sets the log level. Set 1 for normal logging or zero (0 ) for extended logging. The default value is zero. ESP_SIZE=128 Defines the ESP partition size. HPSP_SIZE=400 Defines the HPSP partition size 0. SWAP_SIZE=500 Defines the SWAP partition size. AUTO_CONFIGURE_SAN="yes" Enables automatic configuration for the SAN environment. The variables that configure the names of the configuration files that are used throughout the scripts and their default values are as follows: Table 4-2 SSTK Configuration Variables Variable Name Description ACU_FILE="acu.ini" Sets the array configuration file used by the cpqacuxe utility. CONREP_CONF="conrep.xml" Sets the EFI variables to be replicated by the conrep utility. CONREP_FILE="conrep.dat" Contains the EFI configuration captured by the conrep utility. HBAQLOGIC_FILE="hba-qlogic.ini" Sets the configuration file to manage EFI boot setting on QLogic Adapter. HBAEMULEX_FILE="hba-emulex.ini" Sets the configuration file to manage EFI boot setting on Emulex Adapter. Editing the Linux Boot Loader The SSTK environment starts forming when the EFI boot loader launches the Linux boot loader (elilo). The Linux boot loader reads the elilo.conf configuration file and loads the kernel and root file system based on these configuration parameters. This process is no different than booting up to the Linux OS, but you can use the elilo.conf file to do much more. The SSTK uses the elilo.conf file to run the bootstrap script in the root file system, mounts the repository file system, and launches the main_toolkit_launch.sh script residing in the repository. Then, the main_toolkit_launch.sh script prompts you to select one of three tasks: start a bash shell, read the hardware configuration of the server, or write to the hardware configuration and install the operating system, drivers, and applications. The elilo.conf configuration file is an ASCII (not a UNICODE) file that controls the behavior of the Linux boot loader. The configuration file follows the LILO/x86 syntax. The configuration options are divided into the following three groups: • The global options, which are listed first, affect the behavior of elilo and apply to all images, and then affect the list of images and options for each of them, if necessary. It is possible to have an empty list of global options. Table 4-3 Global Options Global Option default=value timeout=number Description Specifies the names of the default image to boot. If not defined, elilo boots the first defined image. Specifies the number of tenths of seconds to wait while in interactive mode before autobooting default kernel. Default is infinity. 34 Setting Up the Toolkit Environment

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85

Table 4-1 SSTK Variables
(continued)
Description
Variable Name
Sets the name of the Linux image file.
The default value is
linux.img
.
IMAGE_FILE=""
Sets the log level. Set 1 for normal logging or zero (0 ) for extended logging.
The default value is zero.
LOG_LEVEL=0
Defines the ESP partition size.
ESP_SIZE=128
Defines the HPSP partition size 0.
HPSP_SIZE=400
Defines the SWAP partition size.
SWAP_SIZE=500
Enables automatic configuration for the SAN environment.
AUTO_CONFIGURE_SAN="yes"
The variables that configure the names of the configuration files that are used throughout the
scripts and their default values are as follows:
Table 4-2 SSTK Configuration Variables
Description
Variable Name
Sets the array configuration file used by the
cpqacuxe
utility.
ACU_FILE="acu.ini"
Sets the EFI variables to be replicated by the
conrep
utility.
CONREP_CONF="conrep.xml"
Contains the EFI configuration captured by the
conrep
utility.
CONREP_FILE="conrep.dat"
Sets the configuration file to manage EFI boot setting on QLogic Adapter.
HBAQLOGIC_FILE="hba-qlogic.ini"
Sets the configuration file to manage EFI boot setting on Emulex
Adapter.
HBAEMULEX_FILE="hba-emulex.ini"
Editing the Linux Boot Loader
The SSTK environment starts forming when the EFI boot loader launches the Linux boot loader
(
elilo
). The Linux boot loader reads the
elilo.conf
configuration file and loads the kernel
and root file system based on these configuration parameters. This process is no different than
booting up to the Linux OS, but you can use the
elilo.conf
file to do much more.
The SSTK uses the
elilo.conf
file to run the bootstrap script in the root file system, mounts
the repository file system, and launches the
main_toolkit_launch.sh
script residing in the
repository. Then, the
main_toolkit_launch.sh
script prompts you to select one of three
tasks: start a
bash
shell, read the hardware configuration of the server, or write to the hardware
configuration and install the operating system, drivers, and applications.
The
elilo.conf
configuration file is an ASCII (not a UNICODE) file that controls the behavior
of the Linux boot loader. The configuration file follows the LILO/x86 syntax. The configuration
options are divided into the following three groups:
The
global options
, which are listed first, affect the behavior of
elilo
and apply to all
images, and then affect the list of images and options for each of them, if necessary. It is
possible to have an empty list of global options.
Table 4-3 Global Options
Description
Global Option
Specifies the names of the default image to boot. If not defined,
elilo
boots the
first defined image.
default=
value
Specifies the number of tenths of seconds to wait while in interactive mode before
autobooting default kernel. Default is infinity.
timeout=
number
34
Setting Up the Toolkit Environment