Вы находитесь на странице: 1из 104

SnapProtect v10 SP4 Open Systems Cookbook for

Microsoft Windows and Linux File Systems


Authors
Ajay T. Someshwar
Subhash Athri N.
November 2013

SnapProtect POC Cookbook

NetApp Confidential Limited Use

Table of Contents
1

ABSTRACT ..................................................................................................................................................... 4

PRODUCT RESOURCES ................................................................................................................................ 4

SYSTEM REQUIREMENTS ............................................................................................................................. 4

INTEROPERABILITY MATRIX TOOL ..................................................................................................... 4


COMMSERVE ...................................................................................................................................... 4
MEDIAAGENT ..................................................................................................................................... 4
ONCOMMAND Unified Manager (Version 5.2) ............................................................................... 4
ARRAY LICENSES .................................................................................................................................. 4
4

SNAPPROTECT OPEN SYSTEMS ................................................................................................................. 6

PREREQUISITES ............................................................................................................................................ 7

SNAPPROTECT SOFTWARE .................................................................................................................. 7


LICENSES .............................................................................................................................................. 7
ARRAY SOFTWARE ............................................................................................................................... 7
SETUP ................................................................................................................................................... 7
6

ONCOMMAND UNIFIED MANAGER 5.2......................................................................................................... 8

INSTALL OCUM .................................................................................................................................... 8


INSTALL NETAPP MANAGEMENT CONSOLE.................................................................................... 14
CONFIGURE ONCOMMAND UNIFIED MANAGER ............................................................................. 13
CONFIGURE RESOURCE POOLS ....................................................................................................... 22
7

SNAPPROTECT INSTALLATION ................................................................................................................. 28

INSTALL SNAPPROTECT...................................................................................................................... 28
8

SNAPPROTECT CONFIGURATION ............................................................................................................. 44

INITIAL CONFIGURATION ................................................................................................................. 44


ADD THE NETAPP 7-MODE CONTROLLERS INTO THE ARRAY MANAGEMENT ................................ 45
9

CONFIGURE THE WINDOWS CLIENT ........................................................................................................ 48

PERFORM A WINDOWS BACKUP ...................................................................................................... 71


PERFORM A WINDOWS RESTORE ...................................................................................................... 73
10 CONFIGURE THE LINUX CLIENT ................................................................................................................ 77

PERFORM A LINUX BACKUP ............................................................................................................... 92


PERFORM A LINUX RESTORE ............................................................................................................. 94

SnapProtect POC Cookbook

NetApp Confidential Limited Use

1 ABSTRACT
SnapProtect for Open Systems is a block level incremental replication capability. It replicates
data from UNIX and Windows clients with source volumes carved out of disks that are locally
attached to these clients from non-Netapp hardware arrays. This data is replicated to a Data
ONTAP 7-Mode SnapVault destination as a single partition. It uses OnCommand Unified
Manager to provision the destination volumes to which data is replicated. Data is replicated as
GPT LUN on Windows. On Unix, LUN has the same format as the source volume LUN.
SnapProtect for Open Systems (SPOS) adds support for granular recovery from Data ONTAP 7Mode SnapVault targets with application-consistent backups, file catalog, granular recovery and
path-to-tape for select operating systems and applications.
Supported (non-clustered) operating systems and applications:
Windows, Linux and Solaris file systems
Microsoft Exchange, Microsoft SQL Server and Oracle
This document can be used as a basic guide during SPOS POC engagements in order to
showcase Windows and Linux file system backup/recovery. It can also be used to assist in the
setup and configuration of the product. The steps in this guide are mostly geared toward POC lab
and test work. It has not been created as a guide for production installations.

2 PRODUCT RESOURCES
Please refer to the links below for more information on SnapProtect support.
Release Notes: https://library.netapp.com/ecm/ecm_download_file/ECMP1354326
Books Online: http://support.netapp.com/documentation/web/ECMP1354372.html
Copyright and License information: https://library.netapp.com/ecm/ecm_download_file/ECMP1229119

3 SYSTEM REQUIREMENTS
For the current system requirements, refer to the following links.
INTEROPERABILITY MATRIX TOOL
http://support.netapp.com/matrix/
COMMSERVE
http://support.netapp.com/NOW/knowledge/docs/snapprotect/relsnap_protect100sp3b/21508207_A0_books_online_100sp3b/books_online_1/english_us/system_requirements/system_requirements.htm
?var1=http://support.netapp.com/NOW/knowledge/docs/snapprotect/relsnap_protect100sp3b/21508207_A0_books_online_100sp3b/books_online_1/english_us/system_requirements/commserve.htm
MEDIAAGENT
http://support.netapp.com/NOW/knowledge/docs/snapprotect/relsnap_protect100sp3b/21508207_A0_books_online_100sp3b/books_online_1/english_us/system_requirements/system_requirements.htm
?var1=http://support.netapp.com/NOW/knowledge/docs/snapprotect/relsnap_protect100sp3b/21508207_A0_books_online_100sp3b/books_online_1/english_us/system_requirements/ma.htm
ONCOMMAND Unified Manager (Version 5.2)

http://library-clnt.dmz.netapp.com/documentation/productlibrary/index.html?productID=60317
ARRAY LICENSES

FCP, ISCSI licenses for features such as Fiber Channel Protocol, iSCSI protocol. Use the
NetApp Confidential Limited Use

appropriate license for the specific data types


FlexClone licenses (on all arrays).
HTTP/HTTPS licenses on the destination NetApp file server to allow communication
The NetApp Snap Management license:
o iSCSI Initiator must be configured on the client and proxy computers to access the snapshot
device
o SnapVault Secondary License for backup and recovery operations (NetApp 7.x and 8.1.x)
o SnapVault License for backup and recovery operations (NetApp 8.2 onwards)

NetApp Confidential Limited Use

4 SNAPPROTECT OPEN SYSTEMS


The SnapProtect for Open Systems replication will happen in the context of SnapProtect backup. To carry out
the replication transfer, you should run or schedule the replication workflow from the storage policy to which
all the clients that need to be protected are associated. The workflow will in turn start of individual
SnapProtect backup jobs for each of the associated subclients. Each SnapProtect backup job for a subclient
does the following:
Creates a software snapshot of the source data using the native Snap engine such as VSS or
QSnap/LVM.
The volume is added to the OnCommand Unified Manager dataset that corresponds to the primary
snap copy of storage policy to which the subclient is associated.
The OnCommand Unified Manager carries out any provisioning tasks and requests the destination
filer to connect back to the client SnapProtect for Open SystemsTransfer/SnapProtect for Open
SystemsTest process.
If the volume has never been protected before, then the SnapProtect for Open Systems agent will
perform a baseline transfer, i.e., transfer all blocks for the volume to the destination filer.
If the volume has been protected before, then the SnapProtect for Open Systems agent will figure
out all the blocks that have changed for the volume since the last backup, using SHA-1 checksum
mechanism and a checksum database and transfer only the changed blocks to the destination file
server. For a given volume, all backups, except the first, are incremental.
When the SnapProtect for Open Systems transfer to all the associated subclients is complete, a destination
snapshot is taken on the destination vault copy and this snap is registered as the primary copy of data for that
application against the primary snap copy. The software snap that was created at the start of the SnapProtect
backup job is deleted once the SnapProtect for Open Systems transfer for source snapshot is successful.

NetApp Confidential Limited Use

5 PREREQUISITES
SNAPPROTECT SOFTWARE

MediaAgent needs to be installed on any client machine whose data will be backed up using
SnapProtect for Open Systems. Please refer to the Books Online for a list of Media Agents based on
the Platforms supported.
Unix - SnapProtect Qsnap Driver or Linux LVM or Veritas VxvM is required to be installed on Unix
clients. The source for the backup will be from a device that is either a qsnap device or a Linux LVM
or a Veritas VxvM volume

LICENSES
Add any of the licenses that have been described in section 3.
ARRAY SOFTWARE

OnCommand Unified Manager - A server running NetApp OnCommand Unified Manager server
software 5.2 is required
Operations Manager, Provisioning Manager, and Protection Manager licenses are required for the
OnCommand Unified Manager
SnapVault - NetApp replication technology used for backup and recovery

SETUP

Perform the following steps before using SnapProtect:


NetApp 7.x and 8.1.x
o On your destination file server, use the license command to check the sv_windows_pri,
and sv_linux_pri and sv_unix_pri licenses are available for the secondary file servers
NetApp 8.2.x
o On your destination file server, use the license command to check the SnapVault
license is available for the secondary file servers
o Enable SnapVault on the secondary file servers as shown below

options snapvault.enable on

NetApp Confidential Limited Use

6 ONCOMMAND UNIFIED MANAGER 5.2


INSTALL OCUM
1.

SnapProtect requires OCUM 5.0.2 and above. Download the software from the SUPPORT site.

2.

After downloading the setup, start the installer and click next.

NetApp Confidential Limited Use

3.

Accept the license agreement and click next.

4.

Choose the 7-Mode option. Click next.

NetApp Confidential Limited Use

5.

Ensure that you select the Standard edition and click next.

6.

Enter the license key and click next.

NetApp Confidential Limited Use

7.

Confirm the installation location.

8.

Click Install to begin the installation.

NetApp Confidential Limited Use

9.

Wait for the installation to finish.

10. Click next to complete the setup process.

NetApp Confidential Limited Use

11. Check the Launch OnCommand console checkbox and click Finish to exit the setup.

12. Enter the administrator credentials.

NetApp Confidential Limited Use

INSTALL NETAPP MANAGEMENT CONSOLE


1.

Once you have installed the OCUM server, install the NetApp Management Console. This can
be downloaded from within the Operations Manager console.
Note: The NMC can also be installed on your local machine.

NetApp Confidential Limited Use

2.

Select the platform type to download.

NetApp Confidential Limited Use

11

3.

Click next to begin the installation.

4.

Confirm the install location.

SnapProtect POC Cookbook

NetApp Confidential Limited Use

12

5.

Wait for the installer to complete

6.

Click Finish.

SnapProtect POC Cookbook

NetApp Confidential Limited Use

CONFIGURE ONCOMMAND UNIFIED MANAGER


1.

Launch the NetApp Management Console and login.

2.

Make sure that NDMP is enabled on all arrays. Run the following command on the 7-Mode
controller to turn on NDMP.
ndmpd on

3.

13

Add the arrays as hosts using the wizard.

SnapProtect POC Cookbook

NetApp Confidential Limited Use

4.

14

Click next to proceed adding the hosts.

SnapProtect POC Cookbook

NetApp Confidential Limited Use

5.

15

Enter the hostname of the array. Make sure to have an entry in the etc/hosts file which
corresponds to the hostnames IP address.

SnapProtect POC Cookbook

NetApp Confidential Limited Use

6.

16

Provide the root login credentials.

SnapProtect POC Cookbook

NetApp Confidential Limited Use

7.

17

Make sure the appropriate licenses are installed and click Next. This step can be skipped
at this time and new licenses can be added later.

SnapProtect POC Cookbook

NetApp Confidential Limited Use

8.

18

Modify the SnapVault settings if needed and click Next.

SnapProtect POC Cookbook

NetApp Confidential Limited Use

9.

19

Modify the SnapMirror settings if needed and click Next.

SnapProtect POC Cookbook

NetApp Confidential Limited Use

10. Enable NDMP.

20

SnapProtect POC Cookbook

NetApp Confidential Limited Use

11. Provide the NDMP user credentials.

20

SnapProtect POC Cookbook

NetApp Confidential Limited Use

12. Finish the wizard.

13. The host is then shown in the list. Check that the NDMP credentials are showing good. If not,
click Edit and modify the password.

14. Use the wizard to add each of the other arrays that will be managed by SnapProtect.

21

SnapProtect POC Cookbook

NetApp Confidential Limited Use

CONFIGURE RESOURCE POOLS


The next thing to configure will be the destination resource pools that will be used by SnapProtect during
replication operations.

22

1.

Under Data Resource Pools, click Add to start the wizard.

2.

Click Next to begin adding the resource pools.

SnapProtect POC Cookbook

NetApp Confidential Limited Use

3.

23

Specify a resource pool a name.

SnapProtect POC Cookbook

NetApp Confidential Limited Use

4.

24

Define the aggregate(s) to assign to this resource pool.

SnapProtect POC Cookbook

NetApp Confidential Limited Use

5.

Click Next.

25

SnapProtect POC Cookbook

NetApp Confidential Limited Use

6.

Click Next.

26

SnapProtect POC Cookbook

NetApp Confidential Limited Use

7.

27

Click Finish

SnapProtect POC Cookbook

NetApp Confidential Limited Use

7 SNAPPROTECT INSTALLATION
INSTALL SNAPPROTECT

1. Download the core package from the NOW site as well as any service packs.

For partner access to the download refer to the following link.


https://fieldportal.netapp.com/viewcontent.asp?qv=1&docid=34152

2. Mount the iso image (DVD1) on the CommServe system and launch the installer.

28

SnapProtect POC Cookbook

NetApp Confidential Limited Use

3. Choose Standard as the Install Type

29

SnapProtect POC Cookbook

NetApp Confidential Limited Use

4. Click Create a new CommCell.

30

SnapProtect POC Cookbook

NetApp Confidential Limited Use

5. Leave the defaults settings and click Next.

31

SnapProtect POC Cookbook

NetApp Confidential Limited Use

6. Select the destination folder and click Next

32

SnapProtect POC Cookbook

NetApp Confidential Limited Use

7. Verify the components and click Install to begin the installation process.

33

SnapProtect POC Cookbook

NetApp Confidential Limited Use

8. SnapProtect requires Microsoft .Net Framework and you will be prompted to install it. Click Yes to
proceed.

34

SnapProtect POC Cookbook

NetApp Confidential Limited Use

9. Wait for the .Net framework installation to complete.

35

SnapProtect POC Cookbook

NetApp Confidential Limited Use

10. Click Next to continue with the installation process.

36

SnapProtect POC Cookbook

NetApp Confidential Limited Use

11. Provide a password for the SQL user sa. The SQL database is used by SnapProtect to store
information like configuration metadata.
Note: Please make sure to save this password along with your other passwords.

37

SnapProtect POC Cookbook

NetApp Confidential Limited Use

12. Select a path for the database files.

38

SnapProtect POC Cookbook

NetApp Confidential Limited Use

13. Select Create a New Database.

It is recommended to have a separate SQL installation for SnapProtect. Do not use any SQL server that is already
configured for any other production use.

39

SnapProtect POC Cookbook

NetApp Confidential Limited Use

14. Specify a username and password for the CommServe console.

40

SnapProtect POC Cookbook

NetApp Confidential Limited Use

15. Software cache is used for pushing agents to other hosts and also downloading any updates to the
Commserve. To setup a software cache select the option below and click Next.

Setting up the software cache also enables Commserve to be updated automatically. Make sure that you disable any
automatic updates after the installation is complete. Refer to page no. on how to disable auto update.

41

SnapProtect POC Cookbook

NetApp Confidential Limited Use

16. Click yes to install Software Cache.

42

SnapProtect POC Cookbook

NetApp Confidential Limited Use

17. Select Launch CommCell Console and click Finish.

43

SnapProtect POC Cookbook

NetApp Confidential Limited Use

8 SNAPPROTECT CONFIGURATION
INITIAL CONFIGURATION
1.

Launch the CommCell Console and login with the password that you provided during installation.

2.

Disable automatic updates by right clicking on the CommServe All Tasks Add/Remove Software
Download Software.

3.

Make sure Download updates is unchecked.

44

SnapProtect POC Cookbook

NetApp Confidential Limited Use

ADD THE NETAPP 7-MODE CONTROLLERS INTO THE ARRAY MANAGEMENT


1.

Click on Storage Array Management and then click on Add

45

SnapProtect POC Cookbook

NetApp Confidential Limited Use

2.

Enter the IP address of the 7-Mode controller and click Change to enter the credentials.

46

SnapProtect POC Cookbook

NetApp Confidential Limited Use

3.

Enter the credentials of the 7-Mode controller. Click OK when done.

47

SnapProtect POC Cookbook

NetApp Confidential Limited Use

9 CONFIGURE THE WINDOWS CLIENT


1.

Right click on Client Computers New Client File System Windows

2.

Enter the Client Name, Host name and click Next

48

SnapProtect POC Cookbook

NetApp Confidential Limited Use

3.

View the summary and click Finish

4.

Right click on the Windows client that was added All Tasks Add/Remove Software Install Software. This
will push the Windows File System iDataAgent to the client.

49

SnapProtect POC Cookbook

NetApp Confidential Limited Use

5. The Install Wizard appears. Click Next.

50

SnapProtect POC Cookbook

NetApp Confidential Limited Use

6. Enter the domain\user name and the password. Click Next.

51

SnapProtect POC Cookbook

NetApp Confidential Limited Use

7. Select the highlighted components in the window below and click Next.

52

SnapProtect POC Cookbook

NetApp Confidential Limited Use

8. Leave the default setting for the next few screenshots until the Summary window appears and then click
Next.

9. Check the job controller for the status of the installation. Verify that the installation completes successfully.

53

SnapProtect POC Cookbook

NetApp Confidential Limited Use

10. Verify that the client has been added successfully into the Client Computers and the Windows icon is
displayed towards the left of the IP

11. Right click on the Storage Policies and create a New Storage Policy

54

SnapProtect POC Cookbook

NetApp Confidential Limited Use

12. Specify the name of the storage policy and make sure SnapProtect for Open Systems is selected.

55

SnapProtect POC Cookbook

NetApp Confidential Limited Use

13. Specify the location to store the indexes.

56

SnapProtect POC Cookbook

NetApp Confidential Limited Use

14. Select a media agent and click Next.

57

SnapProtect POC Cookbook

NetApp Confidential Limited Use

15. Specify a retention criteria and click Next.

58

SnapProtect POC Cookbook

NetApp Confidential Limited Use

16. Specify a OCUM server and click Next.

59

SnapProtect POC Cookbook

NetApp Confidential Limited Use

17. Review the summary and click Finish.

60

SnapProtect POC Cookbook

NetApp Confidential Limited Use

18. From the CommCell GUI, right click on the storage policy that you created and navigate to (Primary Snap).
Right click again and select Properties

61

SnapProtect POC Cookbook

NetApp Confidential Limited Use

19. Click on the provisioning tab and select a target resource pool. Click OK.

62

SnapProtect POC Cookbook

NetApp Confidential Limited Use

20. Right click on the storage policy and click Properties.

63

SnapProtect POC Cookbook

NetApp Confidential Limited Use

21. Click on the Snapshot tab and select Enable Backup Copy. Click OK.

64

SnapProtect POC Cookbook

NetApp Confidential Limited Use

22. Right click on Windows client File System defaultBackupSet All Tasks New Subclient

65

SnapProtect POC Cookbook

NetApp Confidential Limited Use

23. Specify a Subclient name

66

SnapProtect POC Cookbook

NetApp Confidential Limited Use

24. Click on the Content tab and then click on Browse

67

SnapProtect POC Cookbook

NetApp Confidential Limited Use

25. Specify a dataset that has been provisioned from a non-NetApp array. Click Add.

68

SnapProtect POC Cookbook

NetApp Confidential Limited Use

26. Click on the Storage Device Tab and specify the storage policy that you created.

69

SnapProtect POC Cookbook

NetApp Confidential Limited Use

27. Specify a schedule and click OK

70

SnapProtect POC Cookbook

NetApp Confidential Limited Use

PERFORM A WINDOWS BACKUP


1.

Right click on the storage policy All Tasks Run Replication Workflow

71

SnapProtect POC Cookbook

NetApp Confidential Limited Use

2.

Click OK to start the backup

3.

Monitor the progress of the backup using the Job Controller

72

SnapProtect POC Cookbook

NetApp Confidential Limited Use

PERFORM A WINDOWS RESTORE

1. Right click on the Subclient and click Browse and Restore.

73

SnapProtect POC Cookbook

NetApp Confidential Limited Use

2. Click View Content to view the contents of the backed up data.

74

SnapProtect POC Cookbook

NetApp Confidential Limited Use

3. Select the contents to be restored and click Recover all Selected.

75

SnapProtect POC Cookbook

NetApp Confidential Limited Use

4. Specify an alternate destination path or click on Restore to same folder to restore the data to its original
location.

5. Monitor the progress of the restore via the Job Controller.

76

SnapProtect POC Cookbook

NetApp Confidential Limited Use

10 CONFIGURE THE LINUX CLIENT


1.

The procedure to add a linux client is the same as windows. Add the client and install the linux client software. For
linux select the QSnap Driver

77

SnapProtect POC Cookbook

NetApp Confidential Limited Use

2.

Create a New Storage Policy

3.

Enter a policy name and select the SnapProtect for Open Systems checkbox.

78

SnapProtect POC Cookbook

NetApp Confidential Limited Use

4.

Specify a location to store the indexes

5.

Select a MediaAgent and click Next.

79

SnapProtect POC Cookbook

NetApp Confidential Limited Use

6.

Speify a retention policy if required.

7.

Select the OCUM server

80

SnapProtect POC Cookbook

NetApp Confidential Limited Use

8.

Review the configuration

81

SnapProtect POC Cookbook

NetApp Confidential Limited Use

9.

Right click on the storage that you created and click properties.

82

SnapProtect POC Cookbook

NetApp Confidential Limited Use

10. Click on the Snapshot tab and select Enable Backup Copy. Click OK.

83

SnapProtect POC Cookbook

NetApp Confidential Limited Use

11. Right click on the Primary (Snap) and click Properties

84

SnapProtect POC Cookbook

NetApp Confidential Limited Use

12. Select the Provisioning tab and specify a Resource Pool. Click OK.

85

SnapProtect POC Cookbook

NetApp Confidential Limited Use

13. Create a new SubClient.

86

SnapProtect POC Cookbook

NetApp Confidential Limited Use

14. Specify a Subclient name

87

SnapProtect POC Cookbook

NetApp Confidential Limited Use

15. Click on the Content Tab and click Browse to add a backup dataset.

88

SnapProtect POC Cookbook

NetApp Confidential Limited Use

16. Specify a file system to be backed up and then click Add and Close.

89

SnapProtect POC Cookbook

NetApp Confidential Limited Use

17. Specify the storage policy that you created.

90

SnapProtect POC Cookbook

NetApp Confidential Limited Use

18. Specify a schedule if required.

91

SnapProtect POC Cookbook

NetApp Confidential Limited Use

PERFORM A LINUX BACKUP


1.

Right click on the storage policy that you created and click Run Replication Workflow.

92

SnapProtect POC Cookbook

NetApp Confidential Limited Use

2.

Click OK to start the backup.

3.

View the job crontroller to monitor the progress of the backup.

93

SnapProtect POC Cookbook

NetApp Confidential Limited Use

PERFORM A LINUX RESTORE


1.

Right click on the Subclient and click Browse and Restore

94

SnapProtect POC Cookbook

NetApp Confidential Limited Use

2.

Click View Content

95

SnapProtect POC Cookbook

NetApp Confidential Limited Use

3.

Select a file to be restored and click Recover All Selected

96

SnapProtect POC Cookbook

NetApp Confidential Limited Use

4.

Click OK to restore the files to its original location. Files can be restored to an alternate location by unchecking the
Restore to same folder check box and specifying an alternate location.

97

SnapProtect POC Cookbook

NetApp Confidential Limited Use

5.

View the job controller to monitor the progress of the restore.

98

SnapProtect POC Cookbook

NetApp Confidential Limited Use

NetApp provides no representations or warranties regarding the accuracy, reliability, or serviceability of any
information or recommendations provided in this publication, or with respect to any results that may be
obtained by the use of the information or observance of any recommendations provided herein. The
information in this document is distributed AS IS, and the use of this information or the implementation of
any recommendations or techniques herein is a customers responsibility and depends on the customers
ability to evaluate and integrate them into the customers operational environment. This document and
the information contained herein may be used solely in connection with the NetApp products discussed
in this document.

2013 NetApp, Inc. All rights reserved. No portions of this document may be reproduced without prior written consent of NetApp,
Inc. Specifications are subject to change without notice. NetApp, the NetApp logo, Go further, faster, DataFabric Manager,
SnapProtect, and Snapshot are trademarks or registered trademarks of NetApp, Inc. in the United States and/or other countries.
Active Directory, Microsoft, and Windows Server are registered trademarks of Microsoft Corporation. All other brands or products are
trademarks or registered trademarks of their respective holders and should be treated as such.

99

SnapProtect POC Cookbook

NetApp Confidential Limited Use

Вам также может понравиться