AIX system parameter configuration

AIX system parameter configuration

Original Linux operating system Author: fanhongjie Time: 2008-05-08 22:46:37 540 0
AIX kernel are dynamic core, the core parameters may be automatically adjusted substantially, so when the system is installed, the modified parameters should be considered in general as follows: [@ More @]

a, stand-alone environment
1, the maximum number of system users login maxlogin
maxlogin specific the user can set the number of size, can be modified by smitty chlicense command parameter is recorded in the file /etc/security/login.cfg changes take effect after the system restarts.

2, the system user limits parameters
These parameters are / etc / security / limits file, these parameters can be set to -1, i.e., unrestricted, can be modified vi / etc / security / limits file, all modifications log on again after the entry into force.
default:
fsize ---- = 2097151 "to -1
Core = 2097151
CPU = -1
Data = 262144 ----" to -1
RSS = 65536
Stack = 65536
the nofiles = 2000

. 3, the Paging Space
check the paging space size, in the physical memory <when 2G, should be set to at least 1.5 times the physical memory, the physical memory if>; 2G, make appropriate adjustments. At the same time when you create a paging space, it should be allocated on a different hard disk, to improve its performance. Use smitty chps modify existing paging space size or smitty mkps increase a paging space.

4, the system kernel configuration parameters
Using lsattr check maxuproc, minpout, maxpout parameters such as size -Elsys0. maxuproc for the maximum number of processes per user, usually if the system is running DB2 or ORACLE maxuproc should be adjusted, Default: 128, adjusted to 500, maxuproc increase can work immediately, reducing the need to restart AIX. When the application involves a large number of sequential read and write affect the foreground program response time, it can be considered to maxpout 33, minpout to 16, using smitty chgsys set.

5, file system space to set
general, the system file systems /, / usr, / var, / tmp usage should not exceed 80%, / tmp is recommended at least 300M, full file system can cause the system not working , especially the AIX base file systems such as / (root file system) will result in full user can not log on. Check with df.

# Df -k (see the AIX base file system)
the Filesystem-1024 as Free Blocks Used Iused%% Iused Mounted ON
/ dev / 24576 HD4% 1452 95% 2599 22 is /
/ dev / HD2 614400 28068 22967 96% 15% / usr
/ dev / hd9var 4540 is 45% 8192 32% 649 / var
/ dev / HD3. 6 167 936 157 968 89%. 1% / tmp
/ dev / HD1 16384 5332 68% 1402 35% / Home

using space smitty chfs extended file system.

6, activation SSA Fast-Write Cache
Using smitty ssafastw to activate each of the logical disk hdiskn Fast-Write Cache: After selecting a hard disk, the Enable Fast-Write after a Yes to enter.

7, activate AIO
AIO usually only works for file system, no effect on raw devices. The maximum number of disks in parallel to 10X <80, a minimum of half the maximum.

①, AIO device definition system
smit aio ->; Configure Defined Asynchronous I / O is then performed carriage;
AIO device ②, the activation system
smit aio ->; Change / Show Characteristics of Asynchronous I / O AIO carriage return configuration dialog box, the dialog box [STATE to be configured at system restart] field is selected to "available", and then press Enter to implement;
Note: You are prompted only after the restart to take effect.

8, rootvg mirroring
because rootvg damage to the system will not run, even if the backup tape restoration, can also cause system downtime, so in disk space is abundant, can be considered as a mirror of rootvg, while establishing a mirrored rootvg should try to use the connection SCSI hard disk in a different order to achieve load balancing. Use smitty mirrorvg modification.

Second, the two computers
in a double machine environment, in addition to considering the above parameters, the need to consider:
. 1, Pending Write High Water Mark for the I / Os per File (maxpout) and Low water mark for pending write I / Os per file
They default value is 0, the two computers to be provided generally High water mark is 33, Low water mark is 24, these two parameters can be set smitty chgsys.

2, syncd daemon data refresh rate
of the memory data value indicates the refresh frequency to the hard disk, the default is 60, generally to 20, may be changed according to the actual situation. Vi /sbin/rc.boot change the parameters, wherein the following line:
the nohup / usr / sbin / the syncd 60>; / dev / null 2>; &. 1 &
replaced:
the nohup / usr / sbin / 20 is the syncd>; / dev / null 2>; &. 1 &
9. the modification system (5.1) kernel
to kernel converted to 64-bit 32-bit kernel.
-SF5 LN / usr / lib / Boot / unix_mp / UNIX
LN -SF5 / usr / lib / Boot / unix_mp / usr / lib / Boot / UNIX
the bosboot -ad / dev / ipldevice
the shutdown -Fr

be converted into 32-bit 64-bit kernel kernel.
-SF5 LN / usr / lib / Boot / unix_64 / UNIX
LN -SF5 / usr / lib / Boot / unix_64 / usr / lib / Boot / UNIX
the bosboot -ad / dev / ipldevice
the shutdown -Fr

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/73920/viewspace-1003676/,如需转载,请注明出处,否则将追究法律责任。

Guess you like

Origin www.cnblogs.com/guanghuiqq/p/11274587.html