- Create user and group:
- groupadd -g 201 dba
- groupadd -g 200 oinstall
- useradd -g oinstall -G dba -u 200 oracle
- mkdir /export/home/oracle
- chown -R oracle:oinstall /export/home/oracle
- passwd oracle (setup password for oracle user)
- Create ZFS pool to install Oracle (optional)
- Find out which pools exist and which disks are used by those pools
- zpool status
- Create a pool named oraclePool
-
zpool create oraclePool c0t5000C5001D250C7Fd0
c0t5000C5001D207157d0
zfs create oraclePool/11gR2
- Create directories and provide them right permissions:
- mkdir -p /u01/app/oracle
- mkdir -p /u01/app/11.2.0/grid
- mkdir -p /u01/app/oracle/11.2.0/db
- chown -R oracle:oinstall /u01
- chmod -R 775 /u01
- Oracle BASE : /u01/app/oracle
- GRID Base: /u01/app/11.2.0/grid
- DB BASE: /u01/app/oracle/11.2.0/grid
- Install the required packages
- pkg install SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWpool SUNWsprot SUNWtoo SUNWuiu8 SUNWfont-xorg-core SUNWfont-xorg-iso8859-1 SUNWmfrun SUNWxorg-client-programs SUNWxorg-clientlibs SUNWxwfsw pkg://solaris/SUNWxwplt
- Set project attributes
- projmod -s -K 'process.max-file-descriptor=(basic,10000,deny)' oracleProject
- 11.2.0.3 and later are supported on Solaris 11
- Set up AWT_TOOLKIT variable on Solaris 11
- if installing on Solaris 11, set the following variable so runInstaller can work
- export AWT_TOOLKIT=XToolkit
- To setup rsh/ rlogin/ssh between nodes on Solaris 11:
- pkg install service/network/legacy-remote-utilities
- inetadm -e svc:/network/login:rlogin
- svcadm enable /network/shell:default
- Clone ASM and DB installation
- Check out Appendix B of this document:
http://download.oracle.com/docs/cd/E11882_01/install.112/e24346/toc.htm
- If you want to do a slient install with response file check out appendix A.
- Verify if you have all the required packages:
- pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWpool SUNWpoolr SUNWsprot SUNWtoo SUNWuiu8 SUNWfont-xorg-core SUNWfont-xorg-iso8859-1 SUNWmfrun SUNWxorg-client-programs SUNWxorg-clientlibs SUNWxwfsw SUNWxwplt
- Else install the packages
- pkg install <list of space separated pkg names>
- If required you can delete existing publisher and add new publisher
- pkg set-publisher -G '*' -g http://ipkg.us.oracle.com/solaris11/dev/ solaris
# pkg publisher
PUBLISHER TYPE STATUS URI
solaris origin online http://ipkg.us.oracle.com/solaris11/dev/
No comments:
Post a Comment