SAP R/3在AIX系统上的安装
1. check list (os kernel, according installation guide )
Check the operating system version with the command:
lslpp -l bos.rte
Part of the output must be:
bos.rte 4.3.2 (or a larger version number)
Check whether NFS is installed:
lslpp -l "bos.net.nfs.*"
Check whether NFS is running:
lssrc -g nfs
Then rpc.mountd and either biod or nfsd must have status
activated.
Display which locales are available:
locale -a
The following files must be available: de_DE.ISO8859-1,
en_US.ISO8859-1.
Software
The following additional software components must be installed. To get
an overview, use the following command as user root:
lslpp -l | more
bos.rte (Base Operating System Runtime)
bos.adt (Base Application Development)
bos.data (Base Operating System Data)
bos.sysmgt (System Management)
bos.diag.rte (Hardware Diagnostics Database)
bos.msg.en_US (Base OS Runtime Messages - U.S. English)
bos.net.nfs (Network File System)
bos.net.tcp (TCP/IP)
perfagent (Performance Agent)
bos.loc.iso.en_US (Base System Locale Code Set - U.S. English)
bos.loc.iso.de_DE (Base System Locale Code Set - German)
bos.iconv.de_DE (Base Level Fileset (requ. for Local Code Set))
bos.iconv.com (Base Level Fileset (requ. for Local Code Set))
devices.* (Device Drivers for all installed Hardware)
printers.rte (Printer Backend (if Printer installed))
X11.base (AIXwindows Runtime)
X11.apps (AIXwindows Applications)
X11.motif (AIXwindows Motif)
X11.fnt.iso1 (AIXwindows Latin 1 Fonts)
X11.loc.en_US (AIXwindows Locale - U.S. English)
X11.msg.en_US (AIXwindows Messages - U.S. English)
X11.Dt (AIXwindows Desktop)
xlC.rte (C Set ++ for AIX Application Runtime, Version 3.1.4.8 or higher)
Oracle database only:
A C linker is required (not a C compiler). A linker can be found in the
bos.rte.bind_cmds fileset. A separate license is not required for
the linker (beyond the AIX license). Use the following command to
check the level and state of the linker:
lslpp -L bos.rte.bind_cmds
Additionally, check that all filesets are in a consistent state:
lppchk -v
check language file set: #locale -a
check aio available: #lsattr -El aio0 / #lsdev -Cc
swap : 3*RAM , at least 3G (32-bit)
at least 20G (64-bit)
2. download notes
3 create fs:
from DEV system:
# df -k
Filesystem 1024-blocks Free %Used Iused % Iused Mounted on
/dev/hd4 65536 37608 43% 1379 5% /
/dev/hd2 2555904 1904160 26% 20206 4% /usr
/dev/hd9var 32768 28548 13% 179 3% /var
/dev/hd3 32768 30840 6% 63 1% /tmp
/dev/hd1 32768 31468 4% 60 1% /home
/dev/lvsapmnt 1310720 860668 35% 34488 11% /sapmnt
/dev/lvusrsap 1048576 662380 37% 204 1% /usr/sap
/dev/lvusrsaptrans 1310720 93428 93% 7596 3% /usr/sap/trans
/dev/lvoraclesid 2359296 1470004 38% 9191 2% /oracle/DEV
/dev/lvoraclestage 1703936 1132736 34% 7635 2%/oracle/stage/817_32
/dev/lvsapreorg 2621440 1872932 29% 717 1%/oracle/DEV/sapreorg
/dev/lvoriglogA 131072 85896 35% 18 1%/oracle/DEV/origlogA
/dev/lvoriglogB 131072 85896 35% 18 1%/oracle/DEV/origlogB
/dev/lvmirrlogA 131072 85896 35% 18 1%/oracle/DEV/mirrlogA
/dev/lvmirrlogB 131072 85896 35% 18 1%/oracle/DEV/mirrlogB
/dev/lvsaparch 2621440 2393444 9% 112 1%/oracle/DEV/saparch
/dev/lvsapdata1 3801088 476720 88% 60 1%/oracle/DEV/sapdata1
/dev/lvsapdata2 4718592 520508 89% 26 1%/oracle/DEV/sapdata2
/dev/lvsapdata3 3670016 76760 98% 26 1%/oracle/DEV/sapdata3
/dev/lvsapdata4 4849664 304876 94% 44 1%/oracle/DEV/sapdata4
/dev/lvsapdata5 7733248 2618316 67% 50 1%/oracle/DEV/sapdata5
/dev/lvsapdata6 7864320 746028 91% 56 1%/oracle/DEV/sapdata6
4.create directory after fs mounted:
mkdir PRD
cd PRD
mkdir exe
/sapmnt/<SID>
/sapmnt/<SID>/exe
5.begin to install
mkdir /saptmp (temporary directory)
mkdir sapcd
first CD: sap kernel oracle
#mount -rv cdrfs /dev/cd0 /sapcd
#cd /saptmp
#/sapcd/unix/insttool.sh
#./INSTGUI&
./R3SETUP -f CENTRAL.R3S
切换到CSH,然后用:(在当前输入窗口)
#csh
#setenv LIBPATH /oracle/<sapsid>/81<x>_32/lib:/sapmnt/<sapsid>/exe:
安装DATABASE.R3S时,请先用SMIT USER修改ROOT、ORAPRD、PRDADM用户的属性,
Change field Soft CPU time to -1 (this is the default value).
c. Change field Soft CORE file size to 2097151 (this is the default value).
d. Change field Soft FILE size to 4194302.
e. Change field Soft DATA segment to -1.
f. Change field Soft STACK size to -1.
Charactor set : WE8DEC
6. the second cd : DB-export CD1
7. the third cd : rdbms (8.0.5 32bit) , install oracle instance
a. according manual (os dependencies) check user parameters (root,
<sid>adm, ora<sid>)
add \'$path\' to .login file of user <sid>adm , ora<sid> .
relogin .
b. use root , prepare for rdbms installation
#cd /oracle/stage/817_32/DISK1
#setenv LANG En_US (csh)
#sh ./rootpre.sh
c. use ora<sid> , install rdbms
>setenv TERM vt100
>setenv ORACLE_TERM vt100
#xhost +
#setenv DISPLAY :0.0
>cd /oracle/stage/817_32/DISK1
>./runInstaller
d. use root , post rdbms installation
>su root (not #su - root)
#cd /oracle/<SID>/817_32
#./root.sh
e. use ora<sid> to test oracle instace ,
>svrmgrl
>connect internal
8. continue R/3 installation , the fourth cd : export cd2 . need long time
, about 4 hours .
use root .
#cd /saptmp
> cd /oracle/<SID>
>source .dbenv_<host>.csh
#./INSTGUI&
#./R3SETUP -f CENTRAL.R3S
after installation : standard 46c sr2 intallation : db size :17G