6 Oracle GoldenGate Classic for SQL Server
- Deploying Oracle GoldenGate Classic Architecture for SQL Server Platforms
- Finding Oracle GoldenGate for Non-Oracle (SQL Server) within the Oracle Cloud Marketplace
- Launching Oracle GoldenGate Classic for Non-Oracle (SQL Server)
- Connecting to Oracle GoldenGate Classic for Non-Oracle (SQL Server) Compute Node
- Working with Oracle GoldenGate Classic for Non-Oracle (SQL Server)
Deploying Oracle GoldenGate Classic Architecture for SQL Server Platforms
Using Oracle GoldenGate Classic Architecture on Marketplace, you can deploy and manage your deployment from a single location.
Here are the prerequisites which are required before deployment:
- Oracle Cloud Account
- Access to compute node resources within Oracle Cloud Tenant
Parent topic: Oracle GoldenGate Classic for SQL Server
Finding Oracle GoldenGate for Non-Oracle (SQL Server) within the Oracle Cloud Marketplace
- Log in to Oracle Cloud Marketplace.
- From the Oracle Cloud Marketplace home page, use the search box under Applications and search for the keyword GoldenGate.
- From the Search Results, select Oracle GoldenGate for Non-Oracle.
Parent topic: Oracle GoldenGate Classic for SQL Server
Launching Oracle GoldenGate Classic for Non-Oracle (SQL Server)
Parent topic: Oracle GoldenGate Classic for SQL Server
Connecting to Oracle GoldenGate Classic for Non-Oracle (SQL Server) Compute Node
- Log in to your Oracle Cloud Console.
- Select Compute -> Instances.
- Select the hyperlink name of the compute node. The public IP Address is listed under Primary VNIC Information.
- To access the compute node where Oracle GoldenGate is running, connect as the
opc
account using SSH. For more information on how to access a node using theopc
account refer to Connecting to an Instance.
ssh -i <private-key-filename> opc@<public-id-address>
Parent topic: Oracle GoldenGate Classic for SQL Server
Working with Oracle GoldenGate Classic for Non-Oracle (SQL Server)
After deploying Oracle GoldenGate Classic for Non-Oracle (SQL Server) on Oracle Cloud Marketplace, you can access the latest release of Oracle GoldenGate Classic for Non-Oracle (SQL Server).
Before you can start using Oracle GoldenGate Classic for Non-Oracle (SQL Server), there are a few tasks that you must perform to ensure that your environment is complete and ready to replicate your data. Before you begin data replication, you must perform the following tasks:
Topics:
- Establishing Connectivity
- Oracle GoldenGate for SQL Server Requirements
- Creating Database User and Schema
- Installing Microsoft ODBC Drivers for Linux
- Configuring ODBC Connectivity
- Creating GLOBALS File and Starting GGSCI
- Enabling Supplemental Logging for a Source SQL Server Database
- Configuring and Creating a Remote Extract for SQL Server
- Configuring and Creating a Remote Replicat for SQL Server
- Establishing Connectivity
- Oracle GoldenGate for SQL Server Requirements
- Creating Database User and Schema
- Installing Microsoft ODBC Drivers for Linux
- Configuring ODBC Connectivity
- Creating GLOBALS File and Starting GGSCI
- Enabling Supplemental Logging for a Source SQL Server Database
- Configuring and Creating a Remote Extract for SQL Server
- Configuring and Creating a Remote Replicat for SQL Server
Parent topic: Oracle GoldenGate Classic for SQL Server
Establishing Connectivity
The Oracle GoldenGate Classic for Non-Oracle (SQL Server) on Oracle Cloud Marketplace compute node acts as a hub where you can manage your connections to source and target SQL Server databases. To establish connectivity from an Oracle GoldenGate Classic for Non-Oracle (SQL Server) compute node to your on-premises SQL Server database, use the following options:
- IPSec VPN
- FastConnect
For establishing an IPSec VPN with OCI, refer to IPSec VPN documentation. For establishing a FastConnect connection, refer to the FastConnect documentation.
Oracle GoldenGate for SQL Server Requirements
Before you can begin replicating data, for a SQL Server database, review the instance, database and user requirements available in Installing Oracle GoldenGate for SQL Server Databases chapter of Installing Oracle GoldenGate Guide and Using Oracle GoldenGate for SQL Server chapter of Using Oracle GoldenGate for Heterogeneous Databases. These sections contain important information regarding database requirements and supported features.
Creating Database User and Schema
For capturing data from a SQL Server source database, create a SQL Server login and schema that can be used by Oracle GoldenGate, and grant sysadmin
access privileges for login. Oracle GoldenGate requires sysadmin
access privileges to perform several prerequisites, but you can set the account to dbowner
afterwards,which is required for the capture process to run. Create a schema in the database to be used as the source database.
Example for a Source Database :
CREATE LOGIN [oggsourceuser] WITH PASSWORD=N'password';
ALTER SERVER ROLE [sysadmin] ADD MEMBER [oggsourceuser];
USE [source_dbname];
CREATE SCHEMA [oggsourceschema];
If you are applying data to a SQL Server target database, create a SQL Server login that has dbowner
access privileges within the target database, as well as a schema to be used for a Replicat’s checkpoint table.
Example:
CREATE LOGIN [oggtargetuser] WITH PASSWORD=N'password';
USE [target_dbname];
ALTER ROLE [db_owner] ADD MEMBER [oggtargetuser];
CREATE SCHEMA [oggtargetschema];
Installing Microsoft ODBC Drivers for Linux
Configuring ODBC Connectivity
Creating GLOBALS File and Starting GGSCI
GGCSI
) and is preconfigured with a running Manager process. After logging in to the compute node, you can find GGCSI
from the mssql
directory (/home/opc/mssql)
.