Creating the product library user-schema geodatabase (Maritime Charting)

This workflow provides steps for creating the product library user-schema geodatabase.

Creating the geodatabases

The Create Enterprise Geodatabase geoprocessing tool does the following:

  • Creates the geodatabase administrator user and default tablespace (if not created manually)
  • Grants the geodatabase administrator privileges to create a geodatabase and drop database connections (if not granted manually)
  • Populates geodatabase system tables and stored procedures in the database
  • Authorizes ArcSDE using the ArcGIS Server Enterprise license file

To run the Create Enterprise Geodatabase tool, you must install an Oracle client on the computer where ArcGIS for Desktop is installed. You also need a valid ArcGIS for Server authorization file (.ecp).

Pasos:
  1. Iniciar ArcMap o ArcCatalog.
  2. Abra la herramienta de geoprocesamiento Crear geodatabase corporativa.

    Busque la herramienta en la ventana Buscar o abra el cuadro de diálogo de la herramienta directamente desde el conjunto de herramientas Administración de geodatabases, en la caja de herramientas Administración de bases de datos.

  3. Elija Oracle en la lista desplegable Plataforma de la base de datos.
  4. Proporcione la información requerida para conectar la instancia de Oracle.
    • Si ya configuró el cliente Oracle para usar un alias de red de TNS, escriba el alias del servicio Net en el cuadro de texto Instancia.
    • Si no ha configurado el alias de red del cliente Oracle, proporcione la cadena de caracteres Oracle Easy Connection en el cuadro de texto Instancia.

    Vea Conexiones de base de datos en ArcGIS for Desktop para una lista de posibles valores.

  5. Escriba la contraseña del usuario del sistema en el cuadro de texto Contraseña del administrador de la base de datos.
  6. Type pl in the Geodatabase Administrator text box.
  7. Escriba una contraseña para el administrador de geodatabase en el cuadro de texto Contraseña del administrador de la Geodatabase.

    Si el administrador de la geodatabase especificado ya existe en la base de datos, asegúrese de introducir la contraseña correcta del usuario existente; esta herramienta no cambiará la contraseña. Si está creando un usuario sde, la contraseña que escriba se usa al crear el usuario sde.

  8. Especifique un espacio de tabla para el administrador de la geodatabase.
    • Si tiene un espacio de tabla configurado previamente que se usará para el repositorio de la geodatabase, escriba su nombre en el cuadro de texto Nombre del espacio de tabla.
    • Si desea que la herramienta cree un espacio de tabla por usted, escriba un nombre válido en el cuadro de texto Nombre de espacio de tabla y la herramienta crea un espacio de tabla de 400 MB en la ubicación predeterminada de Oracle. Si no escribe un nombre de espacio de tabla, se crea el espacio de tabla SDE_TBS y se establece como el espacio de tabla predeterminado del usuario sde.
  9. For example, type pl.

  10. Para especificar un archivo de autorización, busque y seleccione el archivo de códigos clave que se creó cuando autorizó ArcGIS for Server Enterprise.

    Este archivo se encuentra en la carpeta \\Program Files\ESRI\License<release#>\sysgen en los servidores de Windows y /arcgis/server/framework/runtime/.wine/drive_c/Program Files/ESRI/License<release#>/sysgen en Linux. Si aún no lo hizo, autorice ahora ArcGIS for Server para crear este archivo.

  11. Haga clic en el botón Aceptar para ejecutar la herramienta.

Customizing ArcSDE initialization parameters

If users will connect to the enterprise geodatabase using an ArcSDE service, you need to configure the TCPKEEPALIVE ArcSDE initialization parameter to 1 (TRUE) for the master geodatabase and each user-schema geodatabase.

You may update these parameters directly in the SERVER_CONFIG table. Execute the following commands as the sys user in SQL*Plus.

NotaNota:

Changes do not take effect until the ArcSDE service has been restarted.

update pl.server_config set num_prop_value = 1 where prop_name = 'TCPKEEPALIVE';
commit;

Alternately, the following command can be run at the command prompt of a machine where the ArcSDE administration command line tools are installed.

sdeconfig -o alter -v TCPKEEPALIVE=TRUE -i <service>:pl -u pl -p <pl_password>

Validating database objects

It is advisable to verify the product library schema's objects in your database. Ensure that all the product library schema's procedures, packages, and triggers are valid and all the related constraints are enabled. Execute the following query as the sys user in SQL*Plus.

select * from dba_objects where status != 'VALID';

If any objects owned by the product library schema are reported as invalid, you need to recompile them using the following SQL*Plus command as sys user.

NotaNota:

The compile_all => FALSE option compiles only invalid objects, whereas TRUE, which is the default, will compile all objects regardless of status.

exec dbms_utility.compile_schema( 'PL', compile_all => FALSE );

Creating spatial database connection files

Create spatial database connection files for the following users.

Pasos:
  1. Iniciar ArcMap o ArcCatalog.
  2. Double-click the Database Connections folder in the Catalog tree to expand it.
  3. Haga doble clic en Agregar conexión de base de datos.

    Se abre el cuadro de diálogo Conexión de base de datos.

  4. Choose Oracle from the Database Platform drop-down list.
  5. Proporcione la información de conexión correspondiente como se describe en Conexiones de base de datos en ArcGIS for Desktop.
  6. You can enter the Oracle Net service alias if it has been configured, or the Oracle Easy Connection string.

  7. Click the Authentication Type drop-down arrow and choose Database authentication.
  8. Type the user name and password.
  9. Haga clic en Aceptar.
  10. Right-click the existing connection and click Geodatabase Connection Properties.
  11. Choose the user-schema geodatabase from the Schema drop-down list.

    This automatically connects you to the <user>.DEFAULT transactional version.

    For the convenience of all other users, this connection file can be moved to a central location from where it can be accessed.

5/9/2014