0% found this document useful (0 votes)
178 views

NetBackup AdminGuideII WinServer

NetBackup_AdminGuideII_WinServer

Uploaded by

r6uben
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
178 views

NetBackup AdminGuideII WinServer

NetBackup_AdminGuideII_WinServer

Uploaded by

r6uben
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 159

Symantec NetBackup

Administrator's Guide,
Volume II
Windows

Release 7.1

21159697

Symantec NetBackup Administrator's Guide, Volume


II
The software described in this book is furnished under a license agreement and may be used
only in accordance with the terms of the agreement.
Documentation version: 7.1
PN: 21159697

Legal Notice
Copyright 2011 Symantec Corporation. All rights reserved.
Symantec and the Symantec Logo are trademarks or registered trademarks of Symantec
Corporation or its affiliates in the U.S. and other countries. Other names may be trademarks
of their respective owners.
This Symantec product may contain third party software for which Symantec 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. Please see the Third Party Legal Notice Appendix
to this Documentation or TPIP ReadMe File accompanying this Symantec product for more
information on the Third Party Programs.
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
Symantec Corporation and its licensors, if any.
THE DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS,
REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT,
ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO
BE LEGALLY INVALID. SYMANTEC CORPORATION SHALL NOT BE LIABLE FOR INCIDENTAL
OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH THE FURNISHING,
PERFORMANCE, OR USE OF THIS DOCUMENTATION. THE INFORMATION CONTAINED
IN THIS DOCUMENTATION IS SUBJECT TO CHANGE WITHOUT NOTICE.
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, "Rights in
Commercial Computer Software or Commercial Computer Software Documentation", as
applicable, and any successor regulations. 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.

Symantec Corporation
350 Ellis Street
Mountain View, CA 94043
http://www.symantec.com
Printed in the United States of America.
10 9 8 7 6 5 4 3 2 1

Technical Support
Symantec Technical Support maintains support centers globally. Technical
Supports primary role is to respond to specific queries about product features
and functionality. The Technical Support group also creates content for our online
Knowledge Base. The Technical Support group works collaboratively with the
other functional areas within Symantec to answer your questions in a timely
fashion. For example, the Technical Support group works with Product Engineering
and Symantec Security Response to provide alerting services and virus definition
updates.
Symantecs support offerings include the following:

A range of support options that give you the flexibility to select the right
amount of service for any size organization

Telephone and/or Web-based support that provides rapid response and


up-to-the-minute information

Upgrade assurance that delivers software upgrades

Global support purchased on a regional business hours or 24 hours a day, 7


days a week basis

Premium service offerings that include Account Management Services

For information about Symantecs support offerings, you can visit our Web site
at the following URL:
www.symantec.com/business/support/
All support services will be delivered in accordance with your support agreement
and the then-current enterprise technical support policy.

Contacting Technical Support


Customers with a current support agreement may access Technical Support
information at the following URL:
www.symantec.com/business/support/
Before contacting Technical Support, make sure you have satisfied the system
requirements that are listed in your product documentation. Also, you should be
at the computer on which the problem occurred, in case it is necessary to replicate
the problem.
When you contact Technical Support, please have the following information
available:

Product release level

Hardware information

Available memory, disk space, and NIC information

Operating system

Version and patch level

Network topology

Router, gateway, and IP address information

Problem description:

Error messages and log files

Troubleshooting that was performed before contacting Symantec

Recent software configuration changes and network changes

Licensing and registration


If your Symantec product requires registration or a license key, access our technical
support Web page at the following URL:
www.symantec.com/business/support/

Customer service
Customer service information is available at the following URL:
www.symantec.com/business/support/
Customer Service is available to assist with non-technical questions, such as the
following types of issues:

Questions regarding product licensing or serialization

Product registration updates, such as address or name changes

General product information (features, language availability, local dealers)

Latest information about product updates and upgrades

Information about upgrade assurance and support contracts

Information about the Symantec Buying Programs

Advice about Symantec's technical support options

Nontechnical presales questions

Issues that are related to CD-ROMs or manuals

Support agreement resources


If you want to contact Symantec regarding an existing support agreement, please
contact the support agreement administration team for your region as follows:
Asia-Pacific and Japan

[email protected]

Europe, Middle-East, and Africa

[email protected]

North America and Latin America

[email protected]

Contents

Technical Support ............................................................................................... 4


Chapter 1

Capacity licensing ............................................................... 13


About capacity licensing ................................................................
Requirements ........................................................................
About Front-end Terabytes ......................................................
About capacity usage calculation tools .......................................
About using the nbdeployutil utility ................................................
Gathering capacity data ..........................................................
Reporting on the gathered data .................................................
Business unit reporting ...........................................................
About the capacity licensing report ...........................................
Factors influencing performance ..............................................
About the report ..........................................................................
Examining the results .............................................................
Verify the completeness of the report inputs ...............................
Eliminate redundant data due to client aliases and multiple IP
addresses .......................................................................
Examine the Itemization tab for flagged conditions in the
Accuracy column .............................................................
Verify correct grouping and summation of multistreamed backup
images ...........................................................................
How to reconcile the report results ..................................................
Verify completeness of the report .............................................
Locate policy full backup .........................................................
Review compressed image information ......................................
Eliminate redundant counting ..................................................
Determine affect of multistreamed backups ................................
Confirm the accuracy of any database backups ............................
Locate full backup for snapshot image .......................................

Chapter 2

13
13
14
14
15
16
17
18
19
19
20
20
20
21
21
23
23
24
24
24
24
25
25
26

Additional configuration .................................................... 27


About the vm.conf configuration file ............................................... 27
ACS_mediatype entry in vm.conf .............................................. 27
ACS_SEL_SOCKET entry in vm.conf .......................................... 28

Contents

ACS_SSI_HOSTNAME entry in vm.conf ......................................


ACS_SSI_SOCKET entry in vm.conf ...........................................
ADJ_LSM entry in vm.conf .......................................................
API_BARCODE_RULES entry in vm.conf ....................................
AUTHORIZATION_REQUIRED entry in vm.conf ..........................
AUTO_PATH_CORRECTION entry in vm.conf .............................
AUTO_UPDATE_ROBOT entry in vm.conf ..................................
AVRD_PEND_DELAY entry in vm.conf .......................................
AVRD_SCAN_DELAY entry in vm.conf .......................................
CLEAN_REQUEST_TIMEOUT entry in vm.conf ............................
CLIENT_PORT_WINDOW entry in vm.conf .................................
CLUSTER_NAME entry in vm.conf ............................................
CONNECT_OPTIONS entry in vm.conf .......................................
DAS_CLIENT entry in vm.conf ..................................................
DAYS_TO_KEEP_LOGS entry in vm.conf ....................................
EMM_RETRY_COUNT entry in vm.conf ......................................
EMM_CONNECT_TIMOUT entry in vm.conf ................................
EMM_REQUEST_TIMOUT entry in vm.conf ................................
ENABLE_ROBOT_AUTH entry in vm.conf ...................................
INVENTORY_FILTER entry in vm.conf .......................................
MAP_ID entry in vm.conf ........................................................
MAP_CONTINUE_TIMEOUT entry in vm.conf .............................
MEDIA_ID_BARCODE_CHARS entry in vm.conf ...........................
MEDIA_ID_PREFIX entry in vm.conf .........................................
MM_SERVER_NAME entry in vm.conf .......................................
PREFERRED_GROUP entry in vm.conf .......................................
PREVENT_MEDIA_REMOVAL entry in vm.conf ...........................
RANDOM_PORTS entry in vm.conf ...........................................
REQUIRED_INTERFACE entry in vm.conf ...................................
SERVER entry in vm.conf ........................................................
SSO_DA_REREGISTER_INTERVAL entry in vm.conf ....................
SSO_DA_RETRY_TIMEOUT entry in vm.conf ..............................
SSO_HOST_NAME entry in vm.conf ..........................................
TLH_mediatype entry in vm.conf ..............................................
TLM_mediatype entry in vm.conf ..............................................
VERBOSE entry in vm.conf ......................................................
Example vm.conf file ..............................................................
Host name precedence in the vm.conf file ...................................
About multiple NetBackup master servers ........................................
About multiple media servers with one master server .........................
About software on each server ..................................................
About NetBackup catalogs .......................................................
About direct I/O for backups ..........................................................

28
28
29
30
30
31
31
32
32
32
33
33
33
34
34
35
35
35
36
36
36
37
37
38
39
39
39
40
40
40
41
41
42
42
42
42
43
43
43
44
46
46
46

Contents

Disabling direct I/O ................................................................


About dynamic host name and IP addressing .....................................
About setting up dynamic IP addresses and host names ................
Configuring the NetBackup master server ...................................
bpclient commands that control client entries .............................
Configuring a dynamic Microsoft Windows client ........................
Configuring a dynamic UNIX NetBackup client ............................
About specifying the locale of the NetBackup installation ....................
Exporting PureDisk data to NetBackup .............................................
Required software and licenses .................................................
Exporting PureDisk data ..........................................................
Restoring PureDisk export data ................................................
About NearStore storage unit configuration .....................................
Software, hardware, and licenses required for NearStore
configuration ..................................................................
Preparing a volume previously configured for SnapVault to
support NearStore storage units .........................................
Advantages of NearStore disk storage units ................................
NearStore restrictions in the current release ..............................
Preparing a NearStore configuration .........................................
NearStore disk storage unit properties ......................................
Viewing the backup image on a NearStore storage unit .................
About NearStore disk consumption ...........................................
Disaster recovery by using volume SnapMirror on NearStore
disk storage units ............................................................
NearStore troubleshooting log locations ....................................
Licensing and permissions on NearStore storage units .................
About NearStore disk full conditions .........................................
About the NearStore file system export mode .............................

Chapter 3

47
47
49
50
52
52
53
55
56
56
56
58
59
60
61
62
63
64
67
71
71
72
80
80
81
81

Reference topics .................................................................. 83


Host name rules ...........................................................................
How NetBackup uses host names ..............................................
Updating NetBackup after changing the host name ......................
Special considerations for Domain Name Service (DNS) ................
About reading backup images with tar .............................................
Consequences of using a non-NetBackup tar ...............................
About the files that tar generates ..............................................
Factors that affect backup time .......................................................
Total amount of data to back up ................................................
Transfer rate .........................................................................
Methods for determining the NetBackup transfer rate ........................

83
84
85
86
88
88
89
89
90
90
91

10

Contents

Examples of reports that provide backup data to calculate


transfer rates .................................................................. 92
Using the System Monitor with NetBackup ................................. 94
NetBackup notify scripts ............................................................... 95
backup_notify.cmd on Windows ............................................... 97
backup_exit_notify.cmd on Windows ........................................ 97
backup_exit_notify ................................................................. 98
bpstart_notify (UNIX clients only) ............................................. 99
bpstart_notify.bat (Microsoft Windows clients only) ................... 102
bpend_notify (UNIX clients only) ............................................. 104
bpend_notify.bat (Microsoft Windows clients only) ..................... 106
diskfull_notify.cmd on Windows ............................................. 109
mail_dr_info.cmd ................................................................. 109
media_deassign_notify .......................................................... 110
nbmail.cmd ......................................................................... 110
parent_end_notify.cmd on Windows ....................................... 111
parent_end_notify ................................................................ 111
parent_start_notify.cmd on Windows ...................................... 112
pending_request_notify ......................................................... 113
restore_notify.cmd on Windows ............................................. 113
session_notify.cmd on Windows ............................................. 113
session_start_notify.cmd on Windows ...................................... 113
shared_drive_notify.cmd on Windows ..................................... 114
userreq_notify.cmd on Windows ............................................ 114
Media and device management best practices .................................. 115
Media management best practices ........................................... 116
Device management best practices .......................................... 116
Media and device performance and troubleshooting ................... 117
About TapeAlert ......................................................................... 117
About TapeAlert cleaning (reactive cleaning) ............................. 118
About TapeAlert and frequency-based cleaning ......................... 118
About TapeAlert requirements ................................................ 118
TapeAlert logs and codes ....................................................... 119
About tape drive cleaning ............................................................ 122
About library-based cleaning .................................................. 122
About frequency-based cleaning ............................................. 123
About operator-initiated cleaning ............................................ 123
About using a cleaning tape .................................................... 124
How NetBackup selects drives ....................................................... 124
How NetBackup reserves drives .................................................... 125
About SCSI persistent reserve ................................................. 126
About the SPC-2 SCSI reserve process ...................................... 128
About SCSI reserve requirements ............................................ 131

Contents

About SCSI reserve limitations ................................................


About SCSI reservation logging ...............................................
About server operating system limitations ................................
About checking for data loss ...................................................
About checking for tape and driver configuration errors ..............
About configuring SCSI reserve ...............................................
How NetBackup selects media .......................................................
About selecting media in robots ..............................................
About selecting media in standalone drives ...............................
Volume pool and volume group examples .......................................
Media formats ...........................................................................
Media Manager commands ...........................................................

Chapter 4

132
132
132
133
133
134
134
135
138
140
143
146

UNIX reference topics ....................................................... 149


About exclude and include lists on UNIX clients ...............................
Syntax rules for exclude lists ..................................................
Example of an exclude list ......................................................
Exclude lists for specific policies or schedules ............................
About creating an include list on a UNIX client ..........................
Schedules for user backups or archives ...........................................

149
150
151
152
152
153

Index ................................................................................................................... 155

11

12

Contents

Chapter

Capacity licensing
This chapter includes the following topics:

About capacity licensing

About using the nbdeployutil utility

About the report

How to reconcile the report results

About capacity licensing


Capacity licensing is based on the total amount of data that is protected by
NetBackup. This model differs from other NetBackup license models which are
based on total clients or on total storage capacity. The total amount of protected
data is calculated based on the backup image header information in the NetBackup
catalog. Capacity information is gathered and a report is generated. The
information in the report is then reconciled with actual capacity in use. This
information then forms the basis for license fees.

Requirements
To run the capacity licensing utility, the master server must meet the following
requirements

A NetBackup master server running NetBackup 6.5 or later. This licensing


model does not apply to NetBackup versions earlier than 6.5. You can run this
utility from any master or any media server in the environment.

A tool for reading .xls files. Symantec tested the utility with Microsoft Excel,
but any tool for reading and editing .xls files should work.

14

Capacity licensing
About capacity licensing

About Front-end Terabytes


The licensing fees for the use of NetBackup are based on the total number of
Front-End Terabytes (FETBs) protected by NetBackup. Front-End Terabyte
Calculation is a way of determining the total terabytes of data NetBackup protects.
A Front-End Terabyte (FETB) is one terabyte of protected data. The data can either
be on clients or devices where the software is installed or where the software is
used to provide backup functionality.
The utility examines the image headers in the NetBackup catalog to determine
the terabytes of data that NetBackup protects. Any partial terabytes of data are
rounded up to the next whole terabyte. The final total is the sum of the FETBs for
each client/policy combination that the analyzer examines. The utility measures
the actual data protected. It does not measure the capacity of the storage where
the data resides or the total amount of data that is stored on the device.
Consider the following:

Assume a device with 100 TB of total storage capacity.

A total of 65 TB of the total capacity is in use.

NetBackup protects a total of 60 TB of the used data through multiple backup


storage units.

That is measured as 60 TB of front-end capacity.

The total terabytes of front-end capacity are independent of the number of copies
NetBackup makes. A backup of 200 TB to basic disk with two copies to tape is still
only 200TB of front-end capacity.

About capacity usage calculation tools


NetBackup provides three methods to calculate capacity usage.
OpsCenter

Provides a GUI interface useful for multi-server environments.

nbdeployutil

Provides a command-line access to capacity usage. It provides a


richer set of input parameters and is highly customizable.
nbdeployutil can also be used for business unit reporting.
The utility generates a Microsoft Excel spreadsheet which you can
review and modify if capacity is over counted.

Capacity licensing
About using the nbdeployutil utility

PureDisk reports

The nbdeployutil utility calculates capacity usage for some types


of PureDisk backups. When PureDisk is used as a disk storage unit
for NetBackup (the PureDisk Deduplication Option), the utility
calculates the capacity used.
When PureDisk clients back up to a PureDisk storage pool authority
and NetBackup is not involved, the nbdeployutil binary cannot
be used. The binary cannot be used because no NetBackup master
server is present. In the PureDisk only environment, refer to the
Capacity Usage Report. Refer to the Reports chapter of the Symantec
NetBackup PureDisk Administrator's Guide for more information
about the Capacity Usage Report.
Environments where the PureDisk storage pool authority is
responsible for the backup of both PureDisk and NetBackup clients
require additional manual steps. You must look at the PureDisk Data
Mining Report (Reports > Data Mining Report) and manually add
all the Total Size on Source values for each PureDisk data selection.

Symantec has setup a Web site for updates and the most recent information about
the nbdeployutil utility.
http://www.symantec.com/docs/TECH145972

About using the nbdeployutil utility


The utility performs two steps. Data is gathered in the first step and analyzed in
the second.
Table 1-1 describes the tasks to prepare a capacity deployment analysis report.
Table 1-1

Process overview to prepare a capacity deployment analysis report

Task
Number

Description

Task 1

Gather catalog data from one or more master servers.


The nbdeployutil utility can gather data remotely for multiple master
servers from a central location, provided the remote master servers have
granted the initiating server access. The utility supports remotely collecting
capacity data from back-level master servers (NetBackup 6.5 and later).
See Gathering capacity data on page 16.

15

16

Capacity licensing
About using the nbdeployutil utility

Process overview to prepare a capacity deployment analysis report


(continued)

Table 1-1

Task
Number

Description

Task 2

Report on the gathered data.


The nbdeployutil utility can create three different types of reports.

A roll-up report for all gathered data

A report per master server

A report for a specific set of clients (e.g., a business unit level report)

See Reporting on the gathered data on page 17.


Task 3

Examine the results and make adjustments.


See About the capacity licensing report on page 19.

Gathering capacity data


The nbdeployutil utility contains the following options for collecting capacity
data:
nbdeployutil --gather [--bpimagelist=options] [--capacity]
[--client hostname1, [hostname2, hostname#] | --clientlist=filename]
[--hoursago=number] [--log=filename] [--master=hostname] [--nolog]
[--output=directory] [--runtimestats] [--start date [--end date]]
[--traditional]

Refer to the NetBackup Commands Reference Guide for a complete description of


the parameters.
You can gather capacity data for:

A single master server

A remote master server

A specific set of clients

Example 1 - Gather capacity information for the local master server


# nbdeployutil --gather
NetBackup Deployment Utility, version 7.1.0000.0000
Gathering license deployment information...
Discovered master server marybl2g1
Output for marybl2g1 at: D:\Program Files\VERITAS\netbackup\
var\global\reports\20101029_170534_marybl2g1

Capacity licensing
About using the nbdeployutil utility

Gather DONE
Execution time: 1 min
To create a report for this master server, run the following:
nbdeployutil.exe --report "D:\Program Files\VERITAS\netbackup\
var\global\reports\20101029_170534_marybl2g1"

The utility generates a log file named nbdeployutil-gather-timestamp.log


during the gathering operation. By default, the log file is created in the directory
where the gathered data resides.
Example 2 - Gather capacity information for a remote master server
# nbdeployutil --gather --master=sidon.example.com

Example 3 Gather capacity information for a subset of clients that the local
master server protects
# nbdeployutil --gather --client=dynamo,lettuce,marble2

or
# nbdeployutil --gather --clientlist=filename.txt

Reporting on the gathered data


The nbdeployutil utility contains the following options for generating a capacity
report:
nbdeployutil --report [--capacity]
[dir1 dir2 dir# | --dirsfile=filename | --parentdir=directory]
[--log=filename] [--nolog] [--runtimestats] [--traditional]

Refer to the NetBackup Commands Reference Guide for a complete description of


the parameters.
You can generate a report for:

A single master server

Several master servers

A specific subset of clients. For example, a report that contains capacity usage
for business unit billing.
More information about this option is available.
See Business unit reporting on page 18.

Example 1 - Generate a report using data that is collected for the local master
server

17

18

Capacity licensing
About using the nbdeployutil utility

This example is a continuation of Example 1 from the previous topic.


D:\>nbdeployutil.exe --report "D:\Program Files\VERITAS\netbackup\
var\global\reports\20101029_170534_marybl2g1"
NetBackup Deployment Utility, version 7.1.0000.0000
Analyzing license deployment for master marybl2g1 ...
Report created at: D:\Program Files\VERITAS\netbackup\var\global\
reports\20101029_170534_marybl2g1\report-20101029_170705.xls
Analysis DONE
Execution time: 27 secs

The utility generates a log file named nbdeployutil-report-timestamp.log


during the analysis and the report generating operation. By default, the log file
is created in the directory where the gathered data resides.
Example 2 Generate a roll-up report for several master servers
This example assumes that you have gathered the respective master servers data
in directories master1dir, master2dir, master3dir. These directories all reside
within a parent directory named EMEA-domains. The output (report and log file)
is saved to the EMEA-domains directory.
# nbdeployutil --report --parentdir=EMEA-domains

This variation creates a report for a smaller set of master servers and specifies a
different directory for the output.
# mkdir UK-masters
# nbdeployutil --report EMEA-domains/master1dir EMEA-domains/master2dir
--output=UK-masters

Business unit reporting


The utility can be used to examine a specific set of clients in detail.
Example - Gather data for a subset of clients for a time frame different than the
default.
nbdeployutil.exe --gather --output BusinessUnitFinance --start "11/01/10
06:00:00" --end "11/02/10 01:00:00" --clients marybl2g1,marybl7g1
--verbose

To create a report for these clients, run the following:


nbdeployutil.exe --report "BusinessUnitFinance\20101102_155246_marybl2g1"

Capacity licensing
About using the nbdeployutil utility

About the capacity licensing report


This topic provides a brief explanation of how to interpret the capacity license
report. This topic also details how to make the corrections that reflect your backup
environment configuration. The utility examines the image headers in the
NetBackup catalog to determine the amount of data NetBackup protects. How you
configure your client policy and schedule settings can affect the results. The data
that is retrieved during the data collection phase can also affect the results.
The capacity license deployment report is an Excel spreadsheet with four tabs:

Summary
This tab shows the final figures, an overview of the basis for the report (data
source), and a breakdown of the source of the capacity. The capacity breakdown
includes a reporting by policy type and largest clients.
See Verify the completeness of the report inputs on page 20.

Itemization
This tab shows a table similar to the line itemization you see in your credit
card bill. Each line is a charge that contributes to the final total. Each line lists
the capacity that is calculated for a client/policy combination.
See Examine the Itemization tab for flagged conditions in the Accuracy
column on page 21.

Interpreting the Results


This tab shows descriptive text. The tab contains an explanation for how to
examine the report and make adjustments as needed based on the unique
properties of the configuration.
See Examine the Itemization tab for flagged conditions in the Accuracy
column on page 21.

Disclaimer
This tab shows text explaining the limits of the reports calculations and proper
use of the data. For example, the figures should not be used to audit compliance.

Factors influencing performance


The performance of the nbdeploytuil utility is dependent on the system running
it as well as the size of the NetBackup catalog. The gather command only executes
as quickly as the bpimagelist command can run for 30 days worth of images.
The speed of report generation is dependent on the number of images and
fragments. The operating system running the command also affects the utilitys

19

20

Capacity licensing
About the report

performance. Preliminary testing at Symantec indicates this utility runs faster


on Linux computers than on Windows computers.

About the report


The utility generates a report in a Microsoft Excel format. This topic reviews the
different tabs in the report and provides an overview on the process of reconciling
the report with the actual NetBackup environment.

Examining the results


Examining the deployment analysis results is a four step process.
Examining the report

Verify the completeness of the report inputs.


See Verify the completeness of the report inputs on page 20.

Eliminate redundant data due to client aliases and multiple IP addresses.


See Eliminate redundant data due to client aliases and multiple IP addresses
on page 21.

Examine the Itemization tab for flagged conditions in the Accuracy column.
See Examine the Itemization tab for flagged conditions in the Accuracy
column on page 21.

Verify correct grouping and summation of multistreamed backup images.


See Verify correct grouping and summation of multistreamed backup images
on page 23.

Verify the completeness of the report inputs


The top of the reports Summary tab shows the basis for the report's information.
Examine the section marked Analyzed to verify the completeness of the gathered
data upon which the report is based.
The Analyzed section displays the following:

The master server(s) included in the report.

The date range for catalog data.

The number of clients and policies that are seen in the catalog output.

Capacity licensing
About the report

If the client and the policy counts are low, the report may be based on the data
that was gathered with narrower, non-default inputs. The analyzer gathers 30
days worth of catalog data for all clients by default.
The Input Directory column displays the path to the gathered data. Within that
directory is the nbdeployutil-gather-timestamp.log file. If non-default inputs
were used in the collection of catalog data, the log file displays this information.

Eliminate redundant data due to client aliases and multiple IP


addresses
The analyzer performs calculations based on the client name as stored in the
catalog. Clients that are backed up by multiple aliases or multiple IP addresses
are not collapsed into a single entry. For ease of accountability, the Itemization
tab lists all client aliases and IP addresses used for backup separately. In some
jurisdictions, the collection of the system IP address may be subject to regulation
as personal data.
Determine where multiple client/policy lines refer to the same data set backed
up through different interfaces. Make adjustments to the Charged Size value for
all but one of the client/policy lines. We recommend retaining the value that is
most recent. Annotate the duplicate client itemizations with a comment within
the adjacent Reason cell. Indicate that the client's value is already counted under
a different hostname. Please reference the hostname.
See Eliminate redundant counting on page 24.

Examine the Itemization tab for flagged conditions in the Accuracy


column
The reports Itemization tab shows the calculated capacity for each client/policy
combination. The report flags conditions that have the potential to over count or
to under count capacity. These conditions are identified in the Accuracy and
Accuracy Comment columns.

21

22

Capacity licensing
About the report

Possible overlap - Client appears in multiple policies


A client in multiple backup policies has the potential to have the same data
backed up more than once. Compare the policy types and names to determine
if the case warrants a detailed examination of the respective policies' backup
selections.
See Eliminate redundant counting on page 24.

Database estimation - database size estimated via UBAK summation


The size of databases that a NetBackup database agent protects cannot be
determined with certainty. Third party components external to NetBackup
(e.g., RMAN) govern the composition of database backups.
The third-party component determines the number of backup streams and
the contents of each stream. These backups are recorded as user-initiated
backup images, i.e., UBAKs. NetBackup does not initiate backup streams, nor
does it know each streams relationship to the underlying database. Therefore
the information in the catalog does not provide a single, clear, undisputable
figure for the total size.
In these cases, the analyzer calculates an estimation upon which to base
follow-on examinations. The analyzer uses the image header information to
determine the total terabytes of data that were backed up each day within the
date range examined. A day is defined as the 24 hour period from midnight to
midnight. The analyzer sums all full and user-initiated backups that started
within that period. The day with the largest total volume of protected data
during the range that is examined is assumed to be the day when a full backup
of the database was performed. This figure that is returned is an estimate of
the approximate size of active data under protection for the client and policy.
See Confirm the accuracy of any database backups on page 25.

Undiscoverable - No full backup found within range analyzed


The catalog has only incremental backups for the range analyzed. That error
may indicate that a full backup falls outside the report's range or that a full
backup does not exist.
See Locate policy full backup on page 24.

Compressed Image
The client's data was sent to NetBackup in compressed form. The actual size
cannot be determined with certainty. For all compressed backup images, the
analyzer multiplies the final backup image size by a fixed value (the

Capacity licensing
How to reconcile the report results

compression ratio). The value of the compression ratio is listed on the Summary
tab.
See Review compressed image information on page 24.

Size unavailable Only snapshot is present


The catalog has only snapshots for the range analyzed. The analyzer requires
a backup image of the snapshot in order to have an accurate figure for the
client's protected capacity.
See Locate full backup for snapshot image on page 26.

Possible multi-stream backup detected


The size of clients protected by multi-stream backups is the total of all backup
images created by all streams.
See Determine affect of multistreamed backups on page 25.

Verify correct grouping and summation of multistreamed backup


images
When a client is backed up by multiple streams, the clients size is equal to the
total of all backup images created by all streams. Job throttles on the policy, the
client, and the storage unit hinder the utilitys ability to group the streams with
certainty. For example, instead of starting within minutes of one another a subset
of the backup streams may start in a different day than the rest of the backup
streams. Because the utility sums only the backup images from streams that
originate within the same 24 hour period (midnight to midnight), these streams
are counted in separate days. Manually initiating a second full backup within the
same day also skews the results. Streams from both backups are counted together
as a group.
See Determine affect of multistreamed backups on page 25.

How to reconcile the report results


After you use the utility with the --report option, it generates a spreadsheet.
After reviewing the resulting spreadsheet you can either:

Accept the generated information without changes as the basis for license
charges.

Make changes and note the reason for the change.

As you make changes to the spreadsheet it is important to assess when any


additional changes are no longer meaningful. Since licensing charges are assessed
on a per terabyte basis, it may not be beneficial to dispute charges for a few
gigabytes of information. You may wish to sort the clients by their backup size

23

24

Capacity licensing
How to reconcile the report results

and focus on the largest backups first. Sorting by backup size provides two benefits.
First, your efforts are initially focused on the largest clients. Second, if there are
clients backing up only a few kilobytes, these backups may not capture the correct
information. You may have important data which is unprotected.

Verify completeness of the report


On the Summary tab, look at the information under Analyzed. Confirm the master
server or servers is correct, as well as the date, client, and policy information.

Locate policy full backup


On the Itemization tab, sort the list by Accuracy Column. For all lines with
Undiscoverable, manually query the NetBackup catalog to determine if a full
backup can be found. A full backup may exist in a time period that precedes the
period the analyzer examined. Rerun the utility with specific options to restrict
the collection and reporting to the specific client and a specific date range within
which the full backup(s) fall. Alternatively, manually examine the client system
to determine the size of data that would be backed up with the backup policy's
selections and settings.

Review compressed image information


On the Itemization tab, sort the list by Accuracy Comment. For any compressed
images, review the Charged Size column and confirm the correct information is
displayed. If the information is inaccurate, change the Charged Size column, and
add a note to the Enter a Reason here when modifying the Charged Size column
explaining the change.

Eliminate redundant counting


On the Itemization tab, sort the list by Client Name and search for the use of
hostname aliases. Look for instances where the itemization table lists the same
client multiple times under the same policy but with a different hostname alias.
If that occurs, zero out the Charged Size column for the lines with an earlier
backup date. Then add a note to the Enter a Reason here when modifying the
Charged Size column explaining why the Charged Size value is zero.
For some Oracle RAC backups, the presence of itemizations under different aliases
can reflect the backup of different data sets. If you zero out the Charged Size the
protected data is under counted.
If a client is found in more than one policy, confirm those policies do not have
overlapping backup selections. If the backup selections overlap, find the redundant

Capacity licensing
How to reconcile the report results

backup policies in the Itemization tab. Then make adjustments to the Charged
Size value. Decrement the size by the value of the redundant backup selection
and add a comment within the adjacent Reason cell.

Determine affect of multistreamed backups


On the Itemization tab, sort the list by Accuracy Comment. Find all backups that
list Possible multi-stream backup detected under Accuracy Comment and make
note of the policy name under the Policy Name column. Then open the log file
that was generated when the nbdeployutil --report command ran. By default,
the log file is in the directory where the gathered report is located.
Note: If OpsCenter generated the report, the log file is found on the OpsCenter
server. The email with the report results contains a link to the log file location.
The log file name is in the format nbdeployutil-report-timestamp-log.
In the log file, find the policy name for the policy in question and look at the
corresponding MAX value. The excerpt from a log file that is shown highlights
the information discussed.
Analyzing backups for policy <policy_name>, client <client_name>
Analyzing schedule Full
MAX 2010-09-01

14.6 T
21.7
1.0
793.1
1.2
1.5

G
T
G
T
T

(multiple backups

(client_name_1283295642)
(client_name_1283295643)
(client_name_1283295644)
(client_name_1283295645)
(client_name_1283295647)

09:00:42
09:00:43
09:00:45
09:00:48
09:00:49

Confirm this information is correct for the policy. If the information is inaccurate,
change the Charged Size column, and add a note to the Enter a Reason here when
modifying the Charged Size column explaining the change.

Confirm the accuracy of any database backups


You reconcile database backups the same way you reconcile multistream backups.
Find the policy name in the spreadsheet and locate the analyzed information in
the nbdeployutil-report-timestamp.log file. Does the chosen day appear to
correspond to a day upon which the complete database was backed up? If the
information is inaccurate, change the Charged Size column, and add a note to the
Enter a Reason here when modifying the Charged Size column explaining the
change.

25

26

Capacity licensing
How to reconcile the report results

Locate full backup for snapshot image


Examine the backup policy attributes to determine if a backup image is ever created
from the snapshot. If it is, rerun the analyzer with specific options to restrict the
collection and reporting to the specific client with a longer date range to find a
full backup of the snapshot. If a backup image is never created from the snapshot,
manually examine the snapshot or the client system to determine the size of the
data.
Note: The log file that is associated with this report shows snapshot information.

Chapter

Additional configuration
This chapter includes the following topics:

About the vm.conf configuration file

About multiple NetBackup master servers

About multiple media servers with one master server

About direct I/O for backups

About dynamic host name and IP addressing

About specifying the locale of the NetBackup installation

Exporting PureDisk data to NetBackup

About NearStore storage unit configuration

About the vm.conf configuration file


The vm.conf file contains configuration entries for media and device management.
NetBackup can create this file, but if it does not exist, you must create it.
pathname is install_path\Volmgr\vm.conf.
Various NetBackup components read this configuration file on the host where
the component runs. The NetBackup component is a command, daemon, process,
or utility. The host can be a NetBackup administration client or a server where
administration operations are requested.
See Example vm.conf file on page 43.

ACS_mediatype entry in vm.conf


This configuration entry applies only to NetBackup Enterprise Server as follows:

28

Additional configuration
About the vm.conf configuration file

ACS_mediatype = Media_Manager_mediatype

If this entry is used in vm.conf, the ACS media type is mapped to the specified
Media Manager media type. More than one ACS_mediatype entry can be specified.
This entry is read and interpreted on the host on which vmcheckxxx and vmupdate
run during a robot inventory operation. Use this entry on every NetBackup media
server that functions as an ACS robot control host.
A list of the valid ACS_mediatype entries is available.
See the NetBackup Administrators Guide, Volume I.

ACS_SEL_SOCKET entry in vm.conf


This configuration entry applies only to NetBackup Enterprise Server as follows:
ACS_SEL_SOCKET = socket_name

By default, acssel listens on socket name 13740. If this entry is specified in


vm.conf, the default can be changed. This entry is read and interpreted on the
host on which acsd runs.

ACS_SSI_HOSTNAME entry in vm.conf


This configuration entry applies only to NetBackup Enterprise Server as follows:
ACS_SSI_HOSTNAME = host

Use ACS_SSI_HOSTNAME to specify the host to which RPC return packets from ACS
library software are routed for ACS network communications. By default, the local
host name is used. This entry is read and interpreted on the host on which acsd
and acsssi run. Do not use the IP address of the host for this parameter.

ACS_SSI_SOCKET entry in vm.conf


This configuration entry applies only to NetBackup Enterprise Server as follows:
ACS_SSI_SOCKET = ACS_library_software_hostname socket_name

Valid value for ACS_library_software_hostname is the host name of the ACS library
host. Do not use the IP address of the ACS library host for this parameter.
By default, acsssi listens on unique, consecutive socket names; the names begin
with 13741. If this entry is specified in vm.conf, specify socket names on an ACS
library software host basis. This entry is read and interpreted on the host where
acsd and acsssi are running.

Additional configuration
About the vm.conf configuration file

ADJ_LSM entry in vm.conf


This configuration entry applies only to NetBackup Enterprise Server as follows:
ADJ_LSM = robot_num ACS_ID,LSM_ID ACS_ID,LSM_ID

In an ACS robot with multiple library storage modules (LSMs), pass-through


mechanisms can move ejected media to the media access port (MAP). A
pass-through mechanism passes media from one LSM to another. This travel time
can be excessive when media must pass through several LSMs.
Use this entry to specify the physical orientation of the LSMs in an ACS robot. If
this entry is specified in vm.conf, you do not need to know which MAP (or ACS
CAP) to select for efficient ejects. NetBackup determines the appropriate MAP to
complete the media eject by using a nearest-MAP algorithm.
This nearest-MAP algorithm is based on the physical orientation of the LSMs that
defined with this entry. This algorithm is only for the cases where more than one
MAP is requested to handle the eject. If this algorithm is used, any MAP_ID entries
in vm.conf are ignored.
Note: nearest-MAP capability is only available by using the vmchange command
with the -map option or the Vault administrative interface. It is not available from
the NetBackup Administration Console.
Without this entry present, NetBackup assumes that all LSMs are interconnected
with pass-through ports, except for the first LSM and the last LSM. The LSMs are
interconnected in a line formation.
robot_num is the robot number. ACS_ID and LSM_ID are the coordinates of the
LSM.
Figure 2-1 is a diagram of LSM interconnections that are described by the following
entries:
ADJ_LSM
ADJ_LSM
ADJ_LSM
ADJ_LSM
ADJ_LSM
ADJ_LSM
ADJ_LSM
ADJ_LSM

=
=
=
=
=
=
=
=

700
700
700
700
700
700
700
700

0,0
0,0
0,1
0,1
0,2
0,2
0,3
0,4

0,1
0,6
0,2
0,6
0,6
0,3
0,4
0,5

The robot has pass-through mechanisms between 7 LSMs.

29

30

Additional configuration
About the vm.conf configuration file

Figure 2-1

Pass-through example

Interconnections for
Robot 700

6
3

5
4

API_BARCODE_RULES entry in vm.conf


This configuration entry applies only to NetBackup Enterprise Server as follows:
API_BARCODE_RULES

If this entry is specified in vm.conf, barcode rule support for API robots is enabled.
NetBackup barcode rules allow default media mappings to be overridden. Barcode
rules are especially useful when multiple generations of the same tape drive use
the same type of media.
For example STK 9940A and STK 9940B drives use STK1R media, but write data
at different densities. The drive must be configured by using different drive types
such as HCART or HCART2. Specify a barcode rule for a series of bar codes to
configure some of the media as HCART2. Other STK1R media not in this barcode
range are configured as HCART (the default for STK1R). Without this entry, a
robot inventory operation configures all media of type STK1R as either HCART
or HCART2, depending on how the drive was configured.

AUTHORIZATION_REQUIRED entry in vm.conf


This entry specifies that NetBackup should use the vm.conf file SERVER entry to
control which hosts can monitor and control devices on this host. This entry is
read and interpreted on the media server on which the NetBackup vmd service
runs, as follows:
AUTHORIZATION_REQUIRED

Additional configuration
About the vm.conf configuration file

If this entry is specified in vm.conf, the vm.conf file also must include a SERVER
entry for every media server that controls devices on this host.
If no AUTHORIZATION_REQUIRED entry exists and no SERVER entries exist, any
NetBackup server can monitor and control devices on this host.
For maximum security, Symantec recommends that you use this entry and SERVER
entries.
This entry is read and interpreted on media servers on which the NetBackup vmd
service runs.

AUTO_PATH_CORRECTION entry in vm.conf


If this entry is specified in vm.conf, it specifies whether automatic device path
remapping is enabled or disabled, as follows:
AUTO_PATH_CORRECTION = YES|NO

If the value is NO, the device configuration remains unchanged when the
NetBackup Device Manager service (ltid) is started. Therefore, the saved device
configuration may be different than the actual configuration after devices are
changed and the server is restarted.
If the value is YES, NetBackup tries to discover attached devices and then
automatically update the device configuration for any device paths that are
incorrect. On Windows computers, this entry is read and interpreted on the host
on which the NetBackup Device Manager service runs. On UNIX and Linux
computers, this entry is read and interpreted on the host on which ltid runs.
Device path remapping is enabled by default on Windows and Linux servers. It is
disabled by default on all other servers.

AUTO_UPDATE_ROBOT entry in vm.conf


Use this entry to inject media automatically from the Media Access Port (MAP)
into a TL8 or TLD robot and update the EMM database. Media are injected if the
robot generates a unit attention message.
AUTO_UPDATE_ROBOT

This entry only operates with the TL8 or TLD robots that post a unit attention
when their MAP is opened.
Symantec recommends that this entry not be used with partitioned libraries. Most
robotic libraries with multiple partitions do not post a unit attention when the
MAP is opened.

31

32

Additional configuration
About the vm.conf configuration file

AVRD_PEND_DELAY entry in vm.conf


If this entry is specified in vm.conf, avrd waits number_of_seconds before it
displays a pending status (PEND) in the Device Monitor. This entry is read and
interpreted on the host on which avrd runs.
AVRD_PEND_DELAY = number_of_seconds

On some server operating systems (Windows and HP-UX), NetBackup reports


PEND if the drive reports Busy when a volume is unmounted. Use this entry to
minimize the display of this misleading status.
minimum for number_of_seconds is zero. The maximum is 255. The default value
is 180 seconds.

AVRD_SCAN_DELAY entry in vm.conf


If this entry is specified in vm.conf, avrd waits number_of_seconds between normal
scan cycles. This entry is read and interpreted on the host on which avrd runs.
AVRD_SCAN_DELAY = number_of_seconds

Use this entry to minimize tape mount times. Without this entry, NetBackup
delays mount requests by an average of 7.5 seconds.
The minimum for number_of_seconds is 1. The maximum is 180. A value of zero
converts to one second. The default value is 15 seconds. If a value is used that is
greater than the default, NetBackup delays mount requests and drive status
updates in the Device Monitor.
Note: If number_of_seconds is set to a value that allows media to be changed within
one scan cycle, NetBackup may not detect media changes. Data loss may occur.

CLEAN_REQUEST_TIMEOUT entry in vm.conf


Use this entry to specify how long NetBackup waits for a drive to be cleaned before
it removes the cleaning request from the cleaning queue. Unprocessed requests
to clean a drive are removed from the queue after 30 minutes.
CLEAN_REQUEST_TIMEOUT = minutes

minutes can be from 1 to 144000 (100 days). The default value is 30 and a value
of zero converts to the default value of 30.

Additional configuration
About the vm.conf configuration file

CLIENT_PORT_WINDOW entry in vm.conf


Use this entry to specify the range of non-reserved ports on this host that are
used to connect to vmd on other hosts. This entry is read and interpreted on the
host on which vmd runs.
CLIENT_PORT_WINDOW = start end

For example, the following entry permits ports from 4800 through 5000:
CLIENT_PORT_WINDOW = 4800 5000

The operating system determines the non-reserved port to use in the following
cases:

A CLIENT_PORT_WINDOW entry is not specified.

A value of zero is specified for start.

CLUSTER_NAME entry in vm.conf


CLUSTER_NAME = cluster_alias

This entry specifies the virtual name for the media server on which the vm.conf
file resides.
See Host name precedence in the vm.conf file on page 43.

CONNECT_OPTIONS entry in vm.conf


This entry only affects connections to NetBackup 7.0 and earlier. For connections
to NetBackup 7.0.1 and later, the veritas_pbx port is used.
Add this entry in vm.conf to specify the options that enhance firewall efficiency
with NetBackup. Server connection options can be any of the following: use vnetd
or the daemons port number, use only vnetd, or use only the daemons port
number.
CONNECT_OPTIONS = server_name 0 0 [0|1|2]
CONNECT_OPTIONS entries can be specified for multiple servers.
server_name is the name of the media server to connect to.

The first and second options currently are not used. Specify zero for these options.
The third option specifies the connection method to use to connect to server_name
as follows:

33

34

Additional configuration
About the vm.conf configuration file

A value of 0 specifies to use vnetd to connect to a daemon on the server. If the


vnetd service is not active, connect by using the traditional port number of
the daemon.

A value of 1 specifies to use vnetd only to connect to a daemon on the server.

A value of 2 specifies to use the traditional port number of the daemon to


connect to the daemon on the server. The default value is 2.

The following example entry specifies to use either vnetd or the daemons port
number to connect to server shark:
CONNECT_OPTIONS = shark 0 0 0

The following example entry specifies to use vnetd only to connect to server
dolphin:
CONNECT_OPTIONS = dolphin 0 0 1

The following example entry specifies to use the daemonss port number only to
connect to server perch:
CONNECT_OPTIONS = perch 0 0 2

DAS_CLIENT entry in vm.conf


This configuration entry applies only to NetBackup Enterprise Server.
DAS_CLIENT = client_name

If this entry is specified in vm.conf, specify the DAS client name that the TLM
robot uses for communications with the DAS/SDLC server. By default this client
name is the host name of the media server. This entry is read and interpreted on
the host where tlmd is running.

DAYS_TO_KEEP_LOGS entry in vm.conf


If this entry is specified in vm.conf, specify the number of days to keep debug logs
before vmd deletes them. This entry is read and interpreted on the hosts where
vmd is running.
DAYS_TO_KEEP_LOGS = days

A value of zero means that the logs are not deleted. The default is zero. This entry
does not affect the debug logs that Unified Logging creates.
Information about Unified Logging is available.

Additional configuration
About the vm.conf configuration file

See the NetBackup Troubleshooting Guide for UNIX, Windows, and Linux.

EMM_RETRY_COUNT entry in vm.conf


The vmd daemon and the ltid daemon use this entry to determine how many
times to retry requests to the NetBackup Enterprise Media Manager.
EMM_RETRY_COUNT = number_of_retries

The default is one retry.


Only change the value of this vm.conf file entry when directed to do so by a
NetBackup support representative. If this entry is added to the vm.conf file or if
this value is changed, restart the vmd daemon and the ltid daemon.

EMM_CONNECT_TIMOUT entry in vm.conf


This value applies for broken connections between the NetBackup Enterprise
Media Manager and the following daemons: the vmddaemon and the ltid daemon.
These two daemons use this entry to determine for how long they should try to
reconnect to the NetBackup Enterprise Media Manager.
EMM_CONNECT_TIMOUT = number_of_seconds

The default is 20 seconds.


Only change the value of this vm.conf file entry when directed to do so by a
NetBackup support representative. If this entry is added to the vm.conf file or if
this value is changed, restart the vmd daemon and the ltid daemon.

EMM_REQUEST_TIMOUT entry in vm.conf


The vmd daemon and the ltid daemon use this entry to determine how many
seconds to allow a request to the NetBackup Enterprise Media Manager to complete.
EMM_REQUEST_TIMOUT = number_of_seconds

The default is 300 seconds.


Only change the value of this vm.conf file entry when directed to do so by a
NetBackup support representative. If this entry is added to the vm.conf file or if
this value is changed, restart the vmd daemon and the ltid daemon.

35

36

Additional configuration
About the vm.conf configuration file

ENABLE_ROBOT_AUTH entry in vm.conf


Symantec encourages the use of Symantec Product Authentication and
Authorization for NetBackup Access Control (NBAC) instead of legacy security
implementations.
For information about the ENABLE_ROBOT_AUTH configuration entry, see the
NetBackup 6.0 documentation. Information on Symantec Product Authentication
and Authorization is available.
See the NetBackup Security and Encryption Guide.

INVENTORY_FILTER entry in vm.conf


This configuration entry applies only to NetBackup Enterprise Server.
INVENTORY_FILTER = robot_type robot_number mode value1 [value2 ...]

Used to filter robot inventory results in ACS or TLH robot types. Add this entry
to the configuration file (vm.conf) on the NetBackup server on which the inventory
operation is invoked. This entry is read and interpreted on the host on which
vmcheckxxx and vmupdate run.
Note: This entry may be required for an ACS robot and the ACS library software
host with an STK Library Station. Newer versions of STK Library Station allow
robot inventory commands to function correctly so filters are not required.
robot_type can be ACS or TLH.
robot_number is the number of the robot as was configured in NetBackup.
mode is BY_ACS_POOL for ACS or BY_CATEGORY for TLH.
See the following examples:
INVENTORY_FILTER = ACS 0 BY_ACS_POOL 4 5
INVENTORY_FILTER = TLH 0 BY_CATEGORY FFFA CDB0

MAP_ID entry in vm.conf


This configuration entry applies only to NetBackup Enterprise Server.
MAP_ID = robot_num map_ID

Use this entry to configure the default media access port (MAP) to use to eject
media from Automated Cartridge System (ACS) robots. This default is selected in

Additional configuration
About the vm.conf configuration file

the NetBackup Administration Console, but you can also select other Media Access
Ports for ejects.
If the MAP is not available or the vm.comf file does not contain this entry,
NetBackup uses the default MAP selection process. By default, NetBackup uses
the smallest MAP that can hold the number of media to be ejected.
If NetBackup selects multiple MAPs, NetBackup uses the nearest-MAP algorithm
rather than the MAP that is specified in the MAP ID entry.
See ADJ_LSM entry in vm.conf on page 29.
robot_num is the robot number. map_ID is in the format of an ACS CAP (cartridge
access port ) ID and cannot contain any spaces.
The following example specifies the MAP ID for ACS robot number 700. The ACS
CAP ID of 0,1,0 is used.
MAP_ID = 700 0,1,0

MAP_CONTINUE_TIMEOUT entry in vm.conf


This entry applies only when the vmchange command is used and the -w option is
specified.
MAP_CONTINUE_TIMEOUT = seconds

The default timeout value for seconds is 300 (5 minutes). seconds cannot be zero
and values greater than 1200 (20 minutes) can cause the robotic daemon to cancel
the operation.
If this entry is specified in vm.conf, the SCSI robotic daemons wait the specified
number of seconds before they time out. A timeout can occur while the daemons
wait for user reply after the user removes volumes from the media access port. If
a timeout occurs, NetBackup aborts the operation.
This entry is read and interpreted on the host on which the SCSI-controlled robotic
daemon or process runs.
Note: Non-mount activities such as a robotic inventory cannot occur during this
timeout period.

MEDIA_ID_BARCODE_CHARS entry in vm.conf


If this entry is specified in vm.conf, it controls NetBackup media ID generation.
This entry is read and interpreted on the host on which vmcheckxxx and vmupdate
run as part of the robot inventory operation.

37

38

Additional configuration
About the vm.conf configuration file

MEDIA_ID_BARCODE_CHARS = robot_num barcode_length media_ID_rule

Note: To use this entry, the robot must support bar codes and the robot type cannot
be an API robot.
Choose how NetBackup creates media IDs by defining the rules that specify which
characters of a barcode on tape NetBackup uses. Alphanumeric characters can be
specified to be inserted in the ID.
Multiple entries can be added to the vm.conf file. For example, specify media ID
generation for each robot or for each barcode format that has different numbers
of characters. The multiple entries allow flexibility for multimedia.
If no MEDIA_ID_BARCODE_CHARS entries exist or the entry is invalid, NetBackup
uses the rightmost six characters of the barcode to create its media ID.
robot_num is the robot number.
barcode_length is the length of the barcode.
A media_ID_rule consists of a maximum of six fields that colons delimit. Numbers
in the fields define the positions of the characters in the barcode that NetBackup
extracts (from left to right). For example, if the number 2 is in a field, NetBackup
extracts the second character from the barcode. The numbers can be specified in
any order.
If the pound sign (#) prefixes a character, that character is inserted in that position
in the generated ID. Any alphanumeric characters must be valid for a media ID.
Use rules to create media IDs of many different formats. However, if the generated
media ID is different from the label on the media, media management may be
more difficult.
The following is an example rule and the resulting generated media ID:
Barcode on the tape: 032945L1
Media ID rule:
#N:2:3:4:5:6
Generated media ID: N32945

MEDIA_ID_PREFIX entry in vm.conf


If this entry is specified in vm.conf, it defines the media ID prefixes to use for
media without bar codes. This entry is read and interpreted on the host where
vmcheckxxx and vmupdate are running as part of the robot inventory operation.
MEDIA_ID_PREFIX = media_id_prefix

Additional configuration
About the vm.conf configuration file

The best way to add media to a robot is to use the Robot Inventory Update Volume
Configuration operation.

MM_SERVER_NAME entry in vm.conf


MM_SERVER_NAME = host_name

This entry specifies the name other NetBackup servers and clients should use
when they refer to this server.
See Host name precedence in the vm.conf file on page 43.

PREFERRED_GROUP entry in vm.conf


Symantec encourages the use of Symantec Product Authentication and
Authorization for NetBackup Access Control (NBAC) instead of legacy security
implementations.
For information about the PREFERRED_GROUP configuration entry, see the
NetBackup 6.0 documentation. Information on Symantec Product Authentication
and Authorization is available.
See the NetBackup Security and Encryption Guide.

PREVENT_MEDIA_REMOVAL entry in vm.conf


This topic applies to the TL8 robots only.
Specifying this entry changes the default operation for TL8 robots. Without this
entry present, NetBackup allows the removal of media.
If this entry is specified in vm.conf, TL8 robots run the SCSI command PREVENT
MEDIUM REMOVAL. The robot's main door or the MAP cannot be opened while the
robotic control daemon runs.
This entry is read and interpreted on the host on which the TL8 robot control
daemon or process (tl8cd) runs.
To override PREVENT_MEDIA_REMOVAL, do one of the following:

Use the test utility and run allow media removal.

Use inject or eject for access, when volumes are added or moved.

39

40

Additional configuration
About the vm.conf configuration file

RANDOM_PORTS entry in vm.conf


Use this entry to specify whether NetBackup chooses port numbers randomly or
sequentially for communication with other NetBackup servers. This entry is read
and interpreted on hosts on which vmd runs.
RANDOM_PORTS = YES|NO

If YES or no entry exists (the default), NetBackup chooses port numbers randomly
from those that are available in the allowed range.
If NO, NetBackup chooses numbers sequentially. NetBackup begins with the highest
number in the allowed range, and then tries the next highest, and so on until a
port is available.
To specify no random ports in the NetBackup configuration file, do one of the
following:

Specify RANDOM_PORTS = NO in the bp.conf file on UNIX.

Use the NetBackup Host Properties on Windows.

REQUIRED_INTERFACE entry in vm.conf


REQUIRED_INTERFACE = host_name

This entry specifies the name of the network interface that the media server uses
to connect to another media server.
A NetBackup server can have more than one network interface, and by default
the operating system determines the one to use. To force NetBackup to connect
through a specific network interface, use REQUIRED_INTERFACE and specify the
name of that network interface.
See Host name precedence in the vm.conf file on page 43.

SERVER entry in vm.conf


This entry determines the name other NetBackup servers should use when they
refer to this server.
SERVER entries in the vm.conf file are used for NetBackup media server security.
SERVER = host_name
SERVER entries work with the AUTHORIZATION_REQUIRED entry to control which

hosts can monitor and control devices on this host.

Additional configuration
About the vm.conf configuration file

If the AUTHORIZATION_REQUIRED entry exists, the vm.conf file must include a


SERVER entry for every media server that controls devices on this host. If the
vm.conf file contains any SERVER entries, it also must include a SERVER entry for
itself or it cannot manage its own devices.
If no AUTHORIZATION_REQUIRED entry exists and no SERVER entries exist, any
NetBackup server can monitor and control devices on this host.
For security, the entries that allow only specific hosts to access the devices must
be added remotely.
This entry is read and interpreted on media servers on which the NetBackup vmd
service runs.

SSO_DA_REREGISTER_INTERVAL entry in vm.conf


This entry determines the name other NetBackup servers should use when they
refer to this server.
This configuration entry applies only to NetBackup Enterprise Server.
SSO_DA_REREGISTER_INTERVAL = minutes

This vm.conf entry is for the Shared Storage Option (SSO) for Tape feature only.
It is read and interpreted on the host on which ltid runs.
ltid on a scan host periodically registers its shared drives with EMM/DA to ensure

that it is still provides the drive scanning function. Only one of the hosts that
share a drive scan the drive. This reregistration allows conditions such as a device
allocator restart to have minimal effect on use of shared drives.
The default for the reregistration interval is 5 minutes. Use the
SSO_DA_REREGISTER_INTERVAL entry to tune this interval. After the entry is added,
stop and restart ltid for the change to take effect.

SSO_DA_RETRY_TIMEOUT entry in vm.conf


This configuration entry applies only to NetBackup Enterprise Server.
SSO_DA_RETRY_TIMEOUT = minutes

This vm.conf entry is for the Shared Storage Option (SSO) for Tape feature only.
It is read and interpreted on the host on which ltid runs.
The Device Manager ltid delays before if one of the following events occurs:

Problems during communications with EMM/DA.

Failure trying to reserve a shared drive.

41

42

Additional configuration
About the vm.conf configuration file

The default value for the delay is 3 minutes. Use the SSO_DA_RETRY_TIMEOUT entry
to tune this delay period. After the entry is added, stop and restart ltid for the
change to take effect.

SSO_HOST_NAME entry in vm.conf


This configuration entry applies only to NetBackup Enterprise Server.
SSO_HOST_NAME = host_name

This vm.conf entry is for the Shared Storage Option (SSO) for Tape feature only.
It is read and interpreted on the host on which ltid runs.
This entry specifies the name that the current host uses to register, reserve, and
release shared drives with EMM/DA. The default is the local host name.

TLH_mediatype entry in vm.conf


This configuration entry applies only to NetBackup Enterprise Server.
TLH_mediatype = Media_Manager_mediatype

If this entry is specified in vm.conf, IBM ATL media types in tape library Half-inch
(TLH) robots are mapped to Media Manager media types. This entry is read and
interpreted on the host where vmcheckxxx and vmupdate are running as part of
the robot inventory operation.

TLM_mediatype entry in vm.conf


This configuration entry applies only to NetBackup Enterprise Server.
TLM_mediatype = Media_Manager_mediatype

If this entry is specified in vm.conf, DAS/SDLC media types in tape library


Multimedia (TLM) robots are mapped to Media Manager media types. This entry
is read and interpreted on the host where vmcheckxxx and vmupdate are running
as part of the robot inventory operation.

VERBOSE entry in vm.conf


If this entry is specified in vm.conf, all Media Manager components on the host
are started with verbose logging enabled.
Use this option only if problems occur or if requested by Symantec support. After
the problem is resolved, remove the debug logs or add a DAYS_TO_KEEP_LOGS entry.

Additional configuration
About multiple NetBackup master servers

Example vm.conf file


The following is an example of a vm.conf file, on host server1:
SERVER = server1
SERVER = server2
MEDIA_ID_PREFIX = NV
MEDIA_ID_PREFIX = NETB
ACS_3490E = HCART2

Host name precedence in the vm.conf file


NetBackup identifies the media server by using the following name precedence:

CLUSTER_NAME entry if present in vm.conf.

MM_SERVER_NAME entry if present in vm.conf.

REQUIRED_INTERFACE entry if present in vm.conf.

The same name that NetBackup uses.

gethostname() name.

About multiple NetBackup master servers


For a large site, use multiple NetBackup master servers to optimize the backup
loads. Divide the clients between the servers as necessary.
Figure 2-2 shows a multiple-server configuration where the two sets of networks
(A1/A2 and B1/B2) each have enough clients to justify separate servers.

43

44

Additional configuration
About multiple media servers with one master server

Figure 2-2

Multiple master server scenario

Workstations

Network A1

Mass
storage

NetBackup
master server A

Workstations

Network A2

Mass
storage

NetBackup
master server B

Network B1
Workstations
Router
Workstations
Network B2

In this environment, the two NetBackup server configurations are completely


independent. You can also create a configuration where one server is the master
and the other is a media server.

About multiple media servers with one master server


A protection domain refers collectively to the NetBackup master server, its
NetBackup media servers, and its NetBackup clients. In a group of NetBackup
servers, a client can have backups directed to any device on any server in the
group.
Set up a NetBackup protection domain as follows:

One master server, which controls all backup scheduling.

Multiple media servers, which write the backup images to disk or removable
media. They can have peripheral devices to provide additional storage.

Multiple protected NetBackup clients, which send their data to the media
servers.

Additional configuration
About multiple media servers with one master server

A common alternative strategy is to install extra peripherals on the clients that


produce large amounts of data. The master server directs the data from the client
to the clients peripherals, which reduces network traffic because the data does
not traverse the network. This strategy also distributes the backup load between
the master and the media servers.
Important factors to remember about master and media servers are as follows:

There can be only one master server in a group.

A NetBackup master server is a media server for itself but cannot be a media
server for another master server.

Figure 2-3 shows where software is installed and where the NetBackup catalogs
are located (by default).
Catalog location using multiple media servers

Figure 2-3

Master Server

Administration
Interface*

NetBackup Catalogs

User Interface (BAR)

User Interface (BAR)

Configuration files
Image database

NetBackup
Client

Storage
Device

Information in
relational databases
(about devices,
volumes)

Administration
Interface*

User Interface

Storage
Device

User Interface (BAR)

NetBackup
Media Server

Remote Admin
Console*
* You can also use the Backup, Archive, and Restore user
interface from a Windows client that has the Remote
Administration Console installed.

NetBackup
Media Server

Storage
Device

Remote Admin
Console*

45

46

Additional configuration
About direct I/O for backups

About software on each server


This topic applies to NetBackup Enterprise Server only.
Install NetBackup server software on each NetBackup server that has a peripheral
that you want to include in a storage unit. The NetBackup installation program
has choices for master and media server installation.

About NetBackup catalogs


This topic applies to NetBackup Enterprise Server only.
The master server is the default location for the NetBackup catalogs. The catalogs
include the media and the volume database (emm_data.db). The volume database
contains the media usage information and the volume information that are used
during the backups.

About direct I/O for backups


By default, the buffer size for disk storage units is 256 KB. If the buffer size is set
to a value greater than 256 KB, backups written to that storage unit automatically
use direct I/O. An increased buffer size can improve backup speed.
To increase the buffer size, the following conditions must be met:

The storage unit must be owned by a Windows media server.

The storage unit must be either a BasicDisk or an Array Disk storage unit.

The backup to be stored cannot be multiplexed.

The touch file that disables direct I/O must not be present.
(install_path\VERITAS\NetBackup\bin\DISABLE_DIRECT_IO)

To increase the buffer size, create one of the following touch files on the media
server that owns the storage unit:

For backups to disk


install_path\VERITAS\NetBackup\db\config\
SIZE_DATA_BUFFERS_DISK

For backups to disk or tape


install_path\VERITAS\NetBackup\db\config\
SIZE_DATA_BUFFERS

Additional configuration
About dynamic host name and IP addressing

If both touch files are present, SIZE_DATA_BUFFERS_DISK overrides the value in


SIZE_DATA_BUFFERS. At this time, Symantec recommends that you use
SIZE_DATA_BUFFERS_DISK.
Table 2-1 shows the possible values to include in SIZE_DATA_BUFFERS_DISK or
SIZE_DATA_BUFFERS ..
Table 2-1

Absolute byte values for SIZE_DATA_BUFFERS_DISK,


SIZE_DATA_BUFFERS

For a data buffer of this size (kilobytes), enter this touch file value
32

32768

64

65536

96

98304

128

131072

160

163840

192

196608

224

229376

256

262144

Data buffer sizes continue in multiples of 32. Multiply the buffer size by 1024 for
the touch file value.
A direct I/O backup triggers the following message: "Enabling direct I/O. Buffer
size: <buffer size>."

Disabling direct I/O


Use the following procedure to disable direct I/O.
To disable direct I/O

Create the following touch file on the media server that owns the storage
unit:
install_path\VERITAS\NetBackup\bin\DISABLE_DIRECT_IO

About dynamic host name and IP addressing


Before making changes to a configuration, read this entire topic.

47

48

Additional configuration
About dynamic host name and IP addressing

By default, a NetBackup server assumes that a NetBackup client name is the same
as the network host name of the client machine. This assumption makes it difficult
to back up any clients that have network host names that might change. For
example, a portable machine that plugs into a LAN and obtains IP addresses from
a DHCP server. Or, a remote machine that dials into a PPP server. Use dynamic
host name and IP addressing to define NetBackup clients that do not have fixed
IP addresses and host names.
If dynamic addressing is used, remember that the NetBackup servers still require
fixed IP addresses and host names.
All clients that are configured to use dynamic addressing and host names must
trust each other, similar to the NetBackup altnames feature.
The following process is required to support the configurations that use dynamic
IP addressing for NetBackup.
Table 2-2

Process to support the configurations that use dynamic IP


addressing for NetBackup

Action

Process details/requirements

Configure the network to use a dynamic IP


addressing protocol like DHCP.

NetBackup requires that IP addresses of clients have a network


host name.
Be sure to define network host names for the range of dynamic
IP addresses in the hosts file and (or) DNS on the network.

Determine the NetBackup client names for the


machines that have dynamic IP addresses and
network host names.

These NetBackup client names are used in other steps. Each


NetBackup client must have a unique NetBackup client name.
The NetBackup client name that is assigned to a client is
permanent.

Make changes on the master server, as described. Create NetBackup policies with client lists that include the
new names.
Create entries in the NetBackup client database for the new
client names. Use the bpclient command to create the
entries.
Make changes on each dynamic NetBackup
Windows client, as described.

In the NetBackup Administration Console, in the left pane,


click NetBackup Management. On the File menu, click Backup,
Archive, and Restore. On the File menu, click NetBackup Client
Properties. In the NetBackup Client Properties dialog box,
select the General tab. Enter the correct NetBackup client name
for the machine in the Client Name text box.

Additional configuration
About dynamic host name and IP addressing

Table 2-2

Action

Process to support the configurations that use dynamic IP


addressing for NetBackup (continued)
Process details/requirements

On the master server, enable the Announce DHCP In the NetBackup Administration Console, in the left pane,
Interval option, as described.
expand NetBackup Management > Host Properties > Clients.
Double-click on the the Windows client(s) in the right pane to
open the Client Properties window. In the Client Properties
window, in the left pane, expand Windows Client > Network.
In the right pane, check the Announce DHCP Interval checkbox.
Make changes on each dynamic NetBackup UNIX Modify the bp.conf file to include a CLIENT_NAME entry
clients, as described.
with the correct NetBackup client name for the machine.
Configure the system to notify the master server of the
machine's NetBackup client name and current network host
name during startup. The bpdynamicclient command is
used to notify the master server.
Configure the system to notify periodically the master server
of the machine's NetBackup client name and current network
host name.

About setting up dynamic IP addresses and host names


Configure the network to use a dynamic IP addressing protocol. A protocol like
DHCP has a server and several clients. For example, when a DHCP client starts
up, it requests an IP address from the DHCP server. The server then assigns an
IP address to the client from a range of predefined addresses.
NetBackup requires that the IP addresses of NetBackup clients have corresponding
network host names. Ensure that each IP address that can be assigned to NetBackup
clients has a network host name. The host name should be defined in the host
file, NIS, and DNS on the network.
For example, 10 dynamic IP addresses and host names are available.
The dynamic IP addresses and host names might be as follows:
123.123.123.70 dynamic00
123.123.123.71 dynamic01
123.123.123.72 dynamic02
123.123.123.73 dynamic03
.
.
.
123.123.123.79 dynamic09

49

50

Additional configuration
About dynamic host name and IP addressing

Assign a unique NetBackup client name to each NetBackup client that might use
one of these dynamic IP addresses. The NetBackup client name that is assigned
to a client is permanent and should not be changed. The client name that is
assigned to NetBackup clients with dynamic IP addressing must not be the same
as any network host names on the network. If the NetBackup client names are
changed or are not unique, backup and restore results are unpredictable.
For example, 20 machines share the IP addresses as previously defined.
To make these machines NetBackup clients, assign them the following NetBackup
client names:
nbclient01
nbclient02
nbclient03
nbclient04
.
.
.
nbclient20

Configuring the NetBackup master server


Use the following procedure to configure the NetBackup master server.
To configure the NetBackup master server

On the master server, create the NetBackup backup policies. For client name
lists, use the NetBackup client names (for example, nbclient01) rather than
the dynamic network host names (for example, dynamic01).

Create the client database on the master server.


The client database consists of directories and files in the following directory:
install_path\NetBackup\db\client

Additional configuration
About dynamic host name and IP addressing

Create, update, list, and delete client entries with the bpclient command.
The bpclient command is in the following directory:
install_path\NetBackup\bin\admincmd

See bpclient commands that control client entries on page 52.


In the example, enter the following commands to create the 20 clients:
cd install_path\NetBackup\bin\admincmd

To see what is currently in the client database, run bpclient as follows:

install_path\NetBackup\bin\admincmd\bpclient -L -All

The output is similar to the following:


Client Name: nbclient01
Current Host:
Hostname: *NULL*
IP Address: 0.0.0.0
Connect on non-reserved port: no
Dynamic Address: yes
Client Name: nbclient02
Current Host:
Hostname: *NULL*
IP Address: 0.0.0.0
Connect on non-reserved port: no
Dynamic Address: yes
.
.
.
Client Name: nbclient20
Current Host:
Hostname: *NULL*
IP Address: 0.0.0.0
Connect on non-reserved port: no
Dynamic Address: yes

The NetBackup client notifies the NetBackup server of its NetBackup client
name and network host name. Then the Current Host, Hostname, and IP
address fields display the values for that NetBackup client.

51

52

Additional configuration
About dynamic host name and IP addressing

bpclient commands that control client entries


The bpclient command creates, updates, lists, and deletes client entries. The
following table shows the bpclient commands that control client entries.
Table 2-3

bpclient commands that control client entries

Action

Command

Create a dynamic client entry

bpclient.exe -add -client client_name -dynamic_address 1


Where client_name is the NetBackup client name. The -dynamic_address 1
argument indicates that the client uses dynamic IP addressing. It is possible to
create entries with -dynamic_address 0 for static IP addressing. However, to
do so is unnecessary and adversely affects performance.

Delete a client entry

bpclient.exe -delete -client client_name

List a client entry

bpclient.exe -L -client client_name

List all client entries

bpclient.exe -L -All

Configuring a dynamic Microsoft Windows client


Use the following procedure to configure a dynamic Microsoft Windows client.
To configure a dynamic Microsoft Windows client

If it is not already installed, install NetBackup on the Windows client.

In the NetBackup Administration Console, in the left pane, click NetBackup


Management. On the menu bar, expand File > Backup, Archive, and Restore.

On the menu bar of the Backup, Archive, and Restore dialog box, expand
File > NetBackup Client Properties.

In the NetBackup Client Properties dialog box, select the General tab. Change
the Client Name to specify the NetBackup client name for the Windows client.
Click OK.

Additional configuration
About dynamic host name and IP addressing

In the NetBackup Administration Console, set Announce DHCP Interval.


This value specifies how many minutes the client waits before it announces
that it will use a different IP address.
To set the Announce DHCP Interval, return to the NetBackup
Administration Console. In the left pane, expand NetBackup Management
> Host Properties > Clients. Double-click on the the Windows client(s) in the
right pane to open the Client Properties window. In the Client Properties
window, in the left pane, expand Windows Client > Network. In the right
pane, check the Announce DHCP Interval checkbox.
Additional information is available for Announce DHCP Interval in the
Administrators Guide, Volume I.
The server is not notified if the default value of 0 is used. For a DHCP client,
a good value to use is one-half of the lease period.

On the client, stop and restart the NetBackup Client service to have the
changes take effect.

Configuring a dynamic UNIX NetBackup client


Use the following procedure to configure a dynamic UNIX NetBackup client.
To configure a dynamic UNIX NetBackup client

If not already installed, install the NetBackup client software.

Edit the /usr/openv/netbackup/bp.conf file. Use the CLIENT_NAME entry to


specify the NetBackup client name for the machine, as follows:
CLIENT_NAME = nbclient00

53

54

Additional configuration
About dynamic host name and IP addressing

Run the bpdynamicclient command once when the system first starts up.
bpdynamicclient notifies the NetBackup server of the machine's NetBackup
client name and current network host name. The bpdynamicclient command
is in the directory:
/usr/openv/netbackup/bin

The format of the bpdynamicclient command is as follows:


bpdynamicclient -last_successful_hostname file_name

When bpdynamicclient starts up, it checks for the existence of file_name. If


file_name exists, bpdynamicclient determines if the host name that is written
in the file is the same as the current network host name. If the host names
match, bpdynamicclient exits and does not connect to the master server. If
the host names do not match, bpdynamicclient connects to the master server
and informs the server of its NetBackup client name and host name. If
bpdynamicclient successfully informs the server, bpdynamicclient writes
the current network host name into file_name. If bpdynamicclient cannot
inform the server, bpdynamicclient deletes file_name.
Most UNIX systems provide a facility to define startup scripts.
For example, create the following script in the /etc/rc2.d directory on a
Solaris system:
# cat > /etc/rc2.d/S99nbdynamicclient <<EOF
#! /bin/sh
rm /usr/openv/netbackup/last_successful_hostname
/usr/openv/netbackup/bin/bpdynamicclient
-last_successful_hostname \
/usr/openv/netbackup/last_successful_hostname
EOF
# chmod 544 /etc/rc2.d/S99nbdynamicclient

Ensure that the dynamic client startup script is called after the machine
obtains its IP address.

Additional configuration
About specifying the locale of the NetBackup installation

You must also create a root crontab entry to call the bpdynamicclient
command periodically.
For example, the following entry (one line) calls bpdynamicclient at seven
minutes after each hour:
7 * * * * /usr/openv/netbackup/bin/bpdynamicclient
-last_successful_hostname
/usr/openv/netbackup/last_successful_hostname

For DHCP, an acceptable interval to use between calls to bpdynamicclient


is one-half of the lease period.

About specifying the locale of the NetBackup


installation
The /user/openv/msg/.conf file (UNIX and Linux) and the
install_path\VERITAS\msg\LC.CONF file (Windows) contain information on the
supported locales. These files define the date and the time formats for each
supported locale. The .conf file and the LC.CONF file contain very specific
instructions on how to add or modify the list of supported locales and formats.
The .conf file and the LC.CONF file are divided into two parts, the TL lines and
the TM lines:

TL Lines
The third field of the TL lines defines the case-sensitive locales that the
NetBackup applications support. The fourth and the fifth fields define the date
and the time fields and associated separators for that supported locale.
Modify the existing formats to change the default output.
For example, the TL line for the C locale is the following:
TL 1 C :hh:mn:ss/mm/dd/yyyy

An alternate specification to the order of months, days, and years is as follows:


TL 1 C :hh:mn:ss -yyyy-mm-dd

Or:
TL 1 C :hh:mn:ss/dd/mm/yy

To add more TL lines, see the comments in the .conf file.


If the .conf file is not accessible, the default locales (TL lines) are:

55

56

Additional configuration
Exporting PureDisk data to NetBackup

TL 1 C :hh:mn:ss /mm/dd/yyyy
TL 2 ov :hh:mn:ss/mm/dd/yyyy

Note that C and ov are synonymous.

TM Lines
The TM lines define a mapping from unrecognized locales to those supported
by NetBackup, as defined by the TL lines.
The third field of the TM lines defines the unrecognized locale. The fifth field
defines the supported equivalent that is identified in the TL lines.
For example, use the following TM line to map the unrecognized locale French
to the supported locale fr, the TM line is:
TM 6 french 2 fr

To map French to C
TM 6 french 1 C

To add more TM lines, see the specific instructions in the .conf file.
If the .conf file is not accessible, no default TM lines exist as the default locale
is C (ov).

Exporting PureDisk data to NetBackup


NetBackup allows the export of PureDisk backups of Files and Folders data
selections to NetBackup. NetBackup then can create copies of the data in NetBackup
file format on NetBackup-supported media for possible disaster recovery purposes.

Required software and licenses


The PureDisk export capability is supported jointly by NetBackup and PureDisk.

PureDisk requires release 6.1 MP1 or later.


For more information about software versions and licensing, see the PureDisk
Administrator's Guide.

The NetBackup DataStore license is required to provide the DataStore policy


type selection.

Exporting PureDisk data


To export PureDisk backup data to NetBackup requires the creation of the following
two active policies:

An Export to NetBackup policy in PureDisk.

Additional configuration
Exporting PureDisk data to NetBackup

A DataStore type policy in NetBackup.

The policies can be created in any order. The export takes place when the PureDisk
policy runs.
Standard debugging techniques apply to both PureDisk and NetBackup. The VxBSA
debug log is written to the pdexport directory.

How to create a PureDisk export policy


For information about creating an export policy, see the NetBackup PureDisk
Remote Office Edition Administrators Guide

Creating a NetBackup policy for a PureDisk backup data export


Use the following procedure to create a DataStore type policy for a PureDisk
backup data export.
To configure a NetBackup policy for a PureDisk backup data export

Open the NetBackup Administration Console.

Select the master server that controls the media server to perform the export.

Select the Policies utility, then Actions > New > New Policy.

Enter a name for the policy. This name is entered in the Parameters tab in
the PureDisk export policy.

Complete the following tabs in the Add New Policy dialog box:

Attributes tab
Select DataStore as the policy type. (The DataStore policy type selection
appears if the DataStore license key is installed.) The compression and
multiple data streams attributes are not supported for export because
they are not supported upon restore. To run multiple streams, multiple
export agents are required.

Schedules tab
By default, a DataStore policy type uses an Application Backup schedule.
The start window for an Application Backup type is open every day for 24
hours.
You can adjust the default schedule or create a new schedule, but the start
windows must coincide with the PureDisk Export policy start window.

Clients tab
In the Clients tab, add the name of the PureDisk export agent(s). (Multiple
PureDisk export agents can indicate the same NetBackup DataStore policy.

57

58

Additional configuration
Exporting PureDisk data to NetBackup

Add the export agents in the Clients tab as needed.) Do not include the
name of the originating PureDisk clients.

Backup Selections tab


No entries are required on the Backup Selections tab.

Save and close the policy.

Restoring PureDisk export data


Use the NetBackup client interface, Backup, Archive, and Restore, to restore the
PureDisk export data to a PureDisk export agent. The system to which the data
selections are restored must contain the NetBackup client software and the
NetBackup engineering binary to support the export engine.
After the data is restored to the export agent, use a network transfer method to
move the files to individual PureDisk clients.
To restore PureDisk export data

Open the NetBackup Backup, Archive, and Restore interface on the export
agent.

Select File > Specify NetBackup Machines and Policy Types.

In the Specify NetBackup Machines and Policy Types dialog box, select the
PureDisk-Export policy type to display the export data available for restore.
Although the NetBackup job runs as a DataStore policy type, the job is
cataloged as a PureDisk-Export policy type under the name of the PureDisk
agent.
Select the NetBackup
server where the
PureDisk backup data
was exported to.

Select the PureDisk


agent where the data
was exported from. To
restore the data, the
agent must contain
NetBackup client
software.
Select PureDisk-Export
as the policy type

Additional configuration
About NearStore storage unit configuration

Select a backup to restore from the NetBackup History.

Restore the files to the selected client as you would restore from a
user-directed backup.

About restore support


NetBackup can restore only what PureDisk supports as part of its backups. For
example, PureDisk does not provide access control list (ACL) support beyond UNIX
file or directory permissions, so NetBackup cannot restore ACLs. See the PureDisk
documentation for complete details.
Additional comments on restores includes the following:

While Windows and UNIX security information can be restored, one limitation
exists regarding restores to an alternate client for UNIX files.
NetBackup backs up both the user ID and user name, but PureDisk backs up
only the user ID. In non-PureDisk export backups during a restore to an
alternate client, a user name can map to a different user ID. NetBackup
performs a search for the user name and changes the user ID appropriately.
For PureDisk export backups this ability is lost since the user name is not
available. Files that are restored can belong to a different user.

Windows files can be restored to UNIX systems and UNIX files can be restored
to Windows systems. However, security information is lost when Windows
files are restored to UNIX.

About NearStore storage unit configuration


A NearStore disk type storage unit is used to store images on Network Attached
Storage (NAS) from NetApp. The NearStore disk storage unit features are available
on all supported media server platforms.
This topic contains information about administering NetApp NearStore disk
storage units by using NetBackup. This feature is also known as the SnapVault
for NetBackup solution. The NearStore disk storage unit features are available on
all supported media server platforms.
For additional information, see the Data ONTAP System Administrators Guide.
The following terms are important to understanding NearStore storage unit
configuration.

59

60

Additional configuration
About NearStore storage unit configuration

Table 2-4

Terms relevant to configuring NearStore storage units

Term

Description

Data ONTAP

The NetApp storage operating system provides unified data management for both
block and file serving environments.

File system export mode

In the file system export mode, backups become user mountable when exported as
CIFS or NFS file systems. This mode is in effect when both the Enable file system
export setting and the Enable block sharing setting are enabled. NetApp also refers
to this mode as context-aware SIS.
The file system export mode adds functionality to the space optimized image mode
by enabling a file system export of the backup image. Mount the backup image as a
file system, drag and drop, or copy files to restore location.

Image mode

This mode is in effect when neither Enable block sharing nor Enable file system
export are selected in the storage unit dialog box. In the image mode, the disk storage
unit acts much like a BasicDisk storage unit in how data is stored.

Qtree (quota tree)

A subdirectory in a NearStore volume that acts as a virtual subvolume with special


attributes, primarily quotas and permissions.

Snapshot

A read-only, point-in-time copy of the entire file volume. A snapshot captures file
modifications without duplicating file contents.

SnapVault

Allows exports of snapshot copies to another NetApp system, providing an incremental


block-level backup solution.

space optimized image mode The space optimized image mode is in effect when the Enable block sharing setting
is enabled in the NearStore disk storage unit dialog box. This mode makes use of
single-instance store without the additional requirement of managing snapshots.
NetApp also refers to this mode as context independent SIS or advanced single
instance store. To use this mode, the nearstore_asis1 license must be turned on for
each volume.
WAFL (Write Anywhere File The file system that is used in all NetApp storage servers. WAFL supports snapshot
Layout)
creation.

Software, hardware, and licenses required for NearStore configuration


To configure a NearStore disk storage unit, the following hardware and software
(and accompanying licenses) must be in place and configured:

NetBackup Enterprise on the master server and media server, with the
OpenStorage Disk Option license installed.

NetBackup client software.

Additional configuration
About NearStore storage unit configuration

A NetApp NearStore server running Data ONTAP 7.2 or later, with the following
software installed:

A SnapVault secondary license (enabled)

A NetApp nearstore_option license (required when a NetApp FAS device


is used; for example, a FAS3050)

To configure the storage unit to use the space optimized image mode (Enable
block sharing enabled), the nearstore_asis1 license must be turned on for
each volume on the filer.

Preparing a volume previously configured for SnapVault to support


NearStore storage units
NearStore disk storage units and SnapVault storage units cannot share volumes.
To prepare a volume previously configured for SnapVault to support NearStore
storage units, take the following steps.

Disable any incremental backups to the secondary qtrees that were originally
scheduled for the volume.

Release existing SnapVault relationships. Use the NetApp snapvault -stop


command to stop all backups and delete the qtrees and configurations on a
volume.

Disable any existing WAFL snapshots on the volume. Include the default
WAFL snapshot schedule that is automatically configured when the volume
is created.

Clean up configured qtrees.


Qtree entries in the SnapVault configuration database are not deleted when
a volume is destroyed. Make sure to delete the qtree entry in the configured
database.

Manage NearStore SnapVault snapshot schedules.

Use the snapvault snap sched command to display the currently


configured SnapVault snapshot schedule. The command lets you view the
basenames of all snapshot sets for all SnapVault volumes on the filer.
Note: Volumes that are configured for NetBackup NearStore disk storage
units do not support the snapvault snap sched command. Any attempt
to run the snapvault snap sched command on a NetBackup NearStore
volume fails.

61

62

Additional configuration
About NearStore storage unit configuration

Use the snapvault snap unsched command to turn off the SnapVault
schedule for a set of snapshots and stop the snapshot process for the
SnapVault secondary storage system.
Note: The snapvault snap unsched command does not end the SnapVault
relationships between the secondary system qtrees and their platform
source drives or directories. To do so, run the snapvault stop command
for each configured qtree or existing on the volume to be used as a
NearStore disk storage unit.

Perform initial full backups for client and policy pairs.


For every client and policy pair, a full backup must be performed to a
NearStore disk storage unit before an incremental of any type can be
performed.

Advantages of NearStore disk storage units


The advantages of using NearStore disk storage units are as follows:

The space that is needed for backup data is reduced.


NearStore avoids duplicating disk blocks by comparing blocks in the most
recent backup with the preceding backup image. Incremental backups do not
consume disk space unless blocks in the new backup image differ from blocks
in the active file system. As a result, multiple backups to the same volume
store only uncommon blocks, and blocks that are common continue to share.
Space savings are based on a per-client basis and only for files with identical
names.
Use the Data ONTAP snapvault status -b command to view data on the
space savings. For example:
gabe*> snapvault status -b
Snapvault secondary is ON.
Volume
actual
used
-------------image_size_vol
1471MB
1174MB
r200> df -s
Filesystem
/vol/vol0/
/vol/flexsle/
/vol/sim/
/vol/p3/

used
1335000
96
292
21304124

saved
----297MB

shared
0
0
0
14637384

%saved
-----20%

saved
0
0
0
21731976

ratio
----1.25:1

%saved
0%
0%
0%
50%

Additional configuration
About NearStore storage unit configuration

The tar image is retained for interoperability.


The NetBackup tar image is preserved in a WAFL qtree to support NetBackup
administrative functions such as file restoration, duplication, disk staging,
import from disk, and twinning to another storage unit.

No NetBackup administrator is necessary to perform user restores.


Backups to the NearStore disk storage unit with the file system export option
enabled do not require a NetBackup administrator to perform restore. File
system export allows the NetApp storage system to present a normal CIFS or
NFS file system to users to perform simple file restores.

NearStore restrictions in the current release


The following NearStore restrictions affect the current release of NetBackup:

A NearStore disk storage unit requires an Ethernet connection since data is


transferred over a TCP/IP socket. Gigabit Ethernet (GbE) is preferred.

A NearStore disk storage unit does not support the Checkpoint restart feature.
This restriction will be removed in future NetBackup releases.

NearStore disk storage units do not support backups based on certain policy
configurations, as follows:
Backup policy
configuration

In space optimized In file system


image mode
export mode

In image mode

NetBackup for
Microsoft SQL
Server

Supported

Unsupported

Supported

NetBackup for
Microsoft SQL
Server
(multistreamed)

Unsupported

Unsupported

Unsupported

NetBackup for
Sybase

Supported

Unsupported

Supported

NetBackup for
Sybase
(multistreamed)

Unsupported

Unsupported

Unsupported

NetBackup for
Oracle proxy block
level incremental

Supported

Unsupported

Supported

63

64

Additional configuration
About NearStore storage unit configuration

Backup policy
configuration

In space optimized In file system


image mode
export mode

In image mode

NetBackup for
Oracle proxy block
level incremental
(multistreamed)

Unsupported

Unsupported

Unsupported

A NearStore disk storage unit with the file system export option enabled does
not support user backups. NetBackup does not collect True Image Restore
information for user backups. The file system export mode requires that TIR
information be collected.

A NearStore disk storage unit with the file system export option enabled does
not support hot catalog backups. Hot catalog backups rely, in part, on the user
backup process that does not collect TIR information.

NearStore disk storage units cannot operate with the clustering functionality
in ONTAP 7.2 or earlier. Clustering is turned on by default on some filers. To
allow NearStore functionality, remove the clustering license and reboot the
filer.

NearStore disk storage units offer partial support for basic disk staging, as
follows:
Basic disk staging In space optimized In file system
storage unit
image mode
export mode
configuration

In image mode

Stage I disk staging Unsupported


storage unit

Unsupported

Supported

Stage II disk staging Supported


storage unit(final
destination)

Supported

Supported

Preparing a NearStore configuration


To make the SnapVault storage unit available for backups, add, enable, and
configure SnapVault on the secondary filer.

Configuring SnapVault on a filer


Use the following procedure to configure SnapVault on a filer.

Additional configuration
About NearStore storage unit configuration

To configure SnapVault on a filer

Add the secondary SnapVault license by typing the following command:


license add sv_secondary_license

Enable SnapVault by typing the following command:


options snapvault.enable on

Grant access to the primary filer and to the media servers authorized to access
the NearStore system by entering the following command:
options snapvault.access
host=nbu_media_server1,nbu_media_server2...

Authenticating a NetBackup media server


You must configure a NearStore user name and password in NetBackup before
the storage unit is created. NearStore authentication information is stored in the
NetBackup Enterprise Media Manager (EMM) database.
Note: A NetBackup NDMP license is not required to create a NearStore disk storage
unit. However, to use the NetBackup Administration Console to enable NearStore
credentials instead of tpconfig, NDMP must be enabled.
Use the following procedure to authenticate a NetBackup media server.
To authenticate the NetBackup media server

On the NetBackup server, in the NetBackup Administration Console, select


Media and Device Management > Credentials > NDMP Hosts.

On the Actions menu, select New > New NDMP Host.

In the Add NDMP Host dialog box, provide the name of the secondary host.

Click OK.

Specify the credentials on the NDMP host. Use global credentials or credentials
specific to this host.
Credentials can also be configured by using the tpconfig command.

Creating a root NearStore user name and password


Use the following procedure to create a root NearStore user name and password.

65

66

Additional configuration
About NearStore storage unit configuration

To create a root NearStore user name and password

Type the following command:


tpconfig -add -snap_vault_filer -nh hostname -user_id root_ID
[-password root_password]

Note: Avoid using root as an NDMP password because root is not encrypted, and
can compromise the integrity of the storage system.

Creating a non-root NearStore user name and password


Administrators can create user accounts on the NearStore to perform backups
and restores. The following procedure describes a method to send a users
encrypted password over the network.
To create a non-root NearStore user name and password

Log onto the NearStore.

To create a new user, enter the following command:


useradmin user add userID -g groupID

Enter a password when prompted.

To receive the encrypted version of the password, enter the following


command:
ndmpd password userID

where userID is the name of the user added.

Record the password.

Log off of the NearStore.

Enter the following tpconfig command:


tpconfig -add -user_id user name -nh
nearstore_name-snap_vault_filer -password encrypted_password

The encrypted password is passed across the network.

Verifying the NearStore credentials in the EMM database


Use the following procedure to verify that the NearStore credentials have been
entered into the NetBackup EMM database.

Additional configuration
About NearStore storage unit configuration

To verify that NearStore credentials are in the NetBackup EMM database

After the tpconfig command is run, ensure that the media server is
authenticated by running the following command:
nbemmcmd -listhosts -list_snap_vault_filers
-machinenamemedia_server_name

For example:
C:\Program Files\VERITAS\NetBackup\bin\admincmd>
nbemmcmd -listhosts -list_snap_vault_filers -machinename entry
NBEMMCMD, Version:7.0CA(20091207)
The following hosts were found:
ndmp mmnetapp.xxx.yyy.com
Command completed successfully.

NearStore disk storage unit properties


The table describes the properties that are specific to NearStore storage units.
The entries in this dialog box are case-sensitive .
The properties that are specific to NearStore storage units are described in the
following topics. The entries in this dialog box are case-sensitive .

67

68

Additional configuration
About NearStore storage unit configuration

Figure 2-4

Creating a new NearStore disk storage unit

Space optimized image mode

File system export mode


If neither option is enabled, the
storage unit uses image mode
(which acts much like a
BasicDisk storage unit)
Displays only those volumes
that are available to the
NearStore disk storage unit

Storage unit type

For a NearStore storage unit, select Disk as the Storage unit type.

On demand only

A NearStore disk storage unit can only be used on demand. On demand only cannot
be deselected.

Disk type

Depending on what is licensed, there are a number of disk types available from which
to choose. To configure a NearStore storage unit, select NearStore.

NearStore server

The NearStore server drop-down list contains all NearStore hosts configured and
authenticated for the selected media server and available to NetBackup.

Absolute pathname to
volume

The Absolute pathname to volume drop-down list contains all the volumes in the
selected NearStore that are capable of serving as NetBackup disk storage units. The
list displays only FlexVol volumes. For example, WORM volumes are filtered out.
Initially, every volume requires a full backup. All subsequent backups are incremental.

Additional configuration
About NearStore storage unit configuration

Properties button

Click the Properties option to display the following:


Volume capacity
The total capacity of the volumes on the NearStore unit.
Available space

The storage currently available for use on the NearStore unit.


% Full
The storage that is currently in use on the NearStore unit.

69

70

Additional configuration
About NearStore storage unit configuration

Enable block sharing and How the data is stored differs depending on whether the Enable block sharing setting
Enable file system export or the Enable file system export setting is selected. Each setting permits the storage
unit to store data in one of the following modes: the space optimized image mode, the
file system export mode, or the image mode.
Enable block sharing option
The Enable block sharing setting allows data blocks that have not changed from
one backup to the next to be shared. Sharing data blocks can save disk space
significantly in the storage unit.
If only the Enable block sharing setting is enabled, the NearStore uses the space
optimized image mode. The space optimized image mode makes use of
single-instance store (SIS) without the additional requirement of managing
snapshots. This mode is especially useful for database backups since an exported
file system of a database backup is not useful in that case.
Enable file system export option
If both the Enable file system export and the Enable block sharing settings are
enabled, the backups are created using the file system export mode. In the file system
export mode, backups become user mountable when exported as CIFS or NFS file
systems. This means that the user mounts the backup image with CIFS or NFS and
copies the files using native tools (for example, Windows Explorer).
Be sure to enable Collect true image restore information with move detection on
the policies that write to FSE-enabled NearStore disk storage units. This policy
attribute must be enabled or the backups fail.
Backups that use the file system export mode use snapshots to tie images together.
The space that a snapshot consumes is unavailable for reuse until every image in
the snapshot expires and is deleted.
Because of this behavior, configure policies so that the images in the NearStore
storage unit do not become interrelated. For example, do not combine schedules
with dissimilar backup frequencies or retention periods within the same policy.

Note: The 7.2 ONTAP kernel enforces a limit of 255 snapshots per volume and 200
volumes per NearStore.

Reduce fragment size

Image mode option


To select Enable temporary staging area (used for basic disk staging), both Enable
block sharing and Enable file system export must not be selected. In this way, the
NearStore stores the backup using the image mode. Using this mode, the clients
tar stream is passed to the NearStore without additional information. Since the
ONTAP kernel cannot read NetBackups tar format, only basic NetBackup operations
can be performed, not SIS.

NearStore uses the Reduce fragment size setting differently than other storage units.
NetBackup writes to a NearStore by laying out the data in one large image, and not
dividing the data into fragments.

Enable temporary staging To select Enable temporary staging area, both Enable block sharing and Enable file
area
system export must not be selected. As previously stated, when the NearStore is in
image mode, it acts much like a BasicDisk storage unit in how data is stored.

Additional configuration
About NearStore storage unit configuration

See About NearStore storage unit configuration on page 59.


See Preparing a NearStore configuration on page 64.

Viewing the backup image on a NearStore storage unit


To view the backup image on a NearStore storage unit

Use the bpstsinfo command to look for images on the NearStore, as well as
to look at server and logical storage unit (LSU) attributes.
Details about the bpstsinfo command are available in NetBackup Commands.

See Preparing a NearStore configuration on page 64.

About NearStore disk consumption


Snapshot creation consumes a large amount of disk space. NetBackup prepares
for this space requirement by reserving 20% of the disk space on the volume to
be used exclusively for the snapshot, and not for the active file system.
If the snapshots exceed the reserved amount, space is consumed as needed from
the active file system. However, the active file system cannot consume disk space
that is reserved for snapshots.
Whenever snapshots consume more than 100% of the reserved space, the active
file system is in danger of becoming full. Under these conditions, backups fail
until administrative action is taken.
Administrative action can include the following:

Using the NetBackup Catalog utility to expire images.

Lowering the retention level for images so that images are expired sooner.

Note: To permit End of Media detection on NearStore disk staging storage units,
backup performance is diminished when a NearStore volume is within 4 gigabytes
of being full.

Note: The volume properties of the NearStore storage unit display a value for the
storage available on the volume. A volume that is designated for NearStore storage
should be used exclusively for NetBackup.
See About NearStore disk full conditions on page 81.

71

72

Additional configuration
About NearStore storage unit configuration

Disaster recovery by using volume SnapMirror on NearStore disk


storage units
NetBackup and NetApp volume SnapMirror technology can be used to provide a
disaster recovery solution for NearStore disk storage units.
The volume SnapMirror feature can be used to replicate a NearStore disk storage
unit from one NearStore to a second NearStore to provide failover support in a
disaster recovery situation.
Disaster recovery planning should always include NetBackup catalog backup and
restore procedures.
Information about catalog backups and restores in a disaster recovery situation
is available.
See the NetBackup Troubleshooting Guide.

About disaster recovery scenarios on NearStore disk storage


units
These examples are based on the following representative environment:

Two media servers back up to volumes on a NearStore disk storage unit


(NearStoreA).

mediaserver1 backs up to volume1 on NearStoreA

mediaserver2 backs up to volume2 on NearStoreA.

NearStoreA contains volumes that are replicated by using SnapMirror to


NearStoreB.

Additional configuration
About NearStore storage unit configuration

Figure 2-5

Example NearStore configuration

Mediaserver1

NearStoreA disk
storage unit

Vol
1

Mediaserver2

Vol
2

NearStoreA fails
over to NearStoreB

SnapMirror relationship

Vol
1

Vol
2

NearStoreB disk
storage unit

Two basic disaster recovery scenarios for the volumes on NearStoreA are as
follows.
Table 2-5

Disaster recovery scenarios

Scenario

Action

The volumes on NearStoreA If the volumes on NearStoreA were destroyed and cannot
are unrecoverable.
be recovered, the SnapMirror relationship must be manually
broken, making the replicated volumes on NearStoreB
read-enabled and write-enabled.
For each replicated volume on each media server, an entry
is added in the NetBackup bp.conf file (UNIX) or registry
(Windows). This entry instructs NetBackup to redirect
restores, verifications, and deletions to the replicated copy.
The bpstsinfo command provides a check to identify any
images that were not replicated before the failure. After the
failover, storage units must be altered so that future backups
go to volumes on the failover NearStore.
See Configuring a failover NearStore storage unit as the
main storage unit in a disaster recovery scenario
on page 74.

73

74

Additional configuration
About NearStore storage unit configuration

Table 2-5
Scenario

Disaster recovery scenarios (continued)


Action

The volumes on NearStoreA If the volumes were not destroyed but are temporarily
are recoverable.
unavailable, all data that is backed up to NearStoreB while
NearStoreA was unavailable can be transferred back to
NearStoreA. NetBackup then can be reconfigured to direct
restores, verifications, deletions, and backups to NearStoreA
again.
See Transferring data from a failover NearStore storage
unit to a recovered NearStore storage unit on page 78.

About the initial NearStore configuration in disaster recovery


scenarios
An illustration of this configuration is provided in the following topic:
See About disaster recovery scenarios on NearStore disk storage units
on page 72.
As in any NetBackup environment, first create NearStore storage units, create
backup policies, and configure catalog backups.
On NearStoreB, configure a SnapMirror relationship for each volume to be
replicated from NearStoreA. Configure a SnapMirror schedule with a relatively
small time period to minimize any data mismatches between the source and
destination in the case of a disaster.
Information on how to configure SnapMirror relationships and schedules is
available.
See the NetApp Online Backup and Recovery Guide.

Configuring a failover NearStore storage unit as the main


storage unit in a disaster recovery scenario
This topic describes how to position a failover NearStore storage unit to handle
all subsequent backups and restores.
Configuration is provided in the following topic:
See About disaster recovery scenarios on NearStore disk storage units
on page 72.
Break the SnapMirror relationship to use NearStoreB as the new NearStore disk
storage unit.

Additional configuration
About NearStore storage unit configuration

To configure a NearStore storage unit for failover protection

Issue a snapmirror break command on the replicated volumes on NearStoreB


to break the SnapMirror relationship between the volumes.
NearStoreB> snapmirror break volume1
NearStoreB> snapmirror break volume2

Change the configuration for each volume that was failed over.

On each UNIX media server, do the following:


Add a NEARSTORE_FAILOVER_SERVER entry to the bp.conf file for each
volume that was failed over. The following entry is for mediaserver1:
NEARSTORE_FAILOVER_SERVER = NearStoreA:/vol/volume1
NearStoreB:/vol/volume1

The following entry is for mediaserver2:


NEARSTORE_FAILOVER_SERVER = NearStoreA:/vol/volume2
NearStoreB:/vol/volume2

On each Windows media server, do the following:


Use the bpsetconfig command to add the NEARSTORE_FAILOVER_SERVER
entry to the registry (type Multi-String Value).
If it is added correctly, the entry should appear in the following registry
location:
HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\NetBackup\
ConcurrentVersion\Config

The following entry is for mediaserver1:


NearStoreA:/vol/volume1 NearStoreB:/vol/volume1

The following entry is for mediaserver2:


NearStoreA:/vol/volume2 NearStoreB:/vol/volume2

On each media server, run the bpstsinfo -comparedbandstu command. The


command displays differences between the catalog contents on the catalog
and the storage unit contents.
Because the SnapMirror replication is performed asynchronously, some
images may not have been fully replicated before the NearStoreA went down.
bpstsinfo -comparedbandstu creates a list of images that, according to catalog
records, are on NearStoreA. The command compares that list to the images

75

76

Additional configuration
About NearStore storage unit configuration

NearStoreB reports that it contains. The command displays a list of images


if they are not present in both the catalog and NearStoreB, along with the
image location. The command reports whether the image is in only the catalog
or only the storage unit. The list identifies any discrepancy to the
administrator so the appropriate action can be taken.
The following is the command for mediaserver1:
/usr/openv/netbackup/bin/admincmd/bpstsinfo -comparedbandstu
-oldservervolume NearStoreA:/vol/volume1 -servername NearStoreB
-serverprefix ntap: -lsuname /vol/volume1

The following is the command for mediaserver2:


/usr/openv/netbackup/bin/admincmd/bpstsinfo -comparedbandstu
-oldservervolume NearStoreA:/vol/volume2 -servername NearStoreB
-serverprefix ntap: -lsuname /vol/volume2

Use the following as a guide to analyze the output from the command.

No differences
If no differences exist between the images in the catalog and the images
on the NearStore volume, no images are listed in the output.
The output contains only debug logging as follows:
STS: STH_ESDEBUG: comparedbandstu: libsts openp() 06/09/12 10:48:37:
opening module /usr/openv/lib/libstspibasicdiskMT.so
STS: STH_ESDEBUG: comparedbandstu: libsts openp() 06/09/12 10:48:38:
opening module /usr/openv/lib/libstspinearstoreMT.so
Nearstore disk subtype

With differences
The output contains additional information if mismatches are found. A
mismatch can exist if, for example, one image did not get replicated to
NearStoreB before NearStoreA went down.
STS: STH_ESDEBUG: comparedbandstu: libsts openp() 06/09/12
10:39:37: opening module /usr/openv/lib/libstspibasicdiskMT.so
Nearstore disk subtype
ONLY IN CATALOG
imagename:mediaserver1_1157990060 policy:powerpoint_backup
copy_num:1 frag_num:0 is_header:TRUE resume_num:0
ONLY IN CATALOG
imagename: mediaserver1_1157990060 policy: powerpoint_backup
copy_num:1 frag_num:1 is_header:FALSE resume_num:0

Additional configuration
About NearStore storage unit configuration

Note: Two images are listed but they represent only one backup. There
are separate files for the header and the actual backup data. If this backup
was enabled for True Image Restore, three images would have printed.
To determine if the images are part of the same backup, look at the
imagename field. In the example, both listings have the same image name,
which indicates that they are part of the same backup.

If there are differences, remove the entries for this image from the NetBackup
catalog either by using the NetBackup Administration Console or by running
bpexpdate.
To remove the entry from the catalog by using bpexpdate, enter the following:
/usr/openv/netbackup/bin/admincmd/bpexpdate -backupid
mediaserver1_1157990060 -d 0

If the original volumes on NearStoreA are never expected to recover, manually


delete the snapshot copies used by the SnapMirror transfer on volumes
volume1 and volume2. (Do this action if, for example, you do not expect that
the volume will be SnapMirror resynced.)

Issue snapmirror status -l on the destination volume on NearStoreB:


NearStoreB> snapmirror status -l vsmtest1

The following is the output:


NearStoreB> snapmirror status -l volume1
Snapmirror is on.
Source:
Destination:
Status:
Progress:
State:
Lag:
Mirror Timestamp:
Base Snapshot:
Current Transfer Type:
Current Transfer Error:
Contents:
Last Transfer Type:
Last Transfer Size:

NearStoreA:volume1
NearStoreB:volume1
Idle
Broken-off
00:05:28
Fri Sep 29 10:39:28 PDT 2006
NearStoreB(0101178726)_volume1.2
Replica
Resync
72 KB

77

78

Additional configuration
About NearStore storage unit configuration

Last Transfer Duration: 00:00:03


Last Transfer From:
NearStoreA:volume1

Delete the base snapshot copy that is associated with the volume, as
follows:
NearStoreB> snap delete volume1 NearStoreB(0101178726)_volume1.2

Repeat 5 for volume2.

Remove any SnapMirror schedules that are added in the snapmirror.conf


file for these volumes.

Reconfigure the disk storage units that were originally configured to the
volumes on NearStoreA. Point the disk storage units to the disk storage units
on NearStoreB by using the following command:
/usr/openv/netbackup/bin/admincmd/bpsturep -label <storage unit
label> -nh NearStoreB

If the catalog was backed up to NearStoreB, the disaster may require a catalog
recovery.
See the NetBackup Troubleshooting Guide.
Catalog backups to NearStore disk storage units are restricted to those that
do not have the File System Export option enabled.

Transferring data from a failover NearStore storage unit to a


recovered NearStore storage unit
In this example, NearStoreA is taken down for maintenance and NearStoreB is
configured as the new NearStore disk storage unit.
Configuration is provided in the following topic:
See About disaster recovery scenarios on NearStore disk storage units
on page 72.
To enable NearStoreB as the new temporary disk storage unit, the administrator
performs the steps that are outlined in the following topic:
See Configuring a failover NearStore storage unit as the main storage unit in a
disaster recovery scenario on page 74.
When NearStoreA is back online, the administrator wants to use it again as the
disk storage unit. All data that was backed up to NearStoreB while NearStoreA
was unavailable must be transferred to NearStoreA before re-enabling NearStoreA
as the disk storage unit.

Additional configuration
About NearStore storage unit configuration

79

To transfer data between NearStore storage units and re-enable the original as the
disk storage unit

Resync the volume(s) from NearStoreB back to NearStoreA.


NearStoreA> snapmirror resync -S NearStoreB:volume1
volume1NearStoreA> snapmirror resync -S NearStoreB:volume2 volume2

Issue snapmirror release commands for both volumes on NearStoreA, as


NearStoreA is no longer the replica source.
NearStoreA> snapmirror release volume1
NearStoreB:volume1NearStoreA> snapmirror release volume2
NearStoreB:volume2

Delete the base snapshots on NearStoreB. The snapshots that were originally
used by SnapMirror while transferring data from NearStoreA to NearStoreB
are no longer needed.

Confirm that the relationships are intact by issuing SnapMirror updates on


NearStoreA by entering the following:
NearStoreA> snapmirror update -S NearStoreB:volume1
volume1NearStoreA> snapmirror update -S NearStoreB:volume2 volume2

Change the configuration for each volume to redirect access of backups that
were made to NearStoreB to NearStoreA:

On each UNIX media server do the following:


Change the bp.conf entry for each volume to redirect access of backups
that were made to NearStoreB to NearStoreA.
NEARSTORE_FAILOVER_SERVER = NearStoreB:/vol/volume1
NearStoreA:/vol/volume1

The following entry is for mediaserver2:


NEARSTORE_FAILOVER_SERVER = NearStoreB:/vol/volume2
NearStoreA:/vol/volume2

On each Windows media server do the following:


Use the bpsetconfig command to add the NEARSTORE_FAILOVER_SERVER
entry to the registry (type Multi-String Value).
If it was added correctly, the entry should appear in the following registry
location:

80

Additional configuration
About NearStore storage unit configuration

HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\NetBackup\
ConcurrentVersion\Config

The value for mediaserver1 is as follows:


NearStoreB:/vol/volume1 NearStoreA:/vol/volume1

The value for mediaserver2 is as follows:


NearStoreB:/vol/volume2 NearStoreA:/vol/volume2

Reconfigure the disk storage units to the disk storage units on NearStoreA,
using the following command:
/usr/openv/netbackup/bin/admincmd/bpsturep -label <storage unit
label> -nh NearStoreA

NearStore troubleshooting log locations


Troubleshooting logs are located in the following areas:

By default (if not creating multiple copies): /usr/openv/netbackup/logs/bpdm

If creating multiple copies: /usr/openv/netbackup/logs/bptm

All other logging is similar to a standard backup, for example, producing progress
logs.
Troubleshooting logs contain more information about the interaction with
NearStore.
On the NearStore, the root volume contains a NetBackup-specific log file that
details the protocol between NetBackup and the NearStore.
ONTAP debug logs are located in the following area:
/vol/vol0/etc/logs/nbu_snapvault

Licensing and permissions on NearStore storage units


Check NearStore licensing and permissions as follows:

Make sure that the permissions on the disk storage unit are set so that data
can be written to the volume.
If permissions are Read Only, NetBackup cannot write to it.

Make sure that the SnapVault license has been added and is turned on.

Additional configuration
About NearStore storage unit configuration

Make sure the tpconfig command is used to add the NearStore user ID and
password into the EMM global database.
Additional information is available in the following topic:
See Authenticating a NetBackup media server on page 65.

Make sure that the number of concurrent backup or restore connections does
not exceed 128. If the maximum number of transfers that are allowed to a
single NearStore is exceeded, the ONTAP kernel reports the following error:
inf Wed Jul 6 07:28:27 CDT [10.80.106.36:58645] Maximum
active transfers reached.

About NearStore disk full conditions


The following items are notes regarding disk full conditions:

If jobs fail to write to the NearStore, make sure that the space that is reserved
for snapshots on the NearStore is not completely full. When the reserved space
is full, NetBackup uses the active file system space as needed.

In the case of a disk full condition on the NearStore, make sure that no WAFL
snapshots are consuming disk space.

See About NearStore disk consumption on page 71.

About the NearStore file system export mode


If both the File System Export and the Enable Block Sharing settings are enabled,
the backups are created using the File System Export mode. In the File System
Export mode, backups become user-mountable when exported as CIFS or NFS file
systems. This means that a user can mount the backup image with CIFS or NFS
and copy the files using native tools.
When working in File System Export mode, keep in mind the following:

Snapshots are used to ensure the integrity of the exported file system. A
snapshot is made up of one or more images in a group. Before a snapshot can
be reclaimed (or deleted), all the images it contains must be deleted.
The snapshots must be deleted to keep the NearStore file system synchronized
with the last NetBackup catalog image:

Use bpstsinfo -imagegrouplist to determine what image groups are


contained within a snapshot.

Use bpstsinfo -deleteimage to delete the images within a snapshot.

81

82

Additional configuration
About NearStore storage unit configuration

A File System Export-enabled NearStore storage unit may generate a return


code of 1 (partially successful) even if all the data was backed up successfully.
This result can occur if the last backup to that client and policy pair did not
generate a return code of 0 due to incorrect True Image Restore information.
In the Activity Monitor, in the Job Details for the job, note that additional files
may have been exported on the NearStore that were not in the most recent
client backup:
9/27/2009 5:20:34 PM - Error bpdm(pid=2328) The backup was
successful but the exported filesystem on the storage host gabe
may display files that are no longer present on the client
filesystem. (STS_EEFSCHK)
9/27/2009 5:20:38 PM - Warning bpbrm(pid=2412) The filesystem
exposed by the nearstore DSU may not be up to date. Check the
Nearstore's nbu_snapvault log for details

Chapter

Reference topics
This chapter includes the following topics:

Host name rules

About reading backup images with tar

Factors that affect backup time

Methods for determining the NetBackup transfer rate

NetBackup notify scripts

Media and device management best practices

About TapeAlert

About tape drive cleaning

How NetBackup selects drives

How NetBackup reserves drives

How NetBackup selects media

Volume pool and volume group examples

Media formats

Media Manager commands

Host name rules


NetBackup uses host names to identify, communicate with, and initiate processes
on NetBackup client and server computers. The correct use of host names during
configuration is essential to the proper operation of NetBackup.

84

Reference topics
Host name rules

See About dynamic host name and IP addressing on page 47.


NetBackup uses TCP/IP host names to connect to NetBackup servers and clients.
NetBackup validates its connections by performing a reverse host name lookup.
That is, NetBackup determines the IP address of a connection and then uses the
IP address to look up the host name with gethostbyaddr(). The host name and
address resolution must be set up correctly in DNS, WINS, or the local
%Systemroot%\system32\drivers\etc\hosts file (if necessary).
Note: Place the system host name and IP address in the
%Systemroot%\system32\drivers\etc\hosts file to accelerate name lookups.
See Using the System Monitor with NetBackup on page 94.

How NetBackup uses host names


A major consideration is the extent to which you qualify host names. In many
cases, the short host name of a computer is adequate. If the network environment
contains multiple domains, qualify host names to the extent that servers and
clients can identify each other in a multi-domain environment.
For example, use a name such as mercury.bdev.null.com or mercury.bdev rather
than only mercury.
The following topics discuss how NetBackup stores and uses host names. These
topics also address factors to consider when you choose host names.
Note: Do not change the host name of a NetBackup server. This practice is not
recommended. You may need to import all previously used media to the server
before you can use it under the new host name.
The following table discusses topics that address how NetBackup stores and uses
host names.

Reference topics
Host name rules

Table 3-1

How NetBackup stores and uses host names

Topic

Description

Policy configuration

The configured name for a client is the host name as it is added to a policy. This name
is how the client is identified in the NetBackup configuration.
The server uses the clients configured name to connect to the client and start the
processes that satisfy client requests. Always use qualified host names to add clients
to a policy so that all NetBackup servers can connect to the clients.
When a client makes a user backup, archive, or restore request to the NetBackup
server, the server uses the peer name of the client. The peer name (identified from
its TCP connection) is used to determine the clients configured name.
If you add a client to more than one policy, always use the same name in all cases. If
the same name is not used, the client cannot view all the files that are backed up on
its behalf. In this case, file restores become complicated because both user action
and administrator action is required to restore from some of the backups.

Image catalog

A subdirectory in the image catalog is created for a client when a backup is first
created for that client. The subdirectorys name is the clients configured name.
Every backup for a client has a separate file in this subdirectory. Each of these backup
records contains the host name of the server on which the backup was written.

Error catalog

NetBackup uses entries in the error catalog for generating reports. These entries
contain the host name of the server that generates the entry and the clients
configured name, if applicable. The server host name is normally the servers short
host name. (For example, servername instead of servername.null.com.)

Catalog backup information

This topic applies to NetBackup Enterprise Server.


If you include a media servers catalog files in the NetBackup catalog, qualify the
host name of the media server in the file path. Qualified names are necessary because
they allow the master server to connect to the media server.

Updating NetBackup after changing the host name


Do not change the host name of a NetBackup server. A name change might require
that all previously used media be imported to the server before the host can be
used under the new name.
Use the following steps to update the NetBackup configuration if a clients host
name is changed.
To update NetBackup after a master
server name change

See To update NetBackup after a master server


name change on page 86.

85

86

Reference topics
Host name rules

To update NetBackup after a client name See To update NetBackup after a client name
change
change on page 86.

To update NetBackup after a master server name change

On the master server, delete the clients old name from all policies where it
exists and add the clients new name to those policies. You do not need to
reinstall NetBackup software on the client. The client continues to have access
to all previous backups.

Create a file named ALTPATH in the image catalog directory.


For example, if the client name is client1, the ALTPATH file is created in the
following location:
Install_path\VERITAS\NetBackup\db\images\client1\
ALTPATH

Create a directory for the new client2 in the \images directory:


Install_path\VERITAS\NetBackup\db\images\client2

On the first line of the client1\ALTPATH file, specify the path to the directory
for the new client. The path is the only entry in the ALTPATH file.
Install_path\VERITAS\NetBackup\db\images\client2

To update NetBackup after a client name change

On PC clients, change the client name setting either through the user interface
or in a configuration file.
See the online Help in the Backup, Archive, and Restore client interface.

On UNIX clients, change the CLIENT_NAME value in the bp.conf file to the
new name.
If users on UNIX clients have a bp.conf file in the $HOME directory, users must
change CLIENT_NAME in that file to the new name.

Special considerations for Domain Name Service (DNS)


In some requests to the master server, client software sends the name that it
obtains through its gethostname library function. If the name is unknown to the
master server Domain Name Service, the master server may not be able to reply
to client requests.

Reference topics
Host name rules

This possible situation depends on how the client and the server are configured.
If gethostname on the client returns host the names that DNS on the master server
cannot resolve, problems occur.
One possible solution is to reconfigure the client or the master server DNS hosts
file. Another option is to create a special file in the altnames directory on the
master server. The file forces the translation of NetBackup client host names.
install_path\NetBackup\db\altnames\host.xlate

Each line in the host.xlate file contains three elements: a numeric key and two
host names. Each line is left-justified, and a space character separates each element
of the line:
key hostname_from_ client client_as_known_by_server

Where

key is a numeric value used by NetBackup to specify the cases where translation
is to be done. Currently this value must always be 0, which indicates a
configured name translation.

hostname_from_client is the value to translate. The client name must


correspond to the name that is obtained by running the clients gethostname.
The value must be sent to the server in the request.

client_as_known_by_server is the name to substitute for hostname_from_client


for request responses. The name must match the name in the NetBackup
configuration on the master server and must also be known to the master
servers network services.

Consider the following example:


0 xxxx xxxx.eng.aaa.com

The line specifies that when the master server receives a request for a configured
client name (numeric key 0), the name xxxx.eng.aaa.com always replaces xxxx.
The substitution resolves the problem if the following conditions are true:

When gethostname is run on the client, it returns xxxx.

The master servers network services gethostbyname library function did not
recognize the name xxxx.

The client was configured and named in the NetBackup configuration as


xxxx.eng.aaa.com. And, this name is also known to network services on the
master server.

87

88

Reference topics
About reading backup images with tar

About reading backup images with tar


NetBackup for UNIX uses a modified GNU tar for reading backup images. By using
the modified tar, NetBackup can understand compressed files, sparse files, long
pathnames, and ACL information. It offers features similar to those in cpio.
Although non-NetBackup versions of tar can be used to restore files, they provide
only limited restore capabilities.
Note: You cannot use the NetBackup modified-GNU tar on UNIX or tar32.exe
on Windows to extract files from a NetBackup for Windows backup image.

Consequences of using a non-NetBackup tar


Non-NetBackup versions of tar do not supply all of the restore capabilities that
the NetBackup /usr/openv/netbackup/bin/tar provides. Possible problems
result.
The following is a list of consequences that can occur if using a non-NetBackup
tar:

Compressed backups cannot be recovered.

Multiplexed backups cannot be recovered.

Solaris extended attributes cannot be restored to a client.

VxFS named data streams cannot be restored to a client.

Backups cannot be recovered that contain raw partitions. (Includes FlashBackup


images.)

NDMP client backup images cannot be restored, though NDMP vendors may
have tools or the utilities that can perform a restore directly from the media.

Non-NetBackup versions of tar may have trouble with sparse files and often
skip sparse files.

HP CDFs are restored with non-NetBackup versions of tar. The directory is no


longer hidden and the name of the directory has a + appended to it.

If the backup spans more than one piece of media, you must read and combine
the fragments from the media to give to tar. To combine the fragments, the
systems dd command may be useful.
Another possibility is to use tar on the fragments. To use tar on fragments
can allow recovery of any file in the backup other than the one that spanned
the media.

Reference topics
Factors that affect backup time

Some versions of the HP9000-800 /bin/tar command are known to give a


directory checksum error for the second fragment of a backup that crossed
media.

Some versions of Solaris tar combine the atime, mtime, and ctime strings with
the file name and create the file paths that are not desirable.

About the files that tar generates


Any version of tar (including NetBackup-modified tar) can generate a number
of files depending on the circumstances of the recovery, as the following table
shows.
Table 3-2

Files that tar generates

File

Description

@@MaNgLeD.nnnn

For backups containing pathnames longer than 100 characters,


tar generates the files that are named @@MaNgLeD.nnnn that
contain the actual file.

@@MaNgLeD.nnnn_Rename

tar generates another file (@@MaNgLeD.nnnn_Rename) that


explains how to rename the @@MaNgLeD.nnnn files to return the
files to the correct location.

@@MaNgLeD.nnnn_Symlink

For long names of symbolic links, tar generates the files that are
named @@MaNgLeD.nnnn_Symlink. These files contain
descriptions of the symbolic links that must be made to return a
link to the correct file.

For cross-platform ACLs restores, tar creates


and stores the ACLs in .SeCuRiTy.nnnn files
in the root directory

The files can either be read or deleted. Regenerate the ACLs to the
corresponding files by hand.

For cross-platform VxFS extent attribute


The files can either be deleted or read and the extent attributes
restores, tar creates and stores extent attributes regenerated by hand to the corresponding files.
in .ExTeNt.nnnn files in the root directory

Factors that affect backup time


The amount of time that NetBackup requires to complete a backup is an important
factor in setting up schedules. The importance of time is particularly true for the
sites that handle large amounts of data. For example, the total backup time can
exceed the time that is allotted to complete backups and interfere with normal
network operations. Longer backup times also increase the possibility of a problem

89

90

Reference topics
Factors that affect backup time

that disrupts the backup. The time to back up files can also give an indication of
how long it may take to recover the files.
Figure 3-1 shows the major factors that affect backup time.
Backup time formula

Figure 3-1
Backup time

Total data
+
Transfer rate

Compression factor
(optional)

Device delays

Total amount of data to back up


The total amount of data to back up depends on the size of the files for each client
in the policy. The total amount of data also depends on whether the backup is a
full backup or an incremental backup.
The implications are as follows:

Full backups involve all the data. Therefore, a full backup usually takes longer
than an incremental backup.

Differential incremental backups include only the data that changed since the
last full or incremental backup.

Cumulative incremental backups include all the data that changed since the
last full backup.

For incremental backups, the amount of data depends on the frequency with which
files change. If a large number of files change frequently, incremental backups
are larger.

Transfer rate
The transfer rate depends on the following factors.
Table 3-3

Transfer rate factors

Factor

Description

Speed of the backup device

Backups that are sent to tapes with a transfer rate of 800


kilobytes per second are generally faster than tapes with a
transfer rate of 400 kilobytes. (Assume that other factors allow
for the faster transfer rate.)

Available network bandwidth

The available bandwidth is less than the theoretical network


bandwidth and depends on how much other network traffic is
present. For example, multiple backups occurring on the same
network compete for bandwidth.

Reference topics
Methods for determining the NetBackup transfer rate

Table 3-3

Transfer rate factors (continued)

Factor

Description

Speed with which the client can process the data The speed varies with the hardware platform and depends on
the other applications that run on the platform. File size is also
an important factor. Clients can process larger files faster than
smaller ones. A backup for 20 files, 1 megabyte each, is faster
than a backup for 20,000 files that are 1 kilobyte each.
Speed with which the server can process the data Like client speed, server speed also varies with the hardware
platform and depends on the other applications that run on the
platform. The number of concurrent backups being performed
also affects server speed.
Network configuration can affect performance

For example, when some machines run full-duplex and some run
half-duplex in an Ethernet environment, the throughput is
significantly reduced.

Device delays

Device delays can be due to the following factors:

The device may be busy or slow to load the media.

The device may be slow to find the location on the media at


which to start writing the backup.

These delays can vary widely and depend on the devices and the
computing environments.

Methods for determining the NetBackup transfer rate


Calculate three variations of the backup transfer rate by using NetBackup report
data.
Three NetBackup transfer rates and calculation methods are available.

91

92

Reference topics
Methods for determining the NetBackup transfer rate

Table 3-4

NetBackup transfer rates

Transfer rate

Description

Network transfer rate

The network transfer rate is the rate provided in the All Log
Entries report.
The network transfer rate considers only the time it takes to
transfer data over the network from client to server.
This rate ignores the following:
The time the device requires to load and position media
before a backup.
The time that the tape file requires to close and write an
additional NetBackup information record to the tape.

Network transfer plus


This rate ignores the time it takes to load and position media
end-of-backup processing before a backup. However, the rate does include the
rate
end-of-backup processing that is ignored in the network
transfer rate. To determine this rate, use the All Log Entries
report and calculate the time from the message:
begin writing backup id xxx
until the message
successfully wrote backup id xxx
To calculate the transfer rate, divide this time (in seconds)
into the total bytes that are transferred. (The total bytes that
are transferred is recorded in the All Log Entries report.)
Total transfer rate

This transfer rate includes the time it takes to load and


position the media as well as the end-of-backup processing.
Use the List Client Backups report to calculate the transfer
rate by dividing Kilobytes by Elapsed Time (converted to
seconds).

The Microsoft Windows System Monitor also displays the NetBackup transfer
rate.
See Using the System Monitor with NetBackup on page 94.

Examples of reports that provide backup data to calculate transfer


rates
Assume that the reports provide the following data.
Sample All Log Entries report:

Reference topics
Methods for determining the NetBackup transfer rate

TIME
04/28/09 23:10:37

04/29/09 00:35:07

SERVER/CLIENT
TEXT
windows giskard begin writing backup
id giskard_0767592458, fragment 1 to
media id TL8033 on device 1 . . .
windows giskard successfully wrote
backup id giskard_0767592458,
fragment 1, 1161824 Kbytes at
230.325 Kbytes/sec

Sample List Client Backups Report:


Client:
Backup ID:
Policy:
Client Type:
Sched Label:
Schedule Type:
Backup Retention Level:
Backup Time:
Elapsed Time:
Expiration Time:
Compressed:
Kilobytes:
Number of Files:

giskard
giskard_0767592458
production_servers
Standard
testing_add_files
Full
one week (0)
04/28/09 23:07:38
001:27:32
05/05/09 23:07:38
no
1161824
78210

The following three rates were compiled with the backup data from the sample
reports:
Network transfer rate:
1161824 Kbytes at 230.325 Kbytes per second
Network transfer plus end-of-backup processing rate:
23:10:30 - 00:35:07 = 01:24:30 = 5070 seconds
1161824 Kbytes/5070 = 229.157 Kbytes per second
Total transfer rate:
Elapsed time = 01:27:32 = 5252 seconds
1161824 Kbytes/5252 = 221.216 Kbytes per second
See Using the System Monitor with NetBackup on page 94.

93

94

Reference topics
Methods for determining the NetBackup transfer rate

Using the System Monitor with NetBackup


NetBackup adds the NetBackup Disk/Tape performance object to the list of objects
that the Windows System Monitor monitors.
Four counters are available for the NetBackup Disk/Tape performance object, as
follows:

Disk/Tape Read Bytes (GB)

Disk/Tape Read Bytes/sec (KB)

Disk/Tape Write Bytes (GB)

Disk/Tape Write Bytes/sec (KB)

The NetBackup performance object supports instances in the System Monitor.


The instances can be drive names or absolute paths to which NetBackup writes,
or from which NetBackup is reads.
The System Monitor displays object instances when NetBackup reads or writes
from the disk or tape. The read or write counters are updated depending on the
type of NetBackup operation performed. The object instance is removed from the
list once the NetBackup operation completes.
If the performance is monitored locally or remotely during a NetBackup read or
write operation, the object instance exists after the NetBackup operation is
complete. In this case, the object instance is removed when performance
monitoring stops.
To monitor NetBackup counters remotely, the initiating computer attaches to the
target computers WinLogon process through RPC. To attach to the process locks
the object instances. Thus, the object instances remain until the system reboots.
To use the System Monitor with NetBackup

Open the System Monitor on the Windows system.

In the Performance window, in the left pane, click on System Monitor.

To add a counter, click the plus sign (+) on the toolbar of the right pane. When
the Add Counters window opens, select NetBackup Disk/Tape from the
Performance object drop-down list.

Reference topics
NetBackup notify scripts

In order for the NetBackup objects to be available for selection, the following
conditions must be met:

The drive must be connected to a Windows media server (or SAN media
server). A NetBackup job must be active (a drive is in use).

The user must have permissions to read the Windows registry.

Performance data collection is enabled (select Host Properties > Media


Servers > Universal Settings > Enable performance data collection).

Select the counter to display from the list of available counters. Available
counters are as follows:

Disk/Tape Read Bytes (GB)

Disk/Tape Read Bytes/sec (KB)

Disk/Tape Write Bytes (GB)

Disk/Tape Write Bytes/sec (KB)

Select one or more object instances from the list of instances. Instances appear
when NetBackup begins to read or write from the disk or the tape drives.

Click Add. The number of bytes that are read or written is updated
dynamically, along with the rate.

NetBackup notify scripts


NetBackup provides scripts or batch files that can collect information and be used
to notify administrators of specific events.

95

96

Reference topics
NetBackup notify scripts

The Install_path\VERITAS\NetBackup\bin\goodies\ directory contains sample


shell scripts to modify. The scripts in the \goodies directory are not supported
but are intended as examples to customize.
The following scripts are active on the master server:
Install_path\VERITAS\NetBackup\bin\backup_notify.cmd

See backup_notify.cmd on Windows on page 97.


Install_path\VERITAS\NetBackup\bin\backup_exit_notify.cmd

See backup_exit_notify.cmd on Windows on page 97.


Install_path\VERITAS\NetBackup\bin\diskfull_notify.cmd

See diskfull_notify.cmd on Windows on page 109.


Install_path\VERITAS\NetBackup\bin\mail_dr_info.cmd

See mail_dr_info.cmd on page 109.


Install_path\VERITAS\NetBackup\bin\goodies\media_deassign_notify

See media_deassign_notify on page 110.


Install_path\VERITAS\NetBackup\bin\nbmail.cmd

See nbmail.cmd on page 110.


Install_path\VERITAS\NetBackup\bin\goodies\pending_request_notify

See pending_request_notify on page 113.


Install_path\VERITAS\NetBackup\bin\restore_notify.cmd

See restore_notify.cmd on Windows on page 113.


Install_path\VERITAS\NetBackup\bin\session_notify.cmd

See session_notify.cmd on Windows on page 113.


Install_path\VERITAS\NetBackup\bin\session_start_notify.cmd

See session_start_notify.cmd on Windows on page 113.


Install_path\VERITAS\NetBackup\bin\userreq_notify.cmd

See userreq_notify.cmd on Windows on page 114.


Install_path\VERITAS\NetBackup\bin\goodies\parent_end_notify.cmd

See parent_end_notify.cmd on Windows on page 111.


Install_path\VERITAS\NetBackup\bin\goodies\parent_start_notify.cmd

See parent_start_notify.cmd on Windows on page 112.

Reference topics
NetBackup notify scripts

Install_path\VERITAS\Volmgr\bin\shared_drive_notify.cmd

See shared_drive_notify.cmd on Windows on page 114.


The following scripts are run on clients:
Install_path\VERITAS\NetBackup\bin\goodies\bpstart_notify.bat

See bpstart_notify.bat (Microsoft Windows clients only) on page 102.


Install_path\VERITAS\NetBackup\bin\goodies\bpend_notify.bat

See bpend_notify.bat (Microsoft Windows clients only) on page 106.


To use the client scripts, first create the script on the client.
See bpstart_notify.bat (Microsoft Windows clients only) on page 102.
See bpend_notify.bat (Microsoft Windows clients only) on page 106.
For more information, see the comments in the scripts.
Note: This note applies only to the NetBackup Enterprise Server. If you use either
the bpstart_notify or bpend_notify scripts, do not include any commands that
write to stdout. NetBackup sends the output that is written to stdout to the server
as part of the backup. The resulting backup can abort with an error message that
pertains to block sizes. Also, ensure that all commands in the scripts are
appropriate to the client platform. For example, the -s parameter is invalid for
the UNIX mail command on some UNIX platforms. Its use can cause data to be
written to stdout or stderr.

backup_notify.cmd on Windows
The backup_notify.cmd script runs on the NetBackup server where the storage
unit is located. It is called each time a backup is successfully written to media.
NetBackup passes the following parameters to this script:

The name of the program doing the backup

The backup-image name or path

For example:
backup_notify.cmd bptm host_0695316589

backup_exit_notify.cmd on Windows
The backup_exit_notify.cmd script runs on the master server. It is called to
perform site-specific processing when an individual backup completes.

97

98

Reference topics
NetBackup notify scripts

NetBackup passes the following parameters to the script:


clientname

Specifies the name of the client from the NetBackup catalog.

policyname

Specifies the policy name from the NetBackup catalog.

schedname

Specifies the schedule name from the NetBackup catalog.

schedtype

Specifies one of the following: FULL, INCR (differential incremental),


CINC (cumulative incremental), UBAK, UARC

exitstatus

Specifies the exit code for the entire backup job.

stream

Specifies the backup stream number for a job.


0 = The backup job is not running multiple data streams.
-1 = The job is a parent job.

done_trying

Specifies whether the job will retry.


0 = The job is not complete and will retry.
1= The job is complete and will not retry.
If the system is configured to make 3 attempts in 12 hours, the job could
run this script up to 3 times. On the final attempt, the done_trying
flag is set to 1. The job has either completed successfully or has failed
and exhausted the number of tries.

For example:
backup_exit_notify.cmd clientname1 pol_prod sched_fulls FULL 0 -1 1
backup_exit_notify.cmd clientname2 pol_prod sched_incr INCR 73 0 1

backup_exit_notify
NetBackup provides scripts or batch files that can collect information and be used
to notify administrators of specific events.
The backup_exit_notify script runs on the master server and is located in the
following directory:
Windows: Install_path\VERITAS\NetBackup\bin\goodies\
UNIX: /usr/openv/netbackup/bin/goodies
backup_exit_notify is called to perform site-specific processing when an

individual backup completes. In NetBackup 6.5.6, two new parameters have been
added to the script.

Reference topics
NetBackup notify scripts

NetBackup passes the following parameters to the script:


clientname

Specifies the name of the client from the NetBackup catalog.

policyname

Specifies the policy name from the NetBackup catalog.

schedname

Specifies the schedule name from the NetBackup catalog.

schedtype

Specifies one of the following: FULL, INCR (differential


incremental), CINC (cumulative incremental), UBAK, UARC

exitstatus

Specifies the exit code for the entire backup job.

stream

New in 6.5.6; specifies the backup stream number for a job.


0 = The backup job is not running multiple data streams.
-1 = The job is a parent job.

done_trying

New in 6.5.6; specifies whether the job will retry:


0 = The job is not complete and will retry.
1 = The job is complete and will not retry.
If the system is configured to make three attempts in 12
hours, the job could run this script up to three times. On the
final attempt, the done_trying flag is set to 1. The job has
either completed successfully or has failed and exhausted
the number of tries.

For example:
backup_exit_notify clientname1 pol_prod sched_fulls FULL 0 -1 1
backup_exit_notify clientname2 pol_prod sched_incr INCR 73 0 1

bpstart_notify (UNIX clients only)


On UNIX clients, NetBackup calls the bpstart_notify script each time the client
starts a backup or an archive.
Note: Ensure that this script can be run by others on the client before it is used.
To do so, run chmod 755 script_name, where script_name is the name of the
script.
To use this script, copy the following file from the server:
Install_path\VERITAS\NetBackup\bin\goodies\bpstart_notify.bat

99

100

Reference topics
NetBackup notify scripts

Then place the script in the following location on the UNIX client:
/usr/openv/netbackup/bin/

Modify the script and ensure that you have permission to run the script.
The bpstart_notify script runs each time a backup or an archive starts and
initialization is completed. The script runs before the tape is positioned. This
script must exit with a status of 0 for the calling program to continue and for the
backup or archive to proceed. A nonzero status causes the client backup or archive
to exit with a status of bpstart_notify failed.
If the /usr/openv/netbackup/bin/bpstart_notify script exists, it runs in the
foreground and the bpbkar process on the client waits for it to complete before
continuing. Any commands in the script that do not end with an ampersand
character (&) run serially.
The server expects the client to respond with a continue message within the time
that the BPSTART_TIMEOUT option specifies on the server.
The default for BPSTART_TIMEOUT is 300. If the script needs more time than 300
seconds, increase the value to allow more time.
NetBackup passes the following parameters to the script:
clientname

Specifies the name of the client from the NetBackup catalog.

policyname

Specifies the policy name from the NetBackup catalog.

schedname

Specifies the schedule name from the NetBackup catalog.

schedtype

Specifies one of the following: FULL, INCR (differential incremental),


CINC (cumulative incremental), UBAK, UARC

Note: The bpstart_notify script also runs for NetBackup catalog backups if a
.policyname[.schedule] is not specified.
For example:
bpstart_notify
bpstart_notify
bpstart_notify
bpstart_notify
bpstart_notify

client1
client2
client3
client4
client5

pol_cd4000s
pol_cd4000s
pol_cd4000s
pol_cd4000s
pol_cd4000s

sched_fulls FULL
sched_incrementals INCR
sched_fulls FULL
sched_user_backups UBAK
sched_user_archive UARC

To create a bpstart_notify script for a specific policy or policy and schedule


combination, create script files with a [.policyname] or .policyname.schedulename

Reference topics
NetBackup notify scripts

suffix. The following are two examples of script names for a policy (production)
that has a schedule (fulls):
/usr/openv/netbackup/bin/bpstart_notify.production
/usr/openv/netbackup/bin/bpstart_notify.production.fulls

The first script affects all scheduled backups in the policy that are named
production. The second script affects scheduled backups in the policy that is
named production only when the schedule is named fulls.
Note: For a given backup, NetBackup uses only one bpstart_notify script and
that is the script with the most specific name. For example, if there are both
bpstart_notify.production and bpstart_notify.production.fulls scripts,
NetBackup uses only bpstart_notify.production.fulls.
The bpstart_notify script can use the following environment variables:
BACKUPID
UNIXBACKUPTIME
BACKUPTIME

The NetBackup bpbkar process creates these variables. The following are examples
of the strings that are available to the script to use to record information about
a backup:
BACKUPID=client1_0857340526
UNIXBACKUPTIME=0857340526
BACKUPTIME=Sun Mar 2 16:08:46 2009

In addition, the following environment variables can be used to support multiple


data streams.
Table 3-5

Environment variables used to support multiple data streams

Environment variable Description


STREAM_NUMBER

Specifies the stream number. The first stream from a policy, client, and schedule is 1. A
0 value indicates that multiple data streams are not enabled.

STREAM_COUNT

Specifies the total number of streams to be generated from this policy, client, and schedule.

STREAM_PID

Specifies the pid (process ID) number of bpbkar.

RESTARTED

Specifies checkpointed restarts or checkpointed backup jobs. A value of 0 indicates that


the job was not resumed. (For example, upon first initiation.) A value of 1 indicates that
the job was resumed.

101

102

Reference topics
NetBackup notify scripts

bpstart_notify.bat (Microsoft Windows clients only)


For all Windows clients, you can create batch scripts that provide notification
whenever the client starts a backup or archive.
To use this script, copy the following file from the server:
Install_path\VERITAS\NetBackup\bin\goodies\bpstart_notify.bat

Then place the file on the client in the same directory as the NetBackup client
binaries:
Install_path\NetBackup\bin\

Where Install_path is the directory where NetBackup is installed.


You can create bpstart_notify scripts that provide notification for all backups
or for backups of a specific policy or schedule.
To create a script that applies to all backups, name the script bpstart_notify.bat.
To create a bpstart_notify script that applies only to a specific policy or policy
and schedule combination, add a .policyname or .policyname.schedulename suffix
to the script name.
The following are examples of bpstart_notify script names:

The following script applies only to a policy named days:


install_path\netbackup\bin\bpstart_notify.days.bat

The following script applies only to a schedule that is named fulls in a policy
named days:
install_path\netbackup\bin\bpstart_notify.days.fulls.bat

The bpstart_notify script also runs for NetBackup catalog backups if a


.policyname[.schedule] is not specified.
The first script affects all scheduled backups in the policy named days. The second
script affects scheduled backups in the policy named days only when the schedule
is named fulls.
For a given backup, NetBackup calls only one bpstart_notify script and checks
for them in the following order:
bpstart_notify.policy.schedule.bat
bpstart_notify.policy.bat
bpstart_notify.bat

Reference topics
NetBackup notify scripts

For example, if there are both bpstart_notify.policy.bat and


bpstart_notify.policy.schedule.bat scripts, NetBackup uses only the
bpstart_notify.policy.schedule.bat script.
Note: bpend_notify scripts can provide a different level of notification than the
bpstart_notify scripts. For example, to use one of each, the script names might
be bpstart_notify.policy.bat and bpend_notify.policy.schedule.bat.
NetBackup passes the following parameters to the script:
%1

Specifies the name of the client from the NetBackup catalog.

%2

Specifies the policy name from the NetBackup catalog.

%3

Specifies the schedule name from the NetBackup catalog.

%4

Specifies one of the following: FULL, INCR, CINC, UBAK, UARC

%5

Specifies that the tatus of the operation is always 0 for bpstart_notify.

%6

Specifies the results file that NetBackup checks for a return code from the script.
NetBackup uses %6 to pass the file name and then expects the script to create
the file in the same directory as the script.
If the script applies to a specific policy and schedule, the results file must be
named
install_path\netbackup\bin\BPSTART_RES.policy.schedule
If the script applies to a specific policy, the results file must be named
install_path\netbackup\bin\BPSTART_RES.policy
If the script applies to all backups, the results file must be named
install_path\netbackup\bin\BPSTART_RES
An echo 0> %6 statement is one way for the script to create the file.
NetBackup deletes the existing results file before it calls the script. After the
script runs, NetBackup checks the new results file for the status. The status
must be 0 for the script to be considered successful. If the results file does not
exist, NetBackup assumes that the script was successful.

The server expects the client to respond with a continue message within the time
that the NetBackup BPSTART_TIMEOUT option specifies. The default for
BPSTART_TIMEOUT is 300. If the script needs more than 300 seconds, increase the
value to allow more time.

103

104

Reference topics
NetBackup notify scripts

For Windows 2000 clients, bpstart_notify script can use the following
environment variables for the support of multiple data streams.
Table 3-6

Environment variables that support multiple data streams

Environment variable

Description

STREAM_NUMBER

Specifies the stream number. The first stream from a policy, client, and schedule is 1.
A 0 value indicates that multiple data streams are not enabled.

STREAM_COUNT

Specifies the total number of streams to be generated from this policy, client, and
schedule.

STREAM_PID

Specifies the pid (process ID) number of bpbkar.

bpend_notify (UNIX clients only)


To receive a notification whenever a UNIX client completes a backup or an archive
operation, copy the following file from the server:
Install_path\VERITAS\NetBackup\bin\goodies\bpend_notify

Then place the file in the following location on the UNIX client:
/usr/openv/netbackup/bin/bpend_notify

Modify the script and ensure that you have permission to run the script.
Note: The bpend_notify script is run when the client is finished sending data,
but the server has not yet completed writing to media.

Note: Ensure that this script can be run by others on the client before it is used.
To do so, run chmod 755 script_name, where script_name is the name of the
script.
The bpend_notify script runs each time a backup or archive completes. For
archives, it runs after the backup but before the files are removed.
If bpend_notify exists, it runs in the foreground and bpbkar on the client waits
until it completes. Any commands that do not end with an ampersand character
(&) run serially.
The server expects the client to respond within the time that the BPEND_TIMEOUT
NetBackup configuration option specifies. The default for BPEND_TIMEOUT is 300.

Reference topics
NetBackup notify scripts

If the script needs more than 300 seconds, set BPEND_TIMEOUT to a larger value.
Avoid too large a value because it can delay the server from servicing other clients.
NetBackup passes the following parameters to the script:
clientname

Specifies the name of the client from the NetBackup catalog.

policyname

Specifies the policy name from the NetBackup catalog.

schedname

Specifies the schedule name from the NetBackup catalog.

schedtype

Specifies one of the following: FULL, INCR (differential incremental),


CINC (cumulative incremental), UBAK, UARC

exitstatus

Specifies the exit code from bpbkar. The status is the client status
and does not indicate that the backup is complete and successful.
The client can display a status 0 when, due to a failure on the server,
the All Log Entries report displays a status 84.

Note: The bpend_notify script also runs for NetBackup catalog backups if a
.policyname[.schedule] is not specified.
For example:
bpend_notify client1 pol_1 fulls FULL 0
bpend_notify client2 pol_1 incrementals INCR 73

To create a bpend_notify script for a specific policy or policy and schedule


combination, create script files with a .policyname or .policyname.schedulename
suffix. The following are two examples of script names for a policy that is named
production with a schedule that is named fulls:
/usr/openv/netbackup/bin/bpend_notify.production
/usr/openv/netbackup/bin/bpend_notify.production.fulls

The first script affects all scheduled backups in the policy production. The second
script affects scheduled backups in the policy production only when the schedule
is named fulls.
Note: For a given backup, NetBackup uses only one bpend_notify script and that
is the one with the most specific name. For example, if there are both
bpend_notify.production and bpend_notify.production.fulls scripts,
NetBackup uses only bpend_notify.production.fulls.

105

106

Reference topics
NetBackup notify scripts

The bpend_notify script can use the following environment variables:


BACKUPID
UNIXBACKUPTIME
BACKUPTIME

The NetBackup bpbkar process creates these variables. The following are examples
of the strings that are available to the script for use to record information about
a backup:
BACKUPID=client1_0857340526
UNIXBACKUPTIME=0857340526
BACKUPTIME=Sun Mar 2 16:08:46 2009

The following environment variables can be used for the support of multiple data
streams.
Table 3-7

Environment variables used for support of multiple data streams

Environment variable

Description

STREAM_NUMBER

Specifies the stream number. The first stream from a policy, client, and schedule is 1.
A 0 value indicates that multiple data streams are not enabled.

STREAM_COUNT

Specifies the total number of streams to be generated from this policy, client, and
schedule.

STREAM_PID

Specifies the pid (process ID) number of bpbkar.

FINISHED

Specifies the status of the checkpointed restarts of backup jobs. A value of 0 indicates
that the client was not finished sending all of the data. A value of 1 indicates that the
client was finished sending all the of data.

bpend_notify.bat (Microsoft Windows clients only)


For Windows clients, you can create batch scripts that provide notification
whenever the client completes a backup or archive. These scripts must reside on
the client and in the same directory as the NetBackup client binaries:
Install_path\NetBackup\bin\bpend_notify.bat

Install_path is the directory where NetBackup is installed.


You can create bpend_notify scripts that provide notification for all backups or
for backups of a specific policy or schedule.
To create a bpend_notify script that applies to all backups, name the script
bpend_notify.bat

Reference topics
NetBackup notify scripts

To create a script that applies only to a specific policy or policy and schedule
combination, add a .policyname or .policyname.schedulename suffix to the script
name as follows:

The following script applies only to a policy named days:


Install_path\netbackup\bin\bpend_notify.days.bat

The following script applies only to a schedule that is named fulls in a policy
named days:
Install_path\netbackup\bin\bpend_notify.days.fulls.bat

Note: The bpend_notify script also runs for NetBackup catalog backups if a
.policyname[.schedule] is not specified.
The first script affects all scheduled backups in the policy named days. The second
script affects scheduled backups in the policy named days only when the schedule
is named fulls.
For a given backup, NetBackup calls only one bpend_notify script and checks for
them in the following order:
bpend_notify.policy.schedule.bat
bpend_notify.policy.bat
bpend_notify.bat

For example, if there are both bpend_notify.policy.bat and


bpend_notify.policy.schedule.bat scripts, NetBackup uses only
bpend_notify.policy.schedule.bat.

Note: bpstart_notify scripts can provide a different level of notification than


the bpend_notify scripts. For example, if you had one of each, they could be
bpstart_notify.policy.bat and bpend_notify.policy.schedule.bat.
NetBackup passes the following parameters to the script when the backup
completes:
%1

Specifies the name of the client from the NetBackup catalog.

%2

Specifies the policy name from the NetBackup catalog.

%3

Specifies the schedule name from the NetBackup catalog.

107

108

Reference topics
NetBackup notify scripts

%4

Specifies one of the following: FULL, INCR, CINC, UBAK, UARC

%5

Specifies the status of the operation. It is the same status as is sent to the
NetBackup server. The status is 0 for successful backups and 1 for partially
successful backups. If an error occurs, the status is the value associated with
that error.

%6

Specifies the results file that NetBackup checks for a return code from the script.
NetBackup uses %6 to pass the file name and then expects the script to create
the file in the same directory as the script.
If the script applies to a specific policy and schedule, the results file must be
named
Install_path\netbackup\bin\BPEND_RES.policy.schedule
If the script applies to a specific policy, the results file must be named
Install_path\netbackup\bin\BPEND_RES.policy
If the script applies to all backups, the results file must be named
Install_path\netbackup\bin\BPEND_RES
An echo 0> %6 statement is one way for the script to create the file.
NetBackup deletes the existing results file before it calls the script. After the
script runs, NetBackup checks the new results file for the status. The status
must be 0 for the script to be considered successful. If the results file does not
exist, NetBackup assumes that the script was successful.

The server expects the client to respond with a continue message within the time
that the BPEND_TIMEOUT option specifies. The default for BPEND_TIMEOUT is 300.
If the script needs more than 300 seconds, increase the value to allow more time.
For Windows 2000 clients, the bpend_notify script can use the following
environment variables for the support of multiple data streams.
Table 3-8

Environment variables for support of multiple data streams

Environment variable

Description

STREAM_NUMBER

Specifies the stream number. The first stream from a policy, client, and
schedule is 1. A 0 value indicates that multiple data streams are not enabled.

STREAM_COUNT

Specifies the total number of streams to be generated from this policy,


client, and schedule.

STREAM_PID

Specifies the pid (process ID) number of bpbkar.

Reference topics
NetBackup notify scripts

diskfull_notify.cmd on Windows
The diskfull_notify.cmd script runs on the NetBackup server that contains the
storage unit. The disk media manager (bpdm) calls this script if it encounters a
disk full condition while it writes a backup to a disk storage unit. The default
action is to report the condition and immediately try to write the data again. (The
file being written is kept open by the active bpdm).
The script can be modified to send a notification to an email address. Or modified
to perform actions such as removing other files in the affected directory or file
system.
NetBackup passes the following parameters to the script:
programname

Specifies the name of the program (always bpdm).

pathname

Specifies the path to the file being written.

For example:
diskfull_notify.cmd bpdm
/disk1/images/host_08193531_c1_F1

In previous releases, the diskfull_notify.cmd script default condition was to


sleep for five minutes when a disk storage unit became full. To retain this behavior
upon upgrade, do one of the following:

Copy the netbackup/bin/diskfull_notify.old_revision_number script to


netbackup/bin/diskfull_notify, or

Modify the script, to change sleep 0 to:


sleep 300

mail_dr_info.cmd
Use mail_dr_info.cmd to send NetBackup disaster recovery information to
specified recipients after running an online, hot catalog backup.
To create the script, copy the following script from the master server:
Install_path\VERITAS\NetBackup\bin\nbmail.cmd

Place it into the following location:


Install_path\NetBackup\bin\mail_dr_info.cmd.

109

110

Reference topics
NetBackup notify scripts

NetBackup passes the following parameters to the script:


%1

Specifies the recipient's address. For multiple addresses, enter email1,email2

%2

Specifies the subject line.

%3

Specifies the message file name.

%4

Specifies the attached file name.

NetBackup checks to see if mail_dr_info.cmd is present in


Install_path\NetBackup\bin. If mail_dr_info.cmd exists, NetBackup passes
the parameters to the script.
Note: All NetBackup email notifications require that a public domain SMTP mail
client be configured. (For example, blat.) For details, see the comments in the
nbmail.cmd script.

media_deassign_notify
The NetBackup Enterprise Media Manager calls the media_deassign_notify
script after media is deassigned. To send an email notification when media is
deassigned, include an email address in the script where indicated. (The script
must be run as the root user.)
Copy Install_path\NetBackup\bin\goodies\media_deassign_notify.cmd into
Install_path\NetBackup\bin\ on the EMM server. (Usually the master server.)
If the script exists in the \bin directory, the following parameters are passed to
the script: media ID, legacy media type, barcode, robot number, and robot type.

nbmail.cmd
Use nbmail.cmd to send specified recipients notifications about scheduled backups.
The recipients email addresses must also be configured in the Universal Settings
host properties.
Windows systems also require that you install the Simple Mail Transfer Protocol
application to transfer messages in order to accept script parameters. UNIX
platforms have a built-in SMTP transfer method.
To create the script on a client, copy
Install_path\VERITAS\NetBackup\bin\goodies\nbmail.cmd from the master

server into Install_path\NetBackup\bin of each client that is to receive the


notification.

Reference topics
NetBackup notify scripts

NetBackup passes the following parameters to the script:


%1

Specifies the address of the recipient. For multiple addresses, enter email1,email2

%2

Specifies the contents of the subject line.

%3

Specifies the file that is sent in the body of the email. This is generated by another
script.

%4

Specifies the attached file name.

NetBackup checks to see if nbmail.cmd is present in Install_path\NetBackup\bin.


If nbmail.cmd exists, NetBackup passes the parameters to the script.

parent_end_notify.cmd on Windows
NetBackup calls the parent_end_notify.cmd script each time a parent job ends.
NetBackup passes the following parameters to the script:
clientname

Specifies the name of the client from the NetBackup catalog.

policyname

Specifies the policy name from the NetBackup catalog.

schedname

Specifies the schedule name from the NetBackup catalog.

schedtype

Specifies one of the following: FULL, INCR (differential


incremental), CINC (cumulative incremental), UBAK, UARC

status

Specifies the exit code for the entire backup job.

stream

Specifies the stream number; it is always -1.

stream_count

Specifies that if the job starts normally, the stream count indicates
how may streams were started.
Verifies the number of streams that complete and run
backup_exit_notify. If a failure occurs that makes it
impossible to start any streams, a stream count of -1 is returned.

parent_end_notify
The parent_end_notify script runs on the master server and is located in the
following directory:
Windows: Install_path\VERITAS\NetBackup\bin\goodies\
UNIX: /usr/openv/netbackup/bin/goodies

111

112

Reference topics
NetBackup notify scripts

NetBackup calls the parent_end_notify script each time a parent job ends. In
NetBackup 6.5.6, two new parameters have been added the script.
NetBackup passes the following parameters to the script:
clientname

Specifies the name of the client from the NetBackup catalog.

policyname

Specifies the policy name from the NetBackup catalog.

schedname

Specifies the schedule name from the NetBackup catalog.

schedtype

Specifies one of the following: FULL, INCR (differential


incremental), CINC (cumulative incremental), UBAK, UARC

status

Specifies the exit code for the entire backup job.

stream

New in 6.5.6; specifies the stream number. The stream number is


always -1.

stream_count

New in 6.5.6; specifies the stream count. If the job starts normally,
the stream count indicates how may streams were started.
Use this count to verify the number of streams that complete and
run backup_exit_notify. If a failure occurs that makes it
impossible to start any streams, a stream count of -1 is returned.

parent_start_notify.cmd on Windows
NetBackup calls the parent_start_notify.cmd script each time a parent job
starts.
NetBackup passes the following parameters to the script:
clientname

Specifies the name of the client from the NetBackup catalog.

policyname

Specifies the policy name from the NetBackup catalog.

schedname

Specifies the schedule name from the NetBackup catalog.

schedtype

Specifies one of the following: FULL, INCR (differential


incremental), CINC (cumulative incremental), UBAK, UARC

status

Specifies the exit code for the entire backup job.

streamnumber

Specifies the stream number; for a parent job it is always -1.

Reference topics
NetBackup notify scripts

pending_request_notify
The NetBackup Enterprise Media Manger calls the pending_request_notify
script after a pending request is issued for a media resource (tape volume). To
send an email notification when a pending request is initiated, include an email
address in the script where indicated. (The script must be run by the root user.)
Copy Install_path\NetBackup\bin\goodies\pending_request_notify.cmd
into Install_path\NetBackup\bin\ on the EMM server. (Usually the master
server.)
If the script exists in the \bin directory, the following parameters are passed to
the script: media ID, barcode, action code, robot type, robot number, media server,
volume group, and pending time (in seconds since the UNIX epoch).

restore_notify.cmd on Windows
The restore_notify.cmd script runs on the server that contains the storage unit.
The NetBackup tape or disk manager (bptm or bpdm) calls the script when it finishes
sending data to the client during a restore. The script is called regardless of
whether data is sent.
NetBackup passes the following parameters to the script:
programname

Specifies the name of the program doing the restore or other read
operation.

pathname

Specifies the path to the backup name or path.

operation

Specifies one of the following: restore, verify, duplication,


import

session_notify.cmd on Windows
The session_notify.cmd script runs on the master server. It is called at the end
of a backup session if at least one scheduled backup succeeded. NetBackup passes
no parameters to this script. Scheduling is suspended until this script completes,
so no other backups can start until that time.

session_start_notify.cmd on Windows
The session_start_notify.cmd script runs on the master server. When a set of
backups is due to run, NetBackup calls this script to do any site-specific processing
before it starts the first backup. NetBackup passes no parameters to this script.

113

114

Reference topics
NetBackup notify scripts

shared_drive_notify.cmd on Windows
NetBackup runs the shared_drive_notify.cmd script when a shared drive is
reserved or released.

The name of the shared drive.

The name of the current scan host.

The operation, which is one of the following:


RESERVED

Specifies that the host on which the script is executed needs SCSI
access to the drive until it is released.

ASSIGNED

Informational only. Specifies that the host that reserved the drive
needs SCSI access.

RELEASED

Specifies that only the scan host needs SCSI access to the drive.

SCANHOST

Specifies that the host that executes the script has become the
scan host. A host should not become a scan host while the drive
is RESERVED.
The scan host may change between a RESERVED operation and a
RELEASED operation.

The script resides in the following directory:


Install_path\VERITAS\Volmgr\bin\shared_drive_notify.cmd

The script must be executable by the root user.


The script exits with status 0 upon successful completion.

userreq_notify.cmd on Windows
The userreq_notify.cmd script runs on the master server.
NetBackup calls it each time a request is made to either of the following:

List files that are in backups or archives

Start a backup, archive, or restore

You can change this script to gather information about user requests to NetBackup.
NetBackup passes the following parameters to the script:
action

Specifies the action and can have the following values: backup,
archive, manual_backup, restore, list

Reference topics
Media and device management best practices

clientname

Specifies the client name.

userid

Specifies the user ID.

For example:
userreq_notif.cmd backup mercury jdoe
userreq_notify.cmd archive mercury jdoe
userreq_notify.cmd manual_backup mercury jdoe
userreq_notify.cmd restore mercury jdoe
userreq_notify.cmd list mercury jdoe

Media and device management best practices


Use the following best practices for NetBackup media and device management.
Follow these recommendations to minimize problems and to reduce the time and
the effort that is required to administer the configuration.
For a list of supported devices, server platforms, and the latest device mapping
file, see the NetBackup support Web site:
http://entsupport.symantec.com.
The following items are general best practices for media and device management:

Use only the NetBackup commands that Symantec documents and supports.

Refer to the NetBackup release notes for configuration and operational changes
in the current release or in future releases. The release notes also contain
information about all new functionality in each release.

Use the documented methods for terminating the NetBackup Media Manager
daemons and services.

Periodically verify the backups by using NetBackup Management > Catalog


in the NetBackup Administration Console. Also, periodically restore files to
prove that restores work correctly.

Always back up the NetBackup catalogs. You may also want to back up the
vm.conf file and the bp.conf (UNIX system) files on the media servers.

When you restore the NetBackup catalog (for example, master server databases
and the EMM database), use backups from the same point in time.

Ensure that all names and numbers for devices and all media IDs and bar codes
are unique across the entire enterprise.

To use the devices that NetBackup controls but are used with other applications,
down the drive if the drive is in the UP state.

115

116

Reference topics
Media and device management best practices

Media management best practices


The following items are NetBackup media management best practices:

Use the robot inventory update operation for media management.

Use a scratch pool for unassigned media.

Configure cleaning cartridges for tape drives and use TapeAlert for automatic
drive cleaning if the drives support automatic cleaning.

Replace old media according to the life-span recommendations of the


manufacturer. Replace old cleaning media also.

Use the robotic libraries that have a bar code reader and use only the bar code
labels that the robot vendor recommends.

Use bar code rules for media type assignment when you inventory multimedia
libraries. Use bar code naming conventions to differentiate between data and
cleaning tapes and different physical media types. A common convention is a
prefix that identifies the type of media.

Before performing inject or eject commands, ensure that the media access port
is empty. Although NetBackup can handle a port that is not empty, some
libraries can have problems.

Device management best practices


The following items are device management best practices:

Monitor the NetBackup system log for device errors encountered.

Monitor devices by using the NetBackup Device Monitor.

Investigate the causes of all the drives that are down.

Do not use the robotic test utilities while running backup or restore jobs.

Read the NetBackup Device Configuration Guide before configuring devices


on media servers (or SAN media servers).

Use only computers, operating systems and devices that Symantec supports.
For supported devices, see the NetBackup hardware compatibility list on the
NetBackup support site.

Use only fully-serialized devices. A fully-serialized SCSI library should report


a serial number for the robot and also a serial number for each drive in the
robot.

Always configure and use pass-through paths for robotic libraries and drives.

When possible, use SCSI persistent reserve or SCSI reserve and release.

Reference topics
About TapeAlert

Use persistent bindings for fibre-attached devices.

Use the NetBackup Device Configuration Wizard to configure the devices.

Download and install the latest device mapping file from the NetBackup support
Web site before you use the NetBackup Device Configuration Wizard.

Use consistent logical drive types for all physical drive types on all servers in
the environment. For example, use the DLT drive type as the logical drive type
for all DLT7000 drives.

Do not load vendor medium-changer drivers on Microsoft Windows hosts. The


default Microsoft medium-changer driver is acceptable (but is not required)
for use with NetBackup.

Media and device performance and troubleshooting


The following items are performance and troubleshooting best practices:

Use the performance-tuning documents available on the NetBackup support


Web page.

Use only a dedicated server for the NetBackup master server and Enterprise
Media Manager (EMM) server. Do not use a server that hosts other applications
or one that stores data. Plan periodic maintenance for all of the backup servers.

Consult the Troubleshooter in the NetBackup Administration Console or the


NetBackup Troubleshooting Guide for all error conditions.

Always install the latest NetBackup release updates that are available from
Symantec.

Verify all SCSI-related operating system configuration files ( such as the Solaris
st.conf file), when you install system release updates.

For problems with devices, consult the vendor for firmware upgrades and
consult the NetBackup hardware compatibility list for supported firmware
levels.

Do not use the NetBackup DISABLE_RESOURCES_BUSY touch file.

Do not disable the operating system TCP_NODELAY functionality.

See the NetBackup Shared Storage Guide before the NetBackup Shared Storage
Option, OpenStorage, or SharedDisk are installed and configured.

About TapeAlert
TapeAlert is a tape drive status monitor and message utility. The TapeAlert utility
can detect tape quality problems, defects in tape drive hardware, and the need to

117

118

Reference topics
About TapeAlert

clean drives. For the tape drives that support TapeAlert, the TapeAlert firmware
monitors the drive hardware and the media. Error, warning, and informational
states are logged on a TapeAlert log page.
For the drives that do not support TapeAlert, configure and use frequency-based
cleaning.
See About frequency-based cleaning on page 123.

About TapeAlert cleaning (reactive cleaning)


Reactive cleaning by using TapeAlert is a function of the tape drive. The drive
determines and initiates the cleaning when needed. If a drive supports the
TapeAlert capability and it is enabled on the drive, the NetBackup bptm process
polls the drive for status from TapeAlert.
TapeAlert allows reactive cleaning for most drive types. Not all platforms, robots,
drives, or firmware levels support tape alert reactive cleaning.
A drive with TapeAlert capability tracks how many read and write errors it has
encountered within a certain time period. Although a drive can recover from these
errors, the drive sets a CLEAN_NOW or CLEAN_PERIODIC flag when a threshold
is reached.
If the bptm process detects that either of the following flags are set, it performs
a cleaning at one of the following times:

At the end of a backup or a restore to the drive.

Before the next backup or restore to the drive.

Symantec recommends that you use reactive cleaning.

About TapeAlert and frequency-based cleaning


Using TapeAlert with frequency-based cleaning ensures that a drive is cleaned
at least every x hours, depending on the setting for the cleaning frequency. In
addition, the drive can be cleaned sooner if the drive sets the CLEAN_NOW or
CLEAN_PERIODIC TapeAlert flag.
When TapeAlert is used without frequency-based cleaning, a drive is cleaned only
when the drive sets its CLEAN_NOW or CLEAN_PERIODIC flags.

About TapeAlert requirements


To use TapeAlert, all of the following conditions must be true:

The host platform, robot type, and drive support drive cleaning.

Reference topics
About TapeAlert

The drive must support the TapeAlert capability, and the TapeAlert are enabled
on the drive.
To determine if a drive supports TapeAlert, see the Symantec support Web
site.

A cleaning tape is configured and available in NetBackup for the robotic library.
The cleaning cartridge is compatible with the drive that needs to be cleaned.

The cleaning tape has not reached its end of life.

Pass through device files are configured on UNIX and Linux media servers.
See the NetBackup Device Configuration Guide.

TapeAlert logs and codes


TapeAlert codes are derived from the T10 SCSI-3 Stream Commands standard
(see http://t10.org/). For the list of codes that the device supports, see the devices
documentation.
TapeAlert checks for errors of the following types:

Recoverable read and write drive problems

Unrecoverable read and write drive problems

Hardware defects

Wrong or worn-out media

Expired cleaning tapes

Abnormal errors

A set of TapeAlert conditions is defined that can cause the media in use to be
frozen. Another set of conditions are defined that can cause a drive to be downed.
NetBackup writes TapeAlert conditions into the following logs:

The bptm log

The error log

The job details log

The system log on UNIX and Event Viewer on Windows

Table 3-9 describes the codes.


Table 3-9

TapeAlert log codes

TapeAlert code

Default action

Error type

Error message

0x01

None

Warning - WRN

Read warning

119

120

Reference topics
About TapeAlert

Table 3-9

TapeAlert log codes (continued)

TapeAlert code

Default action

Error type

Error message

0x02

None

Warning - WRN

Write warning

0x03

None

Warning - WRN

Hard error

0x04

Freeze media - FRZ

Critical - CRT

Media

0x05

Freeze media - FRZ

Critical - CRT

Read failure

0x06

Freeze media - FRZ

Critical - CRT

Write failure

0x07

Freeze media - FRZ

Warning - WRN

Media life

0x08

Freeze media - FRZ

Warning - WRN

Not data grade

0x09

None

Critical - CRT

Write protect

0x0a

None

Informational - INFO No removal

0x0b

None

Informational - INFO Cleaning media

0x0c

None

Informational - INFO Unsupported format

0x0d

Freeze media - FRZ

Critical - CRT

Recoverable
mechanical cartridge
failure

0x0e

Freeze media - FRZ

Critical - CRT

Unrecoverable
mechanical cartridge
failure

0x0f

Freeze media - FRZ

Warning - WRN

Mic failure

0x10

None

Critical - CRT

Forced eject

0x11

None

Warning - WRN

Read only

0x12

None

Warning - WRN

Directory corrupted
on load

0x13

Freeze media - FRZ

Informational - INFO Nearing media life

0x14

Clean drive - CLN

Critical - CRT

Clean now

0x15

Clean drive - CLN

Warning - WRN

Clean periodic

0x16

Freeze media - FRZ

Critical - CRT

Expired cleaning
media

Reference topics
About TapeAlert

Table 3-9

TapeAlert log codes (continued)

TapeAlert code

Default action

Error type

Error message

0x17

Freeze media - FRZ

Critical - CRT

Invalid cleaning tape

0x18

None

Warning - WRN

Retension requested

0x19

None

Warning - WRN

Dual-port error

0x1a

None

Warning - WRN

Cooling fan failure

0x1b

None

Warning - WRN

Power supply failure

0x1c

None

Warning - WRN

Power consumption

0x1d

None

Warning - WRN

Drive maintenance

0x1e

Down drive - down

Critical - CRT

Hardware A

0x1f

Down drive - DOWN

Critical - CRT

Hardware B

0x20

None

Warning - WRN

Interface

0x21

None

Critical - CRT

Eject media

0x22

None

Warning - WRN

Download fail

0x23

None

Warning - WRN

Drive humidity

0x24

None

Warning - WRN

Drive temperature

0x25

None

Warning - WRN

Drive voltage

0x26

None

Critical - CRT

Predictive failure

0x27

None

Warning - WRN

Diagnostics req.

0x28 - 0x31

None

Informational - INFO Undefined

0x32

None

Warning - WRN

Lost statistics

0x33

Freeze media - FRZ

Warning - WRN

Directory invalid on
unload

0x34

Freeze media - FRZ

Critical - CRT

System area write


failure

0x35

Freeze media - FRZ

Critical - CRT

System area read


failure

0x36

Freeze media - FRZ

Critical - CRT

No start of data

121

122

Reference topics
About tape drive cleaning

Table 3-9

TapeAlert log codes (continued)

TapeAlert code

Default action

Error type

Error message

0x37

Freeze media - FRZ

Critical - CRT

Loading failure

0x38

Freeze media - FRZ

Critical - CRT

Unrecoverable
unload failure

0x39

None

Critical - CRT

Automation interface
failure

0x3a

None

Warning - WRN

Firmware failure

0x3d - 0x40

None

Informational - info

Undefined

About tape drive cleaning


The following types of drive cleaning are available by using NetBackup:

Reactive cleaning
See About TapeAlert cleaning (reactive cleaning) on page 118.
Symantec recommends that you use reactive cleaning.

Library-based cleaning
See About library-based cleaning on page 122.

Frequency-based cleaning
See About frequency-based cleaning on page 123.

Operator-initiated cleaning
See About operator-initiated cleaning on page 123.

See About using a cleaning tape on page 124.

About library-based cleaning


NetBackup does not support library-based cleaning for most robots because robotic
library and operating systems vendors implement this cleaning in different ways.
(Library-based cleaning also is known as robotic cleaning or auto cleaning.) These
different methods often interfere with NetBackup robotic control operations.
NetBackup does not define the cleaning media that is used for library-based
cleaning, and the robotic library manages the cleaning media.
Because TapeAlert provides the same type of cleaning as library-based cleaning,
Symantec recommends disabling library-based cleaning when you use TapeAlert.

Reference topics
About tape drive cleaning

About frequency-based cleaning


Frequency-based cleaning occurs when the accumulated mount time exceeds the
time you specify for the cleaning frequency. NetBackup updates the mount time
for the drive each time a tape is unmounted.
The cleaning frequency is configured when a drive is added to NetBackup. Change
the cleaning frequency by changing the drive properties or by using the Media
and Device Management Device Monitor in the NetBackup Administration
Console.
If the following conditions are met, drive cleaning occurs when the accumulated
mount time exceeds the time specified for the cleaning frequency:

The drive is in a robotic library that supports drive cleaning.

A cleaning tape is configured and available for the robotic library.

The cleaning tape has cleanings remaining.

NetBackup cleans the drive immediately after a tape is unmounted. Drive cleaning
does not unmount a drive in the middle of an active backup. The mount time is
reset after the drive is cleaned. The cleaning frequency value remains the same.
A cleaning can occur within a backup if the backup spans tapes. For example, if
cleaning is due after the first tape is full, NetBackup cleans the drive before it
mounts the next tape.
Media can remain in a drive for extended periods. It does not affect the cleaning
frequency because NetBackup increments the mount time only when NetBackup
assigns the media to a process.
Frequency-based cleaning is not supported for drives in the ACS or the TLH
libraries that are under API robotic control. The robotic library software controls
the drive cleaning. To manage drive cleaning for these robots, use the robot vendor
interfaces.
See About TapeAlert and frequency-based cleaning on page 118.

About operator-initiated cleaning


A drive cleaning can be initiated regardless of the cleaning frequency or
accumulated mount time of the drive. Clean standalone drives or robotic drives
if a cleaning tape of the correct media type and residence for the drive was added
to NetBackup.
NetBackup reports that a drive needs cleaning if either of the following conditions
are true:

The value for the mount time is greater than the cleaning frequency.

123

124

Reference topics
How NetBackup selects drives

The TapeAlert CLEAN_NOW or CLEAN_PERIODIC flag is set.

And either of the following conditions must be true:

The drive is a standalone drive and a cleaning tape is not defined.

The drive is a standalone drive and no cleaning tape has any cleanings that
remain.

NetBackup displays NEEDS CLEANING as follows:

The Tape Cleaning Comment column of the Drive List in the Devices node of
the NetBackup Administration Console.

The comment field of the output from the tpclean -L command.

About using a cleaning tape


You can specify the number of cleanings that are allowed for a cleaning tape. This
number is reduced with each cleaning. When the number of cleanings is zero,
NetBackup stops by using the cleaning tape. Then, use a new cleaning tape or
increase the number of cleanings that are allowed for the tape.
Note: NetBackup does not control the cleaning tapes that library-based cleaning
uses.
Symantec suggests following the recommendations from cleaning tape vendors
for the amount of tape usage. If you clean a tape past its recommended life,
cleaning delays can occur (due to excessive tape position operations) and drives
can be downed.

How NetBackup selects drives


NetBackup stores media information and device configuration and status
information in the EMM database. When a robotic mount request is issued, the
NetBackup Resource Broker (nbrb) queries the EMM database for the media ID of
the volume requested. If the volume is in the EMM database, the media request
is matched with a compatible drive in the robot. The mount request is forwarded
to the appropriate robotic daemon (UNIX) or process (Windows) based on the
location of the media. Location is the robotic library and the storage slot number,
if applicable.
A drive must meet the following criteria to be selected for the mount request:

The drive is configured.

The drive is in the robotic library that contains the media.

Reference topics
How NetBackup reserves drives

The drive allows the requested media density.

The EMM server (nbemm) manages the drives and requests for locally-attached or
shared drives in the EMM domain.
The EMM server manages the drives by doing the following actions:

Determines which of the drives are currently available.


A drive is available if it is one of the following:

Configured as UP

Not assigned

Compatible with the media type

Not reserved by another host

Picks an available drive that was least recently used.


NetBackup selects the robotic-based drives over standalone drives unless the
correct media already is loaded in a standalone drive.

The first drive in the drive configuration is used first, and then the second drive,
and then the next. Use the tpconfig -d command to see the drive order in the
configuration.
If some of the drives are shared drives, NetBackup chooses a nonshared drive first
(if one is available). NetBackup chooses a shared drive first so the shared drives
can be used on other hosts that share the drives. Shared drives require the Shared
Storage Option.

How NetBackup reserves drives


In multiple-initiator (multiple host bus adapter) environments, device-level access
protection is required to avoid unintended sharing of tape devices and possible
data loss problems. (Shared Storage Option is a multiple-initiator environment.)
Access protection on a tape drive prevents an HBA that is not the reservation
owner from issuing commands to control the drive. SCSI access protection operates
at the SCSI target level and depends on correct operation of the fiber-to-SCSI
bridge or the native fiber device hardware.
The only commonly available technique for this purpose is SPC-2 SCSI reserve
and release functionality. All tape drive vendors support the SPC-2 SCSI reserve
method. NetBackup has used SPC-2 SCSI reserve since NetBackup 3.4.3; it is the
default tape drive reservation method in NetBackup. SPC-2 SCSI reserve is effective
for most NetBackup environments.

125

126

Reference topics
How NetBackup reserves drives

Alternatively, the new SCSI persistent reserve method may be more effective in
either of the following environments because it provides device status detection
and correction:

NetBackup media servers are in a cluster environment


NetBackup can recover and use a reserved drive after a failover (if NetBackup
owns the reservation). (With SPC-2 SCSI reserve, a drive reset usually is
required because the reservation owner is inoperative.)

Environments where high drive availability is important


NetBackup can resolve NetBackup drive reservation conflicts and maintain
high drive availability. (SPC-2 SCSI reserve provides no method for drive status
detection.)
However, the SCSI persistent reserve method is not supported or not supported
correctly by all device vendors. Therefore, analyze the environment to ensure
that all of the hardware supports SCSI persistent reserve correctly.
NetBackup lets you configure either SCSI persistent reserve or SPC-2 SCSI
reserve.

The following table describes the protection options.


Table 3-10

Protection options

Option

Description

SCSI persistent reserve

Provides SCSI persistent reserve protection for SCSI devices. The devices must
conform to the SCSI Primary Commands - 3 (SPC-3) standard.

SPC-2 SCSI reserve (default)

Provides SPC-2 SCSI reserve protection for SCSI devices. The devices must conform
to the reserve method and release management method in the SCSI Primary
Commands - 2 standard.

No protection

Other HBAs can send the commands that may cause a loss of data to the tape drives.

You can configure access protection for each NetBackup media server. The
protection setting configures tape drive access protection for all tape drive paths
from the media server on which the setting is configured. The media server setting
for any drive path can be overridden.
SCSI reservations provide protection for NetBackup Shared Storage Option
environments or any other multiple-initiator environment in which drives are
shared.

About SCSI persistent reserve


The NetBackup process that reads from or writes to the media in a drive (bptm)
issues SCSI persistent reserve commands to do the following:

Reference topics
How NetBackup reserves drives

Register with the tape drives device server (the server is a logical unit within
a drive that processes SCSI tasks)

Request an exclusive access reservation

If the tape drives device server grants the reservation, the NetBackup process
has exclusive use of the device. The reservation prevents other host bus adapters
(HBAs) from issuing any commands that can cause data loss.
If the reservation fails, NetBackup fails the job.
When the NetBackup process is finished with the drive, NetBackup unloads the
drive and sends a persistent reserve clear command to the drive. The command
removes both the reservation and the registration.
SCSI persistent reserve also provides device status detection, which NetBackup
uses to resolve reservation conflicts within NetBackup.
The reservation does not prevent other applications on the host that has the
reservation from using the same device and from causing data loss. For example,
if a user on the same host issues a UNIX mt command, the mt command can take
control of the drive.
Also, other HBAs can clear or release a SCSI persistent reservation. Therefore, an
application can clear another HBA reservation (although it should not do so).

About SCSI persistent reserve commands


When a device receives an exclusive access type SCSI persistent reservation
command, it does not process commands from any other HBA. The device processes
commands from another HBA only when the HBA that owns the SCSI persistent
reservation clears the reservation. If an application sends a command to a reserved
device, the device fails the command by returning a status of RESERVATION
CONFLICT. The only exceptions to this action are several commands that cannot
interfere with the reservation, such as Inquiry or Request Sense.
A device stays reserved until one of the following events occurs on the device:

Released by the HBA that reserved it

Power cycled (usually)

Preempted by a SCSI persistent reserve command

About SCSI persistent reserve conflicts


NetBackup uses unique reservation keys. Therefore, NetBackup attempts to resolve
conflicts with other NetBackup reservations. If a conflict exists, NetBackup sends
SCSI commands to unload the drive. Based on the drive status, NetBackup tries

127

128

Reference topics
How NetBackup reserves drives

to unload the drive again by using additional information to release or preempt


the persistent reservation.
In cluster environments after a failover event, NetBackup on the active cluster
node detects the persistent reservation and clears the reservation. NetBackup
regains use of the drive without power-cycling the drive.
If NetBackup does not own the persistent reservation, NetBackup reports a pending
status in the Device Monitor. The reservation owner must clear the reservation
before NetBackup can use the drive. For example, NetBackup does not clear a
NetApp persistent reservation.

About the SPC-2 SCSI reserve process


The NetBackup process issues an SPC-2 SCSI reserve command to the tape drive
that contains the media. (The process can be bptm, bprecover, or bpbackupdb.) If
the device is not reserved, NetBackup acquires a reservation. The drive does not
process commands from any other host bus adapters (HBAs) until NetBackup
releases the reservation or the reservation is broken. If the reservation fails,
NetBackup fails the job.
The reservation does not prevent other applications on the host that has the
reservation from using the same device and from causing data loss. For example,
if a user on the same host issues a UNIX mt command, the mt command can take
control of the drive.
After the NetBackup process finishes with the media, it issues an SPC-2 SCSI
command to release the reservation during the unmount operation. The release
frees the device for access by another HBA.
SCSI reserve does not provide a method to determine if a device is reserved. Only
the reservation owner (the host bus adapter) can release the reservation. However,
these limitations do not interfere with NetBackup operations in most
environments.

About SPC-2 SCSI reserve commands


When a device receives an exclusive access type SCSI persistent reservation
command, it does not process commands from any other HBA. The device processes
commands from another HBA only when the HBA that owns the reservation issues
the release command. If an application sends a command to a reserved device,
the device fails the command by returning a status of RESERVATION CONFLICT.
The only exceptions to this action are several commands that cannot interfere
with the reservation, such as Inquiry or Request Sense.
A device stays reserved until one of the following events occurs on the device:

Reference topics
How NetBackup reserves drives

Released by the HBA that reserved it

Released by a TARGET or a LOGICAL UNIT RESET


These resets are protocol dependent and differ between parallel SCSI and FCP
(SCSI on Fibre Channel ). These resets can be issued from any HBA.

Released by Fibre Channel LOGO, PLOGO, PRLI, PRLO, or TPRLO action or


failed discovery (link actions)

Power cycled

A negative consequence of SPC-2 SCSI reserve occurs if the HBA that owns the
reservation fails. A device stays reserved until the reservation is removed or
broken. Only the original HBA can remove the reservation, which means the
system must be available. If the HBA that owns the reservation fails, it cannot
remove the reservation. Therefore, the reservation must be broken.
To break a reservation, one of the following actions must break the reservation:

SCSI reset

Bus device reset

LUN device reset

Power cycle

Fibre Channel link actions may break reservations

SPC-2 SCSI reserve commands are mandatory for all SCSI-2 and SCSI-3 devices.
See the SCSI 2 standard for a detailed description of SCSI reserve command
operation and behavior.

About SCSI reservation conflicts


The NetBackup Automatic Volume Recognition process (avrd) manages access to
tape devices. A properly configured NetBackup environment and properly
configured tape devices should not receive a reservation conflict message from
a tape drive. When avrd starts, it issues an SPC-2 SCSI release to all configured,
nondisabled tape drive paths that are currently in the Up state. The command
releases all devices that were SPC-2 reserved at the time of a system restart or
crash. The SCSI release command returns tape devices to general availability after
a system crash.
If the avrd process receives a reservation conflict message, it changes the status
of the device to PEND. It also writes the following message in the system log:
Reservation Conflict status from DRIVENAME (device NUMBER)

129

130

Reference topics
How NetBackup reserves drives

Also, the NetBackup Administration Console Device Monitor or the output from
the vmoprcmd command shows PEND in the Control column.
If a conflict occurs, a reservation problem can exist. If the HBA that reserves the
drive is unavailable (for example, due to a system crash or hardware failure), it
cannot release the reservation. NetBackup cannot release or break an SPC-2 SCSI
reservation automatically. Force a release or break the reservation to make the
drive available, even for a failover server in a cluster environment.
When the conflict is resolved, the following message is written to the log:
Reservation Conflict status cleared from DRIVENAME (device NUMBER)

About forcing a release of an unavailable HBAs SPC-2


reservation
To force a release of an unavailable HBAs SPC-2 reservation, use the following
NetBackup vmoprcmd command and option:
vmoprcmd -crawlreleasebyname drive_name

This option requests that all hosts that are registered to use the drive issue SPC-2
SCSI release commands to the drive.
Issue the vmoprcmd command on the host that is the device allocator (DA host).
Alternatively, use the -h option of the command to specify the DA host. The DA
host is also the EMM server.
Note: Use this command after a PEND status appears in the NetBackup
Administration Console Device Monitor. However, do not issue this command
during backups.
More information about using the vmoprcmd command is available.
See NetBackup Commands Reference Guide.

Breaking a reservation
If you cannot release an SPC-2 SCSI reservation, try to use an operating system
command that forces a device reset. A device reset breaks a reservation. The
procedure depends on the operating system type.
Note: The reset operation can reset other devices in the configuration. Loss of
data is also possible. Try alternate methods first to break the reservation on a
device (by using switch and bridge hardware).

Reference topics
How NetBackup reserves drives

Lastly, if the following operating system commands cannot break the reservation,
power-cycle the drive. A power cycle breaks SPC-2 SCSI drive reservations (and
usually breaks SCSI persistent drive reservations).
To break an SPC-2 reservation on Solaris

Issue mt -f drive_path_name forcereserve.

Issue mt -f drive_path_name release.


See the mt(1) man page for more information.

To break an SPC-2 reservation on HP-UX

Issue st -f drive_path_name -r.


See the st(1m) man page for more information.

To break an SPC-2 reservation on AIX

Issue tctl -f drive_path_name reset.


See the tctl man page (in the IBM AIX Commands Reference) for more
information.

About SCSI reserve requirements


To use SCSI persistent reserve or SPC-2 SCSI reserve, the following requirements
must be met:

There must be pass through driver access to all shared drives.


The pass through driver must be installed and all required paths must be
created.
Information about how to configure and use the pass through driver for UNIX
operating systems is available.
See the NetBackup Device Configuration Guide.

You must configure the operating systems on the NetBackup media servers
so they let NetBackup control SCSI persistent reserve or SPC-2 SCSI reserve.

On HP-UX systems, disable the operating system's use of SPC-2 SCSI reserve.
See the NetBackup Device Configuration Guide.

Depending on the tape drives, you may have to disable the operating systems
use of SPC-2 SCSI reserve. AIX and Solaris may require such a change.
See the NetBackup Device Configuration Guide.

131

132

Reference topics
How NetBackup reserves drives

About SCSI reserve limitations


The NetBackup implementation of SCSI persistent reserve and SPC-2 reserve has
the following limitations:

SCSI persistent reserve and SPC-2 reserve do not apply to NDMP drives.
The NDMP filer is responsible for providing exclusive device access.

Third-party copy configurations must be configured correctly.


To retain reservation of a tape device during a third-party copy backup,
configure the NetBackup mover.conf file.
Do not use SCSI persistent reserve on the drive paths that are used for
third-party copy backups.
See the NetBackup Snapshot Client Administrator's Guide.

With SPC-2 SCSI reserve, devices may remain reserved after a failover in
cluster environments or multipath environments with failover capability.
You cannot use SPC-2 SCSI reserve if the following factors are true: The failover
does not break the device reservations and those devices that were in use
during the failover must be available without manual intervention. Use SCSI
persistent reserve.

If the drive path changes, the backup jobs and the restore jobs fail.
Therefore, jobs fail in cluster environments or any multipath environments
that share paths dynamically. If you cannot disable dynamic path sharing, you
cannot use SPC-2 SCSI reserve or SCSI persistent reserve in NetBackup.

About SCSI reservation logging


The bptm process logs SCSI reservation-related commands. Examine the bptm log
on all NetBackup media servers to ensure that the SCSI operations are logged.
SCSI reservation commands are labeled SCSI PERSISTENT RESERVE or SCSI
RESERVE in the log.
In addition, information about the SCSI persistent reservations that are broken
are also written to the NetBackup Problems report.

About server operating system limitations


This topic applies to Windows servers.
Windows operating systems cannot distinguish between a reserved device and a
busy device. Therefore, PEND appears in the Device Monitor if another application
controls the tape drive. NetBackup cannot share tape devices with other
applications. If you use other applications, use the NetBackup tpreq command
or Down the drive before using the drive.

Reference topics
How NetBackup reserves drives

These operating systems also may report PEND if the drive reports Busy when a
volume is unmounted. Use the AVRD_PEND_DELAY entry in the vm.conf
configuration file to filter out these extraneous reports.

About checking for data loss


To detect data loss, the bptm process reads the tape position and then verifies the
actual position against the expected position.
If the actual position is less than the expected position at the end of the backup
process, the following events occur:

The tape is frozen.

The backup fails.

The following error message entry is written to the bptm log:


FREEZING media id xxxxxx, External event caused rewind during
write, all data on media is lost

About possible data loss causes


If tape drive access protection is not enabled on the NetBackup media servers,
the following may cause data loss: configuration errors, incorrect paths, multiple
master servers, incorrect Shared Storage Option configurations, and third-party
or operating system utilities.
If access protection is enabled on all NetBackup media servers, the following can
cause data loss: any third-party or operating system utilities that run on the server
that runs the NetBackup backup job.
Unfortunately, data loss cannot be prevented only recognized after the fact.
NetBackup does not remove catalog information about the backup sessions that
were lost. Use the bpexpdate command to expire the images for the lost backup
sessions.

About checking for tape and driver configuration errors


To detect data loss, the bptm process reads the tape position and then verifies the
actual position against the expected position.
If a configuration problem causes the actual position to be greater than the
expected position at the end of the backup process, the following events occur:

The tape is frozen.

The backup fails.

133

134

Reference topics
How NetBackup selects media

The following error message entry is placed in the bptm log:


FREEZING media id xxxxxx, too many data blocks written, check
tape/driver block size configuration

The backup data may be usable. If so, import the image by using the NetBackup
bpimport command so the data is available for restores.

About common configuration problems


Identify and fix the source of the configuration problem that causes data loss.
The most common configuration error is a failure to configure the driver for
variable length blocks.
A less common error may be in the tape driver's configuration data, such as in
the /kernel/drv/st.conf file on a Solaris system.
Information about tape driver configuration is available.
See the NetBackup Device Configuration Guide.

About configuring SCSI reserve


The SCSI reserve protection setting configures tape drive access protection for
all tape drives from the media server on which the setting is configured. You can
configure the protection for each media server and override the global setting for
any drive path.
To configure SCSI reserve protection on a media server: use the NetBackup
Administration Console to set the media server host property Enable SCSI
Reserve on the Media tab.
To override the media server protection setting: use the NetBackup
Administration Console to set the drive path property Override SCSI reserve
settings when you add a drive or change a drives properties.

How NetBackup selects media


How NetBackup selects media depends on whether the media is in a robot or a
standalone drive.
See About selecting media in robots on page 135.
See About selecting media in standalone drives on page 138.

Reference topics
How NetBackup selects media

About selecting media in robots


When NetBackup receives a request for a volume, it searches the EMM database
for the media ID. The external media ID should correspond to the NetBackup
media ID.
A request for a volume includes the following attributes:

The media ID

The device density

The file name that is used to link to the device that is assigned.

NetBackup selects a volume in a robot in the following order:


NetBackup searches the media catalog Configured to contain backups at the retention level that the backup
for a volume that is already mounted
schedule requires. However, if the NetBackup Media host property
in a drive and meets the following
Allow multiple retentions per media is specified for the server,
criteria:
NetBackup does not search by retention level.
In the volume pool that the backup job requires.

Not in a FULL, FROZEN, IMPORTED, or SUSPENDED state.

Of the same density that the backup job requested, and in the robot that
that the backup job requested.
Not currently in use by another backup or a restore.

Not written in a protected format. NetBackup detects tape format after


the volume is mounted. If the volume is in a protected format, NetBackup
unmounts the volume and resumes the search.

If a suitable volume is found, NetBackup uses it.


If NetBackup cannot find a mounted
If a suitable volume is in a robot, NetBackup issues the commands that
volume that satisfies all of the previous
move the volume to a drive, position the heads to the beginning of the
conditions, it checks the media catalog
volume, and assign it to the request. No manual intervention is required.
for any volume that is suitable.
If a suitable volume is not in a robot but is in a standalone drive,
NetBackup automatically mounts and assigns it. No manual intervention
is required.
If a suitable volume is not in a robot or a standalone drive and the
request is media-specific, NetBackup may pend a mount request. A
media-specific mount request is one for a restore, for an import, or from
the tpreq command.

If a suitable volume is not in a robot or a standalone drive, NetBackup


may attempt to use another volume only as follows: For backup jobs for
which any other media can be used.

135

136

Reference topics
How NetBackup selects media

If a suitable volume does not exist or if


a suitable volume is at end of media
(EOM), NetBackup assigns a new
volume. NetBackup may assign a new
volume even if a volume is not full
(because NetBackup received an EOM
message from the drive).

The new volume must meet all of the following criteria:

Is the correct media type

Is for the correct robot type (if applicable)

Is located in the requested robotic peripheral (if applicable)

Resides on the requested host

Is in the correct volume pool

Is not currently assigned (not already allocated to NetBackup)

Is not expired (if an expiration date is defined in NetBackup)

Has not exceeded the maximum number of mounts allowed

If more than one volume qualifies,


NetBackup then adds it to the media catalog and assigns it the specified
NetBackup chooses the volume that was retention level.
least recently used.
If there are no unassigned volumes of
the requested type, the backup
terminates with an error message that
no media were available.

NetBackup selects a volume in a robot in the following order:

NetBackup searches the media catalog for a volume that is already mounted
in a drive and meets the following criteria:

Configured to contain backups at the retention level that the backup


schedule requires. However, if the NetBackup Media host property Allow
multiple retentions per media is specified for the server, NetBackup does
not search by retention level.

In the volume pool that the backup job requires.

Not in a FULL, FROZEN, IMPORTED, or SUSPENDED state.

Of the same density that the backup job requested, and in the robot that
that the backup job requested.

Not currently in use by another backup or a restore.

Not written in a protected format. NetBackup detects tape format after the
volume is mounted. If the volume is in a protected format, NetBackup
unmounts the volume and resumes the search.
If a suitable volume is found, NetBackup uses it.

If NetBackup cannot find a mounted volume that satisfies all of the previous
conditions, it checks the media catalog for any volume that is suitable.

If a suitable volume is in a robot, NetBackup issues the commands that do


the following: Move the volume to a drive, position the heads to the

Reference topics
How NetBackup selects media

beginning of the volume, and assign it to the request. No manual


intervention is required.

If a suitable volume is not in a robot but is in a standalone drive, NetBackup


automatically mounts and assigns it. No manual intervention is required.

If a suitable volume is not in a robot or a standalone drive and the request


is media-specific, NetBackup may pend a mount request. A media-specific
mount request is one for a restore, for an import, or from the tpreq
command.

If a suitable volume is not in a robot or a standalone drive, NetBackup may


attempt to use another volume only as follows: For backup jobs for which
any other media can be used.

If a suitable volume does not exist or if a suitable volume is at end of media


(EOM), NetBackup assigns a new volume. NetBackup may assign a new volume
even if a volume is not full (because NetBackup received an EOM message from
the drive).
The new volume must meet all of the following criteria:

Is the correct media type

Is for the correct robot type (if applicable)

Is located in the requested robotic peripheral (if applicable)

Resides on the requested host

Is in the correct volume pool

Is not currently assigned (not already allocated to NetBackup)

Is not expired (if an expiration date is defined in NetBackup)

Has not exceeded the maximum number of mounts allowed

If more than one volume qualifies, NetBackup chooses the volume that was
least recently used.
NetBackup then adds it to the media catalog and assigns it the specified
retention level.

If there are no unassigned volumes of the requested type, the backup terminates
with an error message that no media were available.

See About spanning media with automatic media selection on page 137.

About spanning media with automatic media selection


After an end of media (EOM) is reached, automatic media selection depends on
whether NetBackup is configured to allow backups to span media, as follows:

137

138

Reference topics
How NetBackup selects media

NetBackup spans media if the NetBackup Media host property Allow backups
to span media is specified for the server.
In this case, NetBackup uses another volume to start the next fragment and
the resulting backup is composed of fragments on different volumes.

NetBackup does not span media if the media Allow backups to span media
property is not specified.
In this case, the backup terminates abnormally and the operation is retried
according to the NetBackup Global Attributes host property, Schedule backup
attempts.

About selecting media in standalone drives


The following topics explain media selection and other aspects of standalone drive
operations:
See About selecting media by using standalone drive extensions on page 138.
See About disabling standalone drive extensions on page 139.
See About spanning media on page 139.
See About leaving standalone drives in the ready state on page 140.

About selecting media by using standalone drive extensions


With NetBackup standalone drive extensions, NetBackup tries to use any labeled
or any unlabeled media that is in a standalone drive. This capability is enabled by
default during installation.
The media selection process is as follows:

If a backup is requested and an appropriate standalone drive contains a volume,


NetBackup tries to select and use that volume.

If an appropriate drive does not contain a volume, NetBackup selects a volume.


See About selecting media in robots on page 135.
The Device Monitor shows the mount request, and an operator must manually
insert the volume and assign it to a drive.

A volume that was used previously for backups must meet the following criteria:

Not be FULL, FROZEN, or SUSPENDED

Contain backups at the retention level and be in the same volume pool as the
backup that requires a volume.
However, if the NetBackup Media host property Allow multiple retentions
per media is specified for the server, NetBackup does not require a specific
retention level.

Reference topics
How NetBackup selects media

NetBackup selects unlabeled media only if the existing volumes that meet the
appropriate criteria do not have available space to contain the new backup images.
If the media is unlabeled, the following actions occur:

NetBackup labels the media.

NetBackup adds a media ID to the volume configuration, if necessary.


If a media ID is added, the NetBackup Media ID prefix (non-robotic) is used as
the first characters of the media ID.

If a media ID prefix is not specified, the default prefix is the letter A. For
example, A00000.

NetBackup adds the requested volume pool to the volume configuration (if the
backup policy specifies a volume pool).

If the unused media is unlabeled, label it by using the bplabel command. Specify
the -u parameter to force assignment of a specific drive index, which eliminates
the need to assign the drive manually.

About disabling standalone drive extensions


Disable the standalone drive extensions by clearing the NetBackup media server
host property, Enable standalone drive extensions. If this property is cleared,
NetBackup uses the same method to select media for standalone drives as it uses
for robotic drives.

About spanning media


Media selection after an end of media (EOM) condition depends on whether
NetBackup is configured to allow backups to span media, as follows:

NetBackup spans media if the Allow backups to span media host property is
specified for the server. NetBackup selects another volume to begin the next
fragment, and the resulting backup has data fragments on more than one
volume.
After an EOM condition, NetBackup attempts to use an unassigned volume
rather than one that already has images on it. NetBackup checks the EMM
database for a volume that is the correct media type, in the correct volume
pool, and so on.
If a suitable unassigned volume is unavailable, NetBackup selects a volume.

NetBackup does not span media if the Allow backups to span media host
property is not specified. The backup terminates abnormally when the end of
media is reached. The operation is rescheduled according to the master server
host property Schedule backup attempts.

139

140

Reference topics
Volume pool and volume group examples

You can further configure NetBackup behavior for standalone drives. Normally,
when NetBackup spans media and an EOM is encountered on a standalone drive,
NetBackup searches for other media or generates a pending mount request. You
can configure a wait period for standalone drives. The wait period is helpful when
a gravity feed tape stacker takes a long time to load the next media in the drive.
To configure NetBackup to wait, specify the Media request delay media server
host property. This property specifies the number of seconds NetBackup waits to
use a volume that is loaded in a compatible drive. After the wait period expires,
NetBackup searches for another drive. NetBackup also waits to generate a pending
mount request during tape span operations. The Media request delay property
applies only when standalone drive extensions are enabled.

About leaving standalone drives in the ready state


To leave standalone drives in a ready condition after a backup or restore completes,
use the nbemmcmd command to enable the -do_not_eject_standalone option.
NetBackup does not eject the tape after an operation completes. The media is still
ejected if EOM is reached or an error is encountered. Also, the media is ejected if
the drive needs to be used with another media or the media needs to be used with
another drive.
One standalone drive may be ready and contain suitable media.
Detailed information on the nbemmcmd command is available.
See NetBackup Commands Reference Guide.

Volume pool and volume group examples


The following three examples show the relationship between volume pools and
volume groups.
Figure 3-2 shows an example of one volume pool (named NB_pool) and several
volume groups.
You can move volumes between the groups in the robotic library and any groups
that are off site. All volumes, however, remain in the same pool.
Media in the same volume pools are in different volume groups. Note that the
data is stored on separate volumes by assigning different volume pools. The
volumes in a pool can be in more than one physical location and in more than one
volume group.

Reference topics
Volume pool and volume group examples

Volume pool with multiple volume groups

Figure 3-2

Standalone
Robotic
Group 1

Group 2

Group 3

Group 4

NB_pool

Off-site 1

Off-site 2

Figure 3-3 shows how the volumes in the pool NB_pool_dept_1 are spread among
the rob_A, standalone1, and off-site volume groups.
These groups also have volumes from more than one pool (though the volumes
in each group must all be the same type).You also can configure a scratch pool
from which NetBackup can transfer volumes when a volume pool has no media
available.

141

142

Reference topics
Volume pool and volume group examples

Figure 3-3
Robot A
Group
rob_A

Volume groups with multiple volume pools


Standalone
Group
standalone1

Standalone
Group
off-site
NB_pool
_dept_1

NB_pool
_dept_2
Robot B
Group
rob_B

NB_pool
_dept_3

In Figure 3-4, the scratch pool is named Scratch_pool. The three robots contain
volumes from that pool in addition to those from other pools.
Assume the following sequence of events:

A backup job requires a DLT volume, so NetBackup attempts to assign one


from NB_pool_dept_1 in Robot C.

Robot C has no unassigned volumes available in the NB_pool_dept_1 pool.

NetBackup searches the scratch pool for an unassigned DLT volume in Robot
C. If a volume is available, NetBackup moves it to NB_pool_dept_1. Otherwise,
NetBackup logs a media unavailable status.

Reference topics
Media formats

Scratch pool example

Figure 3-4
Robot A - TL8

Robot C - DLT

Group
rob_A

Group
rob_C

NB_pool_dept_1

Scratch_pool
Robot B - TL8
Group
rob_B

NB_pool_dept_2

Media formats
NetBackup writes media in a format that allows the position to be verified before
NetBackup appends new backups.
Table 3-11 shows the symbols that are used in the media format descriptions.
Table 3-11

Media format symbols

Symbol

Description

MH

Media header (1024 bytes).

Tape mark.

BH

Backup header (1024 bytes).

BH1 ... BHn

Backup headers (1024 bytes). One for each job that is part of the set of the
jobs that are multiplexed

143

144

Reference topics
Media formats

Table 3-11

Media format symbols (continued)

Symbol

Description

Image

Data from the backup.

EH

Empty backup header, which is used for position validation.

Table 3-12 provides more information about how the media formats are used in
different situations.
Table 3-12

Media format descriptions

Format

Description

Standard tape format

For all tape media except quarter-inch cartridge (QIC) and


WORM, the format for the backups that are not multiplexed
is as follows:
MH * BH Image * BH Image * BH Image * EH *
When a new backup image is added, the tape is positioned
to the EH and the position is verified. The EH is overwritten
by a BH and the backup proceeds. When complete, a new
EH is written for future positioning validation.
When NetBackup encounters the end of media during a
write operation, it terminates the tape with two tape marks
and does not write an EH.

QIC and WORM tape format This format is used for quarter-inch cartridge (QIC) and
WORM media. Unlike the standard tape format, NetBackup
does not write empty backup headers (EH). The format is
as follows:
MH * BH Image * BH Image * BH Image *
To append backup images to QIC media, NetBackup positions
to the end of data (EOD) and then starts the next backup.

Reference topics
Media formats

Table 3-12

Media format descriptions (continued)

Format

Description

Fragmented backup format

For fragmented backups, the media format is similar to the


standard tape format. The difference is that NetBackup
breaks the backup image into fragments of the size that are
specified when the storage unit is configured.
The following is an example:
MH * BH Image (frag 1)* BH Image (frag 2)*
BH Image (frag n) * EH *
Fragmentation is intended primarily for storing large backup
images on a disk type storage unit.
For multiplexed backups, image fragmentation results in
faster restores because NetBackup can advance to the
specific fragment before it begins a search for the file.

Note: If an error occurs in a backup, the entire backup is


discarded and the backup restarts from the beginning. It
does not restart from the fragment where the error occurred.
Exception: checkpoint and restart backups resume from the
last checkpoint fragment.
Multiplexing format

The tape format for multiplexed backups is as follows:


MH * BH1 ... BHn Image ...
By default, the data image is in 64-kilobyte blocks. Each
block also contains 512 bytes that are reserved for
multiplexing control information and to identify the backup
to which the block corresponds.
When a job ends or a new job is added to the multiplexing
set, NetBackup writes a tape mark. NetBackup then starts
multiplexing the revised set of jobs.
The following is an example:
MH * BH1 BH2 BH3 Image* BH2 BH3 Image* BH2 BH3 BH4
Image. .

145

146

Reference topics
Media Manager commands

Table 3-12

Media format descriptions (continued)

Format

Description

Spanning tape format

By default, NetBackup spans a backup image to another tape


if it encounters the end of media during a backup. The
format is the same as described for fragmented backups.
The first fragment on the next tape begins with the buffer
of data where the end of media occurred.
The following is the first tape format (NetBackup does not
write an EH and terminates the tape with two tape marks):
MH * ... *BHn Image (frag 1) * *
The following is the second tape format:
MH * BHn Image (frag2)* ... * EH *

Media Manager commands


Detailed information about the Media Manager commands is available. These
commands are located in install_path\VERITAS\Volmgr\bin.
See NetBackup Commands Reference Guide for detailed information about most
of the commands that are in the following tables.
Note: Start and stop services by using the Services tool available in Administrative
Tools in the Microsoft Windows Control Panel. If they are started from the
command line, some services occupy that NetBackup Console session until they
are stopped.
Table 3-13 shows the Media Manager services and processes and the commands
that start each.
Table 3-14 lists commands and the devices and processes that each stops.
Table 3-13

Starting services and processes

Command

Description

acsd

The Automated Cartridge System robotic process. The Device Manager


ltid starts this process.
Applies only to NetBackup Enterprise Server.

avrd

The Automatic Volume Recognition process. The Device Manager


ltid starts this process.

Reference topics
Media Manager commands

Table 3-13

Starting services and processes (continued)

Command

Description

ltid

Starts the NetBackup Device Manager service. Starting ltid also


starts the robotic, robotic control, Media Manager volume, and
automatic volume recognition daemons.

tl4d

The tape library 4MM robotic process. The Device Manager ltid
starts this process.

tl8cd

Starts the tape library 8MM robotic-control process. The Device


Manager ltid starts this process.

tl8d

The tape library 8MM robotic process. The Device Manager ltid
starts this process.

tldcd

Starts the tape library DLT robotic-control process. The Device


Manager ltid starts this process.

tldd

The tape library DLT robotic process. The Device Manager ltid starts
this process.

tlhcd

Starts the tape library Half-inch robotic-control process. The Device


Manager ltid starts this process.
Applies only to NetBackup Enterprise Server.

tlhd

The tape library Half-inch robotic process. The Device Manager ltid
starts this process.
Applies only to NetBackup Enterprise Server.

tlmd

The tape library Multimedia process. The Device Manager ltid starts
this process.
Applies only to NetBackup Enterprise Server.

vmd

The NetBackup Volume Manager service. The Device Manager ltid


starts this process.

vmscd

The NetBackup Status Collection service. The nbemm command starts


this service on the same host as the EMM server if one or more
NetBackup 5.x servers are present in the configuration.

Table 3-14

Stopping services and processes

Command

Description

stopltid

Stops the device, robotic, and robotic-control services.

147

148

Reference topics
Media Manager commands

Table 3-14

Stopping services and processes (continued)

Command

Description

tldcd -t

Stops the tape library DLT robotic-control process.

tl8cd -t

Stops the tape library 8MM robotic-control process.

tlhcd -t

Stops the tape library Half-inch robotic-control process.


Applies only to NetBackup Enterprise Server.

Chapter

UNIX reference topics


This chapter includes the following topics:

About exclude and include lists on UNIX clients

Schedules for user backups or archives

About exclude and include lists on UNIX clients


On UNIX clients, create the exclude and include lists in the following files on the
client:
/usr/openv/netbackup/exclude_list
/usr/openv/netbackup/include_list

Note: Exclude and include lists do not apply to user backups and archives.
If a /usr/openv/netbackup/exclude_list file exists on a UNIX client, NetBackup
uses the contents of the file as a list of patterns. NetBackup skips the files during
automatic full and incremental backups.
Note: Exclude and include lists do not apply to user backups and archives.
The following types of files appear in an exclude list:

*.o files

core files

a.out files

Files that begin or end with ~ (backups for editors)

Files and directories under /tmp, /usr/tmp

150

UNIX reference topics


About exclude and include lists on UNIX clients

Man pages

Software that you can restore from original installation tapes

Automounted directories

CD-ROM file systems

NetBackup automatically excludes the following file system types:

mntfs (Solaris)

proc (all UNIX platforms)

cdrom (all UNIX platforms)

cachefs (AIX, Solaris, SGI, UnixWare)

Check with users before any files are excluded from backups.
Note: Symantec suggests that you always specify automounted directories and
CD-ROM file systems in the exclude list. Otherwise, if they are not mounted at
the time of a backup, NetBackup must wait for a timeout before proceeding.

Syntax rules for exclude lists


The following syntax rules apply to exclude lists:

Blank lines or lines that begin with a pound sign (#) are ignored.

Only one pattern per line is allowed.

The following special or wildcard characters are recognized:


[]
?
*
{}

To use special or wildcard characters literally, precede the character with a


backslash (\). For example, assume the brackets in the following are to be used
literally:
/home/abc/fun[ny]name

In the exclude list, precede each bracket with a backslash as in


/home/abc/fun\[ny\]name

UNIX reference topics


About exclude and include lists on UNIX clients

A backslash (\) acts as an escape character only when it precedes a special or


a wildcard character. NetBackup normally interprets a backslash literally
because a backslash is a legal character to use in pathnames.

If all files are excluded in the backup selections list, NetBackup backs up only
what is specified by full path names in the include list. Files can be excluded
by using / or * or by using both symbols together (/*).

Spaces are considered legal characters. Do not include extra spaces unless
they are part of the file name.
For example, if you want to exclude a file named
/home/testfile (with no extra space character at the end)
and the exclude list entry is
/home/testfile (with an extra space character at the end)
NetBackup cannot find the file until you delete the extra space from the end
of the file name.

End a file path with / to exclude only directories with that path name (for
example, /home/test/). If the pattern does not end in / (for example,
/usr/test), NetBackup excludes both files and directories with that path name.

To exclude all files with a given name, regardless of the directory path, enter
the name without a preceding slash. For example:
test

rather than
/test

This is equivalent to prefixing the file pattern with a slash:


/
/*/
/*/*/
/*/*/*/

and so on.

Do not use patterns with links in the names. For example, assume /home is a
link to /usr/home and /home/doc is in the exclude list. The file is still backed
up in this case because the actual directory path, /usr/home/doc, does not
match the exclude list entry, /home/doc.

Example of an exclude list


In this example, an exclude list contains the following entries:

151

152

UNIX reference topics


About exclude and include lists on UNIX clients

# this is a comment line


/home/doe/john
/home/doe/abc/
/home/*/test
/*/temp
core

Given the exclude list example, the following files and directories are excluded
from automatic backups:

The file or directory named /home/doe/john.

The directory /home/doe/abc (because the exclude entry ends with /).

All files or directories named test that are two levels beneath home.

All files or directories named temp that are two levels beneath the root
directory.

All files or directories named core at any level.

Exclude lists for specific policies or schedules


NetBackup lets you create an exclude list for a specific policy or for a policy and
a schedule combination. Create an exclude_list file with a .policyname or
.policyname.schedulename suffix. The following two file examples use a policy
that is named wkstations. The policy contains a schedule that is named fulls:
/usr/openv/netbackup/exclude_list.wkstations
/usr/openv/netbackup/exclude_list.wkstations.fulls

The first file affects all scheduled backups in the policy that is named wkstations.
The second file affects backups only when the schedule is named fulls.
For a given backup, NetBackup uses a single exclude listthe list that contains
the most specific name. For example, if there are files named:
exclude_list.wkstations and exclude_list.wkstations.fulls

NetBackup uses only:


exclude_list.wkstations.fulls

About creating an include list on a UNIX client


To add back in a file that is eliminated with the exclude list, create a
/usr/openv/netbackup/include_list file. The same syntax rules apply as for
the exclude list.

UNIX reference topics


Schedules for user backups or archives

Note: Exclude and include lists do not apply to user backups and archives.
To illustrate the use of an include list, we use the example from the previous
discussion. The exclude list in that example causes NetBackup to omit all files or
directories named test from all directories beneath /home/*/test.
In this case, add a file named /home/jdoe/test back into the backup by creating
an include_list file on the client. Add the following to the include_list file:
# this is a comment line
/home/jdoe/test

To create an include list for a specific policy or policy and schedule combination,
use a .policyname or .policyname.schedulename suffix. The following are two
examples of include list names for a policy that is named wkstations that contains
a schedule that is named fulls.
/usr/openv/netbackup/include_list.workstations
/usr/openv/netbackup/include_list.workstations.fulls

The first file affects all scheduled backups in the policy that is named workstations.
The second file affects backups only when the schedule is named fulls.
For a given backup, NetBackup uses only one include list: the list with the most
specific name. Given the following two files:
include_list.workstations
include_list.workstations.fulls

NetBackup uses only include_list.workstations.fulls as the include list.

Schedules for user backups or archives


To have NetBackup use a specific policy and schedule for user backups or archives
of a UNIX client, add the following options to the /usr/openv/NetBackup/bp.conf
file:

BPARCHIVE_POLICY

BPARCHIVE_SCHED

BPBACKUP_POLICY

BPBACKUP_SCHED

153

154

UNIX reference topics


Schedules for user backups or archives

These options can also be added to a users $HOME/bp.conf file on the client.

Index

Symbols

.ExTeNt.nnnn files 89
.SeCuRiTy.nnnn files 89
@@MaNgLeD.nnnn files 89
@@MaNgLeD.nnnn_Rename files 89
@@MaNgLeD.nnnn_Symlink files 89

backup_exit_notify script 97
backup_notify script 97
backups
backup_exit_notify script 97
backup_notify script 97
bpend_notify script
UNIX client 104
Windows client 106
bpstart_notify script
UNIX client 99
Windows client 102
compressed 88
diskfull_notify script 109
estimating time required 90
multiplexed 88
session_notify script 113
session_start_notify script 113
basic disk staging
and NearStore disk storage units 64
bpdynamicclient 54
bpend_notify script
UNIX client 104
Windows client 106
bpstart_notify script
UNIX client 99
Windows client 102
bpstsinfo command 71

A
Absolute pathname
to volume storage unit setting 68
access control
lists (ACLs) 89
ACS_ vm.conf entry 27
ACS_SEL_SOCKET
vm.conf entry 28
ACS_SSI_HOSTNAME
vm.conf entry 28
ACS_SSI_SOCKET
vm.conf entry 28
ADJ_LSM
vm.conf entry 29
AIX cachefs file system 150
All Log Entries report 92
Allow backups to span media 138
alternate client restores
host.xlate file 86
Announce DHCP interval property 49
API_BARCODE_RULES
vm.conf entry 30
AUTHORIZATION_REQUIRED
vm.conf entry 30
auto cleaning 122
AUTO_PATH_CORRECTION
vm.conf entry 31
AUTO_UPDATE_ROBOT
vm.conf entry 31
AVRD_PEND_DELAY
vm.conf entry 32, 133
AVRD_SCAN_DELAY
vm.conf entry 32

C
capacity licensing
about 13
and multistreamed backups 25
nbdeployutil 1416
reconciling report results 23
reporting 17, 1921
cdrom file system 150
CLEAN_REQUEST_TIMEOUT
vm.conf entry 32
cleaning
frequency-based 123

156

Index

cleaning (continued)
library-based 122
TapeAlert reactive 118
times allowed 124
CLIENT_PORT_WINDOW
vm.conf entry 33
clients
changing host names 85
dynamic UNIX client 53
exclude files list, UNIX 149
include files list 152
cluster environments 132
CLUSTER_NAME
vm.conf entry 33
compressed backups 88
CONNECT_OPTIONS
vm.conf entry 33
crawlreleasebyname
vmoprcmd option 130

D
DAS_CLIENT
vm.conf entry 34
DataStore policy type 57
DAYS_TO_KEEP_LOGS
vm.conf entry 34
device
best practices 116
delays 91
using with other applications 115
DHCP server 47
disk
consumption 71
Disk type storage unit setting 68
diskfull_notify script 109
Domain Name Service (DNS) hostnames 86
drives
cleaning 122
manual 123
Dynamic host name and IP addressing 47

E
EMM_REQUEST_TIMOUT
vm.conf entry 35
EMM_RETRY_COUNT
vm.conf entry 35
Enable block sharing storage unit setting 70
Enable file system export storage unit setting 70

Enable performance data collection property 95


ENABLE_ROBOT_AUTH
vm.conf entry 36
escape character on UNIX 151
Exclude files list
UNIX 149
exclude lists
creating 149
example 151
files on UNIX 149
for specific policies and schedules 152
syntax rules 150
wildcards in 150
extended attribute files 88
ExTeNt.nnnn files 89

F
files
.ExTeNt.nnnn 89
.SeCuRiTy.nnnn 89
@@MaNgLeD.nnnn 89
@@MaNgLeD.nnnn_Rename 89
@@MaNgLeD.nnnn_Symlink 89
goodies scripts 95
FlashBackup 88
fragmented backups 145
frequency-based drive cleaning 123
Front-End Terabyte (FETB) Calculation 14

G
GNU tar 88
goodies directory 95

H
host names
changing client name 85
changing server name 8485
client peername 85
correct use 83
short 85
host.xlate file and alternate client restores 86

I
include files list 152
INVENTORY_FILTER
vm.conf entry 3536

Index

L
library-based cleaning 122
licensing
about 13
nbdeployutil 1416
reconciling report results 23
reporting 17, 1921
logical storage unit (LSU) attributes 71

M
mail_dr_info.cmd 109
MAP_CONTINUE_TIMEOUT
vm.conf entry 37
MAP_ID, vm.conf entry 36
media
best practices 116
formats 143
selection algorithm 135136, 138
spanning 138139
using tar to read images 88
media and device management
best practices 115
performance and troubleshooting 117
Media Manager
best practices 115
configuration file 27
security 40
media_deassign_notify script 110
MEDIA_ID_BARCODE_CHARS
vm.conf entry 37
MEDIA_ID_PREFIX
vm.conf entry 38
MM_SERVER_NAME
vm.conf entry 39
mntfs file system 150
multiple servers 43
multiplexing (MPX)
backups 145
recovering backups 88
tape format 145
multistreamed backups 25

N
named data streams
VxFS 88
nbdeployutil 14, 1617
nbmail.cmd 110
NDMP 88, 132

NearStore
server storage unit setting 68
storage units 61
authenticating media servers 65
disk consumption 71
properties 67
SnapVault schedules 61
storage units disk type 64
NearStore storage units 59
NetApp 59
NetBackup Access Control (NBAC)
use of 36, 39
network transfer rate 92
notification scripts 95

O
On demand only storage unit setting 68
OpenStorage Disk Option 60

P
peername
client 85
pending_request_notify script 113
Performance Monitor
using with NetBackup 95
PREFERRED_GROUP
vm.conf entry 39
PREVENT_MEDIA_REMOVAL
vm.conf entry 39
proc file system 150
PureDisk
exporting backups to NetBackup 56
reports 15
restoring export data 58

R
RANDOM_PORTS
vm.conf entry 40
raw partitions 88
reactive cleaning 118
Reduce fragment size storage unit setting 70
REQUIRED_INTERFACE
vm.conf entry 40
RESERVATION CONFLICT status 129
restore_notify script 113
restores
restore_notify script 113
robotic cleaning 122

157

158

Index

S
scripts
backup_exit_notify 96
backup_notify 96
bpend_notify 97
bpstart_notify 97, 99, 102
diskfull_notify 96
goodies 95
mail_dr_info.cmd 96
media_deassign_notify 96
nbmail.cmd 96
notification 95
parent_end_notify 96
parent_start_notify 96
pending_request_notify 96
restore_notify 96
session_notify 96
session_start_notify 96
shared_drive_notify 97, 114
userreq_notify 96
SCSI persistent reserve 126
SCSI reserve and release 126
break a reservation 129130
error recovery 130
limitations 132
PEND status 130
requirements 131
RESERVATION CONFLICT 128129
SeCuRiTy.nnnn files 89
SERVER
vm.conf entry 40
servers
changing host names 8485
NetBackup
master 44
media 44
multiple 43
session_notify script 113
session_start_notify script 113
SGI cachefs file system 150
Simple Mail Transfer Protocol 110
Single-Instance Storage (SIS) 60, 70
SnapVault storage units 61
Solaris
extended attributes 88
file systems 150
spanning media 137139, 146
SSO
vm.conf entries 42

SSO_DA_REREGISTER_INTERVAL
vm.conf entry 41
SSO_DA_RETRY_TIMEOUT
vm.conf entry 41
SSO_HOST_NAME
vm.conf entry 42
standalone drive
extensions
disabling 139
storage units
NearStore 64
System Monitor
using with NetBackup 9495
System Monitor, using with NetBackup 9495

T
tape
spanning 138139
tape format
fragmented 145
multiplexed 145
non-QIC 144
QIC 144
spanned tapes 146
WORM 144
TapeAlert 117118
log codes 119
tar
GNU 88
to read backup images 88
temporary staging area 70
TLH_ vm.conf entry 42
TLM_ vm.conf entry 42
transfer rate 9091

U
UnixWare cachefs file system 150
userreq_notify script 114
using devices with other applications 115

V
VERBOSE, vm.conf entry 42
veritas_pbx port 33
vm.conf file
ACS_ entries 27
ACS_SEL_SOCKET entries 28
ACS_SSI_HOSTNAME entries 28
ACS_SSI_SOCKET entries 28

Index

vm.conf file (continued)


ADJ_LSM entries 29
API_BARCODE_RULES entries 30
AUTHORIZATION_REQUIRED entries 30
AUTO_PATH_CORRECTION entries 31
AUTO_UPDATE_ROBOTentries 31
AVRD_PEND_DELAY entries 32
AVRD_SCAN_DELAY entries 32
CLEAN_REQUEST_TIMEOUT entries 32
CLIENT_PORT_WINDOW entries 33
CLUSTER_NAME entry 33
CONNECT_OPTIONS entries 33
DAS_CLIENT entries 34
DAYS_TO_KEEP_LOGS entries 34
ENABLE_ROBOT_AUTH entries 36
INVENTORY_FILTER entries 3536
MAP_CONTINUE_TIMEOUT entries 37
MAP_ID entries 36
MEDIA_ID_BARCODE_CHARS entries 37
MEDIA_ID_PREFIX entries 38
MM_SERVER_NAME entry 39
overview 27
PREFERRED_GROUP entries 39
PREVENT_MEDIA_REMOVAL entries 39
RANDOM_PORTS entries 40
REQUIRED_INTERFACE entry 40
SERVER entries 40
SSO_DA_REREGISTER_INTERVAL entries 41
SSO_DA_RETRY_TIMEOUT entries 41
SSO_HOST_NAME entries 42
TLH_ entries 42
TLM_ entries 42
VERBOSE entries 42
volume groups
examples 140
volume pools
examples 140
VxFS
extent attributes 89
named data streams 88

W
WAFL qtree
cleaning up 61
wildcard characters
in exclude lists 150
UNIX escape character 151
Windows System Monitor, using with NetBackup 94

159

You might also like