Code Monkey home page Code Monkey logo

iidr-change-table-status's Introduction

IIDR Set Replication Status

==============

This utility command depends on CHCCLP and allows you to set the replication status of direct mapped and rule-based mapped tables. Table statuses can be set to Active and Refresh. As rule-based mapped tables do not support Parked table status, this option is not available.

Installation

The GitHub repository contains all components required to run the SetReplicationStatus utility, including the Apache Commons and Log4j2 jar files. Besides the CDC Access Server or CDC Management Console, no further programs are needed. Classes have been compiled with Java 1.8, the version that comes with CDC Access Server 11.3.3.3. Therefore, after download, the utility can be used as is, and no compilation is required.

Downloading the utility

Download and un-zip the master zip file from GitHub through the following link: Download Zip.

Required software versions

There is a strong dependency of the utility on CDC Access Server (or Management Console). At a minimum, the following versions are required:

  • CDC Access Server (or Management Console): 11.3.3.3 fix pack 5613

Usage

Once the tool has been configured, you can perform collect the statistics using the shell/command script that is provided in the utility's home directory.

  • Linux/Unix: SetReplicationStatus.sh -ds <source datastore> -s subscription -t refresh|active [-d]
  • Windows: SetReplicationStatus.cmd -ds <source datastore> -s subscription -t refresh|active [-d]

Parameters

  • ds: Specifies the source datastore of the subscriptons you wish to export.
  • s: Specifies the subscription for which you want to set the table statuses to Refresh or Active
  • t: Indicates the status that must be set: Refresh or Active (case insensitive)
  • d: Optional. Displays debug messages for troubleshooting.

Command example

SetReplicationStatus.sh -ds CDC_Oracle_cdcdemoa -s S1 -t refresh

The command connects to the Access Server and then the CDC_Oracle_cdcdemoa datastore. Subsequently it finds all mapped tables (direct and rule based) and sets the table status to refresh.

iidr-change-table-status's People

Contributors

fketelaars avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.