Oracle9i Application Server Installation Guide Release 2 (9.0.2) for Sun SPARC Solaris Part Number A90324-01 |
|
This chapter guides you through the silent and non-interactive installation of Oracle9i Application Server (Oracle9iAS). The topics include:
Oracle9iAS features two non-interacting methods of installation:
Silent installation of Oracle9iAS is accomplished by supplying the Oracle Universal Installer with a response file and specifying the -silent
flag. The installer uses the variables and values contained in this text file to provide answers to all of the installer user prompts. You include responses for all of the installer prompts in the response file. Silent installation displays no graphical output.
If this is a first time installation of Oracle9iAS, you will also need to manually create three files before starting. These files are used by Oracle Universal Installer during the installation. File creation is described in Section 6.3, "Creating Files for Silent and Non-Interactive Installation".
Following installation of Oracle9iAS, you will need to run the root.sh
script. The root.sh
script detects settings of environmental variables and allows you to enter the full path of the local bin directory.
Use silent installation of Oracle9iAS when there are similar installations on more than one computer. Additionally, use silent install when performing the Oracle9iAS installation from a remote location using the command line. Silent installation eliminates the need to monitor the Oracle9iAS installation because there is no graphical output and no input by the user.
See Also:
Section 2.5.3.2, "DISPLAY" for more information about remote installation. |
Non-interactive installation of Oracle9iAS is also accomplished by supplying the Oracle Universal Installer with a response file but without specifying the -silent
flag. The installer uses the variables and values contained in this text file to provide answers to some or all of the installer user prompts. There is graphical output and if you have not provided responses to all of the installer prompts, you may need to enter information during the installation.
You will need to run the root.sh
script during the installation process. The root.sh
script detects settings of environmental variables and allows you to enter the full path of the local bin directory.
For a complete list of installation requirements, refer to Chapter 2, "Getting Started".
If the oraInst.loc, emtab, and oratab files do not exist on your computer, you need to create them before starting the silent installation of Oracle9iAS. These three files are typically stored in the /var/opt/oracle/
directory. They are used by the Oracle Universal Installer during the silent installation.
The following sections show you how to create the three files.
As the root user, create the oraInst.loc file in the /var/opt/oracle/
directory. Make sure the file has read and write permission for the oracle user group. The oracle user group
is the group performing the installation. The inventory_loc
is the location for inventory files. If inventory_loc
is not located in your ORACLE_HOME ensure that the directory where it is located has read and write permission for the oracle user group
.
The oraInst.loc
file should have the text input as shown:
inst_group=<oracle_user_group>
inventory_loc=
ORACLE_HOME
for example if your ORACLE_HOME is /private2/oracle/ias
, the content of the file is:
inventory_loc=/private2/oracle/iasinst_group=
oracle user group
Create the emtab
file in the /var/opt/oracle/
directory. Make sure the file has read and write permission for the oracle
user's group. The emtab
file should have the text input as shown:
DEFAULT=$ORACLE_HOME
for example if your ORACLE_HOME is /private2/oracle/ias
, the content of the file is:
DEFAULT=/private2/oracle/ias
Create the oratab file in the /var/opt/oracle/
directory. Make sure the file is empty and has read and write permission for the oracle
user's group.
There are multiple Oracle Universal Installer response files depending on your choice of Oracle9iAS installation. These files are included on the Oracle9iAS, Release 2 (9.0.2) CD-ROM. You must edit the response file to suit your installation, silent or non-interactive.
To use a response file, copy the response file from the Oracle9iAS CD-ROM to your system. For example:
prompt> cd mount_point/Disk1/stage/Response/
prompt> cp oracle.iappserver.iapptop.j2ee.rsp private/ora9ias/Response/
The Oracle9iAS, Release 2 (9.0.2) CD-ROM contains the following response files:
(oracle.iappserver.infrastructure.Infrastructure.rsp
)
(oracle.iappserver.devcorner.DevKit.rsp
)
Using any text editor, edit the response file to include information specific for your system. The response file text identifies information that you must provide.
You must specify values for variables in your response file. Each variable listed in the response file is associated with a comment. The comment identifies the variable type. For example:
string = "Sample Value"
Boolean = True or False
Number = 1000
StringList = {"StringValue 1", "String Value 2"}
The values that are given as <Value Required> must be specified for silent installation.
Remove the comment from the variable values in the response file you will use before starting the Oracle9iAS installation.
To make the installer use the response file at install time, follow the same steps to launch the installer, but specify the location of the response file that you wish to use as a parameter when starting the installer:
prompt> ./runInstaller -responseFileabsolute_path_and_filename
To perform a completely silent installation session, use the -silent
parameter:
prompt> ./runInstaller -silent -responseFile absolute_path_and_filename
The success or failure of the non-interactive installation is logged in installActions.log
and for silent installation in silentInstall.log
. The log files are created in the oraInventory
directory during installation.
Note: The installer will fail if you attempt a silent session without appropriately configuring a response file. |
During silent and non-interactive installation you must run the root.sh
script either before or after installation of Oracle9iAS.
During silent installation of Oracle9iAS, you will not be prompted to run the root.sh
script. You must run the root.sh
script after silent installation.
Use the following steps to run the root.sh
script.
root.sh
script in the Oracle home directory.
prompt> Oracle_Home/root.sh
During silent installation, Oracle Universal Installer will attempt to start Oracle HTTP Server. However, Oracle HTTP Server will not start until the root.sh
script is run. Ignore any error messages generated due to the inability to start Oracle HTTP Server.
After running the root.sh
script, re-start Oracle HTTP Server using the following commands:
ORACLE_HOME/opmn/bin opmnctl stopall
ORACLE_HOME/opmn/bin opmnctl startall
If you want to use Oracle HTTP Server on a port number that is less than 1024, you must complete the following steps:
root.sh
script.
ORACLE_HOME/Apache/Apache/bin/root_sh_append.sh
The root_sh_append.sh
script sets the necessary permission for the Oracle HTTP Server to be run on a port less than1024.
During non-interactive installation of Oracle9iAS, the installer prompts you to run the root.sh
script.
Use the following steps to run the root.sh
script.
root.sh
script in the Oracle home directory.
prompt> Oracle_Home/root.sh
For non-interactive installation, once you see "Finished running generic part of the root.sh script" and "Now product-specific root actions will be performed," exit root user and return to the Install screen.
The root.sh
script detects:
bin
directory. You can accept the default or change to a different local bin
directory
Values for variables that are of the wrong context, format, or type are treated as if no value were specified. Variables that are outside any section are ignored.
If you attempt a silent or non-interactive installation with an incorrect or incomplete response file, or the installer encounters an error, such as insufficient disk space, the installation will fail.
If you attempt a non-interactive installation without specifying a response file, the installation will fail.
The results of either your silent or non-interactive installation are recorded in the installation session log file.
If your silent or non-interactive installation fails, you must completely deinstall any files remaining from your Oracle9iAS installation attempt.
|
Copyright © 2002 Oracle Corporation. All Rights Reserved. |
|