Some useful debugging tips for the Operations Agent.

Running ovc in debug

# /opt/OV/bin/ovc -status -level 8
# /opt/OV/bin/ovc -start -debug

Stack-tracking a core file

# /opt/OV/contrib/OpC/stacktrace <core_file>

# /opt/OV/contrib/OpC/stacktrace_agt <core_file>

Running midaemon in debug

Add the debug flag to the MIPARMS parameter in /etc/rc.config.d/ovpa:

MIPARMS="-p -debug 1"

Restart the agent. Alternatively you can run midaemon from the command-line in foreground mode with the debug flag.

Leave a comment