Getting Started with Attunity Replicate on Amazon EC2. Version 6.0

Similar documents
Primavera Portfolio Management Reporting Views for SQL Server databases

Oracle Information Rights Management Oracle IRM Windows Authentication Extension Guide 10gR3 August 2008


Adaptive Risk Manager Challenge Question Cleanup 10g ( ) December 2007

Oracle Enterprise Single Sign-on Kiosk Manager

Oracle Enterprise Manager

Oracle Information Rights Management Sealed for Lotus Notes Extension 10gR3 PR3 May 2008

Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

USING ADMINISTRATOR FEATURES

Oracle Enterprise Single Sign-on Kiosk Manager. User Guide Release E

OIPA System Requirements. Oracle Insurance Policy Administration - Life Release 8.1 E May 2009

GRCC Reporting Framework BIP for GRCC Admin/Implementation Guide

Copyright 1998, 2009, Oracle and/or its affiliates. All rights reserved.

System Monitoring Plug-in Installation Guide for Microsoft Internet Information Services Release 4 ( ) Versions Supported

Oracle Application Access Controls Governor. Release Notes Release 8.0.1

Oracle Enterprise Manager. Description. Platforms Supported. Versions Supported

Primavera Portfolio Management 9.1 Bridge for Microsoft Office Project Server 2007 Users Guide

PEOPLESOFT FINANCIALS/SUPPLY CHAIN MANAGEMENT 9 MAINTENANCE PACK 13 DELTA

PDF Quick Reference. Oracle Health Sciences InForm CRF Submit Release Part Number: E

Oracle Alert Documentation Updates

Primavera Portfolio Management 9.1 Bridge for Primavera P6 Users Guide

Governance, Risk, and Compliance Controls Suite. Hardware and Sizing Recommendations. Software Version 7.2

AutoVue Integration SDK. Security and Authentication Guide

Apple Safari Settings Oracle FLEXCUBE Release [May] [2017]

Oracle Enterprise Manager. Description. Versions Supported. Prerequisites

Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Enterprise Manager. Description. Versions Supported. Prerequisites

New Features in Primavera Professional 15.2

Module Code Entries Utility Oracle FLEXCUBE Universal Banking Release [December] [2016]

Oracle Enterprise Manager

Secure Configuration Guide

JD Edwards EnterpriseOne 8.12 Standalone Client Installation Guide. for the Oracle Application Server

IVS Explorer User s Guide. Oracle Insurance Policy Administration - Life Release 8.1 E May 2009

Adaptive Strong Authenticator Configuration Guide 10g ( ) December 2007

Opera Browser Settings Oracle FLEXCUBE Release [May] [2017]

Oracle Hospitality Suite8 Export to Outlook User Manual Release 8.9. July 2015

equestionnaire User Guide

Oracle Hospitality OPERA Exchange Interface Cloud Authentication. October 2017


Administrator Guide. Oracle Health Sciences Central Designer 2.0. Part Number: E

BAA Oracle EBS R12.1 isupplier Portal Created on 11/26/2012 3:18:00 PM

Oracle Insurance QuickView Service Ordering User Guide. Version 8.0

AutoVue Document Print Service. Overview

Copyright

Microsoft Active Directory Plug-in User s Guide Release

Oracle Enterprise Manager Ops Center. Introduction. What You Will Need

Contents About Connecting the Content Repository... 5 Prerequisites for Configuring a Content Repository and Unifier... 5

Recipe Calculation Survey. Materials Control. Copyright by: MICROS-FIDELIO GmbH Europadamm 2-6 D Neuss Date: August 21 st 2007.

ORACLE DATA INTEGRATOR ADAPTER FOR HYPERION FINANCIAL MANAGEMENT GETTING STARTED

Report Management and Editor!

Oracle Enterprise Manager Ops Center

Oracle Enterprise Manager. Description. Versions Supported. System Monitoring Plug-in Installation Guide for EMC CLARiiON System Release 5 (

Adaptive Risk Manager Offline PoC Guide 10g ( ) December 2007

PeopleSoft Fluid Required Fields Standards

Oracle Enterprise Single Sign-on Logon Manager How-To: Configuring ESSO-LM Event Logging with Microsoft SQL Server 2005 Release

Oracle VueLink for Documentum

2 Records Manager Updates

Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

What s New for Cloud at Customer What's New for the Cloud Services on Oracle Cloud at Customer New Documentation for Oracle Cloud at Customer

Oracle. Field Service Cloud Using the Parts Catalog

Reports DSN Entries Utility Oracle FLEXCUBE Universal Banking Release [May] [2018]

Oracle. Field Service Cloud Configuring and Using Reports 18B

Deploying Oracle FLEXCUBE Application on WebSphere Oracle FLEXCUBE Universal Banking Release [December] [2016]

Data Model Getting Started Oracle FLEXCUBE Universal Banking Release [May] [2018]

Oracle Database. Products Available on the Oracle Database Examples Media. Oracle Database Examples. Examples Installation Guide 11g Release 1 (11.

Export generates an empty file

Oracle Enterprise Manager Ops Center. Introduction. What You Will Need. Hardware and Software Configuration

Oracle Enterprise Single Sign-on Logon Manager. Installation and Setup Guide Release E

Installer Troubleshooting Oracle FLEXCUBE Universal Banking Release [October] [2015]

Data Model Getting Started Oracle FLEXCUBE Universal Banking Release [February] [2018]

Copyright

Defining Constants and Variables for Oracle Java CAPS Environments

Open Development Tool Database Setup Oracle FLEXCUBE Universal Banking Release [May] [2017]

Oracle Retail Category Management Release Notes Release April 2007

Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Endeca Commerce Compatibility Matrix

Internal Handoff Grants Utility Oracle FLEXCUBE Investor Servicing Release [October] [2015]

Oracle Workflow Builder for Windows 2000 or Windows XP. Oracle XML Gateway Message Designer for Windows 2000

Application Server Installation Guide for OPSS - CSF Oracle FLEXCUBE Universal Banking Release [May] [2016]

Oracle Standard Management Pack

Legal Notices Oracle Primavera The P6 Extended Schema Copyright 1997, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are reg

Deploying Oracle FLEXCUBE Application on WebLogic Oracle FLEXCUBE Universal Banking Release [September] [2013] Part No.

Oracle Cloud Using the Google Calendar Adapter with Oracle Integration

Governance, Risk, and Compliance Controls Suite. Release Notes. Software Version

Managing Zone Configuration

Oracle is a registered trademark, and Oracle Rdb, Oracle RMU and Oracle SQL/Services are trademark or registered trademarks of Oracle Corporation.

Microsoft Internet Information Services (IIS) Plug-in User s Guide Release

What s New for Oracle Cloud Stack Manager. Topics: July Oracle Cloud. What's New for Oracle Cloud Stack Release

Oracle Enterprise Single Sign-on Provisioning Gateway. Novell Identity Manager Integration and Installation Guide Release

Materials Control. Account Classes. Product Version Account Classes. Document Title: Joerg Trommeschlaeger

Reporting User Guide. Prodika Product Lifecycle Management. Release 5.1

Technical Enhancements

Oracle Cloud Using the Trello Adapter. Release 17.3

Oracle Hospitality Query and Analysis Languages and Translation Configuration Guide. March 2016

Oracle Cloud Getting Started with Oracle WebCenter Portal Cloud Service

Oracle Tuxedo Mainframe Adapter for SNA

Oracle Cloud E

Oracle Enterprise Manager Ops Center. Introduction. What You Will Need. Installing and Updating Local Software Packages 12c Release

Oracle Enterprise Manager

FLEXCUBE General Ledger Application Deployment in Websphere Oracle FLEXCUBE Universal Banking Release [October] [2015]

Transcription:

Getting Started with Attunity Replicate on Amazon EC2 Version 6.0 November 21, 2017

Getting Started with Attunity Replicate on Amazon EC2 All rights reserved. Primary Author: Charlton Book The Programs (which include both the software and documentation) contain proprietary information; they are provided under a license agreement containing restrictions on use and disclosure and are also protected by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly, or decompilation of the Programs, except to the extent required to obtain interoperability with other independently created software or as specified by law, is prohibited. The information contained in this document is subject to change without notice. If you find any problems in the documentation, please report them to us in writing. This document is not warranted to be error-free. Except as may be expressly permitted in your license agreement for these Programs, no part of these Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose. If the Programs are delivered to the United States Government or anyone licensing or using the Programs on behalf of the United States Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS Programs, software, endpoints, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the Programs, including documentation and technical data, shall be subject to the licensing restrictions set forth in the applicable Attunity license agreement, and, to the extent applicable, the additional rights set forth in FAR 52.227-19, Commercial Computer Software Restricted Rights (June 1987). Attunity Ltd., 70 Blanchard Road, Burlington, MA 01803 The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently dangerous applications. It shall be the licensee's responsibility to take all appropriate failsafe, backup, redundancy and other measures to ensure the safe use of such applications if the Programs are used for such purposes, and we disclaim liability for any damages caused by such use of the Programs. Attunity is a registered trademark of Attunity Ltd and/or its affiliates. Other names may be trademarks of their respective owners. The Programs may provide links to Web sites and access to content, products, and services from third parties. Attunity is not responsible for the availability of, or any content provided on, third-party Web sites. You bear all risks associated with the use of such content. If you choose to purchase any products or services from a third party, the relationship is directly between you and the third party. Attunity is not responsible for: (a) the quality of third-party products or services; or (b) fulfilling any of the terms of the agreement with the third party, including delivery of products or services and warranty obligations related to purchased products or services. Attunity is not responsible for any loss or damage of any sort that you may incur from dealing with any third party.

Contents Overview Part 1: What You Need Part 2: Set up a Replication Task Step 1: Open the Attunity Replicate Console 9 Step 2: Add a Replication Task to the Attunity Replicate Console 9 Step 3: Define your Source and Target Endpoint Connections 11 Step 4: Add the Source and Target Endpoint Connections to the Task 13 Step 5: Select Source Tables for Replication 15 Part 3: Run and Monitor the Replication Task What Next? Getting Started with Attunity Replicate on Amazon EC2 Page 3

Overview Attunity Replicate on Amazon EC2 facilitates data replication across a wide range of heterogeneous sources and targets (listed below). In this tutorial, you will learn how to set up a basic replication task that replicates data from an on-premises Oracle database to an Amazon Redshift database in the cloud. For more detailed information about topics covered in this tutorial or if you simply wish to learn more about Attunity Replicate's capabilities, click the Help link in the top tight of the Attunity Replicate console. Supported Source Databases Attunity Replicate on Amazon EC2 can replicate data from the following source databases: Oracle (including Amazon RDS for Oracle) Microsoft SQL Server MySQL (including Amazon RDS for MySQL and Amazon Aurora MySQL) PostgreSQL IBM DB2 for LUW Supported Target Databases Attunity Replicate on Amazon EC2 can replicate data to the following target databases: Oracle (including Amazon RDS for Oracle) Microsoft SQL Server (including Amazon RDS for SQL Server) MySQL (including Amazon RDS for MySQL, Amazon RDS for MariaDB and Amazon Aurora MySQL) PostgreSQL (including Amazon RDS for PostgreSQL and Amazon Aurora PostgreSQL ) Teradata Amazon Redshift Hadoop Pre-installed Third-Party Clients The following third-party clients are pre-installed on the Attunity Replicate Amazon EC2 instance: Oracle Microsoft SQL Server PostgreSQL Amazon Redshift As these clients are already installed on the Attunity Replicate Amazon EC2 Instance, you can replicate both to and from the corresponding database servers without needing to Overview Page 4

install any client-side software. All other supported sources and targets require you to install the appropriate client-side software before replication can be performed. Overview Page 5

Part 1: What You Need Before starting this tutorial, make sure that the following prerequisites have been met: Oracle Source Prerequisites Amazon Redshift Target Prerequisites Oracle Source Prerequisites Before you can use Oracle as a source endpoint in this tutorial, make sure the following prerequisites have been met: Oracle 10.x, 11.x, or 12.1 installed in your network and accessible from the Attunity Replicate machine Port 1521 open for outbound communication on the Attunity Replicate machine system/<password> for an admin user Amazon Redshift Target Prerequisites Before you can use Amazon Redshift as a target endpoint in this tutorial, make sure the following prerequisites have been met: Amazon Redshift Cluster: If you haven't already done so, set up an Amazon Redshift cluster and make sure that following information about your Amazon Redshift Cluster is readily available: Amazon Redshift Cluster Name Amazon Redshift Cluster Port Amazon Redshift User Name and Password Amazon Redshift Database Name Port: Make sure that port 5439 (the Amazon Redshift Cluster port) is open for inbound connections from your Attunity Replicate Amazon EC2 instance. Amazon S3 Bucket Details: During the first stage of the replication process, Attunity Replicate moves the data files created by the source database into an Amazon S3 bucket. The files are then loaded into the proper tables in the Amazon Redshift data warehouse (using the "copy" command). Therefore, in addition to setting up an Amazon Redshift Cluster, you also need to set up and Amazon S3 Bucket. Make sure that the following information about your Amazon S3 Bucket is readily available: Amazon S3 Bucket Name Amazon S3 Bucket Region Amazon S3 Access Key and Secret Key Amazon S3 Bucket Permissions: The Attunity Replicate user must have the following permission on the Amazon S3 staging bucket: Part 1: What You Need Page 6

On the Amazon S3 Bucket itself: 'List Bucket Objects' On the Amazon S3 Bucket Folder: 'Read, Write, Delete of Objects' The following is a sample policy with these permissions: { Statement : [ { Effect : Allow, Action : [ s3:listallmybuckets ], Resource : arn:aws:s3:::* }, { Effect : Allow, Action : [ s3:listbucket, s3:getbucketlocation ], Resource : arn:aws:s3:::demo-virginia }, { Effect : Allow, Action : [ s3:putobject, s3:getobject, s3:deleteobject ], Resource : arn:aws:s3:::demo-virginia/*: } ] } Part 1: What You Need Page 7

Part 2: Set up a Replication Task After fulfilling the prerequisites, the next stage is to set up your replication task. This consists of the following steps: Step 1: Open the Attunity Replicate Console Step 2: Add a Replication Task to the Attunity Replicate Console Step 3: Define your Source and Target Endpoint Connections Step 4: Add the Source and Target Endpoint Connections to the Task Step 5: Select Source Tables for Replication Part 2: Set up a Replication Task Page 8

Step 1: Open the Attunity Replicate Console From the Windows Start menu, select All Programs > Attunity Replicate > Attunity Replicate Console. Note You can access Attunity Replicate from any computer in your network. To access the Console from a remote computer, type the following address in the address bar of your Web browser: https://<computer name>/attunityreplicate where <computer name> is the name or IP address of the computer (including the Windows domain name) on which the Attunity Replicate for Amazon EC2 instance is installed. Step 2: Add a Replication Task to the Attunity Replicate Console After opening the console, the next step is to add a replication task. Note that in actual production environments, some customers prefer to set up their endpoint connections before adding tasks. The order that you choose will depend on the your specific replication needs. For instance, setting up the endpoint connections first may be preferable when setting up several tasks that use different endpoints. To add a replication task: 1. Make sure that you are in TASKS view. The word "TASKS" should be displayed in the upper left corner of the Attunity Replicate Console. 2. Click New Task to open the New Task dialog box. 3. In the Name field, enter oracletoredshift and then click OK. 4. Click the Apply Changes button to disable this task option. When this option is enabled, Replicate detects any changes to the source tables and automatically applies Part 2: Set up a Replication Task Page 9

them to the target tables. Note Using the Apply Changes task option has special requirements such as granting additional permissions on the source database. Therefore, to keep thing simple, in this tutorial we will be setting up a Full Load only task. For information on setting up a task with Apply Changes, please refer to the Attunity Replicate Setup and User Guide. 5. Click OK to add the task. The task is displayed in a new tab. Part 2: Set up a Replication Task Page 10

Step 3: Define your Source and Target Endpoint Connections After adding a new task, the next step is to set up your source and target endpoint connections. An endpoint connection is basically a set of connection parameters that enables Replicate to extract data from the source database and replicate it to the target database. Connection parameters specify information such as the database server name, the database name, the user name, and so on. In this tutorial, we will be using Oracle as our source and Amazon Redshift as our target. Add an Oracle Source Endpoint Connection Add an Amazon Redshift Target Endpoint Connection For a full list of supported endpoints, see Overview. Add an Oracle Source Endpoint Connection This section guides you through process of defining your Oracle endpoint connection. Note met. Before beginning this section, make sure that Oracle prerequisites have been To add an Oracle source endpoint connection: 1. In TASKS view, click the Manage Endpoint Connections toolbar button. The Manage Endpoint Connections dialog box opens. 2. Click the New Endpoint Connection toolbar button. 3. Provide the following information: Name: Enter any name that will help you identify the endpoint. Description: Optionally, enter a description. Role: Select Source. Type: Select Oracle. Connection string: Enter the connection string to your Oracle database, in any Oracle format. For example, to connect to an Oracle database on a computer called tomato with the default Oracle port and service name, enter the following: tomato:1521/orcl User Name: Enter the user name for your Oracle database. Password: Enter the password for your Oracle database. 4. Click Test Connection to verify that the information you entered is correct. 5. Click Save to add the endpoint. Part 2: Set up a Replication Task Page 11

Add an Amazon Redshift Target Endpoint Connection This section guides you through process of defining your Amazon Redshift endpoint connection. Note Before beginning this section, make sure that Amazon Redshift Target Prerequisites have been met. To add an Amazon Redshift target endpoint connection: 1. In TASKS view, click the Manage Endpoint Connections toolbar button. The Manage Endpoint Connections dialog box opens. 2. Click the New Endpoint Connection toolbar button. 3. Provide the following general information: Name: Enter any name that will help you identify the endpoint. Description: Optionally, enter a description. Role: Select Target. Type: Select Amazon Redshift. 4. Provide the following Amazon Redshift target information: Redshift cluster: Your Amazon Redshift cluster name User name: Your Amazon Redshift user name Password: Your Amazon Redshift password Database name: The target Amazon Redshift database name 5. Provide the following Amazon S3 staging information. You may need to click the Amazon S3 staging header to see the information: Bucket name: The name of the Amazon S3 bucket where you are copying files to. Bucket region: The Amazon S3 region where the S3 buckets and folders you are using are hosted. Access key: The access key information for your Amazon S3 bucket Secret key: The secret key information for your Amazon S3 bucket Folder: The S3 folder to which the files will be copied 6. Click Test Connection to verify that the information you entered is correct. Note If the connection is successful a message in green is displayed. If the connection fails, an error message is displayed at the bottom of the dialog box. To view the log entry if the connection fails, click View Log. The server log is displayed with the information for the connection failure. Note that this button is not available unless the test connection fails. 7. Click Save to add the endpoint. Part 2: Set up a Replication Task Page 12

Step 4: Add the Source and Target Endpoint Connections to the Task After defining you source and target endpoint connections, the next step is to add them to the replication task. The Endpoints pane is located in the left of the console. Replicate supports several endpoint types (database, cloud, Hadoop, data warehouse, file, NoSQL) with each endpoint type having its own icon. As the source endpoint type is a database and the target endpoint type is cloud-based, the following icons will be displayed: The source endpoint. The target endpoint. To add the source and target endpoints to the task 1. In the Endpoints pane, select the All tab. 2. Add the Oracle source endpoint to the task using any of the following methods: Drag the endpoint to the Drop source endpoint here area in the endpoints diagram to the right of the Endpoints pane. Hover your mouse cursor over the endpoint name and click the arrow that appears to its right. 3. Add the Amazon Redshift target endpoint to the task using any of the following methods: Drag the endpoint to the Drop target endpoint here area in the endpoints diagram to the right of the Endpoints pane. -OR- -OR- Hover your mouse cursor over the endpoint name and click the arrow that appears to its right. Part 2: Set up a Replication Task Page 13

The endpoint connections diagram should now appear similar to this: Part 2: Set up a Replication Task Page 14

Step 5: Select Source Tables for Replication After adding the source and target endpoints, you now need to select the Oracle source tables that you want to replicate to Amazon Redshift. To add Oracle tables to the replication task: 1. In the right pane of the Attunity Replicate Console, click the Table Selection button. The Select Tables dialog box opens. 2. In the Select Tables dialog box, do the following: a. From the Schema list, select the schema containing your source tables, and then click Search. b. From the Table List, either: Hold down the [Ctrl] button and select the tables you want to replicate. Then, click the -OR- Click the button to move the tables to the Selected Tables list. button to move all the tables to the Selected Tables list. c. Click OK. 3. On the main toolbar, click Save. The task is now ready to run. Part 2: Set up a Replication Task Page 15

Part 3: Run and Monitor the Replication Task In this part of the tutorial, you'll learn how to run a replication task and monitor its progress. To run and monitor the replication task 1. On main task toolbar, click Run. The Starting task dialog is displayed and the console automatically switches to Monitor view: Monitor view contains the following tabs: Full Load tab: Uses status bars to provide a visual indication of the loading status during the full load operation. Change Processing tab: Shows any changes that occur after the full load completes. Since this a Full Load only task, this tab is not relevant. 2. Click the Completed status bar. Replicate displays a table below the graphs with statistics related to the replicated tables. Part 3: Run and Monitor the Replication Task Page 16

3. Click the Total Completion bar to see a summary of the task. Part 3: Run and Monitor the Replication Task Page 17

What Next? Now that you've successfully completed the tutorial, you'll probably want to waste no time applying what you've learned to your own environment. For detailed setup and usage instructions, simply click the Help link in the top tight of the Attunity Replicate console. What Next? Page 18