Sun Java System Web Server 6.1 SP12 Administrator's Guide

ProcedureTo add variables for a remote server within your cluster

  1. From the Master Administration Server, and choose the Cluster Mgmt tab.

  2. Click the Add Variables link.

  3. Check the specific server you wish to add variables for.

  4. In the Name field enter the type of variable you are adding.

    For example: ”Port’.

  5. In the Value field enter the value you are adding.

    For example: if ”Port’ is entered in the name field, the value would be the port number.

  6. Click OK.

    A message appears confirming that the server variable was added.

  7. Click OK.

    Also add the variable to the server’s configuration file you are transferring to the slave. For example, if you are transferring the variable port, the variable should be declared in a server configuration file, say server.xml, as shown below:

    <SERVER legacyls="ls1" qosactive="no" qosmetricsinterval="30" 
    <LS id="ls1" ip="" port="$port" security="off" 
    acceptorthreads="1" blocking="no">

    You can set variables with different values for each slave in the configuration file. Once added, variables can edited and deleted using the drop-down Option list in the Add Variables page.