Manage deployments
Learn to edit, scale, stop, start, and delete a deployment in the Oracle Cloud console.
Note:
You can use the GoldenGate REST APIs to manage your OCI GoldenGate deployments. For those familiar with Oracle GoldenGate, note that the Service Manager is not exposed in OCI GoldenGate and any calls made to Service Manager won't be able to return.Related Topics
View deployment details
Select a deployment from the Deployments page to view its details. On the deployment details page, you can launch the deployment console, view the deployment's status, which can be one of the following:
- Creating
- Updating
- Active
- Inactive
- Deleting
- Deleted
- Failed
- Needs Attention
Note:
If the deployment's status is Needs Attention, then the deployment health is less than 100%. Learn about OCPU management and billing.
From the Actions menu, you can:
- Launch Admin client for Data replication deployments.
- Edit
- Stop or Start
- Scale
- Collect diagnostics for Data replication deployments
- Upgrade
- Move
- Add tags
- Delete
You can also view deployment information, monitor the health of your deployment, manage assigned connections, view trail files, view deployment backups, upgrade your deployment, set up notifications, view logs, manage master key operations, manage truststore certificates, set up network security groups, view work requests, and manage tags. Read on to learn more about the information you can find in these sections and actions you can perform.
Details
You find the following information on the deployment Details page:
- In the General section, you can:
- View the deployment's OCID, compartment location, when it was created and last updated
- The deployment's current OCPU count and Auto scaling setting.
- View the Data replication deployment's storage utilization.
Storage utilization limit indicates how much file system space the
deployment is currently using.
Note:
You have starting hard limit of 500 GB per base OCPU. For example, for 4 base OCPUs, the hard limit 2 TB. If you exceed this hard limit, the service may be limited in functionality and performance.
Create alarms to notify you of this event. Manage trail files to free up space.
- View and edit the license type. You can choose:
- License included, to subscribe to a new software license for the service.
- Bring your own license (BYOL), to bring existing Oracle GoldenGate licenses to the service. Enable BYOL OCPU limit to control the number of OCPUs covered by BYOL. The minimum number of OCPUs covered is 2.
- View the Availability and Fault domain locations.
- In the Maintenance section, you can view and schedule the deployment's maintenance window.
- For Data replication deployments, in the Backups section, you can create or edit scheduled backups.
- In the GoldenGate section you can:
- View instance information such as Deployment type and name
- Show/Copy its console URL
- View the current deployment version
Note:
For Extracts performed on Db2 for z/OS systems, you must download the library file and install the Extract components to your system prior to running the Extract for the first time. - Edit a deployment username and/or password
- View or edit password secret, if using Vault
- In the Network section, you can:
- View/Edit the deployment's subnet
Note:
If you change the subnet, the deployment's Ingress IPs and Private IP also change. - View the Public and Private addresses
- Ingress IPs, if assigned connections' Traffic routing method is Shared.
- Load balancer information, if you enabled GoldenGate console
public access.
WARNING:
While you can manage this resource, ensure that you don't delete the load balancer while your deployment is still in use.
- View/Edit the deployment's subnet
Assigned connections
On the Assigned connections page of the deployment details page, you can view, assign, unassign, and test connections.
Assign a connection to a deployment
Tip:
If using connections with password secrets, the deployment you're assigning the connection to must be able to access the connection's password secrets. Ensure that you add the policy:allow dynamic-group
<identity-domain>/<dynamic-group-name> to read secret-bundles in <location>
to your compartment or
tenancy.
- On the deployment details page, 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.
Note:
If a connection with a dedicated endpoint remains unassigned for seven days, then the service converts it to a shared endpoint.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.
Unassign a connection
- On the Deployment details page, click Assigned connections.
- From the Actions menu for the connection you want to unassign, select Unassign.
- In the Unassign connection dialog, confirm that you want to unassign the connection from this deployment, and then click Unassign connection.
Note:
If a connection with a dedicated endpoint remains unassigned for more than seven days, then the service converts it to a shared endpoint.Test connections
After you assign connections to a deployment, test the connectivity to ensure the deployment can connect to them.
Test connection performs two types of tests: network-level and application-level. Network-level connectivity tests check that the host and port are reachable from the deployment, while application-level tests check that the credentials are valid by logging into the endpoint.
Some connections perform both tests, while others, such as Big Data connection types, don't currently support application-level tests. As long as your connection passes network-level connectivity tests, you can use your connection and start creating extract and replicat processes.
Before you test a connection, ensure that you first create and assign a connection to the deployment.
Trail files
On the Trail files page, you can view details such as size, sequence, producers, and consumers. In Data replication deployments, Trail files can build up over time and are major contributors to the Storage utilization number you see under Deployment information. Use this information to manage trail files.
Disaster recovery
On the Disaster recovery page, you can view and manage disaster recovery settings for peer deployments.
Upgrades
On the upgrades page, you can:
- View the deployment's upgrade history
- Copy the OCID of a build
- Upgrade to a newer build
- Snooze an upgrade
- Rollback an upgrade
- Reschedule an upgrade
- Cancel an upgrade
Upgrade a deployment
Ensure that you complete the Before you upgrade steps first.
When you upgrade a deployment,
- The deployment is stopped and then restarted after the upgrade completes.
- All Oracle GoldenGate processes are stopped and then restarted if they're configured to auto-start.
The upgrade takes a few minutes to complete. Click Upgrades on the deployment details page after the upgrade completes to view the upgrade history or if an issue is encountered during the upgrade process.
- Run the
UPGRADE HEARTBEATTABLE
command in Admin Client to add extra columns for tables and lag views. GoldenGate uses these extra columns to track the Extract restart position. Learn more. - In the deployment console, open the navigation menu for the Administration console, and then click Configuration. Connect to the database. When Heartbeat tables appear, select Upgrade from the Action menu.
Master encryption keys
On the Master encryption keys page, you can import and export Master encryption key wallets for Data replication deployments.
Truststore certificates
GoldenGate deployments can communicate with each other in a client-server manner. On the Truststore certificates page, you can manage Truststore certificates for the deployment.
Network security groups
On the Network security groups page, you can add and view Network security groups (NSGs). Adding network security groups gives you fine grained control over where the deployment can be accessed from within your subnet. Learn more.
Monitoring
On the Monitoring page, you can:
- View the overall health and deployment metrics.
- Enable/disable process and error logs for Data replication
deployments.
Note:
You can also enable, disable, and view Logs from the OCI Logging service in the Oracle Cloud console. - Set up contextual notifications and stay informed of deployment events.
Set up notifications
Receive messages when something happens with your deployment. Use contextual notifications in the Oracle Cloud console to create event rules and alarms for a deployment. Quick start templates are available. You can set up these notifications as an alternative or shortcut to creating alarms in the Notifications service.
allow group ContextualNotificationsUsers to manage alarms in tenancy
allow group ContextualNotificationsUsers to read metrics in tenancy
allow group ContextualNotificationsUsers to manage ons-topics in tenancy
allow group ContextualNotificationsUsers to manage cloudevents-rules in tenancy
Work requests
- Create
- Update
- Delete
- Move
- Restore
- Stop
- Start
- Patch
Tags
On the Tags page, you can view and manage tags for the deployment. Tags help you locate resources within your tenancy. Learn more about tagging.
Edit a deployment username
You can edit the credential store used to log into the deployment console.
Edit a password secret
- On the deployment details page, in the Deployment information area, under GoldenGate, click the password secret.
- On the password secret details page, in the Versions list, click Create secret version.
- In the Create secret version dialog:
- To select the new secret version, click Edit.
- In the Edit secret dialog:
- Enter a description.
- Select the new secret version.
- Click Save changes. The secret may take a minute to update and become active.
- To ensure OCI GoldenGate picks up the new password secret version, return to the deployment details page and click Edit next to the GoldenGate Username.
- In the Edit panel, click Save changes.
Edit license type
- On the deployment details page, for License type, click Edit.
- In the Edit license type panel, choose a license type:
- License included, to subscribe to a new software license for the service.
- Bring your own license (BYOL), to bring existing Oracle GoldenGate licenses to the service. Enable BYOL OCPU limit to control the number of OCPUs covered by BYOL. The minimum number of OCPUs covered is 1.
- Click Update.
Scale a deployment
You can scale a deployment up or down depending on the amount of Oracle Compute Units (OCPUs) you need. You can automate this process by enabling auto scale when you create or edit a deployment, or manually scale the deployment on the deployment's details page.
When you enable auto scaling, the deployment can scale up to three times more memory than the number of OCPUs currently shown in the Scale dialog. One OCPU is equivalent to 16 GB memory. If your workload requires additional OCPUS, then the deployment automatically uses the resources without any manual intervention required when auto scaling is enabled.
To see OCPU usage, you can view the OCPU Consumption graph in the Metrics section of the Deployment Details page in the Console.
If you don't enable auto scale, you can manually scale the deployment from it's deployment details page. To manually scale a deployment:
Collect diagnostics
Collect diagnostics to analyze or share information about your OCI GoldenGate deployment. The information collected can be shared with My Oracle Support if you encounter any issues.
Note:
This feature applies only to Data replication deployments.- On the Deployments page, select the deployment for which to collect diagnostics.
- On the deployment's Details page, from the Actions menu, select Collect diagnostics.
- In the Collect diagnostics panel, complete the following fields, and then click
Collect diagnostics:
Stop a deployment
When you stop a deployment, Oracle Cloud Infrastructure GoldenGate also stops. You won't be able to access the OCI GoldenGate deployment console while the deployment is stopped and you won't be billed until you restart it.
To stop a deployment:
When you stop a deployment, Oracle Cloud Infrastructure GoldenGate stops all active tasks. You can restart the deployment from the Deployments or deployment details pages.
Start a deployment
After the deployment is created, Oracle Cloud Infrastructure GoldenGate is automatically started. If you stop a deployment, you can restart it using the Start option in the deployment's Actions menu. When you start the deployment, billing also resumes.
To start a deployment:
The deployment starts and you can now launch the deployment console. Oracle resumes billing for the amount of Oracle compute units (OCPUs) used.
You can also configure Extracts and Replicats to automatically start when you start the deployment. For more information, see Configure managed processes.
Move a deployment
You can move a deployment from one compartment to another compartment.
After you move the deployment to the new compartment, inherent policies apply immediately and may affect access to the deployment through the Console. For more information, see Managing compartments.
Delete a deployment
When you delete a deployment, all active Oracle GoldenGate tasks within that deployment stop. Deleting a deployment doesn't remove references, such as checkpoint tables and Extract information, from the databases the deployment used. After a deployment is deleted, it cannot be restored.
To delete a deployment:
You may need to manually remove files that remain in the source and target databases after a deployment is deleted. For more information, see Files to be removed manually.