AIXϵͳÃüÁÈý£©
ÔÚAIX²Ù×÷ϵͳÉÏÓкܶàµÄÃüÁî¡£ÕâÀï½éÉÜһЩϵͳ¼¶µÄÃüÁËü½«ÓÐÖúÓڻشðһЩ³£¼ûÎÊÌâ¡£´ó¼ÒÒÔ´Ë×ö²Î¿¼£¬²¢²¹³äÐ޸ġ£ÒÔÏÂÃüÁîÔÚAIX 5.1ÉϲâÊÔͨ¹ý¡£ ¡¤ ¹ØÓÚÄÚºË ÏÔʾAIXϵͳÄÚºËÊÇ32λ»¹ÊÇ64λ£º bootinfo -K
ÈçºÎ¸Ä±äÄÚºËģʽ£¨32λ»ò64룩 /unixÎļþÁ¬½Óµ½Ò»¸ö¿ÉÒýµ¼µÄÓ³Ïñ¡£Í¨¹ýÃüÁîls -l /unix²é¿´£º /unix -> /usr/lib/boot/unix_up # 32 bit uniprocessor kernel /unix -> /usr/lib/boot/unix_mp # 32 bit multiprocessor kernel /unix -> /usr/lib/boot/unix_64 # 64 bit multiprocessor kernel
ÔÚAIXϵͳ°²×°Ê±£¬È±Ê¡°²×°µÄÄÚºËÊÇ32λ¡£¿ÉÒÔÓÃÈçÏÂÃüÁî¸ü¸ÄÄÚºËģʽ£º ln -sf /usr/lib/boot/unix_64 /unix ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unixbosboot -ad /dev/hdiskxxshutdown -r
×¢Ò⣺/dev/hdiskxxÊÇÖ¸Òýµ¼Âß¼¾í/dev/hd5ËùÔÚµÄÓ²ÅÌ¡£¿Éͨ¹ýÏÂÃæÃüÁîÀ´²é¿´xxÊǼ¸£º lslv -m hd5
¡¤ ¹ØÓÚÓ²¼þ ÏÔʾ»úÆ÷Ó²¼þÊÇ32λ»¹ÊÇ64λ£º bootinfo -y
²é¿´»úÆ÷µÄÎïÀíÄÚ´æÊǶàÉÙ£º bootinfo -r »ò lsattr -El sys0 -a realmem
²é¿´»úÆ÷ÊÇ·ñÖ§³Ö64λÄںˣ¨ÊÇ·ñ64λӲ¼þ£© /usr/sbin/bootinfo -p Èç¹û·µ»Ø32£¬Ôò±íʾӲ¼þÊÇ32λµÄ£»Èç¹û·µ»ØµÄÊÇchrp£¬ Ôò±íʾӲ¼þÊÇ64λµÄ»úÆ÷¡£
ÏÔʾµ±Ç°´Å´øÉ豸rmt0µÄÊôÐÔ£º lsattr -l rmt0 -E
ÏÔʾȱʡµÄ´Å´øÉ豸rmt0µÄÊôÐÔ£º lsattr -l rmt0 -D
ÏÔʾÖÕ¶ËÉ豸tty0µÄµÇ¼ÊôÐÔ£º lsattr -l tty0 -a login -R
ÏÔʾϵͳ¼¶ÊôÐÔ£º lsattr -E -l sys0
²é¿´µ±Ç°ÏµÍ³ÓжàÉÙCPU£º lscfg | grep proc
²é¿´µ±Ç°ÏµÍ³ÓжàÉÙÓ²Å̶øÇÒÊÇ·ñ±»Ê¹Ó㺠Lspv
²é¿´µ±Ç°ÏµÍ³µÄÏêϸÅäÖ㺠lscfg -pv Ò²¿ÉÒÔÏÔʾijһÉ豸µÄÅäÖ㺠lscfg -vl rmt0
²é¿´µ±Ç°ÏµÍ³µÄоƬÃû³Æ¡¢ÏµÍ³Ãû¡¢½ÚµãÃû¡¢Ðͺŵȣº uname -p # ÏÔʾоƬÃû³Æ£¬ÀýÈ磺powerpc uname -r # ÏÔʾ²Ù×÷ϵͳµÄ·¢ÐкŠuname -s # ÏÔʾϵͳÃû£¬ÀýÈ磺AIX uname -n # ÏÔʾ½ÚµãÃû uname -a # ÏÔʾϵͳÃû¡¢½ÚµãÃû¡¢°æ±¾¡¢»úÆ÷ID uname -M # ÏÔʾÐͺţ¬ÀýÈ磺IBM,7046-B50 uname -v # ÏÔʾ²Ù×÷ϵͳ°æ±¾ uname -m # ÏÔʾ»úÆ÷ID
¡¤ ¹ØÓÚAIX
²é¿´AIXµÄ°æ±¾¡¢·¢Ðкš¢ML£¨Maintenance Level£©¼¶±ð£º oslevel -r »ò lslpp -h bos.rte
ÈçºÎ¸Ä±äÎļþϵͳ´óС£¬ÀýÈ磺½«/usrÎļþϵͳÔö¼Ó1000000×Ö½Ú£º chfs -a size=+1000000 /usr
ÈçºÎʹÓÃCD£º mount -V cdrfs -o ro /dev/cd0 /cdrom
²é¿´±¾»úµÄIPµØÖ·£º Ifconfig -a »ò host Fully_Qualified_Host_Name ÀýÈ磺host cyclop.austin.ibm.com
²éÕÒÄÄÒ»¸öÎļþ¼¯£¨fileset£©°üº¬Ìض¨µÄÎļþ£¬ ÀýÈ磺²éÕÒ/usr/bin/vmstatÊôÓÚÄÄÒ»¸öÎļþ¼¯¡£ lslpp -w /usr/bin/vmstat
ÏÔʾÄÄÒ»¸öÎļþ¼¯°üº¬/usr/bin/svmon£º Which_fileset svmon
²é¿´Ä³Ò»¼¶±ðµÄMLÖÐËùÓÐÎļþÊÇ·ñ¶¼ÒѾ°²×°£º instfix -i | grep ML
ÈçºÎÈ·¶¨Ä³Ò»²¹¶¡£¨fix£©ÊÇ·ñ°²×°£¬ÀýÈ磺²é¿´IY24043ÊÇ·ñ°²×° instfix -ik IY24043
ÏÔʾÄÄЩÎļþ¼¯ÐèÒª°²×°»òÐ޸ģº lppchk -v
²é¿´½»»»Çø£¨paging space£©µÄ·ÖÅäºÍʹÓ㺠lsps -a ¡¤ ¹ØÓÚ¾í×éºÍÂß¼¾í
´´½¨¾í×飺 mkvg -y name_of_volume_group -s partition_size list_of_hard_disks partition_sizeµ¥Î»ÊÇMB£¬ËüÊÇ1µ½1024Ö®¼äµÄÒ»¸öÊý¡£ £¨2µÄ´ÎÃÝ£¬ÀýÈ磺1, 2, 4, 8, 16, 32µÈ£¬È±Ê¡ÊÇ4MB¡££©
´´½¨Âß¼¾í£º mklv -y name_of_logical_volume name_of_volume_group number_of_partition
ÏÔʾµ±Ç°ÏµÍ³µÄËùÓоí×飺 Lsvg
ÏÔʾ¾í×érootvgµÄÏêϸÐÅÏ¢£º lsvg rootvg
ÏÔʾÊôÓÚrootvgµÄËùÓÐÓ²ÅÌ£º lsvg -p rootvg
ÈçºÎÌí¼ÓÒ»¸öÓ²Å̵½¾í×éÖУº extendvg Volume_Group_Name hdisk0 hdisk1 ... hdiskn
ÈçºÎÌæ»»Ò»¸öÓ²ÅÌ£º 1£® extendvg Volume_Group_Name hdisk_new 2£® migratepv hdisk_bad hdisk_new 3£® reducevg -d Volume_Group_Name hdisk_bad
ÈçºÎ×öÒ»¸öÂß¼¾í¾µÏñ£º 1£® mklvcopy Logical_Volume_Name Number_of_copies 2£® Syncvg Volume_Group_Name ÔÚAIXÉÏ£¬ÓÐÒ»¸öºÜ·½±ãµÄϵͳ¹ÜÀíÃüÁîsmit¡£ÉÏÃæÌáµ½µÄÃüÁîÖУ¬ÈçÂß¼¾í²Ù×÷²¿·Ö¾Í¿ÉÒÔsmitÇáËɵÄÍê³É¡£ ÕâÀï½éÉܵÄÃüÁîÖ»ÊÇAIXÖеÄһС²¿·Ö¡£¸ü¶à¸üÏêϸµÄÄÚÈÝÇë²Î¿¼AIXϵͳÊÖ²áºÍ¼¼ÊõºìƤÊé¡£ |