English

How To: Reconfigure ArcGIS Server 9.2 .NET after the host name has been changed

Summary

Instructions provided describe how to reconfigure ArcGIS Server for the Microsoft .NET Framework after the host name of the computer has been changed.

Note:
For ArcGIS Server Java installations on Unix and Windows, a re-install of the software is required when the server host name has been changed.

Procedure

  1. Change the host name of the computer.
  2. Restart the computer.
  3. Run the 'Web Applications Post Install' from Start > Programs > ArcGIS > ArcGIS Server for the Microsoft .NET Framework > Web Applications Post Install.
  4. Ensure the new host name is entered in the 'GIS Server' text box.
    [O-Image]

  5. Click Next.
  6. Click 'Existing Local or Domain Account'. Change the host name to the new host name as shown below, if necessary.

    If the password is not automatically populated, be sure to enter the valid password for the ArcGISWebServices account.
    [O-Image]
  7. Click Next.
  8. Click Next.
  9. Click Finish.
  10. Restart the 'IIS Admin Service' Windows Service.
  11. Restart the 'ArcGIS Server Object Manager' Windows Service.
  12. Log in to ArcGIS Server Manager.
  13. Click the 'GIS Server' tab.
  14. Click 'Add Host Machine'.
  15. In the 'Name' field, enter the new host name of the machine.
  16. Click the 'Update' icon, which is the icon with the check mark in the green circle.
  17. Click the 'Services' tab.
  18. Click the '+' beside each existing service to ensure they preview.

    Note:
    If the services do not preview, click the Edit button (pencil icon) for the service. Click 'Parameters' on the left. Using the 'Map Document:' drop-down menu, select the correct .mxd file listed under the new machine name. When done, click Save. Select the service and click Start. This procedure needs to be done for each service.

  19. When all the services are modified and previewing correctly, close ArcGIS Server Manager.
  20. Open the following file in a text editor, such as Notepad.

    C:\Inetpub\wwwroot\ArcGIS\Manager\Applications\App_Data\Sites.xml


    Note:
    This location maybe different if IIS is setup in a non-default location.

  21. In each Web application configuration block, modify the <Host> and <Author> lines to match the new host name. Below is an example of the text showing where the new host name needs to be entered.
    Code:
    <Site>
    <Name>Sample</Name>
    <Host>new_hostname</Host>
    <Path>c:\inetpub\wwwroot\Sample</Path>
    <Author>new_hostname\ArcGISAdmin</Author>
    <LastModified>2008-03-06T11:55:14.1895136-08:00</LastModified>
    <Description />
    </Site>

  22. Save and close the Site.xml file.
  23. Log in to ArcGIS Server Manager.
  24. Click the 'Applications' tab.
  25. Click the '+' beside each existing service.
  26. The Web application(s) need to be associated with the new services. To associate the Web application(s) with a new service, following the steps below:

    A. Click the Edit button (pencil icon) for the Web application.
    B. Click the 'Layers' option on the left.
    C. In the 'Available Services:' text box, remove the old connection.
    D. Click the 'Add GIS Server' button and select the proper connection type, for example, ArcGIS Server Local.
    E. Enter the new host name of the machine in the 'Host:' text box.
    F. Click the 'Add Server' button.
    G. Remove any services, referencing the old host name, listed on the 'Selected Services:' pane.
    H. Expand the new connection and select the appropriate service(s).
    I. Click the Add.
    J. Click Finish.

    Note:
    This procedure needs to be done for each Web application.