《aix系统应用基础》07dev_第1页
《aix系统应用基础》07dev_第2页
《aix系统应用基础》07dev_第3页
《aix系统应用基础》07dev_第4页
《aix系统应用基础》07dev_第5页
已阅读5页,还剩22页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、 Copyright IBM Corporation 2008,Unit 7Devices, Copyright IBM Corporation 2008,Unit objectives,After completing this unit, you should be able to: Describe the difference between logical and physical devices Describe the purpose of the ODM predefined and customized databases Describe the different sta

2、tes of a device Describe the format of device location codes Use SMIT to add/show/change/delete devices, Copyright IBM Corporation 2008,Device terminology,Physical Devices Ports Device Drivers Logical Devices /dev Directory, Copyright IBM Corporation 2008,Listing of /dev directory,# ls -l /dev brw-r

3、w-rw1rootsystem 20,0Oct 29 02:25fd0 brw-rw-rw1rootsystem 20,64Oct 29 02:26fd1 crw-rw-rw1rootsystem 20,0Oct 29 02:25rfd0 crw-rw-rw1rootsystem 20,64Oct 29 02:26rfd1 : : crw-r-r-1rootsystem 22,0Oct 29 02:25rmt0 crw-r-r-1rootsystem 22,1Oct 29 02:25rmt0.1 : : brw-1rootsystem 14,1Oct 29 02:44hdisk0 brw-1r

4、ootsystem 14,2Nov 1 05:31hdisk1 crw-2rootsystem 14,1Oct 29 02:44rhdisk0 crw-1rootsystem 14,2Nov 1 05:31rhdisk1,fd0,rmt0,rmt1, Copyright IBM Corporation 2008,Device configuration database,Predefined Configuration Database ClassTypeSubclassDescription memorytotmemsys Memory tape4mm4gbscsi 4.0 GB 4mm T

5、ape Drive diskosdiskscsi Other SCSI Disk Drive adapter23100020pci IBM 10/100Mbps Ethernet PCI Adapter (23100020) adapter14101800pci IBM PCI Tokenring Adapter (14101800) adapterchrp_ecpisa_sio CHRP IEEE1284 (ECP) Parallel Port Adapter adapterkeyboardkma_chrp Keyboard Adapter Customized Configuration

6、Database NameStatusLocationDescription sa0Available01-S1Standard I/O 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 ent0Available

7、10-60IBM 10/100 Mbps Ethernet PC Adapter (23100020) lftlftnodeLow Function Terminal Subsystem diskettefdsiofdDiskette Drive printeribm4019parallelIBM 4019 LaserPrinter, Copyright IBM Corporation 2008,List all supported devices,PdDv (Predefined Devices) # lsdev -P -H classtypesubclassdescription memo

8、rytotmemsysMemory tape4mm4gbscsi4.0 GB 4mm Tape Drive diskosdiskscsiOther SCSI Disk Drive adapter22100020pciIBM PCI Ethernet Adapter (22100020) adapter14101800pciIBM PCI Tokenring Adapter (14101800) adapterppaisa_sioStandard I/O Parallel Port Adapter adapterisa_keyboardisa_sioKeyboard Adapter . . #

9、lsdev -Pc tape tape1200mb-cscsi1.2 GB 1/4-Inch Tape Drive tape150mbscsi150 MB 1/4-Inch Tape Drive tape3490escsi3490E Autoloading Tape Drive tape4mm2gbscsi2.0 GB 4mm Tape Drive . ., Copyright IBM Corporation 2008,List all defined devices,CuDv (Customized Devices) # lsdev -C -H namestatuslocationdescr

10、iption sys0AvailableSystemObject pci0AvailablePCI Bus isa0Available10-58ISA Bus sa0Available01-S1Standard I/O Serial Port scsi0Available10-80Wide/Fast-20 SCSI I/O Controller cd0Available10-80-00-3,0SCSI Multimedia CD-ROM Drive rmt0Defined 10-80-00-6,04.0 GB 4mm Tape Drive hdisk0Available 10-80-00-4,

11、016 Bit SCSI Disk Drive hdisk1Available 10-80-00-5,016 Bit SCSI Disk Drive mem0AvailableMemory ent0Available10-60IBM 10/100 Mbps Ethernet PCI tok0Available10-90IBM PCI Tokenring Adapter # lsattr -EH -l sys0 attributevalue description user_settable keylocknormal State of system keylock at boot timeFa

12、lse realmem131072 Amount of usable physical memory KbytesFalse iostattrue Continuously maintain DISK I/O historyTrue # lsattr -E -l sys0 -a realmem realmem131072 Amount of usable physical memory in KbytesFalse, Copyright IBM Corporation 2008,Device states,Predefined Database,Undefined,Supported,Devi

13、ce,Customized Database,Defined,Not Usable,Available,Ready for,Use,rmdev -l,mkdev -l,or,cfgmgr,rmdev -dl,rmdev -dl, Copyright IBM Corporation 2008,Self-configuring devices, Copyright IBM Corporation 2008,SMIT Devices menu,# smit devices,Devices Move cursor to desired item and press Enter. Install/Con

14、figure Devices Added After IPL Printer/Plotter TTY Asynchronous Adapters PTY Console MPIO Management Fixed Disk Disk Array CD ROM Drive Read/Write Optical Drive Diskette Drive Tape Drive Communications Graphic Displays Graphic Input Devices Low Function Terminal (LFT) SCSI Initiator Device SCSI Adap

15、ter FC Adapter IDE Adapter iSCSI Asynchronous I/O Multimedia List Devices Configure/Unconfigure Devices Install Additional Device Software PCI Hot Plug Manager SSA Disks SSA RAID Arrays, Copyright IBM Corporation 2008,Device addressing,Location codes are used for device addressing The location code

16、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 device Location codes consist of up to four fields of information depending on the type of device Location codes differ based on model ty

17、pe, Copyright IBM Corporation 2008,Location code format for PCI devices,AB-CD-EF-GH, Copyright IBM Corporation 2008,Location code example: Non-SCSI,128-Port Asynchronous Controller, Copyright IBM Corporation 2008,Location code format for SCSI devices, Copyright IBM Corporation 2008,Location code exa

18、mple for SCSI device, Copyright IBM Corporation 2008,Physical location codes,Assigned by system firmware Used to uniquely identify hardware for: Assigning adapters to logical partitions Identifying field replaceable units (FRU) Structure of a physical location code: .- Enclosure is usually: . Exampl

19、e, U787A.001.DNZ0713-P1-C3 Displayed by default with lscfg command, Copyright IBM Corporation 2008,Listing device physical locations,CuDv Customized Devices # lsdev -C -H -F name status physloc location description name status physloc location description en1 Defined 01-08 Standard Ethernet Network

20、ent1 Defined U789D.001.DQDWAYT-P1-C4-T1 01-08 10/100/1000 Base-TX et1 Defined 01-08 IEEE 802.3 Ethernet hdisk2 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 scsi0 Defined U7311.D20.107F67B-P1-C04 02-

21、08-00 PCI X Dual Channel scsi1 Defined U7311.D20.107F67B-P1-C04 02-08-01 PCI X Dual Channel ses0 Defined U7311.D20.107F67B-P1-C04-AF 02-08-01-15,0 SCS Enclosure Services sisscsia0 Defined U7311.D20.107F67B-P1-C04 02-08 PCI XDDR Dual Channel, Copyright IBM Corporation 2008,Adding an ASCII terminal,TT

22、Y Move 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 TTY F1=Help F2=Refresh F3=Cancel F8=Image F9=Shell F10=Exit Enter=Do, Copyright IBM C

23、orporation 2008,Attachment,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 sa1Available01-S2 Standard I/O Serial Port 2 sa2Av

24、ailable1P-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, Copyright IBM Corporation 2008,Device nomenclature, Copyright IBM Corporation 2008,Add a TTY,Add a TTY Type or select

25、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 character 8 + Number of STOP BITS 1 + TIME before adv

26、ancing to next port setting 0 +# TERMINAL type dumb FLOW CONTROL to be used xon + MORE.31 F1=Help F2=Refresh F3=Cancel F4=List Esc+5=Reset Esc+6=Command Esc+7=Edit Esc+8=Image Esc+9=Shell Esc+0=Exit Enter=Do, Copyright IBM Corporation 2008,Documenting hardware configuration,lsdev -CH Provides name,

27、status, location, and description of devices lscfg -v Provides details of all devices including manufacturer, type and model number, and part numbers lsattr -El sys0 Provides attributes for the name device (for example, sys0) Run command for all devices getconf -a Provides the values of all system c

28、onfiguration variables, Copyright IBM Corporation 2008,Checkpoint (1 of 2),Is it possible to use SCSI ID 7 for a new tape drive? _ _ Use the output on the next visual (lsdev -C -H) to answer the following four questions. What happens if we attempt to add another device with the SCSI address set to 4

29、? _ _ Can the 8 mm tape drive be currently used? Why? _ _ Where is the printer connected? _ The Ethernet adapter is installed in what slot? _ _, Copyright IBM Corporation 2008,Checkpoint (2 of 2),# lsdev -C H namestatuslocationdescription sys0AvailableSystem Object pci0AvailablePCI Bus isa0Available

30、10-58ISA Bus ppa0Available01-R1Standard I/O Parallel Port Adapter lp0Available01-R1-00-00IBM 4039 LaserPrinter sa0Available01-S1Standard I/O Serial Port 1 tty0Available01-S1-00-00Asynchronous Terminal mem0AvailableMemory scsi0Available10-80Wide SCSI I/O Controller rmt0Defined10-80-00-3,05.0 GB 8 mm

31、Tape Drive hdisk0Available10-80-00-4,0SCSI Disk Drive ent0Available 10-60IBM PCI 10/100 Ethernet Adapter, Copyright IBM Corporation 2008,Checkpoint solutions,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 used for other devices. Use the

32、output on the next visual (lsdev -C -H) to answer the following four questions. 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. Can the 8 mm tape drive be currently used? Why? No, because it is in the define

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论