<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic vfilers and where to snapmirror. in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/vfilers-and-where-to-snapmirror/m-p/76375#M17829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm starting to use vfilers and I'm not sure at what level I should be doing my snapmirrors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I do them on vfiler0 or within each vfiler?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do the rest of you use? pros/cons?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 05:42:20 GMT</pubDate>
    <dc:creator>steven_langdale</dc:creator>
    <dc:date>2025-06-05T05:42:20Z</dc:date>
    <item>
      <title>vfilers and where to snapmirror.</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/vfilers-and-where-to-snapmirror/m-p/76375#M17829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm starting to use vfilers and I'm not sure at what level I should be doing my snapmirrors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I do them on vfiler0 or within each vfiler?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do the rest of you use? pros/cons?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:42:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/vfilers-and-where-to-snapmirror/m-p/76375#M17829</guid>
      <dc:creator>steven_langdale</dc:creator>
      <dc:date>2025-06-05T05:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: vfilers and where to snapmirror.</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/vfilers-and-where-to-snapmirror/m-p/76380#M17830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;: VFILER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VFILER 0 is physichal filer so you can start with vfiler 1 to 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;Vfiler DR fas6080b_vfiler1 from simulator node fas6080b to both fas6080a and fas3170 &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FAS6080B to FAS6080A DR Vfiler &lt;/P&gt;&lt;P&gt;• fas6080a&amp;gt; vfiler status -a &lt;/P&gt;&lt;P&gt;• fas6080a&amp;gt; vfiler dr configure -c secure -l root:netapp fas6080b_vfiler1@192.168.150.101 &lt;/P&gt;&lt;P&gt;o keep the same IP address and subnet (you can change for DR) &lt;/P&gt;&lt;P&gt;o keep the same DNS (you can change for DR) &lt;/P&gt;&lt;P&gt;o use “ns1” interface on the dr vfiler &lt;/P&gt;&lt;P&gt;• fas6080a&amp;gt; vfiler dr status fas6080b_vfiler1@192.168.150.101 &lt;/P&gt;&lt;P&gt;• fas6080a&amp;gt; snapmirror status &lt;/P&gt;&lt;P&gt;• fas6080a&amp;gt; vfiler status -a &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FAS6080B to FAS3170 DR Vfiler (to have more than 1 DR target) – use “-s” option for snapmirror sync &lt;/P&gt;&lt;P&gt;(ignore “too many active transfers at once errors” from the simulator) &lt;/P&gt;&lt;P&gt;• fas3170&amp;gt; vfiler status -a • fas3170&amp;gt; vfiler dr configure -s -c secure -l root:netapp fas6080b_vfiler1@192.168.150.101 &lt;/P&gt;&lt;P&gt;o enter nothing for “alternate &lt;/P&gt;&lt;P&gt;o keep the same IP address and subnet (you can change for DR) &lt;/P&gt;&lt;P&gt;o keep the same DNS (you can change for DR) &lt;/P&gt;&lt;P&gt;o use “ns1” interface on the dr vfiler &lt;/P&gt;&lt;P&gt;• fas3170&amp;gt; vfiler dr status fas6080b_vfiler1@192.168.150.101 &lt;/P&gt;&lt;P&gt;• fas3170&amp;gt; snapmirror status &lt;/P&gt;&lt;P&gt;• fas3170&amp;gt; vfiler status -a &lt;/P&gt;&lt;P&gt;• Delete the DR vfiler (this was an example to create two, but for the lab we will failover locally &lt;/P&gt;&lt;P&gt;to the FAS6080A node.)… the volumes will still be available to vfiler0. &lt;/P&gt;&lt;P&gt;o fas3170&amp;gt; vfiler dr delete fas6080b_vfiler1@192.168.150.101 &lt;/P&gt;&lt;P&gt;o fas3170&amp;gt; vfiler status -a &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FAS6080B_vfiler1 will be shut down to simulate a disaster and FAS6080A_vfiler1 DR will be brought &lt;/P&gt;&lt;P&gt;online (STOP on node B and dr on node A) *** NOTE THE FILER NAMES TO ISSUE COMMANDS *** &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;• fas6080b&amp;gt; vfiler stop fas6080b_vfiler1 &lt;/P&gt;&lt;P&gt;• fas6080a&amp;gt; vfiler dr activate fas6080b_vfiler1@192.168.150.101 &lt;/P&gt;&lt;P&gt;• fas6080b&amp;gt; vfiler status -a # confirm fas6080b_vfiler1 is stopped &lt;/P&gt;&lt;P&gt;• fas6080a&amp;gt; vfiler status -a # confirm fas6080b_vfiler1 is running &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;• Confirm CIFS, NFS and iSCSI access is uninterrupted for fas6080b_vfiler1 (note: the point of this lab &lt;/P&gt;&lt;P&gt;is not to show no interruption since it is a DR event which will often be a different physical location &lt;/P&gt;&lt;P&gt;with different IPs, etc.). &lt;/P&gt;&lt;P&gt;o NFS &lt;/P&gt;&lt;P&gt; ls /lab2/fas6080b_vfiler1 &lt;/P&gt;&lt;P&gt;o CIFS &lt;/P&gt;&lt;P&gt; \\192.168.150.104\vfiler1_nas &lt;/P&gt;&lt;P&gt;o iSCSI &lt;/P&gt;&lt;P&gt; O:\ &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 2. Vfiler DR – RESYNC… FAS6080B is repaired. Resync the DR vfiler back to production, activate it, &lt;/P&gt;&lt;P&gt;then resync back to the DR site. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;• Resync the DR site from the 6080A dr node to the 6080B prod node. &lt;/P&gt;&lt;P&gt;o fas6080b&amp;gt; vfiler dr resync -c secure -l root:netapp fas6080b_vfiler1@192.168.150.100 &lt;/P&gt;&lt;P&gt;o fas6080b&amp;gt; vfiler dr status fas6080b_vfiler1@192.168.150.100 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;• Stop the DR vfiler on FAS6080A and activate the PROD vfiler on FAS6080B *** NOTE THE FILER &lt;/P&gt;&lt;P&gt;NAMES TO ISSUE COMMANDS *** &lt;/P&gt;&lt;P&gt;o fas6080a&amp;gt; vfiler stop fas6080b_vfiler1 &lt;/P&gt;&lt;P&gt;o fas6080b&amp;gt; vfiler dr activate fas6080b_vfiler1@192.168.150.100 &lt;/P&gt;&lt;P&gt;o fas6080b&amp;gt; vfiler status -a # confirm fas6080b_vfiler1 is running &lt;/P&gt;&lt;P&gt;o fas6080a&amp;gt; vfiler status -a # confirm fas6080b_vfiler1 is stopped &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;• Resync the PROD vfiler on FAS6080B to the DR vfiler on FAS6080A &lt;/P&gt;&lt;P&gt;o fas6080a&amp;gt; vfiler dr resync -c secure -l root:netapp fas6080b_vfiler1@192.168.150.101 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;• Confirm CIFS, NFS and iSCSI access is uninterrupted for fas6080b_vfiler1 &lt;/P&gt;&lt;P&gt;o NFS &lt;/P&gt;&lt;P&gt; ls /lab2/fas6080b_vfiler1 &lt;/P&gt;&lt;P&gt;o CIFS &lt;/P&gt;&lt;P&gt; \\192.168.150.104\vfiler1_nas &lt;/P&gt;&lt;P&gt;o iSCSI &lt;/P&gt;&lt;P&gt; O:\ &lt;/P&gt;&lt;P&gt; ADVANCED LAB – this step must be completed to continue on with labs 6-9 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;This step will show how to create a DR vfiler if mirrors already exist before vfiler DR. vfiler dr &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;configure initializes mirrors from scratch which may not be desired if mirrors already exist for &lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;volumes. This procedure will create the dr vfiler by manually creating it on the target (all mirrors &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;done manually) then doing a dr resync instead of a dr configure. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;• Note that the “CONFIGURE” step does a level 0 mirror initialization… but what if there are already &lt;/P&gt;&lt;P&gt;mirrors running…it is not feasible to baseline when already initialized. Simply mirror all remaining &lt;/P&gt;&lt;P&gt;volumes in the source vFiler to the DR site, then create the vFiler manually on the &lt;/P&gt;&lt;P&gt;destination…then do a DR resync instead of using dr configure. &lt;/P&gt;&lt;P&gt;• Procedure &lt;/P&gt;&lt;P&gt;o Using the fas6080b_vfiler1 source vfiler to the FAS3170 already has mirrors running. At &lt;/P&gt;&lt;P&gt;a customer this might be a 10TB usable volume and you would not want to re-init with &lt;/P&gt;&lt;P&gt;the “vfiler dr configure” method. So, mirror remaining volumes manually and manually &lt;/P&gt;&lt;P&gt;create the dr vfiler, then run “vfiler dr resync” to create the destination DR vfiler. &lt;/P&gt;&lt;P&gt;o Mirror any remaining volumes NOT mirrored that are in the source vfiler (make sure to &lt;/P&gt;&lt;P&gt;use the same volumes names on source and dest) – REPEAT for ALL volumes NOT &lt;/P&gt;&lt;P&gt;mirrored yet &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; vol restrict fas6080b_vfiler1_root &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; vol restrict fas6080b_vfiler1_nas &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; vol restrict fas6080b_vfiler1_san &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; snapmirror initialize -S fas6080b:fas6080b_vfiler1_root &lt;/P&gt;&lt;P&gt;fas6080b_vfiler1_root &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; snapmirror initialize -S fas6080b:fas6080b_vfiler1_nas &lt;/P&gt;&lt;P&gt;fas6080b_vfiler1_nas &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; snapmirror initialize -S fas6080b:fas6080b_vfiler1_san &lt;/P&gt;&lt;P&gt;fas6080b_vfiler1_san &lt;/P&gt;&lt;P&gt;o Quiese and Break all mirrors on target – REPEAT for ALL volumes &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; snapmirror status # wait until mirrors are initialized &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; snapmirror quiesce fas6080b_vfiler1_root &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; snapmirror break fas6080b_vfiler1_root &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; snapmirror quiesce fas6080b_vfiler1_nas &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; snapmirror break fas6080b_vfiler1_nas &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; snapmirror quiesce fas6080b_vfiler1_san &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; snapmirror break fas6080b_vfiler1_san &lt;/P&gt;&lt;P&gt;o Manually create the vfiler on the destination on the broken mirrors (you only need the &lt;/P&gt;&lt;P&gt;root volume of the vfiler from the source since it will pick up member volumes &lt;/P&gt;&lt;P&gt;automatically from the root configuration – the network will be unconfigured) &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; vfiler create fas6080b_vfiler1 -r /vol/fas6080b_vfiler1_root &lt;/P&gt;&lt;P&gt;o Check the Status and Stop the vfiler &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; vfiler status -a&amp;nbsp; fas3170&amp;gt; vfiler stop fas6080b_vfiler1 &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; vfiler status -a &lt;/P&gt;&lt;P&gt;o If the vFiler IP Address(es) are not correct, perform the next 3 steps to add the correct IP &lt;/P&gt;&lt;P&gt;and remove the wrong IP…. &lt;/P&gt;&lt;P&gt; Add .105 &lt;/P&gt;&lt;P&gt;• fas3170&amp;gt; vfiler add fas6080b_vfiler1 -i 192.168.150.105 &lt;/P&gt;&lt;P&gt;• fas3170&amp;gt; vfiler status -a &lt;/P&gt;&lt;P&gt; Remove .104 &lt;/P&gt;&lt;P&gt;• fas3170&amp;gt; vfiler remove fas6080b_vfiler1 -i 192.168.150.104 &lt;/P&gt;&lt;P&gt;• fas3170&amp;gt; vfiler status -a &lt;/P&gt;&lt;P&gt; Bring up the .105 interface so it is configured (using an alias since ns1 is &lt;/P&gt;&lt;P&gt;already used for fas6080a_vfiler1 with the .103 IP).. you would also edit &lt;/P&gt;&lt;P&gt;/etc/rc.. see below. &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; ifconfig ns1 alias 192.168.150.105 &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; vfiler status -a # note that the interface is now configured &lt;/P&gt;&lt;P&gt;• Edit /etc/rc to add the ifconfig for this interface &lt;/P&gt;&lt;P&gt;• Optionally – use vfiler setup FAS3170&amp;gt; vfiler run vfilername setup -e &lt;/P&gt;&lt;P&gt;ns1:ip:subnet - **** NOTE: You can ifconfig a new interface or &lt;/P&gt;&lt;P&gt;ifconfig alias an existing interface from vfiler0, or run “vfiler run &lt;/P&gt;&lt;P&gt;vfilername setup -e interface:ip:subnet”. Setup will wack several &lt;/P&gt;&lt;P&gt;setup files (hosts, hosts.equiv, resolv.conf, exports, nsswitch.conf) &lt;/P&gt;&lt;P&gt;so be careful to restore from .bak if needed. Setup -e will create an &lt;/P&gt;&lt;P&gt;alias if the interface is already in use. &lt;/P&gt;&lt;P&gt;o Backup /etc/snapmirror.conf first since the file will be modified so that the mirror &lt;/P&gt;&lt;P&gt;schedules for the vFiler’s volumes are replicated every 3 minutes. Save the file so you &lt;/P&gt;&lt;P&gt;can change back to the prior schedule. &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; rdfile /etc/snapmirror.conf &lt;/P&gt;&lt;P&gt;o Run a DR resync from source to target &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; vfiler stop fas6080b_vfiler1 &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; vfiler status # note vfiler is stopped &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; vfiler dr resync -c secure -l root:netapp &lt;/P&gt;&lt;P&gt;fas6080b_vfiler1@192.168.150.101 &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; snapmirror status &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; vfiler status # note vfiler is now a dr vfiler &lt;/P&gt;&lt;P&gt;o Update/Fix /etc/snapmirror.conf for 3 minute interval update that was automatically &lt;/P&gt;&lt;P&gt;updated by resync &lt;/P&gt;&lt;P&gt;• Stop the DR vfiler on FAS6080B and activate the vfiler on the FAS3170 &lt;/P&gt;&lt;P&gt;o fas6080b&amp;gt; vfiler stop fas6080b_vfiler1 &lt;/P&gt;&lt;P&gt;o fas3170&amp;gt; vfiler dr activate fas6080b_vfiler1@192.168.150.101 &lt;/P&gt;&lt;P&gt;o fas6080b&amp;gt; vfiler status -a # confirm fas6080b_vfiler1 is running &lt;/P&gt;&lt;P&gt;o fas3170&amp;gt; vfiler status -a # confirm fas6080b_vfiler1 is stopped • Halt the cluster simulator nodes since we will do the rest of the labs on the 3170 &lt;/P&gt;&lt;P&gt;o fas6080a&amp;gt; halt -f &lt;/P&gt;&lt;P&gt;o fas6080b&amp;gt; halt -f &lt;/P&gt;&lt;P&gt;• Add the .104 IP and remove the .105 IP to match the original setup &lt;/P&gt;&lt;P&gt; Add .104 (it will be unconfigured) &lt;/P&gt;&lt;P&gt;• fas3170&amp;gt; vfiler add fas6080b_vfiler1 -i 192.168.150.104 &lt;/P&gt;&lt;P&gt;• fas3170&amp;gt; vfiler status -a &lt;/P&gt;&lt;P&gt; Remove .105 (remove the alias then the ip from the vfiler) &lt;/P&gt;&lt;P&gt;• fas3170&amp;gt; ifconfig ns1 -alias 192.168.150.105 &lt;/P&gt;&lt;P&gt;• fas3170&amp;gt; vfiler remove fas6080b_vfiler1 -i 192.168.150.105 &lt;/P&gt;&lt;P&gt;• fas3170&amp;gt; vfiler status -a &lt;/P&gt;&lt;P&gt; Bring up the .104 interface so it is configured &lt;/P&gt;&lt;P&gt;• fas3170&amp;gt; ifconfig ns1 alias 192.168.150.104 &lt;/P&gt;&lt;P&gt; fas3170&amp;gt; vfiler status -a # note that the interface is now configured &lt;/P&gt;&lt;P&gt;• Edit /etc/rc &lt;/P&gt;&lt;P&gt;• Optionally – use vfiler setup FAS3170&amp;gt; vfiler run vfilername setup -e &lt;/P&gt;&lt;P&gt;ns1:ip:subnet - **** NOTE: You can ifconfig a new interface or ifconfig alias an &lt;/P&gt;&lt;P&gt;existing interface from vfiler0, or run “vfiler run vfilername setup -e &lt;/P&gt;&lt;P&gt;interface:ip:subnet”. Setup will wack several setup files (hosts, hosts.equiv, &lt;/P&gt;&lt;OL style="list-style-type: lower-alpha;"&gt;&lt;LI&gt;resolv.conf, exports, nsswitch.conf) so be careful to restore from .bak if &lt;/LI&gt;&lt;LI&gt;Setup -e will create an alias if the interface is already in use. &lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 13:36:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/vfilers-and-where-to-snapmirror/m-p/76380#M17830</guid>
      <dc:creator>MSTORAGE_1986</dc:creator>
      <dc:date>2014-02-24T13:36:35Z</dc:date>
    </item>
  </channel>
</rss>

