PK
iCAoa, mimetypeapplication/epub+zipPK iCA iTunesMetadata.plist^
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:
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:
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:
Silent mode: 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 setup.exe
with the -silent
parameter and include a response file, which contains responses to the Oracle Universal Installer prompts.
Response File mode: 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 provided the information in the response file and continue with the installation. To use silent or response file mode, run setup.exe
without the -silent
parameter, but include the response file or any other parameters that apply.
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, you would supply the appropriate value for the ORACLE_HOME
variable, as in the following example:
ORACLE_HOME="C:\app\product"
Another way of specifying the response file variable settings is to pass them as command-line arguments when you run Oracle Universal Installer. For example:
DRIVE_LETTER:\setup.exe_location> setup -silent "ORACLE_HOME=C:\app\product" ...
This method is particularly useful if you do not want to embed sensitive information, such as passwords, in the response file. For example:
DRIVE_LETTER:\setup.exe_location> setup -silent "s_dlgRBOPassword=password" ...
Ensure that you enclose the variable and its setting in quotes.
See Also: Oracle Universal Installer and OPatch User's Guide for Windows and UNIX for more information about response file formats. |
Table C-1describes several reasons why you might want to run Oracle Universal Installer in silent mode or response file mode.
Table C-1 Reasons for Using Silent Mode or Response File Mode
Mode | Uses |
---|---|
Use silent mode to:
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. | |
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. 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. |
You follow these general steps to install Oracle Database using response files:
If you plan to use Oracle Automatic Storage Management and configure new disks, then you must perform the following steps:
Create partitions for DAS or SAN disks.
Manually configure the disks using the asmtoolg
or asmtool
utility.
Customize or create a response file for the installation settings that you need.
You can create the response file by using one of the following methods:
Modify one of the sample response files that is provided with the installation.
Run Oracle Universal Installer at a command prompt and save the inputs by selecting the Save Response File option.
"Preparing a Response File" explains how to customize or create the response file.
Run Oracle Universal Installer from a command prompt, specifying the response file, using either silent or response file mode.
Note: Windows Vista, Windows Server 2008, Windows Server 2008 R2, and Windows 7 require Administrator privileges at the command prompt. |
"Running Oracle Universal Installer Using the Response File" explains how to run Oracle Universal Installer with a response file.
This section describes the methods that you can use to prepare a response file for use during silent-mode or response file-mode installations:
Oracle provides response file templates for the database and for each configuration tool. These files are located in the database\response
directory on the Oracle Database installation media.
Table C-2 lists the available sample response files:
Table C-2 Response Files
Response File Name | This File Silently Runs The... |
---|---|
|
Oracle Database |
|
Oracle Grid Infrastructure |
Caution: 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. |
To copy and modify a response file:
Copy the appropriate response files from the database\response
directory on the Oracle Database media to your hard drive.
Modify the response files with a text file editor.
Remember that you can specify sensitive information, such as passwords, at the command line rather than within the response file. "How Response Files Work" explains this method.
See Also: Oracle Universal Installer and OPatch User's Guide for Windows and UNIX for detailed information about creating response files. In an installed Oracle Database, select Start, then Programs, then Oracle - HOME_NAME, then Oracle Installation Products, then Universal Installer Concepts Guide. It appears in HTML format. |
Run the response file by following the instructions in the "Running Oracle Universal Installer Using the Response File" section.
You can use the Oracle Universal Installer in interactive mode to save a response file, which you can edit and then use to complete silent mode or response file mode installations.
Starting with Oracle Database 11g Release 2 (11.2), you can save all the installation steps into a response file during installation by clicking Save Response File on the Summary page. You can use the generated response file for a silent installation later.
When you save the response file, you can either complete the installation, or you can exit from Oracle Universal Installer on the Summary page, before it starts to copy the software to the system.
Note: Oracle Universal Installer does not save passwords in the response file. |
To save a response file:
Ensure that the computer on which you are creating the response file has met the requirements described in Chapter 2.
When you run Oracle Universal Installer to save a response file, it checks the system to verify that it meets the requirements to install the software. For this reason, Oracle recommends that you complete all of the required preinstallation tasks and save the response file while completing an installation.
At the command prompt, use the cd
command to change to the directory that contains the Oracle Universal Installer setup.exe
executable.
Note: Windows Vista, Windows Server 2008, Windows Server 2008 R2, and Windows 7 require Administrator privileges at the command prompt. |
On the installation DVD, setup.exe
is located in the database
directory. Alternatively, navigate to the directory where you downloaded or copied the installation files.
Run setup.exe
.
After Oracle Universal Installer starts, enter the installation settings, to save the response file.
When the installer displays the Summary screen, perform the following:
Click Save Response File and specify a file name and location for the response file. Then, click Save to save the values to the file.
Click Finish to continue with the installation.
Click Cancel if you do not want to continue with the installation. The installation stops, but the saved response file is retained.
Before you use the saved response file on another system, edit the file and make any required changes.
Use the instructions in the file as a guide when editing it.
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, setup.exe
, provides several options. For help information about the full set of these options, run setup.exe
with the -help
option, for example:
DRIVE_LETTER:\setup.exe_location
setup -help
A new command window appears, with the "Preparing to launch..." message. In a moment, the help information appears in that window.
To run Oracle Universal Installer and specify a response file:
Place the response file on the computer where you want to install Oracle Database.
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:
DRIVE_LETTER:\setup.exe_location
setup [-silent] "variable=setting" [-nowelcome] [-noconfig] [-nowait] -responseFile
filename
where:
filename
: Identifies the full path of the response file.
setup.exe_location
: Indicates the location of setup.exe
.
-silent
: Runs Oracle Universal Installer in silent mode and suppresses the Welcome window.
"
variable
=
setting
"
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.
-noconfig
: Suppresses running the configuration assistants during installation, performing a software-only installation instead.
-nowait
: Closes the console window when the silent installation completes.
If you save a response file during a silent installation, then Oracle Universal Installer saves the variable values that were specified in the original source response file into the new response file.
See Also:
|
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 netca.rsp
response file.
On Windows Vista, Windows Server 2008, Windows Server 2008 R2, and Windows 7, you must open the command prompt with Administrator privileges.
To create a Net Configuration Assistant response file:
Copy the netca.rsp
response file template from the response file directory to a directory on your system.
The netca.rsp
is located in the database\response
directory on the Oracle Database installation media.
Open the response file in a text editor.
Edit the file, following the instructions in the file.
Net Configuration Assistant fails if you do not correctly configure the netca.rsp
response file.
To run Net Configuration Assistant using the response file you just created, run Net Configuration Assistant in silent mode as follows, replacing local_dir
with the directory where you placed your version of the netca.rsp
response file:
C:\ORACLE_HOME\bin> netca /silent /responsefile local_dir\netca.rsp
For example:
C:\ORACLE_HOME\bin> netca /silent /responsefile
C:\oracle_response_files\mynetca.rsp
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 dbca.rsp
response file.
On Windows Vista, Windows Server 2008, Windows Server 2008 R2, and Windows 7, you must open the command prompt with Administrator privileges.
To create an Oracle Database Configuration Assistant response file:
Copy the dbca.rsp
response file template from the response file directory to a directory on your system.
The dbca.rsp
response file is located in the database\response
directory on the Oracle Database installation media.
Open the dbca.rsp
response file in a text editor.
Edit the dbca.rsp
file, following the instructions in the file.
Oracle Database Configuration Assistant fails if you do not correctly configure the dbca.rsp
response file.
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:
C:\ORACLE_HOME\bin> dbca {-progressOnly | -silent} -responseFile local_dir/dbca.rsp
where:
-silent
runs Oracle Database Configuration Assistant in silent mode
-progressOnly
runs Oracle Database Configuration Assistant in response file mode
local_dir
is the full path of the directory where you copied the dbca.rsp
response file template.
For example:
C:\> ORACLE_HOME\bin> dbca -progressOnly -responseFile C:\oracle_response_files\mydbca.rsp
As an alternative to creating a database using a response file, you can run dbca
at the command line by specifying all the required information as command line options. Database Configuration Assistant writes progress messages to stdout
. For information about the list of options supported, enter the following command:
C:\ORACLE_HOME\bin\dbca -help
Use the following sections to create and run a response file configuration after installing Oracle software.
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 configToolAllCommands
. 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.
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 configToolAllCommands
and a password response file.
The configToolAllCommands
password response file consists of the following syntax options:
internal_component_name is the name of the component that the configuration assistant configures
variable_name is the name of the configuration file variable
value is the desired value to use for configuration.
The command syntax is as follows:
internal_component_name|variable_name=value
For example:
oracle.assistants.asm|S_ASMPASSWORD=welcome
Oracle strongly recommends that you maintain security with a password response file:
Permissions on the response file should be set to 600.
The owner of the response file should be the installation owner user, with the group set to the central inventory (oraInventory) group.
To run configuration assistants with the configToolAllCommands
script:
Create a response file using the syntax filename.properties. For example:
C:\> touch cfgrsp.properties
Open the file with a text editor, and cut and paste the password template, modifying as needed.
Example C-1 Password response file for Oracle Grid Infrastructure for a standalone server
Oracle Grid Infrastructure requires passwords for Oracle 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,
oracle.assistants.asm|S_ASMPASSWORD=password oracle.assistants.asm|S_ASMMONITORPASSWORD=password
Example C-2 Password response file for Oracle Database
Oracle Database configuration requires the SYS
, SYSTEM
, SYSMAN
, and DBSNMP
passwords for use with Database Configuration Assistant (DBCA). The S_ASMSNMPPASSWORD
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 S_HOSTUSERPASSWORD
response.
oracle.assistants.server|S_SYSPASSWORD=password oracle.assistants.server|S_SYSTEMPASSWORD=password oracle.assistants.server|S_SYSMANPASSWORD=password oracle.assistants.server|S_DBSNMPPASSWORD=password oracle.assistants.server|S_HOSTUSERPASSWORD=password oracle.assistants.server|S_ASMSNMPPASSWORD=password
If you do not want to enable Oracle Enterprise Manager or Oracle ASM, then leave those password fields blank
Change permissions to secure the file. For example:
C:\> ls -al cfgrsp -rw------- 1 oracle oinstall 0 Apr 30 17:30 cfgrsp
Change directory to ORACLE_HOME\cfgtoollogs
Run the configuration script using the following syntax:
configToolAllCommands RESPONSE_FILE=\path\name.properties
for example:
C:\> configToolAllCommands RESPONSE_FILE=C:\oracle\cfgrsp.properties
This section describes new features that are documented in this guide and provides pointers to additional information.
Starting with Oracle Database 11g Release 2 (11.2.0.3) you can enter the Proxy Realm information while providing details for downloading software updates. The proxy realm identifies the security database used for authentication. If you do not have a proxy realm, then you do not need to provide an entry for the Proxy Username, Proxy Password, and Proxy Realm fields. It is case-sensitive.
This proxy realm is for software updates download only.
The following new features or enhancements are provided with Oracle Database 11g Release 2 (11.2.0.2):
Starting with the release of the 11.2.0.2 patch set for Oracle Database 11g Release 2, Oracle Database patch sets are full installations of the Oracle Database software. Note the following changes with the new patch set packaging:
Direct upgrades from previous releases (11.x, 10.x) to the most recent patch set are supported.
Out-of-place patch set upgrades, in which you install the patch set into a new, separate Oracle home, are the best practices recommendation. In-place upgrades are supported, but not recommended.
New installations consist of installing the most recent patch set, rather than installing a base release and then upgrading to a patch release.
See Also: My Oracle Support Note 1189783.1, "Important Changes to Oracle Database Patch Sets Starting With 11.2.0.2", available from the following URL:
|
New functionality for software updates is available starting with Oracle Database 11g Release 2 (11.2.0.2). Use the Software Updates feature to dynamically download and apply software updates as part of the Oracle Database installation. You can also download the updates separately using the -downloadUpdates
option and later apply them during the installation by providing the location where the updates are present.
This functionality is available starting with Oracle Database 11g Release 2 (11.2.0.2). Use the In-Place Upgrade feature of Oracle Database Client to upgrade an existing Oracle Database Client 11g Release 2 (11.2) version with the latest Oracle Database Client version.
See Also: Oracle Database Client Installation Guide for Microsoft Windows for more information about In-Place Upgrade |
The following new features or enhancements are provided with Oracle Database 11g Release 2 (11.2.0.1):
Oracle Database 11g Release 2 introduces the Oracle Grid Infrastructure installation. For single-instance databases, Oracle Grid Infrastructure includes Oracle Automatic Storage Management (Oracle ASM), the listener, and Oracle Restart. Oracle Restart is a new feature that provides the ability to monitor, manage, and automatically restart on failure of the Oracle Database environment including the Oracle Database instance, Oracle Automatic Storage Management instance, and listeners. In a clustered environment, Oracle Grid Infrastructure includes Oracle Clusterware, Oracle ASM, and the listener.
Oracle Grid Infrastructure is only available on 64-bit Windows.
To use Oracle Grid Infrastructure for a standalone server, you must install the Oracle software from the Oracle Grid Infrastructure media before you install the database.
Oracle Database 11g Release 2 introduces a new option that enables you to specify the type of system on which the database is installed. If you are installing on a laptop or a desktop, then select the Desktop Class option; otherwise, select the Server Class option to install on a server. These options are available on the System Class screen.
There is no difference in the software that is installed after you select any one option but the Desktop Class option installs a single-instance database without the advanced configuration options.
See Also: "Interactive Installation Types" for more information about the desktop and server class options |
When time zone version files are updated due to daylight saving time changes, TIMESTAMP WITH TIMEZONE (TSTZ) data could become stale. In previous releases, database administrators ran the SQL script utltzuv2.sql
to detect TSTZ data affected by the time zone version changes and then performed extensive manual procedures to update the TSTZ data.
With this release, TSTZ data is updated transparently with very minimal manual procedures using newly provided DBMS_DST PL/SQL packages. In addition, there is no longer a need for clients to patch their time zone data files.
See Also:
|
Starting with 11g Release 2, Oracle ASM administration must be done with the SYSASM
privilege. The SYSASM
privilege also can be granted using password authentication on the Oracle ASM instance.
You can designate OPERATOR
privileges (a subset of the SYSASM
privileges, including starting and stopping Oracle ASM) to members of the ORA_OPER
for Oracle ASM group.
Using the SYSASM
privilege for Oracle ASM administration creates a clearer division of responsibility between Oracle ASM administration and database administration.
See Also: Oracle Database Storage Administrator's Guide for more information about theSYSASM privilege, ASMSNMP account, and ORA_DBA operating system group |
Oracle Universal Installer no longer provides the custom installation option of individual components. Use the chopt
tool, a command-line utility that is located in the ORACLE_HOME
\bin
directory, to configure the database options.
Use the new deinstallation tool (deinstall
) available as an Oracle Technology Network download (before installation) and in the Oracle home directory (after installation) to remove Oracle Database software.
See "About the Deinstallation Tool" for more detailed information
The Intelligent Data Placement feature enables you to specify disk regions on Oracle ASM disks to ensure that frequently accessed data is placed on the outermost (hot) tracks which provide higher performance.
See Also: Oracle Database Storage Administrator's Guide for more information about Oracle ASM Intelligent Data Placement |
Oracle Automatic Storage Management Cluster File System (Oracle ACFS) is a new multiplatform, scalable file system, and storage management design that extends Oracle ASM technology, to support data that cannot be stored in Oracle ASM, in both single instance and cluster configurations. Additionally, Oracle ACFS provides snapshot functionality for a point-in-time copy of an Oracle ACFS system.
The software required for Oracle Automatic Storage Management Cluster File System is installed with the Oracle Grid Infrastructure installation.
Data Pump provides a legacy mode in which you can use original Export and Import parameters when performing Data Pump Export and Import operations.
Oracle Restart is a new feature included in this release to enhance the availability of Oracle databases in a single-instance environment. If you install Oracle Restart and there is a temporary failure of any part of the Oracle Database software stack, including the database, listener, and Oracle ASM instance, Oracle Restart automatically restarts the failed component. In addition, Oracle Restart starts all these components when the database host computer is restarted. The components are started in the proper order, taking into consideration the dependencies among components.
See Also: Chapter 4, "Configuring Automatic Restart of an Oracle Database" in the Oracle Database Administrator's Guide for more information about Oracle Restart |
In past releases, Oracle ASM was installed as part of the Oracle Database installation. With Oracle Database 11g Release 2 (11.2), Oracle ASM is installed when you install the Oracle Grid Infrastructure components and shares an Oracle home with Oracle Clusterware when installed in a cluster such as with Oracle Real Application Clusters or with Oracle Restart on a single-instance database.
To upgrade an existing Oracle ASM, you must upgrade Oracle ASM by running an Oracle Grid Infrastructure upgrade. If Oracle ASM is not installed and you want to use Oracle ASM as your storage option, then you must complete an Oracle Grid Infrastructure installation before you start Oracle Database installation.
See Also: "Oracle Grid Infrastructure" for more information about installing the Oracle Grid Infrastructure software |
SRVCTL has been enhanced to support single-instance databases with Oracle Restart on standalone servers and on clusters with Oracle Clusterware. SRVCTL is a command-line interface used to manage Oracle Database processes (database instance, listener, Oracle ASM instance) when using Oracle Restart. With SRVCTL, you can manage the Oracle Restart configuration, see the status of processes managed by Oracle Restart, and start or stop processes such as Oracle Database.
See Also: Chapter 4, "Configuring Automatic Restart of an Oracle Database" in the Oracle Database Administrator's Guide for more information about SRVCTL commands |
The following are not supported or available with Oracle Database 11g Release 2:
Installing data files directly on raw devices is no longer available during installation with Oracle Universal Installer or Database Configuration Assistant. You must use a file system or Oracle ASM.
Custom installation option
Windows Server 2000
Oracle Ultra Search
This appendix describes the following Globalization Support topics:
See Also: Oracle Database Globalization Support Guide for an overview of globalization support for Oracle Database |
This section describes the following procedures:
You can specify the language and the territory, or locale, in which you want to use Oracle components. The locale setting of a component determines the language of the user interface of the component and the globalization behavior, such as date and number formatting. Depending on the Oracle component, the locale of the component is either inherited from the operating system session that started the component, or is defined by the NLS_LANG
environment variable.
The operating system locale usually influences Oracle components that are based on Java technology. The NLS_LANG
environment variable usually influences Oracle components that use Oracle Client libraries such as OCI.
Note: The user interface of an Oracle component is displayed in a selected language only if the appropriate translation is available and has been installed. Otherwise, the user interface is displayed in English. |
This section describes the following procedures:
The locale setting of your operating system session determines the language of the user interface and the globalization behavior for components such as Oracle Universal Installer, Oracle Net Configuration Assistant, and Oracle Database Configuration Assistant. It also determines the globalization behavior of Oracle Database sessions created by a user application through Oracle JDBC driver, unless overridden by the application.
Open the Control Panel from the Start menu to modify the operating system locale settings. On Windows XP, Windows 2003, Windows Server 2003 R2, and in the classic view of the Control Panel on Windows Vista, Windows Server 2008, Windows Server 2008 R2, and Windows 7, click Regional and Language Options. In the default view of the Control Panel on Windows Vista, Windows Server 2008, Windows Server 2008 R2, and Windows 7, click Change keyboards or other input methods.
To set locale for the current operating system user on Windows XP, Windows 2003, and Windows Server 2003 R2, select the desired locale from the pop-up list in Standards and formats area on the Regional Options tab. On Windows Vista, Windows Server 2008, Windows Server 2008 R2, and Windows 7, select the desired locale from the Current format pop-up list on the Formats tab.
Some of the locales may be unavailable until you install required operating system support files. On Windows XP, Windows 2003, and Windows Server 2003 R2, make sure the relevant check boxes are checked in Supplemental language support area on Languages tab.
Some Oracle components, such as SQL*Plus, require that the Windows System Locale is also set to the language in which the components are to be run. System Locale is called Language for non-Unicode programs on Windows XP, Windows 2003, Windows Vista, Windows Server 2008, Windows Server 2008 R2, and Windows 7. On Windows XP and Windows 2003, select the locale from the pop-up list in the Language for non-Unicode programs area on the Advanced tab. On Windows Vista and Windows Server 2008, click the Change system locale... button on the Administrative tab, accept the use of administrative privileges, if User Account Control is active, and select the locale from the pop-up list in the opened dialog box.
Note: The operating system must be restarted after the System Locale is changed. See the operating system documentation for further information about Windows locale settings. |
The NLS_LANG
environment variable determines the language of the user interface and the globalization behavior for components such as SQL*Plus, exp, and imp. It sets the language and territory used by the client application and the database user session. It also declares the character set for entering and displaying data by the client application.
The NLS_LANG
environment variable uses the following format:
NLS_LANG=language_territory.characterset
In this format:
language
specifies the language used for displaying Oracle messages, sorting, day names, and month names
territory
specifies the conventions for default date, monetary and numeric formats
characterset
specifies the encoding used by the client application
In most cases, this is the Oracle character set that corresponds to the Windows ANSI Code Page as determined by the System Locale.
The NLS_LANG
parameter on Windows can be set
in Registry under the subkey corresponding to a given Oracle home,
as an environment variable.
When you install Oracle Database components and the NLS_LANG
parameter is not yet set in the Registry subkey of the target Oracle home, Oracle Universal Installer sets the NLS_LANG
parameter to a default value derived from the operating system locale for the current user. See the following table.
See Also:
|
For example:
Arabic (U.A.E.) - ARABIC_UNITED ARAB EMIRATES.AR8MSWIN1256
Chinese (PRC) - SIMPLIFIED CHINESE_CHINA.ZHS16GBK
Chinese (Taiwan) - TRADITIONAL CHINESE_TAIWAN.ZHT16MSWIN950
English (United Kingdom) - ENGLISH_UNITED KINGDOM.WE8MSWIN1252
English (United States) - AMERICAN_AMERICA.WE8MSWIN1252
French (Canada) - CANADIAN FRENCH_CANADA.WE8MSWIN1252
French (France) - FRENCH_FRANCE.WE8MSWIN1252
German (Germany) - GERMAN_GERMANY.WE8MSWIN1252
Hebrew - HEBREW_ISRAEL.IW8MSWIN1255
Japanese - JAPANESE_JAPAN.JA16SJISTILDE
Russian - RUSSIAN_RUSSIA.CL8MSWIN1251
Spanish (Spain) - SPANISH_SPAIN.WE8MSWIN1252
Spanish (Mexico) - MEXICAN SPANISH_MEXICO.WE8MSWIN1252
Spanish (Venezuela) - LATIN AMERICAN SPANISH_VENEZUELA.WE8MSWIN1252
Before you can use Oracle utilities such as SQL*Plus, SQL Loader, Import, and Export from the Command Prompt window, you may have to set the character set field of the NLS_LANG
parameter to a value different than the one set in Registry.
This is required because programs running in console mode use, with a few exceptions, a different code page (character set) from programs running in GUI mode. The default Oracle home NLS_LANG
parameter in the Registry is always set to the appropriate GUI code page. If you do not set the NLS_LANG
parameter for the console mode session correctly, incorrect character conversion can corrupt error messages and data.
For Japanese, Korean, Simplified Chinese, Traditional Chinese, Thai, and Vietnamese, the console (OEM) code page is identical to the GUI (ANSI) code page. In this case, you are not required to set the NLS_LANG
parameter. For other languages, set the correct character set value of NLS_LANG
by issuing a SET NLS_LANG
command in the same Command Prompt window in which you want to start the affected utility.
Similarly, in batch mode, set the correct character set value of NLS_LANG
by inserting a SET NLS_LANG
command at the start of the batch procedure, according to the character set of the files to be processed in the procedure.
To find the current console code page, issue the CHCP
command in the Command Prompt window. Use the reported code page number to look up the corresponding Oracle character set name in Table D-1.
Table D-1 lists the Oracle character sets that correspond to the console mode code pages.
Table D-1 Oracle Character Sets for Console Mode (OEM) Code Pages
OEM Code Page | Oracle Character Set for Console Mode |
---|---|
437 (US) |
US8PC437 |
737 (Greek) |
EL8PC737 |
775 (Baltic) |
BLT8PC775 |
850 (Multilingual Latin I) |
WE8PC850 |
852 (Latin II) |
EE8PC852 |
855 (Cyrillic) |
RU8PC855 |
857 (Turkish) |
TR8PC857 |
858 (Multilingual Latin I + Euro) |
WE8PC858 |
866 (Russian) |
RU8PC866 |
874 (Thai) |
TH8TISASCII |
932 (Japanese Shift-JIS) |
JA16SJISTILDE |
936 (Simplified Chinese GBK) |
ZHS16GBK |
949 (Korean) |
KO16MSWIN949 |
950 (Traditional Chinese Big5) |
ZHT16MSWIN950 |
1258 (Vietnam) |
VN8MSWIN1258 |
To view the user interface of Oracle components in different languages, you must install the appropriate language translations along with the component.
Note: Part of Oracle Database Vault user interface text is stored in database tables in the DVSYS schema. By default, only the English language is loaded into these tables. You can use Oracle Database Vault Configuration Assistant to add more languages to Oracle Database Vault. For the necessary steps, see Appendix C in Oracle Database Vault Administrator's Guide |
To install translation resources:
Start Oracle Universal Installer.
In the Configure Security Updates screen enter the relevant information and click Next.
In the Download Software Updates and Apply Software Updates screens, enter the relevant information and click Next.
In the Select Installation Option screen, select the installation option and click Next.
In the System Class screen, select the type of system class for installing the database, and click Next.
In the Grid Installation Options screen, select the type of database installation you want to perform, and click Next.
In the Select Product Languages screen, select the language in which you want to run the product from the Available Languages field.
Note: The Available Languages field lists all languages supported by Oracle globalization libraries. The set of languages for which a translation is actually available is usually smaller and depends on a particular component. The scope of translation for a given component may differ between languages. For example, some translations may include all user interface text, while others may include only error messages and no help files. |
Use the > arrow to move the selected language to the Selected Languages field, and then click Next.
Note: Oracle Universal Installer ignores languages in the Selected Languages field for which no translation is available. |
The operating system locale determines the language in which Oracle Universal Installer runs. Oracle Universal Installer may run in one of the following languages:
Brazilian Portuguese
English
French
German
Italian
Japanese
Korean
Simplified Chinese
Spanish
Traditional Chinese
To run Oracle Universal Installer in a desired language
Change the locale for the operating system user and the System Locale as described in the "Determining the Operating System Locale" section.
Run Oracle Universal Installer by following the instructions in the "Installing the Oracle Database Software" section.
If the selected language is not one of the listed earlier, Oracle Universal Installer runs in English.
Installation Guide
11g Release 2 (11.2) for Microsoft Windows
E24186-05
May 2012
Oracle Database Installation Guide 11g Release 2 (11.2) for Microsoft Windows
E24186-05
Copyright © 1996, 2012, Oracle and/or its affiliates. All rights reserved.
Primary Author: Reema Khosla
Contributing Authors: Janet Stern, Prakash Jashnani
Contributors: Barb Glover, Eric Belden, Sudip Datta, David Friedman, Alex Keh, Peter LaQuerre, Rich Long, Matt McKerley, Sham Rao Pavan, Hanlin Qian, Janelle Simmons, Helen Slattery, Sujatha Tolstoy, Michael Verheij, Madhu Velukur, Sergiusz Wolicki, Sue Mavris, Mohammed Shahnawaz Quadri, Rahul S Joshi, Vishal Saxena, Krishna Itikarlapall
This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government.
This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.
This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.
This appendix lists the default port numbers and describes how to change the assigned port after installation:
Changing the Oracle Enterprise Manager Database Control Ports
Changing the Oracle Services for Microsoft Transaction Server Port
During installation, Oracle Universal Installer assigns port numbers to components from a set of default port numbers. Many Oracle Database components and services use ports. As an administrator, it is important to know the port numbers used by these services, and to ensure that the same port number is not used by two services on your host.
Most port numbers are assigned during installation. Every component and service has an allotted port range, which is the set of port numbers Oracle Database attempts to use when assigning a port. Oracle Database starts with the lowest number in the range and performs the following checks:
Is the port used by another Oracle Database installation on the host?
The installation may be up or down at the time; Oracle Database can still detect if the port is used.
Is the port used by a process that is currently running?
This could be any process on the host, even a non-Oracle Database process.
If the answer to any of the preceding questions is yes, Oracle Database moves to the next highest port in the allotted port range, and continues checking until it finds a free port.
In most cases, the port number of the Oracle Database component is listed in the tool used to configure the port. In addition, ports for some Oracle Database applications are listed in the portlist.ini
file. This file is located in the ORACLE_HOME
\install
directory.
If you change a port number, it is not updated in the portlist.ini
file, so you can only rely on this file immediately after installation. To find or change a port number, use the methods described in this appendix.
Table E-1 lists the port numbers and protocols used by components that are configured during the installation. By default, the first port in the range is assigned to the component, if it is available.
Table E-1 Ports Used in Oracle Components
Component and Description | Default Port Number | Port Range | Protocol |
---|---|---|---|
Allows Oracle client connections to the database by using Oracle Net services. You can configure this port number during installation. To reconfigure this port, use Net Configuration Assistant. |
1521 |
1024-65535 |
TCP |
Listening port for Oracle client connections. It is not configured during installation, but can be configured using Net Configuration Assistant. |
1630 |
1630 |
TCP |
Oracle Enterprise Manager Database Control HTTP port for Enterprise Manager Database Control. It is configured during installation. "Changing the Oracle Enterprise Manager Database Control Ports" explains how to modify its port number. |
1158 |
5500–5519 |
HTTP |
Oracle Enterprise Manager Database Control RMI port for Enterprise Manager Database Control. It is configured during installation."Changing the Oracle Enterprise Manager Database Control Ports" explains how to modify its port number. |
5520 |
5520–5539 |
TCP |
Enterprise Manager Database Control JMS port for Enterprise Manager Database Control. It is configured during installation. "Changing the Oracle Enterprise Manager Database Control Ports" explains how to modify its port number. |
5540 |
5540–5559 |
TCP |
Enterprise Manager Database Control Agent HTTP port for Oracle Management Agent, which is part of Oracle Enterprise Manager. It is configured during installation. "Changing the Oracle Enterprise Management Agent Port" explains how to modify its port number |
3938 |
1830–1849 |
HTTP |
The Oracle XML DB HTTP port is used if Web-based applications need to access an Oracle database from an HTTP listener. It is configured during installation, but you cannot view it afterward. See Also: "Using HTTP(S) on a Standard Port Instead of an Oracle XML DB Default Port" in Oracle XML DB Developer's Guide |
0 |
Configured Manually |
HTTP |
Oracle XML DB The Oracle XML DB FTP is used when applications need to access an Oracle database from an FTP listener. It is configured during installation, but you cannot view it afterward. See Also: "Using FTP on the Standard Port Instead of the Oracle XML DB Default Port" in Oracle XML DB Developer's Guide |
0 |
Configured Manually |
FTP |
Oracle Clusterware Daemon internode connection. The port number is assigned automatically during installation. You cannot view or modify it afterward. |
Dynamic |
Dynamic |
TCP |
Cluster Synchronization Service (CSS) CSS service internode connection for Group Manager. The port number is assigned automatically. You cannot view or modify it afterward. |
Dynamic |
Dynamic |
TCP |
The port number is assigned automatically during installation. You cannot view or modify it afterward. |
Dynamic |
Dynamic |
TCP |
Oracle Services for Microsoft Transaction Server The port number for Microsoft Transaction Server is configured when you enter its value in Oracle Universal Installer the first time you install the software on a particular server. If you install the software in multiple Oracle homes on the same server, then Oracle Universal Installer uses the same port number that you specified during the first installation. In most cases, you do not have to reconfigure the port number. "Changing the Oracle Services for Microsoft Transaction Server Port" explains how to change its port number. |
Dynamic |
49152-65535 |
TCP |
To find the current setting for the Oracle Management Agent port, search for EMD_URL
in the ORACLE_HOME
\
host_sid
\sysman\config\emd.properties
file.
To change the Oracle Management Agent HTTP port, use the emca -reconfig
ports command:
emca -reconfig ports -AGENT_PORT 1831
To find the current HTTP, RMI, and JMS port settings, search in the following files:
HTTP port: Search for REPOSITORY_URL
in the ORACLE_HOME
\
host_sid
\sysman\config\emd.properties
file.
RMI port: Search for the port
attribute in the rmi-server
tag in the ORACLE_HOME
\
oc4j\j2ee\OC4J_DBConsole_
host_sid
\config\rmi.xml
file.
JMS port: Search for the port
attribute in the jms-server
tag in the ORACLE_HOME
\
oc4j\j2ee\OC4J_DBConsole_
host_sid
\config\jms.xml
file.
To change the Oracle Enterprise Manager Database Control ports, use the emca -reconfig
ports command:
ORACLE_HOME\bin> emca -reconfig ports option setting
where option
can be:
DBCONTROL_HTTP_PORT
: Sets the HTTP port, for example:
emca -reconfig ports -DBCONTROL_HTTP_PORT 1820
RMI_PORT
: Sets the RMI port, for example:
emca -reconfig ports -RMI_PORT 5520
JMS_PORT
: Sets the JMS port, for example:
emca -reconfig ports -JMS_PORT 5521
You can enter multiple -reconfig port
settings in one line, for example:
emca -reconfig ports -DBCONTROL_HTTP_PORT 1820 -AGENT_PORT 1821 -RMI_PORT 5520
In most cases, you are not required to reconfigure the port number. If you must, then you can use the Registry Editor to edit its value in the HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\OracleMTSRecoveryService\Protid_0
Registry Editor key to any available port within the range 1024 to 65535
.
During installation, Oracle Universal Installer takes the value for the port from the key, if it exists. Otherwise, a free port ranging from 49152 to 65535
is chosen.
Use the following guidelines to decide how to install Oracle Database components:
The following are frequently asked questions about installing Oracle database:
How do I configure client connections to an Oracle database?
What is the best way to install Oracle Database Client if my client nodes have limited disk space?
How do I migrate my non-Oracle databases to Oracle Database?
I only need one instance of Oracle Database or I just want to install a test database to get familiar with the product. How do I install Oracle Database for these situations?
If you want a quick installation using the default installation settings, then see the platform-specific Oracle Database Quick Installation Guide.
If your site has special requirements, then see this guide for more information.
How can I create an Oracle database that can handle transaction-heavy or data warehousing applications?
If you want to create a starter database designed for transaction-heavy or data warehousing applications, then see this guide for more details. Select the Advanced Installation method, and then select the database type you want on the Select Database Configuration screen.
Alternatively, you can install Oracle OLAP during the Oracle Database installation. Oracle OLAP provides optimal support for database environments that must meet OLAP requirements. To do so, in the Select Database Edition screen, select Enterprise Edition. Click the Select Options button, and from the Choose Components screen, select Oracle OLAP.
What's the best way to install multiple Oracle databases?
Use this guide to install Oracle Database using either of the following methods:
Installing with response files: This method lets you run Oracle Universal Installer at a command line using a response file that contains settings specific to each computer.
Cloning a database: Install Oracle Database on one computer using interactive mode. You can also clone databases. The instructions for cloning databases are described in Oracle Database Administrator's Guide.
How do I configure client connections to an Oracle database?
Install Oracle Database on a server by using this guide for more information.
Use platform-specific Oracle Database Client Installation Guide to install Oracle Database Client on each client node, and select the Instant Client installation type.
If you have many client nodes, consider staging the software centrally, mapping the drive, and running Oracle Universal Installer in the silent or response file mode.
If the client nodes only require a default installation into a new Oracle home directory, consider using this guide for more information.
What is the best way to install Oracle Database Client if my client nodes have limited disk space?
Install Oracle Database onto a server by using this guide for more details.
Use platform-specific Oracle Database Client Installation Guide to install Oracle Database Client on each client node, and select the Instant Client installation type.
If you have many client nodes, then consider running Oracle Universal Installer in silent or response file mode.
How do I upgrade Oracle Database?
See Oracle Database Upgrade Guide.
See Also: Oracle Database Administrator's Guide for more information about using software cloning to upgrade Oracle Database |
The computers at my site have been configured to run as a cluster. How should I install Oracle Database?
Use any of the following installation scenarios:
If you want to run a single-instance Oracle Database in a clustered environment, then install Oracle Clusterware either before or after you install Oracle Database.
If you want a consolidated pool of storage for all databases in a cluster, then install Oracle Clusterware first and use Oracle Automatic Storage Management to manage this storage. Afterward, install Oracle Database (which can be either single instance or Real Application Clusters).
If you plan to use Oracle Real Application Clusters, first install Oracle Clusterware, and then install Oracle Real Application Clusters.
See platform-specific Oracle Clusterware Installation GuideandOracle Real Application Clusters Installation Guide for Microsoft Windows for the platform to install Oracle Clusterware or Oracle Real Application Clusters. Oracle Clusterware is available on the Oracle Clusterware installation media. See this guide which explains how to install Oracle Automatic Storage Management and Oracle Database.
Oracle Clusterware is a key component required by Oracle Real Application Clusters installations. Oracle Clusterware is an integrated cluster management solution that can bind multiple servers to act as a single system. This is referred to as a cluster. It performs workload management and component restart. For example, when an instance supporting a particular service fails, Oracle Clusterware restarts the service on the next available instance that you have configured for that service. Oracle Clusterware can monitor non-Oracle programs, if they are defined within the Oracle Clusterware environment using the High Availability API.
How do I migrate my non-Oracle databases to Oracle Database?
Use Oracle SQL Developer to migrate your non-Oracle databases and applications to Oracle. Oracle SQL Developer software and documentation is available at:
http://www.oracle.com/technetwork/developer-tools/sql-developer/overview/index.html
The following are frequently asked questions about installing Oracle database tools:
How can I administer and monitor my Oracle Database products?
How do I perform backup and recovery operations for Oracle Database?
Is there a migration plan for customers that have built solutions using Oracle Workflow?
How do I install Oracle Application Server?
See Oracle Application Server Installation Guide. How you install Application Server depends on whether you have Oracle Database installed:
If you do not have Oracle Database installed or you do not want Oracle Application Server to use any of your existing Oracle Databases, then Oracle Universal Installer lets you install Oracle Application Server with its own Oracle Database. This database is populated with the metadata that Oracle Application Server must run.
If you want Oracle Application Server to use an existing Oracle Database, then do the following:
From the Oracle Application Server installation media, run Oracle Application Server Repository Creation Assistant to populate your database with the metadata that Application Server needs.
Install the remaining Oracle Application Server components by following the instructions in the Oracle Application Server Installation Guide.
How can I administer and monitor my Oracle Database products?
To perform regular administrative functions such as creating, configuring, or deleting databases, or managing database templates, use one of the following methods:
To manage only the single database and listener that you are installing:
Use this guide to install Oracle Database.
From Oracle Database, use Database Configuration Assistant to manage your databases.
You can also administer and monitor the database with Oracle Enterprise Manager Grid Control, which is installed by default with Oracle Database. Oracle Enterprise Manager Grid Control requires an agent which is not installed by default.
Oracle Enterprise Manager Grid Control includes the Oracle Management Agent, Oracle Management Service, and Oracle Management Repository, as well as Grid Control, a browser-based central console through which administrators can perform all monitoring, administration, and configuration tasks for the enterprise.
See Also: Oracle Enterprise Manager Grid Control Installation and Basic Configuration available on the Enterprise Manager Grid Control installation media |
To perform advanced administration tasks, such as monitoring Oracle Database and managing multiple hosts, application servers, and databases including the one that you are installing, install Oracle Enterprise Manager as follows:
Use this guide to install Oracle Database.
If you plan to use Oracle Real Application Clusters, then install Oracle Database by using platform-specific Oracle Clusterware Installation Guide and Oracle Real Application Clusters Installation Guide .
Use Oracle Enterprise Manager Grid Control Installation and Basic Configuration to install and configure Oracle Enterprise Manager. For postconfiguration tasks, use Oracle Enterprise Manager Advanced Configuration.
How do I manage security for my Oracle Database products?
Oracle provides a wide range of security solutions for your enterprise environment, including centralized administration and security features integrated with Oracle Internet Directory. The set of Oracle security services called Oracle Platform Security integrates the security features built into Oracle Database, Oracle Application Server, and the Oracle Identity Management infrastructure. Combined, these features enable the development and deployment of secure e-business applications.
Oracle Identity Management includes Oracle Internet Directory, a centralized repository that simplifies administration of users and applications in the Oracle environment with the following components:
Oracle Internet Directory client tools, including LDAP command-line tools, the Oracle Internet Directory SDK, and Oracle Directory Manager.
Oracle Internet Directory server components, including the directory server, the directory replication server, the directory integration server, and various tools for starting and stopping them.
Oracle Database includes the Oracle Internet Directory client tools, but not the Oracle Internet Directory server components. To install the Oracle Internet Directory server components, run Oracle Universal Installer from an Oracle 10g Application Server installation.
See Also:
|
How do I use Oracle Database to manage my XML data?
Use Oracle XML DB, which is installed as part of Oracle Database. Oracle XML DB enables you to efficiently store, generate, retrieve, query, and manage XML data on your site. Oracle XML DB provides all the advantages of a relational database, for example, allowing you to control the referential integrity of XML data with constraints and triggers. It works well with large amounts of XML data by storing it in a parsed, relational form, which improves access performance.
Oracle XML DB supports XML Type, which is a native data type for XML data, for which you can choose various storage options depending on your needs. In addition, Oracle XML DB supports XML Schema processing, structured and unstructured storage, a content repository that you can access by using common protocols (FTP, HTTP(S), and WebDAV), and SQL/XML, which is a standard for SQL with XML. For Oracle Database 11g Release 1 (11.1), Oracle XML DB introduced support for the XQuery language for querying, transforming, and constructing XML; the ability for users to define their own metadata for schema-based XML; a set of new SQL functions for DML operations on XML data; and more.
You can use Oracle XML DB with Oracle XML Developer's Kit (XDK) to build applications that run on either Oracle Database or Oracle Application Server.
Does Oracle Database provide OLAP tools so that I can analyze data such as trends and time series in my database?
Yes, install Oracle OLAP, which is provided in the Oracle Database installation. Oracle OLAP provides optimal support for database environments that must meet OLAP requirements.
Use either of the following methods in Oracle Database Installation Guide to install Oracle OLAP:
When you run Oracle Universal Installer, in the Select Database Edition screen, select Enterprise Edition. Click the Select Options button, and from the Choose Components screen, select Oracle OLAP.
Select the Enterprise Edition installation type, and then on the Select Database Configuration screen, select the Data Warehouse configuration.
Does Oracle Database provide data mining tools that I can use to discover hidden meaning in my data and predict likely outcomes based on my data?
Yes, you must have an Oracle Enterprise Edition license to use Oracle Data Mining tools. Oracle Data Mining is an option of the Enterprise Edition, as described in Table 4-1, "Oracle Universal Installer Windows", in the Select Database Edition row.
With the Oracle Data Mining option, you can create and execute predictive and descriptive data mining models that use a variety of algorithms.
Use the following method in this guide to install Oracle Data Mining:
When you run Oracle Universal Installer, select the Enterprise Edition installation type.
In the Select Database Configuration screen, select the General Purpose/Transaction Processing configuration.
See Also: The following manuals for information about Oracle Data Mining: |
How do I perform backup and recovery operations for Oracle Database?
Use Oracle Database Recovery Manager (RMAN), which is a backup and recovery tool integrated into Oracle Database. This tool satisfies the pressing demands of high-performance, manageable backup, and recovery. Recovery Manager is native to the database server, automatically tracks database structure changes, and optimizes operations accordingly. In addition, Recovery Manager is integrated with leading tape media management products, so that Oracle database backups can be integrated with your existing networked data protection infrastructure.
Is Oracle Workflow included with Oracle Database 11g?
Starting with Oracle Database 11g, Oracle Workflow is no longer released with the database. Oracle Workflow is available with the Oracle E-Business Suite releases.
See Also: Oracle Workflow statement of directionhttp://www.oracle.com/technetwork/middleware/ias/overview/index.html |
Is there a migration plan for customers that have built solutions using Oracle Workflow?
Starting January 2006, customers are encouraged to re-create and implement workflows using Oracle BPEL Process Manager. Oracle is in the process of creating a technical migration guide to provide detailed recommendations for migrating Oracle Workflow processes to Oracle BPEL Process Manager.
See Also: Oracle Workflow statement of directionhttp://www.oracle.com/technetwork/middleware/ias/overview/index.html |
The following are frequently asked questions about installing Oracle database with Oracle applications:
How do I install my Oracle applications with Oracle Database?
How can I create Web applications that communicate with Oracle Database?
How do I install my Oracle applications with Oracle Database?
In most cases, install Oracle Database itself, then install the Oracle application. The Oracle Universal Installer for that application prompts you for the connection information. Check the application documentation requirements.
If you must implement your applications with Oracle Real Applications Clusters databases, see Oracle Real Application Clusters Installation Guide, and platform-specific Oracle Grid Infrastructure Installation Guide .
How can I create Web applications that communicate with Oracle Database?
Install Oracle Application Express and a Web server. Use this guide to install Oracle Database. Oracle Application Express is automatically installed, when you install Oracle database.
Which Web server can my Oracle applications use?
Install Oracle HTTP Server, which ships on separate media, or use the XML DB HTTP Protocol Server and the embedded PL/SQL Gateway that installs with Oracle Database 11g Release 2.
How can I migrate my non-Oracle applications to Oracle?
Use Oracle SQL Developer to migrate your non-Oracle applications to Oracle. Oracle SQL Developer software and documentation is available at:
http://www.oracle.com/technetwork/developer-tools/sql-developer/overview/index.html
The following section discusses the Gateway products:
How can my Oracle applications access data in a non-Oracle database system?
How can my Oracle applications access data in a non-Oracle database system?
You can use Oracle Database Gateway as the connectivity tool to enable Oracle applications to access data in non-Oracle databases. The following are the functions of Oracle Database Gateway:
Integrates a non-Oracle database into your Oracle Database environment.
Enables Oracle PL/SQL applications to integrate with APPC-enabled transactions, or access messages in IBM Websphere MQ.
You can install the Gateway product on a computer independent of the Oracle application, Oracle database, and non-Oracle database.
For example, suppose you have the following scenario:
Oracle Database is installed on a Linux computer.
The Oracle application is installed on a Microsoft Windows computer and accesses data from the Oracle database on the Linux computer.
The Oracle application needs to join data in a DB2 database on Solaris Operating System and an Oracle Database on Linux.
You have the option of installing the Database Gateway for DRDA on the Solaris computer where DB2 is running, on Linux where Oracle is running, or on a third computer.
Table G-1 lists the non-Oracle database systems that you can access from Oracle applications, and the Gateways products that are available for those systems.
Table G-1 Oracle Gateway Products
This chapter describes the different installation types of Oracle Database and issues to consider before you install Oracle Database:
There are many new features and products installed with this release. See the What's New in Oracle Database 11g Release 2 (11.2) chapter.
The Oracle Database installation process consists of six steps:
Read the release notes: Read the Oracle Database release notes before you begin the installation. The release notes are available with the platform-specific documentation. The latest version of the release notes is available on Oracle Technology Network at
http://www.oracle.com/technetwork/indexes/documentation/index.html
Review the licensing information: Although the installation media in your media pack contain many Oracle components, you are permitted to use only those components for which you have purchased licenses.
Oracle Support Services does not provide support for components for which licenses have not been purchased.
Plan the installation: This overview chapter describes the Oracle products that you can install and issues that you must consider before starting the installation.
You also may want to see Appendix G, which covers frequently asked questions about installing Oracle Database components, such as how to install Oracle Database if your site uses Oracle applications or if you need multiple Oracle Database client connections.
If you plan to perform multiple installations, see Appendix C for information about silent or response file installations, and cloning the Oracle home.
Oracle Database Client is installed separately. You cannot install Oracle Database Client during an Oracle Database installation.
Complete preinstallation tasks: Chapter 2 describes tasks that you must complete before installing Oracle Database.
Install the software: Use the following sections to install Oracle Database:
Chapter 4 describes how to use Oracle Universal Installer to install Oracle Database and how to clone an Oracle home.
Chapter 3 describes how to use Oracle Universal Installer to install Oracle Grid Infrastructure for a standalone server and Oracle Automatic Storage Management from the Oracle Grid Infrastructure media.
Chapter 7 describes how to remove Oracle Database software.
Appendix C describes how to perform silent or response file installations, which you may want to use to perform multiple installations of Oracle Database.
Appendix D describes how to install and use Oracle components in different languages.
Appendix F provides troubleshooting advice in case you encounter problems with the installation.
Complete postinstallation tasks: Chapter 5 describes postinstallation tasks.
Get started using Oracle Database: Use the following sections to get started using Oracle Database:
Chapter 6 describes how to check the contents of the installed Oracle Database, how to start the database and various other Oracle tools, and how to locate various files.
"Cloning an Oracle Home" describes how you can clone an existing Oracle Database home.
Appendix B on the Optimal Flexible Architecture, which is a set of guidelines that ensure reliable Oracle installations that require little maintenance.
Appendix D describes globalization support information.
Appendix E explains how to manage Oracle Database port numbers.
This section contains information that you should consider before deciding how to install this product. It contains the following sections:
Installing Oracle Database Vault in an Oracle Data Guard Environment
Oracle Database Vault Default Audit Policy and Initialization Parameters
If you are experienced with installing Oracle components in UNIX environments, note that many manual setup tasks required on UNIX are not required on Windows. The key differences between UNIX and Windows installations are:
Startup and shutdown services
With Windows, Oracle Universal Installer creates services at installation time that can be configured to automatically start the Oracle software components when the host computer starts. On Linux and UNIX systems, database or system administrators must manually configure the oratab
file.
Environment variables
With Windows, Oracle Universal Installer sets environment variables such as PATH
, ORACLE_BASE
, ORACLE_HOME
, and ORACLE_SID
in the registry. In UNIX systems, you must manually set these environment variables.
If you have multiple Oracle homes installed, then only the SID of the last Oracle home is set in the registry. See Oracle Universal Installer and OPatch User's Guide for Windows and UNIX for more information about managing Oracle homes.
Operating System Groups
On Windows systems, Oracle Universal Installer creates the ORA_DBA
, ORA_OPER
, ORA_
SID
_DBA
and ORA_
SID
_OPER
groups, which are used for operating system authentication for Oracle instances. On Linux and UNIX systems, you must create these operating system groups manually, and they are used for granting permission to access various Oracle software resources and for operating system authentication. Windows does not use an Oracle Inventory group.
Account for running Oracle Universal Installer
With Windows, you log in with Administrator privileges. You do not need a separate account. On Linux and UNIX systems, you must create and use a software owner user account, and this user must belong to the Oracle Inventory group.
See Also: "Oracle Database Windows/UNIX Differences" appendix in Oracle Database Platform Guide for Microsoft Windows |
Oracle strongly recommends that you install the Oracle database home (Oracle database binaries, trace files, and so on) on Oracle ACFS or NTFS; the database files themselves must be placed on Oracle ASM if using Oracle ACFS; otherwise they can be placed on NTFS. Usage of Oracle ACFS and Oracle ASM or NTFS instead of FAT32 is recommended to ensure security of these files.
See Also: "File Permissions" in Oracle Database Platform Guide for Microsoft Windows for information about the default permissions when using Oracle Universal Installer and Database Configuration Assistant to install the Oracle Database software |
To ensure that only trusted applications run on your computer, Windows Vista, Windows Server 2008, Windows Server 2008 R2, and Windows 7 provide User Account Control. If you have enabled this security feature, then, depending on how you have configured it, Oracle Universal Installer prompts you for either your consent or your credentials when installing Oracle Database. Provide either the consent or your Windows Administrator credentials as appropriate.
You must have Administrator privileges to run some Oracle tools, such as Database Configuration Assistant, Net Configuration Assistant, and OPatch, or to run any tool or application that writes to any directory within the Oracle home. If User Account Control is enabled, and you are logged in as the local Administrator, then you can successfully run each of these commands in the usual way. However, if you are logged in as "a member of the Administrator group," then you must explicitly invoke these tasks with Windows Administrator privileges. All the Oracle shortcuts that require Administrator privileges start as "Administrator" automatically when you click the shortcuts. However, if you run the above tools from a Windows command prompt, you must run them from an Administrator command prompt. OPatch does not have a shortcut and has to be run from an Administrator command prompt.
See Also: "Running Tools with Windows User Account Control" in Oracle Database Platform Guide for Microsoft Windows for more information. |
To start a command prompt window with Windows Administrator privileges:
On your desktop, create a shortcut for the command prompt window. An icon for that shortcut appears on the desktop.
Right-click the icon for the newly created shortcut, and specify "Run as administrator."
When you open this window, the title bar reads Administrator: Command Prompt. Commands run from within this window are run with Administrator privileges.
The platform-specific hardware and software requirements included in this installation guide were current at the time this guide was published. However, because new platforms and operating system software versions might be certified after this guide is published, review the certification matrix on the My Oracle Support (formerly OracleMetaLink) Web site for the most up-to-date list of certified hardware platforms and operating system versions. This Web site also provides compatible client and database versions, patches, and workaround information for bugs. The My Oracle Support (formerly OracleMetaLink) Web site is available at
https://support.oracle.com/
You must register online before using My Oracle Support (formerly OracleMetaLink). After logging in, click the Certifications tab from the list of tabs in the home page. On the Certification Information page, choose a product by using the Select Product menu on the left side of the page. Other options include Product Roadmap, and Quick Links.
You can use Oracle SQL Developer to view metadata and data of several non-Oracle databases. See "Database Certification for SQL Developer (Oracle and Third-Party)" in Oracle SQL Developer Installation Guide for more information.
Oracle Database supports multiple Oracle homes. You can install this release or previous releases of the software more than once on the same system, in different Oracle home directories. This allows flexibility in deployment and maintenance of the database software. For example, it enables you to run different versions of the database simultaneously on the same system, or it enables you to upgrade specific database instances on a system without affecting other running databases. However, when you have installed multiple Oracle Homes on a single system, there is also some added complexity introduced that you must consider allowing these Oracle Homes to coexist.
See Also: My Oracle Support (formerly OracleMetaLink) Note 460054.1 for more details about multiple Oracle home environment issues |
You must install this product into a new Oracle home directory. You cannot install products from one release of Oracle Database into an Oracle home directory of a different release. For example, you cannot install Oracle Database 11g Release 2 (11.2) software into an existing Oracle9i Oracle home directory.
You can install this release more than once on the same system if each installation is installed in a separate Oracle home directory.
The Oracle Grid Infrastructure for a standalone server provides the infrastructure to include your single instance database in an enterprise grid architecture. Oracle Database 11g Release 2 (11.2) combines these infrastructure products into one software installation called the Oracle Grid Infrastructure home. On a single instance database, the Oracle Grid Infrastructure home includes Oracle Restart and Oracle Automatic Storage Management (Oracle ASM) software.
To use Oracle Automatic Storage Management or Oracle Restart, you must first install Oracle Grid Infrastructure for a standalone server before you install and create the database. Otherwise, you must manually register the database with Oracle Restart.
See Also: Chapter 3, "Oracle Grid Infrastructure" for more information about installing Oracle Grid Infrastructure for a standalone server |
When you install the Oracle Grid Infrastructure for a standalone server, Oracle Universal Installer configures the single-node version of Oracle Cluster Synchronization Services (CSS).
The CSS service is required to enable synchronization between an Oracle ASM instance and the database instances that rely on it for database file storage. Because the service must be running before an Oracle ASM instance or database instance starts, it is configured to start automatically by Oracle Restart before the Oracle ASM instance is started. It must be running if an Oracle database is using Oracle ASM for database file storage.
For single-instance installations, the CSS is installed-in and runs from the Oracle Grid Infrastructure home which is the same home that runs Oracle ASM.
Note: On cluster systems with Oracle RAC installations, the CSS is configured during the Oracle Clusterware installation. If the system is running Oracle Clusterware, then refer to Oracle Real Application Clusters Installation Guide for information about removing Oracle RAC or Oracle Clusterware. |
Oracle Universal Installer is a Java-based graphical user interface (GUI) tool that enables you to install Oracle software. Oracle Universal Installer provides the following capabilities:
Component and suite installations
Globalization support
Distributed installation support
Unattended silent installations using response files
Removal of installed components
Multiple Oracle homes support
Oracle Universal Installer can run a silent or response file installation of Oracle software using response files. See Appendix C, "Installing and Configuring Oracle Database Using Response Files" for more information.
You must use the Oracle Universal Installer 11g to install components into an Oracle Database 11g Release 2 (11.2) Oracle home directory.
Oracle Universal Installer automatically installs the Oracle version of the Java Runtime Environment (JRE). This version is required to run Oracle Universal Installer and several Oracle assistants. Do not modify the JRE, unless doing so with a patch provided by My Oracle Support (formerly OracleMetaLink). Visit the following site to find Oracle patches to download:
https://support.oracle.com/
When Oracle Universal Installer runs, it creates an dbhome_n
directory, which keeps track of the components you are installing. Do not modify the contents of this directory. By default, this directory is located at the same directory level as ORACLE_HOME
.
If you install Oracle Database 11g Release 2 (11.2) on a computer with no other Oracle software installed, Oracle Universal Installer creates an Oracle base directory for you. If Oracle software is installed, then one or more Oracle base directories exist. In the latter case, Oracle Universal Installer offers you a choice of Oracle base directories to install Oracle Database.
In a default Windows installation, the Oracle base directory appears as follows:
DRIVE_LETTER:\app\username
Note: You can choose to create an Oracle base directory, even if other Oracle base directories exist on the system. |
This section covers the following topics:
The Oracle home directory is located under the Oracle base directory. For example, in a default Windows installation, if you name the Oracle home directory dbhome_1
, it appears in the Oracle base directory as follows:
DRIVE_LETTER:\app\username\product\11.2.0\dbhome_1
An Oracle home corresponds to the environment in which Oracle components run. This environment includes the following:
Location of installed component files
PATH
variable pointing to binary files of installed components
Registry entries
Service names
Program groups
Oracle homes also have a name associated with them, which is automatically assigned by the installer.
You can install all Oracle components in multiple Oracle homes on the same computer. However, some components can only support one active instance at a time. The current (latest) installation renders the previous one inactive. These components are:
Note: Oracle Objects for OLE is not supported on Windows x64. |
If you plan to use Oracle Data Guard with Oracle Database Vault, then refer to Note 754065.1 on the My Oracle Support (formerly OracleMetaLink) Web site at the following URL:
https://support.oracle.com/
Oracle Database Vault installs a baseline database auditing policy. This policy covers the access control configuration information stored in Database Vault database tables, information stored in Oracle Catalog (rollback segments, tablespaces, and so on), the use of system privileges, and Oracle Label Security configuration. When you install Oracle Database Vault, the security specific database initialization parameters are ini tialized with default values.
See Also: Oracle Database Vault Administrator's Guide for more information about the database audit policy |
Oracle Database 11g Release 2 (11.2) database for 32-bit Windows can be migrated to an Oracle Database 11g Release 2 (11.2) database for 64-bit Windows. See the "Migrating an Oracle Database 11g Release 2 (11.2) Database" section in the Oracle Database Platform Guide for Microsoft Windows for migration information.
You can choose different installation methods to install Oracle Database, which are as follows:
When you use the interactive method to install Oracle Database, Oracle Universal Installer displays a series of screens that enable you to specify all of the required information to install the Oracle Database software and optionally create a database. There are two options that you can use to install Oracle Database:
Desktop Class: Select this option if you are installing on a laptop or desktop class system. This option includes a starter database and allows minimal configuration. This option is designed for those who want to get up and running with the database quickly.
Server Class: Select this option if you are installing on a server class system, such as what you would use when deploying Oracle in a production data center. This option allows for more advanced configuration options. Advanced configuration options available using this option include Oracle RAC, Oracle Automatic Storage Management, backup and recovery configuration, integration with Enterprise Manager Grid Control, and more fine-grained memory tuning, among others.
Furthermore, the Server Class option provides you with the following installation types:
Typical: Select this installation method to quickly install Oracle Database. This installation type requires minimal user input. It installs the software and optionally creates a general-purpose database using the information that you specify on the screen. It is the default installation type.
Advanced: Select this installation type to complete any of the following tasks:
Select a database character set or different product languages
Create the EXAMPLE tablespace during the installation
Create a database on a different file system from the software
Specify different passwords for administrative schemas
Configure automated backups or Oracle Enterprise Manager notifications
Configure Oracle Configuration Manager
In the Select Database Edition screen, if you select Enterprise Edition, then Oracle Universal Installer automatically selects the components most customers need for their Oracle Database installation. You can also click Select Options to customize components from the components list.
By creating a response file and specifying this file when you start Oracle Universal Installer, you can automate some or all of the Oracle Database installation. These automated installation methods are useful if you must perform multiple installations on similarly configured systems.
When you use a response file, you can run Oracle Universal Installer in the following modes, depending on whether you specify all of the required information or not:
Silent Mode: Oracle Universal Installer runs in silent mode if you use a response file that specifies all required information, and specify the -silent
option when starting Oracle Universal Installer. None of the Oracle Universal Installer screens are displayed.
Response File Mode: Oracle Universal Installer runs in response file mode if you do not specify all required information in the response file.
For more information about these modes and about how to complete an installation using response files, see Appendix C.
Use the Software Updates feature to dynamically download and apply the latest updates released by Oracle; such as, interim patch updates, critical patch updates, Oracle Universal Installer updates, and the latest patch set updates. This functionality is available starting with Oracle Database 11g Release 2 (11.2.0.2).
You can choose to download the latest updates by providing your My Oracle Support credentials or you can apply previously downloaded updates. You can also download the updates separately using the -downloadUpdates
option and later apply them during the Oracle Database installation by providing the location where the updates are present.
See Also: "Installing the Oracle Database Software" for more information about the-downloadUpdates option, and dynamically applying software updates during installation |
You can choose one of the following installation types when installing Oracle Database 11g:
Enterprise Edition: Installs licensable Oracle Database options, and database configuration and management tools in addition to all of the products that are installed during a Standard Edition installation. It also installs products most commonly used for data warehousing and transaction processing. This option also permits you to enable or disable individual components from a components list.
Standard Edition: This installation type is designed for department or workgroup-level applications and for small and medium-sized enterprises (SMEs). It is engineered to provide core relational database management services and options. It installs an integrated set of management tools, full distribution, replication, Web features, and facilities for building business-critical applications.
Standard Edition One: This installation type is designed for department, workgroup-level, or web applications. From single instance environments for small business to highly distributed branch environments, Oracle Database Standard Edition One includes all the facilities necessary to build business-critical applications.
Personal Edition: Installs the same software as the Enterprise Edition installation type, but supports only a single user development and deployment environment that requires full compatibility with Enterprise Edition and Standard Edition. Oracle RAC is not installed with Personal Edition.
See Also:
|
Note:
|
You can create an Oracle database during the installation process. If you choose to create an Oracle database, Oracle Universal Installer uses Oracle Database Configuration Assistant to create it. You can create one of the preconfigured database types, which are designed for a variety of different applications, modify one of the preconfigured database types, or create a customized database to suit your own requirements.
This section describes the following database configuration options:
Oracle provides the following preconfigured database types that you can create or customize during the installation:
See the online help provided by either Oracle Universal Installer or Oracle Database Configuration Assistant for a description of these preconfigured database types.
Oracle Universal Installer runs Oracle Database Configuration Assistant in one of two modes, depending on the choices that you make during the installation:
Silent or response file mode
If you choose the Enterprise Edition, Standard Edition, or Personal Edition as the database edition, then choose to create a preconfigured database type. Oracle Universal Installer prompts you for the minimum amount of information required to create a database of the type you choose. It then runs Oracle Database Configuration Assistant in silent or response file mode to create the database after it installs the software.
Note: Oracle recommends that you use this method to create a database if you have not previously created one. |
Interactive mode
Install the database using Oracle Universal Installer and start Oracle Database Configuration Assistant from Oracle home. Oracle Database Configuration Assistant runs in interactive mode. Using the screens in Oracle Database Configuration Assistant, you can either modify one of the preconfigured database types or customize the database.
Note: If you choose this method to create a database, click the Help button on any of the Oracle Database Configuration Assistant screens for a description of the information that you must specify on that screen. |
If you decide not to create a database during the installation, you can use Oracle Database Configuration Assistant to create one after you have installed the software.
See Also: Oracle Database 2 Day DBA for more information about using Oracle Database Configuration Assistant to create a database after installation |
If you choose to create a database during the installation, you can specify the following storage options for database files:
Note: Installing files on raw devices is no longer an option during installation. You must use a file system, or use Oracle Automatic Storage Management. |
If you choose the file system option, then Oracle Database Configuration Assistant creates the database files in a directory on a file system on your computer. Oracle recommends that the file system you choose be separate from the file systems used by the operating system or the Oracle software. The file system that you choose can be any of the following:
A file system on a disk that is physically attached to the system
If you are creating a database on basic disks that are not logical volumes or RAID devices, then follow the Optimal Flexible Architecture (OFA) recommendations and distribute the database files over multiple disks.
A file system on a logical volume manager (LVM) or a RAID device
If you are using multiple disks in an LVM or RAID configuration, then Oracle recommends that you use the stripe-and-mirror-everything (SAME) methodology to increase performance and reliability. Using this methodology, you must not specify multiple file system mounting points for database storage.
A network file system (NFS) mounted from a certified network attached storage (NAS) device. You also have the option to use the Direct NFS feature, which simplifies the administration of NFS configurations and also offers performance improvements.
If the NAS device is certified by Oracle, then you can store the database files on them.
If you choose the Advanced database creation option, then you can also choose to use the Oracle-managed files feature with the new database. If you use this feature, then you must specify only the database object name instead of file names when creating or deleting database files.
Oracle Automatic Storage Management is a high-performance storage management solution. For Oracle Database files, it simplifies the management of a dynamic database environment, such as creating and laying out databases and managing disk space.
Oracle Automatic Storage Management can be used with single database installations, multiple database installations, and in Oracle RAC environments. It can be used with databases created in Oracle Database 10g Release 1 (10.1.0.3 or later). However, Oracle Database 11g Release 2 (11.2) databases must use Oracle Automatic Storage Management from Oracle Database 11g Release 2 (11.2) or later. Oracle Automatic Storage Management is installed as part of the Oracle Grid Infrastructure installation. If you plan to use Oracle Automatic Storage Management, then you must install Oracle Grid Infrastructure before you install and create the database. If you want to upgrade an existing Oracle Automatic Storage Management installation, then you must upgrade Oracle Automatic Storage Management by running an Oracle Grid Infrastructure upgrade.
See Also: Chapter 3, "Oracle Grid Infrastructure" for more information about installing the Oracle Grid Infrastructure software |
Oracle Automatic Storage Management manages the storage of all database files, such as redo logs, control files, and data pump export files. Oracle Automatic Storage Management can manage the Oracle Database executable binary files and any other non-database file by creating a file system with Oracle Automatic Storage Management Cluster File System. Though Oracle Automatic Storage Management Cluster File System is cluster aware, it works as a file system on a single instance database also.
To use Oracle Automatic Storage Management, you allocate partitioned disks to Oracle with preferences for striping and mirroring. Oracle Automatic Storage Management manages the disk space for you, thus eliminating the need for traditional disk management tools such as logical volume managers (LVM), file systems, and the numerous commands necessary to manage both. The synchronization between Oracle Automatic Storage Management and the database instance is handled by Oracle Cluster Synchronization Services (CSS).
See Also: Oracle Database Storage Administrator's Guide for more information about Oracle Automatic Storage Management Cluster File System |
Oracle Automatic Storage Management uses the following components:
Oracle Automatic Storage Management Disk Groups
A disk group is a set of disk devices that Oracle Automatic Storage Management manages as a unit. Each disk device can be an individual physical disk, a multiple disk device such as a RAID storage array or a logical volume, or a partition on a physical disk. However, mostly, disk groups consist of one or more individual physical disks. To enable Oracle Automatic Storage Management to balance I/O and storage appropriately within the disk group, ensure that all devices in the disk group have similar, if not identical, storage capacity and performance.
You can set the redundancy and striping attributes of individual file types within a disk group by using Oracle Automatic Storage Management disk group templates. When you create a disk group, Oracle Automatic Storage Management creates a set of default templates for that disk group. Default template settings depend on the disk group type. For example, the default template for control files for a normal redundancy disk group sets three-way mirroring. All other file templates are two-way mirrored. For a high redundancy disk group, the default mirroring cannot be changed; that is, all files are always three-way mirrored in a high redundancy disk group. You can modify the default templates to suit the unique needs of your site. See Oracle Database Storage Administrator's Guide for more information.
Oracle Automatic Storage Management spreads data evenly across all of the devices in the disk group to optimize performance and utilization. You can add or remove disk devices from a disk group without shutting down the database. When you add or remove disks, Oracle Automatic Storage Management rebalances the data files across the disk group. You can create multiple disk groups to handle specific tasks, such as backup and recovery operations, in addition to routine file storage activities.
When you add a device to a disk group, you can specify a failure group for that device. Failure groups identify disk devices that have common failure characteristics, for example, devices that are attached to the same controller. If the controller fails, then all devices attached to it become unavailable. By default, each device also belongs to its own failure group. By using the failure groups you specify, Oracle Automatic Storage Management can distribute data among the devices in the disk group to help minimize the risk of data loss caused by component failures.
Oracle Automatic Storage Management Instance
The Oracle Automatic Storage Management instance is a special Oracle instance that manages Oracle Automatic Storage Management disk groups. The Oracle Automatic Storage Management instance and the ASMSNMP account are created as part of the Oracle Grid Infrastructure home. Oracle Enterprise Manager uses this account to monitor Oracle ASM instances to retrieve data from Oracle ASM-related data dictionary views. The ASMSNMP account status is set to OPEN upon creation, and it is granted the SYSDBA privilege.
There is only one Oracle ASM instance per host regardless of the number of database instances running on that host.
See Also:
|
To simplify database administration, Oracle provides a Web-based management tool called Oracle Enterprise Manager.
There are two ways that you can deploy Oracle Enterprise Manager:
Deploy Oracle Enterprise Manager centrally in your environment.
To deploy Oracle Enterprise Manager centrally, you must install at least one Oracle Management Repository and one Oracle Management Service within your environment, then install an Oracle Enterprise Management Agent on every computer. You then can use a single HTML interface to manage and monitor software and hardware targets on all of those systems. Targets can include Oracle databases, application servers, Net listeners, and third-party software. This single interface is called Oracle Enterprise Manager Grid Control (or simply Grid Control).
Note:
|
Deploy Oracle Enterprise Manager Database Control locally on the database system.
Oracle Enterprise Manager Database Control software is installed by default with every Oracle Database installation. This local installation provides a Web-based interface called Oracle Enterprise Manager Database Control. The Database Control is similar in function to the Grid Control, but it can manage only a single database. If you want to administer multiple databases on this system, you must either configure a separate Database Control for each database, or install Oracle Enterprise Manager 11g Grid Control.
See Also: Oracle Enterprise Manager Concepts and Oracle Enterprise Manager Grid Control Installation and Basic Configuration for more information about Oracle Enterprise Manager |
This section contains the following topics:
When you create a preconfigured database during the installation, you must select the Oracle Enterprise Manager interface to manage the database. The following opt7 ions are available:
Use Grid Control for central database management.
This option is available only if an Oracle Management Agent is installed on the system. When Oracle Universal Installer detects Oracle Management Agent on the system, you can choose this option and specify the Oracle Management Service to manage the database.
If an Oracle Management Agent is not installed, you must use Database Control to manage the database. However, if you install Oracle Management Agent after you install Oracle Database, you can use Grid Control to manage this database.
Use Database Control for local database management.
This option is selected by default if an Oracle Management Agent is not installed on the system. However, even if a Management Agent is installed, you can still configure Database Control to manage the database.
Install the database using Oracle Universal Installer and start Oracle Database Configuration Assistant from Oracle home. Oracle Database Configuration Assistant runs in interactive mode. Using a screen in Oracle Database Configuration Assistant, you can specify the Oracle Enterprise Manager interface to manage the database. Alternatively, you can choose not to configure the database with Enterprise Manager.
Oracle recommends that you configure the database to use Enterprise Manager during installation. However, if you choose not to configure the database to use Enterprise Manager during the installation, you can use Oracle Database Configuration Assistant after the installation to configure the database to use it.
Oracle Enterprise Manager Database Control, which is installed by default with Oracle Database, provides a Web-based user interface that you can use to monitor, administer, and maintain an Oracle database. You can use it to perform all of your database administration tasks. You can also use it to determine information about the database, such as:
Instance name, database version, Oracle home location, media recovery options, and other instance data
Current instance availability
Database alert information
Automatic notification of security alerts
Ability to apply patches
Session and SQL-related performance information
Space usage metrics
If you use Oracle Enterprise Manager Database Control during the installation, you can optionally enable automated database backups that use the Oracle-suggested default backup strategy.
You do not have to enable automated backups during the installation. If you prefer, you can use Oracle Enterprise Manager Database Control or Grid Control to configure automated backups after you install the software and create a database.
This section covers the following topics:
See Also:
|
If you enable automated backups, Oracle Enterprise Manager schedules a daily backup job that uses Oracle Database Recovery Manager (RMAN) to back up all of the database files to an on-disk storage area called the fast recovery area. The size of the fast recovery area is determined by the size of the database you must back up. The first time the backup job runs, it creates a full backup of the database. Subsequent backup jobs perform incremental backups, which enable you to recover the database to its state at any point during the preceding 24 hours. If you want to create an online backup, you must run the backup job in ARCHIVELOG mode.
To enable automated backup jobs during installation, you must specify the following information:
The location of the fast recovery area
You can use either a file system directory or an Oracle Automatic Storage Management disk group for the fast recovery area. The default disk quota configured for the fast recovery area is 2 GB. For Oracle Automatic Storage Management disk groups, the required disk space depends on the redundancy level of the disk group that you choose. Chapter 2 describes how to choose the location of the fast recovery area and identifies its disk space requirements.
An operating system user name and password for the backup job
Oracle Enterprise Manager uses the operating system credentials that you specify when running the backup job. The user name that you specify must belong to the Windows group that identifies database administrators (the ORA_DBA
group). This user also must have Logon As A Batch Job
privilege.
If you enable automated backups after choosing one of the preconfigured databases during the installation, automated backup is configured with the following default settings:
The backup job is scheduled to run nightly at 2 a.m.
The disk quota for the fast recovery area is 2 GB.
If you enable automated backups by using Oracle Database Configuration Assistant, either during or after the installation, you can specify a different start time for the backup job and a different disk quota for the fast recovery area.
If you choose to use Oracle Enterprise Manager Database Control during the installation, you can configure Enterprise Manager to send e-mail when specific events occur. These events can include occurrences such as disk space reaching a critical limit (a threshold), or a database shutting down unexpectedly.
If you enable e-mail notifications, you must specify the following information:
The host name of a simple mail transport protocol (SMTP) server.
The e-mail address that should receive the alerts.
The e-mail address that you specify can belong to an individual, or can be a shared e-mail account, or can be a distribution list.
You can use Enterprise Manager Database Control to setup, change, or customize e-mail notifications after you have created the database.
Note: The option to enable e-mail notifications is not available starting with Oracle Database 11g Release 2 (11.2.0.2). |
Oracle recommends installing Oracle Database 11g Release 2 (11.2) into a new Oracle home directory. If you must install Oracle Database 11g Release 2 (11.2) into an Oracle home directory that contains previously installed Oracle8i or Oracle9i components, then use Oracle Universal Installer to remove these components before beginning a new installation.
See Oracle Database Upgrade Guide before deciding to upgrade an existing database. Supported upgrade paths and upgrade procedures are covered in Oracle Database Upgrade Guide. However, this section describes several Windows-specific issues to understand before following the instructions in Oracle Database Upgrade Guide.
This section contains these topics:
In previous releases, Oracle Automatic Storage Management (Oracle ASM) was installed as part of the Oracle Database installation. With Oracle Database 11g Release 2 (11.2), Oracle Automatic Storage Management is part of an Oracle Grid Infrastructure installation, either for a cluster, or for a standalone server.
If you want to upgrade an existing Oracle Automatic Storage Management installation, then you must upgrade Oracle Automatic Storage Management by running an Oracle Grid Infrastructure upgrade. If you do not have Oracle Automatic Storage Management installed and you want to use Oracle Automatic Storage Management as your storage option, then you must complete an Oracle Grid Infrastructure installation before you start your Oracle Database installation.
See "Daylight Saving Time Upgrade of Timestamps with Timezone Data Type" for information about Daylight Savings Time Upgrade.
If you upgrade your Oracle Database to 11g Release 2 (11.2), then Oracle recommends that you upgrade the client software to Oracle Database 11g Release 2 (11.2) as well. Keeping the server and client software at the same release number ensures maximum stability for your applications. In addition, the latest Oracle client software may provide added functionality and performance enhancements that were not available with previous releases.
Steps to downgrade a database, including steps to change the word size, are covered in Oracle Database Upgrade Guide.
This appendix describes how to install Java Access Bridge. Java Access Bridge enables use of a screen reader with Oracle components:
Note: Java Access Bridge is not supported on Windows x64 for 64-bit database installations. |
Java Access Bridge enables assistive technologies to read Java applications running on the Windows platform. Assistive technologies can read Java-based interfaces, such as Oracle Universal Installer and Oracle Enterprise Manager Database Control.
Your Oracle Database, Oracle Database Client, and Oracle Database installation media contain the Java Runtime Environment (JRE) 1.5, which Oracle Universal Installer uses during installation. The JRE enables use of Java Access Bridge during installation. See "Setup for Oracle Installed Components" for information about installing and configuring Java Access Bridge after you install Oracle components.
To set up Java Access Bridge with JRE 1.5, stop your assistive technology, then from the installation media root, go to install
directory and double-click access_setup.bat
file before the installation.
After the batch file has run, restart your assistive technology program.
This section describes how to install and configure Java Access Bridge for Windows after installing Oracle components. It contains the following topics:
To install Java Access Bridge, follow these steps:
Go to the Sun Microsystem's Web site and download Java Access Bridge:
http://www.oracle.com/technetwork/java/javase/tech/index-jsp-136191.html
Select the accessbridge-2_0_1-manual_install.zip
file and extract its files to the system where you plan to install Java Access Bridge. For example:
DRIVE_LETTER:\AccessBridge-2_0_1
Copy the Java Access Bridge files listed in the table below into the JRE directory used by Oracle components. If the files exist, overwrite them. By default, the JRE installation used by Oracle components is installed in:
ORACLE_HOME\jdk\jre
Table A-1 lists the files you must copy from the Java Access Bridge location on your hard drive to the JRE directory used by Oracle components for Windows 32-bit.
Table A-1 Copy Files to JRE Directory on Windows 32-Bit
Copy | To |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
You can access Java Access Bridge documentation located at
DRIVE_LETTER:\AccessBridge-2_0_1\doc
You can configure Oracle components to use Java Access Bridge after you complete the installation. To do so, you must set the system variable ORACLE_OEM_CLASSPATH
to point to the installed Java Access Bridge files.
Follow these steps:
From the Start menu, select Settings, Control Panel, and then System to display the Windows System control panel.
Select the Advanced tab.
Click the Environment Variables button.
Click the New button under the System Variable list. The New System Variable dialog box appears.
In the Variable Name field, enter ORACLE_OEM_CLASSPATH
.
In the Variable Value field, enter the full path to the jaccess.jar
and access-bridge.jar
.
Use a semicolon to separate the two paths. Do not use quotation marks or character spaces. For example, if JRE 1.5 is installed in the default location, the setting is:
ORACLE_HOME\jdk\jre\lib\ext\jaccess.jar;ORACLE_HOME\jdk\jre\lib\ext\access-bridge.jar
Click OK.
Oracle Automatic Storage Management disk group
A set of disk devices that Oracle Automatic Storage Management manages as a single unit. Each disk device can be an individual physical disk, a multiple disk device such as a RAID storage array or logical volume, or even a partition on a physical disk. You can create the Oracle Automatic Storage Management disk group when you create the Oracle Automatic Storage Management instance, or with Oracle Database Configuration Assistant.
Oracle Automatic Storage Management instance
The Oracle instance that manages Oracle Automatic Storage Management disk groups Oracle Automatic Storage Management disk groups. It is created automatically when you install and configure Oracle Automatic Storage Management. See also Oracle system identifier (SID).
Oracle Automatic Storage Management
Enables creation of a single disk group from a collection of individual disk devices. It balances I/O to the disk group across all of the devices in the disk group. It also implements striping and mirroring to improve I/O performance and data reliability.
automatic undo management mode
A mode of Oracle Database in which undo data is stored in a dedicated undo tablespace. Unlike in manual undo management mode, the only undo management that you must perform is the creation of the undo tablespace. All other undo management is performed automatically.
connect descriptor
A specially formatted description of the destination for a network connection. A connect descriptor contains destination service and network route information.
The destination service is indicated by using its service name for the Oracle Database or its Oracle system identifier (SID) for Oracle release 11.2 databases. The network route provides, at a minimum, the location of the listener through use of a network address.
connect identifier
A name, net service name, or service name that resolves to a connect descriptor. Users initiate a connect request by passing a user name and password along with a connect identifier in a connect string for the service to which they want to connect, for example:
SQL> CONNECT user_name@connect_identifier Enter password: password
control files
Files that record the physical structure of a database and contain the database name, the names and locations of associated databases and online undo tablespace, the time stamp of the database creation, the current log sequence number, and checkpoint information.
default domain
The network domain within which most client requests take place. It can be the domain where the client resides, or a domain from which the client often requests network services. The default domain is also the client configuration parameter that determines what domain to append to unqualified network name requests. A name request is unqualified if it does not have a "." character within it.
directory naming
A naming method that specifies a directory server to resolve a net service name into a connect descriptor. The net service name is stored centrally in a directory server.
directory server
A Lightweight Directory Access Protocol (LDAP)-compliant directory server. A directory can provide centralized storage and retrieval of database network components, user and corporate policies preferences, user authentication, and security information, replacing client-side and server-side localized files.
external procedures
Procedure or function written in the C programming language and stored in a shared library. An Oracle server can call external procedures or functions using PL/SQL routines. For Oracle Database to connect to external procedures, the server must be configured with a net service name and the listener must be configured with protocol address and service information.
global database name
The full database name that uniquely distinguishes it from any other database in your network domain.
For example:
sales.us.example.com
where sales
is the name you want to call your database and us.example.com
is the network domain in which the database is located.
initialization parameter file
An ASCII text file that contains information needed to initialize a database and instance.
instance
Process associated with a running Oracle Database instance. When a database is started on a database server (regardless of the type of computer), Oracle Database allocates a memory area called the System Global Area and starts one or more Oracle Database processes. This combination of the System Global Area and Oracle Database processes is called an instance. The memory and processes of an instance manage the associated database's data efficiently and serve the users of the database.
installation type
A predefined component set that automatically selects which components to install. See "Oracle Database Editions" for a list of installation types available with each top-level component.
Interprocess Communication (IPC)
A protocol that client applications use that resides on the same node as the listener to communicate with the database. IPC can provide a faster local connection than TCP/IP.
listener
A process that resides on the server and whose responsibility is to listen for incoming client connection requests and manage the traffic to the server.
When a client requests a network session with a database server, a listener receives the actual request. If the client information matches the listener information, then the listener grants a connection to the database server.
listener.ora file
A configuration file for the listener that identifies the:
Listener name
Protocol addresses on which it is accepting connection requests
Services for which it is listening
The listener.ora
file resides in the ORACLE_HOME
\network\admin
directory.
An Oracle Database 11g Release 2 (11.2) does not require identification of the database service because of service registration. However, static service configuration is required for an Oracle Database 11g Release 2 (11.2) if you plan to use Oracle Enterprise Manager.
local naming
A naming method that resolves a net service name into a connect descriptor. This name is configured and stored in the tnsnames.ora file on each individual client.
manual undo management mode
A mode of the database in which undo blocks are stored in user-managed rollback segments.
naming method
A resolution method used by a client application to resolve a connect identifier to a network address when attempting to connect to a database service. Oracle Net Services supports the following naming methods:
Local naming
Directory naming
Host naming
External naming
net service name
A simple name for a service that resolves to a connect descriptor. Users initiate a connect request by passing a user name and password along with a net service name in a connect string for the service to which they want to connect:
SQL> CONNECT user_name Enter password: password SQL> @net_service_name
Depending on your needs, net service names can be stored in a variety of places, including:
Local configuration file, tnsnames.ora
, on each client
Directory server
External naming service, such as Network Information Service (NIS) or Cell Directory Service (CDS)
OPS$
Acronym for operating system specific. The initialization file parameter OS_AUTHENT_PREFIX
enables users to specify a prefix that Oracle uses to authenticate users attempting to connect to the database. Oracle concatenates the value of this parameter to the beginning of the user's operating system account name and password. When a connection request is attempted, Oracle compares the prefixed user name with Oracle user names in the database.
The default value of this parameter is ""
(a null string), thereby eliminating the addition of any prefix to operating system account names. In earlier releases, OPS$
was the default setting.
ORACLE_BASE
ORACLE_BASE
is the root of the Oracle Database directory tree. The Oracle Base directory is the top level directory that you can use to install the various oracle software products. You can use the same Oracle base directory for multiple installations. If you install an OFA-compliant database using Oracle Universal Installer defaults, then ORACLE_BASE
is X
:\oracle\product\11.2.0
where X
is any hard drive (for example, C:\oracle\product\11.2.0
).
ORACLE_HOME
Corresponds to the environment in which Oracle Database products run. This environment includes location of installed product files, PATH
variable pointing to products' binary files, registry entries, net service name, and program groups.
If you install an OFA-compliant database, using Oracle Universal Installer defaults, Oracle home (known as \
ORACLE_HOME
in this guide) is located beneath X
:\
ORACLE_BASE
. The default Oracle home is db_
n
where n
is the Oracle home number. It contains subdirectories for Oracle Database software executables and network files. See also Oracle home.
Oracle home
The directory path to install Oracle components (for example, C:\app\oracle\product\11.2.0\dbhome_
n
). You are prompted to enter an Oracle home in the Path field of the Specify File Locations window. See also ORACLE_HOME
.
Oracle schema
A set of rules that determine what can be stored in an LDAP-compliant directory server. Oracle has its own schema that is applied to many types of Oracle entries, including Oracle Net Services entries. The Oracle schema for Oracle Net Services entries includes the attributes the entries may contain.
Oracle Documentation Library
The media in your kit that includes the Oracle Database documentation. The Oracle Documentation Library is separate from the installation media.
The Oracle Documentation Library does not include this installation guide or Oracle Database Release Notes for Microsoft Windows. These documents are included on the media labeled Oracle Database 11g Release 2 (11.2) and are available on Oracle Technology Network (OTN).
Oracle Net foundation layer
A networking communication layer that establishes and maintains the connection between the client application and server, as well as exchanging messages between them.
protocol address
An address that identifies the network address of a network object.
When a connection is made, the client and the receiver of the request, such as the listener, or Oracle Connection Manager, are configured with identical protocol addresses. The client uses this address to send the connection request to a particular network object location, and the recipient "listens" for requests on this address. It is important to install the same protocols for the client and the connection recipient, and to configure the same addresses.
raw partitions
Portions of a physical disk that are accessed at the lowest possible disk (block) level.
redo log files
Files that contain a record of all changes made to data in the database buffer cache. If an instance failure occurs, then an administrator can use the redo log files to recover the modified data that was in memory.
repository
A set of tables located in any Oracle database accessible to the Oracle Management Server. Oracle Management Server uses a repository to store all system data and application data, information about the state of managed nodes distributed throughout the environment, as well as information about the separately licensable management packs.
service registration
A feature by which the PMON process (an instance background process) automatically registers information with a listener. Because this information is registered with the listener, the listener.ora file must not be configured with this static information.
Service registration provides the listener with the following information:
Service name(s) for each running instance of the database
Instance name(s) of the database
Service handlers (dispatchers and dedicated servers) available for each instance
This allows the listener to direct a client's request appropriately.
Dispatcher, instance, and node load information
This allows the listener to determine which dispatcher can best handle a client connection's request. If all dispatchers are blocked, the listener can spawn a dedicated server for the connection.
This information allows the listener to determine how best to service a client connection request.
SID
The Oracle system identifier that distinguishes the database from all other databases on your computer. The SID automatically defaults to the database name portion of the global database name (sales
in the example sales.us.example.com
) until you reach eight characters or enter a period. You can accept or change the default value.
The SID can also see an Oracle Automatic Storage Management instance SID, available when you install Oracle Automatic Storage Management.
sqlnet.ora file
A configuration file for the client or server that specifies the:
Client domain to append to unqualified service names or net service names
Order of naming methods for the client to use when resolving a name
Logging and tracing features to use
Route of connections
External naming parameters
Oracle Advanced Security parameters
The sqlnet.ora
file resides in ORACLE_HOME
\network\admin
.
Secure Sockets Layer (SSL)
An industry standard protocol designed by Netscape Communications Corporation for securing network connections. SSL provides authentication, encryption, and data integrity using public key infrastructure (PKI).
System Global Area
A group of shared memory structures that contain data and control information for an Oracle Database instance.
tablespace
A logical storage unit within a database. Tablespaces are divided into logical units of storage called segments, which are further divided into extents.
tnsnames.ora file
A configuration file that contains net service names mapped to connect descriptors. This file is used for the local naming method. The tnsnames.ora
file resides in ORACLE_HOME
\network\admin
.
undo tablespace
An tablespace that contains one or more undo segments. The creation of any other types of segment (for example, tables, indexes) in undo tablespaces is not allowed.
In the automatic mode, each Oracle instance is assigned one and only one undo tablespace. Each undo tablespace is composed of a set of undo files. Undo blocks are grouped in extents. At any point in time, an extent is either allocated to (and used by) a transaction table, or is free.
Blocks in undo tablespaces are grouped into the following categories:
File control blocks, bitmap blocks, and so forth used for space management
Undo segments containing transaction table blocks, undo blocks, and extent-map blocks used for transaction management
Free blocks that are unallocated to file control or undo segments
This guide provides instructions about installing and configuring Oracle Database for Microsoft Windows (32-bit) and Microsoft Windows x64. Only the features of Oracle Database for Microsoft Windows (32-bit) and Microsoft Windows x64 software installed on Windows Server 2003, Windows Server 2003 R2, Windows XP Professional, Windows Vista, Windows Server 2008, Windows Server 2008 R2, and Windows 7 are discussed in this guide.
This preface contains these topics:
Oracle Database Installation Guide for Microsoft Windows is intended for anyone installing Oracle Database on a single computer. Additional installation guides for Oracle Real Application Clusters, Oracle Clusterware, Oracle Database Examples, and Oracle Enterprise Manager Grid Control are available on the relevant installation media.
To use this document, you need the following:
A supported Microsoft Windows operating system installed and tested on your computer system
Administrative privileges on the computer where you are installing the Oracle Database software
Familiarity with object-relational database management concepts
See Also:
|
For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc
.
Access to Oracle Support
Oracle customers have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info
or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs
if you are hearing impaired.
The documentation for this release includes platform-specific documentation and generic product documentation.
Platform-specific documentation includes information about installing and using Oracle products on particular platforms. The platform-specific documentation for this product is available in both Adobe portable document format (PDF) and HTML format on the product media. To access the platform-specific documentation on the media, use a web browser to open the welcome.html
file in the top-level directory of the media.
Product documentation includes information about configuring, using, or administering Oracle products on any platform. The product documentation for Oracle Database 11g products is available in both HTML and PDF formats in the following locations:
On the Oracle Database Documentation Library media
Use a web browser to view or open the index.htm
file in the top-level directory on the media.
Online on the Oracle Technology Network Web site:
http://www.oracle.com/technetwork/indexes/documentation/index.html
For more information, see these Oracle resources:
Oracle Universal Installer and OPatch User's Guide for Windows and UNIX
Oracle Database Client Installation Guide for Microsoft Windows
Oracle Enterprise Manager Grid Control Installation and Basic Configuration
For information about Oracle error messages, see Oracle Database Error Messages. Oracle error message documentation is available only in HTML. If you only have access to the Oracle Database 11g Release 2 (11.2) Online Documentation Library, you can browse the error messages by range. Once you find the specific range, use your browser's "find in page" feature to locate the specific message. When connected to the Internet, you can search for a specific error message using the error message search feature of the Oracle online documentation.
Many books in the documentation set use the sample schemas of the seed database, which is installed by default when you install Oracle. For information about how these schemas were created and how you can use them yourself, see Oracle Database Sample Schemas.
To download free release notes, installation documentation, white papers, or other collateral, visit the Oracle Technology Network. You must register online before using Oracle Technology Network; registration is free and can be done at
http://www.oracle.com/technetwork/community/join/overview/index.html
If you already have a user name and password for Oracle Technology Network, then you can go directly to the documentation section of the Oracle Technology Network Web site at
http://www.oracle.com/technetwork/indexes/documentation/index.html
The following text conventions are used in this document:
Convention | Meaning |
---|---|
boldface | Boldface type indicates graphical user interface elements associated with an action, or terms defined in text or the glossary. |
italic | Italic type indicates book titles, emphasis, or placeholder variables for which you supply particular values. |
monospace | Monospace type indicates commands within a paragraph, URLs, code in examples, text that appears on the screen, or text that you enter. |
Note: Oracle Grid Infrastructure is available only on 64-bit Windows. |
The Oracle Grid Infrastructure for a standalone server is the Oracle software that provides system support for an Oracle database including volume management, file system, and automatic restart capabilities. If you plan to use Oracle Restart or Oracle Automatic Storage Management, then you must install Oracle Grid Infrastructure before you install and create the database. Oracle Grid Infrastructure for a standalone server is the software that includes Oracle Restart and Oracle Automatic Storage Management. Oracle combines the two infrastructure products into a single set of binaries that is installed as the Oracle Grid Infrastructure home.
Oracle Automatic Storage Management is a volume manager and a file system for Oracle database files that supports single-instance Oracle Database and Oracle Real Application Clusters (Oracle RAC) configurations. Oracle Automatic Storage Management also supports a general-purpose file system for your application needs, including Oracle Database binaries. Oracle Automatic Storage Management is Oracle's recommended storage management solution that provides an alternative to conventional volume managers, file systems, and raw devices.
Oracle Restart improves the availability of your Oracle database because of the following:
When a hardware or a software failure occurs, Oracle Restart automatically starts all Oracle components, including the Oracle database instance, Oracle Net Listener, database services, and Oracle Automatic Storage Management.
Oracle Restart starts components in the proper order when the database host is restarted.
Oracle Restart runs periodic checks to monitor the health of Oracle components. If a check operation fails for a component, then the component is shut down and restarted.
Note:
|
This chapter contains the following sections:
Migrating Existing Oracle Automatic Storage Management Instances
Oracle Automatic Storage Management Installation Considerations
Preparing Disks for an Oracle Automatic Storage Management Installation
Installing Oracle Grid Infrastructure Using a Software-Only Installation
Installing and Configuring the Oracle Grid Infrastructure for a Standalone Server
Modifying Oracle Grid Infrastructure Binaries After Installation
Manually Configuring Oracle Automatic Storage Management Disk Groups
Testing the Oracle Automatic Storage Management Installation
Before you install Oracle Grid Infrastructure, ensure that your system meets the following requirements:
At least 1 GB of RAM (for Oracle Grid Infrastructure for a Standalone Server installations, including installations where you plan to install Oracle Database).
The following are the disk space requirements for installing Oracle Grid Infrastructure:
At least 2 GB of disk space
The amount of disk space available in the %TEMP% directory is equivalent to the total amount of free disk space, minus what is required for Oracle Grid Infrastructure to be installed.
If less than 1 GB free disk space is available in the %TEMP% directory, then complete the following steps:
Delete unnecessary files from the %TEMP% directory to meet the disk space requirement.
Set TEMP
environment variable. Go to System Properties, then Environment Variables , "TEMP=C:\Temp\"
If you plan to install Oracle Database, then you must meet additional preinstallation requirements. See Chapter 2, "Oracle Database Preinstallation Requirements."
Oracle Automatic Storage Management Cluster File System (Oracle ACFS) extends Oracle Automatic Storage Management technology to support of all of your application data in both single host and cluster configurations. Oracle Automatic Storage Management Dynamic Volume Manager (Oracle ADVM) provides volume management services and a standard disk device driver interface to clients. Oracle Automatic Storage Management Cluster File System is layered on Oracle Automatic Storage Management through the Oracle Automatic Storage Management Dynamic Volume Manager interface.
For Oracle ASM 11g Release 2 (11.2.0.1), Oracle ACFS and Oracle ADVM are supported only on Windows Server 2003 64-bit and Windows Server 2003 R2 64-bit. Starting with Oracle ASM 11g Release 2 (11.2.0.2), Oracle ACFS and Oracle ADVM are also supported on Windows Server 2008, x64 and Windows Server 2008 R2, x64.
Note: Oracle recommends that Oracle data files are installed in Oracle ASM disk groups. Installing Oracle data files on an Oracle ACFS file system is not supported. Oracle ACFS can be used as an option only when Oracle Automatic Storage Management is configured. |
See Also:
|
Releases before Oracle Database 11g Release 2 used Database Configuration Assistant to perform administrative tasks on Oracle ASM. Starting with 11g Release 2, Oracle ASM is installed with Oracle Restart.
If you have an Oracle Automatic Storage Management installation from a previous release installed on your server, or in an existing Oracle Grid Infrastructure installation, you can use Oracle Automatic Storage Management Configuration Assistant to upgrade the existing Oracle Automatic Storage Management instance to 11g Release 2 (11.2), and subsequently configure disk groups, Oracle Automatic Storage Management volumes and Oracle Automatic Storage Management file systems.
Note: You must first shut down all databases and applications using an existing Oracle Automatic Storage Management instance before upgrading it. |
During installation, if you chose to use Oracle Automatic Storage Management and Oracle Automatic Storage Management Configuration Assistant detects that there is an earlier Oracle Automatic Storage Management version installed in another Oracle Automatic Storage Management home, then after installing the Oracle Automatic Storage Management 11g Release 2 (11.2) binaries, you can start Oracle Automatic Storage Management Configuration Assistant to upgrade the existing Oracle Automatic Storage Management instance.
In previous releases, Oracle Automatic Storage Management (Oracle ASM) was installed as part of the Oracle Database installation. With Oracle Database 11g Release 2 (11.2), Oracle Automatic Storage Management is part of an Oracle Grid Infrastructure installation, either for a cluster, or for a standalone server.
If you want to upgrade an existing Oracle Automatic Storage Management installation, then you must upgrade Oracle Automatic Storage Management by running an Oracle Grid Infrastructure upgrade (upgrades of existing Oracle Automatic Storage Management installations). If you do not have Oracle Automatic Storage Management installed and you want to use Oracle Automatic Storage Management as your storage option, then you must complete an Oracle Grid Infrastructure installation before you start your Oracle Database installation.
You must run Oracle Automatic Storage Management Configuration Assistant for installing and configuring Oracle ASM instances, disk groups, volumes, and Oracle Automatic Storage Management Cluster File System (Oracle ACFS). In addition, you can use the ASMCA command-line interface as a non-GUI utility.
See Also: Chapter 11, "Oracle ASM Configuration Assistant" in Oracle Database Storage Administrator's Guide for information about Oracle ASMCA |
Apply the following guidelines when you install Oracle Automatic Storage Management:
You must complete the steps listed under the "Preparing Disks for an Oracle Automatic Storage Management Installation" section to prepare a disk partition to use for the Oracle Automatic Storage Management disk groups.
Ensure that at least one disk is configured appropriately in an Oracle ASM disk group before beginning the installation.
When you install Oracle Automatic Storage Management, Oracle Automatic Storage Management Configuration Assistant creates a separate server parameter file (SPFILE
) and password file for the Oracle Automatic Storage Management instance. As soon as Oracle Automatic Storage Management is installed, ASMSNMP
schema and user are created. See Oracle Database Storage Administrator's Guide for more information.
The Oracle Automatic Storage Management instance that manages the existing disk group runs in the Oracle Grid Infrastructure Oracle home directory.
If you plan to use Oracle Automatic Storage Management to manage database files for your databases, then use the procedures in this section to prepare disk groups before you install an Oracle Automatic Storage Management instance.
This section covers the following topics:
General Steps for Configuring Oracle Automatic Storage Management
Step 1: Identifying Storage Requirements for Oracle Automatic Storage Management
Step 2: Creating DAS or SAN Disk Partitions for an Oracle Automatic Storage Management Instance
Step 3: Manually Configuring Disks for Oracle Automatic Storage Management
Note: Oracle does not recommend using identifiers for database object names that must be quoted. While these quoted identifiers may be valid as names in theSQL CREATE statement, such as CREATE DISKGROUP "1data" ... , the names may not be valid when using other tools that manage the database object. |
The following are the general steps to configure Oracle Automatic Storage Management:
Identify your site's storage requirements.
If you are creating a new Oracle Automatic Storage Management disk group, create partitions for direct attached storage (DAS) or storage area network (SAN) disks.
Use asmtool
to stamp the disks before using them for Oracle Automatic Storage Management.
See Also: "Step 3: Manually Configuring Disks for Oracle Automatic Storage Management" for more information about stamping the disks |
Configure the disks for use with Oracle Automatic Storage Management. You must provide the Oracle Automatic Storage Management disk configuration information during the Oracle Grid Infrastructure installation.
To identify the storage requirements for using Oracle Automatic Storage Management, you must determine how many devices and the amount of free disk space that you require. To complete this task, follow these steps:
Determine whether you want to use Oracle Automatic Storage Management for Oracle data files, recovery files, or both.
Note: You do not have to use the same storage mechanism for Oracle Database files and recovery files. You can use a file system for one file type and Oracle Automatic Storage Management for the other.If you choose to enable automated backups and you do not have a shared file system, then you must choose Oracle Automatic Storage Management for recovery file storage. |
During the database installation, if you plan to enable automated backups, then you can choose Oracle Automatic Storage Management as the storage mechanism for recovery files by specifying an Oracle Automatic Storage Management disk group for the fast recovery area. Depending how you choose to create a database during the installation, you have the following options:
You can run Oracle Automatic Storage Management Configuration Assistant in interactive mode to create and configure the required disk groups.
During the database installation, if you select an installation method that runs Database Configuration Assistant in interactive mode (Advanced Installation type), then you select the disk groups that you created using Oracle ASMCA.
You have the option to use the disk groups you created using Oracle ASMCA both for database files and recovery files, or you can choose to use different disk groups for each file type. Ideally, you should create separate Oracle Automatic Storage Management disk groups for data files and for recovery files.
If you run Oracle ASMCA in noninteractive mode, then you must use the same Oracle Automatic Storage Management disk group for data files and recovery files. During the database installation (Typical Install type), you select the same disk group for both data files and recovery files.
See Also:
|
Choose the Oracle Automatic Storage Management redundancy level for each Oracle Automatic Storage Management disk group you create.
The redundancy level that you choose for the Oracle Automatic Storage Management disk group determines how Oracle Automatic Storage Management mirrors files in the disk group and determines the number of disks and amount of disk space that you require. The redundancy levels are as follows:
External redundancy
An external redundancy disk group requires a minimum of one disk device. The effective disk space in an external redundancy disk group is the sum of the disk space in all of its devices.
Because Oracle Automatic Storage Management does not mirror data in an external redundancy disk group, Oracle recommends that you use only RAID or similar devices that provide their own data protection mechanisms as disk devices in this type of disk group.
Normal redundancy
To optimize performance and reliability in a normal redundancy disk group, Oracle Automatic Storage Management uses two-way mirroring for data files and three-way mirroring for control files, by default. In addition, you can choose the mirroring characteristics for individual files in a disk group. Alternatively, you can use two-way mirroring or no mirroring.
A normal redundancy disk group requires a minimum of two failure groups (or two disk devices) if you are using two-way mirroring. The effective disk space in a normal redundancy disk group is half the sum of the disk space in all of its devices.
For most installations, Oracle recommends that you use normal redundancy disk groups.
High redundancy
In a high redundancy disk group, Oracle Automatic Storage Management uses three-way mirroring to increase performance and provide the highest level of reliability. A high redundancy disk group requires a minimum of three disk devices (or three failure groups). The effective disk space in a high redundancy disk group is one-third the sum of the disk space in all of its devices.
While high redundancy disk groups do provide a high level of data protection, you must consider the higher cost of additional storage devices before deciding to use this redundancy level.
Determine the total amount of disk space that you require for the data files and recovery files.
Use the following table to determine the minimum number of disks and the minimum disk space requirements for the installation:
Redundancy Level | Minimum Number of Disks | Data Files | Recovery Files | Both File Types |
---|---|---|---|---|
External | 1 | 1.6 GB | 2.95 GB | 4.55 GB |
Normal | 2 | 3.2 GB | 5.90 GB | 9.10 GB |
High | 3 | 4.8 GB | 8.85 GB | 13.65 GB |
If an Oracle Automatic Storage Management instance is on the system, you can use an existing disk group to meet these storage requirements. If necessary, you can add disks to an existing disk group during the database installation.
Optionally identify failure groups for the Oracle Automatic Storage Management disk group devices.
Note: You must complete this step only if you intend to use an installation method that runs Oracle Automatic Storage Management Configuration Assistant in interactive mode, for example, if you intend to choose the Advanced database configuration option. Other installation types do not allow you to specify failure groups. |
If you intend to use a normal or high redundancy disk group, you can further protect your database against hardware failure by associating a set of disk devices in a custom failure group. By default, each device comprises its own failure group. However, if two disk devices in a normal redundancy disk group are attached to the same SCSI controller, the disk group becomes unavailable if the controller fails. The controller in this example is a single point of failure.
For instance, to avoid failures of this type, you could use two SCSI controllers, each with two disks, and define a failure group for the disks attached to each controller. This configuration would enable the disk group to tolerate the failure of one SCSI controller.
Note: If you define custom failure groups, you must specify a minimum of two failure groups for normal redundancy disk groups and three failure groups for high redundancy disk groups. |
If you are sure that a suitable disk group does not exist on the system, install or identify appropriate disk devices to add to a new disk group. Use the following guidelines when identifying appropriate disk devices:
All of the devices in an Oracle Automatic Storage Management disk group should be the same size and have the same performance characteristics.
Do not specify multiple partitions on a single physical disk as a disk group device. Oracle Automatic Storage Management expects each disk group device to be on a separate physical disk.
Although you can specify a logical volume as a device in an Oracle Automatic Storage Management disk group, Oracle does not recommend their use. Logical volume managers can hide the physical disk architecture, preventing Oracle Automatic Storage Management from optimizing I/O across the physical devices.
See Also: "Step 3: Manually Configuring Disks for Oracle Automatic Storage Management" for information about completing this task |
In order to use a DAS or SAN disk in Oracle Automatic Storage Management, the disk must have a partition table. Oracle recommends creating exactly one partition for each disk containing the entire disk.