9 Replies Latest reply on Oct 28, 2008 9:58 AM by Steven Alexson

    Parameterize config file with variable values

    Steven Alexson

      I have a need to manage the machine.config file on some of our Windows servers. Bladelogic is nice enough to include a grammar file for this file, albeit a very basic one.


      Some of the parameters have values that are set based on the number of CPUs the server has. So, I have created a server property CPU_COUNT which is automatically populated via an nsh script.


      The problem I am having is how do I get the value set with a BLPackage when the value is based on the value of the property. For example...


      maxconnections = 12 * CPU_COUNT


      I would rather not create a bunch of server variables to stores all of these values since they are not needed by all servers.


      Is there a way to do variable calculations within a package to set a parameter in a config file?