How To: Create and start a second geoprocessing service on a UNIX server
This document explains how to create and start a new geoprocessing service on a UNIX platform.
Create a new directory to be the new ARCHOME for the new geoprocessing service:
Code: unix% mkdir arcexe80.new
Copy the gpserver directory from the original ARCHOME to the new director:
Code: unix% cp -r $ARCHOME/gpserver arcexe80.new
Add symbolic links to all the directories in the original ARCHOME directory:
Code: unix% ln -s $ARCHOME/* arcexe80.new
Note: The gpserver directory already exist so no links will be created for it.
Open the arcexe80.new/gpserver/services.rqm file in a text editor and change the instance name and port number to unique values.
Open the /etc/services file in a text editor and add the new instance and port number. The new instance and port number must match the instance and port number in the arcexe80.new/gpserver/services.rqm file.
Change the environment variable ARCHOME to point to the arcexe80.new directory:
Code: unix% setenv ARCHOME /arcgis/arcexe80.new
Change the environment variable LD_LIBRARY_PATH to reflect the changes made to the ARCHOME variable: