aix系统应用基础devices.pptx

上传人:莉*** 文档编号:87565410 上传时间:2023-04-16 格式:PPTX 页数:27 大小:741.28KB
返回 下载 相关 举报
aix系统应用基础devices.pptx_第1页
第1页 / 共27页
aix系统应用基础devices.pptx_第2页
第2页 / 共27页
点击查看更多>>
资源描述

《aix系统应用基础devices.pptx》由会员分享,可在线阅读,更多相关《aix系统应用基础devices.pptx(27页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、 Copyright IBM Corporation 2008Unit objectivesAfter completing this unit,you should be able to:Describe the difference between logical and physical devicesDescribe the purpose of the ODM predefined and customized databasesDescribe the different states of a deviceDescribe the format of device locatio

2、n codesUse SMIT to add/show/change/delete devices第1页/共27页 Copyright IBM Corporation 2008Device terminologyPhysical DevicesPortsDevice DriversLogical Devices/dev Directory第2页/共27页 Copyright IBM Corporation 2008Listing of/dev directory#ls-l/devbrw-rw-rw1rootsystem 20,0 Oct 29 02:25fd0brw-rw-rw1rootsys

3、tem 20,64Oct 29 02:26fd1crw-rw-rw1rootsystem 20,0 Oct 29 02:25rfd0crw-rw-rw1rootsystem 20,64Oct 29 02:26rfd1:crw-r-r-1rootsystem 22,0 Oct 29 02:25rmt0crw-r-r-1rootsystem 22,1 Oct 29 02:25rmt0.1:brw-1rootsystem 14,1 Oct 29 02:44hdisk0brw-1rootsystem 14,2 Nov 1 05:31hdisk1crw-2rootsystem 14,1 Oct 29 0

4、2:44rhdisk0crw-1rootsystem 14,2 Nov 1 05:31rhdisk1fd0rmt0rmt1第3页/共27页 Copyright IBM Corporation 2008Device configuration database Predefined Configuration DatabaseClassTypeSubclassDescriptionmemorytotmemsys Memorytape4mm4gbscsi 4.0 GB 4mm Tape Drivediskosdiskscsi Other SCSI Disk Driveadapter23100020

5、pci IBM 10/100Mbps Ethernet PCI Adapter(23100020)adapter14101800pci IBM PCI Tokenring Adapter(14101800)adapterchrp_ecpisa_sio CHRP IEEE1284(ECP)Parallel Port Adapteradapterkeyboardkma_chrp Keyboard Adapter Customized Configuration Database NameStatusLocationDescription sa0Available01-S1Standard I/O

6、Serial Port sioka0Available01-K1-00Keyboard Adapter rmt0Available10-80-00-0.0SCSI 4mm Tape Drive hdisk0Available10-80-00-4,016 Bit SCSI Disk Drive hdisk1Available 10-80-00-5,016 Bit SCSI Disk Drive mem0AvailableMemory ent0Available10-60IBM 10/100 Mbps Ethernet PC Adapter(23100020)lftlftnodeLow Funct

7、ion Terminal SubsystemdiskettefdsiofdDiskette Driveprinteribm4019parallelIBM 4019 LaserPrinter第4页/共27页 Copyright IBM Corporation 2008List all supported devices PdDv (Predefined Devices)#lsdev-P-HclasstypesubclassdescriptionmemorytotmemsysMemorytape4mm4gbscsi4.0 GB 4mm Tape DrivediskosdiskscsiOther S

8、CSI Disk Driveadapter22100020pciIBM PCI Ethernet Adapter(22100020)adapter14101800pciIBM PCI Tokenring Adapter(14101800)adapterppaisa_sioStandard I/O Parallel Port Adapteradapterisa_keyboardisa_sioKeyboard Adapter.#lsdev-Pc tapetape1200mb-cscsi1.2 GB 1/4-Inch Tape Drivetape150mbscsi150 MB 1/4-Inch Ta

9、pe Drivetape3490escsi3490E Autoloading Tape Drivetape4mm2gbscsi2.0 GB 4mm Tape Drive.第5页/共27页 Copyright IBM Corporation 2008List all defined devices CuDv (Customized Devices)#lsdev-C-Hnamestatuslocationdescriptionsys0AvailableSystemObjectpci0AvailablePCI Busisa0Available10-58ISA Bussa0Available01-S1

10、Standard I/O Serial Port scsi0Available10-80Wide/Fast-20 SCSI I/O Controllercd0Available10-80-00-3,0 SCSI Multimedia CD-ROM Drivermt0Defined 10-80-00-6,0 4.0 GB 4mm Tape Drivehdisk0Available 10-80-00-4,0 16 Bit SCSI Disk Drivehdisk1Available 10-80-00-5,0 16 Bit SCSI Disk Drivemem0AvailableMemoryent0

11、Available10-60IBM 10/100 Mbps Ethernet PCI tok0Available10-90IBM PCI Tokenring Adapter#lsattr-EH-l sys0attribute value description user_settablekeylocknormal State of system keylock at boot timeFalserealmem131072 Amount of usable physical memory KbytesFalseiostattrue Continuously maintain DISK I/O h

12、istoryTrue#lsattr-E-l sys0-a realmemrealmem131072 Amount of usable physical memory in KbytesFalse第6页/共27页 Copyright IBM Corporation 2008Device statesPredefined DatabaseUndefinedSupportedDeviceCustomized DatabaseDefinedNot UsableAvailableReady forUsermdev-lmkdev-lorcfgmgrrmdev-dlrmdev-dl第7页/共27页 Copy

13、right IBM Corporation 2008Self-configuring devicescfgmgr1.Who are you?2.Answer:-CD-ROM-10-80-00-3,0ODM:cd0defined10-80-00-3,0Device DriverKernel/unixDevice Driver39#ls-l/dev/cd0br-r-r-rootsystem39,0/dev/cd0ODM:cd0available10-80-00-3,03.cd0 defined4a)Load device driver4b)Make /dev/cd0 entry5.Device a

14、vailable第8页/共27页 Copyright IBM Corporation 2008SMIT Devices menu#smit devices DevicesMove cursor to desired item and press Enter.Install/Configure Devices Added After IPLPrinter/PlotterTTYAsynchronous AdaptersPTYConsoleMPIO ManagementFixed DiskDisk ArrayCD ROM DriveRead/Write Optical DriveDiskette D

15、riveTape DriveCommunicationsGraphic DisplaysGraphic Input DevicesLow Function Terminal(LFT)SCSI Initiator DeviceSCSI AdapterFC AdapterIDE AdapteriSCSIAsynchronous I/OMultimediaList DevicesConfigure/Unconfigure DevicesInstall Additional Device SoftwarePCI Hot Plug ManagerSSA DisksSSA RAID Arrays第9页/共

16、27页 Copyright IBM Corporation 2008Device addressingLocation codes are used for device addressingThe location code for a device is a path from the adapter in the CPU drawer or system unit,through the signal cables and the asynchronous distribution box(if there is one)to the deviceLocation codes consi

17、st of up to four fields of information depending on the type of deviceLocation codes differ based on model type第10页/共27页 Copyright IBM Corporation 2008Location code format for PCI devices AB-CD-EF-GH第11页/共27页 Copyright IBM Corporation 2008Location code example:Non-SCSI128-Port Asynchronous Controlle

18、rSystem Unit128-Port Adapter1P-101P-10-11-011P-10-11-070 1 2 3 4 5 6 78 9 10 11 12 13 14 1510 1 2 3 4 5 6 78 9 10 11 12 13 14 151211P-10-21-101P-10-22-04RemoteAsync Node(RAN)0 1 2 3 4 5 6 78 9 10 11 12 13 14 152第12页/共27页 Copyright IBM Corporation 2008Location code format for SCSI devices第13页/共27页 Co

19、pyright IBM Corporation 2008Location code example for SCSI device第14页/共27页 Copyright IBM Corporation 2008Physical location codesAssigned by system firmwareUsed to uniquely identify hardware for:Assigning adapters to logical partitionsIdentifying field replaceable units(FRU)Structure of a physical lo

20、cation code:.-Enclosure is usually:.Example,U787A.001.DNZ0713-P1-C3 Displayed by default with lscfg command第15页/共27页 Copyright IBM Corporation 2008Listing device physical locations CuDv Customized Devices#lsdev-C-H-F name status physloc location description name status physloc location description e

21、n1 Defined 01-08 Standard Ethernet Network ent1 Defined U789D.001.DQDWAYT-P1-C4-T1 01-08 10/100/1000 Base-TX et1 Defined 01-08 IEEE 802.3 Ethernethdisk2 Defined U7311.D20.107F67B-P1-C04-A8 02-08-01-8,0 16 Bit LVD SCSI Disk hdisk3 Defined U7311.D20.107F67B-P1-C04-A9 02-08-01-9,0 16 Bit LVD SCSI Disk

22、scsi0 Defined U7311.D20.107F67B-P1-C04 02-08-00 PCI X Dual Channelscsi1 Defined U7311.D20.107F67B-P1-C04 02-08-01 PCI X Dual Channelses0 Defined U7311.D20.107F67B-P1-C04-AF 02-08-01-15,0 SCS Enclosure Servicessisscsia0 Defined U7311.D20.107F67B-P1-C04 02-08 PCI XDDR Dual Channel第16页/共27页 Copyright I

23、BM Corporation 2008Adding an ASCII terminal TTYMove cursor to desired item and press Enter.List All Defined TTYs Add a TTY Move a TTY to Another Port Change/Show Characteristics of a TTY Remove a TTY Configure a Defined TTY Generate an Error Report Trace a TTYF1=Help F2=Refresh F3=Cancel F8=ImageF9=

24、Shell F10=Exit Enter=Do第17页/共27页 Copyright IBM Corporation 2008Attachment TTY Type Move cursor to desired item and press Enter.tty rs232 Asynchronous Terminal tty rs422 Asynchronous Terminal Parent Adapter Move cursor to desired item and press Enter.sa0Available01-S1 Standard I/O Serial Port 1 sa1Av

25、ailable01-S2 Standard I/O Serial Port 2 sa2Available1P-03-11 16-Port RAN EIA-232 for 128-Port adapter sa3Available1P-03-12 16-Port RAN EIA-232 for 128-Port adapter sa4Available1P-03-13 16-Port RAN EIA-232 for 128 Port adapter 第18页/共27页 Copyright IBM Corporation 2008Device nomenclature第19页/共27页 Copyr

26、ight IBM Corporation 2008Add a TTY Add a TTYType or select values in entry fields.Press Enter AFTER making all desired changes.TOP Entry Fields TTY type tty TTY interface rs232 Description Asynchronous Terminal Parent adapter sa0*PORT number +Enable LOGIN disable +BAUD rate +PARITY none +BITS per ch

27、aracter 8 +Number of STOP BITS 1 +TIME before advancing to next port setting 0 +#TERMINAL type dumb FLOW CONTROL to be used xon +MORE.31F1=Help F2=Refresh F3=Cancel F4=ListEsc+5=Reset Esc+6=Command Esc+7=Edit Esc+8=ImageEsc+9=Shell Esc+0=Exit Enter=Do第20页/共27页 Copyright IBM Corporation 2008Documenti

28、ng hardware configuration lsdev-CHProvides name,status,location,and description of devices lscfg-vProvides details of all devices including manufacturer,type and model number,and part numbers lsattr-El sys0Provides attributes for the name device(for example,sys0)Run command for all devices getconf-a

29、Provides the values of all system configuration variables第21页/共27页 Copyright IBM Corporation 2008Checkpoint(1 of 2)1.Is it possible to use SCSI ID 7 for a new tape drive?_ 2.Use the output on the next visual(lsdev-C-H)to answer the following four questions.a)What happens if we attempt to add another

30、 device with the SCSI address set to 4?_b)Can the 8 mm tape drive be currently used?Why?_c)Where is the printer connected?_d)The Ethernet adapter is installed in what slot?_第22页/共27页 Copyright IBM Corporation 2008Checkpoint(2 of 2)#lsdev-C Hnamestatuslocationdescriptionsys0AvailableSystem Objectpci0

31、AvailablePCI Busisa0Available10-58ISA Busppa0Available01-R1Standard I/O Parallel Port Adapterlp0Available01-R1-00-00IBM 4039 LaserPrintersa0Available01-S1Standard I/O Serial Port 1tty0Available01-S1-00-00Asynchronous Terminalmem0AvailableMemoryscsi0Available10-80Wide SCSI I/O Controllerrmt0Defined10

32、-80-00-3,05.0 GB 8 mm Tape Drivehdisk0Available10-80-00-4,0SCSI Disk Driveent0Available 10-60IBM PCI 10/100 Ethernet Adapter 第23页/共27页 Copyright IBM Corporation 2008Checkpoint solutions1.Is it possible to use SCSI ID 7 for a new tape drive?No.The SCSI adapter itself uses ID 7.So,it cannot be usedfor

33、 other devices.2.Use the output on the next visual(lsdev-C-H)to answer the following four questions.a)What happens if we attempt to add another device with the SCSI address set to 4?The operation fails as there is already a device(SCSI Disk Drive)configured at this location.b)Can the 8 mm tape drive

34、 be currently used?Why?No,because it is in the defined state.You have to first make it available by either using SMIT or the mkdev command.c)Where is the printer connected?The parallel portd)The Ethernet adapter is installed in what slot?It is an integrated adapter which does not occupy a slot on th

35、e PCI bus.第24页/共27页 Copyright IBM Corporation 2008Exercise 7:Devices List device configurationList and change system parametersConfigure a tape deviceConfigure a CD-ROM device第25页/共27页 Copyright IBM Corporation 2008Unit summaryA physical device is the actual hardware attached to the system.A logical

36、 device is the software interface used by programs and users to access a physical device.Device information is stored in the ODM in two databases:customized and predefinedDevices can exist in a number of different states:unavailable,defined,available and stoppedLocation codes are used to describe exactly where a device is connected into the system.Device attributes can be modified through SMIT.To create,modify,or remove device definitions,it is sometimes necessary to use commands such as mkdev,chdev,and rmdev.第26页/共27页感谢您的观看!第27页/共27页

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 应用文书 > PPT文档

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁