Community

Subscribe
Highlighted
Accepted Solution

snapmirror on vsim

Am trying to setup and verify snapmirror across 2 vsims, but seeing below issue.

Any help/guidance shall be of great help to identify what am I missing here?

Issue seen –

Snapmirror is not working across 2 different  vsims

Error says – Snapmirror expects that the destination filer to be same as that of source filer

--Error snip—

smoke6-vsim-pbc7b6g*>

smoke6-vsim-pbc7b6g*> snapmirror initialize -S smoke6-vsim-pbc7b6g:vol3 -w smoke6-vsim-pbc7b6h:vol3

Illegal destination filer specification: smoke6-vsim-pbc7b6h.

Destination filer, if specified, must match the local host: smoke6-vsim-pbc7b6g.

usage:

snapmirror initialize [-k <n>][-s <src_snap>][-c <dst_snap>][-S [<srcfiler>:]<srcpath>][-w] [<dstfiler>:]<dstpath>

in which <srcpath> and <dstpath> are

<volname> or </vol/volname/qtreename>

        - request start of initial transfer

smoke6-vsim-pbc7b6g*>

smoke6-vsim-pbc7b6g*> rdfile /etc/snapmirror.allow

  1. 172.31.70.29

smoke6-vsim-pbc7b6g*>

smoke6-vsim-pbc7b6g*> rdfile /etc/snapmirror.conf

smoke6-vsim-pbc7b6g:/vol/vol3 smoke6-vsim-pbc7b6h:/vol/vol3 - * * * * *

smoke6-vsim-pbc7b6g*>

Big Thanks!

Re: snapmirror on vsim

Hi Anuj ,

Try to edit the conf file as 

smoke6-vsim-pbc7b6g:vol3 smoke6-vsim-pbc7b6h:vol3 - * * * * *

Then run initialize  command

thanks

Ashwani

Re: snapmirror on vsim

Hi Ashwani,

Thanks for your response.

But this has not helped. Same problem still exists.

Regards,

Anuj

Re: snapmirror on vsim

Anuj,

     Did you change the serial number of one of the sims?  The simulators have identical serial numbers and this breaks things like VSM on the sims until you change one of them to have a different serial number.

https://communities.netapp.com/message/6749#6749

- Scott

Re: snapmirror on vsim

Hi Scott,

Thanks for your inputs.

But I have not changed serial nos on the devices.

I verified that both the devices have different serial nos.

---

smoke6-vsim-pbc7b6h*> sysconfig -v

        NetApp Release R8.2xN_130326_2055 7-Mode: Tue Mar 26 21:10:43 PDT 2013

        System ID: 4061576413 (smoke6-vsim-pbc7b6h)

        System Serial Number: 4061576-41-3 (smoke6-vsim-pbc7b6h)

        System Storage Configuration: Single Path

<truncate>

---

smoke6-vsim-pbc7b6g*> sysconfig -v

        NetApp Release R8.2xN_130326_2055 7-Mode: Tue Mar 26 21:10:43 PDT 2013

        System ID: 4061576412 (smoke6-vsim-pbc7b6g)

        System Serial Number: 4061576-41-2 (smoke6-vsim-pbc7b6g)

        System Storage Configuration: Single Path

<truncate>

---

Regards,

Anuj

Re: snapmirror on vsim

Hi Anuj ,

Check last two things  1)  if snapmirror is licensed on destination . 2) if you are able to ping destination filer ip from the source .

Re: snapmirror on vsim

Hello Ashwani,

Yes I verified that snapmirror is licensed on both source and destination.

And I am able to ping the destination filer from the source.

---- snip from destination filer---

smoke6-vsim-pbc7b6h*> ifconfig -a

e0a: flags=0xe08866<BROADCAST,RUNNING,MULTICAST> mtu 1500

        ether 00:0c:29:0b:7c:45 (auto-1000t-fd-up) flowcontrol full

e0b: flags=0xe08866<BROADCAST,RUNNING,MULTICAST> mtu 1500

        ether 00:0c:29:0b:7c:4f (auto-1000t-fd-up) flowcontrol full

e0c: flags=0xe08866<BROADCAST,RUNNING,MULTICAST> mtu 1500

        ether 00:0c:29:0b:7c:59 (auto-1000t-fd-up) flowcontrol full

e0d: flags=0xe48867<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500

        inet 172.31.70.29 netmask 0xffffe000 broadcast 172.31.95.255

        ether 00:0c:29:0b:7c:63 (auto-1000t-fd-up) flowcontrol full

lo: flags=0x1b48049<UP,LOOPBACK,RUNNING,MULTICAST,TCPCKSUM> mtu 9188

        inet 127.0.0.1 netmask 0xff000000 broadcast 127.0.0.1

losk: flags=0x40a400c9<UP,LOOPBACK,RUNNING> mtu 9188

        inet 127.0.20.1 netmask 0xff000000 broadcast 127.0.20.1

smoke6-vsim-pbc7b6h*>

smoke6-vsim-pbc7b6h*>

smoke6-vsim-pbc7b6h*> license

Serial Number: 4061576-41-3

Owner: smoke6-vsim-pbc7b6h

Package           Type    Description           Expiration

----------------- ------- --------------------- --------------------

NFS               license NFS License           -

CIFS              license CIFS License          -

iSCSI             site    iSCSI License         -

FCP               site    FCP License           -

CDMI              site    CDMI License          -

SnapRestore       site    SnapRestore License   -

SnapMirror        site    SnapMirror License    -

FlexClone         site    FlexClone License     -

SnapVault         site    SnapVault License     -

SnapLock          site    SnapLock Compliance License -

SnapManagerSuite  site    SnapManagerSuite License -

SnapProtectApps   site    SnapProtectApp License -

V_StorageAttach   site    Virtual Attached Storage License -

SnapLock_Enterprise site    SnapLock Enterprise License -

Insight_Balance   site    OnCommand Balance     -

smoke6-vsim-pbc7b6h*>

---- snip from source filer---

smoke6-vsim-pbc7b6g*> ping 172.31.70.29

172.31.70.29 is alive

smoke6-vsim-pbc7b6g*>

Re: snapmirror on vsim

Hi Anuj  ,

Can you please share vol status and vol option for the destination volume .

Re: snapmirror on vsim

Below are the details from destination:

----

smoke6-vsim-pbc7b6h*>

smoke6-vsim-pbc7b6h*> vol status vol3

         Volume State           Status                Options

           vol3 online          raid_dp, flex

                                parity uninit'd!

                                64-bit

                         Volume UUID: bb12e39d-a5e4-4885-b823-f4eb79d8b866

                Containing aggregate: 'aggr3'

smoke6-vsim-pbc7b6h*>

smoke6-vsim-pbc7b6h*>

smoke6-vsim-pbc7b6h*> vol restrict vol3

Volume 'vol3' is now restricted.

smoke6-vsim-pbc7b6h*>

smoke6-vsim-pbc7b6h*> vol status vol3

         Volume State           Status                Options

           vol3 restricted      raid_dp, flex

                                parity uninit'd!

                                64-bit

                         Volume UUID: bb12e39d-a5e4-4885-b823-f4eb79d8b866

                Containing aggregate: 'aggr3'

smoke6-vsim-pbc7b6h*>

smoke6-vsim-pbc7b6h*> vol options vol3

Volume vol3 is restricted or offline; options are unknown

smoke6-vsim-pbc7b6h*>

smoke6-vsim-pbc7b6h*> vol online vol3

Volume 'vol3' is now online.

smoke6-vsim-pbc7b6h*>

smoke6-vsim-pbc7b6h*> vol options vol3

nosnap=off, nosnapdir=off, minra=off, no_atime_update=off, nvfail=off,

ignore_inconsistent=off, snapmirrored=off, create_ucode=off,

convert_ucode=off, maxdirsize=41861, schedsnapname=ordinal,

fs_size_fixed=off, guarantee=volume, svo_enable=off, svo_checksum=off,

svo_allow_rman=off, svo_reject_errors=off, no_i2p=off,

fractional_reserve=100, extent=off, try_first=volume_grow,

read_realloc=off, snapshot_clone_dependency=off, dlog_hole_reserve=off,

nbu_archival_snap=off

smoke6-vsim-pbc7b6h*>

smoke6-vsim-pbc7b6h*> vol restrict vol3

Volume 'vol3' is now restricted.

smoke6-vsim-pbc7b6h*>

----

Re: snapmirror on vsim

Hi Anuj ,

The fractional reserve is 100 ?     please remove this .  Restrict the volume once again  .Ensure the size of destination volume is => source volume  .Run the   > snapmirror initialize  -S   srcvolume destinationfiler:destinationvolume