Repository navigation
Expand file tree
/
Copy pathnetapp-tutorial18.html
More file actions
1217 lines (1071 loc) · 85 KB
/
Copy pathnetapp-tutorial18.html
File metadata and controls
1217 lines (1071 loc) · 85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ONTAP SnapMirror Deep Dive — Replication, DR & Advanced Policies</title>
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&family=Sora:wght@300;400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');
:root {
--bg-primary:#0d1117;--bg-secondary:#161b22;--bg-card:#1c2333;
--accent-blue:#58a6ff;--accent-green:#3fb950;--accent-orange:#f78166;
--accent-purple:#bc8cff;--accent-yellow:#e3b341;--accent-teal:#39d3c3;
--text-primary:#e6edf3;--text-secondary:#8b949e;--text-muted:#6e7681;
--border:#30363d;--border-bright:#484f58;--sidebar-width:290px;
}
*{margin:0;padding:0;box-sizing:border-box}html{scroll-behavior:smooth}
body{font-family:'Inter',sans-serif;background:var(--bg-primary);color:var(--text-primary);display:flex;min-height:100vh}
#reading-progress{position:fixed;top:0;left:var(--sidebar-width);right:0;height:3px;background:linear-gradient(90deg,var(--accent-teal),var(--accent-blue),var(--accent-purple));transform-origin:left;transform:scaleX(0);z-index:999;transition:transform .1s linear}
.sidebar{width:var(--sidebar-width);background:var(--bg-secondary);border-right:1px solid var(--border);position:fixed;top:0;left:0;height:100vh;overflow-y:auto;z-index:100;display:flex;flex-direction:column}
.sidebar-header{padding:20px 16px;border-bottom:1px solid var(--border);background:var(--bg-secondary);position:sticky;top:0;z-index:10}
.sidebar-logo{display:flex;align-items:center;gap:10px;margin-bottom:4px}
.sidebar-logo .logo-icon{width:32px;height:32px;background:linear-gradient(135deg,var(--accent-teal),var(--accent-blue));border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:16px}
.sidebar-logo span{font-family:'Sora',sans-serif;font-weight:700;font-size:14px;color:var(--text-primary);letter-spacing:.5px}
.sidebar-subtitle{font-size:11px;color:var(--text-muted);padding-left:42px}
.toc-nav{padding:12px 0;flex:1}
.toc-section-label{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:1.2px;color:var(--text-muted);padding:12px 16px 6px}
.toc-link{display:flex;align-items:center;gap:8px;padding:7px 16px;font-size:12.5px;color:var(--text-secondary);text-decoration:none;transition:all .2s ease;border-left:2px solid transparent;line-height:1.4}
.toc-link:hover{background:var(--bg-card);color:var(--text-primary);border-left-color:var(--accent-teal)}
.toc-link.active{background:rgba(57,211,195,.1);color:var(--accent-teal);border-left-color:var(--accent-teal);font-weight:500}
.toc-link .toc-num{font-size:10px;font-weight:700;color:var(--text-muted);min-width:18px;font-family:'JetBrains Mono',monospace}
.toc-link.sub{padding-left:32px;font-size:12px}
.series-nav{padding:12px 16px;border-top:1px solid var(--border)}
.series-nav-title{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:1px;color:var(--text-muted);margin-bottom:8px}
.series-link{display:block;padding:5px 8px;font-size:11.5px;color:var(--text-secondary);text-decoration:none;border-radius:5px;transition:all .2s;margin-bottom:2px}
.series-link:hover{background:var(--bg-card);color:var(--accent-teal)}
.series-link.current{color:var(--accent-teal);font-weight:600}
.main-content{margin-left:var(--sidebar-width);flex:1;max-width:calc(100vw - var(--sidebar-width))}
.top-header{background:linear-gradient(135deg,#0d1117 0%,#0a1520 50%,#0d1117 100%);border-bottom:1px solid var(--border);padding:60px 60px 50px;position:relative;overflow:hidden}
.top-header::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 70% 50%,rgba(57,211,195,.07) 0%,transparent 60%),radial-gradient(ellipse at 20% 80%,rgba(88,166,255,.06) 0%,transparent 50%)}
.header-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(57,211,195,.12);border:1px solid rgba(57,211,195,.3);border-radius:20px;padding:4px 14px;font-size:12px;color:var(--accent-teal);font-weight:500;margin-bottom:18px;font-family:'JetBrains Mono',monospace}
.main-title{font-family:'Sora',sans-serif;font-size:36px;font-weight:800;line-height:1.15;margin-bottom:16px;background:linear-gradient(135deg,#e6edf3 20%,#39d3c3 55%,#58a6ff 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;position:relative}
.header-desc{font-size:15px;color:var(--text-secondary);line-height:1.7;max-width:700px;position:relative}
.header-meta{display:flex;gap:24px;flex-wrap:wrap;margin-top:20px;position:relative}
.meta-chip{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--text-secondary)}
.meta-chip .dot{width:8px;height:8px;border-radius:50%}
.prog-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px;position:relative}
.prog-chip{background:rgba(255,255,255,.04);border:1px solid var(--border);border-radius:6px;padding:3px 10px;font-size:11px;color:var(--text-muted);font-family:'JetBrains Mono',monospace}
.content-area{padding:40px 60px 80px;max-width:1020px}
.section{margin-bottom:64px;scroll-margin-top:30px}
.section-header{display:flex;align-items:flex-start;gap:16px;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid var(--border)}
.section-icon{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0;margin-top:2px}
.icon-teal{background:rgba(57,211,195,.15);border:1px solid rgba(57,211,195,.3)}
.icon-blue{background:rgba(88,166,255,.15);border:1px solid rgba(88,166,255,.3)}
.icon-green{background:rgba(63,185,80,.15);border:1px solid rgba(63,185,80,.3)}
.icon-orange{background:rgba(247,129,102,.15);border:1px solid rgba(247,129,102,.3)}
.icon-purple{background:rgba(188,140,255,.15);border:1px solid rgba(188,140,255,.3)}
.icon-yellow{background:rgba(227,179,65,.15);border:1px solid rgba(227,179,65,.3)}
.section-title-wrap h2{font-family:'Sora',sans-serif;font-size:24px;font-weight:700;color:var(--text-primary);line-height:1.2}
.section-title-wrap .section-num{font-size:11px;font-family:'JetBrains Mono',monospace;color:var(--text-muted);font-weight:400;margin-bottom:4px}
.card{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:24px;margin-bottom:20px;transition:border-color .2s}
.card:hover{border-color:var(--border-bright)}
.card-title{font-family:'Sora',sans-serif;font-weight:600;font-size:15px;color:var(--text-primary);margin-bottom:12px;display:flex;align-items:center;gap:8px}
p{font-size:14.5px;line-height:1.8;color:var(--text-secondary);margin-bottom:14px}
.callout{border-radius:10px;padding:16px 20px;margin:20px 0;display:flex;gap:14px;align-items:flex-start}
.callout-icon{font-size:18px;margin-top:1px;flex-shrink:0}
.callout-content{flex:1}
.callout-title{font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px}
.callout-text{font-size:13.5px;line-height:1.7;color:var(--text-secondary)}
.callout.info{background:rgba(88,166,255,.08);border:1px solid rgba(88,166,255,.25)}.callout.info .callout-title{color:var(--accent-blue)}
.callout.success{background:rgba(63,185,80,.08);border:1px solid rgba(63,185,80,.25)}.callout.success .callout-title{color:var(--accent-green)}
.callout.warning{background:rgba(227,179,65,.08);border:1px solid rgba(227,179,65,.3)}.callout.warning .callout-title{color:var(--accent-yellow)}
.callout.danger{background:rgba(247,129,102,.08);border:1px solid rgba(247,129,102,.3)}.callout.danger .callout-title{color:var(--accent-orange)}
.callout.tip{background:rgba(188,140,255,.08);border:1px solid rgba(188,140,255,.25)}.callout.tip .callout-title{color:var(--accent-purple)}
.callout.teal{background:rgba(57,211,195,.08);border:1px solid rgba(57,211,195,.25)}.callout.teal .callout-title{color:var(--accent-teal)}
.code-block{background:#080c10;border:1px solid var(--border);border-radius:10px;overflow:hidden;margin:16px 0}
.code-header{background:var(--bg-secondary);border-bottom:1px solid var(--border);padding:8px 16px;display:flex;align-items:center;justify-content:space-between}
.code-lang{font-size:11px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.8px;font-family:'JetBrains Mono',monospace}
.code-dots{display:flex;gap:5px}.code-dots span{width:10px;height:10px;border-radius:50%}
.dot-red{background:#ff5f56}.dot-ylw{background:#ffbd2e}.dot-grn{background:#27c93f}
.code-body{padding:20px;font-size:12.5px;line-height:1.85;color:#79c0ff;overflow-x:auto;white-space:pre;font-family:'JetBrains Mono',monospace}
.code-body .cmd{color:#3fb950}.code-body .comment{color:#6e7681;font-style:italic}
.code-body .param{color:#ffa657}.code-body .value{color:#a5d6ff}
.code-body .output{color:#8b949e}.code-body .prompt{color:#e3b341}.code-body .hl{color:#39d3c3}
.spec-table{width:100%;border-collapse:collapse;margin:16px 0;font-size:13.5px}
.spec-table th{background:var(--bg-secondary);color:var(--text-secondary);font-weight:600;font-size:12px;text-transform:uppercase;letter-spacing:.5px;padding:10px 16px;text-align:left;border-bottom:2px solid var(--border)}
.spec-table td{padding:11px 16px;border-bottom:1px solid var(--border);color:var(--text-secondary);vertical-align:middle}
.spec-table tr:hover td{background:rgba(255,255,255,.02)}
.badge{display:inline-block;padding:2px 10px;border-radius:20px;font-size:11.5px;font-weight:600;font-family:'JetBrains Mono',monospace}
.badge-blue{background:rgba(88,166,255,.15);color:var(--accent-blue);border:1px solid rgba(88,166,255,.3)}
.badge-green{background:rgba(63,185,80,.15);color:var(--accent-green);border:1px solid rgba(63,185,80,.3)}
.badge-orange{background:rgba(247,129,102,.15);color:var(--accent-orange);border:1px solid rgba(247,129,102,.3)}
.badge-yellow{background:rgba(227,179,65,.15);color:var(--accent-yellow);border:1px solid rgba(227,179,65,.3)}
.badge-teal{background:rgba(57,211,195,.15);color:var(--accent-teal);border:1px solid rgba(57,211,195,.3)}
.badge-purple{background:rgba(188,140,255,.15);color:var(--accent-purple);border:1px solid rgba(188,140,255,.3)}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:16px 0}
.stat-card{background:var(--bg-card);border:1px solid var(--border);border-radius:10px;padding:20px;text-align:center}
.stat-num{font-family:'Sora',sans-serif;font-size:28px;font-weight:800;margin-bottom:4px}
.stat-label{font-size:12px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px}
.step-list{list-style:none;margin:12px 0}
.step-list li{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid rgba(48,54,61,.5);font-size:13.5px;color:var(--text-secondary);line-height:1.6;align-items:flex-start}
.step-list li:last-child{border-bottom:none}
.step-num{width:22px;height:22px;border-radius:6px;background:rgba(57,211,195,.15);border:1px solid rgba(57,211,195,.3);color:var(--accent-teal);font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:1px;font-family:'JetBrains Mono',monospace}
.bullet-list{list-style:none;margin:10px 0}
.bullet-list li{padding:6px 0 6px 20px;position:relative;font-size:13.5px;color:var(--text-secondary);line-height:1.6}
.bullet-list li::before{content:'▸';position:absolute;left:0;color:var(--accent-teal);font-size:11px;top:8px}
h3{font-family:'Sora',sans-serif;font-size:17px;font-weight:600;color:var(--text-primary);margin:24px 0 12px}
h4{font-family:'Sora',sans-serif;font-size:14px;font-weight:600;color:var(--accent-teal);margin:18px 0 8px;text-transform:uppercase;letter-spacing:.5px}
.diagram-wrap{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:24px;margin:20px 0;overflow-x:auto}
.diagram-caption{text-align:center;font-size:12px;color:var(--text-muted);margin-top:12px;font-style:italic}
.mermaid{display:flex;justify-content:center}
.svg-wrap{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:24px;margin:20px 0;overflow:hidden}
.quiz-card{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:22px;margin-bottom:16px}
.quiz-q{font-size:14px;font-weight:600;color:var(--text-primary);margin-bottom:12px}
.quiz-a{display:none;background:rgba(57,211,195,.06);border:1px solid rgba(57,211,195,.2);border-radius:8px;padding:14px 16px;margin-top:10px;font-size:13.5px;color:var(--text-secondary);line-height:1.7}
.quiz-btn{background:rgba(57,211,195,.1);border:1px solid rgba(57,211,195,.3);color:var(--accent-teal);border-radius:6px;padding:6px 14px;font-size:12px;cursor:pointer;font-family:'JetBrains Mono',monospace;transition:all .2s}
.quiz-btn:hover{background:rgba(57,211,195,.2)}
.author-card{background:linear-gradient(135deg,#161b22,#1c2333);border:1px solid var(--border);border-radius:16px;padding:32px;margin-top:40px;position:relative;overflow:hidden}
.author-card::before{content:'';position:absolute;top:-40px;right:-40px;width:180px;height:180px;background:radial-gradient(circle,rgba(57,211,195,.08),transparent 70%);border-radius:50%}
.author-avatar{font-size:48px;margin-bottom:12px}
.author-name{font-family:'Sora',sans-serif;font-size:22px;font-weight:700;color:var(--text-primary);margin-bottom:4px}
.author-title{font-size:13px;color:var(--accent-teal);margin-bottom:16px;font-family:'JetBrains Mono',monospace}
.author-bio{font-size:14px;color:var(--text-secondary);line-height:1.7;margin-bottom:20px}
.tech-badges{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.tech-badge{background:rgba(57,211,195,.1);border:1px solid rgba(57,211,195,.25);color:var(--accent-teal);border-radius:20px;padding:3px 12px;font-size:12px;font-family:'JetBrains Mono',monospace}
.contact-link{display:inline-flex;align-items:center;gap:8px;background:rgba(57,211,195,.1);border:1px solid rgba(57,211,195,.3);color:var(--accent-teal);border-radius:8px;padding:8px 16px;font-size:13px;text-decoration:none;transition:all .2s;margin-bottom:20px}
.contact-link:hover{background:rgba(57,211,195,.2)}
@media(max-width:900px){.sidebar{transform:translateX(-100%)}.main-content{margin-left:0;max-width:100vw}.top-header{padding:30px 20px}.content-area{padding:20px}.grid-2,.grid-3{grid-template-columns:1fr}#reading-progress{left:0}}
</style>
</head>
<body>
<div id="reading-progress"></div>
<!-- SIDEBAR -->
<nav class="sidebar">
<div class="sidebar-header">
<div class="sidebar-logo">
<div class="logo-icon">🔄</div>
<span>ONTAP Replication</span>
</div>
<div class="sidebar-subtitle">SnapMirror · SnapVault · Load Sharing</div>
</div>
<div class="toc-nav">
<div class="toc-section-label">Replication Fundamentals</div>
<a class="toc-link" href="#s1"><span class="toc-num">01</span>SnapMirror Internals</a>
<a class="toc-link sub" href="#s1"><span class="toc-num">↳</span>Snapshot-based Transfer</a>
<a class="toc-link sub" href="#s1"><span class="toc-num">↳</span>Lag Time & Health</a>
<a class="toc-section-label">Operations & Control</div>
<a class="toc-link" href="#s2"><span class="toc-num">02</span>Manual vs Scheduled Updates</a>
<a class="toc-link" href="#s3"><span class="toc-num">03</span>Quiesce, Resume & Break</a>
<a class="toc-link sub" href="#s3"><span class="toc-num">↳</span>DR Testing Workflow</a>
<a class="toc-link" href="#s4"><span class="toc-num">04</span>Resync & Failback</a>
<a class="toc-link sub" href="#s4"><span class="toc-num">↳</span>Reverse Replication</a>
<a class="toc-section-label">Cleanup & Policies</div>
<a class="toc-link" href="#s5"><span class="toc-num">05</span>Deleting SnapMirror Cleanly</a>
<a class="toc-link" href="#s6"><span class="toc-num">06</span>Custom SnapMirror Policies</a>
<a class="toc-section-label">SnapVault</div>
<a class="toc-link" href="#s7"><span class="toc-num">07</span>SnapVault Architecture</a>
<a class="toc-link sub" href="#s7"><span class="toc-num">↳</span>Custom Vault Policy</a>
<a class="toc-link sub" href="#s7"><span class="toc-num">↳</span>Restore from SnapVault</a>
<a class="toc-section-label">Load Sharing Mirror</div>
<a class="toc-link" href="#s8"><span class="toc-num">08</span>LS Mirror — Root Volume HA</a>
<a class="toc-link sub" href="#s8"><span class="toc-num">↳</span>Best Practices</a>
<a class="toc-link sub" href="#s8"><span class="toc-num">↳</span>Create & Delete LS</a>
<a class="toc-section-label">Reference</div>
<a class="toc-link" href="#s9"><span class="toc-num">09</span>Command Quick Reference</a>
<a class="toc-link" href="#s10"><span class="toc-num">10</span>Interview Q&A</a>
<a class="toc-link" href="#author"><span class="toc-num">★</span>About</a>
</div>
<div class="series-nav">
<div class="series-nav-title">ONTAP Tutorial Series</div>
<a class="series-link" href="#">📋 Series Index</a>
<a class="series-link current" href="#">▶ SnapMirror Deep Dive</a>
</div>
</nav>
<!-- MAIN -->
<div class="main-content">
<header class="top-header">
<div class="header-badge">🔄 ONTAP Tutorial · SnapMirror, SnapVault & Load Sharing</div>
<h1 class="main-title">ONTAP SnapMirror Deep Dive —<br>Replication, Disaster Recovery & Advanced Policies</h1>
<p class="header-desc">A comprehensive hands-on guide covering SnapMirror replication internals, disaster recovery workflows, reverse replication, SnapVault remote archiving, custom policies, and Load Sharing Mirror for root volume performance. Built for storage engineers and architects.</p>
<div class="header-meta">
<div class="meta-chip"><span class="dot" style="background:var(--accent-teal)"></span>Replication</div>
<div class="meta-chip"><span class="dot" style="background:var(--accent-blue)"></span>Disaster Recovery</div>
<div class="meta-chip"><span class="dot" style="background:var(--accent-purple)"></span>SnapVault</div>
<div class="meta-chip"><span class="dot" style="background:var(--accent-orange)"></span>Load Sharing</div>
</div>
<div class="prog-chips">
<span class="prog-chip">ONTAP 9.x</span>
<span class="prog-chip">SnapMirror</span>
<span class="prog-chip">SnapVault</span>
<span class="prog-chip">XDP</span>
<span class="prog-chip">LS Mirror</span>
<span class="prog-chip">DR / Failover</span>
</div>
</header>
<div class="content-area">
<!-- ===== SECTION 1 ===== -->
<section class="section" id="s1">
<div class="section-header">
<div class="section-icon icon-teal">🔬</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 01</div>
<h2>SnapMirror Internals — How Replication Works Under the Hood</h2>
</div>
</div>
<p>Understanding what happens beneath the surface of every SnapMirror transfer is essential for troubleshooting and sizing. Each replication cycle is driven by snapshot comparison — not a full data copy — making subsequent transfers highly efficient.</p>
<h3>Baseline Transfer (Initial Sync)</h3>
<p>When you run <code style="color:var(--accent-teal);background:rgba(57,211,195,.08);padding:2px 6px;border-radius:4px">snapmirror initialize</code>, ONTAP performs the first — and only full — data copy from source to destination. This is called the <strong style="color:var(--text-primary)">baseline transfer</strong> or initial transfer. Once complete, ONTAP creates a SnapMirror snapshot on both volumes as a reference point for future incremental updates.</p>
<div class="svg-wrap">
<svg viewBox="0 0 820 220" xmlns="http://www.w3.org/2000/svg" style="width:100%;max-width:820px;display:block;margin:0 auto">
<!-- Source box -->
<rect x="30" y="30" width="200" height="160" rx="12" fill="#1c2333" stroke="#30363d" stroke-width="1.5"/>
<text x="130" y="58" text-anchor="middle" fill="#e6edf3" font-size="13" font-weight="700" font-family="Sora,sans-serif">Source Cluster</text>
<text x="130" y="76" text-anchor="middle" fill="#8b949e" font-size="11" font-family="JetBrains Mono,monospace">cl-prod / svm-prod</text>
<rect x="55" y="90" width="150" height="36" rx="6" fill="rgba(88,166,255,.12)" stroke="rgba(88,166,255,.35)" stroke-width="1"/>
<text x="130" y="113" text-anchor="middle" fill="#58a6ff" font-size="12" font-family="JetBrains Mono,monospace">vol_finance</text>
<rect x="55" y="135" width="150" height="28" rx="5" fill="rgba(57,211,195,.1)" stroke="rgba(57,211,195,.3)" stroke-width="1"/>
<text x="130" y="154" text-anchor="middle" fill="#39d3c3" font-size="10" font-family="JetBrains Mono,monospace">sm.snap.xxxxxxxx</text>
<!-- Arrow baseline -->
<defs>
<marker id="arrowH" markerWidth="10" markerHeight="7" refX="10" refY="3.5" orient="auto">
<polygon points="0 0, 10 3.5, 0 7" fill="#3fb950"/>
</marker>
<marker id="arrowInc" markerWidth="10" markerHeight="7" refX="10" refY="3.5" orient="auto">
<polygon points="0 0, 10 3.5, 0 7" fill="#e3b341"/>
</marker>
</defs>
<line x1="230" y1="95" x2="390" y2="95" stroke="#3fb950" stroke-width="2.5" stroke-dasharray="6,3" marker-end="url(#arrowH)"/>
<text x="310" y="84" text-anchor="middle" fill="#3fb950" font-size="11" font-weight="600" font-family="Sora,sans-serif">Baseline</text>
<text x="310" y="97" text-anchor="middle" fill="#3fb950" font-size="10" font-family="JetBrains Mono,monospace">(full copy)</text>
<line x1="230" y1="140" x2="390" y2="140" stroke="#e3b341" stroke-width="2" stroke-dasharray="4,3" marker-end="url(#arrowInc)"/>
<text x="310" y="132" text-anchor="middle" fill="#e3b341" font-size="11" font-weight="600" font-family="Sora,sans-serif">Incremental</text>
<text x="310" y="145" text-anchor="middle" fill="#e3b341" font-size="10" font-family="JetBrains Mono,monospace">(changed blocks)</text>
<!-- Destination box -->
<rect x="390" y="30" width="200" height="160" rx="12" fill="#1c2333" stroke="#30363d" stroke-width="1.5"/>
<text x="490" y="58" text-anchor="middle" fill="#e6edf3" font-size="13" font-weight="700" font-family="Sora,sans-serif">Destination Cluster</text>
<text x="490" y="76" text-anchor="middle" fill="#8b949e" font-size="11" font-family="JetBrains Mono,monospace">cl-dr / svm-dr</text>
<rect x="415" y="90" width="150" height="36" rx="6" fill="rgba(247,129,102,.1)" stroke="rgba(247,129,102,.3)" stroke-width="1"/>
<text x="490" y="113" text-anchor="middle" fill="#f78166" font-size="12" font-family="JetBrains Mono,monospace">vol_finance_dr</text>
<rect x="415" y="135" width="150" height="28" rx="5" fill="rgba(57,211,195,.1)" stroke="rgba(57,211,195,.3)" stroke-width="1"/>
<text x="490" y="154" text-anchor="middle" fill="#39d3c3" font-size="10" font-family="JetBrains Mono,monospace">sm.snap.xxxxxxxx</text>
<!-- Read-only label -->
<rect x="415" y="172" width="150" height="14" rx="4" fill="rgba(247,129,102,.08)"/>
<text x="490" y="183" text-anchor="middle" fill="#f78166" font-size="10" font-family="JetBrains Mono,monospace">READ-ONLY (DP)</text>
<!-- Legend -->
<rect x="620" y="40" width="170" height="100" rx="10" fill="#161b22" stroke="#30363d" stroke-width="1"/>
<text x="705" y="62" text-anchor="middle" fill="#8b949e" font-size="11" font-weight="600" font-family="Sora,sans-serif">Legend</text>
<line x1="635" y1="78" x2="660" y2="78" stroke="#3fb950" stroke-width="2.5" stroke-dasharray="5,2"/>
<text x="668" y="82" fill="#8b949e" font-size="11" font-family="Inter,sans-serif">Baseline</text>
<line x1="635" y1="98" x2="660" y2="98" stroke="#e3b341" stroke-width="2" stroke-dasharray="4,3"/>
<text x="668" y="102" fill="#8b949e" font-size="11" font-family="Inter,sans-serif">Incremental</text>
<rect x="635" y="112" width="18" height="10" rx="3" fill="rgba(57,211,195,.2)" stroke="rgba(57,211,195,.4)" stroke-width="1"/>
<text x="660" y="122" fill="#8b949e" font-size="11" font-family="Inter,sans-serif">SM Snapshot</text>
</svg>
<div class="diagram-caption">Figure 1 — SnapMirror baseline vs incremental transfer model between source and destination clusters</div>
</div>
<h3>How Incremental Updates Work</h3>
<p>After the baseline, ONTAP relies entirely on snapshot comparison to identify changed blocks. Here's the mechanism step by step:</p>
<div class="card">
<div class="card-title">📸 Snapshot-driven Transfer Cycle</div>
<ol class="step-list">
<li><span class="step-num">1</span>At the scheduled time, ONTAP creates a <strong style="color:var(--text-primary)">new SnapMirror snapshot</strong> on the source volume.</li>
<li><span class="step-num">2</span>ONTAP compares the new snapshot against the <strong style="color:var(--text-primary)">previous SnapMirror snapshot</strong> still held on the source.</li>
<li><span class="step-num">3</span>Only the <strong style="color:var(--text-primary)">changed, added, or deleted blocks</strong> since the last transfer are sent across the wire to the destination.</li>
<li><span class="step-num">4</span>Once the transfer completes, a <strong style="color:var(--text-primary)">new snapshot is created on the destination</strong>; the old snapshot pair on both sides is deleted.</li>
<li><span class="step-num">5</span>At next scheduled interval, the cycle repeats from step 1.</li>
</ol>
</div>
<div class="callout info">
<div class="callout-icon">💡</div>
<div class="callout-content">
<div class="callout-title">How Deletions Are Handled</div>
<div class="callout-text">If a file is deleted on the source, the snapshot comparison will detect that block absence. During the next transfer, the same file is automatically removed from the destination — keeping both volumes in perfect sync.</div>
</div>
</div>
<h3>Monitoring: Lag Time & Health Indicators</h3>
<p>Two key metrics reveal the state of your SnapMirror relationship at a glance:</p>
<div class="grid-2">
<div class="card">
<div class="card-title">⏱️ Lag Time</div>
<p style="font-size:13.5px">The elapsed time since the last successful transfer. If your schedule is hourly, lag time should never exceed ~1 hour. A lag greater than the schedule interval signals a failed or stuck replication.</p>
</div>
<div class="card">
<div class="card-title">💚 Healthy Field</div>
<p style="font-size:13.5px">Shows <span class="badge badge-green">true</span> when replication is running normally. If a transfer repeatedly fails, ONTAP changes this to <span class="badge badge-orange">false</span> — your alert to investigate immediately.</p>
</div>
</div>
<div class="code-block">
<div class="code-header">
<span class="code-lang">ONTAP CLI — Detailed Relationship Status</span>
<div class="code-dots"><span class="dot-red"></span><span class="dot-ylw"></span><span class="dot-grn"></span></div>
</div>
<div class="code-body"><span class="comment"># Full detail view of all SnapMirror relationships</span>
<span class="cmd">snapmirror show -destination-path svm-dr:vol_finance_dr -instance</span>
<span class="output">Source Path: svm-prod:vol_finance
Destination Path: svm-dr:vol_finance_dr
Relationship Type: XDP
SnapMirror Schedule: hourly
Policy: MirrorAllSnapshots
Lag Time: 0:00:41
Last Transfer Type: Update
Last Transfer Duration: 0:00:02
Healthy: true</span>
<span class="comment"># Check lag time — should be less than your schedule interval</span>
<span class="cmd">snapmirror show -fields lag-time,healthy</span></div>
</div>
<div class="callout warning">
<div class="callout-icon">⚠️</div>
<div class="callout-content">
<div class="callout-title">Lag Time Alert Rule</div>
<div class="callout-text">Lag time should <strong>never exceed your configured schedule interval</strong>. If you use a 5-minute schedule and lag shows 20 minutes, the replication has failed at least three cycles. Investigate immediately using <code>snapmirror show -fields lag-time,healthy,last-transfer-error</code>.</div>
</div>
</div>
</section>
<!-- ===== SECTION 2 ===== -->
<section class="section" id="s2">
<div class="section-header">
<div class="section-icon icon-blue">🔧</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 02</div>
<h2>Manual Updates — When Schedules Aren't Enough</h2>
</div>
</div>
<p>Although SnapMirror runs automatically on its schedule, there are real-world scenarios where waiting for the next scheduled window is not acceptable. The manual update command forces an immediate incremental transfer on demand.</p>
<h3>Why Trigger Manual Updates?</h3>
<div class="grid-2">
<div class="card">
<div class="card-title">✈️ Data Migration Cutover</div>
<p style="font-size:13.5px">When migrating workloads between sites, you maintain a scheduled replication for weeks. Minutes before final cutover, you run a manual update to capture any changes since the last scheduled sync — eliminating potential data gaps.</p>
</div>
<div class="card">
<div class="card-title">🔁 Pre-Failover Validation</div>
<p style="font-size:13.5px">Before breaking the SnapMirror relationship during a DR exercise or actual disaster event, running a manual update ensures the destination is as current as possible — reducing Recovery Point Objective (RPO) to near-zero.</p>
</div>
</div>
<div class="diagram-wrap">
<div class="mermaid">
flowchart LR
A["🔄 Scheduled<br/>Replication<br/>Running"] --> B{"Cutover<br/>Approaching?"}
B -- "No" --> A
B -- "Yes" --> C["📢 Notify Users<br/>Maintenance Window"]
C --> D["⏸ Quiesce<br/>Replication"]
D --> E["📤 Manual Update<br/>snapmirror update"]
E --> F["✂️ Break Replication<br/>snapmirror break"]
F --> G["🟢 Destination<br/>Read-Write"]
G --> H["🔀 Redirect Client<br/>Access to DR Site"]
style A fill:#1c2333,stroke:#30363d,color:#e6edf3
style B fill:#161b22,stroke:#e3b341,color:#e3b341
style C fill:#1c2333,stroke:#58a6ff,color:#58a6ff
style D fill:#1c2333,stroke:#e3b341,color:#e3b341
style E fill:#1c2333,stroke:#39d3c3,color:#39d3c3
style F fill:#1c2333,stroke:#f78166,color:#f78166
style G fill:#1c2333,stroke:#3fb950,color:#3fb950
style H fill:#1c2333,stroke:#bc8cff,color:#bc8cff
</div>
<div class="diagram-caption">Figure 2 — Pre-cutover workflow: combining scheduled replication with a final manual update before failover</div>
</div>
<div class="code-block">
<div class="code-header">
<span class="code-lang">ONTAP CLI — Manual SnapMirror Update</span>
<div class="code-dots"><span class="dot-red"></span><span class="dot-ylw"></span><span class="dot-grn"></span></div>
</div>
<div class="code-body"><span class="comment"># Trigger an immediate incremental update — run from destination cluster</span>
<span class="cmd">snapmirror update -destination-path svm-dr:vol_finance_dr</span>
<span class="comment"># Or using source path format</span>
<span class="cmd">snapmirror update -source-path svm-prod:vol_finance \</span>
<span class="param">-destination-path svm-dr:vol_finance_dr</span>
<span class="comment"># Monitor transfer progress</span>
<span class="cmd">snapmirror show -destination-path svm-dr:vol_finance_dr</span>
<span class="output">Status: Transferring
Last Transfer Type: Update</span></div>
</div>
<div class="callout tip">
<div class="callout-icon">🎯</div>
<div class="callout-content">
<div class="callout-title">Best Practice</div>
<div class="callout-text">Always run a manual update immediately before any planned cutover or DR test. This minimises the RPO gap between the last scheduled transfer and the moment you break the relationship. Even if the scheduled job ran 3 minutes ago, a manual update costs only seconds of I/O and eliminates any remaining delta.</div>
</div>
</div>
</section>
<!-- ===== SECTION 3 ===== -->
<section class="section" id="s3">
<div class="section-header">
<div class="section-icon icon-yellow">⏸</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 03</div>
<h2>Quiesce, Resume & Break — Controlling the Replication State</h2>
</div>
</div>
<p>ONTAP provides granular control over the SnapMirror relationship state without permanently destroying the configuration. Understanding these three commands and their distinct effects is critical for both DR testing and routine maintenance.</p>
<div class="svg-wrap">
<svg viewBox="0 0 780 200" xmlns="http://www.w3.org/2000/svg" style="width:100%;max-width:780px;display:block;margin:0 auto">
<!-- States -->
<rect x="20" y="70" width="130" height="60" rx="10" fill="#1c2333" stroke="#39d3c3" stroke-width="1.5"/>
<text x="85" y="96" text-anchor="middle" fill="#39d3c3" font-size="12" font-weight="700" font-family="Sora,sans-serif">SnapMirrored</text>
<text x="85" y="114" text-anchor="middle" fill="#8b949e" font-size="10" font-family="JetBrains Mono,monospace">Idle / Replicating</text>
<rect x="210" y="70" width="130" height="60" rx="10" fill="#1c2333" stroke="#e3b341" stroke-width="1.5"/>
<text x="275" y="96" text-anchor="middle" fill="#e3b341" font-size="12" font-weight="700" font-family="Sora,sans-serif">Quiesced</text>
<text x="275" y="114" text-anchor="middle" fill="#8b949e" font-size="10" font-family="JetBrains Mono,monospace">No future transfers</text>
<rect x="420" y="70" width="130" height="60" rx="10" fill="#1c2333" stroke="#f78166" stroke-width="1.5"/>
<text x="485" y="96" text-anchor="middle" fill="#f78166" font-size="12" font-weight="700" font-family="Sora,sans-serif">Broken-Off</text>
<text x="485" y="114" text-anchor="middle" fill="#8b949e" font-size="10" font-family="JetBrains Mono,monospace">Dest = Read-Write</text>
<rect x="630" y="70" width="130" height="60" rx="10" fill="#1c2333" stroke="#3fb950" stroke-width="1.5"/>
<text x="695" y="96" text-anchor="middle" fill="#3fb950" font-size="12" font-weight="700" font-family="Sora,sans-serif">SnapMirrored</text>
<text x="695" y="114" text-anchor="middle" fill="#8b949e" font-size="10" font-family="JetBrains Mono,monospace">After Resync</text>
<!-- Arrows -->
<defs>
<marker id="arrSt" markerWidth="8" markerHeight="6" refX="8" refY="3" orient="auto">
<polygon points="0 0, 8 3, 0 6" fill="#58a6ff"/>
</marker>
<marker id="arrGn" markerWidth="8" markerHeight="6" refX="8" refY="3" orient="auto">
<polygon points="0 0, 8 3, 0 6" fill="#3fb950"/>
</marker>
</defs>
<line x1="150" y1="100" x2="208" y2="100" stroke="#58a6ff" stroke-width="1.8" marker-end="url(#arrSt)"/>
<text x="179" y="93" text-anchor="middle" fill="#58a6ff" font-size="10" font-family="JetBrains Mono,monospace">quiesce</text>
<line x1="275" y1="130" x2="275" y2="155" stroke="#3fb950" stroke-width="1.5"/>
<line x1="275" y1="155" x2="85" y2="155" stroke="#3fb950" stroke-width="1.5"/>
<line x1="85" y1="155" x2="85" y2="132" stroke="#3fb950" stroke-width="1.5" marker-end="url(#arrGn)"/>
<text x="180" y="170" text-anchor="middle" fill="#3fb950" font-size="10" font-family="JetBrains Mono,monospace">resume</text>
<line x1="340" y1="100" x2="418" y2="100" stroke="#f78166" stroke-width="1.8" marker-end="url(#arrSt)"/>
<text x="379" y="93" text-anchor="middle" fill="#f78166" font-size="10" font-family="JetBrains Mono,monospace">break</text>
<line x1="550" y1="100" x2="628" y2="100" stroke="#3fb950" stroke-width="1.8" marker-end="url(#arrGn)"/>
<text x="589" y="93" text-anchor="middle" fill="#3fb950" font-size="10" font-family="JetBrains Mono,monospace">resync</text>
</svg>
<div class="diagram-caption">Figure 3 — SnapMirror relationship state transitions: Quiesce → Break → Resync cycle</div>
</div>
<h3>Command Breakdown</h3>
<table class="spec-table">
<thead>
<tr><th>Command</th><th>What It Does</th><th>Destination State</th><th>Reversible?</th></tr>
</thead>
<tbody>
<tr><td><code style="color:var(--accent-teal)">snapmirror quiesce</code></td><td>Allows current transfer to finish; blocks all future scheduled runs</td><td>Still DP (read-only)</td><td>Yes — <code>snapmirror resume</code></td></tr>
<tr><td><code style="color:var(--accent-teal)">snapmirror resume</code></td><td>Lifts the quiesce; scheduled transfers restart normally</td><td>Still DP (read-only)</td><td>N/A</td></tr>
<tr><td><code style="color:var(--accent-teal)">snapmirror break</code></td><td>Severs source-destination relationship temporarily; destination becomes R/W</td><td>Read-Write (RW)</td><td>Yes — <code>snapmirror resync</code></td></tr>
<tr><td><code style="color:var(--accent-teal)">snapmirror resync</code></td><td>Reestablishes replication; any changes on destination are overwritten</td><td>Back to DP</td><td>—</td></tr>
</tbody>
</table>
<h3>DR Testing Workflow — Step by Step</h3>
<p>Most organisations conduct DR validation exercises every 6 months. Here is the exact sequence to safely test failover without affecting production:</p>
<div class="code-block">
<div class="code-header">
<span class="code-lang">ONTAP CLI — DR Test: Quiesce → Break → Test → Resync</span>
<div class="code-dots"><span class="dot-red"></span><span class="dot-ylw"></span><span class="dot-grn"></span></div>
</div>
<div class="code-body"><span class="comment">## STEP 1: Pause replication — run on destination cluster</span>
<span class="cmd">snapmirror quiesce -destination-path svm-dr:vol_finance_dr</span>
<span class="comment">## STEP 2: Run a final manual update to minimise data gap</span>
<span class="cmd">snapmirror update -destination-path svm-dr:vol_finance_dr</span>
<span class="comment">## STEP 3: Break the relationship — destination becomes R/W</span>
<span class="cmd">snapmirror break -destination-path svm-dr:vol_finance_dr</span>
<span class="comment">## Verify: destination should now show type RW</span>
<span class="cmd">volume show -vserver svm-dr -volume vol_finance_dr -fields type</span>
<span class="output">Type: rw ← was dp before break</span>
<span class="comment">## STEP 4: Mount and test application access on DR site</span>
<span class="comment">## ... perform your DR validation here ...</span>
<span class="comment">## STEP 5: Re-establish replication after DR test</span>
<span class="cmd">snapmirror resync -source-path svm-prod:vol_finance \</span>
<span class="param">-destination-path svm-dr:vol_finance_dr</span>
<span class="comment"># WARNING: All changes made on destination during DR test will be lost</span></div>
</div>
<div class="callout danger">
<div class="callout-icon">🚨</div>
<div class="callout-content">
<div class="callout-title">Data Loss Warning on Resync</div>
<div class="callout-text"><strong>snapmirror resync will overwrite all changes made on the destination volume</strong> after the break. During DR testing, this is expected and intentional. However, in a real disaster recovery where client data has been written to the destination for hours, you must perform a <strong>reverse replication</strong> before breaking the relationship again — do not use resync directly or you'll lose the DR data.</div>
</div>
</div>
</section>
<!-- ===== SECTION 4 ===== -->
<section class="section" id="s4">
<div class="section-header">
<div class="section-icon icon-orange">🔁</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 04</div>
<h2>Disaster Recovery — Failover, Reverse Replication & Failback</h2>
</div>
</div>
<p>A real disaster scenario is more complex than a planned DR test. When the source site goes offline unexpectedly, clients write to the DR volume. You must preserve that data and sync it back when the primary site recovers — this is accomplished through <strong style="color:var(--text-primary)">reverse replication</strong>.</p>
<div class="diagram-wrap">
<div class="mermaid">
sequenceDiagram
participant SRC as 🏢 Source Site<br/>(cl-prod / vol_finance)
participant DST as 🌐 DR Site<br/>(cl-dr / vol_finance_dr)
participant USR as 👥 Clients
SRC->>DST: SnapMirror replication (scheduled)
USR->>SRC: Normal production writes
Note over SRC: ⚠️ Source site goes DOWN
USR--xSRC: Connection failed!
SRC->>DST: snapmirror quiesce + break
Note over DST: Destination → Read-Write
USR->>DST: Redirected — writing DR data
Note over SRC: Source site RESTORED
Note over SRC,DST: Create Reverse Replication
DST->>SRC: Reverse SnapMirror sync<br/>(DR data → Source)
Note over SRC,DST: Maintenance window
DST->>SRC: Final manual update (reverse)
SRC->>DST: Break reverse replication
Note over SRC: vol_finance → Read-Write again
DST->>SRC: Resync (normal replication resumes)
USR->>SRC: Clients redirected back to production
</div>
<div class="diagram-caption">Figure 4 — Complete Disaster Recovery lifecycle: failover → reverse replication → failback</div>
</div>
<h3>Creating Reverse Replication</h3>
<p>After source recovery, the <code style="color:var(--accent-teal);background:rgba(57,211,195,.08);padding:2px 6px;border-radius:4px">snapmirror resync</code> command serves dual purpose depending on <em>where</em> you run it:</p>
<div class="grid-2">
<div class="card">
<div class="card-title">📍 Resync on Destination Cluster</div>
<p style="font-size:13.5px">Reestablishes the <strong>original</strong> source→destination replication. Use this after a DR test to restore normal operation. Overwrites destination data.</p>
<span class="badge badge-blue">Normal Resync</span>
</div>
<div class="card">
<div class="card-title">🔄 Resync on Source Cluster</div>
<p style="font-size:13.5px">Creates <strong>reverse replication</strong> — destination becomes the new source. Syncs DR data back to the original source. This is the failback command.</p>
<span class="badge badge-orange">Reverse Replication</span>
</div>
</div>
<div class="code-block">
<div class="code-header">
<span class="code-lang">ONTAP CLI — Full DR Failover & Failback Sequence</span>
<div class="code-dots"><span class="dot-red"></span><span class="dot-ylw"></span><span class="dot-grn"></span></div>
</div>
<div class="code-body"><span class="comment">########## PHASE 1: FAILOVER (source went down) ##########</span>
<span class="comment"># Run on destination cluster (cl-dr)</span>
<span class="cmd">snapmirror quiesce -destination-path svm-dr:vol_finance_dr</span>
<span class="cmd">snapmirror break -destination-path svm-dr:vol_finance_dr</span>
<span class="comment"># Redirect client access to DR site — vol_finance_dr is now R/W</span>
<span class="comment"># ... source is down, clients write to DR for hours ...</span>
<span class="comment">########## PHASE 2: REVERSE REPLICATION (source recovered) ##########</span>
<span class="comment"># Run on SOURCE cluster (cl-prod) to create REVERSE replication</span>
<span class="cmd">snapmirror resync -source-path svm-dr:vol_finance_dr \</span>
<span class="param">-destination-path svm-prod:vol_finance</span>
<span class="comment"># vol_finance on cl-prod is now the DESTINATION (DP) of reverse mirror</span>
<span class="cmd">snapmirror show</span>
<span class="output">Source: svm-dr:vol_finance_dr
Destination: svm-prod:vol_finance
Status: SnapMirrored ← reverse is healthy</span>
<span class="comment">########## PHASE 3: FAILBACK (maintenance window) ##########</span>
<span class="comment"># Run final manual update on REVERSE mirror before breaking it</span>
<span class="cmd">snapmirror update -destination-path svm-prod:vol_finance</span>
<span class="comment"># Break reverse replication — vol_finance returns to Read-Write</span>
<span class="cmd">snapmirror break -destination-path svm-prod:vol_finance</span>
<span class="comment"># Re-establish NORMAL replication from cl-prod → cl-dr</span>
<span class="cmd">snapmirror resync -source-path svm-prod:vol_finance \</span>
<span class="param">-destination-path svm-dr:vol_finance_dr</span>
<span class="comment"># Redirect clients back to primary production site</span></div>
</div>
<div class="callout success">
<div class="callout-icon">✅</div>
<div class="callout-content">
<div class="callout-title">Interview Tip — DR Procedure Question</div>
<div class="callout-text">A very common interview question for storage engineer roles: <em>"Walk me through the complete disaster recovery procedure for a SnapMirror relationship."</em> — The answer is the full cycle above: failover (quiesce+break), let clients write to DR, source recovery, reverse replication, manual update, break reverse, resync normal. This procedure is conceptually the same across most enterprise storage platforms — only the CLI syntax differs.</div>
</div>
</div>
</section>
<!-- ===== SECTION 5 ===== -->
<section class="section" id="s5">
<div class="section-header">
<div class="section-icon icon-purple">🗑️</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 05</div>
<h2>Deleting SnapMirror Cleanly — Release & Snapshot Cleanup</h2>
</div>
</div>
<p>Deleting a SnapMirror relationship is a two-step process. Skipping the second step leaves orphaned snapshots that silently consume volume capacity over time — a common cause of unexpected space issues in production environments.</p>
<div class="callout danger">
<div class="callout-icon">🔥</div>
<div class="callout-content">
<div class="callout-title">Critical Warning — Orphaned Snapshots</div>
<div class="callout-text">If you only run <code>snapmirror delete</code> without the subsequent <code>snapmirror release</code> on the source, SnapMirror snapshots remain on both volumes and continue to accumulate, consuming space until the volume fills and causes an outage. Always complete both steps.</div>
</div>
</div>
<div class="diagram-wrap">
<div class="mermaid">
flowchart TD
A["💡 Decision: Permanently remove<br/>SnapMirror relationship"] --> B["⏸ snapmirror quiesce<br/>Stop all transfers"]
B --> C["✂️ snapmirror break<br/>Destination → R/W"]
C --> D["🗑️ snapmirror delete<br/>Remove relationship config<br/>(run on DESTINATION)"]
D --> E["🔍 snapmirror list-destinations<br/>Verify replication footprint<br/>(run on SOURCE)"]
E --> F["🧹 snapmirror release<br/>Remove source footprint + snapshots<br/>(run on SOURCE)"]
F --> G["✅ Relationship & Snapshots<br/>Fully Removed"]
style A fill:#1c2333,stroke:#bc8cff,color:#bc8cff
style B fill:#1c2333,stroke:#e3b341,color:#e3b341
style C fill:#1c2333,stroke:#f78166,color:#f78166
style D fill:#1c2333,stroke:#f78166,color:#f78166
style E fill:#1c2333,stroke:#58a6ff,color:#58a6ff
style F fill:#1c2333,stroke:#3fb950,color:#3fb950
style G fill:#1c2333,stroke:#39d3c3,color:#39d3c3
</div>
<div class="diagram-caption">Figure 5 — Correct SnapMirror deletion sequence: delete + release for full cleanup</div>
</div>
<div class="code-block">
<div class="code-header">
<span class="code-lang">ONTAP CLI — Full SnapMirror Cleanup</span>
<div class="code-dots"><span class="dot-red"></span><span class="dot-ylw"></span><span class="dot-grn"></span></div>
</div>
<div class="code-body"><span class="comment">## On DESTINATION cluster (cl-dr)</span>
<span class="cmd">snapmirror quiesce -destination-path svm-dr:vol_finance_dr</span>
<span class="cmd">snapmirror break -destination-path svm-dr:vol_finance_dr</span>
<span class="cmd">snapmirror delete -destination-path svm-dr:vol_finance_dr</span>
<span class="comment"># Relationship config is gone — but source footprint remains!</span>
<span class="comment">## On SOURCE cluster (cl-prod) — check remaining footprint</span>
<span class="cmd">snapmirror list-destinations</span>
<span class="output">Source: svm-prod:vol_finance Destination: svm-dr:vol_finance_dr
← Footprint still listed! Must release.</span>
<span class="comment">## Release the footprint — this also cleans up SM snapshots</span>
<span class="cmd">snapmirror release -source-path svm-prod:vol_finance \</span>
<span class="param">-destination-path svm-dr:vol_finance_dr \</span>
<span class="param">-relationship-id <uuid-from-show></span>
<span class="comment"># Verify list-destinations is now empty</span>
<span class="cmd">snapmirror list-destinations</span>
<span class="output">← Empty — relationship fully removed</span>
<span class="comment"># Snapshot cleanup happens automatically after release (takes a few minutes)</span>
<span class="cmd">volume snapshot show -vserver svm-prod -volume vol_finance</span></div>
</div>
<div class="callout warning">
<div class="callout-icon">⚠️</div>
<div class="callout-content">
<div class="callout-title">No Way Back After Delete + Release</div>
<div class="callout-text"><code>snapmirror break</code> is reversible with <code>resync</code>. But once you run <code>snapmirror delete</code> followed by <code>snapmirror release</code>, the relationship is permanently destroyed. To re-enable replication, you must create a brand new relationship and run a full baseline transfer from scratch.</div>
</div>
</div>
</section>
<!-- ===== SECTION 6 ===== -->
<section class="section" id="s6">
<div class="section-header">
<div class="section-icon icon-teal">📋</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 06</div>
<h2>Custom SnapMirror Policies</h2>
</div>
</div>
<p>ONTAP ships with built-in policies like <code style="color:var(--accent-teal);background:rgba(57,211,195,.08);padding:2px 6px;border-radius:4px">MirrorAllSnapshots</code> and <code style="color:var(--accent-teal);background:rgba(57,211,195,.08);padding:2px 6px;border-radius:4px">DPDefault</code>. When your requirements differ — perhaps you want a different retention count or transfer restart behavior — you can build a custom policy from scratch.</p>
<h3>Available Built-in Policies</h3>
<table class="spec-table">
<thead>
<tr><th>Policy Name</th><th>Type</th><th>What It Replicates</th><th>Typical Use</th></tr>
</thead>
<tbody>
<tr><td><code style="color:var(--accent-teal)">DPDefault</code></td><td>Async Mirror</td><td>All source snapshots</td><td>Standard DR</td></tr>
<tr><td><code style="color:var(--accent-teal)">MirrorAllSnapshots</code></td><td>Async Mirror</td><td>All source snapshots</td><td>Most common DR choice</td></tr>
<tr><td><code style="color:var(--accent-teal)">MirrorLatest</code></td><td>Async Mirror</td><td>Latest snapshot only</td><td>Space-sensitive DR</td></tr>
<tr><td><code style="color:var(--accent-teal)">Unified7year</code></td><td>Mirror + Vault</td><td>Both data and long-term snaps</td><td>Compliance archiving</td></tr>
</tbody>
</table>
<div class="code-block">
<div class="code-header">
<span class="code-lang">ONTAP CLI — Create Custom Async SnapMirror Policy</span>
<div class="code-dots"><span class="dot-red"></span><span class="dot-ylw"></span><span class="dot-grn"></span></div>
</div>
<div class="code-body"><span class="comment"># List all existing policies first</span>
<span class="cmd">snapmirror policy show</span>
<span class="comment"># Create a custom async policy at the cluster level</span>
<span class="cmd">snapmirror policy create -policy-name custom-async-pol \</span>
<span class="param">-type async-mirror \</span>
<span class="param">-tries 12 \</span>
<span class="param">-transfer-priority normal</span>
<span class="comment"># Verify the policy was created</span>
<span class="cmd">snapmirror policy show -policy-name custom-async-pol</span>
<span class="comment"># Apply custom policy during relationship creation</span>
<span class="cmd">snapmirror create -source-path svm-prod:vol_hr \</span>
<span class="param">-destination-path svm-dr:vol_hr_dr \</span>
<span class="param">-type XDP \</span>
<span class="param">-policy custom-async-pol \</span>
<span class="param">-schedule hourly</span></div>
</div>
<div class="callout info">
<div class="callout-icon">📌</div>
<div class="callout-content">
<div class="callout-title">When to Create Custom Policies</div>
<div class="callout-text">Custom SnapMirror policies are rarely needed for standard DR — the built-in policies cover most scenarios. Custom policies become valuable for SnapVault configurations (where rules define snapshot label retention), or when you need non-default retry behavior or throttling that differs from the built-in policy defaults.</div>
</div>
</div>
</section>
<!-- ===== SECTION 7 ===== -->
<section class="section" id="s7">
<div class="section-header">
<div class="section-icon icon-green">🗄️</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 07</div>
<h2>SnapVault — Remote Archiving & Long-Term Backup</h2>
</div>
</div>
<p>SnapVault solves a fundamentally different problem than SnapMirror. While SnapMirror maintains an exact mirror for fast failover, SnapVault is designed for <strong style="color:var(--text-primary)">remote backup and long-term retention</strong>. The destination maintains its own independent snapshot series — immune to source-side deletions.</p>
<h3>SnapMirror vs SnapVault — Key Differences</h3>
<div class="grid-2">
<div class="card">
<div class="card-title">🔄 SnapMirror</div>
<ul class="bullet-list">
<li>Exact mirror — source and destination stay in sync</li>
<li>If you delete snapshots on source, destination matches</li>
<li>Optimised for fast failover (DR)</li>
<li>Creates SnapMirror snapshots on both ends</li>
<li>Destination snapshots tied to source lifecycle</li>
</ul>
</div>
<div class="card">
<div class="card-title">🗄️ SnapVault</div>
<ul class="bullet-list">
<li>Independent snapshot retention on destination</li>
<li>Destination snapshots survive source deletions</li>
<li>Uses existing local snapshots as transfer references</li>
<li>Designed for remote archiving, not fast failover</li>
<li>Supports longer retention schedules (daily, weekly, yearly)</li>
</ul>
</div>
</div>
<div class="svg-wrap">
<svg viewBox="0 0 820 280" xmlns="http://www.w3.org/2000/svg" style="width:100%;max-width:820px;display:block;margin:0 auto">
<!-- Source -->
<rect x="20" y="20" width="220" height="240" rx="12" fill="#1c2333" stroke="#30363d" stroke-width="1.5"/>
<text x="130" y="48" text-anchor="middle" fill="#e6edf3" font-size="13" font-weight="700" font-family="Sora,sans-serif">Source Volume</text>
<text x="130" y="65" text-anchor="middle" fill="#8b949e" font-size="10" font-family="JetBrains Mono,monospace">svm-prod / vol_compliance</text>
<!-- Source snapshots -->
<rect x="40" y="80" width="180" height="22" rx="5" fill="rgba(88,166,255,.12)" stroke="rgba(88,166,255,.3)" stroke-width="1"/>
<text x="130" y="95" text-anchor="middle" fill="#58a6ff" font-size="10" font-family="JetBrains Mono,monospace">hourly.2024-01-15_0800</text>
<rect x="40" y="108" width="180" height="22" rx="5" fill="rgba(88,166,255,.12)" stroke="rgba(88,166,255,.3)" stroke-width="1"/>
<text x="130" y="123" text-anchor="middle" fill="#58a6ff" font-size="10" font-family="JetBrains Mono,monospace">hourly.2024-01-15_0900</text>
<rect x="40" y="136" width="180" height="22" rx="5" fill="rgba(88,166,255,.12)" stroke="rgba(88,166,255,.3)" stroke-width="1"/>
<text x="130" y="151" text-anchor="middle" fill="#58a6ff" font-size="10" font-family="JetBrains Mono,monospace">daily.2024-01-15</text>
<rect x="40" y="164" width="180" height="22" rx="5" fill="rgba(88,166,255,.12)" stroke="rgba(88,166,255,.3)" stroke-width="1"/>
<text x="130" y="179" text-anchor="middle" fill="#58a6ff" font-size="10" font-family="JetBrains Mono,monospace">weekly.2024-W03</text>
<text x="130" y="230" text-anchor="middle" fill="#8b949e" font-size="10" font-family="Inter,sans-serif">Local snapshots drive</text>
<text x="130" y="245" text-anchor="middle" fill="#8b949e" font-size="10" font-family="Inter,sans-serif">SnapVault transfer</text>
<!-- Arrow -->
<defs>
<marker id="arrVault" markerWidth="10" markerHeight="7" refX="10" refY="3.5" orient="auto">
<polygon points="0 0, 10 3.5, 0 7" fill="#39d3c3"/>
</marker>
</defs>
<line x1="240" y1="140" x2="370" y2="140" stroke="#39d3c3" stroke-width="2.5" stroke-dasharray="6,3" marker-end="url(#arrVault)"/>
<text x="305" y="128" text-anchor="middle" fill="#39d3c3" font-size="11" font-weight="600" font-family="Sora,sans-serif">SnapVault</text>
<text x="305" y="143" text-anchor="middle" fill="#39d3c3" font-size="10" font-family="JetBrains Mono,monospace">XDP / vault</text>
<!-- Destination -->
<rect x="370" y="20" width="220" height="240" rx="12" fill="#1c2333" stroke="#30363d" stroke-width="1.5"/>
<text x="480" y="48" text-anchor="middle" fill="#e6edf3" font-size="13" font-weight="700" font-family="Sora,sans-serif">Vault Destination</text>
<text x="480" y="65" text-anchor="middle" fill="#8b949e" font-size="10" font-family="JetBrains Mono,monospace">svm-archive / vol_compliance_sv</text>
<!-- Destination snapshots — longer retention -->
<rect x="390" y="80" width="180" height="22" rx="5" fill="rgba(63,185,80,.1)" stroke="rgba(63,185,80,.3)" stroke-width="1"/>
<text x="480" y="95" text-anchor="middle" fill="#3fb950" font-size="10" font-family="JetBrains Mono,monospace">daily.2024-01-01</text>
<rect x="390" y="108" width="180" height="22" rx="5" fill="rgba(63,185,80,.1)" stroke="rgba(63,185,80,.3)" stroke-width="1"/>
<text x="480" y="123" text-anchor="middle" fill="#3fb950" font-size="10" font-family="JetBrains Mono,monospace">daily.2024-01-08</text>
<rect x="390" y="136" width="180" height="22" rx="5" fill="rgba(63,185,80,.1)" stroke="rgba(63,185,80,.3)" stroke-width="1"/>
<text x="480" y="151" text-anchor="middle" fill="#3fb950" font-size="10" font-family="JetBrains Mono,monospace">weekly.2023-W50</text>
<rect x="390" y="164" width="180" height="22" rx="5" fill="rgba(63,185,80,.1)" stroke="rgba(63,185,80,.3)" stroke-width="1"/>
<text x="480" y="179" text-anchor="middle" fill="#3fb950" font-size="10" font-family="JetBrains Mono,monospace">monthly.2023-12</text>
<rect x="390" y="195" width="180" height="22" rx="5" fill="rgba(227,179,65,.08)" stroke="rgba(227,179,65,.3)" stroke-width="1"/>
<text x="480" y="210" text-anchor="middle" fill="#e3b341" font-size="10" font-family="JetBrains Mono,monospace">yearly.2023</text>
<!-- Legend -->
<rect x="620" y="20" width="180" height="130" rx="10" fill="#161b22" stroke="#30363d" stroke-width="1"/>
<text x="710" y="45" text-anchor="middle" fill="#8b949e" font-size="11" font-weight="600" font-family="Sora,sans-serif">SnapVault Key Points</text>
<text x="635" y="68" fill="#39d3c3" font-size="11" font-family="Inter,sans-serif">▸ Independent retention</text>
<text x="635" y="86" fill="#39d3c3" font-size="11" font-family="Inter,sans-serif">▸ Longer archive periods</text>
<text x="635" y="104" fill="#39d3c3" font-size="11" font-family="Inter,sans-serif">▸ Policy-driven schedules</text>
<text x="635" y="122" fill="#39d3c3" font-size="11" font-family="Inter,sans-serif">▸ Remote data protection</text>
<text x="635" y="140" fill="#39d3c3" font-size="11" font-family="Inter,sans-serif">▸ Survives source deletion</text>
</svg>
<div class="diagram-caption">Figure 6 — SnapVault architecture: destination snapshots are independent of source snapshot lifecycle</div>
</div>
<h3>Creating a Custom SnapVault Policy</h3>
<p>SnapVault policies use <strong style="color:var(--text-primary)">rules with snapshot labels</strong> to define which source snapshots get replicated and how many to retain on the destination. This is the primary reason custom policies are created in practice.</p>
<div class="code-block">
<div class="code-header">
<span class="code-lang">ONTAP CLI — SnapVault Custom Policy & Relationship</span>
<div class="code-dots"><span class="dot-red"></span><span class="dot-ylw"></span><span class="dot-grn"></span></div>
</div>
<div class="code-body"><span class="comment"># Create a custom SnapVault policy</span>
<span class="cmd">snapmirror policy create -policy-name sv-custom-pol \</span>
<span class="param">-type vault</span>
<span class="comment"># Add rules — label must match snapshot label on source</span>
<span class="cmd">snapmirror policy add-rule -policy-name sv-custom-pol \</span>
<span class="param">-snapmirror-label daily \</span>
<span class="param">-keep 30</span>
<span class="cmd">snapmirror policy add-rule -policy-name sv-custom-pol \</span>
<span class="param">-snapmirror-label weekly \</span>
<span class="param">-keep 12</span>
<span class="cmd">snapmirror policy add-rule -policy-name sv-custom-pol \</span>
<span class="param">-snapmirror-label monthly \</span>
<span class="param">-keep 12</span>
<span class="comment"># Create SnapVault relationship (type XDP + vault policy)</span>
<span class="cmd">snapmirror create -source-path svm-prod:vol_compliance \</span>
<span class="param">-destination-path svm-archive:vol_compliance_sv \</span>
<span class="param">-type XDP \</span>
<span class="param">-policy sv-custom-pol \</span>
<span class="param">-schedule 5min</span>
<span class="comment"># Initialize the SnapVault relationship</span>
<span class="cmd">snapmirror initialize -destination-path svm-archive:vol_compliance_sv</span></div>
</div>
<h3>Restoring Data from SnapVault</h3>
<p>SnapVault's main operational advantage is granular restore. You can restore individual files from a specific historical snapshot, or restore the entire volume to a past state using <code style="color:var(--accent-teal);background:rgba(57,211,195,.08);padding:2px 6px;border-radius:4px">snapmirror restore</code>.</p>
<div class="code-block">
<div class="code-header">
<span class="code-lang">ONTAP CLI — Restore from SnapVault</span>
<div class="code-dots"><span class="dot-red"></span><span class="dot-ylw"></span><span class="dot-grn"></span></div>
</div>
<div class="code-body"><span class="comment"># Full volume restore — run on SOURCE cluster</span>
<span class="cmd">snapmirror restore -source-path svm-archive:vol_compliance_sv \</span>
<span class="param">-destination-path svm-prod:vol_compliance \</span>
<span class="param">-source-snapshot daily.2024-01-08</span>
<span class="comment"># Granular file restore — browse the snapshot directory</span>
<span class="comment"># From CIFS share: navigate to \\server\share\.snapshot\daily.2024-01-08\</span>
<span class="comment"># Copy specific files out of the snapshot back to active filesystem</span>
<span class="comment"># Verify restore completed</span>
<span class="cmd">snapmirror show -destination-path svm-prod:vol_compliance</span></div>
</div>
<div class="callout tip">
<div class="callout-icon">🔑</div>
<div class="callout-content">
<div class="callout-title">Granular vs Full Restore</div>
<div class="callout-text">For recovering a handful of accidentally deleted files, browse the <code>.snapshot</code> directory on the SnapVault destination volume directly via CIFS/NFS and copy the files out. Full <code>snapmirror restore</code> is reserved for large-scale data loss scenarios where restoring from a specific historical snapshot is needed. Both approaches are valid — choose based on scope.</div>
</div>
</div>
</section>
<!-- ===== SECTION 8 ===== -->
<section class="section" id="s8">
<div class="section-header">
<div class="section-icon icon-blue">⚡</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 08</div>
<h2>Load Sharing Mirror — Root Volume Performance Scaling</h2>
</div>
</div>
<p>Load Sharing (LS) Mirror is a performance feature unique to SVM root volumes. It distributes NAS namespace lookup traffic across multiple nodes, reducing the load on the junction point that serves as the gateway to all volumes in an SVM.</p>
<h3>Why Root Volumes Become a Bottleneck</h3>
<p>In a multi-volume SVM, every client request — regardless of which data volume it targets — must first resolve its path through the SVM root volume's junction point. On a busy cluster with hundreds of volumes and thousands of client connections, this single junction point can become a serialisation bottleneck even though data flows through individual node LIFs.</p>
<div class="svg-wrap">
<svg viewBox="0 0 820 340" xmlns="http://www.w3.org/2000/svg" style="width:100%;max-width:820px;display:block;margin:0 auto">
<!-- WITHOUT LS Mirror -->
<text x="185" y="22" text-anchor="middle" fill="#f78166" font-size="12" font-weight="700" font-family="Sora,sans-serif">WITHOUT Load Sharing Mirror</text>
<rect x="20" y="35" width="330" height="190" rx="10" fill="#161b22" stroke="#30363d" stroke-width="1"/>
<!-- Node 1 with root vol -->
<rect x="40" y="50" width="130" height="70" rx="8" fill="#1c2333" stroke="#f78166" stroke-width="1.5"/>
<text x="105" y="73" text-anchor="middle" fill="#e6edf3" font-size="11" font-weight="600" font-family="Sora,sans-serif">Node-A</text>
<rect x="55" y="82" width="100" height="22" rx="5" fill="rgba(247,129,102,.12)" stroke="rgba(247,129,102,.3)" stroke-width="1"/>
<text x="105" y="97" text-anchor="middle" fill="#f78166" font-size="10" font-family="JetBrains Mono,monospace">svm1_root</text>
<rect x="190" y="50" width="140" height="70" rx="8" fill="#1c2333" stroke="#30363d" stroke-width="1"/>
<text x="260" y="73" text-anchor="middle" fill="#8b949e" font-size="11" font-weight="600" font-family="Sora,sans-serif">Node-B</text>
<text x="260" y="97" text-anchor="middle" fill="#6e7681" font-size="10" font-family="JetBrains Mono,monospace">(no root mirror)</text>
<!-- All arrows to Node A only -->
<defs>
<marker id="arrRed" markerWidth="8" markerHeight="6" refX="8" refY="3" orient="auto">
<polygon points="0 0, 8 3, 0 6" fill="#f78166"/>
</marker>
</defs>
<text x="185" y="155" text-anchor="middle" fill="#8b949e" font-size="11" font-family="Sora,sans-serif">ALL namespace requests</text>
<line x1="105" y1="162" x2="105" y2="120" stroke="#f78166" stroke-width="2" marker-end="url(#arrRed)"/>
<line x1="155" y1="167" x2="115" y2="120" stroke="#f78166" stroke-width="1.5" marker-end="url(#arrRed)"/>
<line x1="60" y1="167" x2="95" y2="120" stroke="#f78166" stroke-width="1.5" marker-end="url(#arrRed)"/>
<text x="185" y="175" text-anchor="middle" fill="#f78166" font-size="10" font-family="JetBrains Mono,monospace">→ Bottleneck on Node-A!</text>
<!-- WITH LS Mirror -->
<text x="620" y="22" text-anchor="middle" fill="#3fb950" font-size="12" font-weight="700" font-family="Sora,sans-serif">WITH Load Sharing Mirror</text>
<rect x="450" y="35" width="350" height="280" rx="10" fill="#161b22" stroke="#30363d" stroke-width="1"/>
<!-- Node 1 -->
<rect x="470" y="50" width="140" height="75" rx="8" fill="#1c2333" stroke="#39d3c3" stroke-width="1.5"/>
<text x="540" y="72" text-anchor="middle" fill="#e6edf3" font-size="11" font-weight="600" font-family="Sora,sans-serif">Node-A</text>
<rect x="485" y="82" width="110" height="22" rx="5" fill="rgba(57,211,195,.12)" stroke="rgba(57,211,195,.3)" stroke-width="1"/>
<text x="540" y="97" text-anchor="middle" fill="#39d3c3" font-size="10" font-family="JetBrains Mono,monospace">svm1_root (source)</text>
<!-- Node 2 -->
<rect x="630" y="50" width="145" height="75" rx="8" fill="#1c2333" stroke="#3fb950" stroke-width="1.5"/>
<text x="702" y="72" text-anchor="middle" fill="#e6edf3" font-size="11" font-weight="600" font-family="Sora,sans-serif">Node-B</text>
<rect x="645" y="82" width="115" height="22" rx="5" fill="rgba(63,185,80,.12)" stroke="rgba(63,185,80,.3)" stroke-width="1"/>
<text x="702" y="97" text-anchor="middle" fill="#3fb950" font-size="10" font-family="JetBrains Mono,monospace">svm1_root_m1 (LS)</text>
<!-- LS Arrow -->
<defs>
<marker id="arrLs" markerWidth="8" markerHeight="6" refX="8" refY="3" orient="auto">
<polygon points="0 0, 8 3, 0 6" fill="#e3b341"/>
</marker>
<marker id="arrGreen" markerWidth="8" markerHeight="6" refX="8" refY="3" orient="auto">
<polygon points="0 0, 8 3, 0 6" fill="#3fb950"/>
</marker>
</defs>
<line x1="610" y1="93" x2="642" y2="93" stroke="#e3b341" stroke-width="1.5" stroke-dasharray="4,2" marker-end="url(#arrLs)"/>
<text x="625" y="86" text-anchor="middle" fill="#e3b341" font-size="9" font-family="JetBrains Mono,monospace">LS sync</text>
<!-- READ distribution -->