Re: Oracle 11gR2 RAC database software silent installation

From: Lei Zeng <leizeng2003_at_yahoo.com>
Date: Sun, 12 Feb 2012 15:05:15 -0800 (PST)
Message-ID: <1329087915.98576.YahooMailNeo_at_web114715.mail.gq1.yahoo.com>



Hi:
 

Oracle has default response file and few changes are needed to make it work. As shown below, I have a brief note about the changes I made in our environment (explained in detail for CRS install response file).
 

Lei
DBspeed  http://www.dbspeed.com/index.html
 



CRS installation for 11.2.0.1

you can find original response file in <install_software>/grid/response/crs.rsp The following parameters are those I changed to make it work

ORACLE_HOSTNAME=racnode1.dbspeed.com
INVENTORY_LOCATION=/opt/oracle/oraInventory SELECTED_LANGUAGES=en
oracle.install.option=CRS_CONFIG
ORACLE_BASE=/opt/oracle
ORACLE_HOME=/opt/oracle/11.2/grid
oracle.install.asm.OSDBAÛa
oracle.install.asm.OSOPERÛa
oracle.install.asm.OSASMÛa
oracle.install.crs.config.gpnp.scanName=scan-racnode1
oracle.install.crs.config.gpnp.scanPort21
oracle.install.crs.config.clusterName=clu-racnode1
oracle.install.crs.config.autoConfigureClusterNodeVIPúlse
oracle.install.crs.config.clusterNodes=racnode1:racnode1-vip,racnode2:racnode2-vip
oracle.install.crs.config.privateInterconnects=bond0:80.77.10.0:1,bond1:80.77.10.110:2
oracle.install.crs.config.storageOption=ASM_STORAGE
oracle.install.asm.SYSASMPasswordÛspeed
oracle.install.asm.diskGroup.nameÚTA
oracle.install.asm.diskGroup.redundancy=EXTERNAL
oracle.install.asm.diskGroup.disks=ORCL:ASM_001_200G
oracle.install.asm.monitorPasswordÛspeed
*********************************************************************************************
HOW TO get those parameters

ORACLE_HOSTNAME
- usually specifiy the first node of the RAC

oracle.install.crs.config.gpnp.scanName
- this is the full name for scan name, ask Unix admin to provide scan name and scan ip

oracle.install.crs.config.clusterName
- your choice, Oracle has limitation on max length characters, I use naming convention of 'clu-' plus '<first_node_name>'

oracle.install.crs.config.clusterNodes
- the format is
<node1_name_for_public_ip>:<node1_name_for_virtual_ip>,<node2_name_for_public_ip>:<node2_name_for_virtual_ip>

oracle.install.crs.config.privateInterconnects - the best way to get this is go to the output of cluvfy examples: you will have the following informaiton displayed by cluvfy Interface information for node "racnode1.dbspeed.com"
 Name   IP Address      Subnet          Gateway         Def. Gateway    HW Address        MTU
 ------ --------------- --------------- --------------- --------------- ----------------- ------
 bond0  80.77.16.75     80.77.10.0      0.0.0.0         80.77.16.1      78:X3:C1:1B:A1:80 9000
 bond1  80.77.202.117   80.77.10.110    0.0.0.0         80.77.16.1      78:X3:C1:1B:A1:82 9000
bond0 is for public IP, we need information from two columns: 'Name' and 'Subnet'. use format
<Name>:<Subnet>:1
bond1 is for interconnect IP
use format
<Name>:<Subnet>:2
Combine them together as
<Name>:<Subnet>:1,<Name>:<Subnet>:2

oracle.install.asm.diskGroup.disks
- please pick the first disk from ' /etc/init.d/oracleasm listdisks' The assumption here is :
for any database we are going to build on top of ASM, we will have a disk group: DATA The installation will create disk group DATA with one disk. After installation, we will add other disks to it.
 



DBMS installation for 11.2.0.1

you can find original response file in <install_software>/database/response/enterprise.rsp  The following parameters are those I changed to make it work.

oracle.install.option=INSTALL_DB_SWONLY
ORACLE_HOSTNAME=racnode1.dbspeed.com
UNIX_GROUP_NAMEÛa
INVENTORY_LOCATION=/opt/oracle/oraInventory SELECTED_LANGUAGES=en
ORACLE_HOME=/opt/oracle/11.2/db
ORACLE_BASE=/opt/oracle
oracle.install.db.InstallEditionî
oracle.install.db.DBA_GROUPÛa
oracle.install.db.OPER_GROUPÛa
oracle.install.db.CLUSTER_NODES=racnode1,racnode2
SECURITY_UPDATES_VIA_MYORACLESUPPORTúlse DECLINE_SECURITY_UPDATES=true

From: Mek S <sidi.bouzid.meknessy_at_gmail.com> To: ORACLE-L <oracle-l_at_freelists.org> Sent: Sunday, February 12, 2012 5:14 AM
Subject: Oracle 11gR2 RAC database software silent installation

Hello,
Could you please share a content of a correct response file to installte an Oracle 11gR2 RAC database software silent using ASM (2 nodes is enough)?

Thank you,
S

--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l
Received on Sun Feb 12 2012 - 17:05:15 CST

Original text of this message