Скачать презентацию Chapter 7 Managing Devices 1 Introduction Hardware Скачать презентацию Chapter 7 Managing Devices 1 Introduction Hardware

5317f0895c6ec09df7a39f31db30be34.ppt

  • Количество слайдов: 46

Chapter 7 Managing Devices 1 Chapter 7 Managing Devices 1

Introduction Hardware and Devices The AS/400 made of hardware devices (things you can touch) Introduction Hardware and Devices The AS/400 made of hardware devices (things you can touch) and software products. Within the definition of hardware, the AS/400 makes another distinction. Understanding AS/400 System Operations 2

Internal Hardware n n n n Basic CPU RAM memory DASD (Direct Access Storage Internal Hardware n n n n Basic CPU RAM memory DASD (Direct Access Storage Device) Memory Cabling Power supply Fans All the things inside the black box Understanding AS/400 System Operations 3

External Hardware (Devices) n n n n Devices – Things attached to the AS/400. External Hardware (Devices) n n n n Devices – Things attached to the AS/400. Printers Work stations Diskette readers Tape devices Lines Controllers Things that support communications Understanding AS/400 System Operations 4

Device Descriptions Device description (type *DEVD) defines a device to the AS/400. Understanding AS/400 Device Descriptions Device description (type *DEVD) defines a device to the AS/400. Understanding AS/400 System Operations 5

Device Description n n Device name Address Attached controller Other values unique to the Device Description n n Device name Address Attached controller Other values unique to the type of device Called configuring the device Understanding AS/400 System Operations 6

Configuring a Device n Writing a Device description n Local Device n n n Configuring a Device n Writing a Device description n Local Device n n n Automatically Manual Remote devices n Manual Understanding AS/400 System Operations 7

Automatic Configuration n QAUTOCFG, System value. ‘ 0’= disabled. ‘ 1’ = enabled. Understanding Automatic Configuration n QAUTOCFG, System value. ‘ 0’= disabled. ‘ 1’ = enabled. Understanding AS/400 System Operations 8

QDEVNAMING n n n System value Determines name format for AS/400 devices Used during QDEVNAMING n n n System value Determines name format for AS/400 devices Used during automatic configuration Understanding AS/400 System Operations 9

Device Naming, Values n *NORMAL – Native AS/400 n n DSPnn, PRTnn TAPnn DKTnn Device Naming, Values n *NORMAL – Native AS/400 n n DSPnn, PRTnn TAPnn DKTnn Understanding AS/400 System Operations 10

Device Naming, Values – Cont. n *DEVADR – Actual device address n n DSPccppdd Device Naming, Values – Cont. n *DEVADR – Actual device address n n DSPccppdd PRTccppdd n n n cc = controller number pp = port number dd = device Understanding AS/400 System Operations 11

Device Naming, Values – Cont. n *S 36 – S/36 n n n Wn Device Naming, Values – Cont. n *S 36 – S/36 n n n Wn Pn Tn Understanding AS/400 System Operations 12

Manually Creating Device Descriptions Understanding AS/400 System Operations 13 Manually Creating Device Descriptions Understanding AS/400 System Operations 13

Example Commands n n CRTDEVDSP CRTDEVPRT CRTDEVDKT CRTDEVTAP Understanding AS/400 System Operations 14 Example Commands n n CRTDEVDSP CRTDEVPRT CRTDEVDKT CRTDEVTAP Understanding AS/400 System Operations 14

Device Communications n Line n Controller n Device n n Plugs into port on Device Communications n Line n Controller n Device n n Plugs into port on controller. Twin-Ax also have switch settings. Understanding AS/400 System Operations 15

Device Communications – Cont. n Commands: n n n Create Line xxx (CRTLINxxx) Create Device Communications – Cont. n Commands: n n n Create Line xxx (CRTLINxxx) Create Controller xxx (CRTCTLxxx) Status n n Vary off Understanding AS/400 System Operations 16

Device Parameters n n CLASS TYPE MODEL Addresses Understanding AS/400 System Operations 17 Device Parameters n n CLASS TYPE MODEL Addresses Understanding AS/400 System Operations 17

Listing Device Descriptions n n n Display Object Description (DSPOBJD) command, and specify OBJ(QSYS/*ALL) Listing Device Descriptions n n n Display Object Description (DSPOBJD) command, and specify OBJ(QSYS/*ALL) OBJTYPE(*DEVD). Print Device Address (PRTDEVADR) command. Work with Configuration Status WRKCFGSTS CFGTYPE(*DEV) CFGD(*ALL). Understanding AS/400 System Operations 18

Work With Device Descriptions WRKDEVD Work with Device Descriptions System: BIGBLUE Position to . Work With Device Descriptions WRKDEVD Work with Device Descriptions System: BIGBLUE Position to . . . _______ Starting characters Type options, press Enter. 2=Change 3=Copy 4=Delete 5=Display 6=Print 7=Rename 8=Work with status 9=Retrieve source Opt Device Type Text _ BIGBLUE 3477 Device created for BIGBLUE. _ CPAOUTQ 3812 Device created for BIGBLUE. _ CPQOUTQ 3812 Device created for BIGBLUE. _ DSP 01 3179 CREATED BY AUTO-CONFIGURATION _ ETHLITCP *NET CREATED BY AUTO-CONFIGURATION _ EXODUS *INTRA Exodus TCP/IP Server Intrasystems Com Dev _ OPT 01 6321 CREATED BY AUTO-CONFIGURATION More. . Parameters or command ===> ________________________________ F 3=Exit F 4=Prompt F 5=Refresh F 6=Create F 9=Retrieve F 12=Cancel F 14=Work with status Understanding AS/400 System Operations 19

Device Menu DEVICE Device Operations System: BIGBLUE Select one of the following: 1. Work Device Menu DEVICE Device Operations System: BIGBLUE Select one of the following: 1. Work with device status 2. Work with displays 3. Printer 4. Tape 5. Diskette 6. Configure PC connections 7. Optical 70. Related commands Selection or command ===> _______________________________ F 3=Exit F 4=Prompt F 9=Retrieve F 12=Cancel F 13=Information Assistant F 16=AS/400 Main menu (C) COPYRIGHT IBM CORP. 1980, 1990. Understanding AS/400 System Operations 20

Work With Configuration Status Work with Configuration Status (WRKCFGSTS) Type choices, press Enter. Type. Work With Configuration Status Work with Configuration Status (WRKCFGSTS) Type choices, press Enter. Type. . . > *DEV *NWS, *NWI, *LIN, *CTL, *DEV Configuration description . . . > *ALL Name, generic*, *ALL, … Output. . . * *, *PRINT Range . . . *NET, *OBJ Status. . . *ALL, *ACTIVE, *FAILED. . . Understanding AS/400 System Operations 21

Work With Configuration Status – Cont. Work with Configuration Status BIGBLUE 05/06/99 23: 02: Work With Configuration Status – Cont. Work with Configuration Status BIGBLUE 05/06/99 23: 02: 39 Position to . . . ______ Starting characters Type options, press Enter. 1=Vary on 2=Vary off 5=Work with job 8=Work with description 9=Display mode status 13=Work with APPN status. . . Opt Description Status -------Job------- _ A 98003873 VARIED OFF _ BIGBLUE VARIED OFF _ DSP 01 SIGNON DISPLAY _ GIL 1 VARIED OFF _ QCONSOLE VARIED OFF _ QPADEV 000 A VARIED OFF _ QPADEV 000 B SIGNON DISPLAY _ QPADEV 000 C VARIED OFF _ QPADEV 000 D SIGNON DISPLAY More. . . Parameters or command ===> _______________________________ F 3=Exit F 4=Prompt F 12=Cancel F 23=More options F 24=More keys Understanding AS/400 System Operations 22

Device Menu VS. WRKCFGSTS Understanding AS/400 System Operations 23 Device Menu VS. WRKCFGSTS Understanding AS/400 System Operations 23

Work With Lines Work with Configuration Status (WRKCFGSTS) Type choices, press Enter. Type. . Work With Lines Work with Configuration Status (WRKCFGSTS) Type choices, press Enter. Type. . . *lin *NWS, *NWI, *LIN, *CTL, *DEV Configuration description . *ALL Name, generic*, *ALL, *CMN. . . Output. . . * *, *PRINT Understanding AS/400 System Operations 24

Work With Lines Work with Configuration Status BIGBLUE 06/02/99 19: 28: 38 Position to Work With Lines Work with Configuration Status BIGBLUE 06/02/99 19: 28: 38 Position to . . . Starting characters Type options, press Enter. 1=Vary on 2=Vary off 5=Work with job 8=Work with description 9=Display mode status 13=Work with APPN status. . . Opt Description Status ------Job------- __ ETHLINE ACTIVE __ ETHLINET ACTIVE __ ETHLITCP ACTIVE QTCPIP QTCP 182567 __ QESLINE VARIED OFF __ QTILINE VARIED OFF __ VISA VARIED OFF Bottom Parameters or command ===> ________________________________ F 3=Exit F 4=Prompt F 12=Cancel F 23=More options F 24=More keys Understanding AS/400 System Operations 25

View Controllers Status Work with Configuration Status BIGBLUE 06/02/99 19: 33: 42 Position to View Controllers Status Work with Configuration Status BIGBLUE 06/02/99 19: 33: 42 Position to . . . Starting characters ______ Type options, press Enter. 1=Vary on 2=Vary off 5=Work with job 8=Work with description 9=Display mode status 13=Work with APPN status. . . Opt Description Status -------Job------- CTL 01 VARY ON PENDING DSP 01 VARY ON PENDING ETHLINET ACTIVE ETHLITCP ACTIVE QTCPIP QTCP 182567 QCTL VARIED OFF QCONSOLE VARIED OFF QPACTL 01 ACTIVE QPADEV 000 B SIGNON DISPLAY QPADEV 000 D SIGNON DISPLAY ___ QILANM 3601 VARY ON PENDING More. . . Parameters or command ===> _______________________________ F 3=Exit F 4=Prompt F 12=Cancel F 23=More options F 24=More keys Understanding AS/400 System Operations 26

Explore System Hardware n n n Work with Hardware Products (WRKHDWPRD) Work with hardware Explore System Hardware n n n Work with Hardware Products (WRKHDWPRD) Work with hardware resources (WRKHDWRSC) Display hardware resource (DSPHDWRSC) GO CMDHDWRSC GO HARDWARE Understanding AS/400 System Operations 27

WRKHDWPRD – 9406 Model Work with Hardware Products System: BIGBLUE Select one of the WRKHDWPRD – 9406 Model Work with Hardware Products System: BIGBLUE Select one of the following: 1. Work with rack configuration 2. Copy rack configuration 3. Replace rack configuration Selection ____ F 3=Exit F 12=Cancel (C) COPYRIGHT IBM CORP. 1980, 1998. Understanding AS/400 System Operations 28

WRKHDWPRD – 9402 & 9404 Model Work with Hardware Products System: Select one of WRKHDWPRD – 9402 & 9404 Model Work with Hardware Products System: Select one of the following: 1. Work with system configuration 2. Copy system configuration 3. Replace system configuration 4. Display description label locations 5. Change description label locations Selection _____ F 3=Exit F 12=Cancel (C) COPYRIGHT IBM CORP. 1980, 1998. Understanding AS/400 System Operations 29

Display Description Label Locations System: BIGBLUE System type-model/serial. . . . : 9406 -S Display Description Label Locations System: BIGBLUE System type-model/serial. . . . : 9406 -S 20 / 10 -2 HZ 5 M --------Location--------- Frame EIA Device Card ID Location Position Port Label 1 C 01 1 ETHLINE 1 C 05 1 *NONE 1 C 05 2 *NONE 1 C 09 CTL 01 C 09 1 QESLINE, QTILINE, VISA 1 D 01 TAP 01 1 D 02 OPT 01 Bottom F 3=Exit F 11=Display types/serial numbers F 12=Cancel F 17=Print Understanding AS/400 System Operations 30

Hardware Menu HARDWARE Hardware Resources System: BIGBLUE Select one of the following: 1. Work Hardware Menu HARDWARE Hardware Resources System: BIGBLUE Select one of the following: 1. Work with communication resources 2. Work with local workstation resources 3. Work with storage resources 4. Work with processor resources 5. Work with token ring LAN adapter resources 6. Work with DDI LAN adapter resources 7. Work with all LAN adapter resources 8. Work with coupled system adapter 70. Related commands Selection or command ===> _____________________________________ F 3=Exit F 4=Prompt F 9=Retrieve F 12=Cancel F 13=Information Assistant F 16=AS/400 Main menu (C) COPYRIGHT IBM CORP. 1980, 1998. Understanding AS/400 System Operations 31

Prompted WRKHDWRSC Work with Hardware Resources (WRKHDWRSC) Type choices, press Enter. Type. . . Prompted WRKHDWRSC Work with Hardware Resources (WRKHDWRSC) Type choices, press Enter. Type. . . *CMN, *CSA, *LAN, *LWS. . . Bottom F 3=Exit F 4=Prompt F 5=Refresh F 12=Cancel F 13=How to use this display F 24=More keys Understanding AS/400 System Operations 32

Communication Resources Work with Communication Resources System: BIGBLUE Type options, press Enter. 5=Work with Communication Resources Work with Communication Resources System: BIGBLUE Type options, press Enter. 5=Work with configuration descriptions 7=Display resource detail Opt Resource Type Status Text CMB 01 9164 Operational Combined function IOP LIN 01 2721 Operational Comm Adapter CMN 01 2721 Operational V. 24 Port CMB 02 2809 Operational MFIO Processor LIN 02 2721 Operational Comm Adapter CMN 02 2721 Operational Comm Port CMN 03 2721 Operational Comm Port LIN 03 2838 Operational LAN Adapter CMN 04 2838 Operational Ethernet Port Bottom F 3=Exit F 5=Refresh F 6=Print F 12=Cancel Understanding AS/400 System Operations 33

Display Hardware Resources (DSPHDWRSC) Type choices, press Enter. Type. . . > *AHW, *CMN, Display Hardware Resources (DSPHDWRSC) Type choices, press Enter. Type. . . > *AHW, *CMN, *CSA, *LAN. . . Output. . . * *, *PRINT, *OUTFILE Bottom F 3=Exit F 4=Prompt F 5=Refresh F 12=Cancel F 13=How to use this display F 24=More keys Understanding AS/400 System Operations 34

Display All Hardware Resources System: BIGBLUE Type options, press Enter. 7=Display resource detail Opt Display All Hardware Resources System: BIGBLUE Type options, press Enter. 7=Display resource detail Opt Resource Type-Model Status Text CEC 01 9406 -S 20 Operational Main Card Enclosure PN 01 2468 -001 Operational System Control Panel MP 01 2161 -000 Operational System Processor Card SP 01 9164 -001 Operational Service Processor Card BCC 01 Operational Bus Extender MS 01 3002 -000 Operational Next Level Main Storage MS 02 3002 -000 Operational Next Level Main Storage MS 03 3002 -000 Operational Next Level Main Storage MS 04 3002 -000 Operational Next Level Main Storage MS 05 3002 -000 Operational Next Level Main Storage MS 06 3002 -000 Operational Next Level Main Storage CMB 01 9164 -001 Operational Combined function IOP LIN 01 2721 -001 Operational Comm Adapter CMN 01 2721 -001 Operational V. 24 Port CMB 02 2809 -001 Operational MFIO Processor More. . . F 3=Exit F 5=Refresh F 6=Print F 12=Cancel Understanding AS/400 System Operations 35

DASD and User Auxiliary Storage Pools (ASP) n Data Striping n n n Benefits DASD and User Auxiliary Storage Pools (ASP) n Data Striping n n n Benefits of single-level storage. Does not allocate files to specific disk volumes. System writes files to least-used disk volume. Understanding AS/400 System Operations 36

Benefits of Striping n n All volumes are always balanced, with no effort from Benefits of Striping n n All volumes are always balanced, with no effort from the customer. Read/write activities automatically make use of multiple arms, resulting in faster throughput. Understanding AS/400 System Operations 37

Disadvantages of Data Striping n n If a disk drive is lost, the whole Disadvantages of Data Striping n n If a disk drive is lost, the whole system is lost. The customer must have adequate backup. The objects from some tasks, such as keeping a journal or saving, would perform better if they could be dedicated to specific disk volumes. Understanding AS/400 System Operations 38

Limit Misuse of ASP’s n An ASP dedicated to save files (type *SAVF). n Limit Misuse of ASP’s n An ASP dedicated to save files (type *SAVF). n n n Backups done. ASP dedicated will minimizes time library held. An ASP to hold only journals and receivers. n Two Advantages: n n n Performance improves. Backups are more efficient. A user ASP insure user objects separate from system objects. Understanding AS/400 System Operations 39

Three Types of ASPs 1. 2. ASP 1 is always referred to as the Three Types of ASPs 1. 2. ASP 1 is always referred to as the system ASPs 2 through 16 are two types of user ASPs: 1. 2. 3. Library user ASPs. Non-Library user ASPs. Create ASPs through the DST at IPL time. Understanding AS/400 System Operations 40

Controlling ASPs n There are two ways to protect an ASP from overflowing. n Controlling ASPs n There are two ways to protect an ASP from overflowing. n n Set a threshold. Two system values, QSTGLOWLMT and QSTGLOWACN. Understanding AS/400 System Operations 41

Setting ASP Thresholds System Service Tools (SST) Select one of the following: 1. Start Setting ASP Thresholds System Service Tools (SST) Select one of the following: 1. Start a service tool 2. Work with active service tools 3. Work with disk units 4. Work with diskette data recovery Selection _ F 3=Exit F 10=Command entry F 12=Cancel Understanding AS/400 System Operations 42

Work With Disk Units Work with Disk Units Select one of the following: 1. Work With Disk Units Work with Disk Units Select one of the following: 1. Display disk configuration 2. Work with disk configuration 3. Work with disk unit recovery Selection _ F 3=Exit F 12=Cancel Understanding AS/400 System Operations 43

Work With Disk Configuration Work with Disk Configuration Select one of the following: 1. Work With Disk Configuration Work with Disk Configuration Select one of the following: 1. Display disk configuration 2. Add units to ASPs 3. Work with ASP threshold 4. Include unit in device parity protection 5. Enable remote load source mirroring 6. Disable remote load source mirroring 7. Start compression on non-configured units Selection _ F 3=Exit F 12=Cancel Understanding AS/400 System Operations 44

ASP Selection Select ASP to Change Threshold Type option, press Enter. 1=Select ----Protected--- ---Unprotected-- ASP Selection Select ASP to Change Threshold Type option, press Enter. 1=Select ----Protected--- ---Unprotected-- Option ASP Threshold Overflow Size %Used 1 1 90% No 29360 15. 31% 0 0. 00% F 3=Exit F 12=Cancel Understanding AS/400 System Operations 45

Change Storage Threshold ----Protected--- ---Unprotected-- ASP Threshold Overflow Size %Used 1 90% No 29360 Change Storage Threshold ----Protected--- ---Unprotected-- ASP Threshold Overflow Size %Used 1 90% No 29360 15. 31% 0 0. 00% This is a mirrored ASP. The threshold represents the amount of protected storage used before an attention message is sent to the system operator. Type choice, press Enter. New threshold. . . . ______ 1 -100 F 3=Exit F 11=Display disk configuration status F 12=Cancel Understanding AS/400 System Operations 46