Converse agora com nosso suporte
Chat com o suporte

Foglight 5.9.2 - Installing Foglight on a UNIX System with an External PostgreSQL Database

Before Installing Foglight Installing Foglight Running the Management Server Installing and Upgrading Cartridges Installing Agents

Option 2 - Run SQL scripts to configure the database

If you clicked Create during the database installation step, the SQL scripts in the<foglight_home>/scripts/sql directory are prepared with the provided configuration options. There are four SQL files for each database type ([dbtype]):

You can review these scripts before running them.

You must run the configured scripts against the database using a third-party tool.

NOTE: After running the psql command, you will be prompted for the password. The first two commands you need to type the <DBA_username> password, and the last two commands you need to type the <foglight_username> password.

After you have run all four scripts, you can start the Management Server. Proceed to Starting and stopping the Management Server.

Initializing the database

Initializing the database

For external databases, once the database has been successfully initialized, you can run Foglight.

Starting and stopping the Management Server

The following sections describe how to start and stop the Management Server:

Starting the Management Server

The following sections describe how to start the Management Server from the command line and lists additional commands for use when starting or running the Management Server.

Navigate to the directory <foglight_home>/bin and run the following command:

When the Management Server starts successfully, the following message appears in the command window:

-s

start

Starts the Management Server (this option is assumed if no command is specified).

-d

start the process as a daemon

Starts the Management Server as a daemon (if the process is not started as a daemon, the command prompt is held captive by the running Management Server, and remains in the foreground).

NOTE: The following scripts in $FGLHOME/bin directory can start the Management Server as a daemon and shut it down, respectively:
fmsStartup.sh
fmsShutdown.sh

-n

name

Provides a unique name for this instance of the Management Server.

-j

jvm-argument

Sets an option to be passed directly to the Java® VM.

Can be used to set more than one VM option.

-v

version

Displays the version number for this program and exits.

-h

help

Shows this information, and additional options, then exits.

Another option is to start the Management Server using initialization scripts. This option is particularly useful when you want to automatically start the Management Server after it has been rebooted.

The initialization scripts can be found in the directory <foglight_home>/scripts/init.d. A readme.txt file is available in the same location. Review this file before running the script as it contains valuable information on how to use the script for your specific platform.

Documentos relacionados

The document was helpful.

Selecione a classificação

I easily found the information I needed.

Selecione a classificação