[Pacemaker] Linux Inittab TTY Agent
Dejan Muhamedagic
dejanmm at fastmail.fm
Fri Jun 4 11:20:11 UTC 2010
Hi,
On Thu, Jun 03, 2010 at 01:36:33PM -0600, Rick Cone wrote:
> I have a need to toggle certain serial tty's in /etc/inittab from
> respawn/off depending upon of the node is master/slave. In some flavors of
> UNIX the enable/disable commands would do this in an rc script. Is there a
> Linux equivalent?
Don't know, but it would be easy to do that using 'sed -i' and
then kill -1 init. You will need a resource agent (start from
the Dummy RA) for this and to put that resource in a group with
whichever resource you want to control modifying inittab.
Thanks,
Dejan
>
>
>
> Thanks,
>
>
>
> Rick Cone
>
> Secure Payment Systems
>
>
>
>
>
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
More information about the Pacemaker
mailing list