Action Entry Point
The VCS enterprise agent for Oracle supports the Action entry point, which enables you to perform predefined actions on a resource.
The agent supports the following actions:
To perform an action on a resource, type the following command:
# hares -action <res> <token> [-actionargs <arg1> ...] [-sys
<system>] [-clus <cluster>]
Action
|
Description
|
VRTS_GetInstanceName
|
Retrieves the name of the configured instance. You can use this option for the Oracle and the Netlsnr resources.
|
VRTS_GetRunningServices
|
Retrieves the list of processes monitored by the agent. You can use this option for the Oracle and the Netlsnr resources.
|
DBRestrict
|
Changes the database session to enable the RESTRICTED mode.
|
DBUndoRestrict
|
Changes the database session to disable the RESTRICTED mode.
|
DBSuspend
|
Suspends a database. This option is available for Oracle versions 8i and above.
|
DBResume
|
Resumes a suspended database. This option is available for Oracle versions 8i and above.
|
DBTbspBackup
|
Backs up a tablespace; actionargs contains name of the tablespace to be backed up.
|
You can also add custom actions for the agent. For further information, refer to the VERITAS Cluster Server Agent Developer's Guide.
|