Installation Guide

     Previous  Next    Open TOC in new window    View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Installing Network Gatekeeper

This chapter describes how to use the WebLogic Network Gatekeeper installers. This process must be followed on every server in the system. The chapter includes information on:

Before you run the installer, you should have a high level understanding of the entire installation and configuration process. See Task Overview for more information.

 


The Graphical Mode Installer

Use the following instructions if you wish to use the GUI-based installer to install WebLogic Network Gatekeeper. You must do this for all servers.

Note: If you want to use the GUI-based installer, the console attached to the machine on which you are installing the software must support a Java-based GUI. All consoles for Windows systems support Java-based GUIs, but not all consoles for UNIX/Linux systems do. If you attempt to start the installation program in graphical mode on a system that cannot support a graphical display, the installation program automatically starts console-mode installation.

Launch the GUI Installer - Windows

Note: Windows is only supported for dev/test environments. It is not supported for production.

If you are using the GUI-based installer on a Windows machine, do the following:

  1. Log in to the Windows system. If you are going to use this machine as an Administration Server and you wish to install the Node Manager as a Windows service, you must be logged in as an administrator. Node Manager is used to monitor, start, and stop server instances in a domain.
  2. Go to the directory where you have copied the installation program. You acquire this program either from a WebLogic Network Gatekeeper CD or the Download Center.
  3. If you are using Explorer to find the file, double-click the installation file, wlng400_win32.exe
  4. If you are using the console window to find the file, enter the following command:
  5. wlng400_win32
    Note: You can also include the -log=full_path_to_log_file option in the command line to create a verbose installation log. For example:
    wlng400_win32 -log=<full_path>install.log
  6. Go on to Respond to the Prompts

Launch the GUI Installer - UNIX/Linux

If you are using the GUI-based installer on a UNIX/Linux machine, do the following:

  1. Log into the target UNIX system
  2. Go to the directory where you have copied the installation program. You acquire this program either from the WebLogic Network Gatekeeper CD or the Download Center.
  3. Launch the installation by entering the following two commands:
  4. chmod a+x wlng400_<appropriate-platform-filename>.bin

    ./wlng400_<appropriate-platform-filename>.bin

    Note: You can also include the -log=full_path_to_log_file option in the command line to create a verbose installation log. For example:
    wlng400_<appropriate-platform-filename>.bin -log=<full_path>install.log
  5. Go on to Respond to the Prompts

Launch the GUI Installer - Generic

Network Gatekeeper ships with a generic installer that is primarily designed to be run on machines running HP-UX. If you are using the GUI-based installer, do the following:

  1. Log into the target UNIX system
  2. Add the bin directory of the appropriate JDK to the beginning of the PATH variable definition on the target system. For example:
  3. PATH=JAVA_HOME/bin:$PATH
    export PATH

    Here JAVA_HOME represents the full path to the JDK directory.

  4. Go to the directory where you downloaded the installation program.
  5. Launch the installation program by entering the following command:
  6. java -jar ./wlng400_generic.jar
  7. Go on to Respond to the Prompts
Note: Once you have run the installer you must do the following additional two steps:
    1. Set the WL_HOME variable to the directory in which you installed your BEA product, and export WL_HOME. For example:
    2. $ export WL_HOME=<your_installation_directory>/weblogic92 
      cd $WL_HOME/server/native/hpux11/IPF32/
    3. Set the following execution modes on the contents of the $WL_HOME/server/native directory:
    4. $ chmod -R +x $WL_HOME/server/native/hpux11/

Respond to the Prompts

The installation program prompts you to enter specific information about your system and configuration. For instructions on responding to the prompts during installation, see the following table.

In this window...
Perform the following action...
Welcome
Click Next to proceed with the installation. You may cancel the installation at any time by clicking Exit.
Choose BEA Home Directory
Specify the BEA Home directory that will serve as the central support directory for all BEA products installed on the target system. If you already have a BEA Home directory on your system, you can select that directory (recommended) or create a new BEA Home directory. If you choose to create a new directory by typing a new directory name in the BEA Home Directory field, the installation program automatically creates one for you. You can also click Browse and select a directory from the BEA Home Directory Selection window.
Choose Install Type
Select the type of installation you wish to perform:
  • Complete - Installs WebLogic Server, WebLogic Network Gatekeeper (including the Extension Toolkit), and WebLogic SIP Server
  • Custom - Allows you to choose to install individual components
Choose Components
This window only appears if you have selected the Custom installation type
Uncheck any component you do not wish to install
Note: You cannot install the Extension Toolkit without WebLogic Server and WebLogic Network Gatekeeper.
Extension Toolkit Eclipse Plugin Path
This window only appears if you have chosen to install the Extension Toolkit
In the text box, enter the full path to the Plugin directory of your Eclipse installation
Choose Product Installation Directories
Specify the directory in which you want to install the Network Gatekeeper software. This is the directory from which information will be copied during the domain configuration phase. Once you have chosen your directory, click Next. You can accept the default product directory (wlng400) or create a new product directory.
Install Windows Service
This window only appears if you are installing the software on a Windows machine and you’ve chosen a Custom installation type
The Node Manager allows you to stop and start Managed Servers remotely. If you are installing on a Windows machine, the Node Manager should be installed as a Windows Service. Select Yes to install or No to skip installation
Choose Shortcut Location
This window is displayed only under the following conditions:
  • You have Administrator privileges.
  • You are performing an initial installation.
  • You are installing on a Windows platform.
Specify the Start menu folder in which you want the Start menu shortcuts created. You can select from the following options:
  • All Users Start menu folder
  • Selecting this option provides all users registered on the machine with access to the installed software. However, only users with Administrator privileges can create shortcuts in the All Users folder. Therefore, if a user without Administrator privileges uses the Configuration Wizard to create domains, Start menu shortcuts to the domains are not created. In this case, users can manually create shortcuts in their local Start menu folders, if desired. Press ALT+Y on the keyboard to select the All Users Start Menu.

  • Local user's Start menu folder
  • Selecting this option ensures that other users registered on this machine will not have access to the Start menu entries for this installation. Press ALT+N on the keyboard to select the Local User's start menu.

Status
Read the information displayed about the Gatekeeper. When the installation program has finished copying the specified files to your system, click Next.
Installation Complete
If you are using Windows, specify whether you want to run the QuickStart application. QuickStart, designed to assist first-time users in evaluating, learning, and using the software, provides quick access to domain configuration wizard. Clear the check box for this option if you do not want to launch QuickStart.

 


The Console Installer

Use the following instructions if you wish to use the Console-based installer to install WebLogic Network Gatekeeper. You must do this for all servers.

Launch the Console Installer - Windows

Note: Windows is only supported for dev/test environments. It is not supported for production.

If you are using the Console-based installer on a Windows machine, do the following:

  1. Log in to the target Windows system.
  2. Go to the directory where you have copied the installation program. You acquire this program either from a WebLogic Network Gatekeeper CD or the Download Center.
  3. Launch the installation by entering the following command:
  4. wlng400_win32.exe -mode=console

Note: You can also include the -log=full_path_to_log_file option in the command line to create a verbose installation log. For example:

wlng400_win32.exe -mode=console -log=C:\logs\server_install.log

  1. After a few moments, a BEA Installer window opens and the installation program begins to install the software.
  2. Go on to Respond to the Prompts

Launch the Console Installer - UNIX/Linux

If you are using the Console-based installer on a UNIX/Linux machine, do the following:

  1. Log into the target UNIX system
  2. Go to the directory where you have copied the installation program. You acquire this program either from the WebLogic Network Gatekeeper CD or the Download Center.
  3. Launch the installation by entering the following two commands:
  4. chmod a+x wlng400_<appropriate-platform-filename>.bin

    ./wlng400_<appropriate-platform-filename>.bin -mode=console

Note: You can also include the -log=full_path_to_log_file option in the command line to create a verbose installation log. For example:

./wlng400_<appropriate-platform-filename>.bin -mode=console -log=/home/logs/BEA_install.log [all on one line]

  1. After a few moments, a BEA Installer window opens the installation program begins to install the software.
  2. Go on to Respond to the Prompts

Launch the Console Installer - Generic

Network Gatekeeper ships with a generic installer that is primarily designed to be run on machines running HP-UX. If you are using the console based installer, do the following:

  1. Log into the target UNIX system
  2. Add the bin directory of the appropriate JDK to the beginning of the PATH variable definition on the target system. For example:
  3. PATH=JAVA_HOME/bin:$PATH
    export PATH

    Here JAVA_HOME represents the full path to the JDK directory.

  4. Go to the directory where you downloaded the installation program.
  5. Launch the installation program by entering the following command:
  6. java -jar ./wlng400_generic.jar -mode=console
  7. Go on to Respond to the Prompts
Note: Once you have run the installer you must do the following additional two steps:
    1. Set the WL_HOME variable to the directory in which you installed your BEA product, and export WL_HOME. For example:
    2. $ export WL_HOME=<your_installation_directory>/weblogic92 
      cd $WL_HOME/server/native/hpux11/IPF32/
    3. Set the following execution modes on the contents of the $WL_HOME/server/native directory:
    4. $ chmod -R +x $WL_HOME/server/native/hpux11/

Respond to the Prompts

The installation program prompts you to enter specific information about your system and configuration. For instructions on responding to the prompts during installation, see the following table.

To complete the console-mode installation process, respond to the prompts in each section by entering the number associated with your choice or by pressing Enter to accept the default. To exit the installation process, enter exit (or x, for short) in response to any prompt. To review or change your selection, enter previous (or p, for short) at the prompt. To proceed to the following window, enter next (or n, for short).

Note: In the sample console text and directory pathnames provided in this section, Windows conventions (such as backslashes in pathnames) are used, for example, C:\bea\weblogic92. When entering pathnames on a UNIX system, be sure to use UNIX conventions, instead. For example, use forward slashes in pathnames, such as /home/bea/weblogic92.

On this screen...
Perform the following action...
Welcome
Type next (or n for short) or press Enter to continue with the installation
Choose BEA Home Directory
Specify the BEA Home directory that will serve as the central support directory for all BEA products installed on the target system.
If you already have a BEA Home directory on your system, you can select that directory or create a new BEA Home directory.
  • If you already have an existing BEA Home directory, it will be displayed. To use that directory, type the number associated with it.
  • To create a new BEA Home directory, type 1 or press Enter.
If there are no BEA Home directories on your system, or you have selected to create a new BEA Home:
  • To choose the default directory, simply type n or Enter.
  • To select a new directory, enter its full path, for example: C:\beahome
The installer asks you to confirm your choice:.
  • To accept your choice, type Enter
  • To go back, type 1 or 2, as you desire
Choose Install Type
Select the type of installation you wish to perform:
  • 1 - Complete - Installs WebLogic Server, WebLogic Network Gatekeeper (including the Extension Toolkit), and WebLogic SIP Server
  • 2 - Custom - Allows you to choose to install individual components
Choose Components
This window only appears if you have selected the Custom installation type
Enter the number next to the name(s) of the component(s) you do not wish to install and hit Enter. The screen refreshes, and the checkmark next to that component is removed. Continue until only the items you wish to install are checkmarked.
Note: You cannot install the Extension Toolkit without WebLogic Server and WebLogic Network Gatekeeper.
Hit n to continue.
Extension Toolkit Eclipse Plugin Path
This window only appears if you have chosen to install the Extension Toolkit
Enter 1 to change the path to your Eclipse\plugin installation. Then enter the full path. The screen refreshes, and the path is displayed.
Hit n to continue.
Choose Product Directory
Specify the directory in which you want to install the Network Gatekeeper software. This is the directory from which information will be copied during the domain configuration phase. You can accept the default product directory (wlng400) or create a new product directory by inputting the full path to the directory. The installer asks you to confirm your choice.
Choose Shortcut Location
This window is displayed only under the following conditions:
  • You have Administrator privileges.
  • You are performing an initial installation.
  • You are installing on a Windows platform.
Specify the Start menu folder in which you want the Start menu shortcuts created. You can select from the following options:
  • All Users Start menu folder
  • Selecting this option provides all users registered on the machine with access to the installed software. However, only users with Administrator privileges can create shortcuts in the All Users folder. Therefore, if a user without Administrator privileges uses the Configuration Wizard to create domains, Start menu shortcuts to the domains are not created. In this case, users can manually create shortcuts in their local Start menu folders, if desired. Press ALT+Y on the keyboard to select the All Users Start Menu.

  • Local user's Start menu folder
  • Selecting this option ensures that other users registered on this machine will not have access to the Start menu entries for this installation. Press ALT+N on the keyboard to select the Local User's start menu.

The installer asks you to confirm your choice.
Status
A status bar indicates the progress of the install
Installation Complete
Press Enter to exit the installer.

 


The Silent Mode Installer

Silent-mode installation is a way of setting installation configurations only once and then using those configurations to duplicate the installation on many machines. During installation in silent mode, the installation program reads the settings for your configuration from an XML file that you create prior to beginning the installation. The installation program does not display any configuration options during the installation process. Silent-mode installation works on both Windows and UNIX systems. Please note: Windows is only supported for dev/test environments. It is not supported for production.

Note: For more information on Silent-mode installation, see the What Is Silent-Mode Installation? section of the WLS Installation Guide, a description of silent mode installation for WebLogic Server in general.

Use the following instructions if you wish to use the Silent Mode installer to install WebLogic Network Gatekeeper. You must do this for all servers.

Create the silent.xml file

The entries in the silent.xml file correspond to the prompts that you would see if you used one of the interactive modes above.

Note: Incorrect entries in the silent.xml file can cause installation failures. To help you determine the cause of a failure, we recommend that you create a log file when you start the installation.

The following is a sample version of a silent.xml file, corresponding to a Complete installation type. Your input may be slightly different, depending on your installation:

Listing 6-1 Sample silent.xml
<?xml version="1.0" encoding="UTF-8"?>
<bea-installer>
 <input-field>
   <data-value name="BEAHOME" value="d:/bea-wlng400" />
  <data-value name="USER_INSTALL_DIR" value="d:/bea-wlng400/wlng400"/>
    <data-value name="INSTALL_NODE_MANAGER_SERVICE" value="yes" /> 
    <data-value name="NODEMGR_PORT" value="5559" /> 
    <data-value name="COMPONENT_PATHS" value="WebLogic Network Gatekeeper" /> 
    <data-value name="INSTALL_SHORTCUT_IN_ALL_USERS_FOLDER"       value="true"/>
    <data-value name="WLNGEclipseConfig.dir" value="d:/eclipse/plugin"/>
 </input-fields>
</bea-installer>

Launch the Silent Installer - Windows

If you are using the silent installer on a Windows machine, do the following:

  1. Log in to the target Windows system. If you are going to use this machine as an Administration Server and you wish to install the Node Manager as a Windows service, you must be logged in as an administrator. Node Manager is used to monitor, start, and stop managed server instances in a domain.
  2. Go to the directory where you have copied the installation program. You acquire this program either from a WebLogic Network Gatekeeper CD or the Download Center.
  3. Launch the installation by entering the following command:
  1. After a few moments, a BEA Installer window opens, indicating that the files are being extracted. No other prompt or text is displayed.

Launch the Silent Installer - UNIX/Linux

If you are using the silent installer on a UNIX/Linux machine, do the following:

  1. Log into the target UNIX system
  2. Go to the directory where you have copied the installation program. You acquire this program either from the WebLogic Network Gatekeeper CD or the Download Center.
  3. Launch the installation by entering the following commands:
  4. chmod a+x wlng400_<appropriate-platform-filename>.bin

    ./<filename.bin> -mode=silent -log=<full_path_name>install.log -silent.xml=<full_path_name>silent.xml [all on one line]

  5. After a few moments, a BEA Installer window opens, indicating that the files are being extracted. No other prompt or text is displayed.

Launch the Silent Installer - Generic

Network Gatekeeper ships with a generic installer that is primarily designed to be run on machines running HP-UX:

  1. Log into the target UNIX system
  2. Add the bin directory of the appropriate JDK to the beginning of the PATH variable definition on the target system. For example:
  3. PATH=JAVA_HOME/bin:$PATH
    export PATH

    Here JAVA_HOME represents the full path to the JDK directory.

  4. Go to the directory where you downloaded the installation program.
  5. Launch the installation program by entering the following command:
  6. java -jar ./wlng400_generic.jar -mode=silent -silent_xml=/full_path_to_silent.xml [all on one line]
Note: Once you have run the installer you must do the following additional two steps:
    1. Set the WL_HOME variable to the directory in which you installed your BEA product, and export WL_HOME. For example:
    2. $ export WL_HOME=<your_installation_directory>/weblogic92 
      cd $WL_HOME/server/native/hpux11/IPF32/
    3. Set the following execution modes on the contents of the $WL_HOME/server/native directory:
    4. $ chmod -R +x $WL_HOME/server/native/hpux11/

Returning Exit Codes to the Console

When run in silent mode, the installation program generates exit codes that indicate the success or failure of the installation. These exit codes are shown in the following table:

Table 6-1 Installation Program Exit Codes
Code
Description
0
Installation completed successfully
-1
Installation failed due to a fatal error
-2
Installation failed due to an internal XML parsing error

If you are launching the silent-mode installation process from a script, you can choose to have these exit codes displayed to the console. The following provides a sample command file that invokes the WebLogic Platform installation in silent mode and echoes the exit codes to the console from which the script is executed.

Listing 6-2 Return exit codes
rem Execute the installer in silent mode
@echo off
wlng400_win32.exe -mode=silent -log=<full_path_name>install.log -silent_xml=<full_path_name>silent.xml 
@rem Return an exit code to indicate success or failure of installation
set exit_code=%ERRORLEVEL%
@echo.
@echo Exitcode=%exit_code%
@echo.
@echo Exit Code Key
@echo ---------------
@echo  0=Installation completed successfully
@echo -1=Installation failed due to a fatal error
@echo -2=Installation failed due to an internal XML parsing error
@echo.

 


Where to Go From Here

You must now configure WebLogic Network Gatekeeper’s Administrative Domain. See Configuring the Domain for Network Gatekeeper

Note: If you wish to be able to start and stop servers remotely, for example by using the Administration Console, you must set up Node Manager on each server. The software for Node Manager is automatically installed along with WebLogic Server software when you use any of the installation methods. See “Using Node Manager to Control Servers” in Managing Server Startup and Shutdown, a separate document in the WebLogic Server set for more information on setting up and configuring Node Manager.

  Back to Top       Previous  Next