Oracle® Application Server 10g Installation Guide
10g (9.0.4) for hp HP-UX PA-RISC (64-bit) and Linux x86 Part No. B10842-03 |
|
![]() |
![]() |
This appendix describes the silent and non-interactive installation of Oracle Application Server. The topics include:
Silent installation of Oracle Application Server is accomplished by supplying the Oracle Universal Installer with a response file and specifying the -silent
flag on the command line. The response file is a text file.
The installer uses the variables and parameter values contained in the response file to provide answers to all of the installer 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 Oracle Application Server, you must create the oraInst.loc file before starting. File creation is described in Section D.4, "Pre-Installation".
Following installation of Oracle Application Server, you need to run the root.sh
script. The root.sh
script detects settings of environment variables and enables you to enter the full path of the local bin directory.
Use silent installation of Oracle Application Server when there are similar installations on more than one computer. Additionally, use silent install when performing the Oracle Application Server installation from a remote location using the command line. Silent installation eliminates the need to monitor the Oracle Application Server installation because there is no graphical output and no input by the user.
Non-interactive installation of Oracle Application Server is also accomplished by supplying the Oracle Universal Installer with a response file but without specifying the -silent
flag on the command line. The response file is a text file. The installer uses the variables and parameter values contained in the response 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.
If this is a first time installation of Oracle Application Server, you must create the oraInst.loc file before starting. File creation is described in Section D.4, "Pre-Installation".
Following installation of Oracle Application Server, you need to run the root.sh
script. The root.sh
script detects settings of environment variables and enables you to enter the full path of the local bin directory.
Use non-interactive installation of Oracle Application Server when there are specific screens you want to observe during installation.
Additionally, you can use non-interactive installation when performing the Oracle Application Server installation from a remote location using the command line.
If the oraInst.loc file does not exist on your computer, you must create it before starting the silent and non-interactive installation of Oracle Application Server.
The oraInst.loc file is typically stored in the /var/opt/oracle
directory on HP-UX systems and the /etc
directory on Linux systems. It is used by the Oracle Universal Installer during installation.
As the root user, create the oraInst.loc
file in the /var/opt/oracle
directory on HP-UX systems and the /etc
directory on Linux systems. The oracle
group is the group performing the installation.
Enter the following line of text in the orainst.loc
file:
inventory_loc=/full_path/oui_inventory
The oraInst.loc
file specifies inventory_loc
location for inventory files. If the oraInst.loc
file is not located in your Oracle home, make sure the file has read and write permission for the oracle
group.
Note: If you are expanding your middle tier, you must stop all processes associated with the middle tier that you want to expand. If you need help on how to stop the processes, see the Oracle Application Server 10g Administrator's Guide. |
Before silent or non-interactive installation you must provide information specific to your installation.
You must create a response file using any text editor or use the templates available in the stage/Response directory on Disk1 of your Oracle Application Server CD-ROM. Response file templates are available for the following install types:
J2EE and Web Cache (oracle.iappserver.iapptop.j2ee.rsp
)
Portal and Wireless (oracle.iappserver.iapptop.Portals.rsp
)
Business Intelligence and Forms (oracle.iappserver.iapptop.Business.rs
p
)
OracleAS Infrastructure 10g: Identity Management and OracleAS Metadata Repository (oracle.iappserver.infrastructure.Infrastructure.rsp
)OracleAS Infrastructure 10g: Identity Management (oracle.iappserver.infrastructure.Infrastructure_ID.rsp
)
OracleAS Infrastructure 10g: OracleAS Metadata Repository (oracle.iappserver.infrastructure.Infrastructure_Meta.rsp
OracleAS Developer Kits 10g (oracle.iappserver.devcorner.DevKit.rsp
)
Database Configuration Assistant (dbca.rsp)
Net8 Configuration Assistant (netca.rsp)
Static Port Configuration (staticports.ini)
Definitions of response file parameters are described in the stage/Response directory on Disk1 of the Oracle Application Server CD-ROM.
Note: The installer will fail if you attempt a silent session without appropriately configuring a response file. |
Note: Oracle recommends specifying either "true" or "false" for Boolean parameters. |
The following sections shows example response files for the following Oracle Application Server installations:
The following shows an example of a response file for a non-interactive installation of standalone instance of J2EE and Web Cache:
RESPONSEFILE_VERSION=2.2.1.0.0 UNIX_GROUP_NAME="dba" FROM_LOCATION="/mount_point/Disk1/stage/products.jar" FROM_LOCATION_CD_LABEL="Oracle Application Server 10G" ORACLE_HOME="/local_location/oracle_home" ORACLE_HOME_NAME="oracle_j2eehome_name" TOPLEVEL_COMPONENT={"oracle.iappserver.iapptop", "9.0.4.0.0"} SHOW_SPLASH_SCREEN=true SHOW_WELCOME_PAGE=true SHOW_COMPONENT_LOCATIONS_PAGE=true SHOW_CUSTOM_TREE_PAGE=true SHOW_SUMMARY_PAGE=true SHOW_INSTALL_PROGRESS_PAGE=true SHOW_REQUIRED_CONFIG_TOOL_PAGE=true SHOW_OPTIONAL_CONFIG_TOOL_PAGE=true SHOW_CONFIG_TOOL_PAGE=true SHOW_RELEASE_NOTES=true SHOW_ROOTSH_CONFIRMATION=true SHOW_END_SESSION_PAGE=true SHOW_EXIT_CONFIRMATION=true NEXT_SESSION=false NEXT_SESSION_ON_FAIL=false SHOW_DEINSTALL_CONFIRMATION=true SHOW_DEINSTALL_PROGRESS=true SHOW_IAS_COMPONENT_CONFIG_PAGE=false ACCEPT_LICENSE_AGREEMENT=true RESTART_SYSTEM=false CLUSTER_NODES=<Value Unspecified> PreReqConfigSelections="" DEINSTALL_LIST={"oracle.iappserver.iapptop","9.0.4.0.0"} COMPONENT_LANGUAGES={"en"} INSTALL_TYPE="Core" oracle.iappserver.iapptop:szl_InstanceInformation={"iASInstancePassword"} oracle.iappserver.instance:szl_InstanceInformation={"iASInstanceName", "iASInstancePassword", "iASInstancePassword"} oracle.iappserver.iapptop:SHOW_IAS_COMPONENT_CONFIG_PAGE=true oracle.iappserver.iapptop:b_configureCalypso=true oracle.iappserver.iapptop:b_clusterSupport=false oracle.iappserver.iapptop:b_securityAccess=false oracle.iappserver.iapptop:b_centralMonitor=<Value Unspecified> nStartProcValidation=0 nValidationPreReqConfigSelections=0 oracle.iappserver.iapptop:nValidationInstanceInfo=0 oracle.apache.apache.s_group="dba" oracle.apache.apache.s_groupid="dba"
JDKHome="<path to jdk>"
The following shows an example of a response file for a silent installation of OracleAS Infrastructure 10g:
RESPONSEFILE_VERSION=2.2.1.0.0 UNIX_GROUP_NAME="dba" FROM_LOCATION="/mount_point/Disk1/stage/products.jar" FROM_LOCATION_CD_LABEL="Oracle Application Server 10G" ORACLE_HOME="/local_location/oracle_home" ORACLE_HOME_NAME="oracle_infrahome_name" SHOW_SPLASH_SCREEN=false SHOW_WELCOME_PAGE=false SHOW_INSTALL_PROGRESS_PAGE=false SHOW_COMPONENT_LOCATIONS_PAGE=false SHOW_CUSTOM_TREE_PAGE=false SHOW_SUMMARY_PAGE=false SHOW_CONFIG_TOOL_PAGE=false SHOW_REQUIRED_CONFIG_TOOL_PAGE=false SHOW_OPTIONAL_CONFIG_TOOL_PAGE=false SHOW_RELEASE_NOTES=false SHOW_ROOTSH_CONFIRMATION=false SHOW_END_SESSION_PAGE=true SHOW_EXIT_CONFIRMATION=false NEXT_SESSION=false NEXT_SESSION_ON_FAIL=false SHOW_DEINSTALL_CONFIRMATION=true SHOW_DEINSTALL_PROGRESS=true SHOW_IAS_COMPONENT_CONFIG_PAGE=false ACCEPT_LICENSE_AGREEMENT=true PreReqConfigSelections="" n_ValidationPreReqConfigSelections=0 TOPLEVEL_COMPONENT={"oracle.iappserver.infrastructure","9.0.4.0.0"} DEINSTALL_LIST={"oracle.iappserver.infrastructure","9.0.4.0.0"} oracle.iappserver.infrastructure:SHOW_IAS_COMPONENT_CONFIG_PAGE=FALSE COMPONENT_LANGUAGES={"en"} INSTALL_TYPE="Infrastructure" ##oracle.iappserver.infrastructure:OPTIONAL_CONFIG_TOOLS={"OC4JinstanceConfig","OPMNconfig","OPMNconfigDAS","DCMRegPlugins","EMWebConfig","EMAgent","DCMRepBackup"} oracle.iappserver.infrastructure:b_configureMeta=true oracle.iappserver.infrastructure:b_configureOID=true oracle.iappserver.infrastructure:b_configureSSO=true oracle.iappserver.infrastructure:b_configureDAS=true oracle.iappserver.infrastructure:b_configureDIP=true oracle.iappserver.infrastructure:b_configureOCA=true oracle.iappserver.infrastructure:b_launchOHS=true oracle.iappserver.iappdialog szIdentityAdminContext="dc=us,dc=oracle,dc=com" oracle.iappserver.infrastructure:b_configureHA=false HAhostName=domain.com s_dnSelection="Custom DN:" s_dnCNval="" s_dnOUval="" s_dnOrgval="" s_dnCntval="" s_dncustom="cn=OCA-hostname.us.oracle.com,o=oracle,c=us" s_subdn="dc=us,dc=oracle,dc=com" sl_dbaOperGroups={"dba", "dba"} s_dbRetChoice="Use the default character set" s_mountPoint=/mount_point/Disk1/stage/products.jar s_dbSid=iasdb s_infrastructureglobalDBName=iasdb.domain.com s_sysPass="infra12345" s_sysPassAgain="infra12345" s_systemPass="infra12345" s_systemPassAgain="infra12345" sl_keylengthInfo={"2048"} sl_ocmInfo={"welcome12","welcome12"} s_dncustom="cn=OCA-domain.com,o=oracle,c=us" oracle.oid.oidca:s_silentinstallflag="1" szOIDwithSSLStatus="N" nStartProcValidation=0 nValidationOID=0 nValidationOID2=0 nValidationRepository=0 nValidationSpecifyRepository=0 oracle.iappserver.instance:szl_InstanceInformation={"infra","infra12345","infra12345"} oracle.iappserver.instance:nValidationInstanceInfo=0
JDKHome="<path to jdk>"
The following shows an example of a response file for a non-interactive installation of Portal and Wireless:
RESPONSEFILE_VERSION=2.2.1.0.0 UNIX_GROUP_NAME="dba" FROM_LOCATION="/mount_point/Disk1/stage/products.jar" FROM_LOCATION_CD_LABEL="Oracle Application Server 10G" NEXT_SESSION_RESPONSE=<Value Unspecified> ORACLE_HOME="/local_location/oracle_home" ORACLE_HOME_NAME="oracle_home_name" TOPLEVEL_COMPONENT={"oracle.iappserver.iapptop", "9.0.4.0.0"} SHOW_SPLASH_SCREEN=true SHOW_WELCOME_PAGE=true SHOW_INSTALL_PROGRESS_PAGE=true SHOW_COMPONENT_LOCATIONS_PAGE=true SHOW_CUSTOM_TREE_PAGE=true SHOW_SUMMARY_PAGE=true SHOW_CONFIG_TOOL_PAGE=true SHOW_REQUIRED_CONFIG_TOOL_PAGE=true SHOW_OPTIONAL_CONFIG_TOOL_PAGE=true SHOW_RELEASE_NOTES=false SHOW_ROOTSH_CONFIRMATION=true SHOW_END_SESSION_PAGE=true SHOW_EXIT_CONFIRMATION=true NEXT_SESSION=false NEXT_SESSION_ON_FAIL=false SHOW_DEINSTALL_CONFIRMATION=true SHOW_DEINSTALL_PROGRESS=true SHOW_IAS_COMPONENT_CONFIG_PAGE=true ACCEPT_LICENSE_AGREEMENT=true RESTART_SYSTEM=<Value Unspecified> CLUSTER_NODES=<Value Unspecified> PreReqConfigSelections="" n_ValidationPreReqConfigSelections=0 DEINSTALL_LIST={"oracle.iappserver.iapptop","9.0.4.0.0"} TOPLEVEL_COMPONENT={"oracle.iappserver.iapptop","9.0.4.0.0"} oracle.iappserver.iapptop:SHOW_IAS_COMPONENT_CONFIG_PAGE=FALSE COMPONENT_LANGUAGES={"en"} INSTALL_TYPE="Portals" b_launchInfrastructureUse=true b_configureWireless=true b_configurePortal=true szl_RepositoryUserInput={"domain.com:1521:iasdb:iasdb.domain.com"} oracle.webdb:silent=true oracle.iappserver.iapptop:b_centralMonitor=false oracle.iappserver.iapptop:b_configureCalypso=true szlSpecifyOIDLogin={"cn=orcladmin", "infra12345"} szlOIDRegister={"hostname.domain", "389"} OIDhost="westgate.us.oracle.com" OIDport="3060" szOIDwithSSLStatus="N" nStartProcValidation=0 nValidationOID=0 nValidationOID2=0 nValidationRepository=0 oracle.iappserver.instance:szl_InstanceInformation={"portal","portal12345","portal12345"} oracle.iappserver.iapptop:nValidationInstanceInfo=0 oracle.iappserver.instance:nValidationInstanceInfo=0 oracle.apache.apache:s_group="dba" oracle.apache.apache:s_groupid="dba"
JDKHome="<path to jdk>"
Note: The OracleAS Infrastructure 10gORACLE_HOME /install / portlist.ini and ORACLE_HOME / config / ias.properties files show port assignments.
|
To make the installer use the response file, specify the location of the response file that you want to use as a parameter when starting the installer.
To perform a non-interactive installation:
prompt> setenv DISPLAY ias_hostname:0.0
prompt> ./runInstaller -responseFile absolute_path_and_filename
To perform a silent installation, use the -silent
parameter:
prompt> ./runInstaller -silent -responseFile absolute_path_and_filename
The success or failure of the non-interactive and silent installations is logged in the installActions<time_stamp>.log
file. Additionally, the silent installation creates the silentInstall<time_stamp>.log
file. The log files are created in the oraInventory
directory during installation.
The silentInstall<time_stamp>.log
file contains the following line if your installation was successful:
The installation of OracleAS <Installation Type> was successful.
The installActions<time_stamp>.log
file contains specific information for each Oracle Application Server installation type.
Note: Application Server Control Configuration Assistant and DCM Repository Backup Assistant success messages appear for first time installation of Oracle Application Server. |
Note: If you perform a silent installation with thestaticports.ini file for ports less than 1024, the OPMN Configuration Assistant fails, and all the remaining OracleAS Configuration Assistants do not execute. After Configuration Assistants failure, perform the operations described in Section 7.17, "Install Fragment: The Last Few Screens of the Installation".
You must run the OracleAS Configuration Assistants commands from the command line. The commands are available from the script file |