Creating the NIS user-schema geodatabase (Maritime Charting)

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

Creating the geodatabases

The Create Enterprise Geodatabase geoprocessing tool does the following:

  • Creates 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).

Schritte:
  1. Starten Sie ArcCatalog oder ArcMap.
  2. Öffnen Sie das Geoverarbeitungswerkzeug Enterprise-Geodatabase erstellen.

    Suchen Sie entweder im Suchfenster nach dem Werkzeug, oder öffnen Sie das Dialogfeld des Werkzeugs direkt über das Toolset "Geodatabase-Verwaltung" der Toolbox "Data Management".

  3. Wählen Sie aus der Dropdown-Liste Datenbankplattform den Eintrag Oracle aus.
  4. Stellen Sie die Informationen bereit, die erforderlich sind, um eine Verbindung mit der Oracle-Instanz herzustellen.
    • Wenn Sie den Oracle-Client bereits für die Verwendung eines TNS-Netzwerk-Alias konfiguriert haben, geben Sie den Netzwerk-Alias in das Textfeld Instanz ein.
    • Wenn Sie keinen Netzwerk-Alias für den Oracle-Client konfiguriert haben, geben Sie die Zeichenfolge "Oracle Easy Connection" in das Textfeld Instanz ein.

    Eine Liste der möglichen Werte finden Sie unter Datenbankverbindungen in ArcGIS for Desktop.

  5. Geben Sie das Kennwort für den sys-Benutzer in das Textfeld Datenbankadministratorkennwort ein.
  6. Type nis in the Geodatabase Administrator text box.
  7. Geben Sie ein Kennwort für den Geodatabase-Administrator in das Textfeld Geodatabase-Administratorkennwort ein.

    Wenn der von Ihnen angegebene Geodatabase-Administrator bereits in der Datenbank vorhanden ist, müssen Sie das richtige Kennwort für den vorhandenen Benutzer eingeben. Das Kennwort kann nicht mit diesem Werkzeug geändert werden. Wenn Sie einen SDE-Benutzer erstellen, wird das eingegebene Kennwort zum Erstellen des SDE-Benutzers verwendet.

  8. Geben Sie einen Tablespace für den Geodatabase-Administrator an.
    • Wenn Sie über einen vorkonfigurierten Tablespace verfügen, der für das Geodatabase-Repository verwendet werden soll, geben Sie seinen Namen in das Textfeld Tablespace-Name ein.
    • Wenn ein Tablespace vom Werkzeug erstellt werden soll, geben Sie einen gültigen Namen in das Textfeld Tablespace-Name ein, damit das Werkzeug einen Tablespace von 400 MB im Oracle-Standardverzeichnis erstellt. Wenn Sie keinen Tablespace-Namen eingeben, wird der Tablespace "SDE_TBS" erstellt und als standardmäßiger Tablespace für den SDE-Benutzer festgelegt.
  9. For example, type nis.

  10. Um eine Autorisierungsdatei anzugeben, wechseln Sie zu der Schlüsselcodedatei, die bei der Autorisierung von ArcGIS for Server Enterprise erstellt wurde, und wählen Sie diese aus.

    Diese Datei befindet sich auf Windows-Servern im Ordner "\\Programme\ESRI\License<Versionsnr.>\sysgen" und unter Linux in "/arcgis/server/framework/runtime/.wine/drive_c/Program Files/ESRI/License<Versionsnr.>/sysgen". Autorisieren Sie ArcGIS for Server, um diese Datei zu erstellen, sofern Sie dies nicht bereits getan haben.

  11. Klicken Sie auf OK, um das Werkzeug auszuführen.

Customizing ArcSDE initialization parameters

You need to configure the ATTRBUFSIZE ArcSDE parameter in the NIS user-schema geodatabase from the default value to 100,000 to support the updated NIS symbology.

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.

HinweisHinweis:

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

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

update nis.server_config set num_prop_value = 1 where prop_name = 'TCPKEEPALIVE'; 
update nis.server_config set num_prop_value = 100000 where prop_name = 'ATTRBUFSIZE';
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>:nis -u nis -p <nis_password>
sdeconfig -o alter -v ATTRBUFSIZE=100000 -i <service>:nis -u nis -p <nis_password>

Validating database objects

It is advisable to verify the NIS schema's objects in your database. Ensure that all the NIS 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 NIS schema are reported as invalid, you need to recompile them using the following SQL*Plus command as sys user.

HinweisHinweis:

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( 'NIS', compile_all => FALSE );

Creating spatial database connection files

Create spatial database connection files for the following users.

Schritte:
  1. Starten Sie ArcCatalog oder ArcMap.
  2. Double-click the Database Connections folder in the Catalog tree to expand it.
  3. Doppelklicken Sie auf Hinzufügen: Datenbankverbindung.

    Das Dialogfeld Datenbankverbindungen wird geöffnet.

  4. Choose Oracle from the Database Platform drop-down list.
  5. Stellen Sie die entsprechenden Verbindungsinformationen, wie unter Datenbankverbindungen in ArcGIS for Desktop beschrieben, bereit.
  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. Klicken Sie auf OK.
  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.

4/26/2014