ERP项目
生产系统安装文档
目录
1规划 (3)
1.1系统构架 (3)
1.2参数规划 (3)
1.3文件系统的规划 (3)
1.4用户以及组的规划 (4)
2安装准备 (4)
2.1操作系统的准备 (4)
2.2用户以及组的建立 (7)
2.3安装前检查 (7)
3系统安装 (8)
3.1ASCS安装 (8)
3.2安装DB (14)
3.3安装O RACLE 补丁 (29)
3.4安装CI (33)
3.5安装DI (40)
3.6安装另一台DI (45)
1规划
1.1系统构架
系统构架图如下:
详细的HA构架图见<生产系统HA设计V1.0.PPT>
1.2参数规划
1.3文件系统的规划
1.4用户以及组的规划
user Uid group Gid
PRDadm 301 sapsys 901
oraPRD 302 oper 902
Dba 903
sapinst 904
user primary group group set home PRDadm Sapsys sapsys,sapinst,oper,dba; /home/ed1adm oraPRD Dba sapsys,sapinst,oper,dba; /oracle/oraed1
2安装准备
2.1操作系统的准备
========================================================
OS Requirements - ECC 6.0 Installation (HP-UX & Oracle)
========================================================
- Operating system (OS)
HP-UX 11.31 Itanium
#uname -r
- Language Libraries
Make sure that the LANG-MIN is installed.
#swlist -v | grep -i lang-min
- Network (NFS)
The NFS driver must be in the kernel.
You can check this using the current kernel configuration files. Enter the following
command:
#grep nfs /stand/system
To check whether NFS is running, enter the following commands:
#ps -ef | grep nfsd
#ps -ef | grep rpcbind
#grep NFS_C /etc/rc.config.d/nfsconf
#grep NFS_S /etc/rc.config.d/nfsconf
Either NFS_CLIENT, NFS_SERVER, or both should be set to 1. You can use SAM or SMH to start NFS or/and add the driver to the kernel.
- National Language Support (NLS)
Enter the following command to check whether National Language Support (NLS) is installed.
#swlist -v | grep -i nls
The output should contain the string NLS-AUX ...
Enter the following command to check which locales are available:
#locale -a
The following files must be available:
de_DE.ISO8859-1,
en_US.ISO8859-1.
Zh_CN ISO8859-1
- OS Patch (Note 837670)
HP-UX 11.31 Itanium and PA-RISC (HP-UX 11iv3)
FEATURE11i B.11.31.0709.312 Feature Enablement Patches for HP-UX 11i v3, September 2007
HWEnable11i B.11.31.0709.312 Hardware Enablement Patches for HP-UX 11i v3, September 2007
QPKBASE B.11.31.0709.312a Base Quality Pack Bundle for HP-UX 11i v3, September 2007
OS-Patch
PHKL_36883
PHKL_37452
Only for VxFS 5
PHKL_38260
Oracle on HP-UX 11.31: (Note 1031960)
- PHKL_35936
- PHKL_36054
- Java Version (Note 716926)
Java SDK 1.4.2_19
Download the SDK on
- C++ Runtime Environment
C++ Runtime Environment must be installed
#swlist –l product | grep PHSS
- OS Kernal Parameter (SAP Note 172747)
HP-UX 11iv3 (11.31)
CHECK a kernel parameter: "kctune
SET a kernel parameter: "kctune
check DEFAULT parameter value: "kctune -v
- To check VxFS version use "swlist -l product |grep -i "base vxfs"
(If no version number is displayed then version 3.x is installed)
Message parameters
msgmnb 65535
msgmni 4096
msgtql 4096
Semaphores
semmni >=8192
semmns >=16384
semmnu 4092
Shared Memory
shmmax Set equal to installed system RAM (in bytes)
e.g. 16GB =17.179.869.184
shmmni >=512
maxfiles >=4096
nflocks 8192
vx_ninode 131072 (for VxFS 4.x and VxFS 5.x)
40000 (for VxFS 3.x)
vxfs_ifree_timelag -1
(only in combination with vx_ninode as above)
Process Management
maxdsiz_64bit >=17.179.869.184
maxssiz_64bit 1.073.741.824
maxuprc 4096
max_thread_proc >=3000 (Java dependent, see note 534867)
nkthread >=10.000 (Java dependent, see note 534867)
Miscellaneous
process_id_max default (30000)
(SAP PIDs are restricted to 8 digits. process_id_max must not exceed "99999999")
process_id_min default (0)
8 (Percent)
(or lower if using direct I/O, see note 1077887)
5 (Percent)
(or lower if using direct I/O, see note 1077887)
(If the HP-UX Server has >4GB RAM, then lower settings for size could be more appropriate.)
- S:
at least 40 GB
- m:
/ 2GB
/tmp 5GB
2.2用户以及组的建立
按照规划的用户,用户ID,组,组ID,建立操作系统的用户和组;
2.3安装前检查
在各台机器上运行sap pre-check检查;
到/sapinst/IM_HPUX/IM_HPUX_IA64/,运行./sapinst
检查通过后,可以开始安装;
3系统安装
3.1ASCS安装
Install ASCS on SAPERPPRDB
Logon to SAPERPPRDB
export SAPINST_JRE_HOME=/opt/java1.4 export SAPINST_USE_HOSTNAME=SAPERPPRDCS
=
3.2安装DB
Install DB Instance on SAPERPPRDA
Logon to SAPERPPRDA
export SAPINST_JRE_HOME=/opt/java1.4 export SAPINST_USE_HOSTNAME=SAPERPPRDDB