Enable the Resmon Service

Enable the Resmon service by defining required parameters. The Resmon service is disabled by default. Once enabled, the service scans the monitored resources on the STA server according to the defined settings.

  1. On the STA server, open a terminal session. Log in as the Oracle user.
  2. To enable the service, define the required parameters in one or more commands.

    For a list of all parameters, see the table in Configure the Resource Monitor Using staresmonadm.

    You must define at least the following settings:

    • All high-water marks, except system memory
    • Email 'To:'
    • Daily report send time
    • Sleep Interval
    • DB Username and Password—this is the database administrator user created during STA installation.

    For example:

    $ staresmonadm -t 80 -b 70 -d 75 -l 75 -z 75 -x 75 -m 80 -r charlie@mycompany.com -T 23:05 -i 3600 -U stadba -P
    
  3. Resmon will run its first scan at the time you have specified; you do not have to stop and restart the STA services daemon.
  4. If the utility fails with:
    Error: java.util.prefs.BackingStoreException: Couldn't get file lock.
    

    See ISSUE: Backup Service or Resource Monitor Fails.