Silent Mode

Why do you need Silent mode WebLogic installation?

To maintain the same configuration all over the organization wise then we need to go for Silent mode installation. 

Prerequisites to Silent mode installation
Actuality on any machine where java  command can run there we can have silent mode installation. Other words, JDK must be installed on the machine. 

which java
java -version
java -d64 version

Silent installation 

1. Log in to the Windows system.
2. Create a silent.xml file that defines the configuration settings normally entered by a user
during an interactive installation process, such as graphical-mode or console-mode
Get the sample silent .xml form the below bea site
 
<?xml version="1.0" encoding="UTF-8"?>
<bea-installer>
  <input-fields>
  <data-value name="BEAHOME" value="/export/home/wluser/bea" />
  <data-value name="USER_INSTALL_DIR" value="/export/home/wluser/bea/weblogic92" />
  <data-value name="INSTALL_MERCURY_PROFILING_TOOLS" value="true" />
  <data-value name="COMPONENT_PATHS" value="WebLogic Server/Server" />
  <data-value name="INSTALL_SHORTCUT_IN_ALL_USERS_FOLDER" value="yes" />
  </input-fields>
</bea-installer>

./server922_solaris32.bin -mode=silent -silent_xml=silent1.xml -Djava.io.tmpdir=/tmp -log=/logs/BEA_install.log

 


NodeManger inclusion

To enable  NodeManager following silent script can be used:
 
<?xml version="1.0" encoding="UTF-8"?>
<bea-installer>
  <input-fields>
  <data-value name="BEAHOME" value="/export/home/wluser/bea" />
  <data-value name="USER_INSTALL_DIR" value="/export/home/wluser/bea/weblogic92" />
  <data-value name="INSTALL_MERCURY_PROFILING_TOOLS" value="true" />
        <data-value name="INSTALL_NODE_MANAGER_SERVICE" value="yes" />
        <data-value name="NODEMGR_PORT" value="5513" />
  <data-value name="COMPONENT_PATHS" value="WebLogic Server/Server" />
  <data-value name="INSTALL_SHORTCUT_IN_ALL_USERS_FOLDER" value="yes" />
  </input-fields>
</bea-installer>

WebLogic 10.3.6 Silent.xml

We have more components added to WebLogic basic suite in the latest versions. The default components available for product installation  included in the following Silent.xml file.

<?xml version="1.0" encoding="UTF-8"?>

 <bea-installer>

    <input-fields>

       <data-value name="BEAHOME" value="/wlhome/oracle11g/10.3.6" />        

       <data-value name="LOCAL_JVMS" value="/wlhome/jdk/jdk1.6.0_33" />

       <data-value name="WLS_INSTALL_DIR" value="/wlhome/oracle11g/10.3.6/wlserver_10.3" />

       <data-value name="OCP_INSTALL_DIR" value="/wlhome/oracle11g/10.3.6/coherence_3.7" />           

       <data-value name="COMPONENT_PATHS" value="WebLogic Server/Core Application Server \

                       |WebLogic Server/Administration Console \

                       |WebLogic Server/Configuration Wizard and Upgrade Framework \

                       |WebLogic Server/Web 2.0 HTTP Pub-Sub Server \

                       |WebLogic Server/WebLogic JDBC Drivers \

                       |WebLogic Server/Third Party JDBC Drivers \

                       |WebLogic Server/WebLogic Server Clients\

                       |WebLogic Server/WebLogic Web Server Plugins \

                       |WebLogic Server/UDDI and Xquery Support \

                       |Oracle Coherence/Coherence Product Files" />

       <data-value name="INSTALL_SHORTCUT_IN_ALL_USERS_FOLDER" value="false"/>   

    </input-fields>

</bea-installer>


Silent mode Component selection
In the Year 2011-2012 we have WebLogic 11g with  10.3.6 we can found the following components are with extra features and best capabilities as available for install.:

1.       WebLogic Server/Core Application Server

2.       WebLogic Server/Administration Console

3.       WebLogic Server/Configuration Wizard and Upgrade Framework

4.       WebLogic Server/Web 2.0 HTTP Pub-Sub Server

5.       WebLogic Server/WebLogic JDBC Drivers

6.       WebLogic Server/Third Party JDBC Drivers

7.       WebLogic Server/WebLogic Server Clients

8.       WebLogic Server/WebLogic Web Server Plugins

9.       WebLogic Server/UDDI and Xquery Support|WebLogic Server/Server Examples

10.    Oracle Coherence/Coherence Product Files"


To enable Components following silent script can be used as follows in the .xml


<data-value name="COMPONENT_PATHS" value="WebLogic Server/Core Application Server"/>

The explanation of the above command:

1.To install the Bea in Silent mode , we need to specify the arguments as "-mode=silent"
2.and Specify the silent.xml path
Silent.xml contains, the BEA Home path,Installation Directory path,Need to specify which component need to install
3.Optionally we can specify the path for the temp directory for extracting the compressed jars
4.Optionally we can specify the log path which can be used for the Tracing the installation errors or exceptions.

How to verify the installation success?
The installation can be verify by checking the Oracle folder and inside that all the sub-directories.

You may also wish to see our other WebLogic installation methods with sample execution in the following reference links.
Oracle  WebLogic Installation 
Oracle WebLogic Console Mode 
Comments