Skip to main content

Clone data on ASA r2 storage systems

Contributors netapp-aherbin

Data cloning creates copies of storage units and consistency groups on your ASA r2 system using ONTAP System Manager that can be used for application development, testing, backups, data migration or other administrative functions.

Clone storage units

When you clone a storage unit, you create a new storage unit on your ASA r2 system that is a point-in-time, writable copy of the storage unit you cloned.

Steps
  1. In System Manager, select Storage.

  2. Hover over the name of the storage unit you want to clone.

  3. Select three vertical blue dots; then select Clone.

  4. Accept the default name for the new storage unit that will be created as a clone or enter a new one.

  5. Select the host operating system.

    A new snapshot is created for the clone by default.

  6. If you want to use an existing snapshot, create a new host group, or add a new host, select More Options.

    Option Steps

    Use an existing snapshot

    1. Under Snapshot to clone, select Use an existing snaphot.

    2. Select the snapshot you want to use for the clone.

    Create a new host group

    1. Under Host mapping, select New host group.

    2. Enter a name for the new host group; then select the host initiators to include in the group.

    Add a new host

    1. Under Host mapping, select New hosts.

    2. Enter the a name for the new host; then select FC or iSCSI.

    3. Select the host initiators from the list of existing initiators or select Add to add new initiators for the host.

  7. Select Clone.

What's next?

You have created a new storage unit that is identical to the storage unit you cloned. You are now ready to use the new storage unit as needed.

Clone consistency groups

When you clone a consistency group, you create a new consistency group that’s identical in structure, storage units, and data to the consistency group you cloned. Use a consistency group clone to perform application testing or to migrate data. Suppose, for example, you need to migrate a production workload out of a consistency group. You can clone the consistency group to create a copy of your production workload to maintain as a backup until the migration is complete.

The clone is created from a snapshot of the consistency group being cloned. The snapshot used for the clone is taken at the point in time that the cloning process is initiated by default. You can modify the default behavior to use a pre-existing snapshot.

Storage unit mappings are copied as part of the cloning process. Snapshot polices are not copied as part of the cloning process.

You can create clones from consistency groups stored locally on your ASA r2 system or from consistency groups that have been replicated to remote locations.

Clone using local snapshot
Steps
  1. In System Manager, select Protection > Consistency groups.

  2. Hover over the consistency group you want to clone.

  3. Select three vertical blue dots, then select Clone.

  4. Enter a name for consistency group clone or accept the default name.

  5. Select the host operating system.

  6. If you want to dissociate the clone from the source consistency group and allocate disk space, select Split clone.

  7. If you want to use an existing snapshot, create a new host group or add a new host for the clone, select More Options.

    Option Steps

    Use an existing snapshot

    1. Under Snapshot to clone, select Use an existing snapshot.

    2. Select the snapshot you want to use for the clone.

    Create a new host group

    1. Under Host mapping, select New host group.

    2. Enter a name for the new host group; then select the host initiators to include in the group.

    Add a new host

    1. Under Host mapping, select New hosts.

    2. Enter the name new host name; then select FC or iSCSI.

    3. Select the host initiators from the list of existing initiators or select Add initiator to add new initiators for the host.

  8. Select Clone.

Clone using remote snapshot
Steps
  1. In System Manager, select Protection > Replication.

  2. Hover over the Source you want to clone.

  3. Select three vertical blue dots, then select Clone.

  4. Select the source cluster and storage VM; then enter a name for the new consistency group or accept the default name.

  5. Select the snapshot to clone; then select Clone.

What's next?

You have cloned a consistency group from your remote location. The new consistency group is locally available on your ASA r2 system to use as needed.

What's next?

To protect your data, you should create snapshots of the cloned consistency group.