I. Check hardware requirements:
1. Memory:
#/Usr/contrib/bin/machinfo | grep-I Memory
Swap:
1 GB-2 GB 1.5 times the size of the RAM
2 GB-16 GB Equal to the size of the RAM
More than 16 GB 16 GB
View the swap size:
#/Usr/sbin/swapinfo-
2. Disk Space:
/Tmp space requires at least 1 GB:
# Bdf/tmp
Space occupied by Oracle software:
Enterprise Edition 7.10 GB
Standard Edition 6.10 GB
Space occupied by data files:
Enterprise Edition 2.20 GB
Standard Edition 1.51 GB
Ii. software requirements:
1. Operating System Requirements:
# Uname-
Check the operating system version. To install oracle 11gR2, it must be HP-UX 11i V3 patch Bundle Sep/2008 (B .11.31.0809.326a) or higher
#/Usr/sbin/swlist-l bundle | grep QPK
QPKAPPS B .11.31.1009.353a Applications Patches for HP-UX 11i v3, September 2010
QPKBASE B .11.31.1009.353a Base Quality Pack Bundle for HP-UX 11i v3, September 2010
Official documentation:
The QPK (Quality Pack) bundles have version numbers of the form. B .11.31.0809.326a (for the September 2008 release), B .11.31.0903.334a (for the March 2009 release), and
So on.
If a required bundle, product, or fileset is not installed, then you must install it. Refer to your operating system or software documentation for information about
Installing products.
2. Compiler Requirements
The following are the compiler requirements for HP-UX systems Pro * C/C ++, Oracle Call Interface, Oracle C ++ Call Interface, and Oracle XML Developer's Kit (XDK)
Oracle Database 11g Release 2 (11.2 ):
A.06.20 (hp c/aC ++ Swlist Bundle-C.11.31.04)-Sep 2008
3. Patch requirements:
Patch download site: http://itrc.hp.com/
For HP-UX 11i V3 (11.31 ):
PHCO_41479 11.31 Disk Owner Patch
PHKL_38038 VM patch-hot patching/Core file creation directory
PHKL_38938 11.31 SCSI cumulative I/O patch
PHKL_40941 Scheduler patch: post wait hang
PHSS_36354 11.31 pluer patch
PHSS_37042 11.31 hppac (packed decimal)
Phss_000059 Libcl patch for alternate stack issue fix (QXCR1000818011)
PHSS_39094 11.31 linker + fdp cumulative patch
PHSS_39100 11.31 Math Library Cumulative Patch
PHSS_39102 11.31 Integrity Unwind Library
PHSS_38141 11.31 aC ++ Runtime
PHSS_39824-11.31 hp c/aC ++ Compiler (A.06.23) patch
For HP-UX 11i V3 (11.31) VERITAS File System:
Phkl_kernel 3: 11.31 VRTS 5.0 GARP6 VRTSvxfs Kernel Patch
Check command:
#/Usr/sbin/swlist-l patch | grep phss_000059
Install the patch command:
# Tar xvf hpux_11.31_08230142.tar
# Sh create_depot_hpux.11.31
# Swinstall-s/tmp/patches/depot
4, additional software requirements: [help house http://www.bkjia.com]
3. Create users and groups:
#/Usr/sbin/groupadd-g 501 oinstall
#/Usr/sbin/groupadd-g 502 dba
#/Usr/sbin/groupadd-g 503 bytes
#/Usr/sbin/useradd-u 501-m-d/home/oracle-g oinstall-G dba, role oracle
# Passwd oracle
# Id oracle
4. Configure kernel parameters:
#/Usr/sbin/kcweb-F
Or
Kctune-h Parameter Name = "value"
If you do not want to perform one check, you can adjust the specific unqualified parameters during the installation check.
Eg: kctune-h ksi_alloc_max = "32768"
Ksi_alloc_max 32768.
Executable_stack 0
Max_thread_proc 1024
Maxdsiz 1073741824 (1 GB)
Maxdsiz_64 bit 2147483648 (2 GB)
Maxssi Z 134217728 (128 MB)
Maxssiz_64 bit 1073741824 (1 GB)
Maxuprc 3686
Msgmni 4096
Msgtql 4096
Ncsize 35840
Maxfiles_lim 63488
Maxfiles 1024
Nflocks 4096
Ninode 34816
Nkthread 7184
Nproc 4096
Semmni 4096
Semmns 8192
Semmnu 4092
Semvm x 32767
Sh Max 1073741824
Shmmni 4096
Shmsegb 512
Tcp_smallest_anon_port 9000
Tcp_largest_anon_port 65500
Udp_smallest_anon_port 9000
Udp_largest_anon_port 65500
After modification, restart.
Check UDP and TCP kernel parameters:
#/Usr/bin/ndd/dev/tcp tcp_smallest_anon_port tcp_largest_anon_port
#/Usr/bin/ndd/dev/udp udp_smallest_anon_port udp_largest_anon_port
# Cp/etc/rc. config. d/nddconf/etc/rc. config. d/nddconf. bak
# Vi/etc/rc. config. d/nddconf
Add the following content (in order ):
TRANSPORT_NAME [5] = tcp
NDD_NAME [5] = tcp_largest_anon_port
NDD_VALUE [5] = 65500
TRANSPORT_NAME [6] = tcp
NDD_NAME [6] = tcp_smallest_anon_port
NDD_VALUE [6] = 9000
TRANSPORT_NAME [7] = udp
NDD_NAME [7] = udp_largest_anon_port
NDD_VALUE [7] = 65500
TRANSPORT_NAME [8] = udp
NDD_NAME [8] = udp_smallest_anon_port
NDD_VALUE [8] = 9000
Restart after modification
Official documentation:
Ensure that the entries are numbered in proper order. For example, if there are three entries present for TCP ports in nddconf, then they are numbered 0 through 3:
TRANSPORT_NAME [0] = tcp, TRANSPORT_NAME [1] = tcp, and TRANSPORT_NAME [2] = tcp. the entries you add are then TRANSPORT_NAME [3] = tcp and TRANSPORT_NAME [4] = tcp.