help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Maintaining RC symlinks


From: Mohamed Eldesoky
Subject: Re: Maintaining RC symlinks
Date: Tue, 15 Jun 2004 10:17:38 +0300
User-agent: KMail/1.6.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Not if you categorize your servers properly.
I mean, you have servers that do webhosting only, servers that do mailserving 
only...etc

On Monday 14 June 2004 6:41 pm, Chip Seraphine wrote:
> Ok.  Make that 'every permutation of service requirements', which is still
> not efficiently manageable in a medium-to-large environment.
>
> On Monday 14 June 2004 07:56, Mohamed Eldesoky wrote:
> > You don't have to do that for every host, if you manage to organize your
> > servers neatly.
> >
> > On Monday 14 June 2004 3:07 pm, Chip Seraphine wrote:
> > > The only problem with that approach is that you'd have to build a
> > > custom turnOffServices and turnOnServices string for every (or almost
> > > every)
>
> host,
>
> > > which would be a real PITA in cfengine.
> > >
> > > Hmmm.  Although a module could do it pretty easily.......
> > >
> > > On Friday 11 June 2004 15:54, you wrote:
> > > > On Wed, 9 Jun 2004, Chip Seraphine wrote:
> > > > > I'm getting ready to write  a script for turning on and off
> > > > > SVR4-style
> > >
> > > start/
> > >
> > > > > kill symlinks to init.d scripts (think chkconfig, but less
> > > > > friendly).
> > >
> > > Before
> > >
> > > > > I reinvent any wheels, I was wondering if anybody wants to share
> > > > > any
> > >
> > > really
> > >
> > > > > clever solutions or ideas for adding/removing links...
> > > >
> > > > Maybe this is a cheap shot, but I figured if you're going to rely on
> > > > an
> > >
> > > outside
> > >
> > > > script you might appreciate it anyway : (long lines broken)
> > > >
> > > >
> > > > control:
> > > >
> > > >     actionsequence = ( shellcommands )
> > > >
> > > >     turnOffServices = ( "canna:gpm:autofs:kudzu:sendmail:netfs:
> > > >         ipchains:iptables:portmap:nfs:nfslock:xfs:xinetd:ypbind:
> > > >         cfengine:snmpd:wine:mysqld" )
> > > >
> > > >     turnOnServices = ( "sshd:httpd:ntpd" )
> > > >
> > > > shellcommands:
> > > >
> > > >     "/sbin/chkconfig --level 123456 $(turnOffServices) off"
> > > >     "/sbin/chkconfig --level 2345 $(turnOnServices) on"
> > > >
> > > >
> > > > --
> > > >
> > > >     Eric Sorenson - EXPLOSIVE Networking - http://explosive.net
> >
> > _______________________________________________
> > Help-cfengine mailing list
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/help-cfengine
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAzqKU2FHsOWMJBKMRAoVFAJ0U40OpRFxBIHPDLC9CCRyRFu3D8gCfY+u8
w9i/tHGdJwlxpTfUjnD8EvI=
=Jz8u
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]