View hardware configuration on AIX

Source: Internet
Author: User
View memory
Run # lsdev-Cc memory
View the configured physical memory device. The following is an example of its output:
Mem0 Available 00-00 Memory
L2cache0 Available 00-00 L2 Cache
Use the command # lsattr-El mem0
Output:
Size 512 Total amount of physical memory in Mbytes False
Goodsize 512 Amount of usable physical memory in Mbytes False
In this example, the physical memory of the machine is 512 MB. If there is mem1 in the output of lsdev, run the same command to view the corresponding size and push it accordingly.
Or
# Bootinfo-r
View physical memory

Prtconf can view all information about the system, such as cpu memory hard disk ..

Display the frequency of each CPU
# Pmcycles-m

View the machine model, SN
# Uname-Mu:
IBM, 7043-150 IBM, 01105DE2CE
Among them, IBM, 7043-150 is the model, and 105DE2CE in 01105DE2CE is the sn indicated on the machine: 10-5DE2CE, that is, the sequential number.

View system maintenance level/* Note: maintenance
# Oslevel-s

View Hard Disk
For the 7133 hard drive system, type lsdev-CHc pdiskIBM
For other hard disks, type: # lsdev-CHc disk
 
View adapter card
# Lsdev-CHc adapter

Enter the command # diag to enter the diagnostic mode to view the hardware information.

Modify system parameters
Modify system time zone # smitty chtz
Modify system time # smitty data
Modify asynchronous IO # smitty chgaio
Change the maximum number of processes # smitty chgsys
Change the number of system users # smitty chlicense
Configure host name and IP # smitty mktcpip
You can run the # lscfg-vl ent0 command to check which expansion slot the ent0 Nic is located in.

Configure the Paging Space (hd6) and System File System of the system.
1. Check the size of the PP on rootvg. Type # lsvg rootvg and confirm that the PP size is 32 MB.
Pp size: 32 megabyte (s)
2. Check the default hd6 size.
# Lsps-
PageSpace PhysicalVolume VolumeGroup Size % Used Active Auto Type
Hd6 hdisk0 rootvg 512 MB 1 yes lv
The default system has only one hd6 space and is relatively small.
The size of swap space is related to the memory size and application. If you do not know the memory usage of the application, you can set it according to the following principles. When the memory is less than 2 GB,
The size of swap space should be twice the size of the memory. When the memory is smaller than 8 GB and larger than 2 GB, the swap space size should be the same as the memory size. Memory larger than 8 GB
The swap space should be half the memory size.

Install the extension subsystem: # smitty install_all (NOTE: When installing the software, use "/" to activate the find dialog box)

Install MAN: insert the base documentation disc and type the # smitty install_latest command.

Use update CD to upgrade: Enter the CD and type # smitty update_all.

Use PTF to upgrade the disk: Enter the disk and type # smitty update_all.

Check the patch applied by the current system: # instfix-I | grep AIX_ML.

Create a disk Boot Image
# Bosboot-ad/dev/hdisk0

View startup sequence
# Bootlist-m normal-o

Set the startup sequence
# Bootlist-m normal hdisk0 hdisk1

View server microcodes
# Lsmcode

Upgrade server microcode
#/Usr/lpp/diagnostics/bin/update_flash-f img file name.
 
The server has two local hard disks set as rootvg and images.
# Extendvg rootvg hdisk1 (add hdisk1 to rootvg)
# Mirrorvg rootvg (create an image using rootvg)

Clone rootvg to backup disk hdisk1
# Alt_disk_install-O-B-C hdisk1

Rename the backup volume group on hdisk1 to backup_vg
# Alt_disk_install-V backup_vg hdisk1

Delete backup volume group backup_vg
# Alt_disk_install-X backup_vg

Original article: http://www.cnblogs.com/elegantok/archive/2008/11/13/1332473.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.