SAP DB:ODBC Anleitung zur Fehlerbehebung

Stöbern Sie online oder laden Sie Anleitung zur Fehlerbehebung nach Software SAP DB:ODBC herunter. SAP DB:ODBC Troubleshooting guide Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 124
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 1 - Replication Server

Quick Start Guide for SAP® HANADatabaseReplication Server® 15.7.1SP100Linux, UNIX, and Microsoft Windows

Seite 2

Syntax conventionsKey Definition{ } Curly braces indicate that you must choose at least one of the enclosed options. Donot type the braces when you en

Seite 3 - Contents

If you have not set up the sample Replication Server instance, enter your ReplicationServer instance name in place of SAMPLE_RS.2.Enter:grant create o

Seite 4

Setting the DB2 UDB Connectivity Autocommit ParameterReplication Agent requires that the DB2 UDB connectivity autocommit parameter be turnedon (autoco

Seite 5

Adding a Temporary Tablespace to the Primary DatabaseAdd a temporary tablespace to the primary database.1.Start the DB2 UDB command-line processor (CL

Seite 6

1.Locate the resource file template.The majority of configuration values required to create and initialize a Replication Agentcan be recorded and stor

Seite 7

Parameter Description Example valuesltm_admin_pw Password for the user administering the Rep-lication Agent instance.The default password policy istha

Seite 8

Parameter Description Example valuesrs_charset Character set that Replication Server is us-ing.Note: The value defined for the rs_charsetconfiguration

Seite 9 - Conventions

%SYBASE%\RAX-15_5\bin\ra_admin.bat -vr myra.rs• On UNIX or Linux:$SYBASE/RAX-15_5/bin/ra_admin.sh -vr myra.rs where myra.rs is the path and name of th

Seite 10 - TableName

Verifying the Replication Agent Instance InstallationVerify that the Replication Agent instance has been successfully installed.1.Use dsedit to update

Seite 11 - CHAPTER 1: Conventions

You see:Type Connection---- ----------PDS succeeded(1 row affected)b) If the result indicates a failure:• The server is not responding, or• One of th

Seite 12 - 4 Replication Server

1.Initialize the Replication Agent instance:ra_admin initgoYou see a message indicating that the procedure was successful.2.Enter:resumegoIf the Repli

Seite 13 - How to Use This Document

• Replication Agent for Microsoft SQL Server• Replication Agent for IBM DB2 UDBCHAPTER 1: ConventionsQuick Start Guide for SAP HANA Database 3

Seite 14 - 6 Replication Server

DSI Suspended 103 pds.pdb24 DIST Awaiting Wakeup 103 pds.pdb25 SQT Awaiting Wakeup 103:1 DIST pds.pdb23 SQM

Seite 15 - Replication Setup

Note: SAP HANA database is not case-sensitive and uses uppercase characters iflowercase characters are provided.If an owner is not specified with the

Seite 16 - Planning Your Installation

2.Reset the locator stored in the Replication Agent:ra_locator zerogo3.Reset the locator stored in Replication Server:isql -Usa -Psa_pass -SSAMPLE_RSc

Seite 17 - %SYBASE%

CHAPTER 7GlossaryThis glossary describes Replication Server Options terms.•Adaptive Server® – the brand name for Sybase relational database management

Seite 18 - Installing Replication Server

can have only one database connection in Replication Server. See also Replication Serverand route.•data client – a client application that provides ac

Seite 19

•gateway – connectivity software that allows two or more computer systems with differentnetwork architectures to communicate.•inbound queue – a stable

Seite 20 - SySAM Users Guide

•Log Transfer Interface – an internal component of Replication Agent that interacts withReplication Server to forward transactions for distribution to

Seite 21

•primary database – the database that contains the data to be replicated to anotherdatabase (the replicate database) through a replication system. The

Seite 22

•replicated transaction – a primary transaction that is replicated from a primary databaseto a replicate database by a transaction replication system.

Seite 23

•table – in a relational DBMS, a two-dimensional array of data or a named data object thatcontains a specific number of unordered rows composed of a g

Seite 24

CHAPTER 1: Conventions4 Replication Server

Seite 25 - SAMPLE_RS_ra

CHAPTER 7: Glossary112 Replication Server

Seite 26

IndexAaccessing and downloading from SPDC 8, 25, 53,81ASEconfiguring Replication Server for replicationfrom the primary database 16installing replicat

Seite 27

testing replication 102verifying the Replication Agent instance 99default directory 11, 27, 83directoriesdefault 11, 27, 83Eerrorswhile starting insta

Seite 28

replication componentsconfiguration 59, 87Replication Server, addingprimary database 16resetting primary ASE database for replication 20resetting prim

Seite 29

Index116 Replication Server

Seite 30 - 22 Replication Server

CHAPTER 2How to Use This DocumentUse this document to set up and begin using a basic replication system with SAP® HANAdatabase as the replicate.This d

Seite 31 - Oracle-to-SAP HANA Database

CHAPTER 2: How to Use This Document6 Replication Server

Seite 32 - Prerequisites

CHAPTER 3ASE-to-SAP HANA DatabaseReplication SetupImplement a sample replication system for replication from Adaptive Server Enterprise(ASE) to SAP HA

Seite 33

• You have a valid license for Replication Server with ExpressConnect for HANA DB.• Adaptive Server is installed and configured to serve as the source

Seite 34

TaskNote: If you are installing Replication Server Options (RSO), this task requires you to performseveral steps twice because you are downloading Rep

Seite 35

Installing Replication ServerInstall Replication Server using the setup program.Prerequisites• Allocate a disk partition of at least 20MB for each Rep

Seite 36

4. In the Introduction window, click Next.5.Indicate where to install Replication Server:•To select an installation directory, click Choose, and brows

Seite 37

DOCUMENT ID: DC01974-01-1571100-02LAST REVISED: July 2013Copyright © 2013 by Sybase, Inc. All rights reserved.This publication pertains to Sybase soft

Seite 38

•Use Previously Deployed License Server – for an existing license server, enter thehost name of the machine where the license server is running, and t

Seite 39 - ./ra.sh -v

12.When the final window appears, indicating a successful installation, click Done to exit theinstaller.Editing the Interfaces FileEdit your Replicati

Seite 40 - [dataservername]

Configuring Replication ServerReview the procedures for configuring Replication Server for ASE-to-SAP HANA databasereplication.Obtaining the SAP HANA

Seite 41

where myschema is your SAP HANA database schema, and muser is the maintenance useryou just created.5.Log in to Replication Server:isql –Usa –Psa_pass

Seite 42

Configuring Replication Server for Replication from the Primary DatabaseConfigure Replication Server for replication from the primary database.Adding

Seite 43

Parameter Description Valuers.rs_db_maint_user User ID whose work is not re-plicated when logged on theprimary database. The user iscalled maintenance

Seite 44

The output from the command looks similar to:Spid Name State Info---- ----- ------ --------32 DSI EXEC Awaiting Command 101(1) SAMPLE_RS

Seite 45

Note: By default, this DDL creates a table with the owner dbo.3.Grant permissions to any new or existing object to be replicated in the primary databa

Seite 46

For information on using the create subscription command in direct load materialization,see Replication Server Reference Manual.10.On the Adaptive Ser

Seite 47 - Guide and Reference Guide

exitgoIf you have not set up the sample Replication Server instance, enter your ReplicationServer instance name in place of SAMPLE_RS.8.Disconnect fro

Seite 48

ContentsCHAPTER 1: Conventions...1CHAPTER 2: How to Use This Document...5CHAPTER 3: ASE-t

Seite 49

CHAPTER 3: ASE-to-SAP HANA Database Replication Setup22 Replication Server

Seite 50

CHAPTER 4Oracle-to-SAP HANA DatabaseReplication SetupImplement a sample replication system for replication from Oracle to SAP HANA database.Use the ta

Seite 51

PrerequisitesReview the prerequisites before you begin setting up Oracle-to-SAP HANA databasereplication.Make sure:• You are familiar with Oracle and

Seite 52

Identify the Sybase Installation DirectoryDetermine the directory in which to install the replication components.Replication Agent, Replication Server

Seite 53

Note: To generate a license, you must provide some information, such as the host name,MAC address, and number of CPUs.5.Download your product licenses

Seite 54

If there is not enough disk space in the temporary disk space directory, set theenvironment variable TMP to directory_name before running it again, wh

Seite 55

•Specify License Keys – click Browse to select the license file. To select multiplelicense files, use Shift+Click or Ctrl+Click. The license pane disp

Seite 56 - <repdefname>

•Yes – to create a sample Replication Server directory without starting the sampleReplication Server, or,•No – to continue with the installation.See t

Seite 57 - You see:

The directory does not exist.Do you want to create it?If the directory you specified exists, you see:Warning: You have chosen to install into an exist

Seite 58 - 50 Replication Server

• Informational• Warning• ErrorIf you choose not to have e-mail alerts or severity messages logged, select No.Click Next.11.Review the product feature

Seite 59 - HANA Database Replication

CHAPTER 4: Oracle-to-SAP HANA DatabaseReplication Setup...23System Architecture...

Seite 60

Configuring Replication ComponentsReview the procedures for configuring each of the replication components in the replicationsystem.Configuring Replic

Seite 61

hdbuserstore set rds myhost:xxxxx my_securestore_user my_securestore_pwdwhere•rds is the key for the secure store entry•myhost:xxxxx is the connection

Seite 62

where:•rds is the replicate SAP HANA database. For a standard connection, this must matchthe data server name in the interfaces file entry. See the Ad

Seite 63

Configuring Replication AgentReview the procedures for configuring Replication Agent for Oracle.Primary Oracle Database Configuration for ReplicationC

Seite 64

ALTER DATABASE ADD SUPPLEMENTAL LOG DATA (PRIMARYKEY, UNIQUE INDEX) COLUMNS;ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;Configuring Oracle LogMinerConfig

Seite 65

GRANT SELECT ON SYS.ATTRIBUTE$ TO RA_USER;GRANT SELECT ON SYS.CCOL$ TO RA_USER;GRANT SELECT ON SYS.CDEF$ TO RA_USER;GRANT SELECT ON SYS.COL$ TO RA_USE

Seite 66

RESOURCESELECT_CATALOG_ROLEThe user who starts the Replication Agent instance must also have read access to the Oracleredo log files and the Oracle ar

Seite 67

Record the ORACLE_SID value for the instance you want to connect to.4.(Optional) If your operating system has a Java 6.0.x-compatible JRE or JDK insta

Seite 68

password information listed in the tnsname.ora file for the Oracle, Replication Server,and RSSD connections.• Set the value of rs_source_ds to the val

Seite 69

Parameter Description Example Valuesrs_host_name Machine where Replication Server is instal-led.jdoe_host1rs_port_number Port number where Replication

Seite 70

CHAPTER 5: Microsoft SQL Server-to-SAP HANADatabase Replication Setup...51System Architecture...

Seite 71

Parameter Description Example Valuesinitialize_instance Initialize the Replication Agent instance. yespdb_include_archives Enables or disables the use

Seite 72 - RACFGFilePath

Note: If, in your response file, you set start_instance to yes, your instance is alsorunning. If you set initialize_instance to yes, your instance is

Seite 73

Note: These verification steps are optional because they were performed when youverified the resource file.3.Verify the Replication Agent connection t

Seite 74 - SQLInstanceName

set username muserset password mpwdwith log transfer on, dsi_suspendedgowhere:•pds is the value of the rs_source_ds parameter specified in Replication

Seite 75

Command <resume> failed - Desired state <REPLICATE>could not be achieved. Current state: <REPLICATION DOWN>3.The ra_status command r

Seite 76

22 SQM Awaiting Message 103:0 pds.pdb62 REP AGENT Awaiting Command pds.pdbTesting ReplicationWhen you finish setting up the replication syst

Seite 77 - Subsequent initialization

If you have not set up the sample Replication Server instance, enter your ReplicationServer instance name in place of SAMPLE_RS.9.Alter the replicatio

Seite 78

gors_zeroltm pds, pdbgoexitgoYou see:Locator has been reset to zero.(return status = 0)5.Resume replication with the Replication Agent resume command:

Seite 79

CHAPTER 4: Oracle-to-SAP HANA Database Replication Setup50 Replication Server

Seite 80 - -r parameter. For example:

CHAPTER 5Microsoft SQL Server-to-SAPHANA Database ReplicationSetupImplement a sample replication system for replication from Microsoft SQL Server to S

Seite 81

Resetting the Primary Microsoft SQL ServerDatabase for Replication...76CHAPTER 6: DB2 UDB-to-SAP HANA DatabaseR

Seite 82

PrerequisitesReview the prerequisites before you begin setting up Microsoft SQL Server-to-SAP HANAdatabase replication.Make sure:• You are familiar wi

Seite 83

Identify the Sybase Installation DirectoryDetermine the directory in which to install the replication components.Replication Agent, Replication Server

Seite 84

Note: To generate a license, you must provide some information, such as the host name,MAC address, and number of CPUs.5.Download your product licenses

Seite 85

If there is not enough disk space in the temporary disk space directory, set theenvironment variable TMP to directory_name before running the installe

Seite 86 - 78 Replication Server

Alternatively, copy and paste the license information directly in the license pane. ClickNext.If you specify a served license key, the installer promp

Seite 87 - Database Replication Setup

•No – to continue with the installation.See the Replication Server Configuration Guide for Windows or UNIX.Note: For a sample Replication Server insta

Seite 88

after the end of the grace period, obtain a valid license from the Sybase ProductDownload Center at http://www.sybase.com/detail?id=1025266, and insta

Seite 89

Configuring Replication ComponentsReview the procedures for configuring each of the replication components in the replicationsystem.Configuring Replic

Seite 90

hdbuserstore set rds myhost:xxxxx my_securestore_user my_securestore_pwdwhere•rds is the key for the secure store entry•myhost:xxxxx is the connection

Seite 91

where:•rds is the replicate SAP HANA database. For a standard connection, this must matchthe data server name in the interfaces file entry. See the Ad

Seite 92

Creating a Replication Server Connection to thePrimary Database...100Initializing the Replication Agent Instance

Seite 93

Configuring Replication AgentReview the procedures for configuring Replication Server for Microsoft SQL Server.Primary Microsoft SQL Server Configurat

Seite 94

Enabling Remote DACEnable remote DAC.PrerequisitesTask1.Log in to the server:"C:\Program Files\Microsoft SQL Server\90\Tools\Binn\SQLCMD.EXE"

Seite 95

Verifying the Version of the Microsoft Filter Manager LibraryConfirm that the Microsoft Filter Manager Library version is 5.1.2600.2978 or later, to m

Seite 96 - # force 32-bit libraries

5.In Windows Explorer, navigate to %SYBASE%\RAX-15_5\bin, and double-click thesybfiltermgr.exe file to start the sybfilter driver management console.6

Seite 97

Task1.From the Windows Control Panel, select:Administrative Tools > Services2.In the listed services, find the service named Microsoft SQL Server A

Seite 98

The majority of configuration values required to create and initialize a Replication Agentcan be recorded and stored in a resource file. Using a resou

Seite 99

Parameter Description Example valuesltm_admin_pw Password for the user administering the Rep-lication Agent instance.The default password policy istha

Seite 100 - Configuring Replication Agent

Parameter Description Example valuesrssd_username Valid user for RSSD. SAMPLE_RS_RSSD_maintrssd_password Password for rssd_username. SAM-PLE_RS_RSSD_m

Seite 101

Microsoft SQL Server(TEAMSTER)b) Stop the service.2.Restart Microsoft SQL Server in single-user mode:a)Click Start > Control Panel > Administrat

Seite 102 - SHOW DETAIL command

isql –Usa –Psa_pass –Smyra7.If your resource file has initialize_instance set to no, initialize the primary data server andthe Replication Agent insta

Seite 103 - Agent Administration Guide

Contentsviii Replication Server

Seite 104 - 96 Replication Server

Subsequent initializationCreate another Replication Agent instance, after you have already initialized the primary dataserver.See also• Verifying the

Seite 105 - -vr parameter

ra_admin initYour Replication Agent instance is now running and has been initialized.Creating a Replication Server Connection to the Primary DatabaseC

Seite 106

To detect an error that occurred after replication start-up, execute:ra_statusgoIf the Replication Agent is in replicating state, ra_status returns:St

Seite 107

EXEC Suspended 103(1) pds.pdb DSI Suspended 103 pds.pdb24 DIST Awaiting Wakeup 103 pds.pdb25 SQT Awa

Seite 108

grant all privileges on <tableowner>.PTAB1 to public8.Log in to Replication Server:isql –Usa –Psa_pass –SSAMPLE_RSIf you have not set up the sam

Seite 109

ra_admin refreshNote: If you prefer to delete and replace all the information in the Replication Agentrepository, issue the ra_admin deinit, force com

Seite 110 - Testing Replication

CHAPTER 5: Microsoft SQL Server-to-SAP HANA Database Replication Setup78 Replication Server

Seite 111

CHAPTER 6DB2 UDB-to-SAP HANADatabase Replication SetupImplement a sample replication system from DB2 UDB to SAP HANA database.Use the tasks in this do

Seite 112

• You are familiar with DB2 UDB and SAP HANA database.• You have valid licenses for Replication Server with ExpressConnect for HANA DB andReplication

Seite 113 - Glossary

Replication Agent Installation DirectoryReplication Agent versions 15.5 and later use the RAX-15_5 directory name. If you have anexisting Replication

Seite 114

CHAPTER 1ConventionsThese style and syntax conventions are used in Sybase® documentation.Style conventionsKey Definitionmonospaced (fixed-width)• SQL

Seite 115

6.Download your installation files, and uncompress and extract all the installation images toyour local drive.Installing Replication ComponentsReview

Seite 116

where setup.bin is the executable file name for installing Replication Server.If there is not enough disk space in the temporary disk space directory,

Seite 117

•Next to install the new SySAM license server and follow the installation prompts.•Previous and select Use previously deployed license server if you h

Seite 118

Note: For a sample Replication Server instance, the rs_charset parameter must be setto utf8.Click Next.12.When the final window appears, indicating a

Seite 119

any older versions of the products you choose toinstall that are detected in this directory will bereplaced.If you continue and the older products wer

Seite 120 - 112 Replication Server

Click Next.11.Review the product features or components listed on the Preinstallation Summarywindow. Click Install.The installation program installs t

Seite 121

Setting DB2 UDB Environment VariablesFor UNIX and Linux, the DB2 UDB installation provides two scripts for setting up the DB2UDB environment variables

Seite 122 - 114 Replication Server

# force 32-bit librariesLD_LIBRARY_PATH=$HOME/sqllib/lib32:$LD_LIBRARY_PATHexport LD_LIBRARY_PATH4.Before starting Replication Agent, always source yo

Seite 123

Note: Each SAP HANA database installs with a unique instance number, and the portnumber is the instance number prefixed with 3 and suffixed with 15:3i

Seite 124 - 116 Replication Server

set password mpwdgoFor SAP Secure User Store:create connection to rds.rdbusing profile rs_udb_to_hanadb;echset username auserset password apwdset dsi_

Kommentare zu diesen Handbüchern

Keine Kommentare