1

I help manage a few hosted commercial applications, and we have a lot of manual processes involved when doing new customer-instance deployments into the shared (multitenant) environment. Allow me to describe the most relevant features, and then we can talk about the tools.


We have an application on AIX, that requires dozens of changes to config files (some plain text, some XML) as well as a good number of commands to be run on multiple servers - some to start the new instance, some to restart our shared authentication and reporting engines, etc. The config changes follow templates, of course. The servers in question will also depend on the initial conditions specified by the implementer/deployer - we may choose to deploy a given customer to our servers in Europe, or one set of servers may be active-active whereas a different set of servers is active-passive - in short, there's a lot of complications.

We have another application that run on IIS 6 and SQL. The DBAs don't want any automation of the SQL components and that's fine with me, but automating the IIS bit would be great. For a new customer instance, we make a filesystem copy of a template Virtual Directory target named after the new customer, make a new AppPool to match, edit a VirDir template .xml file to replace the filepaths and AppPool names with the new ones, and then make a new VirDir from the modified template XML to point to the new filesystem folder and app pool.


For the first case, something like ControlTier or Chef might be good. For the second, the new(ish) Web Deploy from MS would probably do a good job.

Has anyone used these tools or others to do something similar for applications? More of a nice-to-have, not a fixed requirement - Has anyone used anything that works on both platforms? I'm looking for something free, because the official word is that within a year, we will have whatever HP has renamed the OpsWare suite, which should be able to do stuff like this.

Edit - based on someone's suggestion, looking at CFengine for the AIX application, it doesn't seem to address my pain. The problem isn't keeping a given config synced across dozens of servers, we have rsync for that. The problem is that onboarding a new customer instance touches dozens of files, putting pieces of the same or similar information into them - some are new stanzas in existing files, some are new files, and some are new directories. This is a several-hours-long process that is also error-prone because it's mostly done by hand. I guess I'm looking for config-file generation and management. I have built a small Perl script to do something similar for a much smaller case - it binds a CSV file into variables, and then does a copy-and-search-and-replace from a set of template config files. I could probably do the same here.

2
  • Further edit - I'm starting to look into Perl's Template-Toolkit. It seems to fit the bill nicely. Has anyone played with it?
    – mfinni
    Mar 18, 2010 at 13:46
  • 1
    TT is awesome for building config files and doing stuff like this - almost any time I need to replace variables in a file I use TT
    – James
    Mar 18, 2010 at 13:49

1 Answer 1

1

Hi the software from HP will be Operation Orchestration or Server Automation, and they will be able to handle the use case you describe.

Is there any reasons to not start to use the HP software before 1 year ?

4
  • Wow, solicit much?
    – malonso
    Mar 18, 2010 at 11:53
  • Yes, because my team is not in charge of rolling it out. We're a big company, and my team is a small piece of it.
    – mfinni
    Mar 18, 2010 at 12:56
  • I'm not going to ding the guy for recommending the product : it's just a limitation and he's doing the right thing by questioning the box I placed the problem in.
    – mfinni
    Mar 18, 2010 at 13:58
  • soory my answer was more a comment than a real answer, my mistake !!
    – Fleole
    Mar 20, 2010 at 17:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .