Skip to main content

Clean Setup with Oracle RAC

If you are setting up a new Key Manager Server against a database provided by Oracle RAC, ssh-mgrsetup must be run in non-interactive mode (by providing the required settings in the command).

Oracle RAC connection parameters must be provided with --db-name in connect descriptor format. Also note that you must not provide the database URL with --db-host nor --db-port.

Example ssh-mgr-setup command for Oracle RAC:

# /opt/sshmgr/bin/ssh-mgr-setup --install-dir=/opt/sshmgr --db-type=Oracle \
--fqdn=keymanager.example.com --superuser-password=example-password \
--db-name='(DESCRIPTION = (FAILOVER=on)(LOAD_BALANCE=off)
(TRANSPORT_CONNECT_TIMEOUT=5)(CONNECT_TIMEOUT=5)(RETRY_COUNT=10)
(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = oraclerac1.example.com)
(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = oraclerac2.example.com)
(PORT = 1521)))(CONNECT_DATA = (SERVER = DEDICATED)
(SERVICE_NAME = oracleracdb)))' \
--db-user=database_username --db-user-password=example-password \
--encryption-passphrase=example_passphrase --accept-eula

Replace the example values as appropriate for your environment. Particularly, note that the connect descriptor for your Oracle RAC may require completely different parameters than shown in the example.

note

For more information about the options supported by ssh-mgr-setup, run:

# /opt/sshmgr/bin/ssh-mgr-setup --help