Referencing your Elastic Load Balancer in ArcGISServerStartUp.dat

To ensure that your ArcGIS Server configuration files recognize your Amazon Elastic Load Balancer (ELB), you must create an ArcGISServerStartUp.dat file and ensure it exists on each machine added to the ELB. This simple file contains the DNS name of your ELB and should be configured as described in the steps below. ArcGIS Server can read ArcGISServerStartUp.dat and make all necessary changes to its configuration files.

If you do not create the ArcGISServerStartUp.dat file, some operations in your Services Directory may not run as expected.

It does not matter whether you have already added the instance to the ELB when you perform the following steps. However, the ELB should exist and you should have noted or copied its DNS name from the AWS Management Console.

TipTip:

You should perform the following steps on your EC2 instance before you create a custom AMI for the instance. This ensures that ArcGISServerStartUp.dat exists and is identical on each instance you launch from your custom AMI.

Steps:
  1. Log into the EC2 instance.
  2. Open Windows Explorer and navigate to <ArcGIS Server installation location>\server\system.
  3. Create a new text file in this directory and save it as ArcGISServerStartUp.dat.
  4. Add the following to the text file:
    <StartUp>
        <LoadBalancer>
            <DNSName></DNSName>
        </LoadBalancer>
    </StartUp>
  5. In the <DNSName> tag, type or paste the DNS name of your ELB.
  6. Save the file.
  7. Stop the instance and start it again so that ArcGIS Server can detect the change.

1/30/2013