LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-13-2008, 09:43 AM   #1
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Rep: Reputation: 40
Framework for deploying enterprise wide scripts


Hello all.


We're setting up a centralized server from which we can access all other servers in our organization. The idea is to use this server for deploying scripts (typically perl, python, or shell) on our servers by logging in, running the scripts, and retreiving the result (exit code or whatever).

I'm sure every organization has a similar scheme. So what I'm look for is basically some advice one possible pitfalls and such.

One idea I have is to set up some sort of "framework" for our scripts. I haven't thought this through, but I imagine that there must be possible to create a simple framework to reduce the possiblity of deploying an erroneous script throughout the enterprise.

By such a framework I'm actually thinking of a (set of) script(s) into which one can pass parameters describing what information one need to retreive from the servers, what needs to be executed, which servers to deploy this on, and so forth. For example, if the "framwork script" took one parameter in which the set of servers are listed, and another parameter the command that needs to be executed on these servers, maybe one could use this to reduce the possiblity of error.

I'm not sure if what I'm looking for is very clear, and in that case please comment on this.

Regards,
kenneho
 
Old 11-13-2008, 10:09 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Sounds to me you're looking for CFengine to help accomplish this. Very powerful, can do what you want with more features than you probably need.

http://cfengine.org
 
Old 11-13-2008, 10:49 AM   #3
SpLaSh212
Member
 
Registered: Mar 2006
Posts: 42

Rep: Reputation: 15
You can use Puppet, by Reductive Labs ...
its the "new kid around", that replaces the older CFengine

Very nice declarative lang
http://reductivelabs.com/trac/puppet
 
Old 11-14-2008, 03:54 AM   #4
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Original Poster
Rep: Reputation: 40
Thanks for the replies.

We're actually allready using Puppet, and it solves many of our needs regarding configurating the servers.

I'm not yet a Puppet expert, but there seems to be some thing best left to plain old scripts: If we, for example, need to gather information about whether the file systems on our servers have been mounted cleanly, or just run a few commands to check disk space, I'm not sure Puppet is the best way to go. It sound better to simply have a small shell/perl/python script executed on the serveres, and fetch the result to be stored on the centralized SSH server.

I may be that I underestimate the functionality of Puppet, but I don't think puppet is designed for cases such as this.


Regards,
kenneho
 
Old 11-14-2008, 12:25 PM   #5
SpLaSh212
Member
 
Registered: Mar 2006
Posts: 42

Rep: Reputation: 15
Well, there is a nice tool called func
check it out ...
 
Old 11-16-2008, 07:47 AM   #6
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by SpLaSh212 View Post
Well, there is a nice tool called func
check it out ...
Where can I find this tool?
 
Old 11-19-2008, 03:38 AM   #7
SpLaSh212
Member
 
Registered: Mar 2006
Posts: 42

Rep: Reputation: 15
https://fedorahosted.org/func/
 
Old 11-19-2008, 03:49 AM   #8
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by SpLaSh212 View Post
Thanks I'll check it out.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Enterprise Wide Deployment john_sm SUSE / openSUSE 3 09-01-2007 05:49 AM
Enterprise Wide Deployment john_sm Red Hat 4 09-01-2007 05:49 AM
Enterprise Wide Deployment john_sm Ubuntu 1 08-13-2007 08:23 PM
LXer: Guide to Deploying Mozilla Firefox in an Enterprise Published LXer Syndicated Linux News 0 04-01-2007 12:31 AM
LXer: Faa Reports $15M in Savings in Deploying Red Hat Enterprise Linux LXer Syndicated Linux News 0 04-26-2006 03:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration