I think I will add another additional resource to my dependancy tree. Thanks for advice.
Best regards, Rafal Radecki. 2013/3/7 Lars Marowsky-Bree <[email protected]>: > On 2013-03-07T13:13:22, Rafał Radecki <[email protected]> wrote: > >> Hi All. >> >> I have a memcache service on two nodes (active/passive). I would like >> to run a custom script when the service migrates from first to the >> second node? Can it be done with pacemaker? >> As I have read in OCF resources I can do this with notify action and >> pre/post notifications but how to achieve something similar for LSB >> resource? > > It would be easiest to add that as an additional resource to your > dependency tree, no? > > If you need to hook into the notifications, write a (wrapper) OCF > script. It's not difficult. > > > > Regards, > Lars > > -- > Architect Storage/HA > SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, > HRB 21284 (AG Nürnberg) > "Experience is the name everyone gives to their mistakes." -- Oscar Wilde > > _______________________________________________ > 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
