Server Run Time Parameters

In more complex implementations, it might become necessary to specify certain parameter values at run-time, depending the service type or the server type. For example, you may have two IIS web servers configured. Instead of configuring two different servers using the same plug-in, you can configure one server and instruct the server control to use different sets of parameters, depending on the service type.

The following describes the above example.

1.    First, a server is configured in the Server Control à Servers section.

scfigure3-17.gif

Configure the web server

The server uses a special plug-in called IIS Homepage (Multi). The Multiplex plug-ins are what enable run-time parameters to be used. Since we are provisioning home page services, we have chose the IIS Homepage multiplexing plug-in.

2.    Next, the server parameters are defined as you normally would.

scfigure3-18.gif

Define server parameters

3.    Create a new server group and map it to the new server.

This should be done as you would normally. For more information about mapping service info codes see the section on Server Group Mapping.

4. Configure the run-time parameters.

At run-time, we want the server control to determine the remote plug-in server, depending on the service type that is being added. Let’s pretend that we have two different services, WEB1 and WEB2. If WEB1 is added, we want the web server 255.255.255.255 to be provisioned. If WEB2 is added, we want to provision the web server 255.255.255.254. To do this, we configure the server run time parameter SCPServer with two values, and the service type names as the service type masks.

scfigure3-19.gif

Server Run-Time Parameters

For a list of possible Server Run-Time Parameters, please refer to Appendix C – Server Run Time Parameters.