The Add New Datasource form is customized for each supported database.
The procedure for the Oracle database is described below.
Add New Datasource
The first field in the form is the database selection.
Choose the Database Type from the drop down menu.
Select Oracle Database.
This entry is required.
Datasource Name
Choose a unique name for the data source.
This name cannot be changed after creation.
This entry is required.
-
Name restrictions:
-
max 64 characters.
-
First character must be uppercase or lowercase letter.
Besides that, allowed characters are the following:-
Uppercase letters (
A–Z) -
Lowercase letters (
a–z) -
Digits (
0–9) -
Underscores (
_) -
Hyphens (
-)
-
-
The following reserved names are not allowed: appds ejbcamail.
-
Database Host
-
Enter the IP address or FQDN of the external database host.
This entry is required. -
Enter the Port used by the database host.
This entry is required.
Adjust the default value using the arrows if necessary.
-
Select whether to access the database instance using the Site Identifier (SID)
or the Database Service Name.-
if SID is used
provide the Site Identifier associated with the database instance.
-
or provide the Database Service Name
-
-
JDBC Connection String Override
-
Use this field to override the JDBC connection string.
-
Only use this option for specific configurations that cannot be configured using the settings available in this form.
-
Be aware that any sensitive information included in the connection string may be written to the appliance log.
-
-
Database Authentication
-
Database Username
Enter the username used to connect to the database.
This entry is required. -
Database Password
Enter the password used to connect to the database.
This entry is required.
Additional Settings
-
Connector Properties
Here, additional properties must be defined that are to be passed to the JDBC connector via the connection URL.
The table contains two fields in which to enter the Name and the Value.
Click Add in the table to confirm.
Connectivity Check
-
A final test checks whether the Software Appliance can establish a connection to the database host using the specified settings.
Click Test Connection to verify.
If the test is successful, a table displays the following information:
-
Hostname
-
Server Version
-
Driver version
After verifying the information, complete the configuration.
Click Add Datasource to finalize.
A modal dialog asks to confirm the decision.
A warning is displayed.
Add Data Source Configuration
Any change to the data source configuration causes EJBCA to restart.
EJBCA is temporarily unavailable during the restart.
Click Confirm to add the new datasource.
The External Datasources are displayed in a table.
-
Datasource Name
-
Datasource Type
-
Status
-
Actions:
-
Edit
-
Remove
-
Edit Datasources
The corresponding form will open. After making the desired changes, click Update Configuration to confirm.
A confirmation dialog opens.
Any change to the datasource configuration triggers an EJBCA restart.
Check the box to confirm that this is the action desired.
Click Confirm to proceed.
Remove the Datasources Configuration
A modal dialog opens.
Be aware of the consequences.
-
Changing the datasource configuration in any way will restart EJBCA.
-
During the restart, the appliance will be temporarily unavailable.
-
Removing a datasource configuration that is still in use will cause the corresponding VA publishers to fail silently.
-
Ensure that the datasource is no longer in use before removing it.
-
Removing a datasource configuration cannot be undone.
After checking the individual boxes, click Confirm to proceed.