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.
Steps:
- Make a copy of your dbinit.sde file, giving it a new name. This name must include the name of the new ArcSDE service. For example, if the new service will be sdeservice2, name the dbinit file dbinit_sdeservice2.sde.
- Update the new dbinit file with the proper DBMS connection variables (that is, ORACLE_SID).
- If you want to specify different geodatabase storage information for the second geodatabase, make copies of your giomgr.defs and dbtune.sde files, giving them different names. For example, you could name them giomgr2.defs and dbtune2.sde.
- Alter the contents of the new copies of the files to include the parameters and values with which you want your second geodatabase to be built. Based on the example given in the previous step, you would be altering giomgr2.defs and dbtune2.sde.
- Add the service name, port number, and network protocol to the /etc/services file. Make sure the port number selected is not already in use.
- Update the services.sde file with the new instance name, port number, and network protocol.
-
Run the sdesetup command to create the geodatabase in the second Oracle database and authenticate it using your ArcGIS Server Enterprise license file.
sdesetup –o install –d <ORACLE10G | ORACLE11G> –s <datasource> –l <license_key> –p <DB_admin_password>
-
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>
11/18/2013