Running the bmc-ctd-distribute-repmgr Utility
The Distribution Repository Manager, bmc-ctd-distribute-repmgr, is a command line utility used to create and manage the Distribution Repository in the Control-D Delivery Server.
This procedure describes how to invoke the Distribution Repository Manager, which automatically distributes reports.
Begin
-
Log in to a host where Control-D Delivery Server is installed.
-
Type the following command:
bmc-ctd-distribute-repmgr <command> -u=<username> -p=<password> [-<option> | -<option>=<value> ...-<option>=<value>]
-
For each field, define the required parameters, as described in bmc-ctd-distribute-repmgr Parameters.
-
(Optional) Type one of the following commands to list or delete distribution jobs in the Distribution Repository:
-
bmc-ctd-distribute-repmgr list -u=<username> -p=<password> -<parameter>=<value>
-
bmc-ctd-distribute-repmgr delete -u=<username> -p=<password> -<parameter>=<value>
-
bmc-ctd-distribute-repmgr Parameters
The following table describes the bmc-ctd-distribute-repmgr parameters, which enables you to manage, add jobs, organize the job list, and delete jobs on the Distribution repository.
Parameter |
Description |
---|---|
add <parameters> |
Adds a new distribution job to the Distribution Repository.
|
list <parameters> |
Determines one of the following values to categorize distribution jobs: Valid values:
bmc-ctd-distribute-repmgr list -u=<username> -p=<password> -status=failed |
delete <parameters> |
Enables you to delete distribution jobs from the Distribution Repository according to search criteria, as described in Running the bmc-ctd-distribute-repmgr Utility.
|
clean |
Determines the number of days before the utility cleans ended_ok or failed jobs from the Distribution Repository. Default: 0 days. bmc-ctd-distribute-repmgr clean -u=<username> -p=<password> -restperiod=5 |
resend <ID> |
Defines the job ID, which enables you resend ended_ok, or failed distribution jobs. bmc-ctd-distribute-repmgr resend -u=<username> -p=<password> -id=6 |
-attr: <destination attribute> |
Determines the destination attributes for the following destination types: Valid values: You must use double quotes for this parameter. |
-e or -erase |
Enables you to remove the input files after you add the files to the Distribution queue. |
-file |
Determines the full file path name. |
-fromdate: <date> |
Defines the start date to add jobs to the Distribution queue. Format: mmddyyyy |
-ot: original format |
Determines one of the following original formats to render reports. Valid values:
|
-priority |
Determines the precedence level in the queue, which process distribution jobs according to the priority level. Valid values: 0−15 Default: 7 |
-report |
Defines the report name. |
-rq |
Determines which report clique to use when you transform text reports. |
-todate: <date> |
Defines the end date to add jobs to the Distribution queue. Format: mmddyyyy |
-type |
Determines one of the following destination types to send a report: Valid values:
|
Defines the job ID. |
|
-tt: target format |
Determines one of the target format to render reports. Valid values:
|
-user |
Defines the user ID. |
Email Destination Attributes
The following table describes the destination email attributes when you distribute reports in emails.
Parameter |
Description |
---|---|
sender |
Defines the sender name, which appears in the From field of an email. |
recipient |
Defines the recipient name, which appears in the To field of an email. |
subject |
Defines the text, which appears on the in the Subject field of an email. |
host |
Defines the email server hostname, which delivers emails. |
datatype |
Determines one of the following options to send reports: Valid values:
Default: Text-plain. |
original_type |
Determines one of the following input file types to transform reports: Valid values:
|
transformer_to |
Determines one of the following output file types when you transform reports. Valid values:
|
Local Files (FS) Destination Attributes
The following table describes the destination attributes when you distribute reports to a local computer.
Parameter |
Description |
---|---|
dir |
Defines the destination directory name. |
original_type |
Determines one of the following input file types to transform reports: Valid values:
|
transformer_to |
Determines one of the following output file types when you transform reports.
|
Remote Files (FT) Destination Attributes
The following table describes the destination attributes when you distribute reports to a remote computer.
Parameter |
Description |
---|---|
host |
Defines the Control-D Delivery host computer name or the Control-D/Agent host computer name to where to transfer the report. |
port |
Defines the Control-D Delivery file transfer port number or the Control-D/Agent file transfer port number where to transfer the report. |
compress
|
Determines whether to compress files when you distribute reports. Valid values:
|
original_type |
Determines one of the following input file types to transform reports: Valid values:
|
transformer_to |
Determines one of the following output file types when you transform reports.
|
Line Printer Protocol (LPR) Destination Attributes
The following table describes destination attributes to print reports on a line printer.
Parameter |
Description |
---|---|
host |
Defines the hostname. |
printer |
Defines the printer name. |
banner |
Determines whether to print a banner on a report. Valid values:
|
ds_banner |
Defines a filename, which contains a report banner template, such as text, variables, and layout of the banner. |
ds_title |
Defines the title name, which appears in the report banner. |
filetype |
Determines one of the following report types: Valid value:
|
linewidth |
Determines the text line width on a report. |
fileindent |
Determine the number of centimeters to indent a report on a page. |
class |
Defines the class name, which appears in the printer banner. |
copies |
Determines the number of report copies when you print reports. |
landscape |
Determines whether the report prints in landscape or portrait orientation. Valid values:
|
collate |
Determines whether to collate reports when you print more than one copy of a report. Valid values:
|
original_type |
Determines one of the following input file types to transform reports: Valid values:
|
transformer_to |
Determines one of the following output file types when you transform reports.
|