Installation of Oracle 11gR2 on Solaris
Installing 11.2.0.2, as per oracle from 11.2.0.2 onwards we can direclty move to 11.2.0.2 ( from compatible version) & don't have to first install base release & then patch, that is don't have to install 11.2.0.1 & then patch to 11.2.0.2, so installing 11.2.0.2 directly
Please note that this installation is for a Standalone database on filesystem so it is not using the Grid installation required for supporting ASM & Oracle Re-start
Checking Hardware Requirements
memory reqs
hostname:/app/oracle/product/11.2:>/usr/sbin/prtconf | grep "Memory size"
Memory size: 10240 Megabytes <-----------10GB
atleast 2GB of RAM required, so we are good here
System Architecture
hostname:/export/home/oracle:>/bin/isainfo -kv
64-bit sparcv9 kernel modules
Checking run level
hostname:/export/home/oracle:>who -r
. run-level 3 Feb 20 16:46 3 0 S
Checking software requirements
hostname:/export/home/oracle:>uname -r
5.10
Checking release
hostname:/export/home/oracle:>cat /etc/release
Solaris 10 10/08 s10s_u6wos_07b SPARC
Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 27 October 2008
Verfiying Packages
pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibC SUNWlibms SUNWsprot \ SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt
hostname:/export/home/oracle:>pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibC SUNWlibms SUNWsprot \
SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt
> SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt
system SUNWarc Lint Libraries (usr)
system SUNWbtool CCS tools bundled with SunOS
system SUNWhea SunOS Header Files
system SUNWi15cs X11 ISO8859-15 Codeset Support
system SUNWi1cs X11 ISO8859-1 Codeset Support
system SUNWi1of ISO-8859-1 (Latin-1) Optional Fonts
system SUNWlibC Sun Workshop Compilers Bundled libC
system SUNWlibms Math & Microtasking Libraries (Usr)
system SUNWsprot Solaris Bundled tools
system SUNWtoo Programming Tools
system SUNWxwfnt X Window System platform required fonts
Verifying Operating System Patches
hostname:/usr/bin:>/usr/sbin/patchadd -p | grep 120753
Patch: 120753-05 Obsoletes: Requires: Incompatibles: Packages: SUNWlibm SUNWlibmsr
hostname:/usr/bin:>/usr/sbin/patchadd -p | grep 139574
hostname:/usr/bin:>/usr/sbin/patchadd -p | grep 139574
Patch: 139555-08 Obsoletes: 120062-01 121130-01 125551-02 126264-01 127743-02 127853-02 128253-01 128296-01 128318-01 128322-01 128340-01 128406-01 137095-01 137106-01 137278-01 138058-01 138106-02 138114-01 138231-01 138241-05 138397-01 138639-01 138850-01 138864-01 138878-01 138888-08 139385-02 139458-01 139459-01 139466-04 139483-05 139489-03 139492-01 139494-01 139498-04 139500-04 139502-03 139506-01 139551-01 139558-03 139560-02 139562-02 139566-01 139570-05 139571-01 139572-02 139574-03 139579-04 139931-01 139936-01 139938-01 139939-01 139942-01 139947-01 139951-01 139952-01 139960-02 139965-01 139994-01 140000-04 140076-02 140077-01 140142-01 140173-01 140194-04 140196-01 140197-01 140334-01 140389-01 140402-01 140411-01 140677-01 140679-01 140774-03 140776-01 140794-01 140855-01 141006-01 141008-01 Requires: 125555-02 118731-01 118833-36 118918-24 119042-09 119254-41 119578-30 120011-14 120900-04 121133-02 126897-02 127127-11 127755-01 137137-09 138217-01 140796-01 140899-01 141016-01 Incompatibles: Packages: SUNWcsd SUNWzoneu SUNWzfsr SUNWmdr SUNWnfsckr SUNWsshdu SUNWsshu SUNWmdbr SUNWcry SUNWarc SUNWloc SUNWdcsr SUNWtoo SUNWsshcu SUNWfruip SUNWcakr SUNWmdu SUNWzfsu SUNWsckmu SUNWpiclu SUNWesu SUNWperl584core SUNWudapltu SUNWopenssl-libraries SUNWib SUNWudfr SUNWpool SUNWmdb SUNWsckmr SUNWxcu4 SUNWpd SUNWudaplu SUNWnfssu SUNWtavor SUNWibsdpib SUNWfmd SUNWssad SUNWcslr SUNWnxge SUNWroute SUNWsmapi SUNWhea SUNWipfu SUNWkvm SUNWckr SUNWbtool SUNWcsu SUNWzfskr SUNWefcl SUNWdtrc SUNWdtrp SUNWfmdr SUNWcpcu SUNWcsr SUNWcsl SUNWwbsup
hostname:/usr/bin:>/usr/sbin/patchadd -p | grep 141444
hostname:/usr/bin:>/usr/sbin/patchadd -p | grep 141414
Patch: 141414-02 Obsoletes: 141729-01 Requires: 118833-36 120011-14 127127-11 137137-09 139555-08 Incompatibles: Packages: SUNWmdbr SUNWcakr SUNWzfsu SUNWmdb SUNWcslr SUNWhea SUNWckr SUNWdtrc
Noteà The patches have to be checked in full 120753-14, the underlying OS had 120753-10, since I missed it I had this pop up later in pre-installation checks
Verifying UDP and TCP Kernel Parameters
hostname:/usr/bin:>/usr/sbin/ndd /dev/tcp tcp_smallest_anon_port tcp_largest_anon_port
32768
65535
Checking oracle inventory group & path of oracle inventory directory
hostname:/var/opt/oracle:>more /var/opt/oracle/oraInst.loc
inventory_loc=/app/oracle/product/oraInventory
inst_group=dba
Checking Shell Limits:
hostname:/var/opt/oracle:>ulimit -t
unlimited
hostname:/var/opt/oracle:>ulimit -f
unlimited
hostname:/var/opt/oracle:>ulimit -d
unlimited
hostname:/var/opt/oracle:>ulimit -s
8192
hostname:/var/opt/oracle:>ulimit -n
65536
hostname:/var/opt/oracle:>ulimit -v
unlimited
Had to alter ulimit –s, once root user fixed, I verified it after exiting/logging back in
hostname:/var/opt/oracle:>exit
$ sudo su - oracle
Password:
hostname:/export/home/oracle:>ulimit -s
32768
Checking Kernel Parameters:
hostname:/export/home/oracle:>prctl -n project.max-shm-memory -i project Oracle
project: 200: Oracle
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
project.max-shm-memory
privileged 12.0GB - deny -
system 16.0EB max deny -
hostname:/export/home/oracle:>prctl -n project.max-sem-ids -i project Oracle
project: 200: Oracle
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
project.max-sem-ids
privileged 1.02K - deny -
system 16.8M max deny -
hostname:/export/home/oracle:>cat /etc/project
system:0::::
user.root:1::::
noproject:2::::
default:3::::
group.staff:10::::
Oracle:200:Database:oracle:dba:process.max-sem-nsems=(priv,2048,deny);project.max-sem-ids=(priv,1024,deny);project.max-shm-ids=(priv,256,deny);project.max-shm-memory=(priv,12884901888,deny)
hostname:/export/home/oracle:>prctl -n project.max-shm-memory -i process $$
process: 10083: -ksh
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
project.max-shm-memory
privileged 12.0GB - deny -
Before beginning installation note to set tmp if inadequately sized, also on Solaris, it is to be exported as TEMP & not TMP
export TEMP=/var/tmp ( some place which has space)
export TEMP & not export TMP
i've used
export TEMP=/var/tmp
Run the fix up script
If necessary for your anticipated workload or number of servers , update the UDP and TCP ephemeral port range to a broader range. For example:# /usr/sbin/ndd -set /dev/tcp tcp_smallest_anon_port 9000
# /usr/sbin/ndd -set /dev/tcp tcp_largest_anon_port 65500
# /usr/sbin/ndd -set /dev/udp udp_smallest_anon_port 9000
# /usr/sbin/ndd -set /dev/udp udp_largest_anon_port 65500
rerunning the check.. completed successfully
now run the root.sh script as "root" user
running root.sh script it will ask if you want to overwrite, before saying yes.. backup the files in some other location.# /app/oracle/product/11.2/dbhome_1/root.sh
Running Oracle 11g root script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /app/oracle/product/11.2/dbhome_1
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y
Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y
Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y
Copying coraenv to /usr/local/bin ...
Entries will be added to the /var/opt/oracle/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
No comments:
Post a Comment