Backup - QNAP.com
Transcription
Backup - QNAP.com
Application Notes November 2015 How to Remote replicate iSCSI LUN and Shared Folder using Snapsync on QNAP Enterprise Storage History (Document history is QNAP internal, please remove it when converting formal pdf) Date Version Author Description Nov 18, 2015 1.0.0 Ason Hu Initial Draft © 2015 QNAP Systems, Inc. All Rights Reserved. 1 © 2015 QNAP Systems, Inc. All Rights Reserved. 2 Notices This user manual provides detailed instructions of using the QNAP Enterprise Storage NAS. Please read carefully and start to enjoy the powerful functions of the Enterprise Storage NAS. The QNAP Enterprise Storage NAS is hereafter referred to as the ES NAS or the NAS. This manual provides the description of all the functions of the ES NAS. The product you purchased may not support certain functions dedicated to specific models. Legal Notices All the features, functionality, and other product specifications are subject to change without prior notice or obligation. Information contained herein is subject to change without notice. QNAP and the QNAP logo are trademarks of QNAP Systems, Inc. All other brands and product names referred to are trademarks of their respective holders. Further, the ® or ™ symbols are not used in the text. Disclaimer Information in this document is provided in connection with QNAP® products. No license, express or implied, by estoppels or otherwise, to any intellectual property rights is granted by this document. Except as provided in QNAP's terms and conditions of sale for such products, QNAP Assumes no liability whatsoever, and QNAP disclaims any express or implied warranty, relating to sale and/or use of QNAP products including liability or warranties relating to fitness for a particular purpose, merchantability, or infringement of any patent, copyright or other intellectual property right. © 2015 QNAP Systems, Inc. All Rights Reserved. 3 Table of Contents Overview .......................................................................................................................................................... 5 What’s Snapsync ........................................................................................................................................................5 Advantage ....................................................................................................................................................................5 System Configuration...............................................................................................................................................6 Setup SnapSync Servers .............................................................................................................................. 7 Add remote host ........................................................................................................................................................7 SnapSync for Shared Folder ...................................................................................................................... 9 Create Shared Folder ...............................................................................................................................................9 Create Shared Folder Replicate Job ................................................................................................................. 11 SnapSync for iSCSI Storage ..................................................................................................................... 16 Create iSCSI Target and LUN ............................................................................................................................... 16 Create iSCSI Storage Replicate Job ................................................................................................................... 19 Disaster Scenario ....................................................................................................................................... 24 Recover from remote site .................................................................................................................................... 24 Break SnapSync ................................................................................................................................................................... 24 Revert Replication direction ........................................................................................................................................... 26 Reprotect from local site ..................................................................................................................................... 28 Getting Ready........................................................................................................................................................................ 28 Revert Replication direction ........................................................................................................................................... 29 Ready to use Storage .......................................................................................................................................................... 29 © 2015 QNAP Systems, Inc. All Rights Reserved. 4 Overview What’s Snapsync Snapsync allow you to sync local Enterprise Storage iSCSi LUNs and Shared Folder Volumes to remote Enterprise Storage, which provide efficient backup solution for IT operation usage. Advantage Using block level to perform differential backup, the quicker recovery time, requiring only a full backup and the last differential backup to restore the entire data repository © 2015 QNAP Systems, Inc. All Rights Reserved. 5 System Configuration Local Site Storage Network Settings Role IP Description SCA Management 192.168.200.101 Management IP of controller A SCA Ethernet 1 10.1.1.101 10G Data port 1 in controller A SCA Ethernet 2 10.1.2.101 10G Data port 2 in controller A SCB Management 192.168.200.102 Management IP of controller B SCB Ethernet 1 10.1.1.102 10G Data port 1 in controller B SCB Ethernet 2 10.1.2.102 10G Data port 2 in controller B Remote Site Storage Network Settings Role IP Description SCA Management 192.168.201.101 Management IP of controller A SCA Ethernet 1 10.1.3.101 10G Data port 1 in controller A SCA Ethernet 2 10.1.4.101 10G Data port 2 in controller A SCB Management 192.168.201.102 Management IP of controller B SCB Ethernet 1 10.1.3.102 10G Data port 1 in controller B SCb Ethernet 2 10.1.4.102 10G Data port 2 in controller B © 2015 QNAP Systems, Inc. All Rights Reserved. 6 Setup SnapSync Servers Add remote host Step 1: Go to Backup Station Step 2: Select Snapsync Server at left panel and then press Create Host button © 2015 QNAP Systems, Inc. All Rights Reserved. 7 Step 3: Enter remote storage Management IP and admin Password Step 4: Now remote server connected © 2015 QNAP Systems, Inc. All Rights Reserved. 8 SnapSync for Shared Folder Create Shared Folder Step 1: Step 2: Go to Storage Manager Select Shared Folder at left panel and then press New Shared Folder button © 2015 QNAP Systems, Inc. All Rights Reserved. 9 Step 3: Configure Storage settings and access privileges, then click on Create button © 2015 QNAP Systems, Inc. All Rights Reserved. 10 Step 4: Shared Folder replica_demo created Create Shared Folder Replicate Job Step 1: Go to Backup station © 2015 QNAP Systems, Inc. All Rights Reserved. 11 Step 2: Step 3: Select SnapSync at left panel and then press Create a Replication Job button Select paired Remote Host and Source Shared Folder we prepared, then press New button for creating Destination Shared Folder © 2015 QNAP Systems, Inc. All Rights Reserved. 12 Step 4: Enter drive name for Destination Shared Folder then click on OK Step 5: Check Replication Job settings, then click on OK to finish © 2015 QNAP Systems, Inc. All Rights Reserved. 13 Step 6: Replication Job created Step 7: In the meantime, the destination shared folder has been created at remote site © 2015 QNAP Systems, Inc. All Rights Reserved. 14 Note: 1. In order to prevent changes, destination shared folders are set in Read-Only mode until SnapSync connection be removed. 2. The destination shared folder’s configuration is separate from the source, so the Storage settings and access privileges must be reconfigured particularly. © 2015 QNAP Systems, Inc. All Rights Reserved. 15 SnapSync for iSCSI Storage Create iSCSI Target and LUN Step 1: Go to Storage Manager Step 2: Select iSCSI Storage at left panel and then press Create button © 2015 QNAP Systems, Inc. All Rights Reserved. 16 Step 3: Choose iSCSI Target with a mapped LUN and then press Next button Step 4: Enter Target Name and then press Next button © 2015 QNAP Systems, Inc. All Rights Reserved. 17 Step 5: Enter LUN Name and then press Next button to create LUN Step 6: Press Finish button to exit configuration wizard © 2015 QNAP Systems, Inc. All Rights Reserved. 18 Step 7: Target and LUN created, we will create a replication job for the LUN at next step Create iSCSI Storage Replicate Job Step 1: Go to Backup station © 2015 QNAP Systems, Inc. All Rights Reserved. 19 Step 2: Step 3: Select SnapSync at left panel and then press Create a Replication Job button Select paired Remote Host and Source LUN we prepared, then press New button for creating Destination LUN © 2015 QNAP Systems, Inc. All Rights Reserved. 20 Step 4: Enter drive name for Destination LUN then click on OK Step 5: Check Replication Job settings, then click on OK to finish © 2015 QNAP Systems, Inc. All Rights Reserved. 21 Step 6: Replication Job created Step 7: In the meantime, the destination LUN has been created at remote site © 2015 QNAP Systems, Inc. All Rights Reserved. 22 Note: 1. In order to prevent changes, destination LUNs are set in Read-Only mode and it cannot be found by iSCSI initiator until SnapSync connection be removed. © 2015 QNAP Systems, Inc. All Rights Reserved. 23 Disaster Scenario Recover from remote site At this step, we will shut down and initialize local site storage to simulate disaster recovery. Break SnapSync Step 1: Step 2: At remote storage, go to SnapSync tab and select the replication job we already paired Click on Quiesce job button © 2015 QNAP Systems, Inc. All Rights Reserved. 24 Step 3: After Replication Job state is in quiescent mode, now can click on Delete button to break Snapsync Note: Due to destination shared folder are set in Read-Only mode when SnapSync Replication Job has been created, you have to break SnapSync to modify the shared folder data. © 2015 QNAP Systems, Inc. All Rights Reserved. 25 Revert Replication direction Once local site storage come back, we can do a reprotect procedure Step 1: Step 2: Make sure connection to local site is correct Create reverted replication job for Shared Folder and iSCSI Storage from remote site to local site © 2015 QNAP Systems, Inc. All Rights Reserved. 26 Step 3: After replication job has done, you will see the recovered Shared Folder has been added at local site For iSCSI Storage, the recovered LUN can be discovered in Un-Mapped iSCSI List © 2015 QNAP Systems, Inc. All Rights Reserved. 27 Reprotect from local site Getting Ready [IMPORTANT] For iSCSI Storage, UNMAP the Destination LUN we have replicated at remote site to prevent replication failure in next step For Shared Folder, stop NFS or CIFS connections for safety © 2015 QNAP Systems, Inc. All Rights Reserved. 28 Revert Replication direction Step 1: To revert the direction of replication, please follow Shared Folder Replicate Job and iSCSI Storage Replicate Job to reprotect local site Step 2: Bellow pictures are showing how direction of replication changes after reprotect is done Before (Remote Site to Local Site) After (Local Site to Remote Site) Ready to use Storage Now local site storage date has been fully recovered and can be used again © 2015 QNAP Systems, Inc. All Rights Reserved. 29
Similar documents
QNAP ESNAS Application Notes
2. Configuring your storage ....................................................................................................... 6 2.1 Create the storage pool and iSCSI LUN .......................
More information