Veritas Netbackup 6.0 Advanced Client: Quick Start Guide
Veritas Netbackup 6.0 Advanced Client: Quick Start Guide
Veritas Netbackup 6.0 Advanced Client: Quick Start Guide
0
Advanced Client
Quick Start Guide
for UNIX, Windows, and Linux
N15273C
September 2005
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.
VERITAS Legal Notice
Copyright 2003 - 2005 VERITAS Software Corporation. All rights reserved. VERITAS, the VERITAS
Logo, and NetBackup are trademarks or registered trademarks of VERITAS Software Corporation or
its affiliates in the U.S. and other countries. Other names may be trademarks of their respective
owners.
Portions of this software are derived from the RSA Data Security, Inc. MD5 Message-Digest
Algorithm. Copyright 1991-92, RSA Data Security, Inc. Created 1991. All rights reserved.
VERITAS Software Corporation
350 Ellis Street
Mountain View, CA 94043
USA
Phone 650-527-8000
Fax 650-527-2908
www.veritas.com
Third-Party Copyrights
For a list of third-party copyrights, see the NetBackup Release Notes appendix.
ii
Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Snapshot Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Chapter 2. Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
UNIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Logging Directories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Hardware Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
FlashBackup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
NAS Snapshot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Instant Recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Offhost Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
iii
Mover.conf file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3pc.conf file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
iv
Preface
This guide provides first-time instructions for installing and configuring NetBackup
Advanced Client. For background and detailed reference, refer to the NetBackup Advanced
Client System Administrators Guide.
It is assumed that you understand NetBackup concepts and have experience with
NetBackup administration.
vi
Snapshot: a point-in-time disk version of the clients data, for hot backups. NetBackup
backs up the data from the snapshot, not directly from the clients data. Client operations
can continue without interruption during the backup. Snapshots are the basis for the other
features of Advanced Client.
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 quick recovery from a snapshot. 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 clients computing resources ordinarily caused by a local
backup. The backup agent can be a data mover (NetBackup Media Server, Third-Party
Copy Device, or Network Attached Storage) or an alternate client.
Block level incremental backup (BLI): backs up only changed data blocks of Oracle and
DB2 database files. Refer to the NetBackup Oracle or DB2 guide for more details.
Snapshot Selection
Advanced Client has a range of snapshot methods for UNIX, Linux, 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
Administrators Guide.
Terminology
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. Other terms and trade names sometimes used for
copy-on-write snapshots are space-optimized snapshots, space-efficient snapshots, and
checkpoints.
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. Other terms and trade names sometimes used for mirror are full
volume mirror, split-mirror, BCV (EMC), and third mirror break-off.
NetBackup Media Server method
An offhost backup method in which data movement is performed by a media server.
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 (formerly known as frozen image)
A stable point-in-time version of the clients data prior to backup. A snapshot makes
possible 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).
Snapshot mirror (VxVM)
A disk mirror created by the VERITAS Volume Manager (VxVM). This is an exact copy of
a primary volume at a particular moment, reproduced on a physically separate device.
Terminology
Terminology
Installation
UNIX
This procedure applies to the Solaris, HP-UX, AIX, and Linux platforms.
1. If you intend to back up clients configured with VxFS or VxVM, or clients in a
clustered environment, make sure the file systems, volumes, and/or clustering are
correctly configured.
For software requirements, refer to Features and Required Software in the
NetBackup Advanced Client System Administrators Guide.
2. Install the NetBackup 6.0 Enterprise server and client software.
For the installation procedure, see the NetBackup Installation Guide for UNIX.
3. From the NetBackup options CD-ROM, use the NetBackup Add-On Product Software
menu to install Advanced Client on the master/media server(s).
4. 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 Administrators 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.
Logging Directories
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.
Logging Directories
Create logging directories by running the following:
UNIX
/usr/openv/netbackup/logs/mklogdir
Windows
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 assistance with disk array configuration, refer to the Array Related Snapshot
Methods section of the Snapshot Configuration Notes chapter of the Advanced Client
System Administrators 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 Assistance on page v.
Configure a Backup
Select Advanced Client Options
Most Advanced Client options are selected from the policy Attributes tab:
Select Advanced
Client options
Oracle: for Oracle clients (requires NetBackup Oracle database agent software).
FlashBackup: for UNIX clients (but not AIX or Linux). See FlashBackup on page 10.
page 10.
2. Click Perform snapshot backups.
NetBackup selects an appropriate snapshot method when the backup starts.
To select the snapshot method yourself, use Advanced Snapshot Options. The
snapshot method will be used for all clients in the policy. For example: if you select
nbu_snap, all clients in the policy must be Solaris, because nbu_snap can make
snapshots on Solaris clients only.
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 (AIX and Linux are not
supported), 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:
10
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 (AIX and Linux are not
supported), MS-Windows-NT for Windows clients, or Oracle for UNIX clients
configured in an Oracle database.
2. Select Perform snapshot backups and Retain snapshots for instant recovery.
3. For Storage unit, select Any_available. For SnapVault, a special disk storage unit
must be defined (see the NetBackup Advanced Client System Administrators Guide for
SnapVault instructions).
4. Select Perform offhost backup and Use data mover. For Use data mover, pick
Network Attached Storage.
5. On the Schedule Attributes tab, select Snapshots only.
6. On the Backup Selections tab, specify the mounted file system (UNIX) or share name
(Windows), from the client perspective. For example:
On UNIX, if the data resides in /vol/vol1 on the NDMP host, and is NFS
mounted to /mnt2/home on the UNIX client, specify /mnt2/home.
On Windows, if the data resides in /vol/vol1 on the NDMP host, and is CIFS
mounted (mapped to) \\nas1\vol\vol1 on the Windows client, specify
\\nas1\vol\vol1.
Note:
Both NetBackup for NDMP and Advanced Client software must be installed and
licensed on the NetBackup server.
The client data must reside on an NDMP 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 detailed configuration requirements, see the NAS chapter of the NetBackup
Advanced Client System Administrators Guide.
For a list of supported NAS vendors for NAS snapshots and SnapVault, refer to the
NetBackup Advanced Client Configuration and Compatibility document (for access
instructions, see Advanced Client Assistance on page v).
11
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. For a restore, the data is retrieved from the snapshot.
2. To skip the backup to tape or other storage unit, select Snapshots only on the
Schedule Attributes tab.
To make a snapshot of data on a NAS host, Snapshots only must be selected.
12
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 Administrators
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, HP, AIX, or Linux NetBackup media
server (for Solaris, HP, AIX, and Linux clients only).
Third-Party Copy Device
Backup processing will be handled by a third-party copy device (for Solaris, HP, AIX,
and Linux 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.
13
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.
14
DATA MOVER
Local
Snapshot
Alternate Client
Software
Software
NetBackup
6.0 Enterprise
Advanced
Clienta
Hardware
No special
requirements
Other
NetBackup Media
Server
NetBackup 6.0
Enterprise
Advanced Clienta
OS/level on
alternate client must
be same as on
primary client
Hardware
NetBackup 6.0
Enterprise
Hardware
Advanced Clienta
Any_available
storage unit not
supported
Network Attached
Storage
Software
Software
ALL_LOCAL_
DRIVES in
Other
Backup Selections
list not supported Same as Local Snapshot,
plus:
Third-Party Copy
Device
NetBackup 6.0
Enterprise
Software
NetBackup 6.0
Enterprise
Advanced Clienta
Vendor-supplied data
mover license
Advanced
Clienta
NetBackup for
NDMP
Hardware
Same as Media Server
method, plus:
Hardware/Other
Need supported
third-party copy data
moverd
Multiplexing not
supported
15
16
A: For UNIX clients, use the update_clients command from the UNIX master server.
The following command updates all configured UNIX clients with Advanced Client
software once Advanced Client has been installed on the master server:
/usr/openv/netbackup/bin/update_clients -Install_ADC
For Windows PCs, Advanced Client software is automatically installed with the base
NetBackup software, for server and clients.
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, when an offhost backup is not
required?
A: Advanced Client.
Q: What license do I need for making a snapshot of a database client?
A: Advanced Client plus the NetBackup database agent software for your database.
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
19
20
This appendix explains how to prepare for backups that use the NetBackup Media Server
or Third-Party Copy Device method.
For assistance with the Network Attached Storage method, refer to the NetBackup
Advanced Client System Administrators Guide.
Note The information in this appendix applies to backups of UNIX clients only.
21
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).
mover.conf identifies the third-party copy devices (data movers) that execute SCSI
Extended Copy commands for the third-party copy backup. This file is easy to create,
explained below.
3pc.conf contains a list of all disk and tape devices on the SAN that NetBackup can
use for offhost backups. NetBackup automatically creates this file at the start of the
backup. If some devices do not provide identification descriptors (see Example
3pc.conf on page 24 for examples) and CommandCentral Storage (or SANPoint
Control) does not support your environment, editing the 3pc.conf file may be
necessary (see 3pc.conf file on page 23).
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
22
This command discovers third-party copy devices (data movers) on the SAN and creates a
mover.conf file with appropriate entries for each device.
Example mover.conf file:
/dev/rmt/1cbn
/dev/sg/c6t1l0
/dev/sg/c6t1l1
/dev/sg/c6t1l2
/dev/sg/c6t4l0
Before creating mover.conf, 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
On AIX
lsdev -C
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.
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
23
The bpSALinfo command discovers world-wide port numbers for the devices and
adds them to the 3pc.conf file. The bpSALinfo command requires VERITAS
CommandCentral Storage (or SANPoint Control). SPC_server identifies the host
where CommandCentral Storage/SANPoint Control is running.
Note If CommandCentral Storage/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 Administrators
Guide.
Below is an example /usr/openv/volmgr/database/3pc.conf file.
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
2 p=/dev/rdsk/c4t0d0s2 s=HP:OPEN-3:30436000000
l=0
l=0 a=500060E80276E401:0
3 p=/dev/rdsk/c4t3d1s2 s=HITACHI:OPEN-3-SUN:20461000300
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
identification descriptor
Please note:
24
For a world wide name, use the world wide port name (WWPN), not the world wide
node name (WWNN).
For configuration assistance, see the flowcharts in the SAN Configuration chapter of
the NetBackup Advanced Client System Administrators Guide.
NetBackup media
server
NetBackup
client
NetBackup
creates
3pc.conf.1
You create
mover.conf2
LAN
FC switch
Hardware
array:
May have an
embedded
data mover
Tape library:
May have an
embedded data
mover
25
26
Index
Numerics
3pc configuration 21
F
Active Directory 10
and FlashBackup 10
Advanced Client
configure policy 7
feature overview 1
E4 target 22
Extended Copy command 3, 22
FAQs 17
features, overview 1
Fibre Channel environment 25
file promotion 1
FlashBackup 1, 10
device file name 10
files to back up 10
frequently asked questions 17
H
hardware requirements 15
hardware verification 21
B
Bare Metal Restore 8
block level incremental backup (BLIB) 1, 8
block-level restore 1
bpmoverinfo command 21, 22
bpSALinfo command 24
bptpcinfo command 23, 24
I
identification descriptor 13, 22, 23, 24
installation 5
instant recovery 1
backups to disk only 12
configuration 12
volume name restriction 6
ioscan -nf 23
C
cache for FlashBackup 10
CommandCentral Storage 13, 22, 24
configuration
requirements matrix 15
snapshot wizard v, 1
copy-on-write
defined 2
L
logging directories 6
lsdev -C 23
M
mirror 2
mover.conf file 13, 21, 22
D
data mover 2, 21, 22
license 15
device file name for FlashBackup 10
directories for troubleshooting 6
drive letter for FlashBackup 10
N
NAS (Network Attached Storage) 13, 15, 17,
21
configure policy for 11
instant recovery option required 12
offhost backup type 13
27
network testing 21
snapshots 1, 2
backup configuration 9
mirror 2
SnapVault 11
software requirements 15
storage unit 21
System State 10
and FlashBackup 10
O
offhost backup 1, 2, 21
configuration 13
P
Perform block level incremental backups 8
policy
configuration 7
types supported 9
promotion, file 1
T
terminology 2
third-party copy
device configuration 21
troubleshooting
directories to create 6
R
raw partition backup 10
Registry 10
and FlashBackup 10
requirements 15
restore
block-level 1
file promotion 1
rollback 1
rollback 1
S
SANPoint Control 13, 22, 24
sgscan command 23
28
U
update_clients command 5
VSS_Transportable method
VxFS_Snapshot method 10
VxVM
W
web access to recent Advanced Client info v
WWPN 24