Hi Nimish You can add it to one of the cluster services that run on your cluster, this way then this service will migrate/relocate your script will run on new node.
Grisha 2008/9/18 Nimish Bhargava <[EMAIL PROTECTED]> > Thanks Grisha > > But could you please elaborate on this suggestion.. > Even if I add the script as a resource, how can I ensure that it runs only > during failover/migration. > > Regards > Nimish > > 2008/9/17 Grisha G. <[EMAIL PROTECTED]> > > Try running the script you need as resource in the service. >> >> 2008/9/17 Nimish Bhargava <[EMAIL PROTECTED]> >> >>> Hi >>> >>> I am having a 2 node cluster. >>> I want to send a signal or run a script on the active server when >>> failover is taking place i.e. I am manually migrating from the active to >>> standby server even though active has not gone down. >>> >>> Is it possible to send this signal ? >>> >>> Regards >>> Nimish >>> >>> -- >>> Linux-cluster mailing list >>> [email protected] >>> https://www.redhat.com/mailman/listinfo/linux-cluster >>> >> >> >> -- >> Linux-cluster mailing list >> [email protected] >> https://www.redhat.com/mailman/listinfo/linux-cluster >> > > > -- > Linux-cluster mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/linux-cluster >
-- Linux-cluster mailing list [email protected] https://www.redhat.com/mailman/listinfo/linux-cluster
