Basic system settings after AIX installation

xiaoxiao2021-03-06  75

---- Many users do not have some basic settings for the system after the system is installed, and the default parameters of the system are used. Since the default parameter value of the system is generally smaller, there will be such or such a problem that is likely to avoid in the future operation. This article will introduce after the AIX installation, there are those system settings that need to be changed and some recommended values. 1. AIX packages and patches ---- AIX * Install only some basic packages (files) when installing, while some packages are often used but not installed. It is recommended that users have installed some of the following packages after installing AIX *. BOS.DATA * BOS.NET * BOS.ADT * BOS.PERF * Perfagent.tools * bos.dosutil * ---- Insert the AIX * as a system's first CD into the CD-ROM drive, enter fast at system prompts Path Smitty Install_all. Press F4 selection / dev / cd0 in the Input Device / Directory for Software option. Type [Bos.adt *, Bos.Dos.Net *, Bos.Data *, Bos.Net *, Bos.Data *, Bos.Net *, Bos.Perf *, Perfagent.Tools *] in the Software to Install option, and then press F10 to exit. ---- After the above package is installed, you need to patch the system. Use the UPDATE CD belled with the AIX system or the latest patch dish that is obtained from IBM. Insert the CD-ROM drive, enter the fast path Smitty Update_all at the system prompt, press F4 Select / DEV / CD0 in the Input Device / Directory for Software option, select NO, select Yes. After the service is updated, press F10 to exit. ---- When you have a new patch, please use this method, which can be returned to the previous version when there is a problem in new patches. When this patch is stable, it can be commit. ---- Note: When the * works a system increasing any package, you must press the above method from re-patch.

---- Available the patch of the current system to check the patch of the current system # instfix -i | GREP AIX_ML All FileSets for 4.3.1.0_aix_ml wrefound. All FileSets for 4.3.2.0_aix_ml berefact.1.0_aix_ml berefact . All filesets for 4.3.2.0_AIX_ML were found. All filesets for 4.3.3.0_AIX_ML were found. All filesets for 4330-02_AIX_ML were found. All filesets for 4320-02_AIX_ML were found. All filesets for 4330-03_AIX_ML were found. All filesets for 4330-04_AIX_ML were found. Not all filesets for 4330-05_AIX_ML were found. All filesets for 4330-01_AIX_ML were found. Not all filesets for 4330-06_AIX_ML were found. Not all filesets for 4330-07_AIX_ML were found. Not all filesets for 4330-08_Aix_ml a found. The patch version of this system is ML_08 2. Setting up the file system ---- AIX * After the system is installed, some default file systems are established, where '/', '/ tmp' and The '/ var' file system is critical to the normal operation of the entire system, so it is necessary to ensure that these three file systems have sufficient remaining space. Space usage can be queried with the following command. # DF -K FileSystem 1024-block Free% Used iused% iused mounted on / dev / hd4 163840 144668 12% 1871 3% / / dev / hd2 1310720 60356 96% 37212 12% / usr / dev / hd9var 163840 140448 15% 310 1% / var / dev / hd3 163840 156920 5% 71 1% / TMP / DEV / HD1 32768 31556 4% 42 1% / Home / DEV / DBLV 4194304 4062604 4% 17 1% / dB ---- should be guaranteed The three file systems are at least 128MB, each file system has more than 50% remaining space. In the process of system running, you should also monitor the size of these three file systems remaining. 3. Set the network ---- check all cards with the following command ip address configuration: # ifconfig -a en0: flags = 4e080863 inet 83.24.19.11 netmask 0xffffff00 broadcast 83.24.19.255 en1: flags = 4e080863 inet 83.24.18.11 netmask 0xffffff00 broadcast 83.24.18.255 LO0: FLAGS = E08084B inet 127.0.0.1 Netmask 0xff000000 Broadcast 127.255.255.255 inet6 :: 1/0 ---- Each block should be configured in different network segments. If the two network cards are configured in the same network segment, network communication failures will be generated.

---- Use the following command to check the system routing table: # netstat -r routing tables Destination Gateway Flags Refs Use if Pmtu Exp Groups Route Tree for Protocol Family 2 (Internet): Default 9.185.40.1 UGC 0 0 EN1 - - 9/8 R6F50 U 0 19 EN0 - - 9.185.40 / 22 R6_SVC U 5 14893 EN1 - - 9.185.48 / 22 9.185.40.1 UGC 0 0 EN1 - - BJCN.IBM.com 9.185.40.1 UGHW 1 9 EN1 - - 127/8 Loopback U 0 1002 LO0 - - ROUTE Tree For Protocol Family 24 (Internet V6): :: 1 :: 1 UH 0 0 LO0 16896 - ---- Each network card should have a route to the local network segment. ---- Check / etc / hosts file: ---- Check each line in the / etc / hosts file to ensure that each IP address only corresponds to one host name, each host name only corresponds to an IP address. Basic System Setup after AIX installation (2) Writers: Xu Ning 4. Set the switch space ---- Use the following command to check the use of swap space: # lsps -a page space Physical Volume Volume Group size % Used Active Auto Type Paging00 HDisk1 Rootvg 2048MB 5 YES YES LV HD6 HDisk0 rootvg 2048MB 5 YES YES LV ---- The default system switching space has only one HD6, and is relatively small. The principle of setting the switching space is as follows: a. Creating quantities as possible swap space. B. Each switching space size should be the same. C. Each switching space should be distributed on different hard drives, do not build two swap spaces on the same hard drive. D. The usage rate of each swap space should be less than 40%. ---- The size of the exchange space is related to the size and application of memory. When you don't know the memory usage of the application, you can set it as follows. When the memory is less than 2GB, the size of the switching space should be twice the memory. When the memory is less than 8GB, the size of the switching space should be the same as the memory size. When the memory is greater than 8GB, the size of the switching space should be half of the memory. This setting is initial value, and the user should monitor the usage of the exchange space at any time, and make adjustments. ---- Note: When the switching space is 100% occupied, the system will not work properly. 5. Configure users ---- The default system only allows 2 non-root users to log in, users can increase the number of users according to their needs. ---- # Smitty ----- System Environments ------ Change / Show Number of Licensed Users ------- Maximum Number of Fixed Licenses [32] ---- Change the maximum per user The number of processes, some applications require a single user to enable a lot of processes (such as Oracle Databases). The maximum number of users can be changed as follows.

- # Smitty ----- System Environments ------ Change / Show Characteristics of Of Operating System ------- Maximum Number of Processes Allowed Per User [1200] 6. Settings of the SSA card - --- For users who use the SSA card, the snaps on the card can greatly improve the I / O performance of the disk, and the user should first check if the SSA card is configured to configure a quick write cache. # LSCFG-VL SSA0 Device Location Des Cription SSA0 11-08 IBM SSA 160 Serialraid Adapter (14109100) ---- Part Number ....................... ................. 27h1204 ---- fru number .......................... ............... 34L5388 ---- Serial Number .......................... ........ s1072088 ---- EC Level ............................... ........ e28793 ---- Manufacturer .................................. ..... IBM053 ---- Ros Level and ID ................................... 8300 0000 ---- Loadable Microcode Level ......................... 05 ---- Device Driver Level ....... ....................... 00 ---- Displayable Message .................. ............ ssa-adapter - * Device Specific. (Z0) ...................... ....... SDRAM = 128 - * Device Specific. (Z1) ............................. Cache = 32 ---- Device Specific. (Z2) ............................. UID = 006094BF00003CDC --- -Device specific. (YL) ............................. U0.1-P1-I1 / Q1 --- - This card is configured with 128MB read caches and 32MB snapsuits. ---- If you configure a quick-write cache, change the configuration of the SSA disk, so that it uses a snapshot cache ---- # Smitty Device ----- SSA Disks ---- SSA Logical Disks ---- --- Change / Show Characteristics of An Ssa Logical Disk -------- HDisk? Available 11-08-L SSA Logical Disk Drive --------- Enable fast-write yes ---- If 'Enable Fast-Write' is NO, it is changed to YES. 7. Change the setting of AiOsoRver ---- If the application is the application of the database, and the data file is built on the file system, then the AIOSERVER should be changed to increase the performance of I / O.

转载请注明原文地址:https://www.9cbs.com/read-120493.html

New Post(0)