Product | Command type |
---|---|
MultiSite | multiutil subcommand |
Platform |
---|
UNIX |
Windows |
This command creates a shipping order file for an existing packet file or any other file. The shipping server uses the shipping order to send the file to one or more destinations.
mkorder submits to the shipping server a packet that was created with mkreplica –out or syncreplica –out. You can also use mkorder to resubmit packets whose shipping orders have expired, and to transfer other files among sites. A shipping order must be located in the same directory as its associated packet or file.
None.
If you omit this option but use –ship or –fship, mkorder places the shipping order in the storage bay location specified for the –default class in the shipping.conf file or the MultiSite Control Panel.
You must use –copy with –ship; using –copy with –fship is optional:
The date-time argument can have any of the following formats:
Specify the time in 24-hour format, relative to the local time zone. If you omit the time, the default value is 00:00:00. If you omit the date, the default value is today. If you omit the century, year, or a specific date, the most recent one is used. Specify UTC if you want the time to be resolved to the same moment in time regardless of time zone. Use the plus (+) or minus (-) operator to specify a positive or negative offset to the UTC time. If you specify UTC without hour or minute offsets, the default setting is Greenwich Mean Time (GMT). (Dates before January 1, 1970 Universal Coordinated Time (UTC) are not valid.)
If a failure occurs on a Windows host that does not have e-mail notification enabled, a message is displayed in the Windows Event Viewer. The message includes the e-mail-address value specified with this option and a note requesting that this user be informed of the status of the operation. For information about enabling e-mail notification, see the MultiSite Control Panel reference page.
In these examples, the lines are broken for readability. You must enter each command on a single physical line.
mkorder –data "c:\Program Files\Rational\ClearCase\var\shipping\cq_default\
outgoing\p1" –sclass cq_default –out "c:\Program Files\Rational\ClearCase\var\
shipping\cq_default\outgoing\p1_order" goldengate
Shipping order "c:\Program Files\Rational\ClearCase\var
\shipping\cq_default\outgoing\p1_order" generated.
/opt/rational/clearcase/etc/mkorder –data /usr/tmp/to_goldengate –sclass
cq_default –ship –copy –notify admin goldengate
Shipping order "/var/adm/rational/clearcase/shipping/cq_default/outgoing/sh_o_to_
goldengate" generated.
mkorder –data c:\tmp\to_goldengate –fship –copy –sclass ClassA –pexpire 18-May
goldengate
Shipping order "c:\tmp\sclass\ClassA\sh_o_to_goldengate" generated.
Attempting to forward/deliver generated packets...
-- Forwarded/delivered packet
c:\tmp\sclass\ClassA\sh_o_to_goldengate
ccase-home-dir/config/services/shipping.conf