Cluster Server 7.3.1 Agent for Oracle Installation and Configuration Guide - Solaris
- Introducing the Cluster Server agent for Oracle
- About the Cluster Server agent for Oracle
- How the agent makes Oracle highly available
- About Cluster Server agent functions for Oracle
- Oracle agent functions
- How the Oracle agent supports health check monitoring
- ASMInst agent functions
- Oracle agent functions
- Installing and configuring Oracle
- About VCS requirements for installing Oracle
- About Oracle installation tasks for VCS
- Installing ASM binaries for Oracle 11gR2 or 12c in a VCS environment
- Configuring Oracle ASM on the first node of the cluster
- Installing Oracle binaries on the first node of the cluster
- Installing and removing the agent for Oracle
- Configuring VCS service groups for Oracle
- Configuring Oracle instances in VCS
- Before you configure the VCS service group for Oracle
- Configuring the VCS service group for Oracle
- Setting up detail monitoring for VCS agents for Oracle
- Enabling and disabling intelligent resource monitoring for agents manually
- Administering VCS service groups for Oracle
- Pluggable database (PDB) migration
- Troubleshooting Cluster Server agent for Oracle
- Verifying the Oracle health check binaries and intentional offline for an instance of Oracle
- Appendix A. Resource type definitions
- Appendix B. Sample configurations
- Sample single Oracle instance configuration
- Sample multiple Oracle instances (single listener) configuration
- Sample multiple instance (multiple listeners) configuration
- Sample Oracle configuration with shared server support
- Sample configuration for Oracle instances in Solaris zones
- Sample Oracle ASM configurations
- Appendix C. Best practices
- Appendix D. Using the SPFILE in a VCS cluster for Oracle
- Appendix E. OHASD in a single instance database environment
Action entry point for Cluster Server agent for Oracle
The Cluster Server agent for Oracle supports the Action entry point, which enables you to perform predefined actions on a resource.
To perform an action on a resource, type the following command:
# hares -action res token [-actionargs arg1 ...] \ [-sys system] [-clus cluster]
You can also add custom actions for the agent.
For further information, refer to the Cluster Server Agent Developer’s Guide.
See Table: Predefined virtual fire drill actions. describes the agent's predefined virtual fire drill actions.
Table: Predefined agent actions describes the agent's predefined actions.
Table: Predefined agent actions
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 that the agent monitors. 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. |
DBResume | Resumes a suspended database. |
DBTbspBackup | Backs up a tablespace; actionargs contains name of the tablespace to be backed up. |
Note:
VRTS_GetRunningServices, DBRestrict, DBResume, DBSuspend, DBTbspBackup, and DBUndoRestrict action entry points are not supported for Oracle PDB resources.
Table: Predefined virtual fire drill actions lists the virtual fire drill actions of the Cluster Server agent for Oracle lets you run infrastructure checks and fix specific errors.
Table: Predefined virtual fire drill actions
Virtual fire drill action | Description |
---|---|
getid (Oracle agent) | Verifies that the Oracle Owner exists on the node. |
home.vfd (Oracle agent) | Verifies the following:
|
owner.vfd (Oracle agent) | Verifies the uid and gid of the Oracle Owner attribute. Checks if uid and gid of Owner attribute is the same on the node where the Oracle resource is currently ONLINE. |
pfile.vfd (Oracle agent) | Checks for the presence of pfile or spfile on the local disk. If both pfile and spfile are not present, the agent function exits. If the Oracle resource is online in the cluster, the agent function logs a message that the spfile must be on the shared storage because the Oracle resource is online. |
tnsadmin.vfd (Netlsnr agent) | Checks if listener.ora file is present. If the listener.ora file is not present, it checks if ORACLE_HOME is mounted and displays appropriate messages. |