Académique Documents
Professionnel Documents
Culture Documents
January 2017
Documentation for system administrators and database
administrators that describes how to work with the
components of Oracle GoldenGate Cloud Service to manage,
troubleshoot and perform other administrative operations on
these services.
Contents
Preface ................................................................................................................................................................. v
Audience ........................................................................................................................................................ v
Documentation Accessibility ...................................................................................................................... v
Related Resources ......................................................................................................................................... v
Conventions.................................................................................................................................................. vi
1-1
1-3
1-6
1-7
1-8
1-9
2-1
2-1
2-2
2-2
2-3
iii
3-1
3-3
4-1
4-3
4-4
4-4
4-6
4-8
5-1
5-2
Why Is Oracle GoldenGate Cloud Service set up with Oracle Database Cloud Service?..............
What are the benefits of using your current Oracle GoldenGate installation with Oracle
5-2
5-2
5-2
5-3
iv
6-1
6-2
Passphrase? ..........................................................................................................................................
6-2
Preface
Topics:
Audience
Documentation Accessibility
Related Resources
Conventions
Using Oracle GoldenGate Cloud Service explains how to provision Oracle GoldenGate
Cloud Service instances, and ensure reliable functioning of provisioned service
instances. This document explains how to perform these tasks by using the Oracle
GoldenGate Cloud Service web interface.
Audience
This document is intended for database administrators, or application developers who
are setting up or using Oracle GoldenGate Cloud Service. This guide assumes you're
familiar with web technologies and have experience with Oracle GoldenGate
environments.
Documentation Accessibility
For information about our accessibility commitment, visit the Oracle Accessibility
Program website at http://www.oracle.com/pls/topic/lookup?
ctx=acc&id=docacc.
Access to Oracle Support
Oracle customers have access to electronic support through My Oracle Support. For
information, visit http://www.oracle.com/pls/topic/lookup?
ctx=acc&id=info.
Related Resources
For more information, see these Oracle resources:
Oracle Public Cloud
Getting Started with Oracle Cloud
Oracle Database Cloud Service
Conventions
The following text conventions are used in this document:
vi
Convention
Meaning
Boldface
Italic
Monospace
1
Getting Started with Oracle GoldenGate
Cloud Service
This section describes how you can get started with Oracle GoldenGate Cloud Service.
Topics:
About Oracle GoldenGate Cloud Service
About the Components of Oracle GoldenGate Cloud Service
About the Interfaces to Oracle GoldenGate Cloud Service
Replication Configuration Templates
Before You Begin with Oracle GoldenGate Cloud Service
Oracle GoldenGate Cloud Service Console
Oracle GoldenGate Cloud Service Terminology
Accessing Oracle GoldenGate Cloud Service
Typical Workflow for Using Oracle GoldenGate Cloud Service
Note:
The source databases include Oracle Databases 11g and 12c, MySQL 5.6,
DB2 z/OS On-Premise, and Oracle Database Cloud Service instances.
The target replication database is an Oracle Database Cloud Service
instance.
DB 12.2 delivery with no features is certified.
With GoldenGate Cloud Service metered pricing, MySQL Database Cloud
Service is supported.
Oracle GoldenGate supported databases use VPN connection.
Oracle GoldenGate for Oracle, MySQL, and SQL Server uses SOCK5 Proxy
connection.
Certified on Oracle Fast Connect and Corente VPN, allowing to secure
your data delivery over the network with VPN connections to on-premises
GoldenGate servers.
Bi-directional replication of cloud data in the cloud now includes the Conflict
Detection and Recovery (CDR) feature of GoldenGate.
The following image illustrates the bi-directional replication from cloud to cloud.
Corente allows you to provision and manage global private networks connecting to
any site, over any IP network, in a secure, centralized, and simple manner.
The components of Oracle GoldenGate Cloud Service are described in the following
sections.
My Account and My Services
Oracle GoldenGate Cloud Service Console
Oracle Database Cloud Service and Console
Oracle Storage Cloud Service
Oracle Compute Cloud Service and Console
Oracle GoldenGate Cloud Control Console
WebLogic Server Administration Console
My Account and My Services
My Account is for order management. It allows you to complete orders, initiate cloud
service provisioning, activate paid services and trial requests. You use My Account to
request for GoldenGate Cloud Service.
My Services Dashboard lets administrators operate all active services within a single
identity domain. It gives you dashboards and administrative tools for your services.
You can manage and access all your Oracle Cloud Services from this link.
The following table summarizes the key interfaces to Oracle GoldenGate Cloud
Service:
Interface
Description
More Information
Oracle
Enterprise
Manager
(OEM)
GoldenGa
te
Monitor
plug-in
Oracle
GoldenGa
te Cloud
Control
Console
WebLogic
Server
Administr
ation
Console
Provision an Oracle
GoldenGate Cloud Service
Instance
WebLogic Server
Administration Console
Web
browser
Service
Console
Secure
Shell
(SSH)
Description
MGR.prm
EXTIN.prm
File
Description
PUMP.prm
ADD_EXTRAC
T.oby
REPCO.prm
REPIN.prm
ADD_REPLICA
T.oby
The following table describes other files that are included in the GoldenGate Cloud
Service structure:
File
Description
README
CREDENTIAL_
STORE_SETUP.
sh
SSH_SOCK5_SE
TUP.sh
GLOBALS
Description
Description
Locate your account details in the postactivation e-mail that you received from
Oracle Cloud when your user account was set
up. If you don't have your New Account
Information e-mail, contact your account
administrator.
A Supported Browser
2.
3.
Click the Sign Up link. The Create Your Oracle Account page opens.
4.
Enter your account and personal information into the appropriate fields. Be sure
to complete all required fields.
Note:
We prefer that you use a valid business email address as the user name for
your Oracle account. Valid email addresses use the following standard
format:
user-name@company-name.com
Only one account can be created for each business email address.
Your password must have at least eight characters, must contain both
uppercase and lowercase letters, and must contain at least one number.
5.
Click Create. We create your account and send you a confirmation email to the
address you used to create the account.
6.
To verify the status of your email address, follow the instructions in the email.
After your email address is verified, you can use your Oracle.com account to register
for Oracle Cloud services. See Accessing Oracle GoldenGate Cloud Service
Follow this steps through the tutorial Get Started with Oracle GoldenGate Cloud
Service
In My Services Dashboard, click the Database menu and then click Open Service
Console
a.
If you are creating your first instance, you get a Welcome page, there click
either the Services button or the Go to console link.
b.
If you have instances created, then you go direct to the Services page, there
click the Create Service button.
Steps
Valid selections
Service
Specify the value of the SSH public key, or the name of the file that contains the
public key value.
This key is used for authentication when connecting to the Oracle GoldenGate
Cloud Service instance using an SSH client.
To display the public key input for VM access, click Edit and specify the public key
using one of the following methods:
To select a file that contains a Secure Shell (SSH) public key to assign to this
service instance, select Key File Name.
To associate the value of an existing SSH public key with this service instance:
Select Key Value and then copy and paste the value.
Click Create a New Key to create a public and private key file, zipped, and
ready for you to save both files on your computer. This option saves the public
key information for the service instance.
Click Enter.
Get more information on: Create a New, or Use an Existent SSH Key Pair
Details
Compute Shape: The compute shape specifies the number of Oracle Compute
Units (OCPUs) and amount of memory (RAM) for the virtual machine (VM)
hosting the new service instance.
General compute shapes: OC3, OC4, OC5, OC6, and high memory compute
shapes: OC1M, OC2M, OC3M, OC4M are allowed.
Usable Database Storage (GB): The amount of storage you want for your
database. The minimum value you can enter is 15GB.
Total Data File Storage (GB): This field is updated reflecting the amount of
storage allocated to your instance. You can add more data storage as needed,
any time.
Administration Password: Enter your choice of password following the tooltips
about allowed passwords, then Confirm Password.
DB Name (SID): The unique database name that identifies it on the server, is
known as the service name or System ID (SID).
PDB Name: Only when using Oracle Database 12c, you provide a Pluggable
Database (PDB) name. A PDB is a portable collection of schemas, schema
objects, and non-schema objects that can be used with the multitenant
architecture of Oracle Database 12c.
Depending on your needs, you can opt for Backup and Recovery. To learn how to
configure this section, review Backup and Recovery Configuration.
You can create a storage container, in case you dont have one, by clicking in the
Create Cloud Storage Container checkbox.
Select the Enable Oracle GoldenGate option, then, when you create the Oracle
GoldenGate Cloud Service instance, choose this Database Cloud Service instance
for the associated database.
You can deselect Include "Demos" PDB to save some database space. Selecting this
option configures several PDB demos in the database with the service instance
creation. These demos are for 12c new features.
Confir
mation
The following table lists database options to use as source and target.
Replication Options
Note:
Final considerations
When you create an Oracle GoldenGate Cloud Service instance, you choose
an Oracle Database Cloud Service instance that youve already created. This
instance corresponds to what you want your GoldenGate Cloud Service VM to see
and connect to seamlessly. This instance has to be in the same identity domain as
the Oracle GoldenGate Cloud Service instance, and it has to be up and running.
Avoid using the same Oracle Database Cloud ServiceOracle Database Cloud
Service instance for multiple Oracle GoldenGate Cloud Service instances. Instead,
create one Database Cloud Service instance for each cloud database in your
replication topology.
Theres a way to ensure that you can restore the database for an Oracle GoldenGate
Cloud Service instance without risking data loss. You're responsible for ensuring
that the service instance is in a consistent state after the service instance is restored.
Is highly recommended to use a separate Database instance for GoldenGate Cloud
Control repository, which is not same as replication source and target.
Follow these steps through the tutorial Get Started with Oracle GoldenGate Cloud
Service
you can select an Oracle Storage Cloud Service you already have or you can create a
new one.
If you want to create a container before provisioning your GoldenGate Cloud Service,
you must have an active subscription to Oracle Storage Cloud Service.
To get your subscriptions, follow the next steps:
1.
2.
Activate and verify the service. See Activating Your Subscription For an Oracle
Cloud Service in Getting Started with Oracle Cloud.
3.
Select the Both Cloud Storage and Local Storage option from the Backup
Destination list, this option is actually Cloud Storage Only and youll get a backup
on Oracle Storage Cloud Service. This option provides no backup on Disk Storage.
Name of an Oracle Storage Cloud Service container in the format: Storage<identity domain name>/<container name> where <container name>
is the name of the container you want to create or the one you already have.
User name and password for the Oracle Storage Cloud Service user who has read/
write access to the container. The user has the format: Storage<identityDomainID>:<account-emailId>
If you dont have any Cloud Storage Container Created, then select the Create Cloud
Storage Container check box, to have the wizard create the container for you.
The Total Estimated Monthly Storage (GB) field is updated to reflect the amount of
storage in GBs that is estimated for your instance as configured, including data files
and backup storage.
For more information about creating a container in Oracle Storage Cloud Service, see:
Creating Containers in Using Oracle Storage Cloud Service
Follow this steps through the tutorial Get Started with Oracle GoldenGate Cloud
Service
Sign in to the Oracle Cloud Services through the URL on your signing-mails
a.
b.
You activate the service by clicking a button from within the e-mail or by
signing into your Cloud Account. This action requires you to enter your
Oracle.com account/password.
c.
When the service is activated, you get a second e-mail with your user name,
temporary password, and link to My Services.
Note:
The My Services URL includes the data center. If you access My Services by
clicking this URL from within the e-mail, then you are taken directly to your
My Services URL.
Heres an example: (https://myservices.us2.oraclecloud.com/
mycloud/faces/dashboard.jspx).
d.
2.
b.
c.
In the Cloud Account box, from the Select Data Center drop-down list, select
your location.
d.
Click My Services.
e.
On the Sign In to Oracle Cloud page, enter your sign-in credentials (Identity
Domain, user name and password).
2. To open the Oracle GoldenGate Cloud Service Instance Detail page, you click the
4. To view a help topic for a page, click the logged in user menu icon, select Help, and
If you dont have access to the My Services application, then contact your
administrator for the service console URL.
For more information, see Get Started with Oracle GoldenGate Cloud Service.
Section
Description
Database
Compute
Database Backup
Storage
GGCS
Notifications
You can monitor your services through the warnings you may encounter in your
dashboard.
Element
Description
When finding this message you have one or more instances over the limit,
so the service will turn into quota breach/suspended state, then you are
not allowed to create more instances.
To solve this issue, you can arise the limit by purchasing amount or
defining a new limit amount.
Through the provision step, you configure your instance and you tune it to let it
ready for start using it. This step is the most important before start replicating.
Get Detailed Information About an Oracle GoldenGate Cloud Service Instance
Through the detail page, you can review all the services one by one. You can check
the configuration in which a service is working and make any needed changes.
Configure Access Rules
Your access rule are the key to control your network access. On this step, you
decide about how this access is being administered.
Update the SSH Access Key
For extra security, you have to know how to update your SSH Access Key.
Through this action, you can administer your ssh keys in an easy way.
Search Activity Log
By reviewing the activity log, you can see what had happened during the life cycle
of any of your instances. With this information, you can have enough information
for the administration of your services.
Delete an Oracle GoldenGate Cloud Service Instance
You can remove any unnecessary service to stop be billed for it. This action gets
you the control to administer your quota.
Get access to the GoldenGate Cloud Control Console and the WebLogic Server
Administration Console.
Definition
Change Data
Capture (CDC)
Collector
Data pumps
Data pumps are secondary Extract mechanisms that exist in the source
configuration. They are optional components. If a data pump isnt used,
then Extract sends data through TCP/IP to the remote trail on the target.
When a data pump is configured, the primary Extract process writes to the
local trail. The data pump reads the trail, and data is sent over the network
to remote trail on the target system.
Data source
A data source is the data you can obtain directly from the database
transaction logs.
Datastore
DDL
DDL is the Data Definition Language used to define objects and artifacts
within a database.
Term
Definition
Deployment
Profile
ER
Extract
FCP
Identity Domain
Manager
Manager is a process that must be running on both the source and target
systems before the Extract or Replicat process can be started. It also
performs various functions including starting other GoldenGate processes,
managing the trail files, and reporting.
Monitoring
Profile
Oracle
GoldenGate
Cloud Service
Oracle
GoldenGate
Cloud Service
Instance
POC
Profile
Profiles are used for and will be specific to Deployments and Monitoring.
A single solution may have multiple profiles.
Provisioning
Replicat
Term
Definition
Replication
Node
Resource
Resources include:
Hosts
Datastores
OGG Instances
Credentials
Files
Scheduling
Profile
Solution
Source
A source is anything that OGG 12c can extract from including: Database
(e.g. direct DB access for initial load), Transaction Log File, Local Trail File
(UDF), OGG Vendor Access Module (VAM), JMS Queue. Considering that
one source can have multiple targets.
Target
A target is the location for the replicated data. Targets will include:
Database, Local Trail File (UDF, ASCII, SQL, XML), Remote Trail File
(UDF, ASCII, SQL, XML), JMS Queue and, Custom User Exit. Considering
that one target can have multiple sources.
Trail
Description
More Information
Create an oracle.com
account.
Task
Description
More Information
Purchase a subscription
to the following services:
Oracle Database
Cloud Service
Oracle Cloud Storage
Oracle GoldenGate
Cloud Service
To create a service
instance, use the Create
New Oracle GoldenGate
Cloud Service Instance
Wizard
Configure Replicat
Configuring Replication
Task
Description
More Information
Configure an Extract
process and data pump
Do not change the u01 directory. Instead, perform all your tasks in the u02
directory.
Before you start using these files, update a few entries in the .oby, and .prm files.
Replicat parameter file (.prm)
-################################################################
###
-- Runcmd: ADD REPLICAT <REPLICAT name>, INTEGRATED EXTTRAIL
<trail file path/two -- character trail id>
-- Name of the Replicat process. Limited to 8 characters.
--GGCS Added default REPLICAT name
REPLICAT REPIN
2.
You have to update the bold text with actual values, as indicated on the
comments.
be a pre-created user. In the other case, you have to manually create the user you
want (for example, REPUSER) by connecting from GoldenGate VM and give the
required privileges as below.
SQL>exec
dbms_goldengate_auth.grant_admin_privilege('REPUSER',containe
r=>'PDB1');
3. Provide the target Database schema user name and password details by changing
this lines from the script replacing with your own information.
ALTER CREDENTIALSTORE ADD USER <USERNAME>@target PASSWORD
<password> ALIAS ggcsuser_alias
What is SOCKS5?
SOCKS5 proxy is used for prevent others from identifying who you are and where
you are from. An SOCKS5 proxy server establishes a TCP connection to another server
on behalf of a client. Then the proxy routes all the traffic back and forth between the
client and server. When using SOCK5 proxy, it's like an agent representing you for
public communications. Therefore, no one really knows who you are. Instead, others
can only see this agent.
How to set up SOCKS5 Proxy?
On Linux, an SOCKS5 proxy with 1080 port can be set up using the following SSH
command:
ssh i <private_key file> -v N f D <listening IP
Address>:<listening IP port> <GGCS Oracle User>@<GGCS IP
Address> where:
Parameter
Description
-i
-v
Verbose Mode
-N
-f
-D
The following is an example setup of an SOCKS5 proxy with the SSH tunnel
connecting to GoldenGate Cloud Service (with IP 111.111.1.11):
ssh -N -f -i opc_rsa.ppk -D 127.0.0.0:1080 opc@111.111.1.11
This setup the SOCKS5 proxy with the SSH tunneling. You provide the private key
(opc_rsa.ppk) and the user login (opc@111.111.1.11) to the remote host.
After the SOCKS5 proxy is set up, you can use the following command to check if it's
running OK:
curl -sSf --socks5 222.2.2.2:1080 www.google.com
If it returns the Web page content, then the connection is set up correctly.
Why do I get the Permission denied error when starting the SOCKS5 proxy with
SSH?
$ssh -N -i opc_rsa.ppk -D 0.0.0.0:1080 localhost
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
The reason is missing the user and host name to connect. In an EC2 environment, you
get this error.
How to Use SOCKS5 proxy with Oracle GoldenGate Cloud Service?
After setting up the SOCKS5 proxy, you can set up Oracle GoldenGate on-premises
Pump component to deliver data to GoldenGate Cloud Service through the proxy. For
this purpose, use the SOCKSPROXY parameter. The following is an example:
You can follow detailed steps in the Set Up a SOCKS5 Proxy for Oracle Public
Cloud Services tutorial.
Oracle GoldenGate Cloud Service trails support the continuous extraction and
replication of database changes storing these changes temporarily on cloud. A
trail can reside on any platform that Oracle GoldenGate Cloud Service
supports. (Oracle and MySQL databases are supported).
You can configure one Replication node to process a trail for target databases.
After all the data has been consumed, Replicat can then purge the data using
the MinKeepDays parameter. As long as Replicat remains current, your
temporary storage requirements for trails can be low.
2.
File size
First and Last Record Information
Timestamp
Commit Sequence Number (CSN)
Extract Information
Oracle GoldenGate Cloud Service version
Group name
Host name and Hardware type
Operating system type and version
DB type, version, and character set
Record data area: Contains a header area as well as a data area.
Checkpoints: Both Extract and Replicat maintain checkpoints into the trails.
Checkpoints provide persistent processing whenever a failure occurs. Each
process resumes where the last checkpoint was saved, guaranteeing that no
data is lost. One Extract can write to one or many trails. One or many Replicat
processes are involved in processing each trail.
Note:
Instead of the default canonical format, you can use alternative formats to
output data.
This feature is beneficial if database load utilities or other programs are used
that require different input format.
These alternative formats include:
Logical Change Records (LCRs)
FormatASCII
FormatSQL
FormatXML
3.
Set Up a View
Objective
Command
To add column
information:
4.
Objective
Command
To add hexadecimal
and ASCII data values to
the column list:
Command
Supported Scenarios
Oracle GoldenGate supports heterogeneous replication through the Classic Extract
mechanism.
This table describes different scenarios considering that integrated extract and
integrated delivery are not supported on any of the non-Oracle databases.
Source
Target
Extract
Replicat
Oracle 12c
Oracle Database
Cloud Service
Integrated Extract is
supported
Integrated and
Coordinated
Delivery supported
MySQL
Oracle Database
Cloud Service
Integrated and
Coordinated
Delivery supported
Note:
With Oracle 12c when not using multi-tenancy, you can still use Classic
Extract, however it cant be used when container/pluggable databases are
used.
You can review this detailed steps, by following the tutorial Replicate On-Premises
Data to Cloud with Oracle GoldenGate Cloud Service.
Configuring Replication
Oracle GoldenGate Cloud replication requires connecting to and configuring database
support for the replication node.
Connect to the node defined in the Manager parameter file mgr.prm located
at /u01/app/oracle/gghome/dirprm
2.
Avoid using root user to run GoldenGate processes, otherwise some operations
can fail to read using 'oracle' user.
In the following table, you can review the parameters and descriptions necessary to
configure a replication process.
Parameter
Description
Port:
Establishes the TCP/IP Port Number on Which Manager Listens For Requests
DynamicPortList:
Autostart:
LagReportHours:
Sets the interval, in hours, at which Manager checks the lag for Extract and
Replicat processing. Alternatively, this interval can be set in minutes.
LagInfoMinutes:
LagCriticalMinutes:
Specifies the interval at which Extract and Replicat send a critical message to
the event log. Alternatively, this interval can be set in seconds or hours.
PurgeOldExtracts:
Purges the Oracle GoldenGate Cloud Service trails that are no longer needed,
based on option settings.
If you copy and paste text into parameter files, then beware of editors
that try to turn a double-minus into emdashes.
Note:
of disk space!
2.
Configure and start the Online Change Capture Process (Extract) on the onpremise server.
3.
Configure and start the Data pump Extract on the on-premise Server (SOCKS
PROXY pointing to DMZ Server).
4.
Configure and start the Online Change Delivery Process (Replicat) on the GGCS
server.
Description
-v
Verbose Mode.
2>&1
IP Address
listening IP port
Verify that the SSH SOCKS Proxy server has started successfully.
Check the socks proxy output file using the cat Unix command.
Look for the:
Local connections to <dmz-server:port> and
Local forwarding listening on <ip_address> port <port #>.
This information helps you to make sure youre pointing to the right DMZ server
address and port.
2. Configure and Start the Online Change Capture Process (Extract) on the Onpremises Server
On the source server, create the online change capture (Extract) process, using the
following commands:
GGCSI>
GGSCI>
GGSCI>
GGSCI>
3. Configure and Start the Data pump Extract on the On-premise Server
On the source server, create the datapump (Extract) process, using the following
commands:
GGCSI>
GGSCI>
GGSCI>
GGSCI>
4. Configure and Start the Online Change Delivery Process (Replicat) on the
Cloud Server.
On the GoldenGate Cloud Service (GGCS) server, create the Change Delivery process
(Replicat) using the following commands:
GGCSI>
GGSCI>
GGSCI>
GGSCI>
You can review this detailed steps by following the tutorial Replicate On-Premises
Data to Cloud with Oracle GoldenGate Cloud Service.
2
Administering Oracle GoldenGate Cloud
Service
This section provides the information you have to manage Oracle GoldenGate Cloud
Service instances.
Topics:
Accessing a Virtual Machine Through a Secure Shell
Understanding the Default Access Ports
Scaling an Oracle GoldenGate Cloud Service Block Storage
Keeping Your Oracle GoldenGate Cloud Service Instances Manageable
Software Components Installation Directory Structure
Use
Default Port
7744
22
2.
A pop-up menu (with existing /u02/data partition size) shows, for selecting
your data volume size to scale up to (displaying the current size).
3.
Selecting the new size and click on Yes, Add Storage button results in accepting
request. At this point, the service status show Maintenance that means the
instance is on service maintenance mode.
4.
The Maintenance status reviews all GoldenGate Cloud Service processes are shut
down. Also, it reviews if any older instance (before 16.3.3) is upgraded with patch
available in 16.4.1. This review is to make sure no loose of root partition since
these instances use root partition for installation. If any of these checks fail, then
the scale up attempt fails.
5.
After the first scale up, next scale up will be allowed from existing size.
Dont close any ports or protocols that Oracle GoldenGate Cloud Service opened
during creation of a cloud service instance.
You can open new ports and protocols, but closing existing ports and protocols
impair the functioning of a service instance.
For more information about the ports that Oracle GoldenGate Cloud Service opens
during creation of a cloud service instance, see Understanding the Default Access
Ports.
Dont change OS users and SSH key settings that Oracle GoldenGate Cloud Service
configured during the creation of a cloud service instance. If necessary, you can
update your SSH key at any time, see: Update the SSH Access Key.
Comments
GoldenGate
Replication
/u02/app/oracle/gghome
GG parameter files
/u02/data/ggdata/dirprm
/u01/app/oracle/oci
OCI libraries
Note:
3
Managing the Life Cycle of Oracle
GoldenGate Cloud Service Instances
Oracle GoldenGate Cloud Service, sets up and manages the compute and storage
resources required for replication. By using Oracle GoldenGate Cloud Service you can
create and configure a cloud Oracle GoldenGate environment, because all Oracle
GoldenGate Cloud Service instances that you create are preconfigured to use Oracle
Database Cloud Service.
Topics:
Exploring the Oracle GoldenGate Cloud Service Instance Detail Page
Delete an Oracle GoldenGate Cloud Service Instance
Managing the Life Cycle of Oracle GoldenGate Cloud Service Instances 3-1
Element
Description
Administration section
Displays if there are patches available for the service instance and the
status of the last successful backup, if exists.
Shows the following options:
GoldenGate Cloud Control Console Opens the console, unless the
service is stopped.
WebLogic Server Administration Console Opens the console,
unless the service is stopped.
Start Starts the service.
Stop
Stops the service.
Restart
Restarts the service.
SSH Access To upload a new SSH Key for your service, unless the
service is stopped. For more information, review Update the SSH
Access Key
Access Rules To define where traffic is allowed, configure sources,
destinations, and ports for your service. For more information, review
Configure Access Rules
View Activity Goes to the Activity tab in which you can search and
review the operation log of your services in your identity domain.
Note:
This menu is disabled while the instance service selected is being created,
terminated or in maintenance.
Nodes
OCPUs
Total number of Oracle Compute Units (OCPUs) allocated across all Oracle
GoldenGate Cloud Service instances
Memory
Element
Description
Storage
clicking the
it shows:
it
it shows:
Note:
Managing the Life Cycle of Oracle GoldenGate Cloud Service Instances 3-3
Any time during provisioning you can cancel the process by clicking Cancel.
To keep following the provisioning steps, click Next button or go back to
previous step by clicking the Previous button (when available).
Description
Service Name
To compose your service instance name, use the following pattern for the
naming convention:
[a-zA-Z][a-zA-Z0-9-]{1,49} which means:
The name must start with a letter.
The name can't contain more than 50 characters.
The name can't contain special characters other than the hyphen.
Service Description
To provide a business reason for creating this service instance, use the
Description field, so future administrators can easily identify its functionality.
For example, Replication service instance for transferring the System X output data
from our on-premises data center to our database service in the cloud.
Specify the value of the SSH public key, or the name of the file that contains
the public key value.
This key is used for authentication when connecting to the Oracle GoldenGate
Cloud Service instance using an SSH client.
To display the public key input for VM access, click Edit and specify the
public key using one of the following methods:
To select a file that contains a Secure Shell (SSH) public key to assign to
this service instance, select Key File Name.
To associate the value of an existing SSH public key with this service
instance: Select Key Value and then copy and paste the value.
Click Create a New Key to create a public and private key file, zipped, and
ready for you to save both files on your computer. This option saves the
public key information for the service instance.
Click Enter.
Get more information on: Create a New, or Use an Existent SSH Key Pair
Metering Frequency
The Metering Frequency is your billing frequency, that can be either Monthly
or Hourly.
For additional information, see: More subscription types
Description
Backup Destination
If you need Backup and Restore you can use the Both Remote and Disk
Storage option. By now, this option means Cloud Only for Oracle Database
Cloud Service.
If you choose backup and recovery on cloud storage when creating your
Oracle Database Cloud Service Instance, then you provide the following
information:
Name of an existing Oracle Storage Cloud Service container of the form
<storage service name>-<identity domain name>/<container name>. For
example: storagesvc999-usoracleaccoutrial00999 /backupContainer.
If not already created, you must create the container following the Oracle
Cloud Storage documentation. See Backup and Recovery Configuration.
User name for the Oracle Storage Cloud Service user who has read/write
access to the container.
Password for the Oracle Storage Cloud Service user who has read/write
access to the container.
Note:
You can select the Create Cloud Storage Container option by clicking the
checkbox in case you didnt when provisioning your Oracle Database Cloud
Service Instance.
The following table describes the Database Service Details fields and their description
for the database service.
Element
Description
Database Service
Select one of the Oracle Database Cloud Service Instance names that are listed
and can be associated for the Cloud Replication Service.
PDB Name
When selecting a 12c Database Service, you are required to enter the Pluggable
Data Base Name. If you dont know the PDB name, you can enter <use
default> to use the PDB. This information was associated with the Database
Cloud Service instance when it was provisioned.
Username
Use the same user name you used when create your Oracle Database Cloud
Service Instance. You or your administrator provided this user name to create
the Database Cloud Service instance.
Password
Refer to your Oracle Database Cloud Service instance information for the
password your user. You or your administrator provided this password to
create the Database Cloud Service instance.
Managing the Life Cycle of Oracle GoldenGate Cloud Service Instances 3-5
In the Replication Node Configuration section, configure the description and shape
of the Replication node.
Element
Description
Node Description
Provide the node information that you want to see in the GoldenGate Cloud
Service Instance Detail page.
Compute Shape
A shape is a resource profile that specifies the number of CPUs and the
amount of memory to be allocated to a service instance. General compute
shapes: OC3 and OC5 are available.
In the Database Service Details for Cloud Control Schemas section, configure the
description and schema you use for the replication.
Element
Description
Database Service
Select one of the Oracle Database Cloud Service Instance names that are listed
and can be associated for the Cloud Replication Service.
PDB Name
When selecting a 12c Database Service, you are required to enter the Pluggable
Data Base Name. If you dont know the PDB name, you can enter <use
default> to use the PDB. This information was associated with the Database
Cloud Service instance when it was provisioned.
Username
Use the same user name you used when create your Oracle Database Cloud
Service Instance. You or your administrator provided this user name to create
the Database Cloud Service instance.
Password
Refer to your Oracle Database Cloud Service instance information for the
password your user. You or your administrator provided this password to
create the Database Cloud Service instance.
Schema Prefix
Schema Password
The password to be used for the RCU schemas of the GoldenGate Cloud
Control repository
In the WebLogic Server Administration Console Access section, configure the user
name and password for your WebLogic access.
Element
Description
Username
The username for your access in the WebLogic Server Console for Cloud
Control administration.
Password
Confirm Password
Note:
Dont use the same Oracle Database Cloud Service instance with multiple
Oracle GoldenGate Cloud Service instances. This action ensures that you can
restore the database for an Oracle GoldenGate Cloud Service instance without
risking data loss for other service instances.
Selection Summary
, you can review the Service Level, Billing frequency, Software
By clicking in the
version, and edition that is available for your service Instance.
Get the Software Release
In the Selection Summary link, you can get the version of GoldenGate that's installed
for this GoldenGate Cloud Service instance.
The software release is GoldenGate Cloud Service with GoldenGate
12.1.2.1.10 for DB12c/11g on Oracle Linux 6.6.
Confirming Your Selections
The Confirmation page displays the configuration values that you chose in the Create
New Oracle GoldenGate Cloud Service Instance Wizard.
Review the service details.
If you want to go back through the pages, click Previous or the train located on top
of a step.
If you want to cancel out of the wizard without creating a new service instance,
then click Cancel.
If youre satisfied with your choices on the Confirmation page, then click Create.
Note:
You can use your service instance when the instance up icon for GoldenGate
appears for that instance in the Services page.
Managing the Life Cycle of Oracle GoldenGate Cloud Service Instances 3-7
for you to save both files on your computer. This option saves the public key
information for the service instance.
When having an existent SSH Key, the Key File Name option browse to the location of
a file containing a public key. Also the Key Value option allows you to enter the value
of an existing SSH public key.
Extra you can create your independent SSH key and load it using the options for an
existing SSH public key.
Next, two alternatives if you want to crate your SSH key by your own, and then use it
into the required wizard step.
Generate an SSH key pair using the PuTTY Key Generator
1.
2.
SSH-2 is the most recent version of the SSH protocol (and is incompatible
with SSH-1). RSA and DSA are algorithms for computing digital signatures.
3.
Set the Number of bits in a generated key to 2048 bits, if it is not already set with
that value.
Note:
This action sets the size of your key and thus the security level. A minimum of
2048 bits is recommended for SSH-2 RSA.
4.
Click Generate.
5.
To generate randomness to the key, move your mouse around the blank area.
6.
The generated key appears under Public key for pasting into OpenSSH
authorized_keys file.
7.
The key comment is the name of the key that you use to identify it. You can keep
the generated key comment or create your own.
8.
If you want to password-protect your key, enter a Key passphrase and enter it
again for Confirm passphrase. When you reload a saved private key, if one is set,
then you are asked for the passphrase.
While a passphrase is not required, you specify one as a security measure to
protect the private key from unauthorized use.
There is no way to recover a passphrase if you forget it.
9.
Save the private key of the key pair. Depending how you work with the private
key in the future, you need one saved in the PuTTY PPK format. You also need a
saved key in OpenSSH format.
To save the key in the PuTTY PPK format, click Save private key to save the
private key of the key pair.
You can name it anything you want, although you want to use the same name
as you used for the key comment. The private key is saved in PuTTY Private
Key (PPK) format, which is a proprietary format that works only with the
PuTTY toolset.
To save the key in OpenSSH format, open the Conversions menu and select
Export SSH key. This key is the same key, but saved in a different format.
You can name it anything you want, but is recommended you give it the same
name as the key you saved in PPK format. You can also use any extension (or
no extension), but let's use .ssh, to make it clear what format it is.
You can use this key whenever you use OpenSSH to perform SSH actions
using ssh utilities that support OpenSSH. For example, when using Linux in a
command shell.
10. Now you have to create the public key to be paired with the private keys you
created. However, clicking the Save public key button creates a public key that
cant work with Oracle Cloud services in certain cases. Instead, proceed as
follows:
In the PuTTY Key Generator, select all the characters under Public key for
pasting into OpenSSH authorized_keys file.
Make sure that you select all the characters, not just the ones you can see in the
narrow window. If a scroll bar is next to the characters, you aren't seeing all the
characters.
Right click somewhere in the selected text and select Copy from the menu.
Open a text editor and paste the characters, just as you copied them. Start at
the first character in the text editor, and do not insert any line breaks.
Save the key as a text file, using the same root name as you used for the private
key. Add a .pub extension. You can give it any extension you want, but .pub
is a useful convention to indicate that is a public key.
Write down the names of your public and private keys, and note where they
are saved.
2.
Managing the Life Cycle of Oracle GoldenGate Cloud Service Instances 3-9
Note:
Alternatively, you can simply enter ssh-keygen and then enter responses when
prompted for a name and a passphrase. The keys are created with default values:
RSA keys of 2048 bits.
4.
Description
100 Gb (/u02/data)
50 Gb (/u01/backup)
5 Gb (/u01/app/
oracle/tools)
Now when the disk storage is lost, GGCS is able to recover from the backup or the
other cluster node to resume replication process.
You purchase the storage container for using the backup and restore facility. You
can create your container before or during the database provisioning using the
wizard.
2.
During the provisioning wizard, you also configure backup and restore. This
action is optional, if you dont need Backup and Restore, then you can mark the
Backup/Restore NONE (NO backup/Restore for instance). If you need Backup
and Restore you can use the Both Remote and Disk Storage option. By now, this
option means Cloud Only for Oracle Database Cloud Service.
3.
If you decide to use Backup and Restore, then you provide the storage container
user name and password during this provisioning. The storage container format
is: <storage service name>-<identity domain name>/<container name>
eg:-Storage-ggcs/ggcs
4.
Once provisioning is done, overview of the related instance has the Additional
Administration section with all available backups and the restore history.
Creating a backup
Before creating a backup:
1.
Make sure all your GoldenGate Cloud Service processes are shut down, otherwise
your pre-check fails.
2.
If running out of space, you can remove old backup files in local storage
(/u01/backup).
From 16.4.1 onwards, there isnt /u01/backup mount point.
Backup archive is stored locally at /u02/data/backup and then is
uploaded to the provided cloud storage. Temporary archive is removed at the
end of backup/restore operation. This process is applicable for older instances
also once GGCS 16.4.1 deployed in system.
The backup steps include the followings:
Back up Oracle GoldenGate set up (parameter files, defgen files, checkpoint files).
Back up trail files within the defined time window.
In the Backup tab, of the Administration section, click on the Backup Now button to
crate a backup of user data in /u02/data/ggdata/*. This action creates an archive
file in format backup_<backupID>.zip in backup partition /u01/backup/. For
example: /u01/backup/backup?b85e22d2-1af5-4c32-8897fbec50be0b9c.zip
Restoring
Before attempting to restore:
Managing the Life Cycle of Oracle GoldenGate Cloud Service Instances 3-11
1.
Make sure all your GoldenGate Cloud Service processes are shut down, otherwise
your pre-check fails.
2.
Restore removes all user data in /u02/data/ggdata/* and restore archives file
content. The restore steps include only the service instances.
When clicking in the right menu of the Available Backups section, you have the
options of Restore and Delete. When selecting Restore, a popup window comes for
confirmation along with tracking notes.
Note:
Note:
On cloud, after restoring the backup of the user trail data on target.
To write to a new trail seqno, you have to follow next steps, before proceed with the
data replication:
1.
2.
ETROLLOVER causes the extract to increment to the next trail file in the trail
sequence when it restarts.
3.
Start Pump.
4.
When the pump was started, a new Trail file is created on target
5.
Alter Replicat to read from the new trail generated by the pump.
Alter replicat rep-name, extrba 0, extseqno <new-pump-seqno>
6.
Start Replicat.
On cloud, after restoring the backup of the user trail data on source.
To write to a new trail seqno, you have to follow next steps, before proceed with the
data replication:
1.
2.
3.
Start Ext.
4.
5.
Alter pump to read from the new trail generated by the Ext.
6.
Start Pump.
7.
Alter Replicat to read from the new trail generated by the pump
Alter replicat rep-name, extrba 0, extseqno <new-pump-seqno>
8.
Start Replicat.
Deleting backups
On existing backup file, you can select the Delete option by clicking in the right menu
of the Available Backups section. Once a delete is requested, the backup archive file is
removed from the local storage (/u01/backup) and the cloud Storage Container.
Note:
GoldenGate Cloud Service 16.1.5 has the service version "16.1.5" which got changed
to "12.1" during GoldenGate Cloud Service 16.2.5.
2.
GoldenGate Cloud Service 16.1.5 has the release version "16.1.5.0" which got
changed to "12.1.2.1.10" during GoldenGate Cloud Service 16.2.5.
Managing the Life Cycle of Oracle GoldenGate Cloud Service Instances 3-13
Click on the One or more patches available link, in the overview of the old
instances.
2.
Make sure that all processes are shut down (else pre-check fails), by clicking on
the Precheck option of the menu. Precheck also reviews if data partition (/u02/
data) has at least 2 Gb of space.
3.
Once the pre-check is passed, it shows the summary with the message of no
conflicts found.
4.
You can proceed with patching, by clicking the Patch button. The instance is
shown as under maintenance.
5.
Once patching is completed, the old instance is shown up to new service version,
and no more patches available.
Note:
Note:
From the Activity tab, you can find status messages if there is a failed attempt
to upgrade.
Rollback
GGCS 16.4.1 supports the rollback functionality. If you want to rollback to older
version of GoldenGate (that is, 12.1.2.1.10), you can click on the Rollback button of
patch applied for older instances. Then it will roll back the instance GoldenGate
version.
on the right top of the detail page, you have the Start, Stop,
Stop
When you click on the Stop option, a confirmation pop-up window is displayed.
Accepting by clicking on the OK button, the verification of the readiness of stopping
the VM is attempted. The verification includes the following:
If all processes related to the instance are shut down.
Review if an older instance (before 16.3.3 release) is upgraded with patch available
in 16.3.3 (This action is to make sure no loose of root partition).
Once these checks are passed, the VM is stopped. After the VM is stopped, the service
status changes to STOPPED.
Testing Stop failures
The verification of possible failures includes the following:
If all processes related to the instance are shut down, otherwise attempt fails.
If it is an older instance (before 16.3.3) and is not upgraded, then the stop attempt
fails. This review is mainly to make sure that there is no data loss. Since older
instances (before 16.3.3) use root partition for installation.
Start
When you click on the Start option of the top right menu, the instance is started
without any additional review.
Once your VM is started, the service status changes to READY.
Restart
When you click on Restart option, the attempt of stop the VM followed by the start
action are performed. The testing for the Stop option is applicable for this attempt.
Restart the SOCKS proxy, after stop/restart VM operation
When you perform the restart/stop operation, the VM, the mgr, and the Extract/
Replicat process goes down.
As the mgr is stopped, the SOCKS proxy connection fails, and the Pump abends.
Once the VM is started/restarted, you have to start all the GG process (mgr, Extract/
Replicat) on target. Then you have to restart the SOCKS proxy and pump on source.
Managing the Life Cycle of Oracle GoldenGate Cloud Service Instances 3-15
Next rules are default rules that you cant delete, but you're allowed to enable or
disable as needed.
1.
ora_permit_ggcsrep_ssh, that defines the access allowed from the public Internet
to the GoldenGate Cloud Service VM through port 22 (SSH port). This rule allows
you to connect to the VM for this service instance, for example, with PuTTY,
through port 22.
2.
3.
4.
5.
ora_ggcs2db_dbport, that defines the access allowed from the GoldenGate Cloud
Service VM to its associated database, Oracle Database Cloud Service VM through
port 1521 on that database.
6.
PUBLIC_INTERNET
GGCSRep_GGCS_SERVER
DB
In addition to default existing rules, you can define custom access rule providing the
information listed.
The following table describes key information about the Oracle GoldenGate Cloud
Service Access Rules that can be created.
Element
Status
Description
indicating that the rule is enabled.
indicating that the rule is disabled.
Rule Name
Source
Destination
Destination Ports
Note:
Only one port can be specified for the destination of
GGCSRep_GGCS_SERVER.
To find out if a port is taken, for example, port 7023, in your VM, use the
netstat command to find out what process or program is using this port.
If the port is taken, then assign a different port for the destination.
$ netstat -na | grep 7023
Protocol
Description
Rule Type
For creating a new rule, from the Services page, click the actions menu for a specific
service instance that you want to create an access rule for and then click Access Rules.
Managing the Life Cycle of Oracle GoldenGate Cloud Service Instances 3-17
After you click Create Rule, a window pops with the message that
the Creation of [Name_of_the_rule] access rules is in progress. When the
message disappears, refresh your browser to have the new rule included in
your list.
You can follow this steps through the tutorial: Create Access Rules for Oracle
GoldenGate Cloud Service .
The user name that connects with this SSH key to the GoldenGate Cloud
Service VM is opc
Review the steps in the tutorial Update Public/Private Key Pairs of Oracle Public
Cloud Services
Operation - There is a different set of available operations you can choose for
example: Backup or Disable Component.
After selected the options you want to use for the Activity Log, click the Search button
to apply the criteria. Or you can click the Reset button to clear the selections.
You get a table with the Service Names that matches your selected criteria. You get for
each service, its Service Type, Operation, Status, Start, End Time and who Initiated
it.
In the Cloud Account box, from the Select Data Center drop-down list, select
your location.
Then sign into My Services.
b. In the Oracle GoldenGate Cloud Service section, click Oracle GoldenGate
Cloud Service.
The Oracle GoldenGate Cloud Service Console is displayed, showing all Oracle
GoldenGate Cloud Service Instances.
more instances.
You can also manage this service by selecting any of the following options from the
Managing the Life Cycle of Oracle GoldenGate Cloud Service Instances 3-19
In the Cloud Account box, from the Select Data Center drop-down list, select
your location.
Then sign into My Services.
b. In the Oracle GoldenGate Cloud Service section, click Oracle GoldenGate
Cloud Service.
2. Select the service instance you want to delete from the service instance list.
3. From the
4. In the Delete Service dialog, click Delete to confirm deleting this service instance.
After deletion, the Oracle GoldenGate Cloud Service is removed from the list of
service instances displayed on the Oracle GoldenGate Cloud Service Console.
Sometimes, the service instances arent deleted properly and the associated resources
arent cleaned up completely. In this case, the Retry Delete displays. Click Retry
Delete to clean up the remaining resources and delete the service instance completely.
The Retry Delete button is displayed for as long as the failed resources exist. Repeat
this process until the Retry Delete button is no longer displayed.
Managing the Life Cycle of Oracle GoldenGate Cloud Service Instances 3-21
4
Getting Started with Oracle GoldenGate
Cloud Control
Oracle GoldenGate Cloud Control, is a real time, high performance, monitoring
solution. A supporting tool for GoldenGate Cloud Service that provides statistics,
policies, and monitoring tools to control the functionality of GoldenGate Cloud
Service.
You create and configure an Oracle GoldenGate Cloud Service environment without
having to set up any infrastructure or platform details yourself. By using the Oracle
GoldenGate Cloud Control, you can monitor the GoldenGate Cloud Service
environment in the cloud.
Topics:
About Oracle GoldenGate Cloud Control
Oracle GoldenGate Cloud Control Agent
Setup An Oracle GoldenGate Cloud Control Agent
WebLogic Server Administration Console
Description
Connection
Task
Policy
Criteria definition used for the detection of any kind of activity, conflict,
status, or value based on the configuration of the policy metric.
Notification
Alerts
What You Can Do from the Oracle GoldenGate Cloud Control Console
Use Oracle GoldenGate Cloud Control Console to perform the tasks described in the
following topics:
Monitor your connections, tasks, and notifications.
Create a catalog of tasks and connections.
Create and administer policies.
Administer notifications.
How to configure a Policy
You can create new policies or edit any existing by clicking on the Create Policy
button.
For creating a Policy you enter:
Name (of the Policy)
Description
Priority
Policy Enabled (checkbox)
And a set of Policy Metrics.
The Policy Metrics are composed by:
1.
2.
3.
A comparative value.
The Policies are the default policies available at the stock policies, and any created by
you.
The default Policy requirements are:
Service Unavailable: status !=RUNNING and Status != REGISTERED
DDL Changed: deltaExecuteDdls >0
As described in the image, the agent interacts with GoldenGate Instance layer and
GoldenGate Cloud Control service layer. The agent acquires knowledge about these
two layers through a configuration file. The agent is managed with the help of a
command-line interface.
GGCC agent is primarily targeted for Linux and Windows platforms.
Supported GoldenGate Instance versions
GoldenGate Cloud Control Agent can be configured to support the following
GoldenGate Instance versions:
GoldenGate 12.2.0
GoldenGate 12.1.2
b.
Create a file named GLOBALS in the OGG_HOME directory, if this file does
not exist.
c.
d.
e.
f.
Start manager.
2.
Due to previous steps, before intend to install, is necessary to know two locations:
Location
Description
$AGENT_HOME
Location
Description
$AGENT_INSTANCE_HOME
Note:
Understanding $AGENT_INSTANCE_HOME
$AGENT_INSTANCE_HOME is the location where agent configuration and logs are
stored. This location identifies a unique GoldenGate Cloud Control Agent.
The following table describes the content of this location.
Location
Description
$AGENT_INSTANCE_HOME/conf
$AGENT_INSTANCE_HOME/logs
$AGENT_INSTANCE_HOME/conf/
agent.properties
$AGENT_INSTANCE_HOME/conf/
logging-config.xml
$AGENT_INSTANCE_HOME/
demoAgentId.jks
$AGENT_INSTANCE_HOME/
demoAtentTrust.jks
$AGENT_HOME/bin/ggccAgent $AGENT_INSTANCE_HOME/conf/
agent.properties intgGGSCI <$GG_HOME>
Where$GG_HOME is the location of the GoldenGate Instance. This command integrates
the GoldenGate Cloud Control agent identified by $AGENT_INSTANCE_HOME with
GoldenGate instance identified by $GG_HOME.
After the integration, the following GGSCI commands can be used to start/stop the
GoldenGate Cloud Control Agent:
GGSCI Command
Description
START JAGENT
STOP JAGENT
INFO JAGENT
Default Value
agentPort
7005
ggInstanceHost
gghost.example.com
7809
V_12_2_0
Property
Default Value
ggccServiceHost
ggcchost.example.com
8080
60,000 milliseconds = 1
minute.
ggccServerReadTimeo
ut
60,000 milliseconds = 1
minute.
ggccServerConnectPo
olSize
agentUseProxy
False
proxyHost
ggccProxy.example.co
m
proxyPort
3128
proxyUsingAuth
False
agentUseSSL
False
agentSSLAlgoName
TLSv1.2
agentUse2WaySSL
False
agentIDStorePath
demoAgentId.jks,
located in agent conf
directory.
agentTrustStorePath
demoAgentTrust.jks,
located in agent conf
directory.
agentIDStoreType
JKS
Property
Default Value
agentIDStoreKeyMana
gerFactoryAlgorithm
SunX509
proxymyproxy.example.com
=host.example.com
Usage
More Information
start
stop
createServerCred
updateServerCred
viewServerCred
createProxy
See Also:
agentUseProxy,
proxyHost,
proxyPort,
proxyUsingAuth in
Oracle GoldenGate
Cloud Control Agent
Properties File
Command
Usage
More Information
updateProxy
See Also:
agentUseProxy,
proxyHost,
proxyPort,
proxyUsingAuth in
Oracle GoldenGate
Cloud Control Agent
Properties File
viewProxy
See Also:
agentUseProxy,
proxyHost,
proxyPort,
proxyUsingAuth in
Oracle GoldenGate
Cloud Control Agent
Properties File
createIDStoreUnlockPass
word
See Also:
agentIDStorePath
and agentUseSSL in
Oracle GoldenGate
Cloud Control Agent
Properties File
updateIDStoreUnlockPass
word
See Also:
agentIDStorePath
and agentUseSSL in
Oracle GoldenGate
Cloud Control Agent
Properties File
createTrustStoreUnlockP
assword
See Also:
agentIDStorePath
and agentUseSSL in
Oracle GoldenGate
Cloud Control Agent
Properties File
updateTrustStoreUnlockP
assword
See Also:
agentIDStorePath
and agentUseSSL in
Oracle GoldenGate
Cloud Control Agent
Properties File
Install JDK 1.8. Please note that most developer machines come with JRE installed,
but that is not sufficient for development work.
a.
b.
Please note the installation location for the JDK. You need it when you set the
environment variable JAVA_HOME to latest JDK.
2.
Set the agent parameters on your on-premises environment and confirm that the
AGENT_HOME and AGENT_INSTANCE_HOME are both set.
3.
Unzip your installer (this installation is already done for GoldenGate Cloud
services) and run the GoldenGate Cloud Control installer (ggcc_agent_generic.jar
file).
Note:
If you are accessing your on-premises environment with a client that doesn't
provide the GUI feature, then you need an X server. For example, with
TigerVNC, you don't need an X server.
Follow detailed steps of how to install through the Setup an Agent for
GoldenGate Cloud Control tutorial.
4.
Once your installation is done, on the Services page, go to the GoldenGate Cloud
Control Console by clicking on the right icon
5.
In the login page, enter the IP address and the port number that is shown in the
browser url, for example, http://00.000.000.000:port/ggcc/login.html.
6.
7.
8.
a.
Find the version of GoldenGate and the manager port through the GGSCI.
b.
Find a port for the GoldenGate Cloud Control agent to run on. The default
port number is 7005. First check if this port is taken. If it is, then assign a
different port.
c.
On your VM, start GGSCI to find out the version of GoldenGate and the
manager port.
b.
Find a port for the GoldenGate Cloud Control agent to run on. The default
port number is 7005. First check if this port is taken. If it is, then assign a
different port.
c.
To set up new agents on any other cloud or non-cloud machines, all you
change is the ggInstanceHost, ggInstancePort, and ggCoreVersion.
As long as they all point to the same ggccServiceHost and
ggccServicePort, they are discovered on the same GoldenGate Cloud
Control service.
9.
For every agent.properties file that you have setup, go to the machine with the IP
address set for its gginstancehost and start GGSCI.
12. Add the GoldenGate Cloud Control login Information when you create a
Find the login information for the GoldenGate Cloud Control dashboard,
which is the same as the WebLogic Server Administration Console, from
whomever created the instance.
13. In the Services page of GoldenGate Cloud Service, click the menu option for your
14. Log in to the dashboard and ensure that the login information works.
15. Now that the login information works, you add the same login information to
your agent. Navigate to the host of every machine that you've setup in your
agent.properties file as the ggInstanceHost.
a.
b.
Note:
If someone has already created the server credentials and you're not sure that
it is correct, you can use the updateServerCred instead of
createServerCred.
16. Start the Agents.
17. Integrate Agent with GGSCI.
18. Start JAgent on GGSCI. To control the Java agent that sends information to
the Oracle GoldenGate Cloud Control server, start the jagent through GGSCI
19. To have detailed steps for perform a Replication, refer to the Replicate Data from
After you can access the WebLogic console from the GoldenGate Cloud Service Detail
page by clicking the
From the WebLogic console, you can perform your administering activities in an
easier way. You can start and stop your managed servers or you can manage your
users, for detailed information you can review: Managing Users from the WebLogic
Administration Console.
5
Frequently Asked Questions
This section presents answers to frequently asked questions about Oracle GoldenGate
Cloud Service.
Topics:
What's the Data Replication Scope for Oracle GoldenGate Cloud Service?
What are the supported topologies for GGCS replication?
Why Is Oracle GoldenGate Cloud Service set up with Oracle Database Cloud
Service?
What are the benefits of using your current Oracle GoldenGate installation with
Oracle GoldenGate Cloud Service?
Can I use my existing GoldenGate deployments with GoldenGate Cloud Service?
Is there any additional charge for support?
What's the Data Replication Scope for Oracle GoldenGate Cloud Service?
Now Oracle GoldenGate replication works with only the following settings:
For non-cloud to cloud replication:
Non-cloud source: Oracle Databases 11g and 12c, DB2 z/OS On-Premises and
MySQL 5.6.
Cloud target: Oracle 12c Release 12.1.0.2.0 - 64 Bit Production and Oracle Database
11g Release 11.2.0.4.0 - 64 Bit Production.
For cloud to cloud replication:
Cloud source: Oracle 12c Release 12.1.0.2.0 - 64 Bit Production.
Cloud target: Oracle 12c Release 12.1.0.2.0 - 64 Bit Production.
For cloud to non-cloud replication:
Cloud source: Oracle 12c Release 12.1.0.2.0 - 64 Bit Production.
Non-cloud target: Oracle Databases 11g and 12c, and MySQL 5.6.
Note:
All Database Cloud Service editions are supported and using SOCKS5 proxy,
Corente and SSH connection.
Bi-directional replication of cloud data in the cloud now includes the Conflict
Detection and Recovery (CDR) feature of GoldenGate.
6
Troubleshooting Oracle GoldenGate Cloud
Service
This section describes common problems that you might encounter when using Oracle
GoldenGate Cloud Service and explains how to solve them.
Topics:
I Cant Create Service Instances
Problems with Scaling
Why I Can't Login To My Remote Server With My Private Key After Typing
Correct Passphrase?
Note: Always ensure that your Oracle GoldenGate Cloud Service instance
Why I Can't Login To My Remote Server With My Private Key After Typing
Correct Passphrase?
Problems that can occur when the private key is in the wrong format.
Why I Can't Login To My Remote Server With My Private Key After Typing Correct Passphrase?
After enter a passphrase for a private key I get the Permission denied
message
When using PuTTY, I can get the error message like this:
Unable to use key file "D:\oracle_dbaas.sshkey" (OpenSSH SSH-2
private key)
This is because the PuTTY private key and the OpenSSH private key are in different
format. Please use PuTTYGen to convert to a correct format, for detailed steps review:
Change Private Key Format to Use with PuTTY.
Why I Can't Login To My Remote Server With My Private Key After Typing Correct Passphrase?