3.4 ADD PROFILE

This command is used to create a profile for managed Extract, Replicat , Distribution and Receiver path processes from the Admin Client.

Syntax:
ADD PROFILE profile-name
             [ AUTOSTART        [ YES | NO ]
               [ DELAY            delay-number ]
             [ AUTORESTART      [ YES | NO ]
               [ RETRIES          retries-number]
               [ WAITSECONDS      wait-number]
               [ RESETSECONDS     reset-number]
               [ DISABLEONFAILURE [ YES | NO ] ] 
profile-name
Name of the profile for the specific managed process.
AUTOSTART
Specifies whether the managed process has to be started automatically when the Administration Server starts. The default value is YES.
DELAY
Set the delay-number to configure the delay time to automatically start the managed process.
AUTORESTART
Specifies whether the managed process has to be restarted if it stops or abends. The default value is YES.
RETRIES
Specifies the number of retries for attempting to automatically restart the managed process.
WAITSECONDS
Specifies the time to wait before attempting another retry to restart.
RESETSECONDS
Used to reset the time for the retries.
DISABLEONFAILURE
Specifies if the managed process has to be disabled if it fails to restart. The default value is NO.

Example:

OGG (https://localhost Local) 5> ADD PROFILE Critical AUTOSTART AUTORESTART RETRIES 1 WAITSECONDS 0 RESETSECONDS 0 DISABLEONFAILURE NO
Command succeeded with no output.