Rename ArcGIS Server Hostname

Note: This post is for ArcGIS Server 9.2 Java (any platform)

Did you ever install ArcGIS Server Java first and then go ahead and change the host name of the machine only to realize now the you will have to either re-install or run post install or contact support to fix ArcGIS Server.

Did you ever have an disk image with ArcGIS Server Java installed and configured, then you go ahead and ghost the image on many machines only to realize that all the hostnames are the same.

Don’t worry, In this post you will find information on what files has got the entries of the host name and for what purpose. This will also give you a good understanding of how ArcGIS Server Manager and Web Services Handler uses these configuration files.

Note: These files are for version 9.2, I will update the post shortly after the 9.3 is released.

The five files of concern are:

C:\Program Files\ArcGIS\server\system\Server.dat
C:\Program Files\ArcGIS\java\manager\service\tomcat\managerserver\webapps\arcgismanager\WEB-INF\classes\manager_client.properties
C:\Program Files\ArcGIS\java\web_output\services\WEB-INF\classes\arcgis_wshandler.properties
C:\Program Files\ArcGIS\java\manager\service\lib\manager_config.properties
C:\Program Files\ArcGIS\java\manager\config\applications\build\build.properties

1.  <ArcGIS Install Dir>\server\system\Server.dat

This files stores the actual name of the machine where the SOM is running. Also here the URL’s to the virtual directories such as the arcgisjobs, arcgisoutput and arcgiscache is set. If your ArcGIS Services are not previewing correctly in ArcCatalog or if the web service end point url’s are shown incorrectly than you should check this file. You can edit this file in any text editor, but once you make any changes to this file be sure to restart the ArcGIS Server processes (both ArcGIS Server Manager and  ArcGIS Server Object Manager).

2. <ArcGIS Install Dir>\java\manager\service\tomcat\managerserver\webapps\arcgismanager\WEB-INF\classes\manager_client.properties

I am not sure on the importance/functionality of this file, but this file has one hostname attribute to startup the manager web application with the correct host name.

3. <ArcGIS Install Dir>\java\web_output\services\WEB-INF\classes\arcgis_wshandler.properties

This is a pretty important configuration file. This file has all the details needed including the hostname of where the SOM is installed for the Web Services handler to initialize. So if you are unable to log into manager and also get an HTTP 503 error when you access the services wsdl (http://machinename:8399/arcgis/services?wsdl) then you need to make sure this file has the right entries. There is nice knowledge base article on this issue and here is the link.

4. <ArcGIS Install Dir>\java\manager\service\lib\manager_config.properties

This file defines a host name parameter to indicate to the manager tomcat instance as to where to start the new tomcat instance to host all the webapps (port 8399)

5. <ArcGIS Install Dir>\java\manager\config\applications\build\build.properties

This file both a URL and SERVER properties which has a hostname entry primarily used by the manager web application to deploy the web application.

Few tips to make your life easier:

  • If you are creating an image to ghost then instead of using the machinename try using localhost both during the install and post-install of ArcGIS Server. This way the image is portable and no changes are needed
  • If you are using Windows XP then make sure you have turned the built in firewall off (this prevents the DCOM from making the necessary connections) and also make sure the Simple File Sharing is turned off. This is enabled by default and you will have to manually turn this off, its best done i nthe image so that you will not have to do this for every ghosted machine. (How: My Computer -> Tools -> Folder Options -> View -> Advanced Settings -> All the way to the bottom)
Advertisements

19 Responses to “Rename ArcGIS Server Hostname”

  1. guilhem Says:

    It has been of great help. Thanks.

  2. tomaka Says:

    Hi
    For ArcGis Server 9.3, the last config file was mooved to :
    C:\Program Files\ArcGIS\java\manager\config\build.properties

    Another way to proceed is to change the machine hostname for 5 minutes, rerun the arcgis post install

  3. Christian Junk Says:

    Hi!

    I have to create a vSphere master image with ArcGIS Server 10. I would like to clone this image and change the hostname for each running machine. Do you know if I can use your ‘localhost’-trick?

    When I use ‘localhost’ during installation and post-install can I access ArcGIS server from other machines?

    Best regards,
    Christian

  4. Giuseppe Says:

    I always used to read post in news papers but
    now as I am a user of web so from now I am using net for content, thanks to web.

  5. www.sbwire.com Says:

    Incredible! This blog looks just like my old one!

    It’s on a entirely different subject but it has pretty much the same page layout and design. Excellent choice of colors!

  6. katalog www Says:

    This is really interesting, You’re a very skilled blogger. I have joined your rss feed and look forward to seeking more of your magnificent post. Also, I’ve shared your website in my
    social networks!

  7. Murray Says:

    I just could not leave your web site before suggesting that I extremely enjoyed the standard info a person supply
    on your guests? Is going to be again incessantly in order to investigate cross-check new posts

  8. christmas tree decorations Says:

    After looking over a handful of the articles on your web page, I
    honestly like your way of writing a blog. I saved as
    a favorite it to my bookmark website list and will be checking back in the near future.
    Take a look at my website as well and let me know what you
    think.

  9. http://brinks-alarm-system.com Says:

    Hey! I just wanted to ask if you ever have any issues with hackers?
    My last blog (wordpress) was hacked and I ended up losing many months of hard work due to no
    data backup. Do you have any methods to stop hackers?

  10. www.youtube.com/watch?v=u_2OfUyBz5U Says:

    Howdy would you mind letting me know which web host you’re utilizing? I’ve
    loaded your blog in 3 completely different browsers and I
    must say this blog loads a lot faster then most.

    Can you recommend a good internet hosting provider at a reasonable price?

    Many thanks, I appreciate it!

  11. cli.gs Says:

    It’s hard to come by well-informed people on this subject, however, you sound like you know what you’re talking
    about! Thanks

  12. Unknown Says:

    Hey I am so happy I found your blog page, I really found you by mistake,
    while I was looking on Askjeeve for something else, Anyhow I am here now and
    would just like to say many thanks for a fantastic post and a all round interesting blog (I also love the theme/design), I
    don’t have time to look over it all at the minute but I have saved it and also added in your RSS feeds, so when I have time I will be back to read a lot more, Please do keep up the great work.

  13. Mai Says:

    Wow, wonderful blog layout! How long have you been blogging for?
    you made blogging look easy. The overall look of your
    web site is wonderful, let alone the content!

  14. www.businessdevelopmentspecialists.com.au Says:

    WOW just what I was searching for. Came here by searching for cartoons kinder

  15. money exchanger Says:

    Hi! Someone in my Facebook group shared this site with us so I came to take a look.
    I’m definitely loving the information. I’m bookmarking and
    will be tweeting this to my followers! Fantastic blog and outstanding style and design.

  16. phen375 reviews Says:

    That is really fascinating, You’re a very professional blogger. I’ve joined your rss feed and sit up
    for in the hunt for more of your great post. Additionally, I have shared your website
    in my social networks

  17. Tristan Krenik Says:

    I wanted to write you one very little note to
    help give thanks the moment again for all the superb knowledge you’ve featured at this time.

  18. LysanneLezak@searchenginejet.cc Says:

    Some of the best research information on the internet at Jacqueline Friedberg.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: