公司测试系统:
AIX 5.2
INFORMIX 9.30.FC3 1.add informixuser,informixgroup
informix .profile
INFORMIXDIR=/usr/informix; export INFORMIXDIR INFORMIXSERVER=test_on; export INFORMIXSERVER PATH=$INFORMIXDIR/bin:$PATH; export PATH TERM=vt100; export TERM export TERMCAP=/usr/informix/etc/termcap
ONCONFIG=onconfig.t; export ONCONFIG
2.install
cd /usr/informix cpio -icdumvB < /tmp/IDS.CPI root用户 ./installserver 提示key,license
3.# lsvg -l rootvg rootvg: LV NAME TYPE LPs PPs PVs LV .......................
rootdbs_lv raw 5 5 1 closed/syncd N/A tempdbs01_lv raw 8 8 1 closed/syncd N/A phydbs_lv raw 8 8 1 closed/syncd N/A datadbs01_lv raw 32 32 1 closed/syncd N/A datadbs02_lv raw 32 32 1 closed/syncd N/A logdbs01_lv raw 32 32 1 closed/syncd N/A
4.links
ln -s /dev/rdatadbs01_lv datadbs01 ln -s /dev/rdatadbs02_lv datadbs02 ln -s /dev/rrootdbs_lv rootdbs ln -s /dev/rphydbs_lv phydbs ln -s /dev/rtempdbs01_lv tempdbs ln -s /dev/rlogdbs_lv logdbs
5.#chmod 660 /dev/*dbs* #chown informix:informix /dev/*dbs*
6./etc/sqlhost
test_on onipcshm h80_1 test_on /etc/services test_on 8001/tcp 7.onconfig.t ROOTPATH
oninit -ivy 8.
onspaces -c -d phydbs -p /usr/informix/dbs/phydbs -o 4 -s 512000 onspaces -c -d logdbs -p /usr/informix/dbs/logdbs -o 4 -s 2048000 onspaces -c -d tempdbs -t -p /usr/informix/dbs/tempdbs -o 4 -s 512000 onspaces -c -d datadbs -p /usr/informix/dbs/datadbs01 -o 4 -s 2048000
# System Archive Tape Device
TAPEDEV /dev/null # Tape device path TAPEBLK 1024 # Tape block size (Kbytes) TAPESIZE 10240000 # Maximum amount of data to put on tape (Kbytes)
ontape -s -L 0 9.
onmode -s quiescent mode onparams -a -d logdbs -s 204800 onparams -a -d logdbs -s 204800 onparams -a -d logdbs -s 204800 onparams -a -d logdbs -s 204800 onparams -a -d logdbs -s 204800 onparams -a -d logdbs -s 204800 onparams -a -d logdbs -s 204800 onparams -a -d logdbs -s 204800 onparams -a -d logdbs -s 204800
ontape –s –L 0
onmode -l onparams -d -l 1
onparams -d -l 2
onparams -d -l 3 10.mirror
#mkdir /usr/informix/mdbs #ln -s /dev/rrootdbs-m_lv /usr/informix/mdbs/rootdbs-m
#chown informix:informix /dev/*dbs* #chmod 660 /dev/*dbs*
onconfig.t, MIRROR 1 MIRROR 1 # Mirroring flag (Yes = 1, No = 0) onmode -ky 重新启动 oninit -v onspaces -m rootdbs -p /usr/informix/dbs/rootdbs -o 0 -m /usr/informix/mdbs/rootdbs-m 0 -y
|