HP Integrity Essentials Pack for Linux Software manual Configuring and Using a Serial Console

Page 51

A Configuring and Using a Serial Console

Before the Linux operating system (OS) is booted, all console interaction occurs through EFI. To modify the default local graphics display to be a serial console path, you must configure a single serial port (UART) for both Console-In/Out in the EFI boot manager. This configuration allows the Linux kernel to interpret the UART as ttyS0 on system boot sending output to the selected display screen.

Configuring a Serial Console

To configure a serial console, perform the following steps:

NOTE: The steps and actual computer output may vary slightly from the following process. These differences are based on the version of EFI and version of Management Processor.

1.When the system boots, select Boot Option Maintenance Menu from the EFI Boot Manager screen and press Enter.

2.From the Boot Option Maintenance Menu, select Manage Consoles and press Enter. The resulting screen displays a list of UARTs and PCI devices available for console I/O.

NOTE:

UART identifiers of PNP0501 describe modes available for "Serial A" or "Serial 1" built-in UART.

UART identifiers of HWP0002 describe modes available for the "Console" UART on the management processor (MP).

3.Select a UART from the list and press Enter.

4.From the same screen, select Save Settings to NVRAM and press Enter. The system prompts you to save NVRAM if you omit this step.

5.Select Exit and press Enter to return to the main menu.

6.Select the option Manage Consoles from the main menu and press Enter.

7.From the list provided, select the same UART that you chose as your output device and press Enter.

8.Select Save Settings to NVRAM and press Enter.

9.Select Exit and press Enter.

10.To apply the changes you have selected, select Cold Reset from the Boot Option Maintenance menu and press Enter.

11.When prompted, enter Y and press Enter.

The firmware and serial console are configured after system reset.

Using a Serial Console

Although you might have set up a serial console in the EFI boot manager, Linux defaults to a VGA console. If no VGA device is present, console output is directed to a stub device (for example, not visible.) To specify a serial console, you must pass the console= parameter to the kernel. This can either be done as an extra parameter to the kernel or by means of the parameter append=line in elilo.conf. For example:

Manual Boot Option

------------------ fs0:\> elilo linux "console=ttyS0"

ELILO boot: linux console=ttyS0

Automatic via

elilo.conf

------------------------

append="console=ttyS0"

Configuring a Serial Console

51

Image 51
Contents HP Smart Setup HP Support Pack Acknowledgments Table of Contents Configuring and Using a Serial Console Supported Products Matrix List of Figures List of Tables Page Typographic Conventions About This DocumentAdditional Documentation Intended AudiencePublishing History Related Information Docsfeedback@hp.com HP Encourages Your CommentsSupported Linux OS Distributions Planning the InstallationOverview Support InformationEnsure Support for Linux on HP Integrity Servers Support ExceptionsChoosing an Installation Environment Choosing an Installation ScenarioUsing a VGA Console Using a Serial ConsoleUsing the HP Smart Setup Ebsu Utility Installation ProcessInstallation Overview Preparing for Installation Ensuring Platform CompatibilityVerifying Hardware Compatibility Setting Up a Console Setting Up a Serial ConsoleBacking Up Existing Data Setting Up a VGA Console Setting Up the Boot DrivePreparing the Server Hardware Shell reconnect -r Accessing the Removable Media Devices Using EFI# bootia64.efi # tar zxvf ebsu-version.tgz -C /mnt/usb# umount /mnt/usb # bootia64.efi Using HP Smart Setup to Install the OS Installing the OS and Updating the ServerHP Smart Setup Ebsu Main Menu Select System Settings and press Enter Select the appropriate storage adapter and press Enter Select Smart Setup ADD Ebsu Qlogic Prompt Changes Here and in CH5 IINFORMATION! All tasks you selected will now be performed 13 Inserting the Linux Installer Media Using the Linux Media to Install the OSInstalling Updates from the Web Updating the ServerRegistering for HP Support Notifications # lspci grep Fibre 403619-B21Installing the MPT Fusion HBA Drivers for Linux # tar zxvf hpqla2x00-date.tar.gz# rpm -ivh downloaded driver name Installing the OS and Updating the Server EFI Boot Manager EFI and HP Smart Setup Media UtilitiesUsing the Option ROM Configuration for Arrays Utility Using EFIHP Smart Setup Utilities Accessing HP Smart Setup UtilitiesEFI Shell Install Linux-Launches the Linux Installer Page HP Insight Management Agents Installing and Using the HP Support PackSoftware Provided in the HP Support Pack HP Management Base for Integrity ServersHP Wbem Providers for Linux HP nPartition CommandsHP System Management Homepage HP Insight Management Wbem ProvidersHP Utilization Provider Including Wbem HP Array Configuration Utility Command Line InterfaceOpenPegasus Small Footprint CIM BrokerHP Integrity Virtual Machines Wbem Provider Product Installation DependenciesHP SmartSetup Scripting Toolkit HP SAS Integrated Raid IR Configuration Utility# export JAVAHOME=javaDir Installing the Java Development Kit Product# chmod jdk-6u12-linux-ia64.bin # ./ jdk-6u12-linux-ia64.binInstalling Software from the HP Support Pack Before Running the InstallerRunning the Installer Menu for RHEL4 # ./install.shMenu for SLES11 Installing Software from HP Software Delivery Repository Configure Software Delivery Repository AccessSelect Software Installation Source Add Obtaining the bootstrap.sh ScriptConfiguring and Using a Serial Console Configuring a Serial ConsoleUsing a Serial Console Http//lxr.linux.no/source/Documentation/ia64/serial.txt RHEL4 HP Support Pack DependenciesRHEL5 SLES11 Page Known Issues Unaligned Access MessagesSuperfluous PAM Authentication Message Configuring Storage Adapters Partitioning Fibre Channel HBA Adapters# /etc/init.d/sfcb start File should now look like Flashing HP PCIe 2-port 1000Base-T adapter AD337A Adapters HP System Management Homepage Session Time-out Error# /opt/hp/hpsmh/sbin/smhconfig Ui-timeout=80Table D-1 Supported Products Matrix Supported Products MatrixLAN Rusa SAS USB Rusa