Sunteți pe pagina 1din 31

Chapter 8

Starting and Stopping the AS/400

What an IPL Does

IPL does:

Starts the operating system. Resets disk storage. This results in increasing available disk storage. Recognizes new licensed-program products. Optionally applies delayed Program Temporary Fixes (PTFs). Recognizes some changes in system values. Unused addresses are returned to the system.
Understanding AS/400 System Operations 2

When to IPL

Regularly scheduled - at least monthly. After a power failure or any abnormal end. After installed delayed PTFs. After installing a new licensed program product (LPP). A problem with system-- supports direction. Your addresses used reaches 90 percent. Your system auxiliary storage reaches 95 percent.
Understanding AS/400 System Operations 3

System Status
Work with System Status

% CPU used . . . . Elapsed time . . . Jobs in system . . % addresses used: Permanent . . . Temporary . . .

. . : . . : . . :
. . : . . :

1.3 00:00:01 807


.007 .013

05/01/99 Auxiliary storage: System ASP . . . . . . : % system ASP used . . : Total . . . . . . . . : Current unprotect used : Maximum unprotect . . :

BIGBLUE 23:28:51 29.36 G 15.8592 29.36 G 354 M 624 M

Type changes (if allowed), press Enter. System Pool 1 2 3 4 Pool Size (K) __80108 666748 ____256 __39320 Reserved Size (K) 46904 0 0 0 Max Active +++++ ___68 ____2 ___26 -----DB----Fault Pages .0 .0 .0 .0 .0 .0 .0 .0 ---Non-DB--Fault Pages .0 .0 .0 .0 .0 .0 4.4 4.4

Bottom
Command ===>_____________________________________________________________________ F3=Exit F4=Prompt F5=Refresh F9=Retrieve F10=Restart F11=Display transition data F12=Cancel F24=More keys

Understanding AS/400 System Operations

Cleaning DASD Lower Usage

Check system libraries (start with Q) for user libraries or files.

Understanding AS/400 System Operations

Cleaning DASD Lower Usage

Unnecessary user libraries/files - Examples:

Obsolete libraries used for vendor demos, training, or testing. Programmers personal libraries. Various system logs. Large audit files.

Minimum of two Auxiliary Storage Pools (ASPs) (ASP 1 and ASP 2).

ASP 1 only system objects.


Understanding AS/400 System Operations 6

Control Panel Common Components

An LCD display information & used to


View statuses of the system. Assist in problem analysis. Make IPL function/mode selections. Display stages of an IPL.

A slot for a physical key or key stick. Selection dial or buttons. Power on/off button (RARELY used).
Understanding AS/400 System Operations 7

More Information
http://publib.boulder.ibm.com/pubs/html/ as400/online/v4r4eng.htm

Understanding AS/400 System Operations

Control Panel 9402/9404


ADVANCED/ENHANCED SYSTEM CONTROL PANELS

Function/Data Func

E
Enter Enter

F
Functions 01 Display Selected IPL 02 Select IPL 03 Start IPL 04 Lamp Test 11 System Reference Code

Understanding AS/400 System Operations

Control Panel 9404/9406


C
Processor Activity 1 2 Low High 4

J D

Low High 3

Manual Normal Auto

H
Secure Function/Data

E
Enter

Mode

Understanding AS/400 System Operations

10

Control Panel Areas

A - Power On Light B Power pushbutton C Processor Activity or Processor Active Light D System Attention Light E Function/Data display F Increment/decrement

G Enter Push button H Mode:


Manual Normal Auto Secure

Electronic Keystick

Understanding AS/400 System Operations

11

Mode Positions (H)


Normal: For day-to-day operations. Manual: Allows manual IPLs. Auto: Allows automation operation except:

Starting with an manual IPL. Stop system with Power pushbutton. Select different IPL type with buttons.

Secure: Locks the control panel.


Understanding AS/400 System Operations 12

IPL Types

Normal IPL

Automatic Unattended IPL

Manual IPL

Manual Attended IPL


Manual = Attended Normal = Unattended
Understanding AS/400 System Operations 13

Remember:

IPL Storage Areas


A = permanent B = temporary

Understanding AS/400 System Operations

14

Storage Areas
Storage Area *PANEL Description Uses the Storage area (A, B, or D) currently shown on the control panel Temporarily applies unapplied PTFs, or removes specific previously temporarily applied PTF. Permanently applies previously temporarily applied PTFs. System is started from a tape device.

A D

Understanding AS/400 System Operations

15

Stopping the AS/400


Power Failure. Unplugging the machine. Pressing the Power switch on the control panel. Using the Power Down System (PWRDWNSYS) command.

Understanding AS/400 System Operations

16

PWRDWNSYS Command
Power Down System (PWRDWNSYS)

Type choices, press Enter.


How to end . . . . . . . . Delay time, if *CNTRLD . . Restart options: Restart after power down Restart type . . . . . . IPL source . . . . . . . . . . . . . . . . . . . . . . . *CNTRLD 3600 *NO ______ *PANEL *CNTRLD, *IMMED Seconds, *NOLIMIT *NO, *YES *IPLA, *SYS, *FULL *PANEL, A, B, D

Bottom F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keys

Understanding AS/400 System Operations

17

End Subsystem Command


End Subsystem (ENDSBS)

Type choices, press Enter.


Subsystem . . . . . . . . . . . How to end . . . . . . . . . . . Delay time, if *CNTRLD . . . . . _________ *CNTRLD *NOLIMIT Name, *ALL *CNTRLD, *IMMED Seconds, *NOLIMIT

Bottom F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keys

Understanding AS/400 System Operations

18

Starting the AS/400

Starting after a power down

System value QIPLTYPE = 0 allows unattended IPL. If down due to a power failure, QPWRRSTIPL = 1. The mode switch set to NORMAL.

Understanding AS/400 System Operations

19

Automatic IPL on Active AS/400


Mode switch is set to NORMAL. System value QIPLTYPE = 0. Security Office [SECOFR] or Security Administrator [SECADM] authority in user profile.

Understanding AS/400 System Operations

20

Automatic IPL on Active AS/400 Continued

End all jobs, in all subsystems except QSYS. End all subsystems except QSYS. Enter command & press Enter: PWRDWNSYS OPTION(*IMMED)+ RESTART(*YES *IPLA)

Understanding AS/400 System Operations

21

Restart Type

*SYS

Attached hardware devices that can be restarted if pending PTF that requires it.

*FULL

All restart able hardware devices are restarted.


IPL Attributes table stored in AS/400. Can change many IPL options without a manual IPL. Change IPL Attributes CHGIPLA.
Understanding AS/400 System Operations 22

*IPLA - The restart type (*SYS or *FULL)


Change IPL Attributes


Change IPL Attributes (CHGIPLA)

Type choices, press Enter.


Restart type . . . . . . . *SYS Keylock position . . . . . *NORMAL Hardware diagnostics . . . *MIN Compress job tables . . . *NONE Check job tables . . . . . *ABNORMAL Rebuild product directory .*NONE Mail Server Framework recovery *NONE Clear job queues . . . . . *NO Clear output queues . . . *NO Clear incomplete joblogs . *NO Start print writers . . . *YES Start to restricted state. *NO *SAME, *SAME, *SAME, *SAME, *SAME, *SAME, *SAME, *SAME, *SAME, *SAME, *SAME, *SAME, *SYS, *FULL *NORMAL, *AUTO... *MIN, *ALL *NONE, *NORMAL... *ABNORMAL, *ALL, *SYNC *NONE, *NORMAL... *NONE, *ABNORMAL *YES, *NO *YES, *NO *YES, *NO *YES, *NO *YES, *NO

Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys

Understanding AS/400 System Operations

23

Manual IPL Screen


IPL or Install the System
Select one of the following: 1. 2. 3. 4. Perform an IPL Install the operating system Use Dedicated Service Tools Perform automatic installation of the operating system

Selection

____________

Understanding AS/400 System Operations

24

IPL Options
IPL Options

Type choices, press Enter


System date . . . . . . . . . . . . . . System time . . . . . . . . . . . . . . Clear job queues. . . . . . . . . . . . Clean output queues . . . . . . . . . . Clear incomplete job logs . . . . . . . Start print writers . . . . . . . . . . Start this device only. . . . . . . . . Start the system to a restricted state. Run #STRTUP1 procedure. . . . . . . . . Run #STRTUP2 procedure. . . . . . . . . Set Major System Options. . . . . . . . Define or Change System at IPL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 05/02/99 12:00:00 N N N Y N N Y Y N N MM/DD/YY HH/MM.SS Y= Y= Y= Y= Y= Y= Y= Y= Y= Y= Yes, Yes, Yes, Yes, Yes, Yes, Yes, Yes, Yes, Yes, N= N= N= N= N= N= N= N= N= N= No No No No No No No No No No

Understanding AS/400 System Operations

25

Major System Options


Set Major System Options

Type choices, press Enter Enable automatic contiguration . . . . . . Y Device configuration naming. . . . . . . . *NORMAL Default special environment. . . . . . . . *NONE

Y= Yes, N= No *NORMAL, *S36, *DEVADR *NONE, *S36

Understanding AS/400 System Operations

26

Define/change System IPL


Define or Change the System at IPL

Select one of the following:


1. 2. 3. 4. 5. 6. Selection: ______ F3 = Exit and continue IPL Configuration commands Change user profile System value commands Network attributes commands General objects commands Work with shared pool

Understanding AS/400 System Operations

27

Power On/Off
Change Power On/Off Defaults System: Type choices below, then press Enter. First day of week . . . . . . . . 1 BIGBLUE 1=Sunday, 2=Monday, 3=Tuesday, 4=Wednesday, 5=Thursday, 6=Friday, 7=Saturday

Minutes before power off to send message . . . . . . . . . . . . Default Power On ________ 05:30:00 ________ ________ ________ ________ ________ F3=Exit F12=Cancel

30

0-60

Week Day Sunday Monday Tuesday Wednesday Thursday Friday Saturday F1=Help

Default Power Off ________ ________ ________ ________ ________ 23:00:00 ________

Understanding AS/400 System Operations

28

IPL System Values


QIPLDATTIM QIPLSTS
IPL date and time. IPL status Displays last IPL.: 0IPL from control panel. 1unattended IPL after power failure PWRDWNSYS 2unattended IPL after command with RESTART(*YES) 3unattended scheduled IPL result system value QIPLDATTIM used. 4unattended remote IPL, system value QRMTIPL = 1. Defines type of IPL from control panel: 0unattended IPL.. 1attended IPL with dedicated service tools (DST). 2an attended IPL in debug mode.

QIPLTYPE

Understanding AS/400 System Operations

29

IPL System Values Continued


QPWRRSTIPL
Will system automatically restart itself after a power failure? 0No automatic IPL after a power failure 1Automatic IPL after a power failure. Can a remote system start the AS/400? 0A remote system cannot start the AS/400. 1A remote system can start the AS/400. Name program to start when IPL is complete & before system turned over to users. *NONE No program starts library/name name and library location of program start automatically

QRMTIPL

QSTRUPPGM

Understanding AS/400 System Operations

30

IPL System Values - Continued


QUPSDLYTIM
Connected to smart, uninterruptible power supply (UPS), set amount of time wait before controlled shutdown. *BASIC or *CALC *CALC is the default. Numeric value is preferred. *NOMAXUsed when a user-written program controls shutdown or generator take UPS after few seconds. 0Automatic shutdown starts as soon as UPS kicks in. 1-99999The delay time in seconds before system starts shut itself down. Message queue receives messages about power interruption.
Understanding AS/400 System Operations 31

QUPSMSGQ

S-ar putea să vă placă și