Edit D:\rfid\database\database\doc\install.112\e10843\advance.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> <meta http-equiv="Content-Language" content="en" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <meta name="robots" content="all" scheme="http://www.robotstxt.org/" /> <meta name="generator" content="Oracle DARB XHTML Converter (Mode = document) - Version 5.1.1 Build 026" /> <meta name="Date" content="2010-03-23T20:31:35Z" /> <meta name="doctitle" content="Oracle® Database Installation Guide 11g Release 2 (11.2) for Microsoft Windows" /> <meta name="partno" content="E10843-03" /> <meta name="docid" content="NTDBI" /> <link rel="Start" href="../../index.htm" title="Home" type="text/html" /> <link rel="Copyright" href="../../dcommon/html/cpyr.htm" title="Copyright" type="text/html" /> <link rel="Stylesheet" href="../../dcommon/css/blafdoc.css" title="Default" type="text/css" /> <script type="text/javascript" src="../../dcommon/js/doccd.js"> </script> <link rel="Contents" href="toc.htm" title="Contents" type="text/html" /> <link rel="Index" href="index.htm" title="Index" type="text/html" /> <link rel="Glossary" href="glossary.htm" title="Glossary" type="text/html" /> <link rel="Prev" href="ofa.htm" title="Previous" type="text/html" /> <link rel="Next" href="gblsupp.htm" title="Next" type="text/html" /> <link rel="alternate" href="../e10843.pdf" title="PDF version" type="application/pdf" /> <title>Installing and Configuring Oracle Database Using Response Files</title> </head> <body> <div class="header"> <div class="zz-skip-header"><a name="top" id="top" href="#BEGIN">Skip Headers</a></div> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <tr> <td align="left" valign="top"><b>Oracle® Database Installation Guide<br /> 11<i>g</i> Release 2 (11.2) for Microsoft Windows</b><br /> Part Number E10843-03</td> <td valign="bottom" align="right"> <table class="icons oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="245"> <tr> <td align="center" valign="top"><a href="../../index.htm"><img width="24" height="24" src="../../dcommon/gifs/doclib.gif" alt="Go to Documentation Home" /><br /> <span class="icon">Home</span></a></td> <td align="center" valign="top"><a href="../../nav/portal_booklist.htm"><img width="24" height="24" src="../../dcommon/gifs/booklist.gif" alt="Go to Book List" /><br /> <span class="icon">Book List</span></a></td> <td align="center" valign="top"><a href="toc.htm"><img width="24" height="24" src="../../dcommon/gifs/toc.gif" alt="Go to Table of Contents" /><br /> <span class="icon">Contents</span></a></td> <td align="center" valign="top"><a href="index.htm"><img width="24" height="24" src="../../dcommon/gifs/index.gif" alt="Go to Index" /><br /> <span class="icon">Index</span></a></td> <td align="center" valign="top"><a href="../../dcommon/html/feedback.htm"><img width="24" height="24" src="../../dcommon/gifs/feedbck2.gif" alt="Go to Feedback page" /><br /> <span class="icon">Contact Us</span></a></td> </tr> </table> </td> </tr> </table> <hr /> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <tr> <td align="left" valign="top"> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="98"> <tr> <td align="center" valign="top"><a href="ofa.htm"><img width="24" height="24" src="../../dcommon/gifs/leftnav.gif" alt="Go to previous page" /><br /> <span class="icon">Previous</span></a></td> <td align="center" valign="top"><a href="gblsupp.htm"><img width="24" height="24" src="../../dcommon/gifs/rightnav.gif" alt="Go to next page" /><br /> <span class="icon">Next</span></a></td> </tr> </table> </td> <td align="right" valign="top" style="font-size: 90%"><a href="../e10843.pdf">View PDF</a></td> </tr> </table> <a name="BEGIN" id="BEGIN"></a></div> <div class="IND"><!-- End Header --><a id="CHDICDJA" name="CHDICDJA"></a><a id="i634763" name="i634763"></a> <h1 class="appendix"><span class="secnum">C</span> <a name="NTDBI009" id="NTDBI009"></a>Installing and Configuring <a id="ABC1162371" name="ABC1162371"></a>Oracle <a id="sthref706" name="sthref706"></a><a id="sthref707" name="sthref707"></a><a id="sthref708" name="sthref708"></a>Database Using Response Files</h1> <p>This appendix describes how to use response files to perform silent or response file installations, configure network connections, and configure or start an Oracle database. It covers the following topics:</p> <ul> <li> <p><a href="#BBAHEGFF">How Response Files Work</a></p> </li> <li> <p><a href="#BBAEDBJG">Preparing a Response File</a></p> </li> <li> <p><a href="#BBAIEBDG">Running Oracle Universal Installer Using the Response File</a></p> </li> <li> <p><a href="#BBACCDJF">Running Net Configuration Assistant Using a Response File</a></p> </li> <li> <p><a href="#BBAFCFDH">Running Oracle Database Configuration Assistant Using a Response File</a></p> </li> <li> <p><a href="#CIAEBGCI">Postinstallation Configuration Using a Response File</a></p> </li> </ul> <a id="BBAHEGFF" name="BBAHEGFF"></a> <div class="sect1"><!-- infolevel="all" infotype="General" --> <h2 class="sect1"><span class="secnum">C.1</span> How Response Files Work<a id="sthref709" name="sthref709"></a></h2> <p><a id="sthref710" name="sthref710"></a>You can automate the installation and configuration of Oracle software, either fully or partially, by specifying a response file when you start Oracle Universal Installer. Oracle Universal Installer uses the values in the response file to provide answers to some or all of the Oracle Universal Installer prompts. It includes information about the following topics:</p> <ul> <li> <p><a href="#CIAICGDI">Reasons for Using Silent Mode or Response File Mode</a></p> </li> <li> <p><a href="#CIAGAFBD">General Procedure for Using Response Files</a></p> </li> </ul> <p>Typically, Oracle Universal Installer runs in interactive mode, which means that it prompts you to provide information in graphical user interface (GUI) screens. When you use response files to provide this information, you run Oracle Universal Installer at a command prompt using either of the following modes:</p> <ul> <li> <p><a id="sthref711" name="sthref711"></a><span class="bold">Silent mode</span>:<a id="sthref712" name="sthref712"></a> Oracle Universal Installer does not display any screens. Instead it displays progress information in the command window where you started it. To use silent mode, you run <code>setup.exe</code> with the <code>-silent</code> parameter and include a response file, which contains responses to the Oracle Universal Installer prompts.</p> </li> <li> <p><a id="sthref713" name="sthref713"></a><span class="bold"><a id="sthref714" name="sthref714"></a>Response File mode</span>: During a response file mode installation, Oracle Universal Installer displays all the screens, screens for which you specify information in the response file and also screens for which you did not specify the required information in the response file. The advantage is that you can validate the values in the screens for which you have already provided the information in the response file and continue with the installation. To use silent or response file mode, run <code>setup.exe</code> without the <code>-silent</code> parameter, but include the response file or any other parameters that apply.</p> </li> </ul> <p><a id="sthref715" name="sthref715"></a>You define the settings for a silent or response file installation by entering values for the variables listed in the response file. For instance, to specify the Oracle home name, you would supply the appropriate value for the <code><span class="codeinlineitalic">ORACLE_HOME</span></code> variable, as in the following example:</p> <pre xml:space="preserve" class="oac_no_warn"><span class="italic">ORACLE_HOME</span>="C:\app\product" </pre> <p>Another way of specifying the response file's variable settings is to pass them as command-line arguments when you run Oracle Universal Installer. For example:</p> <pre xml:space="preserve" class="oac_no_warn"><span class="italic">DRIVE_LETTER</span>:\<span class="italic">setup.exe_location</span>> setup -silent "<span class="italic">ORACLE_HOME</span>=C:\app\product" ... </pre> <p><a id="sthref716" name="sthref716"></a><a id="sthref717" name="sthref717"></a><a id="sthref718" name="sthref718"></a>This method is particularly useful if you do not want to embed sensitive information, such as passwords, in the response file. For example:</p> <pre xml:space="preserve" class="oac_no_warn"><span class="italic">DRIVE_LETTER</span>:\<span class="italic">setup.exe_location</span>> setup -silent "s_dlgRBOPassword=binks342" ... </pre> <p>Ensure that you enclose the variable and its setting in quotes.</p> <div class="infoboxnotealso"> <p class="notep1">See Also:</p> <span class="italic"><a class="olink OUICG" href="../../em.112/e12255/toc.htm">Oracle Universal Installer and OPatch User's Guide for Windows and UNIX</a></span> for more information about response file formats.</div> <a id="CIAICGDI" name="CIAICGDI"></a> <div class="sect2"><!-- infolevel="all" infotype="General" --> <h3 class="sect2"><span class="secnum">C.1.1</span> Reasons for Using Silent Mode or Response File Mode</h3> <p><a href="#BBAICCFF">Table C-1</a>describes several reasons why you might want to run Oracle Universal Installer in silent mode or response file mode.</p> <div class="tblhruleformal"><a id="sthref719" name="sthref719"></a><a id="BBAICCFF" name="BBAICCFF"></a> <p class="titleintable">Table C-1 Reasons for Using Silent Mode or Response File Mode</p> <table class="HRuleFormal" title="Reasons for Using Silent Mode or Response File Mode" summary="Reasons for using silent mode" dir="ltr" border="1" width="100%" frame="hsides" rules="rows" cellpadding="3" cellspacing="0"> <col width="20%" /> <col width="*" /> <thead> <tr align="left" valign="top"> <th align="left" valign="bottom" id="r1c1-t3">Mode</th> <th align="left" valign="bottom" id="r1c2-t3">Uses</th> </tr> </thead> <tbody> <tr align="left" valign="top"> <td align="left" id="r2c1-t3" headers="r1c1-t3"> <p>Silent<a id="sthref720" name="sthref720"></a></p> </td> <td align="left" headers="r2c1-t3 r1c2-t3"> <p>Use silent mode to:</p> <ul> <li> <p>Complete an unattended installation</p> </li> <li> <p>Complete several similar installations on multiple systems without user interaction</p> </li> </ul> <p>Oracle Universal Installer displays progress information in the window that you used to start it, but it does not display the Oracle Universal Installer screens.</p> </td> </tr> <tr align="left" valign="top"> <td align="left" id="r3c1-t3" headers="r1c1-t3"> <p>Response File<a id="sthref721" name="sthref721"></a></p> </td> <td align="left" headers="r3c1-t3 r1c2-t3"> <p>Use response file mode to complete similar Oracle software installations on multiple systems, providing default answers to some, but not all, of Oracle Universal Installer prompts.</p> <p>In response file mode, all the installer screens are displayed, but defaults for the fields in these screens are provided by the response file. You have to provide information for the fields in screens where you have not provided values in the response file.</p> </td> </tr> </tbody> </table> <br /></div> <!-- class="tblhruleformal" --></div> <!-- class="sect2" --> <a id="CIAGAFBD" name="CIAGAFBD"></a> <div class="sect2"><!-- infolevel="all" infotype="General" --> <h3 class="sect2"><span class="secnum">C.1.2</span> General Procedure for Using Response Files<a id="sthref722" name="sthref722"></a></h3> <p><a id="sthref723" name="sthref723"></a>You follow these <a id="sthref724" name="sthref724"></a>general steps to install Oracle Database using response files:</p> <ol> <li> <p>If you plan to use Automatic Storage Management and configure new disks, then you must perform the following steps:</p> <ol> <li> <p>Create partitions for DAS or SAN disks.</p> </li> <li> <p>Manually configure the disks using the <code>asmtoolg</code> or <code>asmtool</code> utility.</p> </li> </ol> <div class="infoboxnotealso"> <p class="notep1">See Also:</p> <ul> <li> <p><a href="oraclerestart.htm#CHDFDGHD">"Step 3: Creating DAS or SAN Disk Partitions for an Automatic Storage Management Instance"</a></p> </li> <li> <p><a href="oraclerestart.htm#CHDHFFGH">"Step 4: Manually Configuring Disks for Automatic Storage Management"</a></p> </li> </ul> </div> </li> <li> <p>Customize or create a response file for the installation settings that you need.</p> <p>You can create the response file by using one of the following methods:</p> <ul> <li> <p>Modify one of the sample response files that is provided with the installation.</p> </li> <li> <p>Run Oracle Universal Installer at a command prompt using record mode.</p> </li> </ul> <p><a href="#BBAEDBJG">"Preparing a Response File"</a> explains how to customize or create the response file.</p> </li> <li> <p>Run Oracle Universal Installer from a command prompt, specifying the response file, using either silent or response file mode.</p> <div class="infoboxnote"> <p class="notep1">Note:</p> Windows Vista, Windows Server 2008, Windows Server 2008 R2, and Windows 7 require Administrator privileges at the command prompt.</div> <p><a href="#BBAIEBDG">"Running Oracle Universal Installer Using the Response File"</a> explains how to run Oracle Universal Installer with a response file.</p> </li> </ol> </div> <!-- class="sect2" --></div> <!-- class="sect1" --> <a id="BBAEDBJG" name="BBAEDBJG"></a> <div class="sect1"><!-- infolevel="all" infotype="General" --> <h2 class="sect1"><span class="secnum">C.2</span> Preparing a Response File</h2> <p>This section describes the methods that you can use to prepare a response file for use during silent-mode or response file-mode installations:</p> <ul> <li> <p><a href="#BBAICFGJ">Editing a Response File Template</a></p> </li> <li> <p><a href="#BBADBFFI">Recording a Response File</a></p> </li> </ul> <a id="BBAICFGJ" name="BBAICFGJ"></a> <div class="sect2"><!-- infolevel="all" infotype="General" --> <h3 class="sect2"><span class="secnum">C.2.1</span> Editing a Response File Template<a id="sthref725" name="sthref725"></a></h3> <p>Oracle provides response file templates for the database and for each configuration tool. These files are located in the <code>database\response</code> directory on the Oracle Database installation media.</p> <p><a href="#i634251">Table C-2</a> lists the available sample response files:</p> <div class="tblhruleformal"><a id="sthref726" name="sthref726"></a><a id="i634251" name="i634251"></a> <p class="titleintable">Table C-2 Response Files</p> <table class="HRuleFormal" title="Response Files " summary="This table describes the response files. Column 1 lists the names of the response file. Column 2 describes the installation type the file performs." dir="ltr" border="1" width="100%" frame="hsides" rules="rows" cellpadding="3" cellspacing="0"> <col width="41%" /> <col width="*" /> <thead> <tr align="left" valign="top"> <th align="left" valign="bottom" id="r1c1-t6">Response File Name</th> <th align="left" valign="bottom" id="r1c2-t6">This File Silently Runs The...</th> </tr> </thead> <tbody> <tr align="left" valign="top"> <td align="left" id="r2c1-t6" headers="r1c1-t6"> <p><code>db_install.rsp</code></p> </td> <td align="left" headers="r2c1-t6 r1c2-t6"> <p>Oracle Database</p> </td> </tr> <tr align="left" valign="top"> <td align="left" id="r3c1-t6" headers="r1c1-t6"> <p><code>dbca.rsp</code> <a id="sthref727" name="sthref727"></a><a id="sthref728" name="sthref728"></a></p> </td> <td align="left" headers="r3c1-t6 r1c2-t6"> <p>Oracle Database Configuration Assistant<a id="sthref729" name="sthref729"></a></p> </td> </tr> <tr align="left" valign="top"> <td align="left" id="r4c1-t6" headers="r1c1-t6"> <p><code>netca.rsp</code><a id="sthref730" name="sthref730"></a><a id="sthref731" name="sthref731"></a></p> </td> <td align="left" headers="r4c1-t6 r1c2-t6"> <p>Oracle Net Configuration Assistant <a id="sthref732" name="sthref732"></a> </p> </td> </tr> </tbody> </table> <br /></div> <!-- class="tblhruleformal" --> <div class="infoboxnote"> <p class="notep1">Caution:</p> When you modify a response file template and save a file for use, the response file may contain plain text passwords. Ownership of the response file should be given to the Oracle software installation owner only. Oracle strongly recommends that database administrators or other administrators delete or secure response files when they are not in use.</div> <p>To copy and modify a response file:</p> <ol> <li> <p>Copy the appropriate response files from the <code>database\response</code> directory on the Oracle Database media to your hard drive.</p> </li> <li> <p>Modify the response files with a text file editor.</p> <p>Remember that you can specify sensitive information, such as passwords, at the command line rather than within the response file. <a href="#BBAHEGFF">"How Response Files Work"</a> explains this method.</p> <div class="infoboxnotealso"> <p class="notep1">See Also:</p> <span class="italic"><a class="olink OUICG" href="../../em.112/e12255/toc.htm">Oracle Universal Installer and OPatch User's Guide for Windows and UNIX</a></span> for detailed information about creating response files. In an installed Oracle Database, select <span class="bold">Start</span>, then <span class="bold">Programs</span>, then <span class="bold">Oracle -</span> <span class="bolditalic">HOME_NAME</span>, then <span class="bold">Oracle Installation Products</span>, then <span class="bold">Universal Installer Concepts Guide</span>. It appears in HTML format.</div> </li> <li> <p>Run the response file by following the instructions in the <a href="#BBAIEBDG">"Running Oracle Universal Installer Using the Response File"</a> section.</p> </li> </ol> </div> <!-- class="sect2" --> <a id="BBADBFFI" name="BBADBFFI"></a> <div class="sect2"><!-- infolevel="all" infotype="General" --> <h3 class="sect2"><span class="secnum">C.2.2</span> Recording a Response File</h3> <p><a id="sthref733" name="sthref733"></a>You can use the installer in interactive mode to record a response file, which you can edit and then use to complete silent mode or response file mode installations. This method is useful for custom software-only installations.</p> <p>Starting with Oracle Database 11<span class="italic">g</span> Release 2 (11.2), you can save all the installation steps into a response file during installation by clicking <span class="bold">Save Response File</span> on the Summary page. You can use the generated response file for a silent installation later.</p> <p>When you record the response file, you can either complete the installation, or you can exit from the installer on the Summary page, before it starts to copy the software to the system.</p> <div class="infoboxnote"> <p class="notep1">Note:</p> Oracle Universal Installer does not record passwords in the response file.</div> <p>To record a response file:</p> <ol> <li> <p>Ensure that the computer on which you are creating the response file has met the requirements described in <a href="reqs.htm#BCFHFECH">Chapter 2</a>.</p> </li> <li> <p>At the command prompt, use the <code>cd</code> command to change to the directory that contains the Oracle Universal Installer <code>setup.exe</code> executable.</p> <div class="infoboxnote"> <p class="notep1">Note:</p> Windows Vista, Windows Server 2008, Windows Server 2008 R2, and Windows 7 require Administrator privileges at the command prompt.</div> <p>On the installation DVD, <code>setup.exe</code> is located in the <code>database</code> directory. Alternatively, navigate to the directory where you downloaded or copied the installation files.</p> </li> <li> <p>Run <code>setup.exe</code>.</p> </li> <li> <p>After Oracle Universal Installer starts, enter the installation settings, to record in the response file.</p> </li> <li> <p>When the installer displays the Summary screen, perform the following:</p> <ol> <li> <p>Click <span class="bold">Save Response File</span> and specify a file name and location for the response file. Then, click <span class="bold">Save</span> to save the values to the file.</p> </li> <li> <p>Click <span class="bold">Finish</span> to continue with the installation.</p> <p>Click <span class="bold">Cancel</span> if you do not want to continue with the installation. The installation stops, but the recorded response file is retained.</p> </li> </ol> </li> <li> <p>Before you use the saved response file on another system, edit the file and make any required changes.</p> <p>Use the instructions in the file as a guide when editing it.</p> </li> </ol> </div> <!-- class="sect2" --></div> <!-- class="sect1" --> <a id="BBAIEBDG" name="BBAIEBDG"></a> <div class="sect1"><!-- infolevel="all" infotype="General" --> <h2 class="sect1"><span class="secnum">C.3</span> Running Oracle Universal Installer Using the Response File<a id="sthref734" name="sthref734"></a></h2> <p>At this stage, you are ready to run Oracle Universal Installer at the command line, specifying the response file you created, to perform the installation. On Windows Vista, Windows Server 2008, Windows Server 2008 R2, and Windows 7, you must open the command prompt with Administrator privileges. The Oracle Universal Installer executable, <code>setup.exe</code>, provides several options. For help information about the full set of these options, run <code>setup.exe</code> with the <code>-help</code> option, for example:</p> <pre xml:space="preserve" class="oac_no_warn"><span class="italic">DRIVE_LETTER</span>:\<span class="italic">setup.exe_location</span>> setup -help </pre> <p>A new command window appears, with the "Preparing to launch..." message. In a moment, the help information appears in that window.</p> <p>To run Oracle Universal Installer and specify a response file:</p> <ol> <li> <p>Place the response file on the computer where you want to install Oracle Database.</p> </li> <li> <p>At a command prompt, run Oracle Universal Installer with the appropriate response file. On Windows Vista, Windows Server 2008, Windows Server 2008 R2, and Windows 7, you must open the command prompt with Administrator privileges.For example: <a id="sthref735" name="sthref735"></a><a id="sthref736" name="sthref736"></a></p> <pre xml:space="preserve" class="oac_no_warn"><span class="italic">DRIVE_LETTER</span>:\<span class="italic">setup.exe_location</span>> setup [-silent] "<span class="italic">variable</span>=<span class="italic">setting</span>" [-noconfig] [-nowait] -responseFile <span class="italic">filename</span> </pre> <p>where:</p> <ul> <li> <p><code><span class="codeinlineitalic">filename</span></code>: Identifies the full path of the response file.</p> </li> <li> <p><code>-silent</code>: Runs Oracle Universal Installer in silent mode and suppresses the Welcome window.</p> </li> <li> <p><code>"</code><code><span class="codeinlineitalic">variable</span></code><code>=</code><code><span class="codeinlineitalic">setting</span></code><code>"</code> refers to a variable within the response file that you may prefer to run at the command line rather than set in the response file. Enclose the variable and its setting in quotes.</p> </li> <li> <p><code>-noconfig</code>: Suppresses running the <a id="sthref737" name="sthref737"></a>configuration<a id="sthref738" name="sthref738"></a><a id="sthref739" name="sthref739"></a> assistants during installation, performing a software-only installation instead.</p> </li> <li> <p><code>-nowait</code>: Closes the console window when the silent installation completes.</p> </li> </ul> <p>If you use record mode during a response file mode installation, then the installer records the variable values that were specified in the original source response file into the new response file.</p> </li> </ol> <div class="infoboxnotealso"> <p class="notep1">See Also:</p> <ul> <li> <p>"Installing Oracle Products" in <span class="italic"><a class="olink OUICG005" href="http://www.oracle.com/pls/db112/lookup?id=OUICG005">Oracle Universal Installer and OPatch User's Guide for Windows and UNIX</a></span> for more information about installing using response files</p> </li> <li> <p>"Deinstalling Products" in <span class="italic">Oracle Universal Installer and OPatch User's Guide for Windows and UNIX</span> for <a id="sthref740" name="sthref740"></a>more information about deinstalling using response files</p> </li> </ul> </div> </div> <!-- class="sect1" --> <a id="BBACCDJF" name="BBACCDJF"></a> <div class="sect1"><!-- infolevel="all" infotype="General" --> <h2 class="sect1"><span class="secnum">C.4</span> Running Net Configuration Assistant Using a Response File<a id="sthref741" name="sthref741"></a><a id="sthref742" name="sthref742"></a><a id="sthref743" name="sthref743"></a></h2> <p>When you run Net Configuration Assistant with a response file, you run it in silent mode. This lets you configure and start an Oracle Net listener on the system, configure naming methods, and configure Oracle Net service names. To run NetCA in silent mode, use the <code><a id="sthref744" name="sthref744"></a>netca.rsp</code> response file.</p> <p>On Windows Vista, Windows Server 2008, Windows Server 2008 R2, and Windows 7, you must open the command prompt with Administrator privileges.</p> <p>To create a Net Configuration Assistant response file:</p> <ol> <li> <p>Copy the <code>netca.rsp</code> response file template from the response file directory to a directory on your system.</p> <p>The <code>netca.rsp</code> is located in the <code>database\response</code> directory on the Oracle Database installation media.</p> </li> <li> <p>Open the response file in a text editor.</p> </li> <li> <p>Edit the file, following the instructions in the file.</p> <p>Net Configuration Assistant fails if you do not correctly configure the <code>netca.rsp</code> response file.</p> </li> </ol> <p>To run Net Configuration Assistant using the response file you just created, run Net Configuration Assistant in silent mode as follows, replacing <code><span class="codeinlineitalic">local_dir</span></code> with the directory where you placed your version of the <code>netca.rsp</code> response file:</p> <pre xml:space="preserve" class="oac_no_warn">C:\<span class="italic">ORACLE_HOME</span>\bin> netca /silent /responsefile <span class="italic">local_dir</span>\<span class="italic">netca.rsp</span> </pre> <p>For example:</p> <pre xml:space="preserve" class="oac_no_warn">C:\<span class="italic">ORACLE_HOME</span>\bin> netca /silent /responsefile C:\oracle_response_files\mynetca.rsp </pre></div> <!-- class="sect1" --> <a id="BBAFCFDH" name="BBAFCFDH"></a> <div class="sect1"><!-- infolevel="all" infotype="General" --> <h2 class="sect1"><span class="secnum">C.5</span> Running Oracle Database Configuration Assistant Using a Response File<a id="sthref745" name="sthref745"></a><a id="sthref746" name="sthref746"></a></h2> <p>You can run Oracle Database Configuration Assistant in silent or response file mode to configure and start an Oracle database on your system. To run Oracle Database Configuration Assistant in silent or response file mode, use the <code>dbca.rsp</code> response file.</p> <p>On Windows Vista, Windows Server 2008, Windows Server 2008 R2, and Windows 7, you must open the command prompt with Administrator privileges.</p> <p>To create a Oracle Database Configuration Assistant response file:</p> <ol> <li> <p>Copy the <code>dbca.rsp</code> response file template from the response file directory to a directory on your system.</p> <p>The <a id="sthref747" name="sthref747"></a><code>dbca.rsp</code> response file is located in the <code>database\response</code> directory on the Oracle Database installation media.</p> </li> <li> <p>Open the <code>dbca.rsp</code> response file in a text editor.</p> </li> <li> <p>Edit the <code>dbca.rsp</code> file, following the instructions in the file.</p> <p>Oracle Database Configuration Assistant fails if you do not correctly configure the <code>dbca.rsp</code> response file.</p> </li> </ol> <p>To run Oracle Database Configuration Assistant using the response file you just created, run Oracle Database Configuration Assistant in silent or response file mode using the following syntax:</p> <pre xml:space="preserve" class="oac_no_warn">C:\<span class="italic">ORACLE_HOME</span>\bin> dbca {-progressOnly | -silent} -responseFile <span class="italic">local_dir</span>/dbca.rsp </pre> <p>where:</p> <ul> <li> <p><code>-silent</code> runs Oracle Database Configuration Assistant in silent mode</p> </li> <li> <p><code>-progressOnly</code> runs Oracle Database Configuration Assistant in response file mode</p> </li> <li> <p><code>local_dir</code> is the full path of the directory where you copied the <code>dbca.rsp</code> response file template.</p> </li> </ul> <p>For example:</p> <pre xml:space="preserve" class="oac_no_warn">C:\<span class="italic">> </span><span class="italic">ORACLE_HOME</span>\bin> dbca -progressOnly -responseFile C:\oracle_response_files\mydbca.rsp </pre> <p>As an alternative to creating a database using a response file, you can run <code>dbca</code> at the command line by specifying all the required information as command line options. Database Configuration Assistant writes progress messages to <code>stdout</code>. For information about the list of options supported, enter the following command:</p> <pre xml:space="preserve" class="oac_no_warn">C:\<span class="italic">ORACLE_HOME</span>\bin\dbca -help<a id="sthref748" name="sthref748"></a> </pre></div> <!-- class="sect1" --> <a id="CIAEBGCI" name="CIAEBGCI"></a> <div class="sect1"><!-- infolevel="all" infotype="General" --> <h2 class="sect1"><span class="secnum">C.6</span> Postinstallation Configuration Using a Response File</h2> <p>Use the following sections to create and run a response file configuration after installing Oracle software.</p> <div class="sect2"><a id="sthref749" name="sthref749"></a> <h3 class="sect2"><span class="secnum">C.6.1</span> About the Postinstallation Configuration File</h3> <p>When you run a silent or response file installation, you provide information about your servers in a response file that you otherwise provide manually during a graphical user interface installation. However, the response file does not contain passwords for user accounts that configuration assistants require after software installation is complete. The configuration assistants are started with a script called <code>configToolAllCommands</code>. You can run this script in response file mode by using a password response file. The script uses the passwords to run the configuration tools in succession to complete configuration.</p> <p>If you keep the password file to use for clone installations, then Oracle strongly recommends that you store it in a secure location. In addition, if you must stop an installation to fix an error, you can run the configuration assistants using <code>configToolAllCommands</code> and a password response file.</p> <p>The <code>configToolAllCommands</code> password response file consists of the following syntax options:</p> <ul> <li> <p><span class="italic">internal_component_name</span> is the name of the component that the configuration assistant configures</p> </li> <li> <p><span class="italic">variable_name</span> is the name of the configuration file variable</p> </li> <li> <p><span class="italic">value</span> is the desired value to use for configuration.</p> </li> </ul> <p>The command syntax is as follows:</p> <p><span class="italic">internal_component_name</span>|<span class="italic">variable_name</span>=<span class="italic">value</span></p> <p>For example:</p> <pre xml:space="preserve" class="oac_no_warn">oracle.assistants.asm|S_ASMPASSWORD=welcome </pre> <p>Oracle strongly recommends that you maintain security with a password response file:</p> <ul> <li> <p>Permissions on the response file should be set to 600.</p> </li> <li> <p>The owner of the response file should be the installation owner user, with the group set to the central inventory (oraInventory) group.</p> </li> </ul> </div> <!-- class="sect2" --> <div class="sect2"><a id="sthref750" name="sthref750"></a> <h3 class="sect2"><span class="secnum">C.6.2</span> Running Postinstallation Configuration Using a Response File</h3> <p>To run configuration assistants with the <code>configToolAllCommands</code> script:</p> <ol> <li> <p>Create a response file using the syntax <span class="italic">filename</span>.properties. For example:</p> <pre xml:space="preserve" class="oac_no_warn">C:\> touch cfgrsp.properties </pre></li> <li> <p>Open the file with a text editor, and cut and paste the password template, modifying as needed.</p> <div class="example"><a id="sthref751" name="sthref751"></a> <p class="titleinexample">Example C-1 Password response file for Oracle grid infrastructure for a standalone server</p> <p>Oracle grid infrastructure requires passwords for Automatic Storage Management Configuration Assistant (ASMCA), and for Intelligent Platform Management Interface Configuration Assistant (IPMICA) if you have a BMC card and you want to enable this feature. Provide the following response file,</p> <pre xml:space="preserve" class="oac_no_warn">oracle.assistants.asm|S_ASMPASSWORD=<span class="italic">password</span> oracle.assistants.asm|S_ASMMONITORPASSWORD=<span class="italic">password</span> </pre></div> <!-- class="example" --> <div class="example"><a id="sthref752" name="sthref752"></a> <p class="titleinexample">Example C-2 Password response file for Oracle Database</p> <p>Oracle Database configuration requires the <code>SYS</code>, <code>SYSTEM</code>, <code>SYSMAN</code>, and <code>DBSNMP</code> passwords for use with Database Configuration Assistant (DBCA). The <code>S_ASMSNMPPASSWORD</code> response is necessary only if the database is using Oracle ASM for storage. Also, if you selected to configure Oracle Enterprise Manager, then you must provide the password for the Oracle software installation owner for the <code>S_HOSTUSERPASSWORD</code> response.</p> <pre xml:space="preserve" class="oac_no_warn">oracle.assistants.server|S_SYSPASSWORD=<span class="italic">password</span> oracle.assistants.server|S_SYSTEMPASSWORD=<span class="italic">password</span> oracle.assistants.server|S_SYSMANPASSWORD=<span class="italic">password</span> oracle.assistants.server|S_DBSNMPPASSWORD=<span class="italic">password</span> oracle.assistants.server|S_HOSTUSERPASSWORD=<span class="italic">password</span> oracle.assistants.server|S_ASMSNMPPASSWORD=<span class="italic">password</span> </pre> <p>If you do not want to enable Oracle Enterprise Manager or Oracle ASM, then leave those password fields blank</p> </div> <!-- class="example" --></li> <li> <p>Change permissions to secure the file. For example:</p> <pre xml:space="preserve" class="oac_no_warn">C:\> ls -al cfgrsp -rw------- 1 oracle oinstall 0 Apr 30 17:30 cfgrsp </pre></li> <li> <p>Change directory to <code>ORACLE_HOME\cfgtoollogs</code></p> <p>Run the configuration script using the following syntax:</p> <p><code>configToolAllCommands RESPONSE_FILE=\path\name.properties</code></p> <p>for example:</p> <pre xml:space="preserve" class="oac_no_warn">C:\> configToolAllCommands RESPONSE_FILE=C:\oracle\cfgrsp.properties </pre></li> </ol> </div> <!-- class="sect2" --></div> <!-- class="sect1" --></div> <!-- class="ind" --> <div class="footer"> <hr /> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="33%" /> <col width="*" /> <col width="33%" /> <tr> <td align="left"> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="98"> <tr> <td align="center" valign="top"><a href="ofa.htm"><img width="24" height="24" src="../../dcommon/gifs/leftnav.gif" alt="Go to previous page" /><br /> <span class="icon">Previous</span></a></td> <td align="center" valign="top"><a href="gblsupp.htm"><img width="24" height="24" src="../../dcommon/gifs/rightnav.gif" alt="Go to next page" /><br /> <span class="icon">Next</span></a></td> </tr> </table> </td> <td style="font-size: 90%" align="center" class="copyrightlogo"><img width="144" height="18" src="../../dcommon/gifs/oracle.gif" alt="Oracle" /><br /> Copyright © 1996, 2010, Oracle and/or its affiliates. All rights reserved.<br /> <a href="../../dcommon/html/cpyr.htm">Legal Notices</a></td> <td align="right"> <table class="icons oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="245"> <tr> <td align="center" valign="top"><a href="../../index.htm"><img width="24" height="24" src="../../dcommon/gifs/doclib.gif" alt="Go to Documentation Home" /><br /> <span class="icon">Home</span></a></td> <td align="center" valign="top"><a href="../../nav/portal_booklist.htm"><img width="24" height="24" src="../../dcommon/gifs/booklist.gif" alt="Go to Book List" /><br /> <span class="icon">Book List</span></a></td> <td align="center" valign="top"><a href="toc.htm"><img width="24" height="24" src="../../dcommon/gifs/toc.gif" alt="Go to Table of Contents" /><br /> <span class="icon">Contents</span></a></td> <td align="center" valign="top"><a href="index.htm"><img width="24" height="24" src="../../dcommon/gifs/index.gif" alt="Go to Index" /><br /> <span class="icon">Index</span></a></td> <td align="center" valign="top"><a href="../../dcommon/html/feedback.htm"><img width="24" height="24" src="../../dcommon/gifs/feedbck2.gif" alt="Go to Feedback page" /><br /> <span class="icon">Contact Us</span></a></td> </tr> </table> </td> </tr> </table> </div> <noscript> <p>Scripting on this page enhances content navigation, but does not change the content in any way.</p> </noscript> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de