Installation Guide

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

Installing BEA Guardian 1.1

This document provides instructions for installing and upgrading to BEA Guardian 1.1. Also included are instructions for starting the Guardian User Interface and Guardian Command Line Interface (Guardian Headless Mode). Topics include:

 


Overview

This section describes BEA Guardian 1.1 supported configurations and supported targets. Also provided is a brief overview of installation procedures, and important information for upgrading from Guardian 1.0.x to Guardian 1.1.

Product Support Information

This section contains the following information:

Supported Configurations

BEA Guardian 1.1 requires Java Version 5 (Version 1.5) or above.

The following sections outline the operating systems and Java Runtime Environment versions supported by Guardian 1.1.

Supported Operating Systems

BEA Guardian supports the following operating systems:

Table 1-1 Supported Operating Systems
Operating System
Vendor/Version
Windows
XP, 2003, 2000
Linux
Red Hat Enterprise Linux 3, 4

Note: Requires Mozilla

Supported Java Runtime Versions

BEA Guardian 1.1 supports the following Java Runtime Environment (JRE) versions:

Table 1-2 Supported Java Runtime Environment Versions
Vendor
JRE Version
BEA JRockit
Java Version 5 (Version 1.5) or above
Sun Microsystems JRE
Version 5 (Version 1.5) or above

Supported Targets

Supported Targets are the environments that BEA Guardian can target for evaluations. This is distinct from supported configurations, which are the environments in which the Guardian application can be installed and executed.

Basically, Guardian can target any platform for evaluation that allows it to install and communicate with the Guardian Agent. In addition, the Guardian Agent must have access to a specific set of Java system information properties and methods. The BEA products capable of supporting these operations are based on WebLogic Server Versions 8.1 and above.

The following BEA product versions are supported:

Note: For the most current information on Supported BEA product versions, please see the Guardian 1.1 Release Notes.

Table 1-3 Supported BEA Product Versions
BEA Product
Versions
AquaLogic Data Services Platform
2.0 and above
AquaLogic Service Bus
2.1 and above
WebLogic Communications Platform SIP Server
3.0 and above
WebLogic Integration
8.1 and above
WebLogic Platform
8.1 and above
WebLogic Portal
8.1 and above
WebLogic RFID Enterprise Server
1.1
2.0
WebLogic Server
8.1 and above
WebLogic Virtual Edition
1.1

Summary of Installation Procedures

There are two basic types of Guardian 1.1 installations:

 


Install and Upgrade to Guardian 1.1

Installing Guardian 1.1 involves the following basic tasks:

The following sections provide step-by-step instructions for each of these tasks.

Step 1: Install Guardian 1.1

IMPORTANT: If upgrading from Guardian 1.0.x, you must install Guardian 1.1 in a different location than the previous Guardian 1.0.x installation. Otherwise, the Registry will not be installed properly and Guardian will not be able to start. In addition, you will not be able to import your previous data. It is also recommended that you back up your previous 1.0.x installation before proceeding, to ensure that your data is preserved.

To install Guardian 1.1, do the following:

  1. Download the BEA Guardian 1.1 Installer from the BEA Products Download Site.
  2. Go to the following URL and click BEA Guardian to go to the BEA Guardian download site:

    http://commerce.bea.com/

  3. Start the Guardian 1.1 installer.
    • For Windows:
    • To start the installer, double-click on the following executable filename, or enter it as a command at the Windows command prompt:

      guardian_installer.exe

    • For Linux:
    • ./guardian110_linux32.bin

      This displays the first page of the Installation Wizard, in which you can select the language for the installation.

  4. Select the language from the drop down menu at the bottom of the page, and click OK.
  5. The wizard proceeds to the Introduction page.

  6. Read the introduction and click Next.
  7. The wizard proceeds to the License Agreement page.

  8. Accept the License Agreement to proceed.
  9. Read the license terms and select I accept the terms of the License Agreement. Then click Next to proceed to the Choose Install Folder page.

  10. Select the location in which to install Guardian.
  11. Accept the default, or click Choose... to open a file browser from which you can select a location.

    Caution: If you are upgrading from Guardian 1.0.x to Guardian 1.1, do not accept the default. Be sure to install Guardian 1.1 in a different location than the previous Guardian 1.0.x installation. Otherwise, the Registry will not be installed properly and Guardian will not be able to start.
  12. Click Next.
  13. This proceeds to the Pre-installation Summary page.

  14. Review your installation details and click Install to proceed.
  15. Note: If you need to change a setting, click Previous to backtrack to the appropriate page and change your setting.

    The wizard displays the Installing BEA Guardian progress page. When the installation finishes, the Install Complete page displays.

  16. Click Done to dismiss the wizard.

You are now ready to deploy the Guardian Agent in the WebLogic Administration Server. Proceed to the section entitled, Step 2: Deploy the Guardian Agent on page 7.

Step 2: Deploy the Guardian Agent

After installing Guardian 1.1, you must deploy the new Guardian Agent to any WebLogic Server instances you wish to evaluate.

For a single instance, you can use the WebLogic Server Administration Console to uninstall the previous Guardian Agent and then install and deploy the new Agent. The WebLogic Server Administration Console provides a series of Web-based deployment assistants that guide you through the deployment process. For a summary of the steps involved in deploying the Guardian Agent, see Deploy Guardian Agent from WebLogic Server Adminstration Console on page 7 . For complete instructions on deploying applications, see the Administration Console Online Help, and WebLogic Server documentation.

If you want to deploy the Guardian Agent to multiple servers, you can use the WebLogic Scripting Tool to automate this task. For basic instructions, see Deploy Guardian Agent to Multiple Servers on page 9. For complete instructions on using the WebLogic Scripting tool to deploy applications, see the WebLogic Scripting Tool documentation.

Note: If you are upgrading from Guardian 1.0.x to Guardian 1.1, after deploying the Agent, you must also install and run the Upgrade Plug-in, as described in Step 3: (Upgrades, Only) Install and Run the Upgrade Plug-in on page 10.

Deploy Guardian Agent from WebLogic Server Adminstration Console

You can use the WebLogic Server Administration Console to manually deploy the Guardian Agent to the Administration Server. This section provides a summary of the basic steps involved for WebLogic Server versions 9.0 and above. For complete instructions for your specific version of WebLogic Server, please see your WebLogic Server documentation and Administration Console Online Help. Please also refer to the Guardian 1.1 Release Notes for additional important information.

To use the Administration Console to manually deploy the Guardian Agent, do the following:

  1. Start the WebLogic Administration Console, and select Lock & Edit in the left pane.
  2. Caution: Make sure that Lock & Edit is selected for each of the following procedures.
  3. Stop the existing Guardian Agent deployment in the WebLogic Server.
  4. By default, the Guardian Agent is named bea-guardian-agent.

    Note: For detailed instructions for this procedure, see “Start and stop a deployed Enterprise Application” in the WebLogic Administration Console Online Help.
  5. Delete the existing Guardian Agent deployment from the WebLogic Server, and activate your changes.
  6. Note: For detailed instructions for this procedure, see “Delete an Enterprise Application” in the WebLogic Administration Console Online Help.
  7. Install the new Guardian Agent in the WebLogic Server, and activate your changes.
  8. The Guardian Agent is a WAR file named bea-guardian-agent.war, and is located in the following directory:

    <root>\guardian\plugins\com.bea.guardian.agent.weblogic_<guard-version>\weblogic<wls-version>

    Where:

    <root> is the parent directory for the Guardian installation. For example:
    C:\\Program Files

    <guard-version> is the current (updated) Guardian version.

    <wls-version> is the version of WebLogic Server in which you are deploying this Agent.

    If you are installing the Agent on WebLogic 8.1.x, install the bea-guardian-agent.war file located in the ..\weblogic8 directory. For WebLogic Server 9.x and 10.x, install the bea-guardian-agent.war file located in the ..\weblogic9 directory.

    WARNING: Do not change the name of the Guardian Agent when deploying it. Be sure to use the default name, bea-guardian-agent.war.
    Note: For detailed instructions for this procedure, see the section entitled, “Install an Enterprise Application” in the Administration Console Online Help.
  9. Start the new Guardian Agent in the WebLogic Administration Server.
  10. Note: For detailed instructions for this procedure, see “Start and stop a deployed Enterprise Application” in the WebLogic Administration Console Online Help.
  11. Start Guardian and activate the neccessary domains in Guardian.
  12. Note: For detailed instructions for this procedure, see “Activate Domain” in the BEA Guardian Online Help.

If this is a new installation, you can now use Guardian to evaluate the activated domains in your environment. If this is an upgrade installation, proceed to Step 3: (Upgrades, Only) Install and Run the Upgrade Plug-in on page 10.

Deploy Guardian Agent to Multiple Servers

If you need to deploy the Guardian Agent to multiple servers, you can use the weblogic.Deployer command in the WebLogic Server Command Line Interface to automate this task. You can also use the WebLogic Scripting Tool (WLST) to deploy the Agent. This section provides basic instructions for using the weblogic.Deployer command for this purpose. For instructions on using WLST, please see the WebLogic Scripting Tool documentation.

WARNING: Do not change the name of the Guardian Agent when deploying it. Be sure to use the default name, bea-guardian-agent.war.

At the WebLogic Server CLI prompt, enter the following command line:

java weblogic.Deployer -debug -adminurl http://<admin_url>:<port> -username <username> -password <password> – targets adminserver,<cluster1>,<cluster2> -deploy -sourcerootforupload <dir_path>\bea-guardian-agent.war

Where:

Note: If this is an upgrade installation, after deploying the Agents, proceed to Step 3: (Upgrades, Only) Install and Run the Upgrade Plug-in on page 10.

Step 3: (Upgrades, Only) Install and Run the Upgrade Plug-in

If you are upgrading from Guardian 1.0.x to Guardian 1.1, you must install and run the Upgrade Plug-in to complete the upgrade procedure. The Upgrade Plug-in imports your Guardian 1.0 Workspace into your current Guardian 1.1 workspace, and updates the Guardian 1.1 Registry.

To install and run the Upgrade Plug-in, do the following:

  1. Download the Guardian 1.1 Upgrade Plug-in from the BEA Dev2Dev web site.
    1. Download the following file:
    2. com.bea.guardian.ui.importing_1.0.0.jar

      This is a plug-in for importing your Guardian 1.0.x Registry into Guardian 1.1.

  2. Copy the plug-in JAR into the plugins directory in your Guardian 1.1 installation.
  3. Copy the com.bea.guardian.ui.importing_1.0.0.jar file to the following directory:

    <Guardian_Root>\guardian\plugins\

    Where:

    <Guardian_Root> is the Guardian installation root directory.

  4. Start the Guardian 1.1 User Interface.
  5. You can start the BEA Guardian User Interface (GUI) from either the Windows Start menu, or by invoking the guardian.exe executable in your Guardian installation directory. For details, see Start the Guardian User Interface on page 14.

    Guardian first displays the initial splash screen while loading, and then displays the Select Workspace dialog box.

  6. Select or create the folder (directory) to use as your Guardian 1.1 Workspace folder.
  7. IMPORTANT: For this upgrade procedure, do not accept the default location. Also, make sure this directory is not located within the Guardian installation directory, and is in a different location than your original Guardian 1.0.x Workspace.

    To use an existing folder: Browse to the folder location and select the folder.

    To create a new folder:

    1. Click Make New Folder.
    2. Select the location for the folder.
    3. Enter the name of the folder
    4. Click OK.
    5. This creates or selects the folder and returns to the Select Workspace dialog box.

  8. (Optional) Specify this as the default Workspace.
  9. If you do not want to select the Workspace each time you start Guardian, select the checkbox for Use this as the default workspace and do not ask again. This is particularly useful to prevent accidentally accepting the default Workspace, and having to reconstruct or reimport your Workspace data. For the purposes of this upgrade, it is recommended that you select this option until the upgrade is complete. You can change this setting at a later time by selecting Prompt for workspace on startup in the Guardian Preferences configuration page. For instructions, open the Guardian 1.1 Online Help and select Tasks > Workspaces > Select Workspace.

  10. Click Finish.
  11. Guardian creates the new Workspace and starts Guardian.

  12. Import your old Guardian 1.0.x Workspace into Guardian 1.1.
  13. In the Guardian User Interface, do the following:

    1. Select File > Import to open the Import wizard.
    2. In the folder tree, open the Guardian folder and select Guardian 1.0 Workspace.
    3. Click Next to proceed to the Select 1.0 Installation page.
    4. Click Browse to open a file browser from which you can select your Guardian 1.0 installation directory.
    5. Click OK to select the directory and return to the Select 1.0 Installation page.
    6. Click Next to proceed to the Select 1.0 Workspaces page.
    7. Selecte a Workspace and click Finish.
    8. Guardian proceeds to import the selected Workspace. This may take a few seconds to complete.

  14. Restart Guardian.
  15. Restart Guardian to automatically add the domains from the imported Workspace to the Domain Explorer tree. Until you restart Guardian, the imported data will not be displayed in the Navigation Pane Explorers.

The installation is now complete, and you can use Guardian 1.1 to evaluate your environment.

Check Product Configuration

You can use the Product Configuration page to check the current configuration for a Guardian installation.

To check the current Guardian configuration, do the following:

  1. Select Help > Manage Guardian to open the Product Configuration page.
  2. In the Product Configuration tree (left pane), expand the BEA Guardian folder and subfolders.

Check the version numbers for each item.

 


Install Guardian 1.1 in Text Mode

You can also run the Guardian 1.1 installer in Text Mode, if you do not want to use the Installation Wizard Graphical User Interface. The following sections provide instructions for the following:

Run the Installer in Text Mode on Windows

On Windows, you can run the Guardian Installer in Text Mode in a Command Prompt window.

To install Guardian 1.1 on Windows using Text Mode, do the following:

  1. Download the BEA Guardian 1.1 Installer from the BEA Products Download Site.
  2. Go to the following URL and click BEA Guardian to go to the BEA Guardian download site:

    http://commerce.bea.com/

  3. Open a Windows Command Prompt window.
  4. Change to the directory in which you downloaded the Guardian 1.1 installer, and run the following command:
  5. guardian110_win32.exe -i console

    The installation script prompts you for your installation information.

WARNING: If you are upgrading from Guardian 1.0.x to Guardian 1.1, do not accept the default installation location. You must install Guardian 1.1 in a location separate from the Guardian 1.0.x installation. Otherwise, the Registry will not be installed properly and Guardian will not be able to start.

When the installation is finished, a success message is displayed. You are now ready to deploy the Guardian Agent in the WebLogic Administration Server. Proceed to the section entitled, Step 2: Deploy the Guardian Agent on page 7.

Run the Installer in Text Mode on Linux

On Linux, you can run the Guardian Installer in Text Mode using Linux Console Mode.

To install Guardian 1.1 from Linux Console Mode, do the following:

  1. Download the BEA Guardian 1.1 Installer from the BEA Products Download Site.
  2. Go to the following URL and click BEA Guardian to go to the BEA Guardian download site:

    http://commerce.bea.com/

  3. cd to the directory in which you downloaded the Guardian 1.1 installer, and enter the following command:
  4. ./ guardian_installer.bin -i console

    The installation script prompts you for your installation information.

WARNING: If you are upgrading from Guardian 1.0.x to Guardian 1.1, do not accept the default installation location. You must install Guardian 1.1 in a location separate from the Guardian 1.0.x installation. Otherwise, the Registry will not be installed properly and Guardian will not be able to start.

When the installation is finished, a success message is displayed. You are now ready to deploy the Guardian Agent in the WebLogic Administration Server. Proceed to the section entitled, Step 2: Deploy the Guardian Agent on page 7.

 


Launch Guardian 1.1

BEA Guardian has two modes of operation:

Start the Guardian User Interface

The Guardian 1.1 executable is named guardian.exe, and is located in the Guardian installation home directory, as follows:

<Guardian_Root>\guardian.exe

Where:

<Guardian_Root> is the Guardian installation directory.

Each time you start the Guardian User Interface, you are prompted to select a Guardian Workspace. If you do not want to select the Workspace each time you start Guardian, you can specify a default location and select an option to skip this process in the future. Instructions are provided below. For a description of the Guardian Workspace, see “Chapter 1: About Guardian” in the Guardian 1.1 User Guide.

To start Guardian and select a Workspace, do the following:

  1. Open the Guardian User Interface.
    • In Windows:
    • Select Start > BEA Guardian > Guardian or double-click on guardian.exe in your Guardian installation home folder.

    • In Linux:
    • Change directories to the Guardian 1.1 installation directory, and enter the following command:

      ./guardian.sh

      Guardian first displays the initial splash screen while loading, and then displays the Select Workspace dialog box.

  2. Select or create the folder (directory) to use as your Workspace folder.
  3. IMPORTANT: Do not place this folder within the Guardian installation directory. Otherwise, when conducting automatic updates of Guardian, your Workspace will be overwritten and the data will be lost. In addition, if you are upgrading from Guardian 1.0.x to Guardian 1.1 and have not yet imported your previous Workspace, do not select the default, as that may overwrite the old contents. Make sure that you select a location that is different than the Workspace used by the previous version.

    To use an existing folder: Click Browse to open a directory browser from which you can select the folder.

    To create a new folder:

    1. Click Make New Folder.
    2. Select the location for the folder.
    3. Enter the name of the folder
    4. Click OK.
    5. This creates or selects the file and returns to the Select Workspace dialog box.

  4. (Optional) Specify this as the default Workspace.
  5. If you do not want to select the Workspace each time you start Guardian, select the checkbox for Use this as the default workspace and do not ask again.

    Note: You can change this setting at a later time by selecting Prompt for workspace on startup in the Guardian Preferences configuration page. For instructions, open the Guardian 1.1 Onlind Help and select Tasks > Workspaces > Select Workspace.
  6. Click Finish.
  7. Guardian loads the selected Workspace and completes the startup procedure.

Start the Guardian Command Line Interface

The Guardian Command Line Interface (CLI)—also referred to as Guardian Headless Mode—is a set of Guardian commands that can be issued directly from the operating system command prompt. There is a Guardian CLI command for almost every task available in the Guardian User Interface. For a complete description of these commands and their syntax, see the Guardian 1.1 Online Help and the Guardian 1.1 User Guide.

To start the Guardian Command Line Interface, do the following:

Note: Guardian Command Line Interface commands are case sensitive.
  1. At the operating system command prompt, change directories to the Guardian installation directory.
  2. Enter the Guardian Headless command.
    • On Windows:
    • guardianHeadless.cmd

    • On Linux:
    • guardianHeadless.sh

  3. (Optional) To see a list of CLI commands and their syntax, enter the CLI Help command at the operating system prompt.
    • On Windows:
    • guardianHeadless.cmd -g help

    • On Linux:
    • guardianHeadless.sh -g help

The Command Line Interface uses your specified Guardian Workspace as the location for all CLI operations, unless you specify otherwise in each command. Identifying the Guardian Workspace location is essential for accessing the correct set of active domains, Domain Inventories, and Evaluation Summaries. For instructions on selecting a Guardian Workspace, see the Guardian User Guide — Version 1.1 and Guardian 1.1 Online Help.

The following are some examples of Guardian Headless command lines:

The output of each command is sent to the following output file:

headless_output.txt

The output file is created in your current directory, and is overwritten each time you run a Guardian Headless Mode command.

For a complete list of Guardian Command Line Interface commands and syntax, see Guardian User Guide — Version 1.1, and Guardian 1.1 Online Help.


  Back to Top       Previous  Next