![]() |
< Previous | Next > |
Product: Storage Foundation for Databases Guides | |
Manual: Storage Foundation 4.1 for Oracle Administrator's Guide |
Using the Monitoring AgentYou can use a Monitoring Agent to manage and monitor VxFS file systems, Oracle tablespaces, and datafile space usage. The Monitoring Agent monitors the file system space, and when the space usage reaches a configured threshold value, a predefined action script grows the file system automatically. The agent can be enabled at boot-time. Each file system monitored has three settings that the Monitoring Agent needs to know about:
The VxDBA Monitoring Agent operations are driven from the following files:
Understanding the Monitoring Agent FilesThe /opt/VRTSdbed/lib/dbed_mon_config.base file contains the site-level configuration settings for monitoring all file systems and databases recognized. This configuration file specifies how often to check for file system and database configuration changes, how often to check the file space usage, where space usage information gets logged, and the thresholds for warning and automatically growing the file system. For example, if you are monitoring a database named PROD, the database-specific file would be /etc/vx/vxdba/PROD/dbed_mon_config.PROD. This is the first file opened when the agent is started and contains the default settings for monitoring file systems at the database level. The Monitoring Agent cannot start without this file. Modify this configuration file if you want to change the preconfigured settings carried over from the dbed_mon_config.base file to maintain a different set of settings at the database level. The files /etc/vx/vxdba/$ORACLE_SID/dbed_mon_fslist.$ORACLE_SID and /etc/vx/vxdba/$ORACLE_SID/dbed_mon_oralist.$ORACLE_SID are created and are used for restarting the Monitoring Agent. These files specify the status of the database. The files also specify the space monitoring and alarm information for each file system, tablespace, and datafile. You can edit these files manually to change settings, and then restart the Monitoring Agent. The Monitoring Agent uses the /etc/vx/vxdba/$ORACLE_SID/include file to check that all files are up-to-date and are being monitored. This file is created by VERITAS Storage Foundation for Oracle and should not be edited. Occasionally, Monitoring Agents ignore Storage Checkpoints. This happens when a Storage Checkpoint is not owned by the current Oracle instance. These Storage Checkpoints will not be used to calculate thresholds and potential removal candidates. Storage Checkpoints that are not considered part of the current database instance's data set are logged as such in the file /var/log/dbed_mon/dbed_mon.prune_ckpt_log.$ORACLE_SID when the Monitoring Agent is looking for potential removal candidates. A Storage Checkpoint must have an entry in the /etc/vx/vxdba/$ORACLE_SID/checkpoint_dir directory before it is considered owned by the database. This is done automatically by the provided VxDBA(1M) and dbed_ckptcreate(1M) utilities and ensures that, if multiple databases share the same file system(s), the policy for one database does not affect another. Starting a Monitoring Agent
Enable / Disable the Monitoring Agent at Boot-Time
Stopping a Monitoring Agent
Viewing or Changing Monitoring Agent ValuesYou can view the settings of your active Monitoring Agent. You also have the option to change the default values of the Monitoring Agent, if needed.
Click the Monitoring Agent icon in the object tree. (You may need to expand the tree view to find the icon.) The values associated with the Monitoring Agent are displayed on the screen.
|
^ Return to Top | < Previous | Next > |
Product: Storage Foundation for Databases Guides | |
Manual: Storage Foundation 4.1 for Oracle Administrator's Guide | |
VERITAS Software Corporation
www.veritas.com |