You can enable debug logs for the VCS engine, VCS agents, and HA commands in two ways:
To enable debug logs at run-time, use the halog -addtags command.
To enable debug logs at startup, use the VCS_DEBUG_LOG_TAGS environment variable. You must set the VCS_DEBUG_LOG_TAGS before you start HAD or before you run HA commands.
See VCS environment variables.
Examples:
# export VCS_DEBUG_LOG_TAGS="DBG_TRACE DBG_POLICY" # hastart # export VCS_DEBUG_LOG_TAGS="DBG_AGINFO DBG_AGDEBUG DBG_AGTRACE" # hastart # export VCS_DEBUG_LOG_TAGS="DBG_IPM" # hagrp -list