If you chose Manually create the repository database while installing the Management Server for use with an external database, there are two ways in which you can configure the database before starting the Management Server. Choose the one that best suits your needs:
Run Foglight’s database tool from the command line after exiting the installer. The database tool is located in the <foglight_home>/client/ directory.
NOTE: The database tool and scripts described do not create tablespaces. If you need to create new tablespaces, you must do so manually first, before running the database tool. See the Performance Tuning Field Guide for more information about Oracle® tablespaces. |
• |
Create the database. Run the following command, including the -D parameters and values as required: |
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: |
After you have run all four scripts, you can start the Management Server. Proceed to Starting and stopping the Management Server.
For external databases, once the database has been successfully initialized, you can run Foglight.
© ALL RIGHTS RESERVED. Termini di utilizzo Privacy Cookie Preference Center