Please enter search query.
Search <book_title>...
InfoScale™ 9.0 Cluster Server Agent for DB2 Installation and Configuration Guide - AIX
Last Published:
2025-04-14
Product(s):
InfoScale & Storage Foundation (9.0)
Platform: AIX
- Introducing the Cluster Server Agent for DB2
- About agent functions for VCS Agent for DB2
- About IMF Integration functions for VCS Agent for DB2
- Installing and configuring DB2
- VCS requirements for installing DB2
- Setting up the DB2 configuration
- Installing and removing the Cluster Server Agent for DB2
- Configuring VCS service groups for DB2
- About DB2 configurations in VCS
- Before configuring the service group for DB2
- Configuring the VCS Agent for DB2 from Cluster Manager (Java Console)
- Configuring the VCS Agent for DB2 by editing the main.cf file
- Setting up in-depth monitoring of a DB2 instance
- Administering VCS service groups for DB2
- Appendix A. Troubleshooting Cluster Server Agent for DB2
- Appendix B. Resource type information for Cluster Server Agent for DB2
- Appendix C. Resource type attributes for DB2
- Appendix D. Sample configurations
About the action agent function for VCS agent for DB2
The agent for DB2 supports the action function, which enables you to perform predefined actions or custom 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]
The agent supports the following predefined actions:
The VRTS_GetInstanceName token retrieves the DB2 instance name of the configured Db2udb resource.
The VRTS_GetRunningServices token retrieves the list of processes that the agent monitors for the Db2udb resource.
For example:
# hares -action db2udb1 VRTS_GetInstanceName -sys systemName
VCS NOTICE V-16-13323 Resource (db2udb1): action (VRTS_GetInstanceName) completed successfully. Output is:
db2inst1
# hares -action db2udb0 VRTS_GetRunningServices -sys systemName
VCS NOTICE V-16-13323 Resource (db2udb0): action (VRTS_GetRunningServices) completed successfully. Output is:
PARTITION: 0
PID TTY TIME CMD
9800 ? 0:06 db2sysc