[Pacemaker] Linux Inittab TTY Agent

Rick Cone rcone at securepaymentsystems.com
Fri Jun 4 12:26:58 EDT 2010


Thanks for the reply.   I have created a LSB resource agent script that uses
"sed" to edit the /etc/inittab file for respawn/off, followed with an "init
q".

Rick

-----Original Message-----
From: Florian Haas [mailto:florian.haas at linbit.com] 
Sent: Friday, June 04, 2010 10:19 AM
To: The Pacemaker cluster resource manager
Subject: Re: [Pacemaker] Linux Inittab TTY Agent

On 06/03/2010 09:36 PM, 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?

Sure you can't have Pacemaker control "/sbin/getty 9600 ttyS0" instead?
 Could be done with the "anything" RA perhaps?

Florian






More information about the Pacemaker mailing list