• No results found

Connect CDC SQData. SQDMon Utility Reference. Version 4.0

N/A
N/A
Protected

Academic year: 2021

Share "Connect CDC SQData. SQDMon Utility Reference. Version 4.0"

Copied!
19
0
0

Loading.... (view fulltext now)

Full text

(1)

Connect CDC SQData

SQDMon Utility Reference

(2)

2 Connect CDC SQData SQDMon Utility Reference

© 2001, 2021 SQData. All rights reserved.

Version 4.0

(3)

SQDMon Utility Reference

Contents

Introduction ... 4

SQDMON Utility Summary ... 5

Organization ... 6

Documentation Conventions ... 7

Related Documentation ... 8

Utility Command Syntax ... 9

(4)

4 Connect CDC SQData SQDMon Utility Reference

This document provides a reference to the functions and syntax of theSQDMON Utility. This remainder of this section:

· Summarizes features and functions of the SQDMON utility

(5)

Introduction

SQDMON Utility Summary

The SQDMON utility communicates with sqdaemons on both local and remote platforms to assess the overall status and configuration of the sqdaemon and to refresh its configuration following changes to sqdaemon configuration files. It is also used to start, stop and query information from agents running under the control of the daemon. Access to the sqdaemon by SQDMON is controlled by a public/private key authentication scheme described in detail in the Secure Communications Guide and by the local Access Control Configuration file used by the sqdaemon.

(6)

6 Connect CDC SQData SQDMon Utility Reference

Organization

This document contains the following sections:

(7)

Introduction

Documentation Conventions

The following conventions are used in command and configuration syntax and examples in this document.

Convention Explanation Example

Regular type Items in regular type must be entered literally using either lowercase or uppercase letters. Items in Bold type are usually "commands" or "Actions". Note, uppercase is often used in "z/OS" objects for consistency just as lowercase is often used on other platforms where case may be either enforced or optional.

create

CCSID /directory //SYSOUT DD *

<variable> Items between < and > symbols represent variables. You must substitute an appropriate numeric or text value for the variable.

<file_name>

| Bar A vertical Bar indicates that a choice must be made among items in a list separated by bars.

'yes' | 'no' JSON | AVRO

[ ] Brackets Brackets indicate that item is optional. A choice may be made among multiple items contained in brackets.

[alias] OR [+ | -]

-- Double dash Double dashes "--" identify an option keyword. Some keywords may be abbreviated and preceded by a single dash "-". A double dash in some contexts can be used to indicate the start of a single line comment.

--service=<port> OR -s <port> OR --apply OR -- this is a comment

… Ellipsis An ellipsis indicates that the preceding argument or group of arguments may be repeated.

[expression…]

Sequence number

A sequence number indicates that a series of arguments or values may be specified. The sequence number itself must never be specified.

field2

' ' Single quotes Single quotation marks that appear in the syntax must be specified literally.

(8)

8 Connect CDC SQData SQDMon Utility Reference

Related Documentation

Data Capture Guide - This publication provides an overview of the role capture plays in Precisely's Connect CDC

SQData product, the common features Capture and the methods supported for store and forward transport of captured data to target Engines running on all platforms.

Apply and Replicator Engine References - These document provide a detail level reference describing the operation

and command language of the Connect CDC SQData Apply and Replicator Engine components, which support target datastores on z/OS, AIX, Linux and Windows.

Secure Communications Guide - This publication describes the Secure Communications architecture and the process

used to authenticate client-server connections.

Utility Guides - These publications describes each of the Connect CDC SQData utilities such as SQDCONF, SQDMON,

SQDUTIL and the zOS Master Controller.

Messages and Codes - This publication describes the messages and associated codes issued by the Capture,

(9)

Utility Command Syntax

Each function performed by SQDMON has its own set of keywords and parameters. The following table summarizes the Actions that can be issued to the SQDMON Utility.

Action Description

inventory Display the list of agents defined to the sqdaemon and

their summary level status

reload Instruct the sqdaemon to reload its configuration files

display Display a detail level snapshot of a single agent"s status

start Instruct the sqdaemon to start an agent

stop Instruct the sqdaemon to stop an agent

Shutdown Instruct the sqdaemon to gracefully terminate itself

Syntax

The general Syntax for SQDMON is as follows

sqdmon action [url] format=<type>] [-s port_num | --service=port_num] [--identity=<path_to_nacl_id/nacl_id>] [--tls]

Note: sqdmon displays the result on stdout or it’s equivalent. When such a result is produced, its format depends on

(10)

10 Connect CDC SQData SQDMon Utility Reference

inventory

Display the inventory of the agents and their current status under control of the sqdaemon listening on the host and port specified in argument.

Syntax

<%PREFIX_LC%>mon inventory url [,url ] [--format=xml | details] [-s port_num | --service=port_num] [--identity=<path_to_nacl_id/nacl_id>] [--tls]

Keyword and Parameter Descriptions

format=xml Produces an xml-formatted output, convenient for machine consumption whereas --format=details, the default, produces human readable output.

url Typically //host_name of the sqdaemon on that system. No host_name is required for "Localhost"

-s port_num | --service=port_num A port number is required for both "Localhost" and remote sqdaemons unless they are listening on the Connect CDC SQData default port number 2626.

--identity=<path_to_nacl_id/nacl_id> The location of the user's private key. Only required if it is not in the default location, the .nacl directory under the user's home directory.

--tls - Specifies that a secure TLS connection will be made to zOS (ONLY) Daemon, Capture and Publisher components already configured to run under IBM's Application Transparent Transport Layer Security (AT-TLS).

(11)

Utility Command Syntax

reload

Instructs the sqdaemon to reload or refresh the contents of its configuration files loaded into memory when the sqdaemon was started.

Syntax

sqdmon reload url [ ,url ] [-s port_num | --service=port_num ] [--identity=<path_to_nacl_id/nacl_id>]

Keyword and Parameter Descriptions

url Typically //host_name of the sqdaemon on that system. No host_name is required for "Localhost"

-s port_num | --service=port_num A port number is required for both "Localhost" and remote sqdaemons unless they are listening on the Connect CDC SQData default port number 2626.

(12)

12 Connect CDC SQData SQDMon Utility Reference

display

Instructs the sqdaemon to display information about the state of the agents (capture/publisher or engine agents only) identified in the arguments. For engine agents this includes datastore level statistics.

Syntax

<%PREFIX_LC%>mon display [ --format=xml | details ] url [ ,url ] [-s port_num | --service=port_num ] [--identity=<path_to_nacl_id/nacl_id>] [--tls]

Keyword and Parameter Descriptions

format=xml Produces an xml-formatted output, convenient for machine consumption whereas --format=details, the default, produces human readable output.

url Typically //host_name/agent_name as defined in the sqdagents.cfg file of the sqdaemon on that host system. No host_name is required for "Localhost"

-s port_num | --service=port_num A port number is required for both "Localhost" and remote sqdaemons unless they are listening on the Connect CDC SQData default port number 2626.

--identity=<path_to_nacl_id/nacl_id> The location of the user's private key. Only required if it is not in the default location, the .nacl directory under the user's home directory.

--tls - Specifies that a secure TLS connection will be made to zOS (ONLY) Daemon, Capture and Publisher components already configured to run under IBM's Application Transparent Transport Layer Security (AT-TLS).

(13)

Utility Command Syntax

start

Instructs the sqdaemon to "start" the Engine (only) agents identified in the url arguments.

Syntax

sqdmon start url [ ,url ] [-s port_num | --service=port_num ] [--identity=<path_to_nacl_id/nacl_id>]

Keyword and Parameter Descriptions

url Typically //host_name/agent_name as defined in the sqdagents.cfg file of the sqdaemon on that host system. No host_name is required for "Localhost"

-s port_num | --service=port_num A port number is required for both "Localhost" and remote sqdaemons unless they are listening on the Connect CDC SQData default port number 2626.

--identity=<path_to_nacl_id/nacl_id> The location of the user's private key. Only required if it is not in the default location, the .nacl directory under the user's home directory.

(14)

14 Connect CDC SQData SQDMon Utility Reference

stop

Instructs the sqdaemon to "stop" the Engine (only) agents identified in the url arguments.

Syntax

sqdmon stop url [ ,url ] [-s port_num | --service=port_num ] [--identity=<path_to_nacl_id/nacl_id>]

Keyword and Parameter Descriptions

url Typically //host_name/agent_name as defined in the sqdagents.cfg file of the sqdaemon on that host system. No host_name is required for "Localhost"

-s port_num | --service=port_num A port number is required for both "Localhost" and remote sqdaemons unless they are listening on the Connect CDC SQData default port number 2626.

--identity=<path_to_nacl_id/nacl_id> The location of the user's private key. Only required if it is not in the default location, the .nacl directory under the user's home directory.

(15)

Utility Command Syntax

Shutdown

Instructs the sqdaemon to gracefully terminate itself.

Syntax

<%PREFIX_LC%>mon shutdown [-s port_num | --service=port_num ] [--identity=<path_to_nacl_id/nacl_id>]

Keyword and Parameter Descriptions

url Typically //host_name No host_name is required for "Localhost"

-s port_num | --service=port_num A port number is required for both "Localhost" and remote sqdaemons unless they are listening on the Connect CDC SQData default port number 2626.

--identity=<path_to_nacl_id/nacl_id> The location of the user's private key. Only required if it is not in the default location, the .nacl directory under the user's home directory.

(16)

16 Connect CDC SQData SQDMon Utility Reference

The utility can be executed on z/OS with JCL similar to sample member SQDMON included in the distribution, as in the sample below:

//*--- //* EXECUTES SQDATA DAEMON CONTROL PROGRAM - SQDMON //*--- //* NOTE: PARMS MUST BE ENTERED IN LOWER CASE //*--- //JOBLIB DD DISP=SHR,DSN=SQDATA.V400.LOADLIB //* //SQDMON EXEC PGM=SQDMON //SQDPUBL DD DSN=SQDATA.NACL.PUBLIC,DISP=SHR //SQDPKEY DD DSN=SQDATA.NACL.PRIVATE,DISP=SHR //SYSOUT DD SYSOUT=* //SQDLOG DD SYSOUT=* //*SQDLOG8 DD DUMMY //SQDPARMS DD * inventory //<host_name> -s 2626

The syntax for Open Systems and Windows are identical and can be run at the command prompt or in a script:

sqdmon inventory //<host_name> -s 2626

(17)

Operational Considerations

sqdmon can only perform start and stop functions on the AIX, linux and Windows platforms.

(18)

18 Connect CDC SQData SQDMon Utility Reference

C

Controller Daemon 5

D

display 12

I

inventory 10

J

JCL 16

L

linux 17

P

public/private key authentic 5

(19)

2 Bl ue Hi l l Pl a za Pea rl Ri ver, NY 10965 USA

preci s el y.com

References

Related documents

Customers have a choice and rewarding loyalty is important to ensuring customer tenure and value. Loyalty is also key to driving referral to

A total of 23 species within 18 genera were collected and identified as new records for the fauna of Iran: Agathidinae (two species), Alysiinae (two species), Aphidiinae (one

The estimated costs for nuclear power from the study will be based on the findings of the United Nations Scientific Committee on the Effects of Atomic Radiation (UNSCEAR), with the

I further understand that La Trobe University, as an education provider, is required to provide information about my enrolment and my contact details in Australia to the Department

Even though thousands of students participate in science fairs every year, no instrument to measure student attitudes toward partaking in this hands-on learning experience has

You may be able to transfer the outstanding balance and the advantage of your Encompass mortgage from one home to another.. within the province

S ohledem na požadavky, které jsou na systém kladeny, byl tento rozdělen celkem na sedm částí: jádro systému (Server Side System, SSS), databázi vstupenek a

specialty meats, specialty cheeses, fermentation products (foods as well as breweries/distilleries), multi- ingredient convenience productsB. • Not to replicate what’s