C Silent Installation and Deinstallation

This appendix describes how to install and remove Oracle Web Tier from the command line in silent mode. This appendix contains the following topics:

C.1 About Silent Installation and Deinstallation

For information about silent installation and deinstallation, refer to "Silent Installation and Deinstallation" in Oracle Fusion Middleware Installation Planning Guide.

C.2 Oracle Web Tier Response Files

Before doing a silent installation, you must provide information specific to your installation in a response file. The installer will fail if you attempt an installation using a response file that is not configured correctly. Response files are text files that you can create or edit in a text editor

Oracle recommends creating your response file by first running the install GUI, then clicking Save on the Installation Summary Screen. You will be prompted for a name and location where you want to create this response file. After it is created, you can use it exactly as-is to replicate the installation on other systems, or modify it as needed.

C.2.1 Installation Response Files

Table C-1 lists the installation response files provided in the Disk1/stage/Response (on UNIX operating systems) or Disk1\stage\Response (on Windows operating systems) directory on the installation CD-ROM:

Table C-1 Oracle Web Tier Installation and Configuration Response File Templates

Template Description

WebTierConfigureOnly.rsp

This is the template response file that should be used if you have already installed the Oracle Web Tier software but have not yet run the Configuration Tool.

The equivalent using the GUI would be running the config.sh (on UNIX operating systems) or config.bat (on Windows operating systems) script after you have already installed the software using the Install Software - Do Not Configure option on the Select Installation Type Screen.

See Section C.2.1.1, "Contents of the WebTierConfigureOnly.rsp File" to view the contents of this file.

WebTierInstallAndConfigure.rsp

This is the template response file that should be used if you want to install and configure Oracle Web Tier products in one step.

The equivalent using the GUI would be selecting Install and Configure option on the Select Installation Type Screen.

See Section C.2.1.2, "Contents of the WebTierInstallAndConfigure.rsp File" to view the contents of this file.

WebTierSoftwareOnly.rsp

This is the template response file that should be used if you only want to install the software on your system. You must run the Configuration Tool (either from the command line or the GUI) later before you can begin to manage these products.

The equivalent using the GUI would be selecting Install Software - Do Not Configure option on the Select Installation Type Screen.

See Section C.2.1.3, "Contents of the WebTierSoftwareOnly.rsp File" to view the contents of this file.


C.2.1.1 Contents of the WebTierConfigureOnly.rsp File

This section shows the contents of the Disk1/stage/Response/WebTierConfigureOnly.rsp response file on a UNIX system:

[ENGINE]
 
#DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0
 
[GENERIC]
 
#The name of the Oracle Instance. Instance name must begin with an alphabetic character, may only contain alphanumeric characters, or the underscore (_) or hyphen (-) characters and are 4 to 30 characters long.
INSTANCE_HOME=/oracle/product/11.1.1/as_1/instances/instance1
 
#Provide the Oracle Instance location. The Oracle Instance directory name may only contain alphanumeric , hyphen (-) , dot (.) and underscore (_) characters, and it must begin with an alphanumeric character. The total length has to be less than or equal to 128 characters. The location has to be an empty or non existing directory.
INSTANCE_NAME=instance1
 
#If set to true, installer will auto assign ports
AUTOMATIC_PORT_DETECT=true
 
#This is required if "AUTOMATIC_PORT_DETECT" variable is set to false, absolute path of a staticports file location need to be provided with values for ports.\nThe template for staticports.ini can be found from Disk1/staget/Response directory of the shiphome.
STATICPORT INI FILE LOCATION=
 
 
[SYSTEM]
 
#Set true to create a new instance and configure Oracle Process Management Notification, else skip the configuration
CONFIGURE_OPMN=true
 
#Set true to configure Oracle HTTP Server, else skip Oracle HTTP Server configuration
CONFIGURE_OHS=true
 
#Set true to configure Oracle Web Cache, else skip Oracle Web Cache configuration
CONFIGURE_WEBCACHE=true
 
#The Oracle HTTP Server (OHS) component name (required only if CONFIGURE_OHS is set to true). OHS component name must begin with an alphabetic character, may only contain alphanumeric characters, or the underscore (_) or hyphen (-) characters and are 4 to 30 characters long.
OHS_COMPONENT_NAME=ohs1
 
#The Web Cache component name (required only if CONFIGURE_WEBCACHE is set to true). Web Cache component name must begin with an alphabetic character, may only contain alphanumeric characters, or the underscore (_) or hyphen (-) characters and are 4 to 30 characters long.
WEBCACHE_COMPONENT_NAME=webcache1
 
#Valid passwords are 5 to 30 characters long, must begin with an alphabetic character, use only alphanumeric, underscore (_), dollar ($) or pound (#) characters and include at least one number.
WEBCACHE_ADMINISTRATOR_PASSWORD=<SECURE VALUE>
 
#The confirmation password for Web Cache administrator.
WEBCACHE_ADMINISTRATOR_PASSWORD_CONFIRM=<SECURE VALUE>
 
 
[APPLICATIONS]
 
 
[RELATIONSHIPS]

#If set to true, the instance and components will be registered with an existing weblogic server
ASSOCIATE_WEBTIER_WITH_DOMAIN=true
 
#Provide the exiting Middleware Home location. This is required only if ASSOCIATE_WEBTIER_WITH_DOMAIN is set to true.
MIDDLEWARE_HOME=/Oracle/Middleware
 
#Provide an existing domain host name. Required only if ASSOCIATE_WEBTIER_WITH_DOMAIN is set to true
DOMAIN_HOST_NAME=machinename.machinedomain
 
#Provide the existing domain port number. Required only if ASSOCIATE_WEBTIER_WITH_DOMAIN is set to true
DOMAIN_PORT_NO=7001
 
#Provide the domain user name. Required only if ASSOCIATE_WEBTIER_WITH_DOMAIN is set to true
DOMAIN_USER_NAME=weblogic
 
#The domain user password. Required only if ASSOCIATE_WEBTIER_WITH_DOMAIN is set to true
DOMAIN_USER_PASSWORD=<SECURE VALUE>

C.2.1.2 Contents of the WebTierInstallAndConfigure.rsp File

This section shows the contents of the Disk1/stage/Response/WebTierInstallAndConfigure.rsp response file on a UNIX system:

[ENGINE]
 
#DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0
 
[GENERIC]
 
#Set this to true if installation and configuration need to be done, all other required variables need to be provided. Variable "INSTALL AND CONFIGURE LATER TYPE" must be set to false if this is set to true as the variables are mutually exclusive
INSTALL AND CONFIGURE TYPE=true
 
#Set this to true if only Software only installation need to be done. If this is set to true then variable "INSTALL AND CONFIGURE TYPE" must be set to false, since the variables are mutually exclusive.
INSTALL AND CONFIGURE LATER TYPE=false
 
#Provide the Oracle Home location. The Oracle Home directory name may only contain alphanumeric , hyphen (-) , dot (.) and underscore (_) characters, and it must begin with an alphanumeric character. The total length has to be less than or equal to 128 characters. The location has to be an empty directory or a valid Web Tier Oracle Home.
ORACLE_HOME=/oracle/product/11.1.1/as_1
 
#The name of the Oracle Instance. Instance name must begin with an alphabetic character, may only contain alphanumeric characters, or the underscore (_) or hyphen (-) characters and are 4 to 30 characters long.
INSTANCE_HOME=/oracle/product/11.1.1/as_1/instances/instance1
 
#Provide the Oracle Instance location. The Oracle Instance directory name may only contain alphanumeric , hyphen (-) , dot (.) and underscore (_) characters, and it must begin with an alphanumeric character. The total length has to be less than or equal to 128 characters. The location has to be an empty or non existing directory.
INSTANCE_NAME=instance1
 
#If set to true, installer will auto assign ports
AUTOMATIC_PORT_DETECT=true
 
#This is required if "AUTOMATIC_PORT_DETECT" variable is set to false, absolute path of a staticports file location need to be provided with values for ports.\nThe template for staticports.ini can be found from Disk1/staget/Response directory of the shiphome.
STATICPORT INI FILE LOCATION=
 
 
[SYSTEM]
 
#Set true to create a new instance and configure Oracle Process Management Notification, else skip the configuration
CONFIGURE_OPMN=true
 
#Set true to configure Oracle HTTP Server, else skip Oracle HTTP Server configuration
CONFIGURE_OHS=true
 
#Set true to configure Oracle Web Cache, else skip Oracle Web Cache configuration
CONFIGURE_WEBCACHE=true
 
#The Oracle HTTP Server (OHS) component name (required only if CONFIGURE_OHS is set to true). OHS component name must begin with an alphabetic character, may only contain alphanumeric characters, or the underscore (_) or hyphen (-) characters and are 4 to 30 characters long.
OHS_COMPONENT_NAME=ohs1
 
#The Web Cache component name (required only if CONFIGURE_WEBCACHE is set to true). Web Cache component name must begin with an alphabetic character, may only contain alphanumeric characters, or the underscore (_) or hyphen (-) characters and are 4 to 30 characters long.
WEBCACHE_COMPONENT_NAME=webcache1
 
#Valid passwords are 5 to 30 characters long, must begin with an alphabetic character, use only alphanumeric, underscore (_), dollar ($) or pound (#) characters and include at least one number.
WEBCACHE_ADMINISTRATOR_PASSWORD=<SECURE VALUE>

#The confirmation password for Web Cache administrator.
WEBCACHE_ADMINISTRATOR_PASSWORD_CONFIRM=<SECURE VALUE>
 
 
[APPLICATIONS]
 
 
[RELATIONSHIPS]
 
#If set to true, the instance and components will be registered with an existing weblogic server
ASSOCIATE_WEBTIER_WITH_DOMAIN=true
 
#Provide the exiting Middleware Home location. This is required only if ASSOCIATE_WEBTIER_WITH_DOMAIN is set to true.
MIDDLEWARE_HOME=/Oracle/Middleware
 
#Provide an existing domain host name. Required only if ASSOCIATE_WEBTIER_WITH_DOMAIN is set to true
DOMAIN_HOST_NAME=machinename.machinedomain
 
#Provide the existing domain port number. Required only if ASSOCIATE_WEBTIER_WITH_DOMAIN is set to true
DOMAIN_PORT_NO=7001
 
#Provide the domain user name. Required only if ASSOCIATE_WEBTIER_WITH_DOMAIN is set to true
DOMAIN_USER_NAME=weblogic
 
#The domain user password. Required only if ASSOCIATE_WEBTIER_WITH_DOMAIN is set to true
DOMAIN_USER_PASSWORD=<SECURE VALUE>

C.2.1.3 Contents of the WebTierSoftwareOnly.rsp File

This section shows the contents of the Disk1/stage/Response/WebTierSoftwareOnly.rsp response file on a UNIX system:

[ENGINE]
 
#DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0
 
[GENERIC]
 
#Set this to true if installation and configuration need to be done, all other required variables need to be provided. Variable "INSTALL AND CONFIGURE LATER TYPE" must be set to false if this is set to true as the variables are mutually exclusive
INSTALL AND CONFIGURE TYPE=false
 
#Set this to true if only Software only installation need to be done. If this is set to true then variable "INSTALL AND CONFIGURE TYPE" must be set to false, since the variables are mutually exclusive.
INSTALL AND CONFIGURE LATER TYPE=true
 
#Provide the Oracle Home location. The Oracle Home directory name may only contain alphanumeric , hyphen (-) , dot (.) and underscore (_) characters, and it must begin with an alphanumeric character. The total length has to be less than or equal to 128 characters. The location has to be an empty directory or a valid Web Tier Oracle Home.
ORACLE_HOME=/oracle/product/11.1.1/as_1
 
 
[SYSTEM]
 
 
[APPLICATIONS]
 
 
[RELATIONSHIPS]

C.2.2 Deinstallation Response Files

Table C-2 lists the response files provided for silent deinstallation in the Disk1/stage/Response (on UNIX operating systems) or Disk1\stage\Response (on Windows operating systems) directory on the installation CD-ROM:

Table C-2 Oracle Web Tier Deinstallation Response File Templates

Template Description

deinstall_managed_instance.rsp

This is the template response file that should be used if you have configured managed instances on your system. These managed instances must be removed before you remove the Oracle home.

The equivalent using the GUI would be starting the deinstaller and selecting the Deinstall ASInstances managed by WebLogic Domain option on the Select Deinstallation Type Screen.

See Section C.2.2.1, "Contents of the deinstall_managed_instances.rsp File" to view the contents of this file.

deinstall_unmanaged_instance.rsp

This is the template response file that should be used if you have configured unmanaged instances on your system. These unmanaged instances must be removed before you remove the Oracle home.

The equivalent using the GUI would be starting the deinstaller and selecting the Deinstall Unmanaged ASInstances option on the Select Deinstallation Type Screen.

See Section C.2.2.2, "Contents of the deinstall_unmanaged_instances.rsp File" to view the contents of this file.

deinstall_oh.rsp

This is the template response file that should be used if you have already removed all managed and unmanaged instances that use this Oracle Home, and now you are ready to remove the Oracle home.

The equivalent using the GUI would be starting the deinstaller and selecting the Deinstall Oracle Home option on the Select Deinstallation Type Screen.

See Section C.2.2.3, "Contents of the deinstall_oh.rsp File" to view the contents of this file.


In addition to these pre-existing response files, you can create your own response file by running the deinstaller GUI, then clicking Save on the Deinstallation Summary Screen (Managed Instance) screen. You will be prompted for a name and location where you want to create this response file. After it is created, you can use it exactly as-is to replicate the deinstallation on other systems, or modify it as needed.

C.2.2.1 Contents of the deinstall_managed_instances.rsp File

This section shows the contents of the Disk1/stage/Response/deinstall_managed_instances.rsp response file on a UNIX system:

[ENGINE]
 
#DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0
 
[GENERIC]
 
#Identifies if the Instance deinstallation is valid or not
DEINSTALL_IN_ASINSTANCE_MODE=true
 
#Specify true for Oracle Home deinstall
OH_HOME_DEINSTALL=false
 
#Specify true for Managed Instance deinstall
DOMAIN_MANAGED_ASINSTANCE_DEINSTALL=true
 
#Specify true for Un-managed Instance deinstall
UNMANAGED_ASINSTANCE_DEINSTALL=false
 
 
[SYSTEM]
 
 
[APPLICATIONS]
 
 
[RELATIONSHIPS]
 
#Specify the Domain Host Name
DOMAIN_HOST_NAME=localhost.domain
 
#Specify the Domain Port Number
DOMAIN_PORT_NO=7001
 
#Specify the Domain User Name
DOMAIN_USER_NAME=weblogic
 
#Specify the Domain Password
DOMAIN_USER_PASSWORD=<SECURE PASSWORD>
 
#Specify the list of Instance to be deinstalled in the following format. InstanceName^LocationOfInstance$InstanceName^LocationOfInstance
MANAGED_INSTANCE_LIST=asinst_1^C:\wls1\asinst_1$

C.2.2.2 Contents of the deinstall_unmanaged_instances.rsp File

This section shows the contents of the Disk1/stage/Response/deinstall_unmanaged_instances.rsp response file on a UNIX system:

[ENGINE]
 
#DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0
 
[GENERIC]
 
#Identifies if the Instance deinstallation is valid or not
DEINSTALL_IN_ASINSTANCE_MODE=true
 
#Specify true for Oracle Home deinstall
OH_HOME_DEINSTALL=false
 
#Specify true for Managed Instance deinstall
DOMAIN_MANAGED_ASINSTANCE_DEINSTALL=false
 
#Specify true for Un-managed Instance deinstall
UNMANAGED_ASINSTANCE_DEINSTALL=true
 
#Specify the path of the Un-managed Instance
ASINSTANCE_LOCATION_TEXTFIELD=c:\Oracle\Middleware\asinst_1
 
 
[SYSTEM]
 
 
[APPLICATIONS]
 
 
[RELATIONSHIPS]

C.2.2.3 Contents of the deinstall_oh.rsp File

This section shows the contents of the Disk1/stage/Response/deinstall_oh.rsp response file on a UNIX system:

[ENGINE]
 
#DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0
 
[GENERIC]
 
#Identifies if the Instance deinstallation is valid or not
DEINSTALL_IN_ASINSTANCE_MODE=true
 
#Specify true for Oracle Home deinstall
OH_HOME_DEINSTALL=true
 
#Specify true for Managed Instance deinstall
DOMAIN_MANAGED_ASINSTANCE_DEINSTALL=false
 
#Specify true for Un-managed Instance deinstall
UNMANAGED_ASINSTANCE_DEINSTALL=false
 
 
[SYSTEM]
 
 
[APPLICATIONS]
 
 
[RELATIONSHIPS]