Ò»¡¢ÏÂÔØÈí¼þ
´ÓÕâÀïdownload Oracle10g for AIX5LµÄÈí¼þ£º
http://otn.oracle.com/software/products/database/oracle10g/htdocs/aix5lsoft.html
È»ºóÉÏ´«µ½serverÉÏ¡£²¢Ê¹ÓÃgunzipºÍcpio½â°ü½âѹ£º
$gunzip ship.db.aix.disk1.cpio.gz
$gunzip ship.db.aix.disk2.cpio.gz
$cpio -idcmv <ship.db.aix.disk1.cpio
$cpio -idcmv <ship.db.aix.disk2.cpio
¶þ¡¢È·ÈÏϵͳӲ¼þ»·¾³
Oracle10g×îµÍ°²×°ÒªÇó£º
512MÎïÀíÄÚ´æ¡¢MIN(RAM*2,2G) SWAP¿Õ¼ä¡¢400M /TMP¿Õ¼ä¡¢4G OracleĿ¼¿Õ¼ä¡¢64λÌåϵ½á¹¹
ÏÂÃæÊÇÈ·ÈϹý³Ì£º
1¡¢È·ÈÏÄÚ´æ´óС£¨1G£©
localhost> /usr/sbin/lsattr -E -l sys0 -a realmem
realmem 1048576 Amount of usable physical memory in Kbytes False
ÕâÀïoracle10g°²×°Îĵµ´´íÁË£??°sys0£¨Êý×Ö0£©¡±Ð´³ÉÁË¡°sysO£¨×ÖĸO£©¡±¡£
2¡¢È·ÈÏSWAP¿Õ¼ä£¬512M̫СÁË£¬¼Óµ½2G¡£
localhost> /usr/sbin/lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
hd6 hdisk0 rootvg 512MB 12 yes yes lv
3¡¢È·ÈÏ/TMPºÍOracleĿ¼¿Õ¼ä£¨ÆäÖÐOracle10g·ÅÔÚ/data1Ï£©£º
localhost> df -k
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 32768 14676 56% 2176 14% /
/dev/hd2 1933312 516400 74% 35398 8% /usr
/dev/hd9var 65536 43496 34% 623 4% /var
/dev/hd3 917504 691884 25% 1034 1% /tmp
/dev/hd1 10911744 4097144 63% 18636 1% /home
/proc - - - - - /proc
/dev/hd10opt 32768 23328 29% 362 5% /opt
/dev/lv00 2097152 937572 56% 708 1% /ptf
/dev/data1lv 13107200 10559980 20% 2735 1% /data1
4¡¢È·ÈÏϵͳ½á¹¹
localhost> /usr/bin/getconf HARDWARE_BITMODE
64
5¡¢ÎÒÃÇ¿ÉÒÔͨ¹ýÏÂÃæµÄÃüÁîÀ´È·ÈÏϵͳCPU¸öÊýºÍÖ÷Ƶ£º
# lsdev -C |grep proc
proc0 Available 00-00 Processor
proc1 Available 00-01 Processor
# lsattr -E -l proc0
frequency 752010000 Processor Speed False
state enable Processor state False
type PowerPC_RS64-III Processor type False
# lsattr -E -l proc1
frequency 752010000 Processor Speed False
state enable Processor state False
type PowerPC_RS64-III Processor type False
Èý¡¢È·ÈÏϵͳÈí¼þ»·¾³
1¡¢ÒªÇóAIX±ØÐëÊÇ5.2 LEVEL 1ÒÔÉÏ£¨º¬LEVEL 1£©£º
localhost> oslevel -r
5200-01
2¡¢ÒªÇó°²×°ÁËÕâЩFILESETS£º
localhost> lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.perfstat
bos.perf.libperfstat bos.perf.proctools
Fileset Level State Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
bos.adt.base 5.2.0.11 APPLIED Base Application Development
Toolkit
bos.adt.lib 5.2.0.10 APPLIED Base Application Development
Libraries
bos.adt.libm 5.2.0.13 APPLIED Base Application Development
Math Library
bos.perf.libperfstat 5.2.0.12 APPLIED Performance Statistics Library
Interface
bos.perf.perfstat 5.2.0.12 APPLIED Performance Statistics
Interface
Path: /etc/objrepos
bos.perf.perfstat 5.2.0.0 COMMITTED Performance Statistics
Interface
lslpp: 0504-132 Fileset bos.perf.proctools not installed.
¿ÉÒÔ¿´µ½bos.perf.proctoolsûÓа²×°£¬ÓÃsmitty°²×°Éϼ´¿É¡£ÏÖÔڲ鿴ȷÈÏ£º
localhost> lslpp -l bos.perf.proctools
Fileset Level State Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
bos.perf.proctools 5.2.0.11 APPLIED Proc Filesystem Tools
3¡¢ÒªÇó°²×°ÁËAPARs£¨Authorized Problem Analysis Reports£©£º
localhost> /usr/sbin/instfix -i -k "IY43980 IY44810 IY45462 IY45707 IY46214
IY46605 IY48525 IY51801"
All filesets for IY43980 were found.
All filesets for IY44810 were found.
All filesets for IY45462 were found.
All filesets for IY45707 were found.
All filesets for IY46214 were found.
All filesets for IY46605 were found.
There was no data for IY48525 in the fix database.
There was no data for IY51801 in the fix database.
¿ÉÒÔ¿´µ½IY48525ºÍIY51801ûÓа²×°£¬ÎÒÃÇ¿ÉÒÔ´ÓÍøÉÏÏÂÔØËüÃÇÈ»ºó°²×°ÉÏ£¬ÕâÀïÊÇÏÂÔصØÖ·£º
https://techsupport.services.ibm.com/server/aix.fdc
µ«Êµ¼ÊÉÏ£¬ÕâÁ½¸ö²¹¶¡ÊÇÕë¶ÔSDK1.4µÄ£¬ Èç¹û²»ÓÃ1.4ÍêÈ«¿ÉÒÔ²»Àí¡£
4¡¢´´½¨Oracle10gÓû§ºÍ×飬²¢´´½¨Ïà¹ØĿ¼
¹ý³ÌÊ¡ÂÔ£¬ÏÂÃæÊÇÈ·ÈÏÐÅÏ¢£º
localhost> id
uid=203(ora10) gid=202(dba) groups=1(staff)
localhost> pwd
/data1/ora10
localhost> env|grep ORA
ORACLE_BASE=/data1/app/ora10g
ORACLE_PATH=/data1/app/ora10g/product/10.1.0/dbs
ORA_DB=/data1/app/ora10g/product/10.1.0/dbs
ORACLE_SID=ora10g
ORACLE_TERM=vt100
ORA_NLS33=/data1/app/ora10g/product/10.1.0/ocommon/nls/admin/data
ORACLE_HOME=/data1/app/ora10g/product/10.1.0
5¡¢ÅäÖÃSHELL LIMITSºÍϵͳ ÅäÖòÎÊý
5.1¡¢Ê¹ÓÃsmitty chuserÐÞ¸Äora10Óû§µÄSHELL LIMITS
Soft FILE size -1 (Unlimited)
Soft CPU time -1 (Unlimited)
Note: This is the default value.
Soft DATA segment -1 (Unlimited)
Soft STACK size -1 (Unlimited)
5.2¡¢Ê¹ÓÃsmitty chgsysÐ޸ġ°Maximum number of PROCESSES allowed per user¡±×îС2048¡£
ËÄ¡¢°²×°¹ý³Ì
1¡¢ÒÔrootÖ´ÐÐ# ./rootpre.sh
2¡¢ÓÃxmanagerÒÔora10Óû§µÇ¼ͼÐνçÃ棬ִÐУº
localhost> pwd
/data1/ora10/Disk1
localhost> ls
doc response runInstaller welcome.htm
install rootpre stage
$xhost +
$export DISPLAY=10.16.98.26:0.0
$./runI*