Guenadi N Jilevski's Oracle BLOG

Oracle RAC, DG, EBS, DR and HA DBA BLOG

OUI in Oracle 11g in silent mode

OUI in Oracle 11g in silent mode

Oracle universal installer (OUI) is invoked by running the runInstaller utility. In Oracle 11g R1 OUI is used for both Oracle clusterware and RDBMS software installation and deinstallation. With OUI we can perform both interactive and silent install of the Oracle clusterware and RDBMS software.  When OUI runs in interactive mode it prompts you to provide information in graphical user interface (GUI) screens. When OUI runs in silent mode it uses a response files to provide this information. If you include responses for all of the prompts in the response file and specify the -silent option when starting OUI it runs in silent mode. During a silent-mode installation, OUI does not display any screens. Instead, it displays progress information in the terminal that you used to start it.

The patern of the response file for Oracle clusterware is /oracle_media/clusterware/response/crs.rsp. The files need to be edited as per the instructions inside to provide the information. We will rename the response file to crs1.rsp.

We initiate a silent install with the command as follows.

/oracle_media/clusterware/runInstaller –silent /oracle_media/clusterware/response/crs1.rsp

In Oracle 11g R1 OUI is used for both Oracle clusterware and RDBMS software installation and deinstallation. With OUI we can perform both interactive and silent install of the Oracle clusterware and RDBMS software and database. When OUI runs in interactive mode it prompts you to provide information in graphical user interface (GUI) screens. When OUI runs in silent mode it uses a response files to provide this information. If you include responses for all of the prompts in the response file and specify the -silent option when starting OUI it runs in silent mode. During a silent-mode installation, OUI does not display any screens. Instead, it displays progress information in the terminal that you used to start it. OUI provides ability for an enterprise, standard and custom installation. We will use an enterprise installation although with custom we can have more freedom to chose components we want installed. In the Select Configuration Option screen of the OUI we can select a database creation, ASM or software only. We can select to configure ASM option to have the RDBMS installed along with a clustered ASM instance. If we select an option for a database creation we will have a database created, ASM configured if ASM is chosen as a storage and RDBMS software installed. Using the above options for DB or ASM creation installs the software in one Oracle home.

We might want to have two Oracle homes. One Oracle home is for the ASM instance and the second is for the RDBMS database instance. The two Oracle homes installation provides flexibility to patch independently ASM oracle home from the RDBMS database home. We can specify install only software option from the OUI Select Configuration Option screen and create two Oracle homes for ASM and RDBMs database. Choosing the install software option provides with more flexibility and we can additionally use dbca utility to create the ASM and RAC RDBMS databases.

The pattern of the response file for Oracle RDBMS software is /oracle_media/database/install/response/ee.rsp. The files need to be edited as per the instructions inside to provide the information for Oracle RDBMS install and database creation. We will rename the response file to ee1.rsp.

We initiate a silent install by logging into raclinux1 as the oracle user and starting the OUI.

/oracle_media/clusterware/runInstaller –silent ee1.rsp

December 13, 2009 - Posted by | oracle

3 Comments »

  1. Nice posting for silent installation of Oracle 11g including ASM instance.

    Comment by Jack Nicholson | April 12, 2010 | Reply

  2. Is there any way (variable like SHOW_INSTALL_PROGRESS_PAGE=true) to display progress during oracle11g silent installation ?

    Comment by gaurav | August 3, 2011 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: