Avaya R3.0 manual Server Initialization and Shutdown, Server initialization, Chapter contents

Page 21
Chapter 3: Server Initialization and Shutdown

Chapter 3: Server Initialization and Shutdown

Chapter contents

This chapter describes various maintenance aspects of servers and their troubleshooting, including:

Server initialization

System shutdown

Server initialization

After a server is powered on, software/firmware modules are executed in the following order:

1.BIOS — The BIOS (Basic Input/Output System) takes control of the server’s CPU and provides several services including:

Running diagnostics on the server’s hardware (processor, memory, disk, etc.).

Reading the 512-byte master boot record (MBR) from the boot sector of the boot disk into memory and passing control to it. The MBR contains phase 1 of the Linux loader (LILO).

2.LILO — The Linux loader (LILO) reads the Linux kernel from the boot disk and transfers control to it. Phase 1 of LILO was read into memory by the BIOS. When Phase 1 begins executing, it reads in the rest of the LILO program, including the Linux kernel’s location. LILO reads in the Linux kernel, uncompresses it, and transfers control to it.

3.Linux Kernel — The Linux kernel initializes the CPU’s registers, initializes its own data structures, determines the amount of available memory, initializes the various compiled-in device drivers, etc. When finished, the Linux kernel creates the first process, known as init.

4.Init — The init process creates the remaining processes for the system using the /etc/ inittab file, which specifies runlevels, and a set of processes to run at each runlevel. During this step, the SSG application and database are started.

The rc script runs the service startup scripts in /etc/rc.d/rc4.d in numeric order (S00* through S99*). Each of these startup scripts starts a particular Linux service (e.g., inetd). In addition to starting up the various services, the disk partitions are checked for sanity, and loadable modules are loaded.

Note:

Use the Linux command statapp to view the status of the applications.

Issue 6 August 2005 21

Image 21
Contents Maintenance Guide Secure Services Gateway SSGin support of the Secure Access and Control Offer SAC R3.0 19-300174 Issue 6 AugustEmail totalware@gwsmail.com 2005 Avaya Inc. All Rights ReservedChapter 2 Hardware Upgrade and Maintenance Chapter 1 Maintenance OverviewChapter 5 Operating System Recovery Chapter 3 Server Initialization and ShutdownIndex Chapter 6 SSG Configuration Backup and RestoreContents 4 Secure Services Gateway SSG Maintenance GuideChapter contents Chapter 1 Maintenance OverviewOverview Overview Related resources Linux operating system manualsRelated resources ContentTable 1 Related Resources Document Title2 of Table 1 Related Resources continued3. Under the column Support Resources, go to Documentation Linux operating system manualsInstallation guidelines Chapter 2 Hardware Upgrade and MaintenanceInstallation guidelines Removing the cover of the x305 IBM server In this chapterHandling static sensitive devices System reliability guidelinesGeneral safety guidelines Replacing the hard drive Replacing the hard drive in an x305 IBM serverReplacing the hard drive in an x306 IBM server Task Tasks to replace the hard driveDescription 4 Replace the hard drive. x305 see Replacing the hard drive in anRead General safety guidelines and Handling static sensitive devices 3. Installing the new hard drive in the x305 IBM serverReplacing the hard drive in an x305 IBM server Removing the cover of the x305 IBM serverFigure 1 Captive screws on cover Figure 2 Removing and replacing the drive cage Removing the hard drive from the x305 IBM serverReplacing the cover of the x305 IBM server Installing the new hard drive in the x305 IBM serverFigure 3 Removing and installing the hard drive 2. Installing the new hard drive in the x306 IBM serverReplacing the hard drive in an x306 IBM server Removing the hard drive from the x306 IBM serverReplacing the x305 IBM server’s RSA Installing the new hard drive in the x306 IBM server20 Secure Services Gateway SSG Maintenance Guide Replacing the server’s dual NICChapter 3 Server Initialization and Shutdown Server initializationServer initialization System shutdown System shutdown Gathering system information Chapter 4 Operating System MonitoringMonitoring system processes Gathering system information Monitoring system processesMemory usage Table 3 Interactive Commands Command DescriptionFile systems Virtual memorySpace used by files in a directory Additional resources Hardware/software problems Chapter 5 Operating System RecoveryRoot password Hardware/software problems Booting into single-user modelinux rescue Booting into rescue modechroot /mnt/sysimage sh-2.05b#mount -t ext3 /dev/hda5 /foo fdisk -l oneBooting into single-user mode Booting into emergency mode 32 Secure Services Gateway SSG Maintenance Guide Chapter 6 SSG Configuration Backup and Restore Backing up the SSG configurationBacking up the SSG configuration Restoring the SSG configuration Figure 4 Edit Backup Scheduler Configuration Page SSG Configuration Backup and Restore34 Secure Services Gateway SSG Maintenance Guide 6. Click Save Changes pgrestore -v -p 6543 -d avssgdb -a -Ft --no-owner dbdumpfilename.tar Restoring the SSG configurationa. mkdir tempdir b. cd tempdir c. tar zfx ~/SSG-Product Id-Date-Time.tgzIndex Index38 Secure Services Gateway SSG Maintenance Guide