The following sections describe how to create a silent installation of Oracle WebLogic Communication Services. Topics include:
Silent install of the Oracle WebLogic Communication Services Base Platform is achieved using the owlcs10310_generic.jar
. The install can be triggered using the following command:
<JAVA_HOME>/bin/java -Djava.io.tmpdir=/tmpDir -jar owlcs10310_generic.jar -mode=silent -silent_xml=silent.xml -log=install.log -log_priority=debug
where:
tmpDir
is the temporary directory where the files are stored
silent.xml
defines the required input details for the base platform installation
install.log
is the location of the log file which contains the complete output log of the installation
log_priority=debug
denotes the level of logging
The only mandatory value in the silent.xml
file for the install is the BEAHOME. BEAHOME is the target directory where the Base platform is to be installed:
<?xml version="1.0" encoding="UTF-8" ?> <domain-template-descriptor> <input-fields> <data-value name="BEAHOME" value="/scratch/sssankar_silentinstall/run7/mwhome" /> <data-value name="WLSS_INSTALL_DIR" value="/scratch/sssankar_silentinstall/run7/test1/wlcservices_10.3" /> <data-value name="WLS_INSTALL_DIR" value="/scratch/sssankar_silentinstall/run7/test2/wlserver_10.3" /> <data-value name="COMPONENT_PATHS" value="WebLogic Server|WebLogic Communication Services" /> </input-fields> </domain-template-descriptor> BEAHOME= MW Home (Mandatory) WLSS_INSTALL_DIR= Directory for wlcservices_10.3 (Default to $MW_HOME/wlcservices_10.3) WLS_INSTALL_DIR= Directory for wlserver_10.3 (Default to $MW_HOMEwlserver_10.3) COMPONENT_PATHS= "WebLogic Server|WebLogic Communication Services" (Defaults to both the products)
There are additional values which can be provided to configure:
USER_INSTALL_DIR
WLS_INSTALL_DIR
JAVA_HOME
As they are not mandatory, the automatic default values would be taken for installation.
Silent install of the Oracle WebLogic Communication Services (Presence and SIP Infrastructure Components) is similar to other SOA Components. The install can be triggered using the following command:
./runInstaller -jreLoc <JRE_LOC> -printtime -printmemory -printdiskusage -invPtrLoc oraInst.loc -novalidation -ignoreSysPrereqs -force -silent -response silent.rsp -waitforcompletion
where:
JRE_LOC is the JDK6 location
invPtrLoc
is the location to the oraInventory
silent.rsp
is the response file for the silent install mode. The silent.rsp
is of the following format:
[ENGINE] VERSION=1.0.0.0.0 [Generic] MIDDLEWARE_HOME=/scratch/aime1/work/mw9519 ORACLE_HOME=/scratch/aime1/work/mw9519/owlcs1456
MIDDLEWARE_HOME is the bea home as provided in the base platform install.
ORACLE_HOME is the target directory for the install.
Configuration using Silent install mode is achieved through WLST commands to read and apply templates.