NetBackup811 RepDirector Guide
NetBackup811 RepDirector Guide
Replication Director
Solutions Guide
Release 8.1.1
Veritas NetBackup™ Replication Director Solutions
Guide
Last updated: 2018-02-16
Legal Notice
Copyright © 2018 Veritas Technologies LLC. All rights reserved.
Veritas, the Veritas Logo, and NetBackup are trademarks or registered trademarks of Veritas
Technologies LLC or its affiliates in the U.S. and other countries. Other names may be
trademarks of their respective owners.
This product may contain third-party software for which Veritas is required to provide attribution
to the third party (“Third-party Programs”). Some of the Third-party Programs are available
under open source or free software licenses. The License Agreement accompanying the
Software does not alter any rights or obligations you may have under those open source or
free software licenses. Refer to the Third-party Legal Notices document accompanying this
Veritas product or available at:
https://www.veritas.com/about/legal/license-agreements
The product described in this document is distributed under licenses restricting its use, copying,
distribution, and decompilation/reverse engineering. No part of this document may be
reproduced in any form by any means without prior written authorization of Veritas Technologies
LLC and its licensors, if any.
The Licensed Software and Documentation are deemed to be commercial computer software
as defined in FAR 12.212 and subject to restricted rights as defined in FAR Section 52.227-19
"Commercial Computer Software - Restricted Rights" and DFARS 227.7202, et seq.
"Commercial Computer Software and Commercial Computer Software Documentation," as
applicable, and any successor regulations, whether delivered by Veritas as on premises or
hosted services. Any use, modification, reproduction release, performance, display or disclosure
of the Licensed Software and Documentation by the U.S. Government shall be solely in
accordance with the terms of this Agreement.
http://www.veritas.com
Technical Support
Technical Support maintains support centers globally. All support services will be delivered
in accordance with your support agreement and the then-current enterprise technical support
policies. For information about our support offerings and how to contact Technical Support,
visit our website:
https://www.veritas.com/support
You can manage your Veritas account information at the following URL:
https://my.veritas.com
If you have questions regarding an existing support agreement, please email the support
agreement administration team for your region as follows:
Japan CustomerCare_Japan@veritas.com
Documentation
Make sure that you have the current version of the documentation. Each document displays
the date of the last update on page 2. The latest documentation is available on the Veritas
website:
https://sort.veritas.com/documents
Documentation feedback
Your feedback is important to us. Suggest improvements or report errors or omissions to the
documentation. Include the document title, document version, chapter title, and section title
of the text on which you are reporting. Send feedback to:
NB.docs@veritas.com
You can also see documentation information or ask a question on the Veritas community site:
http://www.veritas.com/community/
https://sort.veritas.com/data/support/SORT_Data_Sheet.pdf
Contents
NetBackup stores snapshots of client data on the volumes that are available to the
storage server.
Snapshots represent a point-in-time of primary storage data as captured by the
storage hardware. NetBackup can then instruct the storage server to replicate the
snapshot from primary volumes to other volumes available to the storage server.
The snapshot can be replicated to multiple volumes within the storage server, or
to storage outside of the storage server, such as a tape device or other disk storage.
Replication Director can accommodate an assortment of scenarios to meet the
specific data protection needs of an organization.
Replication Director offers a single NetBackup interface for end-to-end data
protection management for the following tasks:
■ Unified policy management.
Use the NetBackup Administration Console as the one, centralized backup
infrastructure to manage the lifecycle of all data.
■ Snapshot copy management.
Use NetBackup to manage the entire lifecycle of the snapshot. Replication
Director uses OpenStorage with a media server to access the storage server
volumes. No image can be moved, expired, or deleted from the disk array unless
NetBackup instructs the storage server to do so.
The instruction to perform the initial snapshot comes from an operation in a
NetBackup storage lifecycle policy (SLP). You can create one SLP that instructs
NetBackup to create the initial snapshot, to replicate the snapshot to several
locations, and to indicate a different retention period for each of the replications.
Additional instructions (or operations) can be included in the SLP that create a
backup from the snapshot, index the snapshot, and more.
■ Snapshot copy monitoring.
Use NetBackup OpsCenter to monitor the creation of each copy at each storage
location. OpsCenter provides extensive reporting on the entire replication
environment.
■ Global search and restore.
Recovery is available from any storage device in the environment that is defined
to NetBackup. This includes recovery from the primary copy or any replicated
copy on disk, or from any duplicated copy on disk or tape.
Introduction 10
About the roles of the Replication Director plug-ins
NetApp Plug-in The NBUPlugin communicates with the OnCommand Unified Manager.
for Veritas
For installation instructions, see the NetApp Plug-in for Veritas NetBackup Installation and
NetBackup
Administration Guide, available from the NetApp Support Site.
The default communication between the two plug-ins is to use encryption. A change can be made
to the NBUPlugin config file to disable encryption. The Encryption policy attribute has no impact
on the encryption between the plug-ins.
By default, the NetApp Plug-in for Veritas NetBackup uses IPv4, however the system can be
configured to use IPv6.
Note: The NetApp Plug-in for cDOT support (2.0) cannot be installed on the OnCommand Unified
Manager server, the master server, or any media servers. You should install the plug-in on a separate
Windows or Linux computer.
NetBackup License
host
NetBackup License
host
Media servers On each media server that can access the disk array, install:
■ The Data Protection Optimization Option only if you want to perform a snapshot backup to
deduplication disk.
■ An NDMP license to perform a snapshot backup to disk or tape using NDMP.
The Veritas NetBackup Hardware Compatibility List (HCL) lists the platforms on
which Replication Director is supported.
1 Install or upgrade NetBackup software on the master server See “Software required to use Replication
and media server(s). Director” on page 10.
2 Run the Storage Server Configuration Wizard to configure See “Creating a NetBackup storage server for
the OpenStorage partner as a NetBackup storage server. snapshot replication” on page 18.
This wizard also configures the following:
3 Create an additional disk pool for every group of disk volumes See “Creating disk pools for snapshot replication”
that will contain snapshot replications of the primary snapshot. on page 29.
4 Create a storage unit for any operation that will produce See the NetBackup Administrator's Guide,
duplications (non-snapshot copies). Volume I.
Introduction 12
Tools for troubleshooting Replication Director
5 Configure a storage lifecycle policy. Create a new operation See “Creating a storage lifecycle policy for
in the SLP for each task that the SLP is to perform. snapshots and snapshot replication” on page 52.
6 Configure a NetBackup backup policy to perform all of the See “Configuring a Standard or MS-Windows
operations indicated in the SLP. policy to protect NAS volumes or SAN-connected
devices” on page 84.
To do so, the Policy storage selection in the policy must
indicate the SLP that is configured for snapshots and See “Configuring an NDMP policy to protect a
snapshot replication. NAS host” on page 77.
Note: Do not use the Policy Configuration Wizard or the See “About Oracle support for Replication
Getting Started Wizard to configure policies for Replication Director” on page 151.
Director.
See “About virtual machines and Replication
Director” on page 164.
The following figure is an overview of how the NetBackup components fit together
to perform snapshots and snapshot replication. The following sections describe
how to configure each part of this process.
The following Veritas technote contains information that can help you solve various
problems that you may encounter while using Replication Director. It is organized
into general categories by problem or issue.
http://www.veritas.com/docs/TECH231425
Chapter 2
Additional configuration
topics
This chapter includes the following topics:
Note: If the NIC information is not configured correctly, backup and restore jobs
may fail.
The following is an example of the routing table that is defined for host
hp_nas.abc.xyz.com:
netstat -nr
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 32808
10.80.139.210 10.80.139.210 UH 0 lan1 32808
10.80.139.208 10.80.139.208 UH 0 lan0 32808
10.80.139.0 10.80.139.210 U 2 lan1 1500
10.80.136.0 10.80.139.208 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 32808
default 10.80.136.1 UG 0 lan0 1500
Since the IP/subnet address of the filer does not fall under any routing entry defined,
network communication from the host happens using the default routing entry.
Additional configuration topics 17
How to configure a multi-NIC environment
As previously mentioned, the default route entry has the same interface (lan0) as
that of the entry corresponding to the client name hp_nas.abc.xyz.com (lan0).
Similarly, if there is an entry defined in the routing table explicitly for the subnet of
the storage system’s IP address, ensure that the same interface similarity exists.
Chapter 3
Creating a NetBackup
storage server for
snapshot replication
This chapter includes the following topics:
Media Select the media server to query the storage server. This is the media server
server that is assigned the credentials for the storage server. Credentials allow the
media server to communicate with the storage server.
Note that all of the media servers in the configuration appear in the list, even
if the OpenStorage plug-in is not installed. Select a media server where the
OpenStorage plug-in is installed.
For a media server to communicate with and have access to a storage server,
it must be added to the Replication Director environment.
Storage Enter the name of the storage server. The name that you use for the storage
server server must be used consistently throughout both the NetBackup environment
name and the storage vendor environment.
Enter the exact name of the storage server, whether a fully-qualified name
or a short name.
Click Next.
5 The Additional Media Server Configuration for OpenStorage Devices panel
appears in environments where there are multiple media servers or where the
master server is on a different host from the media server.
■ Enable the check boxes for all media servers that are to be used to access
the storage server for snapshots, snapshot replication, or restores.
■ Enable the check box for the computer that hosts the master server, if it
appears in the list. The master server host must be enabled so that the
NetBackup catalog is updated correctly for rollback and restore operations.
Creating a NetBackup storage server for snapshot replication 21
Creating a NetBackup storage server for snapshot replication
Note: The master server does not appear in the list if it was already selected
in the Add Storage Server wizard pane as a media server for the Select
media server property (Step 4).
6 The wizard displays a summary panel that lists the configuration information
that you've entered. Click Back to make any changes or Next to create the
storage server.
7 The wizard declares that the storage server was successfully created. To create
a disk pool, make a check in the check box labeled Create a disk pool using
the storage server that you have just created. A disk pool is necessary for
snapshots and snapshot replication.
Click Next to launch the Disk Pool Configuration Wizard.
8 Select the type of disk pool that you want to create. If an OpenStorage partner
does not appear for selection, make sure that the license has been installed
and that an OpenStorage storage server has been created
9 On the Select Storage Server panel, select the storage server that was created
earlier in the wizard. Click Next.
10 The Select Disk Pool Properties and Volumes panel presents all of the
volumes that have been configured in the storage of the OpenStorage partner
by the storage administrator.
A disk pool can contain only those volumes that share similar properties. So
that dissimilar volumes are not combined, NetBackup filters the volumes for
selection.
Select the Primary property to configure this first disk pool for snapshots. The
list displays all of the volumes that match the selected property.
11 Select a primary volume in the table to be part of this first disk pool. Notice that
primary volumes also have the Source property set as well. Snapshots on the
primary volume are the source for snapshot replication. Click Next.
12 In the Additional Disk Pool Information panel, name the disk pool and add
any comments you want to make regarding the disk pool.
See “NetBackup naming conventions” on page 15.
Enable Limit I/O streams to limit the number of read and write streams (jobs)
for each volume in the disk pool. Select the number of read and write streams
to allow per volume. When the limit is reached, NetBackup chooses another
volume for write operations, if available. If not available, NetBackup queues
jobs until a volume is available.
Click Next.
Creating a NetBackup storage server for snapshot replication 22
Creating a NetBackup storage server for snapshot replication
13 Review the summary screen that lists the disk pool configuration. Click Back
to make any changes or Next to create the disk pool.
14 The wizard declares that the disk pool was successfully created. To create a
storage unit, make a check in the check box labeled Create a storage unit
using the disk pool that you have just created. A storage unit is necessary
for snapshots and snapshot replication.
Click Next.
15 In the Storage Unit Creation panel:
■ Name the storage unit.
■ Select the media server(s) that can use the storage unit:
Use any available media server to NetBackup selects any media server to
transport data access the storage unit.
Use only the selected media servers NetBackup uses only the media server that
is specified to access the storage unit.
Only the media servers that have the OpenStorage plug-in installed appear in
this list. For a media server to communicate with and have access to a storage
server, it must be added to the Replication Director environment.
Note: A storage unit can represent many physical devices. When a storage
unit is a replication target, NetBackup lets the plug-in select which device to
use within the storage unit. For replication jobs, storage units and storage unit
groups ignore the Maximum concurrent jobs setting. NetBackup does not
attempt to throttle the parameters.
16 Click Next. The final wizard panel displays, announcing that the wizard has
been completed.
You've just configured a storage server, a disk pool, and a storage unit to contain
the primary snapshots. Configure additional disk pools (and storage units) for every
group of disk volumes that will contain snapshot replications of the primary
snapshots.
For example, in the following figure, two disk pools are necessary:
■ One disk pool that contains volumes to hold primary snapshots and act as a
source for other replications, and
■ A second disk pool that contains the volumes that are replication targets for
snapshot replications.
Creating a NetBackup storage server for snapshot replication 23
Updating an OpenStorage storage server to reflect plug-in updates
Storage server
Replicated Duplication
Snapshot Replication Offsite storage
snapshot
See the following topic for more information about creating more disk pools and
storage units.
See “Creating disk pools for snapshot replication” on page 29.
On UNIX:
/usr/openv/netbackup/bin/admincmd/nbdevconfig -updatests
-storage_server storage_server -stype server_type -media_server
media_server
-stype server_type The storage vendor provides the string that identifies the
server type.
Note: If you add or change credentials, make sure that the computer that hosts the
master server is always selected.
Creating a NetBackup storage server for snapshot replication 25
Adding the storage server credentials to a NetBackup server
■ Updating disk pools after volumes are added, are deleted, or are changed
One disk pool to be used for snapshots can be configured as part of the Storage
Server Configuration Wizard. At least one additional disk pool is necessary for
snapshot replication. The Disk Pool Configuration Wizard can also be launched
independently.
See “Creating disk pools for snapshot replication” on page 29.
The NetBackup administrator creates multiple disk pools to serve specific purposes
in a replication configuration. The volumes in a disk pool must have the properties
that match their intended purpose.
For example, the following disk pools are necessary to create a snapshot volume
and replicate it to target volumes:
■ A disk pool that contains a volume where the initial snapshot can be created.
The volume must have the Snapshot and Primary attributes set.
See “Primary + Replication source snapshot storage unit” on page 57.
■ A disk pool that contains a volume with the Snapshot and the Replication
target properties set to serve as the target for a replica snapshot.
See “Replication target snapshot storage unit” on page 58.
The following topic describes the roles that disk pools and storage units can serve
in a Replication Director configuration:
See “About configuring storage lifecycle policies for snapshots and snapshot
replication” on page 50.
Snapshot The default property. All volumes that are used for
snapshots or snapshot replication must have this property.
■ The replication topology defines the source and the target volumes for replication.
For example, volume S1 replicates to T1, volume S2 replicates to T2, and so
on.
When you configure your NetBackup disk pools, add the source volumes (Sn)
to the disk pool you use for snapshot creation. Then, add the target volumes
(Tn) to the disk pool that is the target of the replication.
■ The Disk Pool Configuration Wizard may not display all of the properties,
depending on the underlying volumes.
For example, if a NetApp SnapMirror relationship is not defined at the volume
layer, then the Mirror property does not appear in the wizard panel for selection.
Table 4-1 shows the properties that are required for snapshots and snapshot
replication volumes, depending on their intended purpose in the NetBackup snapshot
and snapshot replication process.
5 The Select Volumes panel presents all of the volumes that have been
configured in the storage of the OpenStorage partner by the storage
administrator.
You've already created one disk pool as part of the Storage Server
Configuration Wizard to contain the primary snapshots that can serve as a
source for replication. Now create a disk pool that can serve as a replication
target.
To create a disk pool that is a target for replication, select Replication target.
NetBackup filters the volumes for selection so that dissimilar volumes are not
combined.
Note that in the Replication column, all the volumes have both Source and
Target properties. That means that the volume can serve as both a target for
replications as well as a source for another replication.
Expand the column to display other properties of the volume. For example,
whether the volume is configured to be a mirror.
Another method to filter the volumes is to first clear the Primary, Replication
source, and Replication target properties. Then, click on a specific volume.
The wizard panel filters the volumes, displaying only those volumes that match
the properties of the selected volume.
Note: For 7-mode, when the NBUPlugin is installed on the OnCommand Unified
Manager, a NetBackup group is automatically created on that server. You must
use the NetApp Management Console to add resource pools to the NetBackup
group so that the resource pools are exposed to NetBackup.
See the section called “Regarding disk pools for OnCommand Unified Manager
storage servers” on page 131.
10 After the disk pool creation completes, create a storage unit that uses the new
disk pool. A storage unit that uses this disk pool is necessary for snapshot
replication.
Select Create a storage unit that uses X where X is the disk pool and then
click Next.
11 In the Storage Unit Creation panel, name the storage unit.
Select the media server(s) that can use the storage unit.
Use any available media server to NetBackup selects any media server to
transport data. access the storage unit.
Use only the selected media servers. NetBackup uses only the media server that
is specified to access the storage unit.
Only media servers that have the OpenStorage plug-in installed appear in this
list. For a media server to communicate with and have access to a storage
server, it must be added to the Replication Director environment.
Configure additional disk pools (and storage units) for every group of disk volumes
that will contain snapshot replications of the primary snapshots.
On UNIX:
/usr/openv/netbackup/bin/admincmd/nbdevconfig -changedp -dp
disk_pool_name -stype server_type -setattribute attribute
-stype server_type The storage vendor provides the string that identifies the
server type.
Outcome Description
NetBackup discovers the new The new volumes appear in the Change Disk Pool dialog box. Text in the dialog
volumes that match the disk pool box changes to indicate that you can add the new volumes to the disk pool.
properties.
Configuring disk pools for snapshot and replication 35
How to resolve snapshot disk volume changes
Outcome Description
The replication properties of all of A Disk Pool Configuration Alert pop-up box notifies you that the properties of all
the volumes changed, but they of the volumes in the disk pool changed, but they are all the same (homogeneous).
are still consistent.
You must click OK in the alert box, after which the disk pool properties in the Change
Disk Pool dialog box are updated to match the new volume properties
If new volumes are available that match the new properties, NetBackup displays
those volumes in the Change Disk Pool dialog box. You can add those new volumes
to the disk pool.
In the Change Disk Pool dialog box, select one of the following two choices:
■ OK. To accept the disk pool changes, click OK in the Change Disk Pool dialog
box. NetBackup saves the new properties of the disk pool.
NetBackup can use the disk pool, but it may no longer match the intended
purpose of the storage unit or storage lifecycle policy. Change the storage
lifecycle policy definitions to ensure that the replication operations use the correct
source and target disk pools, storage units, and storage unit groups.
■ Cancel. To discard the changes, click Cancel in the Change Disk Pool dialog
box. NetBackup does not save the new disk pool properties. NetBackup can
use the disk pool, but it may no longer match the intended use of the storage
unit or storage lifecycle policy.
Configuring disk pools for snapshot and replication 36
How to resolve snapshot disk volume changes
Outcome Description
The replication properties of the A Disk Pool Configuration Error pop-up box notifies you that the replication
volumes changed, and they are properties of some of the volumes in the disk pool changed. The properties of the
now inconsistent. volumes in the disk pool are not homogeneous.
In the Change Disk Pool dialog box, the properties of the disk pool are unchanged,
and you cannot select them (that is, they are dimmed). However, the properties of
the individual volumes are updated.
Because the volume properties are not homogeneous, NetBackup cannot use the
disk pool until the storage configuration is fixed.
NetBackup does not display new volumes (if available) because the volumes already
in the disk pool are not homogeneous.
To determine what has changed, compare the disk pool properties to the volume
properties. Work with your storage administrator to change the volume properties
back to their original values.
The disk pool remains unusable until the properties of the volumes in the disk pool
are homogenous.
In the Change Disk Pool dialog box, click OK or Cancel to exit the Change Disk
Pool dialog box.
Configuring disk pools for snapshot and replication 37
How to resolve snapshot disk volume changes
Outcome Description
The snapshot properties changed. A Disk Pool Configuration Error pop-up box notifies you that the snapshot
properties of some of the volumes in the disk pool changed.
In the Change Disk Pool dialog box, the properties of the disk pool are unchanged,
and you cannot select them (that is, they are dimmed). However, the properties of
the individual volumes are updated.
Because the volume properties are not homogeneous, NetBackup cannot use the
disk pool until the storage configuration is fixed.
NetBackup does not display new volumes (if available) because the volumes already
in the disk pool are not homogeneous.
To determine what has changed, compare the disk pool properties to the volume
properties. Work with your storage administrator to change the volume properties
back to their original values.
The disk pool remains unusable until the properties of the volumes in the disk pool
are homogenous.
Outcome Description
The replication topology changed. A Disk Pool Configuration Alert pop-up box notifies you that the replication
topology changed.
If NetBackup also discovers the new volumes that match the replication properties,
they are displayed in the dialog box. You can add those new volumes to the disk
pool.
See “Using bpstsinfo to view the replication topology of a device” on page 40.
In the Change Disk Pool dialog box, select one of the following two choices:
■ OK. To accept the disk pool changes, click OK in the Change Disk Pool dialog
box. NetBackup saves the new properties of the disk pool.
NetBackup can use the disk pool, but it may no longer match the intended
purpose of the storage unit or storage lifecycle policy. Change the storage
lifecycle policy definitions to ensure that the replication operations use the correct
source and target disk pools, storage units, and storage unit groups.
■ Cancel. To discard the changes, click Cancel in the Change Disk Pool dialog
box. NetBackup does not save the new disk pool properties. NetBackup can
use the disk pool, but it may no longer match the intended use of the storage
unit or storage lifecycle policy.
Configuring disk pools for snapshot and replication 39
How to resolve snapshot disk volume changes
Outcome Description
The replication topology changed A Disk Pool Configuration Alert pop-up box notifies you that the replication
and the replication properties of topology changed and all of the replication properties of all of the volumes in the
the volumes in the disk pool disk pool changed. The new properties are all the same (homogeneous).
changed.
In the Change Disk Pool dialog box, the properties of the disk pool are updated to
show the new properties. You cannot select the properties (that is, they are dimmed).
If new volumes are available that match the new properties, NetBackup displays
those properties in the Change Disk Pool dialog box. You can add those new
volumes to the disk pool.
See “Using bpstsinfo to view the replication topology of a device” on page 40.
In the Change Disk Pool dialog box, select one of the following two choices:
■ OK. To accept the disk pool changes, click OK in the Change Disk Pool dialog
box. NetBackup saves the new properties of the disk pool.
NetBackup can use the disk pool, but it may no longer match the intended
purpose of the storage unit or storage lifecycle policy. Change the storage
lifecycle policy definitions to ensure that the replication operations use the correct
source and target disk pools, storage units, and storage unit groups.
■ Cancel. To discard the changes, click Cancel in the Change Disk Pool dialog
box. NetBackup does not save the new disk pool properties. NetBackup can
use the disk pool, but it may no longer match the intended use of the storage
unit or storage lifecycle policy.
Configuring disk pools for snapshot and replication 40
Using bpstsinfo to view the replication topology of a device
Outcome Description
NetBackup cannot find a volume A Disk Pool Configuration Alert pop-up box notifies you that an existing volume
or volumes that were in the disk or volumes was deleted from the storage device:
pool.
NetBackup can use the disk pool, but data may be lost.
To protect against accidental data loss, NetBackup does not allow volumes to be
deleted from a disk pool.
To continue to use the disk pool, do the following:
■ Use the bpimmedia command or the Images on Disk report to display the
images on the specific volume.
■ Expire the images on the volume.
■ Use the nbdevconfig command to set the volume state to DOWN so
NetBackup does not try to use it.
■ UNIX:
/usr/openv/netbackup/bin/admincmd/
The output from the bpstsinfo command displays the following information:
■ The name of the storage server (Server Name). The storage server name here
must be the same as the storage server name used in the Storage Server
Configuration Wizard.
■ The name of the volume (LSU Name).
■ The properties of the volume (Media, Save As).
■ The replication sources of the volume (Replication Sources).
■ The replication targets of the volume (Replication Targets).
Save the output to a file so that you can compare the current topology with the
previous topology to determine what has changed.
The following is an example of the command, run on the NetBackup media server,
for storage server plinko:
bpstsinfo -lsuinfo -storage_server plinko -stype Network_NTAP
LSU Info:
Server Name: Network_NTAP:plinko
LSU Name: PrimarySnapshot
Allocation : STS_LSU_AT_STATIC
Storage: STS_LSU_ST_NONE
Description:
Configuration:
Media: (STS_LSUF_REP_ENABLED | STS_LSUF_REP_SOURCE)
Save As : (STS_SA_PRIMARY | STS_SA_SNAPSHOT)
Replication Sources: 0 ( )
Replication Targets: 3 ( Network_NTAP:plinko:Netapp3140a2_SnapVault
Network_NTAP:plinko:Netapp3140a2_SnapMirror
Network_NTAP:plinko:Netapp3140a2_SecondSnapMirror )
Configuring disk pools for snapshot and replication 42
Using bpstsinfo to view the replication topology of a device
.
.
.
The bpstsinfo output provides the following information about the volume:
Volume properties (Media, Save As). The volume has the following properties:
■ Primary
■ Snapshot
■ Replication Source
Replication sources of the volume (Replication The volume has no replication sources. It cannot receive
Sources). replication from any other volume.
Replication targets of the volume (Replication The volume has three replication targets.
Targets). It can replicate to the following volumes:
■ Netapp3140a2_SnapVault
■ Netapp3140a2_SnapMirror
■ Netapp3140a2_SecondSnapMirror
LSU Info:
Server Name: Network_NTAP:plinko
LSU Name: Netapp3140a2_SnapVault
Allocation : STS_LSU_AT_STATIC
Storage: STS_LSU_ST_NONE
Description:
Configuration:
Media: (STS_LSUF_REP_ENABLED | STS_LSUF_REP_SOURCE |
STS_LSUF_REP_TARGET | STS_LSUF_MIRROR_FLEXIBLE)
Save As : (STS_SA_SNAPSHOT | STS_SA_MIRROR)
Replication Sources: 3 ( Network_NTAP:plinko:PrimarySnapshot
Network_NTAP:plinko:Netapp3140a2_SnapMirror
Network_NTAP:plinko:Netapp3140a2_SecondSnapMirror )
Replication Targets: 2 ( Network_NTAP:plinko:Netapp3140a2_SnapMirror
Network_NTAP:plinko:Netapp3140a2_SecondSnapMirror )
.
Configuring disk pools for snapshot and replication 43
Using bpstsinfo to view the replication topology of a device
.
.
The bpstsinfo output provides the following information about the volume:
Volume properties (Media, Save As). The volume has the following properties:
■ Snapshot
■ ReplicationSource
■ ReplicationTarget
■ Mirror
■ MirrorFlexible
Replication sources of the volume (Replication The volume has three replication sources.
Sources). It can receive replications from the following three volumes:
■ PrimarySnapshot
■ Netapp3140a2_SnapMirror
■ Netapp3140a2_SecondSnapMirror
Replication targets of the volume (Replication The volume has two replication targets.
Targets). It can replicate to the following two volumes:
■ Netapp3140a2_SnapMirror
■ Netapp3140a2_SecondSnapMirror
LSU Info:
Server Name: Network_NTAP:plinko
LSU Name: Netapp3140a2_SnapMirror
Allocation : STS_LSU_AT_STATIC
Storage: STS_LSU_ST_NONE
Description:
Configuration:
Media: (STS_LSUF_REP_ENABLED | STS_LSUF_REP_SOURCE |
STS_LSUF_REP_TARGET | STS_LSUF_MIRROR_FLEXIBLE)
Configuring disk pools for snapshot and replication 44
Using bpstsinfo to view the replication topology of a device
LSU Info:
Server Name: Network_NTAP:plinko
LSU Name: Netapp3140a2_SecondSnapMirror
Allocation : STS_LSU_AT_STATIC
Storage: STS_LSU_ST_NONE
Description:
Configuration:
Media: (STS_LSUF_REP_ENABLED | STS_LSUF_REP_SOURCE |
STS_LSUF_REP_TARGET | STS_LSUF_MIRROR_FLEXIBLE)
Save As : (STS_SA_SNAPSHOT | STS_SA_MIRROR)
Replication Sources: 3 ( Network_NTAP:plinko:PrimarySnapshot
Network_NTAP:plinko:Netapp3140a2_SnapVault
Network_NTAP:plinko:Netapp3140a2_SnapMirror )
Replication Targets: 2 ( Network_NTAP:plinko:Netapp3140a2_SnapVault
Network_NTAP:plinko:Netapp3140a2_SnapMirror )
.
.
.
Chapter 5
Configuring storage units
and storage unit groups for
snapshots and snapshot
replication
This chapter includes the following topics:
7 Specify the properties that are required for the storage unit. Selecting a property
filters the disk pools and displays only those that have the property selected.
For example, select Replication source and Replication target to display
the disk pools that are configured to be both replication sources and targets
for other replications. If no properties are selected, all disk pools appear.
(If you already know the name of the disk pool that has the properties that you
want, select the disk pool from the Select disk pool drop-down menu. In that
case, no filtering is necessary.)
8 In the Select disk pool drop-down list, select the disk pool that this storage
unit is to contain. A storage unit can contain only one disk pool.
Click View Properties to display the properties of the selected disk pool.
Configuring storage units and storage unit groups for snapshots and snapshot replication 47
Creating storage unit groups for snapshots
9 Select the media server(s) that can use the storage unit.
Use any available media server to NetBackup selects any media server to
transport data access the storage unit.
Use only the following media servers NetBackup uses only the media server(s)
that are specified to access the storage
unit.
Only the media servers that have the OpenStorage plug-in installed appear in
this list. For a media server to communicate with and have access to a storage
server, it must be added to the Replication Director environment.
See “Adding the storage server credentials to a NetBackup server” on page 24.
Note: A storage unit can represent many physical devices. When a storage
unit is a replication target, NetBackup lets the plug-in select which device to
use within the storage unit. For replication jobs, storage units and storage unit
groups ignore the Maximum concurrent jobs setting. NetBackup does not
attempt to throttle the parameters.
5 A storage unit group can contain only those storage units that share similar
properties. NetBackup filters the storage units for selection so that dissimilar
storage units are not combined in one storage unit group.
Note: The properties of the underlying storage units are read-only. You cannot
change the storage unit properties from this dialog box.
Select one or more properties to filter the storage units in the list. Only those
storage units that have the selected properties are displayed. For example,
select Replication source and Replication target to display only those storage
units that are configured to act as both replication sources and replication
targets.
Filter the storage units on the following properties:
■ Primary
Enable Primary to display the storage units that can contain the initial
snapshot of primary data.
■ Replication source
Enable Replication source to display the storage units that can serve as
a source for a replicated snapshot.
■ Replication target
Enable Replication target to display the storage units that can receive
replicated snapshots from a replication source.
■ Mirror
Optionally, enable Mirror to display the storage units that can serve as
a mirrored replication target. (For example, NetApp SnapMirror.)
■ Independent
Optionally, enable Independent to display the storage units that can
act as either a Mirror replication target (SnapMirror) or a non-mirror
replication target (SnapVault).
■ To change the priority of a storage unit, select the storage unit and click
Move Up or Move Down. The units at the top of the list have the highest
priority in the group.
■ About configuring storage lifecycle policies for snapshots and snapshot replication
The following figure represents an SLP for a replication scenario. In the example,
the following operations are used:
■ A Snapshot operation creates a snapshot.
■ A Replication operation replicates the snapshot to another volume.
■ A Backup From Snapshot operation creates a tar-formatted backup from the
snapshot.
■ A Duplication operation copies the backup to tape.
Table 6-1 describes the four types of operations that are required in this example
replication scenario.
1 Snapshot Operation 1 creates a snapshot in the primary storage. The snapshot serves as the
source for the other operations in the SLP.
2 Replication Operation 2 replicates the snapshot that the first operation created.
(Child to ■ The operation must be a Replication operation and it must be the replication
partner to the source storage unit.
operation 1)
■ The retention type determines what replication method is used. For example, if
retention type Fixed or Expire after copy is selected for a NetApp storage
system, the SnapVault replication method is used.
■ The storage must be a snapshot storage unit that has the Replication target
property set. Since no other replica is created from this operation in this example,
it does not need to have the Replication source property set.
4 Duplication Operation 4 makes a duplicate copy from the tar-formatted backup copy. In this
example, the copy is duplicated to tape media.
(Child to
■ The operation must be a Duplication operation. This operation creates a backup
operation 3)
copy of the tar-formatted image.
■ The storage must be a backup storage unit.
After the SLP is configured for different operations, the NetBackup administrator
configures a backup policy that points to the snapshot SLP.
The SLP Parameters host properties in the NetBackup Administration Console
allow administrators to customize how SLPs are maintained and how SLP jobs run.
Best-practice information about SLPs appears in the following document:
http://www.veritas.com/docs/TECH208536
5 In the Properties tab of the New Storage Operation dialog box, select
Snapshot from the Operation drop-down menu.
This Snapshot operation creates a snapshot of the primary data and serves
as the source for other operations in the SLP. For example:
■ A Replication operation.
See “Replication operation in an SLP” on page 59.
Configuring storage lifecycle policies for snapshots and snapshot replication 54
Operation types in a storage lifecycle policy
6 In the Storage unit drop-down menu, select a storage unit. NetBackup displays
only those storage units that are configured to contain primary snapshots.
7 Select the Retention type and the Retention period for the data in this storage
unit. The Retention period option does not appear for all Retention type
selections. Click OK.
8 To replicate the primary snapshot, create a Replication operation that is based
on the Snapshot operation. Click on the Snapshot operation and then select
Add. The New Storage Operation dialog box appears.
9 In the Operation drop-down menu, select Replication.
10 Under Storage, select a Storage unit that is configured to contain replicated
snapshots. NetBackup displays only those storage units that can act as target
destinations.
11 Select the Retention type and the Retention period for the data in this storage
unit.
A Mirror retention indicates that the NetApp volume SnapMirror method is to
be used for the replication method. If a non-mirror retention type is selected,
the NetApp SnapVault replication method is used.
Optionally, indicate an Alternate read server that is allowed to read a snapshot
that was originally written by a different media server. Click OK.
12 The Window tab displays for the following operation types: Backup From
Snapshot, Duplication, Import, Index From Snapshot, and Replication.
Create a window during which secondary operations can run.
Figure 6-1 Snapshot operation in the New Storage Operation dialog box
Configuring storage lifecycle policies for snapshots and snapshot replication 56
Operation types in a storage lifecycle policy
Characteristic Description
Storage unit The following topics describe the types of snapshot storage units that
selection can be used as the storage for a snapshot operation:
Child of A Snapshot operation cannot serve as the child of any other operation.
Therefore, do not click on any other operation in the SLP when adding
a Snapshot operation.
Source for A Snapshot operation can be the source for the following operations:
Job type A Snapshot operation generates a Snapshot job in the Activity Monitor.
Window Snapshot operations do not offer the option to create an SLP window.
Configuring storage lifecycle policies for snapshots and snapshot replication 57
Operation types in a storage lifecycle policy
See “About configuring storage lifecycle policies for snapshots and snapshot
replication” on page 50.
Backup Duplication
Primary
Snapshot Snapshot
storage unit storage unit
Figure 6-4 SLP that contains a Snapshot operation and two Replication
operations
Snapshot Replication Replication
operation operation operation
Replication
Primary/ Replication target/ Replication Replication
Replication Replication target
source source
Snapshot Snapshot Snapshot
An operation with this property can serve only as a Replication target for another
operation in the SLP. It cannot serve as source for a replica, but it can serve as the
source for a Duplication operation.
Characteristic Description
Source for A Replication operation can be the source for the following operations:
■ Replication
■ Backup From Snapshot
See “Backup From Snapshot operation in an SLP” on page 68.
Live browse restore ■ NetBackup The user navigates the directory No image catalog file needs to be
Backup, Archive, structure to locate and select the present in the NetBackup catalog.
and Restore files for restore.
During a live browse restore,
interface
NetBackup automatically mounts
■ NetBackup the snapshot so that the user can
OpsCenter see what files it contains. Mounting
Console and unmounting the snapshot can
be time-consuming.
Search for restore NetBackup OpsCenter ■ The user can search for files The image catalog file must be
Console based on partial file name. present in the NetBackup catalog.
(Also referred to as a
Knowing the name of the client
Simplified File Restore
or of the policy that created the
or an Operational
backup is not necessary.
Restore)
■ Offers several filters to narrow
search.
■ Search results display all the
recovery points available to the
user for both backups and
snapshots.
Characteristic Description
Storage unit The Index From Snapshot operation does not write data to a storage unit. However, a storage
selection unit selection is needed to select the media server that to be used to access the snapshot. As a
best practice, use the storage unit from the Snapshot or Replication operation that is the source
for this operation.
Child of When an Index From Snapshot operation appears in an SLP, it must be the child of a Snapshot
or Replication operation.
Therefore, click on either a Snapshot or a Replication operation in the SLP when adding an Index
From Snapshot operation.
See “Creating a storage lifecycle policy for snapshots and snapshot replication” on page 52.
Source for While an Index From Snapshot operation cannot be the source for any operation, a Replication
operation can follow it.
Configuring storage lifecycle policies for snapshots and snapshot replication 63
Operation types in a storage lifecycle policy
Characteristic Description
Hierarchy notes The Index From Snapshot operation can consume system resources and requires that each
snapshot be mounted to create the image catalog file.
See “Determining where and when the Index From Snapshot operation occurs” on page 63.
Job type An Index From Snapshot operation generates an Index From Snapshot job in the Activity
Monitor.
Window An SLP window can be created for an Index From Snapshot operation.
Consider the following items before using the Index From Snapshot operation:
■ The Index From Snapshot operation is supported only in a Replication Director
configuration.
■ Standard, MS-Windows, NDMP, and VMware backup policy types support the
use of storage lifecycle policies that contain the Index From Snapshot operation.
■ The Index From Snapshot operation can run from a full or an incremental
schedule. The file entries that are added to the image catalog file for either
schedule are the full set of files since all files can be restored from that snapshot.
To do so allows for the most efficient restore, however, more space is consumed
in the NetBackup catalog by the image catalog file.
■ Use the following points to determine where to position the Index From
Snapshot operation in the SLP operations list:
■ Each NetBackup environment needs to determine where the operation works
best in a specific SLP. To place the Index From Snapshot operation too
early (toward the top of the operations list), may consume time when the
restore capabilities are not needed. To place the operation toward the end
of the operations list may cause the administrator to delay a restore until
earlier snapshots or replications complete.
■ Use the Index From Snapshot operation in an SLP only once. A restore
can be performed from any snapshot after one image .f file is created.
■ Any operations list that includes a Backup From Snapshot operation does
not need an Index From Snapshot operation. The Backup From Snapshot
operation creates an image .f file. The only exception is if the index is
needed for restores before the Backup From Snapshot operation occurs.
■ An Index From Snapshot operation cannot have any dependents. An SLP
cannot validate an Index From Snapshot operation with children. Figure 6-8
shows an SLP with a valid configuration.
Figure 6-9 is also a valid configuration. A Replication operation follows the
Index From Snapshot operation, but it is not indented. The Replication
operation is a child of the Snapshot operation, not a child of the Index From
Snapshot operation.
To add a Replication operation after an Index From Snapshot operation,
click on the Snapshot operation, and then click Add.
Note: Indexing NDMP policies is supported only for NetApp Clustered Data ONTAP
configurations.
Indexing jobs fail with error code 2113 if the account is in the locked state.
Run the following command to check the account details and verify the status of
the account, the Locked column shows ‘yes’ if the account is locked:
PUNBNRRDF _2240_01::> security login show -vserver Primary_VS_Auto_1
-user-or-group-name demo
Run the login command again to check the status, the ‘Locked’ column would show
‘no’ as shown in the output:
After you unlock the account, you can proceed with the steps to configure indexing
with an NDMP policy.
Note: The commands can change with the ONTAP version change. Please check
your NetApp documentation for information about the latest commands.
Note: Indexing NDMP policies is supported only for NetApp Clustered Data ONTAP
configurations.
See “About creating backup policies for Clustered Data ONTAP with Replication
Director” on page 140.
4 Click OK.
The New Disk Array Host dialog box is displayed.
5 Select NetApp from the Disk Array Host Type drop-down list.
6 Enter the user name and password details and click OK.
The disk array credentials are the admin credentials of the NetApp SVM.
See “Pre-requisites for indexing for an NDMP policy” on page 65.
Configuring storage lifecycle policies for snapshots and snapshot replication 68
Operation types in a storage lifecycle policy
Note: The credentials that you provide for the SVM are not validated when
you add the disk array host. Incorrect credentials can cause NDMP indexing
job failure with error code 2113. Make sure that you provide the right disk array
host credentials.
Figure 6-10 Backup From Snapshot operation in the New Storage Operation
dialog box
Characteristic Description
Storage unit The selection must be a backup storage unit or a backup storage unit
selection group.
Characteristic Description
Source for A Backup From Snapshot operation can be the source for a Duplication
operation. (See Figure 6-11.)
Hierarchy notes An SLP may contain more than one Backup From Snapshot operation.
If the first Backup From Snapshot operation fails with an unrecoverable
error, NetBackup does not attempt the second one.
Note: The SLP may contain only one Backup From Snapshot operation
if the SLP is used by an NDMP policy (or a Standard or MS-Windows
policy with NDMP Data Mover enabled).
Job type A Backup From Snapshot operation generates a Backup job in the
Activity Monitor.
The Backup job that results from the Backup From Snapshot operation
is under the control of the SLP Manager. If an SLP window is configured,
the Backup job runs during the configured SLP window. If no SLP window
is configured, the Backup job can run at any time; possibly outside of the
backup window as configured in the backup policy. Users may experience
a slight degradation in performance on the client or the client storage
device while NetBackup accesses the snapshot.
Window An SLP window can be created for a Backup From Snapshot operation.
Figure 6-12 Duplication operation in the New Storage Operation dialog box
Characteristic Description
Storage unit The selection must be a backup storage unit or a backup storage unit
selection group.
Characteristic Description
■ Backup operation
■ Backup From Snapshot operation
■ A Duplication operation
Source for A Duplication operation can be the source for a Duplication operation.
(See Figure 6-13.)
Hierarchy notes When a Duplication operation appears in an SLP, it cannot be the first
operation.
Figure 6-13 SLP that contains one Backup operation and two Duplication
operations
Duplication Duplication
Backup operation operation operation
Duplication Duplication
Table 6-8 describes which retention types are valid selections for the various
operations.
Target retention Invalid Invalid Valid if the first Invalid Valid if the first
operation in the operation in the SLP
SLP is an Import is an Import.
and if the storage
is of the backup
type.
Note: Retention is not associated with the Index From Snapshot operation because
the operation does not create any copy.
Veritas recommends that you not enable Expire after copy retention for any storage
units that are to be used with SLPs with either of the following: Accelerator or
synthetic backups. The Expire after copy retention can cause images to expire
while the backup runs. To synthesize a new full backup, the SLP backup needs the
previous backup image. If the previous image expires during the backup, the backup
fails.
Note: Although synthetic backups do support the use of storage lifecycle policies,
SLPs cannot be used for the multiple copy synthetic backups method.
If a policy is configured to use an SLP for the backup, the retention that is indicated
in the SLP is the value that is used. The Retention attribute in the schedule is not
used.
An image copy with an Expire after copy retention is expired as soon as all of its
direct child copies have been successfully created. Any mirrored children must also
be eligible for expiration.
Note: The figure below illustrates an example using NetApp Data ONTAP 7-mode.
Configuring backup policies for snapshots and snapshot replication 78
Configuring an NDMP policy to protect a NAS host
Figure 7-1 Create a snapshot of the volume on the array to avoid mounting
each client
NDMP policy lists the name of the array on the Clients tab
3 Configure the options on the policy Attributes tab. The following items are
specific to creating a policy for Replication Director:
■ Policy type: Select NDMP.
■ Policy storage: Select the SLP that you want to use that has been
configured for snapshot replication.
See “Creating a storage lifecycle policy for snapshots and snapshot
replication” on page 52.
■ Use Replication Director: Enable Use Replication Director to
automatically select other options that Replication Director requires.
■ Click the Options button to see the Replication Director Options dialog
box and the default Configuration Parameters as follows:
Snapshot ■ Auto (default): The OpenStorage partner uses the best snapshot
Type technology available to that partner to create the snapshot.
■ Differential: The OpenStorage partner creates a snapshot that
is completely dependent on the source. This parameter is based
on copy-on-write technology. The device creates a cache object
to maintain the original blocks of the snapshot when the blocks
are modified.
■ Plex: The OpenStorage Partner creates a snapshot that is
completely independent of the source snapshot. This option is
based on mirror-break-off technology. When a mirror device is
attached to the source, the contents of the mirror device is exactly
the same as the source device. When the relationship is broken
between the two, the mirror device is separated from the source.
The mirror device acts as a point-in-time copy.
■ Clone: The OpenStorage Partner creates an independent copy
of the volume. The copy process can take some time as the entire
copy must be complete. The snapshot that is created is
independent of the source.
4 Select the Schedules tab and configure the schedules as you would for any
other policy.
5 Select the Clients tab. Specify the name of the disk array (the NAS host) for
7-mode.
For Clustered Data ONTAP, specify the name of the SVM that will act as the
NAS host.
The following figure pertains to NetApp Data ONTAP 7-Mode and shows the
name of a NetApp storage system in the Clients tab:
Note: Backup selections for both SAN devices and NAS volumes are not
supported in a single backup policy.
See the NetBackup for NDMP Administrator's Guide for more specific information
about configuring NDMP policies.
Only those policy options that are necessary to configure Replication Director are
listed in the following procedure. For descriptions of all policy options, see the
NetBackup Administrator's Guide, Volume I or the online Help.
This method requires that NetBackup mount each client to create the snapshot.
4 Select the Schedules tab and configure the schedules as you would for any
other policy.
5 Select the Clients tab. Specify the clients to be backed up.
6 Select the Backup Selections tab to specify the files and directories to be
backed up on each client.
Note: Backup selections for both SAN devices and NAS volumes are not
supported in a single backup policy.
Note: SAN-connected devices are not supported for Clustered Data ONTAP.
On Windows hosts, Replication Director uses the Windows Volume Shadow Services
(VSS) framework.
To create a Standard or MS-Windows policy to protect NAS volumes or
SAN-connected devices
1 In the NetBackup Administration Console, create a backup policy.
Do not use the Policy Configuration Wizard to configure a policy for
Replication Director.
2 Configure the options on the policy Attributes tab. The following items are
specific to creating a policy for Replication Director:
■ Policy type: Select Standard for a policy containing UNIX clients. Select
MS-Windows for a policy containing Windows clients.
■ Policy storage: Select the SLP that you want to use that has been
configured for snapshot replication.
See “Creating a storage lifecycle policy for snapshots and snapshot
replication” on page 52.
■ Use Replication Director: Enable Use Replication Director to
automatically select other options that Replication Director requires.
■ Click the Options button to see the Replication Director Options dialog
box and the default Configuration Parameters as follows:
Snapshot Auto (default): The OpenStorage partner uses the best snapshot
Type technology available to that partner to create the snapshot.
Configuring backup policies for snapshots and snapshot replication 85
Configuring a Standard or MS-Windows policy to protect NAS volumes or SAN-connected devices
3 Select the Schedules tab and configure the schedules as you would for any
other policy.
4 Select the Clients tab and specify either:
■ The client.
■ The local mount point on the production client.
Note: To avoid creating multiple snapshots of the same share, do not include
multiple clients in one policy that access the same share. Instead, add only
one of the clients to the policy so that the share is backed up once. Or, create
an NDMP policy to back up the share.
Similarly, do not protect the same share in multiple policies.
Do not specify more than 64 backup selections in a VSS policy. If more than
64 backup selections are specified, the snapshot jobs fail with status code 156.
This is due to a documented limitation of the VSS infrastructure. To
accommodate more than 64 backup selections, divide the backup selections
between multiple policies.
Note: Backup selections for both SAN devices and NAS volumes are not
supported in a single backup policy.
To protect NAS data, specify the backup selection from the client perspective.
For example, suppose that the client data resides in a volume (/vol/vol1) on
a filer (NAS1):
■ UNIX example: The data is NFS-mounted to /mnt2/home on the UNIX client.
Specify /mnt2/home in the Backup Selections list.
■ Windows example: The data is shared by means of CIFS as vol1 on the
Windows client.
Specify \\nas1\vol1 in the Backup Selections list.
For a Clustered Data ONTAP policy, the backup selection refers to a volume
on a Storage Virtual Machine (or Vserver).
■ Windows path names must use the Universal Naming Convention (UNC),
in the form \\server_name\share_name.
■ For NFS mounts, the data must be manually mounted by means of the
mount command (or by using /etc/fstab), but not auto-mounted.
■ (NetApp 7-mode only) Use the nosharecache option to mount qtrees that
are under the same volume. For example:
mount -o vers=3,nosharecache filer:/vol/volume1/qtree1 /mnt1
Configuring backup policies for snapshots and snapshot replication 87
About NDMP support for Replication Director
■ (NetApp 7-mode only) To back up a qtree, mount the qtree only. Do not
mount the volume. That is, do not include the volume in the backup selection
path.
If the volume is mounted and a qtree from the same is used as a backup
selection, the NetApp Plug-in for Veritas NetBackup (NBUPlugin) considers
it to be a volume only and performs only volume-specific operations.
For example, to back up a qtree, enter: \\filer\q1
The following entry is incorrect and creates a snapshot of the entire volume:
\\filer\volume1\q1
6 For the NetBackup Client Service to write to the CIFS volume, it must have
permission to do so. When a backup policy is saved, a message displays
stating that this permission is necessary. By default, NetBackup is installed as
a local system account and may not have the necessary CIFS permissions.
Change the logon property of the NetBackup Client Service to an account with
access to the CIFS share.
If the logon property is not changed for the NetBackup Client Service, the policy
validation fails with status code 4206.
See “Configuring the NetBackup Client Service” on page 14.
Backup performance Generally faster than NFS or CIFS, especially for Generally slower than NDMP, but
many small files. often faster for fewer, larger files.
Restore capabilities Can restore only from the NAS device. Can restore files from any snapshot
location.
Restore view of data Filer view: All data on the filer is protected and Host view: Only data belonging to
available for restore from a given backup. a specific protected client is
available for restore from a given
backup.
*An indexed snapshot is useful in restore situations. Indexing is performed by the Index From Snapshot operation
in an SLP.
■ The Restore the file using a temporary filename restore option is not
supported on Windows clients.
■ Restores to a local file system are not supported with an MS-Windows or a
Standard policy that has the NDMP Data Mover enabled.
■ Do not include both the qtree and the volume on which the qtree resides in the
same Backup Selection list.
■ Only one NDMP backup of a snapshot per backupid is allowed.
■ The Index From Snapshot operation is supported only in a Replication Director
configuration, however, a Standard or MS-Windows policy with NDMP Data
Mover enabled is also not supported.
Note: The Index From Snapshot operation is not supported for media servers
on AIX platforms. This operation is supported only on Linux, Windows, HP-UX,
Solaris media servers. See the NetBackup Master Compatibility List for
information about supported operating systems.
Note: The Index From Snapshot operation is not supported for NetApp ONTAP
7-mode.
Note: Perform the following procedure on the master server (not media server) if
you plan to create snapshots using Replication Director.
3 In the Add NDMP Host dialog box, enter the name of the NDMP server for
NetBackup to back up.
If you are using NetApp's Clustered Data ONTAP, the NDMP host must be a
Storage Virtual Machine (SVM).
The NDMP host name is case-sensitive. The name must match the name that
is entered here whenever this host name is used.
Note: If you do not plan to use Replication Director and you add NDMP host
credentials using the fully qualified domain name (FQDN), you must also
indicate the fully qualified domain name on the client for lookups. That is, the
server list in the Backup, Archive, and Restore client interface must list the
NDMP host by the FQDN as well.
If you add NDMP host credentials using a short name, you can use either the
short name or the FQDN in the client server list.
4 Click OK.
5 In the New NDMP Host dialog box, specify the following:
(The term credentials refers to the user name and password that NetBackup
uses to access the NDMP host.)
Use global NDMP Enables all NetBackup media servers under the master
credentials for this NDMP server to access this NDMP host using a predefined
host global NDMP logon.
To create this logon, click Host Properties > Master
Server > Properties > NDMP in the NDMP Global
Credentials dialog box.
Note: Because NetApp generates a separate,
encrypted password for each SVM, this option cannot
be used with NetApp's Clustered Data ONTAP.
Configuring backup policies for snapshots and snapshot replication 91
About NDMP support for Replication Director
Use the following Enables all NetBackup media servers that are connected
credentials for this NDMP to the NDMP host to access the NDMP host using the
host on all media servers logon you specify:
Use different credentials for Specifies NDMP logons for particular NetBackup
this NDMP host on each servers. Then click Advanced Configuration.
media server
■ In the Advanced NDMP Credentials dialog box,
click Add.
■ In the Add Credentials dialog box, select a
NetBackup server and specify the user name and
password it uses to access the NDMP host.
■ Click OK. NetBackup validates the user name and
password.
■ The NetBackup server and user name appear in the
Advanced NDMP Credentials dialog box.
■ If necessary, click Add again to specify other servers
and user
6 Repeat this procedure for each NDMP host that NetBackup backs up.
Note: The following examples use selections that are specific to NetApp Data
ONTAP 7-mode. For specific examples of backup selections for other configurations,
refer to the appropriate documentation.
VOLUME_EXCLUDE_LIST=/vol/Hr_allfiles_vol01
ALL_FILESYSTEMS
or
VOLUME_EXCLUDE_LIST=/vol/testvol*
ALL_FILESYSTEMS
VOLUME_EXCLUDE_LIST=/vol/Hr_allfiles_vol01,/vol/testvol*
ALL_FILESYSTEMS
You can also specify more than one VOLUME_EXCLUDE_LIST statement with an
ALL_FILESYSTEMS directive. For example:
VOLUME_EXCLUDE_LIST=/vol/Hr_allfiles_vol01
VOLUME_EXCLUDE_LIST=/vol/testvol*
ALL_FILESYSTEMS
VOLUME_EXCLUDE_LIST=/vol/vol0
ALL_FILESYSTEMS
VOLUME_EXCLUDE_LIST=/vol/Clone_*
VOLUME_EXCLUDE_LIST=/vol/*_[0-9]
VOLUME_EXCLUDE_LIST=/vol/*_[0-9][0-9]
VOLUME_EXCLUDE_LIST=/vol/*_[0-9][0-9][0-9]
ALL_FILESYSTEMS
This example assumes all FlexClone volumes and only FlexClone volumes
begin with /vol/Clone_. Adjust the volume specifications appropriately for your
environment.
■ VOLUME_EXCLUDE_LIST applies only to ALL_FILESYSTEMS. It does not apply to
explicit backup selections or wildcard-based backup selections.
If you use the ALL_FILESYSTEMS directive in an NDMP policy for Clustered Data
ONTAP, you must exclude each selected SVM's root volume using the
VOLUME_EXCLUDE_LIST directive. Otherwise the backups fail.
For more information, refer to the following topic:
See “About creating backup policies for Clustered Data ONTAP with Replication
Director” on page 140.
Backups from snapshots for NDMP policies fail when the import of a snapshot fails
for volumes where logical unit numbers (LUNs) reside with status code 4213
(Snapshot import failed). To avoid this error, use the VOLUME_EXCLUDE_LIST
directive to exclude any volumes that are used to create LUNs accessed through
a storage area network (SAN).
Configuring backup policies for snapshots and snapshot replication 94
About NDMP support for Replication Director
Note: The following examples use commands that are specific to NetApp Data
ONTAP 7-mode. Commands can change from version to version. For the latest
vendor-specific commands, refer to the vendor's documentation.
For cases where the snapshot is replicated, the default primary name of the
secondary storage system is used. To use a different network, set the
ndmpd.preferred_interface options on the storage system to the interface that
is connected to that network.
For example, in a setup where the secondary storage system is connected to a
private network on the e0b interface, connect to the storage system and set the
ndmpd.preferred_interface to e0b, as follows:
ndmpd.preferred_interface e0b
In this way, the NDMP backup of all the snapshots that are replicated to that storage
system will use the private network.
In NetBackup, add NDMP host credentials to indicate the IP address or hostname
that is associated with e0b.
See “Authorizing NetBackup access to a NAS (NDMP) host” on page 89.
Chapter 8
Restoring from a snapshot
This chapter includes the following topics:
File-level restore from the NetBackup directs the storage device to restore individual
snapshot files or folders from the snapshot. The storage device moves
the data on the storage device.
Several methods exist for file-level restore from a snapshot,
a replica, or a backup, as follows:
Volume-level rollback restore NetBackup directs the storage device to replace the volume
from the snapshot (copy one) with the snapshot of the volume. The storage device may be
able to restore the volume without moving data.
Note: To restore from backups created using Replication Director: If you select
more than one image in the Backup, Archive, and Restore interface, it may take
longer than expected to display the contents of the images. NetBackup performs
a separate browsing operation for each selected image. For faster restores, select
one image at a time.
Note: To access snapshots from the clients that use multiple NICs, and if using
NetApp storage, see the following topic:
See “How to configure a multi-NIC environment” on page 16.
Restoring from a snapshot 97
Restoring files and folders from an array-based snapshot
■ Click File > Select Files and Folders to Restore, and then
select from Normal Backup.
UNIX Open the Date Range or the Backup History to select a snapshot
to restore. Select a snapshot from the list and click OK.
3 Expand the directory tree and click the check box next to the items that you
want to restore.
4 To set up how to restore the selected items, do the following:
■ On Windows, click Actions > Restore.
■ On UNIX, click Restore.
The following is an example of the Restore Marked Files dialog box:
Restoring from a snapshot 99
Restoring files and folders from an array-based snapshot
5 In the Restore Marked Files dialog box, select from the following options to
meet the requirements for the restore.
For details about each option, see the Backup, Archive, and Restore online
Help.
Restore Options Select from the following restore options in the Windows Backup,
Archive, and Restore interface:
Job Priority To change the priority of this restore, click the Override default
priority and then set a priority number.
See the topic on restoring the full VMware virtual machine in the NetBackup for
VMware Guide.
■ Individual files in virtual machines.
To restore virtual machine files, refer to the following topic.
Note: When you browse files to restore, the Backup, Archive, and Restore interface
displays the files and folders from the primary backup copy. A storage lifecycle
policy however can create several images or copies from one job. To restore files
from a different copy, set that copy as the primary. See the topic on how to promote
a backup copy to a primary copy in the NetBackup Administrator's Guide, Volume
I.
The initial steps for restoring individual files are described in the NetBackup for
VMware Guide.
Note the following when restoring files from Replication Director snapshots:
In the Backup, Archive, and Restore interface, under Files > Specify NetBackup
Machines and Policy Type, select VMware for the policy type.
If the SLP does not index the VM (or indexing is not complete), the BAR interface
browses the files directly from the hardware snapshot. The All Folders pane displays
an ALL_LOCAL_DRIVES node at the top level:
If the SLP was configured to index the virtual machine, the folders appear as follows
when the indexing is complete:
Restoring from a snapshot 102
Using OpsCenter to restore from array-based snapshots
Note: If you select an indexed snapshot and a non-indexed snapshot for the same
virtual machine, the folders appear twice under All Folders. Do not select files to
restore from two different images: the restore fails.
Several factors affect how the array accomplishes the restore, as follows:
■ Whether the rollback is from the most recent snapshot or not.
■ The NetBackup restore option: Force rollback even if it invalidates later
snapshots restore.
■ Whether the mount point from backup selection is a volume or qtree/folder in
the volume.
Note: Using NetApp storage, if a point-in-time rollback restore is performed for one
of the volumes in a backup image that consists of multiple volumes, the snapshots
corresponding to the remaining volumes will not be immediately deleted from the
storage system but they will be immediately removed from the NetBackup catalog.
Any subsequent image cleanup job will cause the remaining snapshots to be deleted
from the storage system.
From the Either selection Volume The device performs a rollback restore of the volume.
most recent Because it is a rollback restore, the restore occurs almost
snapshot immediately.
From the Either selection Qtree or The device performs a file-level restore of the backup
most recent folder selection mount point* rather than a volume-level rollback
snapshot restore. Such a restore is much slower than a volume-level
rollback restore in which no data moves.
From an Checked Volume The device performs a rollback restore of the volume.
older Because it is a rollback restore, the restore occurs almost
snapshot immediately.
From an Either selection Qtree or The device performs a file-level restore of the backup
older folder selection mount point* rather than a volume-level rollback
snapshot restore. Such a restore is much slower than a volume-level
rollback restore in which no data moves.
* For NDMP backups the entire backup selection is considered and not just the part
that is mounted.
Windows Click File > Select Files and Folders to Restore > from Point
in Time Rollback.
UNIX Click the Restore Files tab, then select Point in Time Rollback
for the Restore Type.
UNIX In the Date Range dialog box, select a snapshot from the list and
click OK.
Windows In the All Folders pane, expand the directory tree to find the
volume mount point (if necessary) and then click the check box
next to the mount point for the volume.
UNIX In the Directory Structure pane, expand the directory tree to find
the volume mount point (if necessary) and then click the check
box next to the mount point for the volume.
Restoring from a snapshot 107
Restoring (rolling back) from an array-based snapshot
5 In the Restore Marked Files dialog box, select from the following options to
meet the requirements for the restore:
Restoring from a snapshot 108
Restoring (rolling back) from an array-based snapshot
Job Priority To change the priority of this restore, click Override default
priority and then set a priority number.
■ Reporting on storage units, storage unit groups, and storage lifecycle policies
Disk Volume tab The Disk Volume tab contains information about
the selected disk pool, including the location or path
to the volume, and whether the volume is configured
for snapshots.
Storage Server tab The Storage Server tab contains information about
the selected disk pool, including the server type and
the number of active jobs for the storage server.
Select the Storage Unit tab above the table to display storage unit details, including
whether the storage unit is enabled for snapshots and the name of the disk pool to
which the storage unit belongs.
Storage Unit tab The General tab contains information about the selected storage unit.
The table also contains the following columns that pertain to snapshot
replication:
Storage Unit Group tab The Storage Unit Group tab contains information about the selected
storage unit group.
Storage Lifecycle Policy tab The Storage Lifecycle Policy tab contains two subtabs:
■ General
Displays SLP details, including whether the SLP is configured to
preserve multiplexing, and the data classification on the SLP.
■ Operations
Displays the operation type and storage unit that is assigned to each
operation in the SLP.
Chapter 10
Using NetApp disk arrays
with Replication Director
This chapter includes the following topics:
7.7 and later 1.1 Provides 7-mode support One master server supports MS-Windows, Standard,
for all NetBackup 7.7 many OCUM servers. NDMP, VMware, Oracle
Replication Director
The plug-in must be installed on
features.
the OnCommand Unified
Manager (OCUM) server.
1.1 P1 Provides 7-mode support One master server supports MS-Windows, Standard,
for all NetBackup 7.7 many OCUM servers. NDMP, VMware, Oracle
Replication Director
features.
2.0 Provides cDOT support. One master server supports MS-Windows, Standard,
many OCUM servers. NDMP, VMware, Oracle
Note: You must upgrade the entire NetBackup environment before upgrading the
plug-in. Upgrade all master servers, media servers, clients, and any hosts which
communicate with the plug-in.
Using NetApp disk arrays with Replication Director 115
Using NetApp disk arrays with Replication Director
NFS/CIFS
iSCSI/FC
iSCSI/FC
NetApp OnCommand Unified Manager
NBUPlugin for 7-mode
SnapMirror
SnapVault
NFS/CIFS
NBUPlugin for cDOT
(Linux or Windows)
Cluster 1 Cluster 2
SnapMirror
SVM1 SVM1
SnapVault
SVM2 SVM2
SVM3 SVM3
C-mode Secondary
Representation Description
Representation Description
Or:
SnapVault
Snapshot copies Snapshot copies
SnapMirror
Snapshot Snapshot copies Snapshot copies
SnapMirror SnapVault
Primary storage
SnapMirror Snapshot copies Snapshot copies
SnapMirror
Secondary storage Tertiary storage
A tar-formatted backup can be created from any snapshot by using the Backup from Use the Backup from
Snapshot operation in the storage lifecycle policy. The backup can be created on tape Snapshot SLP operation to
using NDMP or to NFS or CIFS disk. create a backup from any
snapshot.
In the following example, a tar-formatted copy is created from each snapshot copy.
BasicDisk AdvancedDisk
Snapshot copies
Data Snapshot
Primary storage Snapshot copies
Snapshot copies
Secondary
Note: Mixed aggregate replications are not qualified or tested with Replication
Director in this NetBackup release. For example, from a 32-bit aggregate to a 64-bit
aggregate and vice versa.
■ CIFS licenses for MS-Windows policies See “Enabling Unicode and language settings on NetApp disk arrays”
■ NFS licenses for Standard policies on page 132.
Using NetApp disk arrays with Replication Director 121
Using NetApp Data ONTAP 7-mode with Replication Director
■ iSCSI licenses See “About using NetApp SAN-connected storage with Replication
■ Fibre Channel licenses Director” on page 127.
Install the NetApp Plug-in for Veritas After the NBUPlugin is installed, the NetBackup resource group is
NetBackup (NBUPlugin). automatically added in the OnCommand Unified Manager. The primary
volumes that are configured on NetApp storage are exposed as primary
snapshot logical storage units to the NBUPlugin. This lets NetBackup
initiate and manage snapshots of the primary volumes.
See “Using NetApp disk arrays with Replication Director” on page 113.
Consider using the NetApp import tool. Consider importing existing data sets and Data ONTAP relationships
into Replication Director using the NetApp import tool. After the
snapshot data is imported, it can be managed using NetBackup.
See NetApp documentation.
Add resource pools. ■ Configure resource pools in the OnCommand Unified Manager
and add aggregates to the resource pools. (Use the NetApp Add
Resource Pool Wizard or the command line.)
Create a resource pool for each replication target. An aggregate
can belong to a single resource pool. Do not create a resource
pool for the source or primary data; that is handled automatically.
■ Add resource pools to the NetBackup resource group in the
OnCommand Unified Manager.
NetBackup can now access the resource pools as disk volumes
during the NetBackup disk pool creation step.
See http://www.veritas.com/docs/HOWTO73062.
Using NetApp disk arrays with Replication Director 122
Using NetApp Data ONTAP 7-mode with Replication Director
Run the Storage Server Configuration Wizard See “Creating a NetBackup storage server for snapshot replication”
to configure the OpenStorage partner as a on page 18.
NetBackup storage server.
The following video demonstrates NetBackup configuration:
For example, configure the OnCommand
http://www.veritas.com/community/videos/netbackup-75-replication-director-configuration-demo
Unified Manager as a storage server.
This wizard also configures the necessary:
*See the NetApp Interoperability Matrix Tool for the latest information about
supported versions.
The NetApp licenses that are required to use Replication Director depends on the
replication configuration in use.
Using NetApp disk arrays with Replication Director 124
Using NetApp Data ONTAP 7-mode with Replication Director
SnapMirror Only if Yes Only if Yes Use to create mirrored snapshots. Install
SnapMirror SnapMirror the license on both the source and the
Source source destination storage systems in a SnapMirror
relationship. Enable SnapMirror access
between storage systems.
SnapVault Only if SnapVault source Yes No Use to create a SnapVault snapshot copy
on the primary or the secondary storage
system.
SnapRestore Optional for No Yes Install the SnapRestore license on all the
fast FlexVol source storage systems to enable fast
Data ONTAP
level restores pointer-based FlexVol-level restores from
7.3.6P1 and
primary snapshots.
later is
required for SnapRestore is required on all SnapVault
SnapRestore destination storage systems. For the
support on Primary-SnapVault-SnapMirror cascade
Windows. (PVM) topology, install the license on the
SnapMirror destination storage system.
CIFS CIFS NAS data only (Windows) Install the CIFS license on the storage
system that is in a SnapMirror or SnapVault
relationship that contains the CIFS file
systems.
NFS NFS NAS data only; (UNIX) Install the NFS license on the storage
system that is in a SnapMirror or SnapVault
relationship that contains the NFS systems.
iSCSI and iSCSI and Fibre Channel block data only (SAN) Install either iSCSI or FC licenses on both
FCs the source and the destination storage
systems.
*See the NetApp Interoperability Matrix Tool for the latest information about
supported versions.
vFiler No Enable No
You can verify that the NDMP service is enabled with the
following NetApp command:
ndmpd status
Note: For iSCSI to support block devices, make sure that no HBA cards are attached
to the host.
Using NetApp disk arrays with Replication Director 128
Using NetApp Data ONTAP 7-mode with Replication Director
■ Per the SnapDrive limit, a maximum of 168 LUNs per client is allowed, including
LUN and volume clones.
Using NetApp disk arrays with Replication Director 130
Using NetApp Data ONTAP 7-mode with Replication Director
A replication job run after the password has been changed may fail with a status
83 (media open error) or a policy validation error of 4225. However, the job details
may indicate that the job ran successfully.
After making the change, restart the NBSL process so that the change takes effect.
For example, to ensure that the name of the OnCommand Unified Manager is
OCUMServer, enter the following command:
bpstsinfo -serverinfo -storage_server OCUMServer -stype Network_NTAP
NetApp ONTAP Cluster 1 Install a supported version of NetApp ONTAP Cluster on the
cluster storage system with the appropriate licenses.
OnCommand Unified Manager for Clustered 1 Deploy the OnCommand Unified Manager, version 6.x.
Data ONTAP
2 Add the cluster.
Install the NetApp Plug-in for Veritas 1 Install the plug-in on either a Windows or a Linux computer other
NetBackup 2.0 (NBUPlugin2.0). than the OnCommand Unified Manager server, the master server,
or any media servers. This computer becomes the storage server
in NetBackup.
See “Using NetApp disk arrays with Replication Director” on page 113.
*See the NetApp Interoperability Matrix Tool for the latest information about
supported versions.
See “Using NetApp Clustered Data ONTAP with Replication Director” on page 133.
See “Licenses required for NetApp Clustered Data ONTAP with Replication Director”
on page 135.
See “Software required to use NetApp Clustered Data ONTAP with Replication
Director” on page 137.
SnapMirror Only if Yes Only if Yes Use to create mirrored snapshots. Install
SnapMirror SnapMirror the license on both the source and the
Source source destination storage systems in a SnapMirror
relationship. Enable SnapMirror access
between storage systems.
SnapVault Only if SnapVault source Yes No Use to create a SnapVault snapshot copy
on the primary or the secondary storage
system.
SnapRestore Optional for No Yes Install the SnapRestore license on all the
fast FlexVol source storage systems to enable fast
level restores pointer-based FlexVol-level restores from
primary snapshots.
CIFS CIFS NAS data only (Windows) Install the CIFS license on the storage
system that contains the SVM that is in the
SnapMirror or SnapVault relationship with
the CIFS file systems.
Using NetApp disk arrays with Replication Director 137
Using NetApp Clustered Data ONTAP with Replication Director
NFS NFS NAS data only (UNIX) Install the NFS license on the storage
system that contains the SVM that is in the
SnapMirror or SnapVault relationship with
the NFS file systems.
*See the NetApp Interoperability Matrix Tool for the latest information about
supported versions.
See “Using NetApp Clustered Data ONTAP with Replication Director” on page 133.
See “Configuration overview: NetApp Clustered Data ONTAP with Replication
Director” on page 134.
You can verify that the NDMP service is enabled with the
following NetApp command:
See “Using NetApp Clustered Data ONTAP with Replication Director” on page 133.
See “Configuration overview: NetApp Clustered Data ONTAP with Replication
Director” on page 134.
Standard For a Standard policy, make sure that the Storage Virtual Machine (SVM) can resolve
the NetBackup client’s host name by running the following command on the cluster
shell:
■ If the SVM name is used to create a mount point for a volume that is exported by
an SVM on the NetBackup client, you should enter the name of the SVM exactly
as the OnCommand Unified Manager sees it. If the SVM name in the OnCommand
Unified Manager is a fully qualified domain name, you must use the SVM's fully
qualified domain name when you create the mount point. The name is case-sensitive.
■ Alternatively, you can use the IP address of the SVM LIF to specify a mount point
instead of the SVM name.
Consider the following examples:
■ When you create a mount point on the NetBackup client for volume "vol_nfs" that
is exported by an SVM named "vs1", the nfs volume name must be specified as
"vs1:/vol_nfs".
You would use the command "mount vs1:/vol_nfs /mnt/vol_nfs".
If you specify the nfs volume name as "VS1:/vol_nfs" or "vs1.example.com:/vol_nfs"
then the snapshot job fails.
■ When you create a mount point on the NetBackup client for volume "vol_nfs2" that
is exported by an SVM named "VS2.example.com", the nfs volume name must be
specified as "VS2.example.com:/vol_nfs2".
You would use the command "mount VS2.example.com:/vol_nfs2 /mnt/vol_nfs2".
If you specify the nfs volume name as "vs2.example.com:/vol_nfs2" or
"VS2:/vol_nfs2" then the snapshot job fails.
■ When you create a mount point on the NetBackup client for volume "vol_nfs3" that
is exported by an SVM with the LIF "10.67.212.20", the nfs volume name must be
specified as "10.67.212.20:/vol_nfs3".
You would use the command "mount 10.67.212.20:/vol_nfs3 /mnt/vol_nfs3".
MS-Windows For a MS-Windows policy, make sure that clocks are in sync for the following: the
domain controller that is used for the Storage Virtual Machine's (SVM) CIFS server
and the cluster hosting the SVM.
Make sure that the NetBackup Client Service and the NetBackup Legacy Client Service
are running under an account which has read and write access to the shares that the
SVM exports.
When you create a mount point, you should keep the following in mind:
■ If the SVM name is used to specify a share that is exported by an SVM in a policy,
you should enter the name of the SVM exactly as the OnCommand Unified Manager
sees it. If the SVM name in the OnCommand Unified Manager is a fully qualified
domain name, you must use the SVM's fully qualified domain name when you create
the mount point. The name is case-sensitive.
■ Alternatively, you can use the IP address of the SVM LIF to specify a share instead
of the SVM name.
Consider the following examples:
■ When you select a share "vol_cifs" that is exported by an SVM named "vs1" as a
backup selection, the selection must be entered as "\\vs1\vol_cifs".
If you enter the backup selection as "\\VS1\vol_cifs" or \\vs1.exqample.com\vol_cifs"
then the snapshot job fails.
■ When you select a share "vol_cifs2" that is exported by an SVM named
"VS2.example.com" as a backup selection, the selection must be entered as
"\\VS2.example.com\vol_cifs2".
If you enter the backup selection as "\\VS2\vol_cifs2" or
"\\vs2.example.com\vol_cifs2" then the snapshot job fails.
■ When you select a share "vol_cifs2" that is exported by an SVM with the LIF
"10.67.212.20" as a backup selection, the selection must be entered as
"\\10.67.212.20\vol_cifs3".
Standard or MS-Windows For a Standard policy with NDMP Data Mover enabled:
with NDMP Data Mover
■ The Storage Virtual Machine (SVM) must be added as an NDMP host in NetBackup.
enabled
■ You should keep in mind the following naming conventions:
■ The junction name cannot be different from the volume name. When you mount
the volume in the SVM's namespace, make sure that the junction name is the
same as the volume name.
For example, if you have a volume "vol_nfs" on the SVM "vs1", you should use
the junction name "vol_nfs" when you mount the volume.
■ The mount path must use the host name as the SVM name. The SVM name
must be spelled out exactly as it appears in the OnCommand Unified Manager.
You cannot use the IP address of a data LIF when you mount an SVM's volumes.
For example, the mount point "/mnt/vol_nfs" on the NetBackup client refers to
"vs1:/vol_nfs", where vs1 is the SVM name and "vol_nfs" is the junction path
for the volume "vol_nfs".
For a Windows policy with NDMP Data Mover enabled:
See “Configuring a Standard or MS-Windows policy to protect clients using NDMP with
Data Mover” on page 81.
Using NetApp disk arrays with Replication Director 144
Using NetApp Clustered Data ONTAP with Replication Director
NDMP
Using NetApp disk arrays with Replication Director 145
Using NetApp Clustered Data ONTAP with Replication Director
8.3:
set advanced
vserver services ndmp extensions modify
-is-extension-0x2050-enabled true
■ If you use the ALL_FILESYSTEMS directive in an NDMP policy for Clustered Data
ONTAP, you must exclude the SVM's root volume using the
VOLUME_EXCLUDE_LIST directive.
For example, to exclude the root volume "root_vs1" of the SVM "VS1" you would
use the following directive:
VOLUME_EXCLUDE_LIST=/VS1/root_vs1
ALL_FILESYSTEMS
VMware When you create an NFS datastore on a VMware ESX host and the datastore refers
to a volume that the SVM exported, the server name must be entered exactly as it
appears in the OnCommand Unified Manager. The server name entry refers to the
SVM name. This entry is case-sensitive. If the server name is not entered correctly,
the NetBackup snapshot job fails. Alternatively, you can use the IP address of the SVM
LIF to specify a server name instead of the SVM name.
If the NetBackup VMware host is a Windows computer, make sure that the appropriate
name-mapping rule is created on the SVM that exports the volume for the VMware
datastore. The name-mapping rule should map the user under which the NetBackup
Client Service is running to the UNIX user "root".
For example, SVM1 is a storage virtual machine that exports a volume to the ESX NFS
datastore. You should create a Windows-UNIX name-mapping rule on SVM1 that maps
the Windows user "DOMAINAME1\Administrator" to the UNIX user "root", where
"DOMAINAME1\Administrator" is the account for NetBackup Client service on the
VMware backup host. You should create similar name-mapping rules on any other
peer SVMs where replicated volumes are created.
https://kb.netapp.com/support/index?page=content&id=1013831&actp=RSS
Refer to the following topic for more information about configuring VMware backup
policies:
See “Configuring a policy for virtual machines to use Replication Director” on page 169.
Oracle Oracle provides specific requirements for the mount commands that you use when
you mount Oracle database components to NetApp filers. Refer to your Oracle
documentation for more information. When you create a mount point for Oracle
operations, you must use an NFS version 3 volume. Make sure that the volume is
created using the parameters that are specified in the Oracle documentation.
Oracle backup policies may only include any data files that exist on the filer mount
point. Backup selections can include tablespaces, individual data files, or whole
databases so long as they exist on the filer mount point. If backup selections include
any file other than a data file or any files that do not exist on the mount point, the backup
operations fail.
Refer to the following topics for more information about configuring Oracle backup
policies:
See “Using NetApp Clustered Data ONTAP with Replication Director” on page 133.
Using NetApp disk arrays with Replication Director 148
Using NetApp Clustered Data ONTAP with Replication Director
See “Protecting volumes with nested junctions for Clustered Data ONTAP”
on page 148.
See “Limitations to using Clustered Data ONTAP with Replication Director”
on page 150.
Cluster1-01 Cluster
VS1 SVM
Vol_A Volume
Vol_B Volume
Subdir a Folder
Using NetApp disk arrays with Replication Director 149
Using NetApp Clustered Data ONTAP with Replication Director
See “Using NetApp Clustered Data ONTAP with Replication Director” on page 133.
See “About creating backup policies for Clustered Data ONTAP with Replication
Director” on page 140.
The administrator can create an Oracle policy to use Replication Director by using
either the following methods:
■ The Oracle Intelligent Policy (recommended).
See “Configuring an Oracle Intelligent Policy” on page 152.
■ Create a script- or template-based Oracle policy.
See “Configuring a script- or template-based Oracle policy” on page 158.
Table 11-1 describes the differences between the two methods:
Scripts ■ All scripts that are necessary to protect all ■ NetBackup can continue to use custom scripts
parts of the database are automatically to perform database backups.
generated at run-time. ■ The administrator must know how to configure
■ The administrator does not need to know how RMAN scripts.
to configure RMAN scripts. ■ The administrator must set the retention levels
■ The retention levels for the different parts of for the different parts of the database
the database are automatically assigned correctly.
■ The administrator must ensure that a
snapshot of the proxy data is created.
Schedules The administrator configures only one schedule The administrator must configure two schedules
that backs up all parts of the database and sets with two retentions:
the correct retention automatically.
■ One Full Backup schedule to back up the
The Archived Redo Log schedule is not snapshot (proxy) data part of the database.
supported with a snapshot backup. ■ One Application Backup schedule to back
up the stream-based part of the Oracle
database.
Backups User-directed backups are not supported. To User-directed backups are supported.
attempt a user-directed backup (results in a
status 240 (no schedules of the correct type exist
in this policy).
Load balancing RAC load balancing is not supported. RAC load balancing is supported.
Only those policy options that are necessary to configure Replication Director are
listed in the following procedure. For descriptions of all policy options, see the
NetBackup Administrator's Guide, Volume I or the online Help.
For Oracle-specific information, see the NetBackup for Oracle Administrator’s Guide.
To create an Oracle Intelligent Policy
1 In the NetBackup Administration Console, in the left pane, expand
NetBackup Management > Policies.
2 On the Actions menu, click New > New Policy.
3 Type a unique name for the new policy in the Add a New Policy dialog box
and click OK.
Do not use the Policy Configuration Wizard to configure a policy for
Replication Director.
See “NetBackup naming conventions” on page 15.
4 Select the Attributes tab. The following items are specific to creating an Oracle
policy for snapshots with Replication Director:
■ Policy type
For NetBackup to perform Oracle backups, select Oracle. An Oracle tab
appears.
■ Policy storage
Oracle combines snapshots (proxy) and stream-based backups as part of
the same backup. The storage that is indicated here is used for the
stream-based part of the Replication Director backup.
Select a storage lifecycle policy that is configured to contain the
stream-based (non-snapshot) part of the database backup. The storage
must use a storage lifecycle policy that is configured for non-snapshot
backups.
■ Use Replication Director
Enable Use Replication Director to automatically select other options that
Replication Director requires:
■ Perform snapshot backups: Ensures that the policy creates snapshots
of the disk array.
■ Retain snapshots for Instant Recovery or SLP management: Ensures
that the policy retains the snapshot after the backup completes.
■ Options button
Using Oracle with Replication Director 154
About Oracle support for Replication Director
Note: Unless creating Block Level Incremental (BLI) backups, always select
Full Backup to create snapshots of the Oracle database.
■ Override policy storage selection: Enable and select the SLP that is
configured for snapshot replication. (A snapshot SLP is one in which the
Using Oracle with Replication Director 156
About Oracle support for Replication Director
6 Select the Instances and Databases tab and specify the instances to back
up. The policy must include at least one instance. To continue to use the Oracle
Intelligent Policy method, select either Protect instances or Protect instance
groups.
Script- or template-
based Oracle policy
method
7 Select the Backup Selections tab. Select the parts of the database to back
up. Note that the selection applies to all listed instances.
The following can be selected for the policies that use Replication Director:
■ Whole database: Backs up the entire database (default).
■ Partial database - Tablespaces: Backs up the tablespaces.
■ Partial database - Datafiles: Backs up the data files.
■ Fast Recovery Area (FRA): Do not select for a policy that uses Replication
Director.
■ Database Backup Shares: Do not select for a policy that uses Replication
Director.
■ Whole Database - Datafile Copy Share: Do not select for a policy that
uses Replication Director.
Note: If you back up the partial database, and later want to perform a
Point-in-time rollback restore, make sure that you select all of the tablespaces
or data files from a partition in the Backup Selections.
For copy-back restores, this is not a requirement.
5 Select the Instances and Databases tab and specify the instances to back
up. Select Clients for use with scripts and templates. If either of the other
two are selected, the Oracle Intelligent Policy is used and the scripts are created
automatically.
Oracle Intelligent
Policy method
Script- or template-
based Oracle policy
method
Using Oracle with Replication Director 161
About Oracle support for Replication Director
After selecting the Clients for use with scripts and templates option, a
message appears that describes the effect of this choice:
■ Existing selections (if any) for this policy are erased.
■ The Oracle tab is removed from this policy.
■ Another effect is that the Selections tab turns into the Clients tab.
Click Yes to continue Oracle policy configuration.
Note: Unless creating Block Level Incremental (BLI) backups, always select
Full Backup to create snapshots of the Oracle database.
■ Override policy storage selection: Enable and select the SLP that is
configured for snapshot replication.
■ Retention: The SLP indicates the retention for the backup.
Using Oracle with Replication Director 163
About Oracle support for Replication Director
9 Configure the schedule in the Start Window tab and the Exclude Days tab.
Click OK to save and close the schedule.
10 Select the Clients tab. By default, the Clients for use with scripts or
templates option is selected for this script- or template-based Oracle policy.
11 Add the client name(s) that contain the Oracle database and indicate the
operating system of each.
12 Select the Backup Selections tab. Specify the script or the template that
NetBackup should use. Indicate only one script or one template.
13 When the policy configuration is complete, click OK.
Chapter 12
Using Virtual Machines
with Replication Director
This chapter includes the following topics:
Make array-based snapshots Configure a storage lifecycle policy (SLP) and a backup policy to create array snapshots
of virtual machines on NFS of virtual machines. The snapshots remain on the array or filer (NetBackup storage
datastores server) and are not backed up to a NetBackup media server storage unit. This type of
backup is the foundation for the other Replication Director operations.
Note the following:
Back up quiesced virtual Configure an SLP and a backup policy to make a backup image from the virtual machine
machines from a snapshot (or snapshot. NetBackup backs up only the virtual machines that were quiesced before
snapshot replica) that is on the snapshot occurred.
an NFS datastore
The backup image is written to a NetBackup storage unit. The image is retained
according to the policy's retention period.
Note: The Application consistent snapshot option in the policy must be enabled
(under Options > Snapshot Client Options).
Restore a virtual machine Use the Backup, Archive, and Restore interface to restore the virtual machine.
from a snapshot (or snapshot
Supported restore destinations are the original (NFS) datastore or an alternate datastore
replica) that is on an NFS
(NFS or non-NFS).
datastore
Using Virtual Machines with Replication Director 166
About virtual machines and Replication Director
Restore individual files from Use the Backup, Archive, and Restore interface to restore the files.
a snapshot (or snapshot Note the following:
replica) that is on an NFS
datastore ■ To restore files from a replica of the snapshot, the replica must exist in the same
NetBackup domain as the snapshot.
■ To restore files to the original virtual machine, a NetBackup client must be installed
on the original virtual machine.
■ As an alternative, you can use an alternate client to restore to a shared UNC location.
You must manually copy the files back to the original location.
See the topic on restoring individual files in the NetBackup for VMware Guide.
■ To restore multiple directories that have named streams, the Windows NetBackup
client on the destination virtual machine must be at 7.6 or later.
For setting up Replication Director for virtual machines, the initial steps are the
same as Replication Director for physical computers as follows:
■ Verify that your backup environment contains the necessary hardware and
software to configure and run Replication Director. Make sure you can
successfully back up a physical computer with Replication Director.
Note: NDMP is not required for Replication Director and virtual machines.
1 Configure the virtual machine NFS datastores on the See the NetBackup for VMware Guide.
OpenStorage storage server. Replication Director
makes the snapshots on these NFS datastores.
2 Add the VMware backup host to your NetBackup See the topic on adding the VMware backup host to
configuration. NetBackup, in the NetBackup for VMware Guide.
3 Configure NetBackup access credentials for the See the topic on adding NetBackup credentials for
VMware vCenter server or ESX server. VMware, in the NetBackup for VMware Guide.
4 Configure a NetBackup policy (VMware policy type) See “Configuring a policy for virtual machines to use
to perform the operations that are specified in the SLP. Replication Director” on page 169.
not support restoring data from two different images in the same restore job.
Restore from one image at a time.
■ When you use the Backup, Archive, and Restore interface to browse for
an image to restore, only the primary copy is made available for restore. In
the NetBackup Administration Console, use the Catalog node to select
a different copy (such as a backup image or replica) as the primary copy.
See “About jobs in the Activity Monitor that use Replication Director for virtual
machines” on page 172.
5 Use the Schedule tab to create a schedule. Note that only the Full Backup
type is supported.
6 Use the Clients tab to create a query for the automatic selection of virtual
machines.
Select automatically through VMware Intelligent Policy query is
pre-selected. Manual selection of virtual machines is not supported.
For instructions on creating a query, see the topics about configuring the
automatic selection of virtual machines for backup in the NetBackup for VMware
Administrator's Guide.
7 Use the VMware tab to select virtual machine backup options.
Note the following:
■ The Enable file recovery from VM backup option is pre-selected and
cannot be disabled.
Using Virtual Machines with Replication Director 172
About virtual machines and Replication Director
About jobs in the Activity Monitor that use Replication Director for
virtual machines
You can use the NetBackup Activity Monitor to keep track of virtual machines
backups as they occur. The number of jobs that appear in the Activity Monitor
depends on the policy's Application Consistent Snapshot option.
Table 12-3 describes the Activity Monitor jobs that appear in each configuration:
with the Application Consistent Snapshot option enabled or disabled.
Using Virtual Machines with Replication Director 173
About virtual machines and Replication Director
Table 12-3 Job flow in the Activity Monitor for the jobs that use Replication
Director for virtual machines
Enabled The first job discovers the virtual machines. This job is labeled Backup.
The Backup job starts the following:
Disabled The first job discovers the virtual machines. This job is labeled Backup.
The Backup job starts the following:
Example 1: Virtual machine jobs with the Application Consistent Snapshot option
enabled.
■ Replication terminology
Replication terminology
Use the following table as a reference for understanding many terms that are used
frequently when describing replication processes.
Term Definition
Backup The process of creating a copy of user data and creating backup images of the data.
■ The process of creating a new tar-formatted backup image of the client's data.
■ The process of creating a snapshot of the client's data.
Cluster Data ONTAP The operating system that is used on NetApp storage systems in a clustered mode.
Copy An instance of a NetBackup image which can standalone; it can be read or deleted without
affecting any other copy.
Data mover The mechanism that is used to copy data from storage on the production client to backup
storage. Or, to duplicate, the data mover copies data from backup storage to different backup
storage.
Traditionally, NetBackup functions as the data mover and data travels through clients and
media servers. Storage devices can provide more efficient mechanisms to move the data,
such as NDMP, built-in replication, or OST (as in Optimized Duplication).
Data ONTAP The operating system that is used on NetApp storage systems in 7-Mode.
Term Definition
Disk array A disk array which exposes storage or network shares to a host server over SAN, NFS, CIFS,
or iSCSI protocols.
Duplication NetBackup creates a copy by using a media server to move the data or by using the optimized
duplication method.
Local domain The domain in which the storage device resides and in which it is configured.
■ A disk that maintains an exact copy (duplicate or replica) of another disk. A mirror disk is
often called a secondary, and the source disk is called the primary. All writes to the primary
disk are also made to the mirror disk.
■ A type of snapshot that is captured on a mirror disk. At the appropriate moment, all further
writes to the primary disk are held back from the mirror, which splits the mirror from the
primary. As a result of the split, the mirror becomes a snapshot of the primary. The
snapshot can then be backed up.
Mount host The host on which NetBackup mounts a snapshot when NetBackup needs to access the
snapshot for any reason. Typically, NetBackup accesses the mount host to browse or to
restore backups, or to perform either an Index From Snapshot or a Backup From Snapshot
operation in a storage lifecycle policy.
To mount a snapshot on a host other than the production client is generally more efficient
because it avoids a negative impact on the performance of the production client. Media
servers make excellent mount hosts because the media server is both a client and a media
server (data mover). As such, NetBackup can often avoid an additional network hop. If no
compatible media servers exist, dedicated clients are the next best choice.
Note: The mount host and the production client must run the same operating system for the
mount host to access the production client. The mount host must be at the same OS version
or later.
See the NetBackup Snapshot Client Administrator's Guide for more details.
NetApp Plug-in for Also referred to as the NBUPlugin, this plug-in communicates with the OSTPlugin to query
Veritas NetBackup the OnCommand Unified Manager.
The NetApp Plug-in for Veritas NetBackup Installation and Administration Guide is available
from the NetApp Support Site.
OnCommand Unified OnCommand Unified Manager (formerly known as DataFabric Manager or DFM) is the
Manager (OCUM) software application installed on a host that is identified to be a DataFabric Manager (DFM)
server. The software provides infrastructure services such as discovering, monitoring,
role-based access controls, auditing, and logging for products in the Data and Storage suites.
Terminology 177
Replication terminology
Term Definition
NetApp Management The NetApp interface that is used to configure and manage the OnCommand Unified Manager.
Console
NetBackup Also referred to as the OSTPlugin, NetBackup uses this to communicate with the vendor's
OpenStorage Plug-in plug-in.
for Replication Director
OST device A storage server that has implemented the OST plug-in interface.
Point-in-time rollback A snapshot is a point-in-time, disk-based copy of a file system or volume. A restore from a
snapshot rolls the entire file system or volume back to a specific point in time. Therefore, a
snapshot restore is called restoring from a Point-in-time rollback. All of the data in the snapshot
is restored. Any data changes or snapshots that were made after that point-in-time are lost.
Primary volume A unit of storage space that a disk array exposes to a host in the form of a network share
(NFS or CIFS) or LUN block device. Primary volumes store an application’s active data.
Replication The process of replicating a snapshot onto a separate disk array using NetBackup Replication
Director.
Replication source A NetBackup-configured disk pool and storage unit that contains the volumes that serve as
the source for subsequent replications.
Replication target A NetBackup-configured disk pool and storage unit that can receive or accept replications
from a replication source.
An image copy that is a snapshot is also considered a replica. A snapshot copy consists of
one or more snapshot fragments.
Snapshot method A set of routines for creating a snapshot. The NetBackup administrator can select the method,
or let NetBackup select it when the snapshot begins (auto method).
Snapshot mirror A disk mirror that is an exact replica of a primary volume at a particular moment, reproduced
on a physically separate device.
Snapshot source The production data (file system, raw partition, or logical volume) to which a snapshot method
is applied. NetBackup automatically selects the snapshot source according to the entries in
the Backup Selections list of the snapshot policy.
Term Definition
Storage lifecycle policy NetBackup uses storage lifecycle policies to manage the lifecycle of a backup or snapshot
(SLP) image. An SLP controls the image migration, duplication, and replication within a single
NetBackup master server domain.
Storage unit A storage unit is configured for one of two types of data:
■ Backup storage units contain backup images. A backup storage unit cannot contain
snapshots.
■ Snapshot storage units contain snapshots. A snapshot storage unit cannot contain
backups. Replication Director uses snapshot storage units in snapshot replication
configurations.
Storage server A storage device that is configured in NetBackup. A storage server is a NetBackup entity
that represents a disk array.
vFiler vFilers are ONTAP 7-mode virtual containers that create separate virtual filer instances
withing a physical controller (doesn't matter if FAS or V-Series).
Index
E N
Exchange databases 164, 172 NAS host, authorizing access to 89
Expire after copy retention type 72–73 NAS snapshot 89
NBUPlugin
F 2.0 133, 135, 150
default installation location 10
FCoE. See Fibre Channel over Ethernet (FCoE)
definition 176–177
Fibre Channel over Ethernet (FCoE) 125, 127, 129
determining the version 116
Fixed retention type 73
IPv4 and IPv6 10, 121, 135
NetBackup group on OnCommand Unified
G Manager 30, 132
Getting Started Wizard 12, 78, 83–84, 153, 158 service, restarting 130
updating the storage server for 23
H upgrading 117
Hardware Compatibility List (HCL) from NetBackup 11 NBUPlugin service 130
HBA cards 127 NDMP 89
ALL_FILESYSTEMS directive in backup
policies 91
I Credentials on OnCommand Unified
image .f files 64 Manager 127
import tool from NetApp 121, 132 Data Mover and Clustered Data ONTAP
Independent property 48 policies 143
Index From Snapshot operation 61, 64, 72, 102 Data Mover off-host backup method 83, 89
Clustered Data ONTAP 150 determining backup traffic 94
Interoperability Matrix Tool from NetApp 123, 126, host, authorizing access 89
135, 137 licensing 11
IPv6 support 10, 121, 135 limitations with Clustered Data ONTAP 150
iSCSI 127 policy type 69, 104
configuring for Windows 128 Replication Director support for 88
license for NetApp 125, 127 service, enabling 138
Status on OnCommand Unified Manager 127
M NetApp
Managed by SLP retention 79, 85, 154, 159, 170 Add Resource Pool Wizard 121, 134
Maximum concurrent jobs storage unit setting 47 configuration demonstration video 122
Maximum snapshot limit retention type 73, 79, 85, disk arrays 15
154, 159, 170 documentation 10, 176
Maximum Snapshots parameter 73, 79, 85, 154, 159, FlexClone volumes 93
170 import tool 121, 132
media servers Interoperability Matrix Tool 123, 126, 135, 137
adding to a snapshot replication environment 24 Management Console 30, 122, 132
selecting for storage unit 31, 47 number of snapshots per volume 79, 85, 154,
Mirror property 48, 59 159
Mirror retention type 75 Plug-in for Veritas NetBackup 10, 176–177
Mirror-break-off technology 79, 154, 159 resource pools 121, 134
mount host 176 SnapMirror 126
multiple copies SnapMirror or SnapVault replication method 52,
synthetic backups method 73 54, 75
SnapVault 126
supported topologies 118
Index 181
Q
O qtrees 87, 89, 119
OnCommand servers
software 123, 134, 138
OnCommand Unified Manager R
changing root or administrator password 130 RAW disks 129
creation of NetBackup group 30, 132 replication
licenses 123 disk pools for 26
multiple in one NetBackup domain 122 disk volumes for 27
OpenStorage job 60
plug-in role 10 method 52, 54, 75
storage server, updating 23 source property 48, 57–59
Operational Restore, OpsCenter 61, 102 target property 48, 58–59
OpsCenter 9, 102, 109–111 Replication Director
OpsCenter Operational Restore 61, 102 adding OpenStorage credentials 24
Oracle checklist 12, 122
policy for Clustered Data ONTAP 147 configuration demonstration video 122
policy for snapshot backups creating storage lifecycle policies for 52
Oracle Intelligent Policy 152 Replication operation 59
using script- or template-based Oracle policy use of Index From Snapshot operation in SLP 63
creation method 158 Replication operation 59
Index 182
W
widelinks 133
Windows 2003 128
Windows 2008 128
Windows Volume Shadow Services (VSS) 84
windows, for storage lifecycle policy operation 56, 60,
63, 69, 71