NetApp::Snapmirror(3pm)

NetApp::Snapmirror3pm

Usage

    use NetApp::Filer;
    use NetApp::Snapmirror;
    my $filer   = NetApp::Filer->new( .... );
    my @snapmirrors     = $filer->get_snapmirrors;
    my $volume  = $filer->get_volume( .... );
    my @snapmirrors     = $volume->get_snapmirrors;

Overview

This class encapsulates a single snapmirror relationship, and provides methods for querying information about it, as well as methods for managing it.

Methods

get_filer

Returns the NetApp::Filer object for the filer on which this snapmirror relationship is defined.

get_source

Returns a NetApp::Snapmirror::Source object representing the source filer/volume for this snapmirror relationship.

get_destination

Returns a NetApp::Snapmirror::Destination object representing the source filer/volume for this snapmirror relationship.

Miscellaneous get_* methods

All of the following get methods return strings which match the values found for each of the obvious keywords in the output of "snapmirror status -l":

get_status
get_progress
get_state
get_lag
get_mirror_timestamp
get_base_snapshot
get_current_transfer_type
get_current_transfer_error
get_contents
get_last_transfer_type
get_last_transfer_size
get_last_transfer_duration
get_last_transfer_from

NOTE: In a future release, when snapshots are supported as a proper object, the return value of get_snapshot will almost certainly return such an object.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7–9
  3. 10–11
  4. 12–13

From libnetapp-perl 500.002-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.