分类: DB2/Informix
2007-12-06 10:34:22
[technology] IBM-AIX的一些命令输出信息
环境:IBM P630 AIX 5.1+HACMP 4.5
# prtconf (这个打印的消息够详细了)
System Model: IBM,7028-6C4 //机器型号
Machine Serial Number: 65E899C //机器序列号
Processor Type: PowerPC_POWER4 //处理器类型
Number Of Processors: 2 //处理器数量
Processor Clock Speed: 1453 MHz //处理器频率
CPU Type: 64-bit //64位CPU
Kernel Type: 32-bit //32位内核
LPAR Info: 1 NULL //逻辑分区功能
Memory Size: 2048 MB //内存大小
Good Memory Size: 2048 MB //可用内存,看来内存正常
Firmware Version: IBM,RG041029_d79e00_r //小型机微码
Console Login: enable //允许console口登陆
Auto Restart: false //false?看来得改成ture了
Full Core: true
Network Information //网络信息
Host Name: mscp1
IP Address: 139.131.1.21
Sub Netmask: 255.255.255.0
Gateway: 139.131.1.72
Name Server:
Domain Name:
Paging Space Information
Total Paging Space: 512MB
Percent Used: 2%
Volume Groups Information //卷组信息,pdisk组成hdisk,在hdisk上划分vg,在vg上创建lv,关系基本上就是这样,看来一些正常
==============================================================================
datavg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk3 active 2172 684 51..00..00..198..435
==============================================================================
rootvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk0 active 271 229 54..34..33..54..54
hdisk1 active 271 233 54..38..33..54..54
==============================================================================
scpvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk2 active 2172 100 00..00..00..00..100
==============================================================================
INSTALLED RESOURCE LIST
The following resources are installed on the machine.
+/- = Added or deleted from Resource List.
* = Diagnostic support not available.
Model Architecture: chrp
Model Implementation: Multiple Processor, PCI bus
+ sys0 00-00 System Object
+ sysplanar0 00-00 System Planar
+ mem0 00-00 Memory
+ proc0 00-00 Processor
+ L2cache0 00-00 L2 Cache
+ proc1 00-01 Processor
* pci0 00-400000000110 PCI Bus
* isa0 1G-18 ISA Bus
+ fda0 01-D1 Standard I/O Diskette Adapter
* siokma0 01-K1 Keyboard/Mouse Adapter
+ sioka0 01-K1-00 Keyboard Adapter
+ kbd0 01-K1-00-00 PS/2 keyboard
+ sioma0 01-K1-01 Mouse Adapter
+ mouse0 01-K1-01-00 3 button mouse
+ ppa0 01-R1 CHRP IEEE1284 (ECP) Parallel Port
Adapter
+ lp0 01-R1-00-00 Other parallel printer
+ sa0 01-S1 Standard I/O Serial Port
+ tty0 01-S1-00-00 Asynchronous Terminal
+ sa1 01-S2 Standard I/O Serial Port
+ tty2 01-S2-00-00 Asynchronous Terminal
+ sa2 01-S3 Standard I/O Serial Port
+ tty1 01-S3-00-00 Asynchronous Terminal
* ide0 1G-19 ATA/IDE Controller Device
+ cd0 1G-19-00 IDE CD-ROM Drive I (650 MB)
* pci3 1G-10 PCI Bus
+ ent0 1H-08 10/100 Mbps Ethernet PCI Adapter II
(1410ff01)
* pci4 1G-12 PCI Bus
+ ent1 1L-08 10/100 Mbps Ethernet PCI Adapter II
(1410ff01)
* pci5 1G-14 PCI Bus
+ scsi0 1S-08 Wide/Ultra-3 SCSI I/O Controller
+ hdisk0 1S-08-00-8,0 16 Bit LVD SCSI Disk Drive (36400
MB)
+ hdisk1 1S-08-00-9,0 16 Bit LVD SCSI Disk Drive (36400
MB)
+ ses0 1S-08-00-15,0 SCSI Enclosure Services Device
+ scsi1 1S-09 Wide/Ultra-3 SCSI I/O Controller
* pci6 1G-16 PCI Bus
+ ent2 1V-08 10/100 Mbps Ethernet PCI Adapter II
(1410ff01)
* pci1 00-400000000111 PCI Bus
* pci7 1Y-10 PCI Bus
* pci8 1Y-12 PCI Bus
+ scsi2 1c-08 Wide/Fast-20 SCSI I/O Controller
+ rmt0 1c-08-00-0,0 SCSI 4mm Tape Drive (20480 MB)
* pci9 1Y-16 PCI Bus
* pci10 1n-08 PCI Bus
+ lai0 1p-00 GXT135P Graphics Adapter
* pci2 00-400000000112 PCI Bus
* pci11 10-10 PCI Bus
+ ssa0 11-08 IBM SSA 160 SerialRAID Adapter
(14109100)
* pci12 10-12 PCI Bus
+ ent3 14-08 10/100 Mbps Ethernet PCI Adapter II
(1410ff01)
* pci13 10-16 PCI Bus
+ enclosure1 00-00-SCP1 SSA Enclosure
* hdisk2 11-08-L SSA Logical Disk Drive
* hdisk3 11-08-L SSA Logical Disk Drive
+ pdisk5 11-08-SCP1-01-P SSA160 Physical Disk Drive (36400
MB)
+ pdisk6 11-08-SCP1-04-P SSA160 Physical Disk Drive (36400
MB)
+ pdisk4 11-08-SCP1-05-P SSA160 Physical Disk Drive (36400
MB)
+ pdisk7 11-08-SCP1-08-P SSA160 Physical Disk Drive (36400
MB)
# lsdev -C
sys0 Available 00-00 System Object
sysplanar0 Available 00-00 System Planar
pci0 Available 00-400000000110 PCI Bus
pci1 Available 00-400000000111 PCI Bus
pci2 Available 00-400000000112 PCI Bus
isa0 Available 1G-18 ISA Bus
sa0 Available 01-S1 Standard I/O Serial Port
sa1 Available 01-S2 Standard I/O Serial Port
sa2 Available 01-S3 Standard I/O Serial Port
siokma0 Available 01-K1 Keyboard/Mouse Adapter
fda0 Available 01-D1 Standard I/O Diskette Adapter
ide0 Available 1G-19 ATA/IDE Controller Device
pci3 Available 1G-10 PCI Bus
pci4 Available 1G-12 PCI Bus
pci5 Available 1G-14 PCI Bus
scsi0 Available 1S-08 Wide/Ultra-3 SCSI I/O Controller
scsi1 Available 1S-09 Wide/Ultra-3 SCSI I/O Controller
pci6 Available 1G-16 PCI Bus
pci7 Available 1Y-10 PCI Bus
pci8 Available 1Y-12 PCI Bus
scsi2 Available 1c-08 Wide/Fast-20 SCSI I/O Controller
pci9 Available 1Y-16 PCI Bus
pci10 Available 1n-08 PCI Bus
lai0 Available 1p-00 GXT135P Graphics Adapter
pci11 Available 10-10 PCI Bus
ssa0 Available 11-08 IBM SSA 160 SerialRAID Adapter (14109100)
pci12 Available 10-12 PCI Bus
pci13 Available 10-16 PCI Bus
cd0 Available 1G-19-00 IDE CD-ROM Drive I (650 MB)
hdisk0 Available 1S-08-00-8,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 1S-08-00-9,0 16 Bit LVD SCSI Disk Drive
rmt0 Available 1c-08-00-0,0 SCSI 4mm Tape Drive
mem0 Available 00-00 Memory
proc0 Available 00-00 Processor
proc1 Available 00-01 Processor
L2cache0 Available 00-00 L2 Cache
sioka0 Available 01-K1-00 Keyboard Adapter
kbd0 Available 01-K1-00-00 PS/2 keyboard
lvdd Available LVM Device Driver
lft0 Available Low Function Terminal Subsystem
tty0 Available 01-S1-00-00 Asynchronous Terminal
ssar Defined SSA Adapter Router
datavg Defined Volume group
rootvg Defined Volume group
hd5 Defined Logical volume
hd6 Defined Logical volume
hd8 Defined Logical volume
hd4 Defined Logical volume
hd2 Defined Logical volume
hd9var Defined Logical volume
hd3 Defined Logical volume
hd1 Defined Logical volume
hd10opt Defined Logical volume
lg_dumplv Defined Logical volume
ppa0 Available 01-R1 CHRP IEEE1284 (ECP) Parallel Port Adapter
ent0 Available 1H-08 10/100 Mbps Ethernet PCI Adapter II (1410ff01)
ent1 Available 1L-08 10/100 Mbps Ethernet PCI Adapter II (1410ff01)
ent2 Available 1V-08 10/100 Mbps Ethernet PCI Adapter II (1410ff01)
ent3 Available 14-08 10/100 Mbps Ethernet PCI Adapter II (1410ff01)
sioma0 Available 01-K1-01 Mouse Adapter
ses0 Available 1S-08-00-15,0 SCSI Enclosure Services Device
mouse0 Available 01-K1-01-00 3 button mouse
inet0 Available Internet Network Extension
en0 Available 1H-08 Standard Ethernet Network Interface
en1 Available 1L-08 Standard Ethernet Network Interface
en2 Defined 1V-08 Standard Ethernet Network Interface
en3 Available 14-08 Standard Ethernet Network Interface
et0 Defined 1H-08 IEEE 802.3 Ethernet Network Interface
et1 Defined 1L-08 IEEE 802.3 Ethernet Network Interface
et2 Defined 1V-08 IEEE 802.3 Ethernet Network Interface
et3 Defined 14-08 IEEE 802.3 Ethernet Network Interface
lo0 Available Loopback Network Interface
pty0 Available Asynchronous Pseudo-Terminal
gxme0 Available Graphics Data Transfer Assist Subsystem
rcm0 Available Rendering Context Manager Subsystem
aio0 Available Asynchronous I/O
usbpd0 Defined USB system software
lvinformix Defined Logical volume
lvdbtemp Defined Logical volume
tty1 Available 01-S3-00-00 Asynchronous Terminal
pdisk4 Available 11-08-SCP1-05-P SSA160 Physical Disk Drive
pdisk5 Available 11-08-SCP1-01-P SSA160 Physical Disk Drive
pdisk6 Available 11-08-SCP1-04-P SSA160 Physical Disk Drive
pdisk7 Available 11-08-SCP1-08-P SSA160 Physical Disk Drive
enclosure1 Available 00-00-SCP1 SSA Enclosure
hdisk2 Available 11-08-L SSA Logical Disk Drive
hdisk3 Available 11-08-L SSA Logical Disk Drive
scpvg Defined Volume group
lvrootdbs Defined Logical volume
lvscu Defined Logical volume
lvsms Defined Logical volume
loglv00 Defined Logical volume
lvtempdbs1 Defined Logical volume
lvtempdbs2 Defined Logical volume
lvlogdbs Defined Logical volume
lvphydbs Defined Logical volume
lvworkdbs1 Defined Logical volume
lvworkdbs2 Defined Logical volume
lvworkdbs3 Defined Logical volume
lvworkdbs4 Defined Logical volume
lvworkdbs5 Defined Logical volume
lvworkdbs6 Defined Logical volume
lvworkdbs7 Defined Logical volume
lvworkdbs8 Defined Logical volume
lvworkdbs9 Defined Logical volume
lvworkdbs10 Defined Logical volume
tty2 Available 01-S2-00-00 Asynchronous Terminal
lp0 Available 01-R1-00-00 Other parallel printer
# lsattr -El proc0 //显示比较详细的信息
state enable Processor state False
type PowerPC_POWER4 Processor type False
frequency 1453000000 Processor Speed False
# lsvg -l rootvg(一个l,一个L,区别还是很大的) //查看rootvg上的文件系统
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 4 8 2 open/syncd N/A
hd8 jfslog 1 2 2 open/syncd N/A
hd4 jfs 1 2 2 open/syncd /
hd2 jfs 12 24 2 open/syncd /usr
hd9var jfs 1 2 2 open/syncd /var
hd3 jfs 4 8 2 open/syncd /tmp
hd1 jfs 1 2 2 open/syncd /home
hd10opt jfs 1 2 2 open/syncd /opt
lg_dumplv sysdump 8 8 1 closed/syncd N/A
lvinformix jfs 12 12 1 open/syncd /opt/informix
lvdbtemp jfs 8 8 1 open/syncd /opt/informix/temp
# lsvg -L rootvg //查看rootvg的基本信息,大小,状态,PP信息,LV,PV等。
VOLUME GROUP: rootvg VG IDENTIFIER: 005e899c00004c000000010455c36b29
VG STATE: active PP SIZE: 128 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 542 (69376 megabytes)
MAX LVs: 256 FREE PPs: 462 (59136 megabytes)
LVs: 12 USED PPs: 80 (10240 megabytes)
OPEN LVs: 10 QUORUM: 1
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: yes
MAX PPs per PV: 1016 MAX PVs: 32
LTG size: 128 kilobyte(s) AUTO SYNC: no
HOT SPARE: no
smitty后的一些东东
Move cursor to desired item and press Enter.
Software Installation and Maintenance
Software License Management
Devices
System Storage Management (Physical & Logical Storage)
Security & Users
Communications Applications and Services
Print Spooling
Problem Determination
Performance & Resource Scheduling
System Environments
Processes & Subsystems
Applications
Cluster System Management
Using SMIT (information only)
双机状态查询 //2个节点,都是UP,看来一些正常
clstat - HACMP Cluster Status Monitor
-------------------------------------
Cluster: dpscp (75810)
Thu Oct 20 17:53:40 BEIST 2005
State: UP Nodes: 2
SubState: STABLE
Node: mscp1 State: UP
Interface: mscp1_svc (0) Address: 139.131.1.21
State: UP
Interface: mscp1_tty (1) Address: 0.0.0.0
State: UP
Node: mscp2 State: UP
Interface: mscp2_svc (0) Address: 139.131.1.22
State: UP
Interface: mscp2_tty (1) Address: 0.0.0.0
State: UP
( To be continued)