This chapter provides an overview of Guardian components, features, and key concepts. Also provided are basic instructions for using and navigating the Guardian User Interface and Online Help System. Topics include the following:
Guardian is a diagnostic tool for identifying potential problems in your environment before they occur, and provides specific instructions for resolving them. Guardian is like having the entire BEA Customer Support Team scrutinize your domain and immediately present their findings and recommendations to you, at your convenience.
First, activate one or more Domains in Guardian. A domain is a logically related group of WebLogic Server resources that you manage as a unit. You can also organize multiple domains into Domain Groups. Then, select one or more domains, select a Signature Bundle, and launch an Evaluation. Guardian then proceeds to evaluate the Signature Bundle against the specified domain(s), and generates a detailed report of potential issues and their remedies. You can then review the report and decide how to proceed.
Guardian can run on Windows or Linux systems that have Java Version 5 or higher installed. Guardian can evaluate any platform based on WebLogic Server version 8.1 through 10.3, regardless of the operating system on which it is running.
This section provides an overview and basic navigation instructions for the Guardian User Interface. For a complete, detailed description of all interface components, see Reference. For detailed instructions for specific Guardian tasks, see Tasks.
In general, you will use the Guardian User Interface to perform the majority of Guardian tasks and activities. For some highly repetitive or complex tasks—for example, activating multiple Guardian domains in multiple Guardian instances—you may want to create a Guardian Command Line Interface (CLI) script to automate a series of tasks. For basic instructions on using the CLI, see Command Line Interface on page 73 on Tasks. For a detailed description of all CLI commands and syntax, see Command Line Interface on page 134 of Reference.
The sections below provide a description and basic navigation instructions for each of the following elements:
For a complete detailed description of the Guardian User Interface, see Reference.
The Guardian Main Window contains the following basic navigation and display components:
The following sections provide instructions for using each of these components.
The Main Menu Bar is at the top of the BEA Guardian main window just below the BEA Guardian titlebar. The Menu Bar contains the following menus:
The Menu Bar menus in turn contain a series of options and submenus, some of which also lead to additional menus, dialog boxes, or wizards. The following sections provide an overview of each of these menus, and instructions for invoking them.
You can invoke many menus, submenus, and menu options by using a keyboard shortcut. To display Menu Bar menus, press the Alt key and type the menu selection key for the menu you want to display. The menu selection key is the letter underlined in the menu name when you press the Alt key.
Some menu options also have keyboard shortcuts, which consist of a specific sequence of characters pressed simultaneously. If a menu item has a keyboard shortcut, the key sequence is listed next to the item in the menu. To see the complete list of keyboard shortcuts, press Ctrl+Shift+L.
Table 1-1 describes the File menu options and submenus.
Table 1-2 describes the Tools menu options and submenus.
Table 1-3 describes the Window menu options and submenus.
Table 1-4 describes the Help menu options and submenus.
The Main Toolbar is located below the Main Menu, and contains action buttons for the most common Guardian tasks. To identify a button, move your mouse pointer over the button; this displays the tool tip text for that button.
Table 1-5 describes the Main Toolbar buttons.
The Navigation Pane resides in the left side of the BEA Guardian main window. The Navigation Pane contains several tabs leading to Explorer Views. You can have multiple Views open at once, but only one can be displayed at a time. Click on a tab to display an Explorer view.
Table 1-6 describes the Navigation Pane Explorer View tabs:
Open the Domain Explorer. This View enables you to browse, manage, and administer the domains you have defined in Guardian. Right-click in the Domain Explorer to open a context menu of domain operations. For instructions on Domain Explorer tasks, see
Domains on page 47 in
Tasks.
|
|
Open the Signature Explorer. This View enables you to browse the available signatures and view Signature Details for a selected signature. For instructionson Signature Explorer tasks, see
Signatures on page 62 in
Tasks.
|
|
Open the Bundle Explorer. This View enables you to browse the available Signature Bundles and their contents. For instructions on Bundle Explorer tasks, see
Bundles on page 69 in
Tasks.
|
|
Open the Shortcut Explorer. This View enables you to view and manage your Evaluation Shortcuts. For instructions on Shortcut Explorer tasks, see
Shortcuts on page 70 in
Tasks.
|
For a detailed description of each of the Explorer views, see Navigation Pane on page 93 of Reference.
Below each Explorer titlebar is the Explorer toolbar. An Explorer toolbar may contain all or some of the following active icons:
The Domain Explorer, Signature Explorer, and Bundle Explorer each contain a Menu icon in the right corner of the toolbar. Click the Menu icon to display a menu of operations for that Explorer.
Table 1-8 describes the Explorer menus.
|
|
|
The Document Pane is located in the central portion of the BEA Guardian main window. The Document Pane displays the Document Views and Editors.
Table 1-9 describes the Guardian Views and editors that can be displayed in the Documentation Pane.
Note: | You can have multiple Views or Editors open in the Document Pane, but only one can be active at a time. |
Each View and Editor has a titlebar that contains the name of the View or Editor, an identity icon, and buttons to close, minimize, maximize, and restore the display.
You can also use View and Editor titlebars to do the following:
Many views and displays contain context menus. Right-click on an item or anywhere in a display to open the associated context menu. For a complete description of context menus, see Reference.
BEA Guardian provides the several wizards for guiding you through some of the more complex or common Guardian tasks.
Table 1-10 describes the Guardian wizards and how to invoke them.
Click Activate to open the Domain Activation Wizard. This contains fields and options for configuring and activating a domain in Guardian. For instructions on using this wizard, see
Activate Domain on page 47 in
Tasks.
|
|
In Domain Explorer, right-click on a domain entry and select Deactivate Domain from the context menu to open this wizard. This contains a table of all active domains. For instructions on using this wizard, see
Deactivate Domain on page 49 in
Tasks.
|
|
Click Evaluate to open the Evaluation Wizard for evaluating one or more domains. For instructions on using this wizard, see
Evaluate Domain on page 57 in
Tasks.
|
|
Select a signature in an Evaluation Summary and click Get more help from BEA support. This opens the Support Case Wizard for the selected signature. This enables you to create and submit a support case based on the selected signature. For instructions on using this wizard, see
Submit Support Case on page 78 in
Tasks.
|
|
Click Inventory to open the Inventory Wizard. A Domain Inventory is a snapshot of all of the configuration details for a domain as it exists at that moment. For instructions on using this wizard, see
Inventory Domain on page 56 in
Tasks.
|
|
Select File > New > Shortcut to open the Shortcut Wizard for creating and modifying Shortcuts. For instructions on using this wizard, see
Create Shortcut on page 70 in
Tasks.
|
|
Click the Shortcut Explorer tab to open the Shortcut Explorer. Then, double-click on a Shortcut name in the Shortcut list to open the Shortcut Evaluation Wizard. For instructions on using this wizard, see
Evaluate Shortcut on page 72 in
Tasks.
|
|
Click Update to open the Update Wizard. This wizard enables you to automatically download new BEA Guardian software and signatures from the BEA Guardian update site. For instructions on using this wizard, see
Automatically Update Guardian on page 81 in
Tasks.
WARNING: Upgrading from Guardian 1.0.x to Guardian 1.1 must be done manually. For instructions, see
Manually Update Guardian on page 83 and
Manually Update Guardian Registry on page 86 in
Tasks.
|
For a detailed description of each of the Guardian Wizards, see Wizards on page 116 of Reference.
Right-click a wizard titlebar to open a context menu of options to Move, Size, or Close the wizard. You can also move or resize a Wizard by dragging the titlebar or window borders.
The Guardian Online Help system has the following structure:
The Guardian Command Line Interface is a command interpreter that is an executable .cmd
batch file for Windows, and a .sh
shell script for Linux. Both the Windows batch file and the Linux shell script are wrappers that accumulate and organize arguments to the Java command. You can invoke the Command Line Interface from a Windows Command Prompt window or a Linux terminal window.
For basic instructions on using the CLI, see Command Line Interface on page 73 on Tasks. For a detailed description of all CLI commands and syntax, see Command Line Interface on page 134 of Reference.
This section provides an overview of Guardian components, features, and key concepts. These include:
The Guardian Agent is a lightweight web application that gathers the data used for evaluations.
The Guardian Agent collects the following data:
If you have one or more managed servers in a domain, the Guardian Agent spawns the appropriate number of threads for communicating between the Guardian Agent on the WebLogic Administration Server, and the Guardian Agent running on the Managed Server(s).
An excessive number of threads can affect the performance of the Administration Server, so Guardian enables you to specify the maximum number of Agent threads that can be spawned. In addition, in order to manage Agent resources on both the Administration and Managed Servers, you can specify the maximum amount of time (in seconds) that can elapse before a thread is terminated. For instructions, see Configure Maximum Agent Threads on page 39 and Configure Agent Thread Timeout on page 40 in Tasks.
The Guardian Workspace is the directory in which all of your Guardian data is stored. It includes the following data for each domain you have defined in Guardian:
When you invoke Guardian, you are prompted to select a location for your Guardian Workspace. To prevent loss of work when Guardian is updated or uninstalled, select a Workspace location outside of the Guardian installation directory (see Select Workspace on page 41).You can also safely back up your Workspace data by exporting your Workspace to a file also located outside of your Guardian Installation directory. For instructions, see Export Workspace on page 42 of About BEA Guardian.
Although the documents in the Guardian Workspace are persisted as XML files, they are best viewed through the Guardian User Interface. The Guardian User Interface provides a number of tools for viewing, managing, and processing your data, as well as better protection against unintended edits or deletions. For basic instructions on using the interface, see Guardian User Interface on page 2. For a detailed description of Guardian User Interface components and features, see Reference. See Tasks, for detailed instructions for using the interface to perform specific Guardian tasks.
The Guardian Registry is an XML document in which your BEA Guardian configuration specifications are maintained. The Guardian Registry is created during product installation, and updated whenever you modify your configuration or perform certain Guardian operations. The Guardian Registry identifies the domains you have activated, the Signature Bundles available for evaluation, the Shortcuts you have defined, and your Guardian Workspace location(s).
A domain is a logically related group of WebLogic Server resources that are managed as a unit. A domain always includes at least one WebLogic Server instance called the Administration Server. The Administration Server acts as a central point of contact for server instances and system administration tools. A domain may also include additional WebLogic Server instances called Managed Servers.
Each BEA Guardian installation maintains a Guardian Registry of active domains. A domain is considered active when it is capable of being evaluated. You can activate and deactivate domains at will, and select which to evaluate at any given time.
You can organize the domains in Guardian into Domain Groups for easier management. For instructions on creating and managing Domain Groups, see Domain Groups on page 52 in Tasks.
A Domain Inventory is an XML document that describes the products in a Guardian domain. The inventory includes descriptions of your servers, Java Virtual Machines, operating systems, and databases. The descriptions include product versions as well as some configuration settings.
A Domain Inventory is created when you activate or evaluate a domain. The Inventory History is also refreshed each time a domain is evaluated. You can use the Domain Inventory Wizard in the Guardian User Interface to define and generate a new Domain Inventory.
Domain Inventory files are stored and maintained in your Guardian Workspace. You can use the Domain Explorer in the Guardian User Interface to view and manage Domain Inventories.
BEA Support has identified patterns in user domains that can cause problems. These patterns are described in XML documents called signatures.
Signatures describe potential problems based on information about your BEA WebLogic Servers and the environment in which they are deployed, including Java Virtual Machines (JVMs), operating systems, and databases. Signatures contain executable logic that can identify specific versions of these products as well as their configuration settings.
In addition to the potential problem description, signatures also contain a remedy recommendation and a severity level: 1-Critical, 2-Warning, or 3-Info.
To detect which signatures apply to your domain, you conduct an evaluation. When the evaluation is complete, the results are displayed in an Evaluation Summary. The Evaluation Summary lists all of the detected signatures, along with the severity level, description, and recommended remedy for each.
Signatures form a primary component of BEA Guardian, since they contain the distilled knowledge of BEA Support for both detecting potential problems and resolving them.
A Signature Bundle is a group of signatures that are evaluated together against one or more specified domains. You can select which bundle to evaluate against which domain(s). Bundles determine the signatures—and consequently, the potential issues—for which to search. The domain(s) you specify determine where to search.
Signature Annotations enable you to tag a detected signature with one or more persistent annotations about that signature.
An annotation contains the following information:
You can use the Annotations Wizard to create, edit, and delete annotations. For instructions, see Signature Annotations on page 64 in Tasks.
In addition, you can use Signature Filters to specify which annotated signatures are to be displayed in the Signature Explorer, Bundle Explorer, and Evaluation Summaries. For instructions, see "Filter Annotated Signatures" on page 68 in Tasks. For complete instructions on using filters, see Filter Signatures on page 63 in Tasks.
To detect which signatures apply to your domain, you conduct an evaluation. When the evaluation is complete, the results are displayed in an Evaluation Summary. The Evaluation Summary lists all of the detected signatures, along with the severity level, description, and recommended remedy for each.
A Snapshot Evaluation is a complete assessment of all of the configuration details for a specific domain, at the particular moment the evaluation is executed.
You can compare two Snapshot Evaluations to see very quickly the differences between configurations for two domains, or the same domain at different points in its history. For instructions, see Compare Inventories or Evaluations on page 60 of Tasks.
The results of an evaluation are displayed in an Evaluation Summary. The Evaluation Summary lists all of the signatures from the specified bundle that were detected for the evaluated domain, along with the severity level, description, and recommended remedy for each signature.
The Signature Repository contains the locally persisted store of signatures available for evaluation. When you download signatures from the Guardian update site, they arrive in a Java Archive (JAR) file. The JAR file is stored in the repository/archives
directory of your Guardian installation directory.
A Shortcut enables you to streamline the evaluation procedure by predefining and storing the domain, Signature Bundle, and other parameters for evaluations that you perform frequently. You can then evaluate the Shortcut, saving you the effort of re-entering the parameter values each time you want to run the evaluation.
A support case is a record created when you submit technical questions or issues to BEA Support. Customers with a support contract can open a support case on the BEA eSupport website or by calling BEA Customer Support.
Guardian enables you to open a BEA Customer Support case directly from a Guardian evaluation. When you conduct an evaluation that detects a signature, you can create and submit a support case directly from a selected signature in an Evaluation Summary. Guardian automatically creates the case and includes all of the information from the signature and submits it, enabling a BEA support engineer to begin working on your case right away. You can also add any additional attachments and notes before sending the support case to BEA
You also have the option not to submit the case immediately at the time of creation, but rather to save the case data as a Case Creation Archive for later submission. Case Creation Archives are stored as files with the file name extension .car
.
To learn more about BEA Support and support cases, see the BEA Customer Support Guidebook, which you can download from the BEA eSupport website.
To safeguard your domains, Guardian requires valid login credentials for all communications between Guardian and your Guardian domains. Whenever you conduct an evaluation or activate a domain, Guardian prompts you for the username and password of an Administrator or Monitor account on the target domain. You can choose to store the username and password so you do not have to enter them for every evaluation. All usernames, passwords, and server names persisted on disk are encrypted.
Any passwords, usernames, or server names persisted on disk are encrypted. This encryption helps prevent the disclosure of any clear text data that could compromise the security of your domain. SSL encryption is available for communication between Guardian and your domains and between Guardian and BEA. Guardian uses 128 bit open source encryption for SSL.
Secure Sockets Layer (SSL) encryption is available for all communication with BEA over the Internet, and all communication with Guardian Agents in your target domain(s). Please note that Guardian uses 128 bit open source encryption for SSL. If you want to use SSL, there are three types of communication to consider:
When you download signatures into Guardian from BEA Support, BEA collects high level statistics about your signature usage, including the number of times each signature was evaluated and detected. No customer data is included in the usage statistics. This information is used only in aggregate to assess the effectiveness of each signature. This data is crucial to the continuous improvement of BEA Guardian.
The signature usage statistics contain the following information:
signature id
— This is the unique identifier for the signature. type
— This is the category of the signature.fired
— This is the number of times the signature was considered for use. This also includes the number of times the signature was disqualified before evaluation due to targeting products not present on the domain. evaluated
— This is the number of times the signature was actually compared against the target domain.detected
— This is the number of times the signature was actually found on the target domain The following is a sample signature usage statistic:
<?xml version="1.0" encoding="UTF-8"?>
<usage>
<signature id="123456.sig" type="Evaluation" fired="30" evaluated="18" detected="2" />
<signature id="234567.sig" type="Evaluation" fired="30" evaluated="20" detected="1" />
</usage>
There are many ways to configure and use Guardian to diagnose the health of your domains. However, there are four essential tasks that can be considered the primary functions of Guardian. These are as follows:
The following sections provide a brief description of each of these tasks. For a complete description of all Guardian tasks and procedures, see Tasks.
Activating a domain prepares the domain for evaluation and conducts an initial inventory of the domain configuration.
To activate a domain, use the Domain Activation Wizard. For instructions, see Activate Domain on page 26 of Tasks.
A Domain Inventory is a snapshot of all of the configuration details for a domain as it exists at that moment. The results are displayed in a Domain Inventory Overview in the Document Pane. The inventory is also added to the Inventory History folder in the Domain Explorer. Domain Inventories are also generated automatically whenever you activate or evaluate domains.
To inventory a domain, use the Inventory Wizard. For instructions, see Inventory Domain on page 27 of Tasks.
To detect which signatures apply to your domain, you conduct an evaluation. Guardian collects data about your domain environment, and identifies which signatures apply to the domain.When the evaluation is complete, the results are displayed in an Evaluation Summary. The Evaluation Summary lists all of the detected signatures, along with the severity level, description, and recommended remedy for each.
You can review the Evaluation Summary to determine your response to any signatures that are detected. If you need more help resolving the potential problem identified by the signature, you can use Guardian to create and submit a BEA support case.
For instructions on conducting evaluations, see Evaluate Domain on page 27 of Tasks.
BEA Support Engineers create new signatures every day, and new application enhancements to Guardian are also periodically released. The Guardian Update feature enables Guardian to connect directly to the Guardian Update site to automatically download and install new signatures and product updates. To update Guardian on servers that do not have Internet access, you can perform a manual update.
For instructions for performing both automatic and manual updates, see Updates and Upgrades on page 81 of Tasks.
The following scenarios are examples of some of the different ways you can use Guardian to find problems before they impact your environment.
As you develop an application and migrate from development to quality assurance to production, you can run an evaluation at each stage. Guardian will help ensure that each phase of your development process is compliant with BEA best practices.
Some signatures are designed to evalute runtime domain settings. Running an evaluation under heavy load can detect potential problems that would not otherwise be detected. BEA recommends conducting these evaluations during load and performance testing.
After you update an existing application, you can run an evaluation to assess the deployment. Guardian will help you find any potential problems that could impact your upgrade.
After you install a new BEA patch, service pack, or upgrade, or install or upgrade third party software, you can run an evaluation to identify any new issues that may have been introduced.
If Guardian earlier detected a signature, and you subsequently applied the remedy or made other changes to your system, you can run an evaluation to confirm that the signature is no longer detected and no new issues were introduced.
If you made changes to your domain configuration or settings, you can run an evaluation to confirm that the result is compliant with BEA best practices.
If you are concerned about domain settings being incorrectly changed overnight, or your domain is approaching certain resource limits, you can schedule evaluations to run overnight. You can review the Evaluation Summary in the morning and decide if any detected signatures merit further investigation.
Guardian evaluations are designed to have as minimal an impact on throughput and CPU usage as possible. If your domain has extra capacity, you can schedule Guardian to run evaluations at regular intervals; for example, every 15 minutes. Then, if any changes are made or certain thresholds are reached, you can be notified quickly.
If you notice a problem on your domain, you can run an evaluation. Even if an earlier evaluation detected no signatures, something may have changed since that time to cause the new problem. Guardian can be your first line of defense in diagnosing and repairing domain problems.
Supported Configurations are the environments in which the BEA Guardian application can be installed and run. This is distinct from the Supported Targets, which are the environments that Guardian can target for evaluations.
Note: | Guardian requires Java Version 5 or above. |
Guardian supports the following environments:
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 itself can be installed and run.
Basically, Guardian can target any platform for evaluation that allows it to install and communicate with the Guardian Agent. In addition, the Guardian Agent itself 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. |