Hi, look at the mysql agent, it has a trace feature you can enable by creating the file /tmp/mysql.ocf.ra.debug/log. It is so useful I have it running on many clusters and rotated by logrotate.
Regards, Yves Le 2013-01-17 09:03, Andreas Mock a écrit : > Hi all, > > how to set up the runtime environment a resource agent is run in? > > When a resource agent doesn't behave as expected it would be simple > to run the agent script manually to test it without embedding it > in the whole HA environment. > > But: Many many variables have to be set up properly so that the > RA runs in an evironment similar to that which is build up by the > LRM. Is there a script out there which is a thin wrapper to build up > the correct environment? (environment variables, paths, etc.) > > Hints welcome. > > Best regards > Andreas Mock > > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
