Tuesday, May 13, 2014

WebLogic Server Installation in Silent Mode

Overview
It is a non-interactive mode of WebLogic installation. In this the installation program reads the settings for your configuration from an XML file (known as silent xml) that you create before beginning the installation.

In silent.xml, we need to provide the values for the Middleware home directory, the product directory, and the WebLogic components to be installed.

Silent-mode installation allows you to define an installation configuration only once and then use the configuration to duplicate the installation on many machines.

Silent Mode Installation (using  Package installers) on Windows

Follow these steps to install the WebLogic Server using Silent mode on a Windows platform
Log in to the Windows system.
Create a silent.xml file that defines the configuration settings normally entered by a user during GUI mode or console-mode installation.
Open a command prompt
Go to the directory that contains the installation program.
Start the installation by executing the below command

wls1036_win32.exe -mode=silent -silent_xml=path_to_silent.xml

You can include the log option to create a verbose installation log in the command line

wls1036_win32.exe -mode=silent- -silent_xml=wls_silent_install.xml log=C:\Installation_log


Silent Mode Installation (using  Package installers) on Unix Machines

To start the silent mode installation process with .bin installation files, follow these steps.
Log in to the target UNIX system.
Go to the directory that contains the installation program.

chmod a+x <.bin installation file>
Launch the installation by entering the following commands:
./<.bin installation file> -mode=silent

You can include the log option to create a verbose installation log in the command line

./<.bin installation file> -mode=silent -silent_xml=path_to_silent.xml -log=<path to the logfile>

Ex:
chmod a+x wls1036_linux32.bin
 ./wls1036_linux32.bin -mode=silent (or)
 ./wls1036_linux32.bin -mode=silent -silent_xml=mySilentInstall.xml -log=/u01/installationlog.txt 

Silent Mode Installation by using Generic WebLogic Installer on Windows and Unix Machines

To start the installation program in silent mode for installation files with names ending in .jar, perform the following steps.

Set the appropriate JDK Path to the PATH variable definition as below:

JAVA_HOME=path_to_JDK;
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH;
export $PATH

Go to the directory where you downloaded the installation program and launch the installation program by entering the following command

java -jar /u01/wls1036_generic.jar -mode=silent (or)
java -jar /u01/wls1036_generic.jar -mode=silent -log=/u01/installationlog.txt  - silent_xml=mySilentFile.xml

Installing WebLogic Server on 64-Bit Platforms Using a 64-Bit JDK

If you are installing WebLogic Server on a 64-bit platform execute the below command

java -d64 -jar wlsversion_generic.jar -mode=silent -log=/u01/installationlog.txt  - silent_xml=mySilentFile.xml