Print Download PDF Send Feedback

Previous

Next

Centrally Managing Gaia Device Settings

In This Section:

Overview of Gaia Central Management

Managing Gaia in SmartConsole

Overview of Gaia Central Management

SmartConsole lets you:

Managing Gaia in SmartConsole

After enabling Central management, Gaia gateways can be more effectively managed through SmartConsole.

Running Command Scripts

One Time scripts

You can manually enter and run a command line script on the selected Gaia Security Gateways.

This feature is useful for scripts that you do not have to run on a regular basis.

To run a one-time script:

Step

Description

1

Right-click the Security Gateway.

2

Select Scripts > Run One Time Script.

3

The Run One Time Script window opens

You can:

  • Enter the command in the Script Body text box and specify script arguments, or
  • Load the complete command from a text file

    Notes:

    • By default, the maximum size of a script is: 8 kilobytes.
    • This value can be changed in SmartConsole> Main application menu > Global properties > Advanced > Configure > Central Device Management > device_settings_max_script_length_in_KB.

4

Click Run.

The output from the script shows in the Tasks tab > Results column.

  • Double-clicking the task shows the output in a larger window
  • You can also right-click the task, and select View, and then Copy to Clipboard

    Notes:

    • The Run One Time Script window does not support interactive or continuous scripts. To run interactive or continuous scripts, open a command shell.
    • If the gateways are not part of a Cloning Group, you can run a script on multiple gateways at the same time.

To run a Repository script:

Step

Description

1

Right-click the Security Gateway.

2

Select Scripts > Run Repository Script.

3

The Select Script window opens.

You can:

  • Select a script from the drop-down box, or click New to create a new script for the repository.
  • Enter script arguments.

Note - The Select Script window does not support interactive or continuous scripts. To run interactive or continuous scripts, open a command shell.

4

Click Run.

The output from the script shows in the Tasks tab > Results column.

  • Placing the mouse in the Details column shows the output in a larger window.
  • You can also right-click, and select View, or Copy to Clipboard.

Manage repository scripts

You can create new scripts, edit or delete scripts from the script repository.

To manage scripts:

Step

Description

1

Right-click the Security Gateway.

2

Select Scripts > Manage Script Repository.

3

The Manage Scripts window opens.

Note - You can also run and manage scripts if you click Scripts in the Gateways view.

Understanding One-Time Scripts

If you specify a script:

Running Repository Scripts

You can run a predefined script from the script repository.

To run a script from the repository:

Step

Description

1

In the Gateways & Servers view, right-click the Security Gateways or Security Management Servers, on which you want to run scripts.

2

Select Scripts > Scripts Repository.

The Scripts Repository window opens.

3

Do one of these steps:

  • Select an existing script from the list, click Run, enter Arguments if needed, and click Run.
  • Click New to create a new script for the repository, or load it from a text file. Click OK.

The output from the script shows in the Tasks tab at the bottom of the Gateways & Servers view.

Notes:

Backup and Restore

These options let you:

Best Practice - We recommended using System Backup to back up your system regularly. Schedule system backups on a regular basis, daily or weekly, to preserve the Gaia OS configuration and firewall database.

Backing up the System

Note - After you install the Security Gateway for the first time, you must publish the changes you made on the Security Gateway before you do a system backup operation.

To back up the system:

Step

Description

1

In the Gateways & Servers view, right-click the Security Gateway object you want to back up.

2

Select Actions > System Backup.

The System Backup window opens.

3

Select the backup location. Use one of these options:

  • The Backup server defined for this gateway - To define a backup server for this Security Gateway, double-click the Security Gateway object, and click Network Management > System Backup
  • Enter the details of the backup server

Note - The path to the backup directory must start and end with forward slash (/) character. For example: /ftroot/backup/, or just / for the root directory of the server.

The file name must be according to this convention:

backup_<Name of Security Gateway object>_<Date of Backup>.tgz

4

Click OK.

The status of the backup operation shows in Tasks.

5

When the task is complete, double-click the entry to see the file path and name of the backup file.

Notes:

  • This name is necessary to do a system restore.
  • You can do backup on multiple Security Gateways at the same time.
  • When you back up a cluster, the system does backup on all members.

Restoring the System

To restore the system:

Step

Description

1

In the Gateways & Servers view, right-click the Security Gateway object you want to restore.

2

Select Actions > System Restore.

The System Restore window opens.

3

Enter the required information.

Note - If you cannot find the name of the file in Tasks, or did not save the file name after you completed the backup process:

  1. Right-click the Security Gateway object.
  2. Select Actions > Open Shell.
  3. On the Security Gateway, run the Gaia Clish command:

    show backup logs

  4. Find the name of the compressed backup file.

    The file is named according to this convention:

    backup_<Name of Security Gateway object>_<Date of Backup>.tgz

4

Click OK.

  1. Connectivity to the Security Gateway is lost.
  2. The Security Gateway automatically reboots.

5

Install the policy on the Security Gateway object.

The status of the restore operation shows in Tasks tab.

Opening Gaia Portal and Gaia Clish

From SmartConsole, you can open a Security Gateway's the command line window, or the Gaia Portal. You can select the command line or the Gaia Portal from the right-click menu of a Security Gateway object, or from the top toolbar > Actions button.

To open a command line window on the Security Gateway:

Step

Description

1

In SmartConsole, right-click the Security Gateway object.

2

Select Actions > Open Shell.

  • Log in with your Gaia credentials.
  • The Open Shell uses public key authentication.
  • For a cluster object, select the member, to which you want to connect.

A command line window opens with default shell that was configured for the specified user.

To open a Security Gateway Gaia Portal:

Step

Description

1

In SmartConsole, right-click the Security Gateway object.

2

Select Actions > Gaia Portal.

Note - For a cluster, select the cluster member, for which you want to open the Gaia Portal.

The Gaia Portal opens in the default web browser.

The URL is taken from the Platform Portal page of the Security Gateway object.