4.4 Replicating Content

4.4.1 Starting a Replication

You can start a replication in one of the following ways:

Using ZENworks Control Center to Start a Replication

To immediately start the replication:

  1. Log in to ZENworks Control Center.

  2. Click Configuration > Subscriptions.

  3. Select the check box next to the subscription that you want to run.

  4. Click Quick Tasks in the menu, then click Run Now.

To schedule the replication:

  1. In ZENworks Control Center, click Configuration > Subscriptions.

  2. Click the subscription link in the Name column to display the subscription’s Summary page.

  3. In the Schedule pane, select a schedule type to start the replication. The available schedule types are No Schedule, Date Specific, and Recurring.

    If you select No Schedule, then click Run Now, the replication starts immediately.

    For more information on schedules, see Schedule Types in the ZENworks 11 SP2 Primary Server and Satellite Reference.

Using the zman Command to Start the Replication

You can use the following command to begin the replication:

zman subscription-replicate subscription_name destination_folder_path options

For more information on this command, see Subscription Commands in the ZENworks 11 SP2 Command Line Utilities Reference.

4.4.2 Canceling a Replication

You can cancel a replication that is in an InProgress or Suspended state. When you cancel a replication, the Status column for the subscription displays Canceled on the Subscription page.

The packages that are already downloaded to the cache are automatically deleted when you cancel the replication.

If you cancel a replication when a bundle creation is in progress, the replication is canceled only after the bundle is created.

You can cancel a replication in any of the following ways:

Using the Action Menu to Cancel a Replication

  1. In ZENworks Control Center, click Configuration > Subscriptions.

  2. Select the check box next to the subscription that you want to cancel.

  3. Click Action > Cancel.

Editing the Subscription to Cancel a Replication

  1. In ZENworks Control Center, click Configuration > Subscriptions.

  2. In the Subscriptions list, click the subscription link of the subscription that you want to cancel.

    The Subscription’s Summary page is displayed.

  3. If the replication status is In Progress or Suspended, click the View Log link in the General pane.

    The Subscription Log Details dialog box is displayed.

  4. Click Cancel Replication to cancel the replication.

Using the zman command to Cancel a Replication

To cancel a replication, run the following command:

zman subscription-replication-status subscription_name --cancel

For more information on this command, see Subscription Commands in the ZENworks 11 SP2 Command Line Utilities Reference.

4.4.3 Suspending a Replication

You can suspend a replication to temporarily stop the replication that is in progress. The packages that are already downloaded to the cache are not deleted when you suspend the replication.

You can suspend a replication that is in an InProgress state. When you suspend a replication, the Status column for the suspended subscription displays Suspended on the Subscription page.

If you suspend a replication when a bundle creation is in progress, the replication is suspended only after the bundle is created.

You can suspend a replication in any of the following ways:

Using the Action Menu to Suspend a Replication

  1. In ZENworks Control Center, click Configuration > Subscriptions.

  2. Select the check box next to the subscription that you want to suspend.

  3. Click Action > Suspend.

Editing the Subscription to Suspend a Replication

  1. In ZENworks Control Center, click Configuration > Subscriptions.

  2. In the Subscriptions list, click the subscription that you want to suspend.

    The Subscription’s Summary page is displayed.

  3. If the replication status is In Progress, click the View Log link in the General pane.

    The Subscription Log Details dialog box is displayed.

  4. Click Suspend Replication to suspend the replication.

Using the zman Command to Suspend a Replication

To suspend a replication, run the following command:

zman subscription-replication-status subscription_name --suspend

For more information on this command, see Subscription Commands in the ZENworks 11 SP2 Command Line Utilities Reference

4.4.4 Resuming a Suspended Replication

When you resume a replication, it proceeds from where it was stopped. If a schedule is attached to the subscription, the replication resumes based on the specified schedule.

  1. In ZENworks Control Center, click Configuration > Subscriptions.

  2. Select the check box next to a suspended replication that you want to resume.

  3. Click Quick Tasks > Run Now.

To resume a replication, you can also use the Run Now link in the Schedule pane on the subscription’s Summary page