Setting up multiple ArcSDE services on one Linux or UNIX server

If you have two separate geodatabases on the same server and are using an ArcSDE service, you must have separate ArcSDE services with unique service names and a separate port number in the services files.

This topic discusses setting up a second service when the ArcSDE application server is installed on the same server as the database. If it is not, see Starting a remote ArcSDE service on Linux or UNIX for service configuration instructions.

Steps:
  1. Make a dbinit.sde file for your second service. If you are using a dbinit.sde file for your first service, be sure the second file is named to include the name of the new ArcSDE service. For example, if the new service is sde2, name the dbinit file dbinit_sde2.sde.
  2. Update the new dbinit file, setting an ORACLE_SID connection variable to point to the Oracle SID of the second database.
  3. Add the name of the second service, its port number, and network protocol to the services.sde and /etc/services files.

    Make sure the port number selected is not already in use.

    For example, if your new service is sde2 on port 9999, add this entry to both files:

    sde2					9999/tcp

  4. Start the ArcSDE service for your second database using the sdemon command.
    sdemon –o start –i <name_of_second_ArcSDE_service> –p <ArcSDE_admin_password>
    
    TipTip:

    For more information on the sdemon command, see the ArcSDE application server installation guide provided with your download or installation media.

4/2/2015