Oracle Restart Silent Installation

Oct 14, 2009 / By Andrey Goryunov

Tags: ,

Being a remote DBA (iDBA 2.0?) working for Pythian, I never see the servers that run the databases I connect to.

But do I have to? Term “remote” is very widespread today. We use remote controls for lots of devices, manage our bank accounts remotely, communicate to our parents and over phones, and so on. So why should we meet servers personally? Everything can be done remotely and that’s why silent installation of Oracle software is very important for database administrators.

Oracle continues to develop and improve that process, and nowadays for smooth and quick installation is just a matter of the proper definition of parameters.

I had had some experience with silent (and not always successful) installation of Oracle versions 8 and 9, but thanks to an excellent post, Oracle Silent Mode, Part 1: Installation Of 10.2 And 11.1 Databases by Grégory Guillou, I got a new splash of joy using silent installations. RDBMS, Oracle Grid Control, agents, scheduler agents, collaboration software, etc., can be installed using the silent installation in latest versions. This post is about silent installation of one of the new Oracle 11g Rel.2 options called Oracle Restart.

Grégory has already blogged about this: Oracle 11.2 Restart (it’s French but that’s no problem for iDBA 2.0, right?). In my case, I already have 11.1 and 11.2 databases created on a VM. Datafiles were placed into the file system, and I wanted to see how I could use Oracle High Availability Service to manage existing databases.

For that kind of installation, I downloaded Grid Infrastructure, and using the response file crs_install.rsp, executed the installer in silent mode:

./runInstaller -silent -responseFile /u03/install/11gR2/grid/response/crs_install.rsp ORACLE_BASE="/u04/app/oracle" ORACLE_HOME="/u04/app/11.2.0/grid" oracle.install.option="CRS_SWONLY oracle.install.asm.OSDBA=asmdba oracle.install.asm.OSOPER=asmoper oracle.install.asm.OSASM=asmadmin

Unfortunately, I could not ignore all prerequisites such as the start of the ntp daemon and account belonging to asm* groups, even though I used the -ignorePrereq parameter.

The installation was completed and I executed a couple of scripts to accomplish the process and configured Oracle High Availability Services on the node.

After that, I added existing databases (11.1 and 11.2) to cluster Oracle HA Service using srvctl command. srvctl add database -d ...

I noted that /etc/oratab was updated during configuration and even after I removed the entry from it, it appeared again when I bounced the server.

Also, the oraenv script still doesn’t change the ORACLE_BASE variable properly (as I mentioned in switching $ORACLE_BASE using oraenv in 11g), and it leaves the same value as for previous home even they are different.

Have a good day!

One Response to “Oracle Restart Silent Installation”

  • wissem says:

    Hello,

    I have an installed Oracle 11gR2 single instance database, using file system.(No ASM)
    I would like to use Oracle restart to automatically restart the instance and the listener after reboot.

    When installing using response file, I am getting the following error:

    [grid@db grid]$ ./runInstaller -silent -responseFile /opt/Linux_installs/restart/grid/response/grid_install.rsp
    Starting Oracle Universal Installer…

    Checking Temp space: must be greater than 120 MB. Actual 23763 MB Passed
    Checking swap space: must be greater than 150 MB. Actual 16479 MB Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-06-21_09-21-07PM. Please wait …
    [grid@db grid]$ [FATAL] [INS-30504] Missing ASM disk group name.
    CAUSE: ASM disk group name was not entered in the text field.
    ACTION: Enter a valid ASM disk group name.
    [FATAL] [INS-30507] Empty ASM disk group.
    CAUSE: No disks were selected from a managed ASM disk group.
    ACTION: Select appropriate number of disks from a managed ASM disk group.

    [grid@db grid]$

    It ‘s a must to have ASM in order to install Oracle restart?
    Any help,

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>