Chat now with support
Chat mit Support

Foglight Evolve 6.1.0 - Installing Foglight on a UNIX System with an External Oracle Database

Before Installing Foglight Installing Foglight
Preparing to install Installing a new version of the Management Server Installed directories Foglight settings HP patch checking tool Uninstalling Foglight Upgrading the Management Server Installing Foglight FAQ
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.

If custom tablespaces are configured in the storage-config.xml, as described in the Performance Tuning Field Guide, the database administrator must edit the oracle_create_db.sql script and add grants for the custom tablespaces. These grants are similar to the ones that grant a quota on the USERS tablespace. For example:

NOTE: In the example above, replace the italicized text (for example, SOME_CUSTOM_DATA_TABLESPACENAME_HERE) with the actual custom tablespace names defined in the storage-config.xml file.

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

Run the .sql scripts by issuing the following commands in the order shown:
This script must be run under an account with administrator privileges (for example, sys), because you require system access to execute it. Replace <DBA_username> and <DBA_password> with the user name and password for the database administrator account.
This script must be run under an account with administrator privileges (for example, sys), because you require system access to execute it. Replace <DBA_username> and <DBA_password> with the user name and password for the database administrator account.

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.

Verwandte Dokumente

The document was helpful.

Bewertung auswählen

I easily found the information I needed.

Bewertung auswählen