Am Donnerstag, 17. Januar 2013, 15:03:38 schrieb Andreas Mock: > 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
export OCF_ROOT=/usr/lib/ocf/resource.d -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0163) 172 50 98 _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
