JavaScript must be enabled to correctly display this content
Create data replication resources
Learn to create data replication resources, such as deployments and
connections, essential to getting started with Oracle Cloud Infrastructure GoldenGate.
Deployments let you create and organize Oracle Cloud Infrastructure GoldenGate
resources, and enables the OCI GoldenGate deployment console, where you can add and manage data
replication processes. You can create deployments for Oracle Database, Big Data, Db2 for
z/OS, Microsoft SQL Server, MySQL, and PostgreSQL sources or targets.
Before you begin
Before you create a
deployment, review the following requirements:
If you enable public deployment console access in Step 15, OCI GoldenGate creates a load balancer in your tenancy VCN on your behalf. To
ensure successful creation of the deployment and load balancer, you must have the appropriate policies, quotas, and limits in place.
In Oracle Cloud Infrastructure Identity and Access Management (OCI IAM)
enabled tenancies, Step 16 requires you to select the credential store you'll use to log
in to the deployment console.
Depending on your source and target technology types, you may need more
than one deployment. If you're not sure how many deployments you need for your solution,
see Example topologies for details.
To create a deployment:
In the Console navigation menu, click Oracle Database, and then
select GoldenGate.
On the Deployments page, click Create deployment.
In the Create deployment panel, enter a name and optionally, a description.
From the Compartment dropdown, select a compartment in which to create the
deployment.
For Choose a deployment type, select Data replication.
From the Select a technology dropdown, select one of the following technology
types:
Oracle Database
Big Data
MySQL
PostgreSQL
Microsoft SQL Server
IBM Db2 for z/OS
See what's supported to learn which
databases and technologies you can use as OCI GoldenGate sources and
targets.
For Version, the latest version is automatically selected. Click
Change version to select a different version.
Development or testing: Sets up a deployment
with recommended defaults for a development or testing environment. The minimum number
of OCPUs is 1.
Production: Sets up a deployment with
recommended default of 4 OCPUs with auto-scaling enabled for a production environment.
The minimum number of OCPUs needed is 3, with auto-scaling enabled.
For Select OCPU enter the number or
click Change shape to use the slider to choose the number of Oracle
Compute units (OCPUs) to use.
Auto scaling enables OCI GoldenGate to scale up to three times the number of OCPUs you specify for
OCPU Count, up to 24 OCPUs. For example, if you specify your OCPU Count as 2 and enable
Auto Scaling, then your deployment can scale up to 6 OCPUs. If you specify your OCPU
Count as 20 and enable Auto Scaling, OCI GoldenGate can only scale up to 24
OCPUs.
From the Subnet in <Compartment> dropdown, select the
subnet to which a private endpoint is created from the OCI GoldenGate service
tenancy. This ensures that the deployment is always available over this subnet, as long as
the policies for this subnet allow access.
To select a subnet in a different compartment, click Change
compartment.
Note:
You can only select a private subnet
when creating or updating a deployment.
Select a license type.
For GoldenGate instance name, enter the name that the deployment
will assign to the GoldenGate deployment instance upon creation.
For Credential store, select one of the following:
OCI Identity and Access Management (OCI IAM), to enable users
to log in to the the deployment console using their Oracle Cloud account (single sign
on) in IAM (Identity and Access Management) enabled tenancies.
Note:
Once you select IAM, you won't be able
to switch to GoldenGate when you edit the deployment settings at a later
time.
(Optional - applies only to Data Replication deployments) Select
Customize group to role mappings to map user groups to
specific GoldenGate roles. At minimum, you must assign the Security role
group to a user group. Learn more about Oracle GoldenGate user
roles and privileges.
GoldenGate, for GoldenGate to manage users.
Enter the Administrator username
Select a password secret in your compartment or click Change
compartment to select one in a different compartment. You can also create a
new password secret.
To create a new password secret:
Click Create password secret.
In the Create secret panel, enter a name for the secret, and
optionally, a description.
Select a compartment from the Compartment
dropdown in which to save your secret.
Select a vault in the current compartment, or click Change
compartment to select a vault in a different compartment.
Select an Encryption key.
Note:
Only AES keys, Software
protected keys, and HSM keys are supported. RSA and ECDSA keys are not
supported for GoldenGate password secret keys.
Enter a password 8 to 30 characters in length, containing at least
1 uppercase, 1 lowercase, 1 numeric and 1 special character. The special
characters must not be '$', '^' or '?'.
Confirm the password.
Click Create.
Note:
You can manage GoldenGate
users in the deployment console. Learn more.
(Optional) Click Show advanced options for network options and
to add tags.
In the Network tab,
Select Enable GoldenGate console public
access to include a public endpoint in addition to a private
endpoint, and allow public access to the deployment console for users. If
selected, OCI GoldenGate creates a load balancer in your tenancy to
create a public IP. Select a public subnet in the same VCN as this deployment in
which to create the load balancer.
Note:
The load balancer is a resource
that comes with an additional cost. You can manage this resource, but ensure
that you don't delete the load balancer while your deployment is still in use.
Learn more about load balancer
pricing.
Select Customize endpoint to provide a private fully
qualified domain name (FQDN) prefix that you'll use to access the private
service console URL. You can also optionally upload an SSL/TLS certificate
(.pem) and its corresponding private key, however, password protected
certificates are not supported.
It's your responsibility to ensure that the FQDN resolves to the
deployment's private IP address in the subnet you previously selected.
If the deployment is public, it's your responsibility to ensure
that the FQDN publicly resolves to the deployment's public IP address.
The services uses its own certificate, if you don't provide one,
and you may encounter security warning when launching the deployment
console.
Note:
Your SSL certificate must meet the following requirements:
It's common name should match the deployment's FQDN. If it
doesn't, you'll encounter warnings when you access the deployment
console.
It must be signed using a strong hashing algorithm. arcfour,
arcfour128, arcfour256, none algorithm types are not permitted.
It must not be expired.
It's maximum validity should not exceed 13 months.
It must not be a self-signed certificate.
If you encounter "Invalid Private Key" errors, you can
check the correctness of the key using the following OpenSSL commands. Run
this command against the
certificate:
In the Tags tab, add tags to help track the resources within
your tenancy. Click + Additional tag to add more tags. Learn more about tagging.
Click Create to create the deployment, or click Save
as Stack to save this configuration to Resource Manager.
If you select Save as stack, then the Save as stack panel opens, where you can
optionally provide a name and description for the stack and select the compartment to
save it in. Learn more about Resource Manager.
After the deployment is created and becomes Active, it starts automatically.
You can then select Launch console in the deployment's Actions
(three dots) menu on the Deployments page, or click Launch console on
the deployment details page to access the OCI GoldenGate deployment console.
Ensure that you create and assign connections to use with your deployment.
Assign a connection to a
deployment
Ensure that you have connections created for your source and target
technologies.
To assign a connection to a deployment:
On the deployment details page, under Resources, click
Assigned connections.
Click Assign connection.
In the Assign connection dialog, select a connection from the dropdown. If you
want to select a connection from a different compartment, click
Change Compartment.
Click Assign connection.
The selected connection appears in the Assigned connections list. You can also
view and manage this relationship from the Connection details page under
Assigned deployments.
When you assign a
connection to a deployment, GoldenGate removes disallowed characters from the name
you entered and trims it to 30 characters in length. The name must only contain
alphanumeric characters, and follow the alias pattern:
^[a-zA-Z][a-zA-Z0-9_#$]*$. If a connection with the same alias
is already assigned, a number is automatically added to the new alias
name.
Access the deployment
After you create the Data replication deployment and assign connections, you
can access the OCI GoldenGate deployment console from the deployment details
page.
To access the OCI GoldenGate deployment:
On the OCI GoldenGate Deployments page, select the Data replication
deployment.
On the deployment details page, click Launch
console.
Alternatively, you can copy the Console
url and paste it into your browser.
For an IAM-enabled deployment, you're prompted to give the application access
to get_groups. Click Allow to
continue.
For a non-IAM enabled deployment, on the log in page, enter the Administrator
username and Administrator password provided when you created the
deployment.
You can now explore the deployment console or start adding
Extracts, Replicats, and Paths to build your data replication solution.
Oracle customer access to and use of Oracle support
services will be pursuant to the terms and conditions specified in their Oracle
order for the applicable services.