Installation Guide

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

Launching Guardian

The following sections provide information for starting the Guardian User Interface and Guardian Command Line Interface (Guardian Headless Mode):

 


Overview

Oracle Guardian has two modes of operation:

 


Start the Guardian User Interface

The Guardian is located in the Guardian installation home directory. For example:

   <Guardian_Root>\guardian.exe

Where:

   <Guardian_Root> is the Guardian installation directory. See

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 User Guide.

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

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

    • In Linux:
    • Change directories to the 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 a previous Guardian release and have not yet imported your old 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 Online 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 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 and Guardian 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 the Guardian User Guide and the Online Help.


  Back to Top       Previous  Next