Skip to topic | Skip to bottom
ADAPT - A Digital Approach to Preservation Technology

Main
Main.BlockReplicatingr1.1 - 11 Sep 2007 - 18:30 - MikeSmorultopic end

Start of topic | Skip to actions

Block Replicating

Problem

How to replicate a block device from one system to a remote one. Each device

Basic Workflow

  1. Quite source device. For filesystems, this may require flushing and unmounting
  2. Select protocol for destincation lun (3rd-party, iscsi dd, piped data)
  3. Allocate destination lun.
  4. Establish connection between two luns
  5. Copy data from source to destination.
  6. Validate data transfer.
  7. Disconnect remote lun and resume normal operations.

Solutions

There are three methodologies for copying data from one lun to another. They are:

  1. network pipe, open an IP connection between two hosts and copy the bits from device@hostA to device@hostB
  2. Local mount, using a storage protocol, fc, iscsi, ifcp, locally mount the remote lun and bit-copy the data between the two lung
    • Remotely supplied lun may need to be allocated on destination host and reshared
    • For san-based storage, out-of-band creation may be possible
  3. 3rd party copy. Using san-san copy bits directly from one lun to another out of band of either host.

Approach Allocate destination Establish connection copy data tear down
network pipe On remote host, create block device and make visible Open ssh, socket, etc read bits from open socket and write to block device
local mount lun created remotely or third party creation Mount lun from san or remote iscsi target bit-copy between two devices
3rd party storage created lun Storage managed connection (ifcp, san, etc) storage managed copy

to top

You are here: Main > TWikiUsers > MikeSmorul > BlockReplicating

to top

Copyright © 1999-2008 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.