Previous  |  Next  >  
Product: Cluster Server Enterprise Agents Guides   
Manual: Cluster Server 4.1 Enterprise Agent for Oracle Installation and Configuration Guide   

Enabling and Disabling Detail Monitoring for Oracle

To enable detail monitoring, set the DetailMonitor attribute to 1.


  hares -modify OracleResource DetailMonitor 1 

To disable detail monitoring, set the DetailMonitor attribute to 0.


  hares -modify OracleResource DetailMonitor 0 

Setting Up Detail Monitoring for Netlsnr

You can enable detail monitoring for Netlsnr by specifying a value for the MonScript attribute. The following example uses the supplied monitor script for Netlsnr, /opt/VRTSvcs/bin/Netlsnr/LsnrTest.pl. The detail monitoring script for the Netlsnr resource uses the Listener command lsnrctl status $Listener to test the Listener process.

  1. Make the VCS configuration writable:
       haconf -makerw
  2. Freeze the service group to avoid automated actions by VCS caused by an incomplete reconfiguration:
       hagrp -freeze service_group
  3. Enable detail monitoring by entering the following commands:
       hares -modify LsnrResource MonScript "./bin/Netlsnr/LsnrTest.pl"
       haconf -dump -makero
       hagrp -unfreeze service_group
  4. Disable detail monitoring by setting the MonScript attribute to an empty string:
       haconf -makerw
       hagrp -freeze service_group
       hares -modify SqlResource MonScript ""
       haconf -dump -makero
       hagrp -unfreeze
 ^ Return to Top Previous  |  Next  >  
Product: Cluster Server Enterprise Agents Guides  
Manual: Cluster Server 4.1 Enterprise Agent for Oracle Installation and Configuration Guide  
VERITAS Software Corporation
www.veritas.com