Table of Contents

Search

  1. Preface
  2. PowerExchange CDC Publisher Overview
  3. Installing and Upgrading PowerExchange CDC Publisher
  4. PowerExchange CDC Publisher Key Concepts
  5. PowerExchange Change Capture Environment
  6. Target Messaging Systems
  7. Configuring PowerExchange CDC Publisher
  8. Streaming Change Data
  9. Monitoring PowerExchange CDC Publisher
  10. Administering PowerExchange CDC Publisher
  11. Command Reference for the Command-Line Utilities
  12. Avro Schema Formats
  13. Message Reference

User Guide

User Guide

Shutting Down the CDC Publisher

Shutting Down the CDC Publisher

Use the PwxCDCAdmin utility with the SHUTDOWN parameter to stop the PowerExchange CDC Publisher process.
If messages are being written to topics when the shutdown request is made, the connection to the target messaging system remains open so that the write operations can complete before the CDC Publisher shuts down. If CDC Publisher internal processes are processing change data, the processes ignore the in-progress changes and shut down cleanly. The processing of these in-progress changes will occur after the CDC Publisher process is restarted, provided that you use the default restart position.
Before you issue the PwxCDCAdmin command, ensure that the PowerExchange CDC Publisher process is running in a separate command line window.
  1. At the command prompt, enter the PwxCDCAdmin command with the SHUTDOWN parameter. Include the optional INSTANCE parameter if you are shutting down a PwxCDCPublisher process that is using an instance other than the default "instanceA" at
    /
    pwxcdcpub_root installation
    /instanceA
    .
    Use the following syntax:
    PwxCDCAdmin SHUTDOWN [INSTANCE=
    override_instance_directory
    ]
    You can issue the command from the
    pwxcdcpub_root_installation
    \bin
    subdirectory or from another location if you specified the PWXPUB_HOME environment variable. For more information about the command syntax, see PwxCDCAdmin Utility - Command and Parameters.
The following output from shutdown processing is displayed:
INSTANCE = instanceA. Connecting to host:port USHOST1:26987 --------------------------------------------------------------- Shutdown request has been executed... Waiting for server to shutdown. Wait duration 0:00:11 as of 2017/09/22 11:29:19 Shutdown completed. Server connection is no longer available.

0 COMMENTS

We’d like to hear from you!