Veritas Netbackup Advanced Client 5.1: Quick Start Guide
Veritas Netbackup Advanced Client 5.1: Quick Start Guide
N12349C
Disclaimer
The information contained in this publication is subject to change without notice. VERITAS Software
Corporation makes no warranty of any kind with regard to this manual, including, but not limited to,
the implied warranties of merchantability and fitness for a particular purpose. VERITAS Software
Corporation shall not be liable for errors contained herein or for incidental or consequential damages
in connection with the furnishing, performance, or use of this manual.
Third-Party Copyrights
ACE 5.2A: ACE(TM) is copyrighted by Douglas C.Schmidt and his research group at Washington University and University of California, Irvine,
Copyright (c) 1993-2002, all rights reserved.
IBM XML for C++ (XML4C) 3.5.1: Copyright (c) 1999,2000,2001 Compaq Computer Corporation; Copyright (c) 1999,2000,2001 Hewlett-Packard
Company; Copyright (c) 1999,2000,2001 IBM Corporation; Copyright (c) 1999,2000,2001 Hummingbird Communications Ltd.; Copyright (c)
1999,2000,2001 Silicon Graphics, Inc.; Copyright (c) 1999,2000,2001 Sun Microsystems, Inc.; Copyright (c) 1999,2000,2001 The Open Group; All
rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do so, provided that the above copyright notice(s) and this permission
notice appear in all copies of the Software and that both the above copyright notice(s) and this permission notice appear in supporting
documentation.
This product includes software developed by the Apache Software Foundation (http://www.apache.org/).
JacORB 1.4.1: The licensed software is covered by the GNU Library General Public License, Version 2, June 1991.
Open SSL 0.9.6: This product includes software developed by the OpenSSL Project * for use in the OpenSSL Toolkit. (http://www.openssl.org/)
TAO (ACE ORB) 1.2a: TAO(TM) is copyrighted by Douglas C. Schmidt and his research group at Washington University and University of
California, Irvine, Copyright (c) 1993-2002, all rights reserved.
Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Advanced Client Information on the Web . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Chapter 2. Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
UNIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Create Logging Directories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Hardware Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
iii
Configuration Matrix for Backup Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
1. Go to www.support.veritas.com.
3. Click Search.
The title of the document is: VERITAS NetBackup Advanced Client Configuration and
Compatibility
v
Advanced Client Information on the Web
In Brief
Snapshot: a point-in-time disk image of the client’s data, for “hot” backups. NetBackup
backs up the data from the snapshot, not directly from the client’s data. Client operations
can continue without interruption during the backup.
FlashBackup: combines the speed of raw-partition backups with the ability to restore
individual files from the raw partition or drive.
Instant Recovery: makes backups available for instant recovery from disk. Instant
Recovery provides three additional types of restore: block-level restore, file promotion,
and point in time rollback.
Offhost backup: performs the backup processing on a separate backup agent, greatly
reducing the impact on the client’s computing resources ordinarily caused by a local
backup. The backup agent can be an alternate client, or a data mover: NetBackup Media
Server, Third-Party Copy Device, or Network Attached Storage.
Block level incremental backup (BLI): backs up only changed data blocks of Oracle
database files. Refer to the NetBackup for Oracle System Administrator’s Guide for more
details.
Snapshot Selection
Advanced Client has a range of snapshot methods for UNIX and Windows clients. For
most backups, NetBackup can select the snapshot method automatically. Or, you can
select the snapshot method yourself by using Advanced Snapshot Options on the policy
dialog. The snapshot methods are described in the NetBackup Advanced Client System
Administrator’s Guide.
1
Advanced Client Advisor
Terminology
Advanced Client
Add-on product that includes snapshot backup, FlashBackup, Instant Recovery, offhost
backup, and block-level incremental backup.
Copy-on-Write (COW)
One of two types of snapshots (see also mirror). A copy-on-write snapshot creates a
block-by-block “account” that describes which blocks in the client data have changed and
which have not, from the instant the copy-on-write was activated. NetBackup uses this
information to create the backup copy.
Data mover
The host or other device that manages an offhost backup on behalf of the client (see offhost
backup).
Mirror
A disk that maintains an exact copy of another disk. All writes to the original disk are also
made to the mirror.
Offhost backup
The off-loading of backup processing to a separate backup agent executing on another
host. Advanced Client provides these offhost backup options: alternate client backup,
NetBackup Media Server, Third-Party Copy Device, and Network Attached Storage.
Snapshot
A stable disk copy of the client’s data prior to backup. A snapshot is the basis of a “hot”
backup, minimizing system downtime.
Snapshot method
A set of routines for creating a snapshot. You can select the method, or let NetBackup
select it when the backup is started (auto method).
2. From the NetBackup options CD-ROM, use the NetBackup Add-On Product Software
menu to install Advanced Client on the master/media server(s).
3. Distribute Advanced Client software to all currently defined clients by executing the
following command:
/usr/openv/netbackup/bin/update_clients -Install_ADC
For complete instructions, and for notes on clustered environments, see the
installation chapter of the NetBackup Adanced Client System Administrator’s Guide.
Windows
Advanced Client is automatically installed with the Windows NetBackup Enterprise
server and client software. The installation procedure is the same as that described in the
NetBackup Installation Guide for Windows. Note:
◆ If you intend to back up clients configured with VxVM or clients in a clustered
environment, make sure the VxVM volumes and/or clustering are correctly
configured.
5
Create Logging Directories
Note For Instant Recovery backups of data configured on VxVM volumes on Windows,
the VxVM volume names must be 12 characters or fewer.
◆ Provide the Advanced Client license key as required during the installation.
UNIX
Create the following directories in /usr/openv/netbackup/logs/
On the server: bpbrm
On the clients: bpfis, bpbkar, bppfi, online_util
Windows
Create logging directories by running the following:
install_path\NetBackup\logs\mklogdir.bat
Hardware Configuration
Verify the functionality of your network equipment and storage devices, including disk
arrays, robots and tape drives, switches, hubs, host-bus adapters, routers and/or
third-party copy devices.
◆ For NetBackup Media Server or Third-Party Copy offhost backup: to verify
NetBackup access to your SAN devices, to configure HBA drivers, and to create
NetBackup configuration files, refer to the SAN configuration chapter of the Advanced
Client System Administrator’s Guide.
◆ For assistance with disk array configuration, refer to the “Array-Specific Snapshot
Methods” section of the Snapshot Configuration Notes chapter of the Advanced Client
System Administrator’s Guide.
◆ Install the proper versions of all required firmware and device drivers.
For a list of supported platforms, and for configuration help with particular devices,
see “Advanced Client Information on the Web” on page v.
7
Select Advanced Client Options
Note For help with these options, see the following sections in this chapter. It is best to
read “Basic Snapshot Backup” on page 9 before reading the other sections.
3. Configure the rest of the policy (other attributes, schedule, backup selections, clients).
Note The ALL_LOCAL_DRIVES entry is not supported in the Backup Selections list of
any policy that uses Advanced Client features.
FlashBackup
To create a policy for FlashBackup:
1. Select FlashBackup as the policy type for UNIX clients, or FlashBackup-Windows for
Windows clients. Perform snapshot backups must also be selected.
2. Use the Backup Selections tab to specify the drive letter or mounted volume
(Windows) or the raw disk partition (UNIX) containing the files to back up.
Windows examples:
\\.\E:
\\.\E:\mounted_volume
Note The drive must be designated exactly as shown above. Backing up the drive
containing the Windows system files (usually the C drive) is not supported.
Solaris examples:
/dev/rdsk/c1t0d0s6
/dev/vx/rdsk/volgrp1/vol1
HP-UX examples:
/dev/rdsk/c1t0d0
/dev/vx/rdsk/volgrp1/vol1
Note:
◆ FlashBackup-Windows policies do not support the backup of Windows
system-protected files (the System State, such as the Registry and Active Directory).
◆ If using the FlashBackup-Windows policy type and the VSP snapshot method, click
Host Properties > Clients, select the client, then Actions > Properties, Windows
Client > VSP to specify VSP settings for the client.
◆ UNIX clients only: some snapshot methods require extra disk space set aside as a
cache. The cache must be a raw partition, designated in either of two ways:
◆ Click Host Properties > Clients, select the client, then Actions > Properties,
UNIX Client > Client Settings. Specify the default cache for the client.
◆ Or, click Advanced Snapshot Options on the policy dialog, select nbu_snap
(Solaris clients only) or VxFS_Snapshot as the method, and specify the cache
device path.
NAS Snapshot
1. Select Standard as the policy type for UNIX clients, MS-Windows-NT for Windows
clients, or Oracle for UNIX clients configured in an Oracle database.
Note The NDMP policy type is not supported for NAS snapshots in this 5.1 release.
2. Select Perform snapshot backups and Retain snapshots for instant recovery.
4. Select Perform offhost backup and Use data mover. For Use data mover, pick
Network Attached Storage.
5. On the Schedule Attributes tab, select Instant recovery backups to disk only.
6. On the Backup Selections tab, specify the mounted file system (UNIX) or share name
(Windows), from the client perspective. For example:
◆ On a UNIX client, if the data resides in /vol/vol1 on the NAS host nas1, and is
NFS mounted to /mnt2/home on the UNIX client, specify /mnt2/home in the
policy Backup Selections list.
◆ On a Windows client, if the data resides in /vol/vol1 on the NAS host nas1,
and is CIFS mounted (mapped to) \\nas1\vol\vol1 on the Windows client,
specify \\nas1\vol\vol1 in the policy Backup Selections list.
Note:
◆ Both NetBackup for NDMP and Advanced Client software must be installed and
licensed on NetBackup server and NetBackup clients.
◆ NetBackup must have access to each NAS host on which a snapshot will be created.
You can use the set_ndmp_attr -auth command or the NetBackup Device
Configuration wizard (see the NetBackup for NDMP System Administrator’s Guide).
◆ The client data must reside on a NAS host and be mounted on the client by means of
NFS on UNIX or CIFS on Windows. The data must not be auto-mounted, but must be
hard (or manually) mounted
◆ For a list of NAS vendors that NetBackup supports for NAS snapshots, refer to the
NetBackup for NDMP Supported OS and NAS Appliance Information document available
at www.support.veritas.com.
Instant Recovery
To create a policy for a backup that enables Instant Recovery:
1. Select Perform snapshot backups and Retain snapshots for instant recovery on the
policy Attributes tab.
A snapshot will be created and the data will be backed up to tape or other specified
storage. When a restore is executed, the data is retrieved from the snapshot.
2. To skip the backup to tape or other storage unit, select Instant recovery backups to
disk only on the Schedule Attributes tab.
To make a snapshot of data on a NAS host, Instant recovery backups to disk only
must be selected.
Offhost Backup
To shift backup processing to another host or device (reduce local network traffic):
1. Select Perform snapshot backups and Perform offhost backup on the policy
Attributes dialog.
2. For a backup performed by an alternate client, click Use alternate client and enter the
name of the alternate client. See the NetBackup Advanced Client System Administrator’s
Guide for details.
3. To make the backup by means of a data mover, click Use data mover and choose one
of the following:
NetBackup Media Server
Backup processing will be handled by a Solaris or HP NetBackup media server (for
Solaris and HP clients only).
Third-Party Copy Device
Backup processing will be handled by a third-party copy device (for Solaris and HP
clients only). This option may require additional configuration (see “Third-Party
Copy Configuration Files” on page 22).
Network Attached Storage
The backup is performed by a NAS host (Network Attached Storage) using the
NAS_Snapshot method. See “NAS Snapshot” on page 11 for policy-configuration.
Note:
◆ For NetBackup Media Server and Third-Party Copy Device, the Any_available
storage unit type is not supported. Specify a particular storage unit or group of
storage units.
◆ For Third-Party Copy Device, disk storage units are not supported.
◆ For Third-Party Copy Device, you must create a mover.conf file as explained in the
“Data Movers (UNIX Clients Only)” appendix.
◆ For Third-Party Copy Device: if VERITAS SANPoint Control does not support your
environment, and one or more devices needed for the backup do not provide
identification descriptors (SCSI E4 target descriptors), you may need to edit the
3pc.conf file as explained under “3pc.conf file” on page 23.
2. Try a backup using the same policy but configured for snapshot backups (as described
under “Basic Snapshot Backup” on page 9).
3. Try other Advanced Client features as required, running a backup after each has been
added to the policy.
◆ For offhost backup, try the Use alternate client method first.
4. UNIX clients only: for offhost backup using a data mover, try the NetBackup Media
Server method first.
Note The media server must be able to access the tape drive or other storage device. See
“Offhost Backup” on page 13 and the “Data Movers (UNIX Clients Only)”
appendix.
5. UNIX clients only: for a data mover backup using the Third-Party Copy Device
method, make sure the third-party copy device and other SAN/Fibre Channel devices
are configured correctly.
Note See the “Data Movers (UNIX Clients Only)” appendix for assistance.
DATA MOVER
a. Advanced Client not needed for Windows Open File Backup without snapshots.
d. See NetBackup Advanced Client System Administrator’s Guide for further restrictions.
e. Refer to NetBackup Advanced Client Configuration and Compatibility at www.support.veritas.com for a list of supported
SAN devices (see “Advanced Client Information on the Web” on page v for instructions).
Q: NetBackup already includes the VSP and VSS snapshot providers. Why do I need
Advanced Client?
A: When used without Advanced Client, VSP and VSS do not guarantee that the backup is
based on a snapshot. For snapshot-based backups, and for FlashBackup, Instant Recovery,
and offhost backup over a SAN or by means of an alternate client, Advanced Client is
required.
Q: What license do I need for making a snapshot of client data on an NDMP host (NAS
filer)?
A: Both Advanced Client and NetBackup for NDMP.
17
Q: Does Advanced Client support backing up raw partitions/luns?
A: Yes.
Q: Can I have a Solaris NetBackup master server and use an HP-UX media server as a
data mover?
A: Yes. And the converse is also supported.
Q: How does the SUN version of the Hitachi array differ from the Hitachi version?
A: From an operational standpoint the two arrays are exactly the same, including
microcode.
Q: Are the array-specific snapshot methods required for making offhost backups of
EMC, Hitachi, or HP disk arrays?
A: No. Depending on the file system and/or volume manager configuration of the client
data, any Advanced Client snapshot method can be used for offhost backups of the
arrays.
Note The information in this appendix applies to backups of UNIX clients only.
21
Third-Party Copy Configuration Files
◆ If a device needed for the backup does not provide an identification descriptor (E4
target), update the /usr/openv/volmgr/database/3pc.conf file with the
world-wide port name for that device as explained under “3pc.conf file” on page 23.
Identification descriptors are listed in the 3pc.conf file beginning with i= followed by
a long number (see “Example 3pc.conf” on page 24).
Note If not using the Third-Party Copy Device offhost method, you can skip this section.
Mover.conf file
To create the /usr/openv/volmgr/database/mover.conf file, enter the following on
the media server:
/usr/openv/netbackup/bin/admincmd/bpmoverinfo
This command discovers third-party copy devices (data movers) on the SAN and creates a
mover.conf file with appropriate entries for each device.
Note:
◆ Before creating mover.conf, use the sgscan command to make sure all devices are
visible. Some data movers can only be seen by running the following:
On Solaris
sgscan basic
On HP
ioscan -nf
◆ Some devices may be listed in mover.conf that are not actual data movers. NetBackup
automatically scans each device in mover.conf until it encounters a device that is an
actual data mover.
◆ Additional mover.conf configuration information can be found in the NetBackup
Advanced Client System Administrator’s Guide.
3pc.conf file
If some devices required for the backup do not provide identification descriptors
(i=iddesc in the /usr/openv/volmgr/database/3pc.conf file), you may have to
update the 3pc.conf file with world-wide port names for those devices, as follows.
1. Enter the following on the media server when no backups are in progress:
/usr/openv/netbackup/bin/bptpcinfo -a
This creates a /usr/openv/volmgr/database/3pc.conf file. This file identifies
the client disks on the SAN that can be backed up, and the robotic libraries/tape
drives on which NetBackup can store the data.
/usr/openv/netbackup/bin/admincmd/bpSALinfo -S SPC_server
The bpSALinfo command discovers world-wide port numbers for the devices and
adds them to the 3pc.conf file. The bpSALinfo command requires VERITAS
SANPoint Control. SPC_server identifies the host where SANPoint Control is running.
Note If SANPoint Control does not support your environment, you must edit the
3pc.conf file manually as described in the SAN Configuration chapter of the
NetBackup Advanced Client System Administrator’s Guide.
Example 3pc.conf
# devid [a=wwpn:lun] [c=client] [p=devpath] [P=clientpath] [s=sn] [l=lun] [w=wwpn] [W=wwpn] [i=iddesc]
0 p=/dev/rdsk/c0t0d0s2 s=FUJITSU:MAB3091SSUN9.0G:01K52665 l=0
1 p=/dev/rdsk/c0t10d0s2 s=FUJITSU:MAG3091LSUN9.0G:00446161 l=0
2 p=/dev/rdsk/c4t0d0s2 s=HP:OPEN-3:30436000000 l=0 a=500060E80276E401:0
3 p=/dev/rdsk/c4t3d1s2 s=HITACHI:OPEN-3-SUN:20461000300 l=1 i=10350060E800000000000004FED00000003 a=50060E80034FED00:1
4 p=/dev/rdsk/c4t1d0s2 s=HITACHI:OPEN-3-CM:20461000000 l=0 a=100000E00221C153:0
5 p=/dev/rdsk/c4t3d0s2 s=HITACHI:OPEN-9:60159003900 l=0 w=500060e802eaff12
Please note:
◆ The identification descriptor (i=iddesc) is a means of designating a device on a
SAN. The identification descriptor is not supported by all vendors. For this descriptor,
the device must support a page code inquiry with a type 2 or 3 descriptor of less than
20 bytes. The NetBackup bptpcinfo command will detect the device’s identification
descriptor and place it in the 3pc.conf file if the identification descriptor is available.
Note: even when this descriptor is available, some third-party copy devices do not
support its use.
◆ For a world wide name, use the world wide port name (WWPN), not the world wide
node name (WWNN).
◆ To determine the WWPN of a device, look in the /var/adm/messages file on
Solaris, or log into the appropriate host-bus adapter and/or Fibre Channel switch.
◆ For configuration assistance, see the flowcharts in the SAN Configuration chapter of
the NetBackup Advanced Client System Administrator’s Guide.
LAN
FC switch
Hardware
array:
Fibre Channel SAN Data mover with
May have an third-party copy
embedded engine
data mover
Tape library:
Disk array and tape library May have an
must be visible on SAN to embedded data
data mover and client. mover
27
nbu_snap snapshot method 10 S
NDMP (see NAS) SANPoint Control 13, 24
NetBackup Media Server method 2, 13 Schedules tab (policy) 12
Network Attached Storage (see NAS) SCSI Extended Copy command 22
network testing 21 sgscan command 23
snapshots 1, 2
O
backup configuration 9
Offhost and SAN Data Movement Services
mirror 2
(see Advanced Client)
software requirements 15
offhost backup 1, 2, 21
storage unit 21
configuration 13
support web site (VERITAS) v
NAS 13, 15, 21
supported policy types 9
P System State 10
Perform block level incremental backups 8 and FlashBackup 10
Perform offhost backup 8, 13 system-protected files and FlashBackup 10
Perform snapshot backups 8, 9
T
peripherals (latest info on web) v
terminology 2
Persistent Frozen Image (see instant
testing Advanced Client 14, 22
recovery)
third-party copy
point in time rollback 1
device configuration 21
policy
third-party copy device 3, 13, 21, 22, 25
configuration 7
troubleshooting
types supported 9
directories to create 6
promotion, file 1
U
R
update_clients command 5
raw partition backup 10
Use alternate client 13
raw partition for FlashBackup cache 10
Use alternate client feature 13
Registry 10
and FlashBackup 10 V
requirements 15 VxFS_Snapshot method 10
restore VxVM
block-level 1 volume name restriction 6
file promotion 1
W
rollback 1
web access to Advanced Client info v
Retain snapshots for instant recovery 8, 12
world wide name 24
rollback 1
WWPN 24