Register an Oracle On-Premises Database
You can use the Oracle On-Premises Databases wizard to register an Oracle On-Premises database as an Oracle Data Safe target database.
Note:
Be sure to complete the preregistration tasks before using the wizard and the post registration tasks after using the wizard.Preregistration Tasks for an Oracle On-Premises Database
The following table lists the preregistration tasks.
Task Number | Task | Link to Instructions |
---|---|---|
1 | In Oracle Cloud Infrastructure Identity and Access Management (IAM), obtain permissions to register your target database. | Permissions to Register an On-Premises Oracle Database with Oracle Data Safe |
2 | Create an Oracle Data Safe service account on your target database and grant it Oracle Data Safe roles. Create the service account as the SYS
user.
|
Create an Oracle Data Safe Service Account on Your Target Database Grant Roles to the Oracle Data Safe Service Account on Your Target Database |
3 | (Optional) If you plan to connect to the target database via an Oracle Data Safe private endpoint and want to configure a TLS connection, create a wallet or certificate. |
Run the On-Premises Oracle Databases Wizard
This is the on-premises Oracle Database registration workflow in the wizard:
Step 1: Target Information
- On the Overview page in the Oracle Data Safe service, find the Register Oracle On-Premises
Databases tile and click Start
Wizard.
The wizard displays the Data Safe Target Information form.
- At DATA SAFE TARGET DISPLAY NAME, enter a target display name that is meaningful to you. Data Safe uses this name in its reports. All characters are accepted. The maximum number of characters is 255.
- At COMPARTMENT, use the drop-down menu to select the compartment where you want to store the target database.
- (Optional) In the DESCRIPTION field, add a description that is meaningful to you.
- At DATABASE SERVICE NAME, enter the service name of the PDB or CDB.
- Perform this step if you did not
already granted roles to the database user in the preregistration
tasks.
Click Download Privilege Script and save the
datasafe_privileges.sql
script to your computer. The script includes instructions on how to use it to grant privileges to the Oracle Data Safe service account on your target database. You should also refer to the preregistration task Grant Roles to the Oracle Data Safe Service on a Non-Autonomous Database for some additional details. - At DATABASE USERNAME and DATABASE PASSWORD, enter the name and password of the user you created in the preregistration tasks. If the user name is mixed case, enclose it in double-quotes (" "). Oracle Data Safe uses this account to connect to the target database.
- Click Next.
Step 2: Connectivity Option
If you have FastConnect or VPN Connect set up between your on-premises network and a virtual cloud network (VCN) in Oracle Cloud Infrastructure, you can register an on-premises Oracle database with Oracle Data Safe by using an Oracle Data Safe private endpoint.
Step 3: Select Peer Database
If you're registering an Active Data Guard associated database then you can add the standby databases at this step. If you're not registering an Active Data Guard associated database, then skip this step by clicking Next.
- Click Add row on the Add additional
Data Guard peer database(s) (Optional) page.
It is also possible to register standby databases after the primary database has been registered. See Manage Peer Databases Associated with a Registered Active Data Guard Primary Database for more information.
- Enter the following information for the peer databases:
- Peer display name
- Database service name
- Database IP address
- Database port number
- TCP/TLS
- Add more peer databases by clicking Add row.
- Click Next.
If you selected
Private Endpoint
in Step 1, the wizard proceeds to Step 4: Add security rules.If you selected
On-Premises Connector
in Step 1, the wizard takes you directly to Step 5: Review and submit.
Step 4: Add Security Rule
An ingress rule is not needed in the Oracle Data Safe configuration for a on on-premises target database. If you already created the necessary egress rule, you can choose to skip this step.
See Also:
For more information about security lists and network security groups, see Access and Security in the Oracle Cloud Infrastructure documentation.Step 5: Review and Submit
In this step, the wizard displays the configuration you entered in Step 1: Target Database Information, Step 2: Connectivity Option, and Step 3: Security Rules.
- Review the information on this page.
- Click the checkbox, I ACKNOWLEDGE THAT CHARGES MAY APPLY FOR THIS ON-PREMISES TARGET DATABASE.
- If all of the settings are correct, click Register. If not, click Previous to return to any of the earlier steps, or click Cancel.
Step 6: Registration Progress
Important:
Do not click the Close button in the wizard, sign out of OCI, or close the browser tab until the wizard shows that all of the tasks listed are resolved. If you close prematurely, then the information for all of the tasks that have not yet been completed is lost and the target database is not registered.After You Submit the Registration
The wizard presents the Target Database
Details page when the registration submission is
finished. On this page, you can again review the registration
details. The wizard displays the NEEDS_ATTENTION
icon if a task must be performed or corrected before the process is
complete. A hint message indicates the pending task. You can make
the necessary changes in the tabs that are available. When you save
your changes, the UPDATING
icon is displayed. If
there is no further work to do, the registration completes.
Post Registration Tasks for an Oracle On-Premises Database
The following table lists tasks that you need to complete after you run the Oracle On-Premises Database wizard.
Task Number | Task | Link to Instructions |
---|---|---|
1 |
(If you are using an Oracle Data Safe on-premises connector) Download the install bundle for the on-premises connector and then install the on-premises connector on a host machine on your network. |
Create an Oracle Data Safe On-Premises Connector |
2 | (If you are using a TLS connection and an Oracle Data Safe on-premises connector) Configure a TLS connection between the on-premises connector and your target database. | Configure a TLS Connection Between the On-Premises Connector on Your Host Machine and Your Oracle Database |
3 |
(Optional) Change which features are allowed for the Oracle Data Safe service account on your target database by granting/revoking
roles from the account. You need to be the |
Grant Roles to the Oracle Data Safe Service Account on Your Target Database |
4 |
(Optional) Grant users access to Oracle Data Safe features with the target database by configuring policies in Oracle Cloud Infrastructure Identity and Access Management. |
Create IAM Policies for Oracle Data Safe Users |
5 |
Make sure to allow ingress traffic to your target database from the Oracle Data Safe private endpoint or Oracle Data Safe on-premises connector. |
(none) |
6 |
(If you are using an on-premises connector) Note: Oracle Recommendation: Ensure that only the on-premises client can connect to your on-premises Oracle database by specifying insqlnet.ora parameter called
INVITED_NODES the clients that are allowed to
access your database.
|
TCP.INVITED_NODES(Oracle Database Net Services Reference guide) |