NetBackup83 AdminGuideII Server
NetBackup83 AdminGuideII Server
Administrator's Guide,
Volume II
Release 8.3
Veritas NetBackup Administrator's Guide, Volume II
Last updated: 2020-07-28
Legal Notice
Copyright © 2020 Veritas Technologies LLC. All rights reserved.
Veritas, the Veritas Logo, and NetBackup are trademarks or registered trademarks of Veritas
Technologies LLC or its affiliates in the U.S. and other countries. Other names may be
trademarks of their respective owners.
This product may contain third-party software for which Veritas is required to provide attribution
to the third party (“Third-party Programs”). Some of the Third-party Programs are available
under open source or free software licenses. The License Agreement accompanying the
Software does not alter any rights or obligations you may have under those open source or
free software licenses. Refer to the Third-party Legal Notices document accompanying this
Veritas product or available at:
https://www.veritas.com/about/legal/license-agreements
The product described in this document is distributed under licenses restricting its use, copying,
distribution, and decompilation/reverse engineering. No part of this document may be
reproduced in any form by any means without prior written authorization of Veritas Technologies
LLC and its licensors, if any.
The Licensed Software and Documentation are deemed to be commercial computer software
as defined in FAR 12.212 and subject to restricted rights as defined in FAR Section 52.227-19
"Commercial Computer Software - Restricted Rights" and DFARS 227.7202, et seq.
"Commercial Computer Software and Commercial Computer Software Documentation," as
applicable, and any successor regulations, whether delivered by Veritas as on premises or
hosted services. Any use, modification, reproduction release, performance, display or disclosure
of the Licensed Software and Documentation by the U.S. Government shall be solely in
accordance with the terms of this Agreement.
http://www.veritas.com
Technical Support
Technical Support maintains support centers globally. All support services will be delivered
in accordance with your support agreement and the then-current enterprise technical support
policies. For information about our support offerings and how to contact Technical Support,
visit our website:
https://www.veritas.com/support
You can manage your Veritas account information at the following URL:
https://my.veritas.com
If you have questions regarding an existing support agreement, please email the support
agreement administration team for your region as follows:
Japan [email protected]
Documentation
Make sure that you have the current version of the documentation. Each document displays
the date of the last update on page 2. The latest documentation is available on the Veritas
website:
https://sort.veritas.com/documents
Documentation feedback
Your feedback is important to us. Suggest improvements or report errors or omissions to the
documentation. Include the document title, document version, chapter title, and section title
of the text on which you are reporting. Send feedback to:
You can also see documentation information or ask a question on the Veritas community site:
http://www.veritas.com/community/
https://sort.veritas.com/data/support/SORT_Data_Sheet.pdf
Contents
■ Using the NetBackup Storage API to get the total backup size information
Capacity licensing Capacity licensing is based on the total amount of data that NetBackup protects on the client
or agent. The nbdeployutil utility securely communicates with the master server to gather
the protected data sizes and generate reports. The report includes details for the last 90
days per the license agreement and only includes details for full backups and user-directed
backups (including expired backups). The capacity licensing report includes details about
the mechanism that is used to calculate data size, based on the policy type. When this model
is used, NetBackup automatically gathers the information through the accurate licensing
method or obtains information from the backup image header.
Traditional licensing The traditional licensing model is based on the total number of protected clients in a
NetBackup environment or on the total storage capacity. This model counts the number of
clients and servers, and then compares this information against licensed options.
The report includes details for the last 90 days per the license agreement. Traditional usage
reporting supports a single master server.
NetBackup Enterprise The NetBackup Enterprise Virtual Client (NEVC) licensing model is based on the total number
Virtual Client (NEVC) of CPU sockets of a hypervisor. A hypervisor whose virtual machines NetBackup protects
is considered for the measurement of CPU sockets.
If you have a cluster of hypervisors, CPU sockets of the hypervisors that belong to a cluster
are measured.
■ VMware
■ Hyper-V
■ Red Hat Virtualization (RHV)
■ Nutanix-AHV
■ Azure Stack
■ OpenStack
NetBackup licensing models and the nbdeployutil utility 12
Tools for creating and viewing licensing reports
Note: License types marked with an asterisk (*) use capacity licensing.
■ Create custom capacity license reports. For example, for a set of clients or for
a business unit.
NetBackup OpsCenter
OpsCenter also provides a licensing reporting interface that is useful for multi-server
environments. You must run reports manually in OpsCenter.
■ On UNIX:
./bpsetconfig
bpsetconfig>
NETBACKUP_PLATFORM_BASE_COMPLETE_EDITION_FLEX=1
bpsetconfig>^D
If you have NetBackup 8.3 and earlier clients, ensure that you install the client-side
Emergency Engineering Binary (EEB) from the Veritas Support site to get the
enhanced benefit of flexible licensing. You can also see the Veritas Operations
Readiness Tools (SORT) website and refer to the NetBackup Emergency
Engineering Binary Guide.
Note: In a multi-master scenario, only capacity based license types are supported.
based on the overlap. The overlap is only applicable to data that is reported with
accurate licensing.
The older reports are placed in the archive folder. Veritas recommends that you
retain at least 90 days of reporting data. Data can be kept longer than 90 days,
depending on the requirements of your environment. Older reports can help to show
how the capacity usage has changed over time. Delete the reports or the folder
when they are no longer required.
NetBackup licensing models and the nbdeployutil utility 19
Scheduling reports for capacity licensing
Use Case I: Using the default values for the licensing report
The nbdeployutilconfig.txt file is not required when you use the default
parameters. nbdeployutil uses the following default values for capacity licensing:
■ FREQUENCY_IN_DAYS=7
■ MASTER_SERVERS=local_server
■ PARENTDIR=folder_name
For Windows: install_path\NetBackup\var\global\incremental
For UNIX: /usr/openv/var/global/incremental
■ PURGE_INTERVAL=120 (number of days)
■ MACHINE_TYPE_REQUERY_INTERVAL = 90 (number of days)
Use Case II: Using custom values for the licensing report
If the file nbdeployutilconfig.txt is not present, create a file using the following
format:
[NBDEPLOYUTIL_INCREMENTAL]
MASTER_SERVERS=<server_names>
FREQUENCY_IN_DAYS=7
PARENTDIR=<folder_name_with_path>
PURGE_INTERVAL=120
MACHINE_TYPE_REQUERY_INTERVAL=90
Default 7
(recommended)
Minimum 1
Note: Veritas Smart Meter requires that master servers be at NetBackup 8.1.2
or later.
For example:
■ MASTER_SERVERS=newserver, oldserver
■ MASTER_SERVERS=newserver, oldserver.domain.com
■ MASTER_SERVERS=myserver1.somedomain.com, newserver.domain.com
5 Edit the PARENTDIR value to include the full path for location where the data is
gathered and reported.
6 Edit the PURGE_INTERVAL to indicate the interval (in days) for how often you
want to delete the report data. Data that is older than 120 days is automatically
purged.
Default 120
Minimum 90
Default 90
Minimum 1
Use Case I: Using the default values for the licensing report
The nbdeployutilconfig.txt file is not required when you use the default
parameters. nbdeployutil uses the following default values for traditional licensing:
■ FREQUENCY_IN_DAYS=30
■ PARENTDIR=folder_name
For Windows:
Iinstall_path\NetBackup\var\global\incremental\traditional
For UNIX: /usr/openv/var/global/incremental/traditional
■ PURGE_INTERVAL=120 (number of days).
Use Case II: Using custom values for the licensing report
If the file nbdeployutilconfig.txt is not present, create a file using the following
format:
[NBDEPLOYUTIL_INCREMENTAL_TRADITIONAL]
FREQUENCY_IN_DAYS=30
[NBDEPLOYUTIL_INCREMENTAL]
PARENTDIR=<folder_name_with_path>
PURGE_INTERVAL=120
3 Edit the FREQUENCY_IN_DAYS value to reflect how often you want the report to
be created.
Default
(recommended)
Minimum 1
4 Edit the PARENTDIR value to include the full path for location where the data is
gathered and reported.
5 Edit the PURGE_INTERVAL to indicate the interval (in days) for how often you
want to delete the report data. Data that is older than 120 days is automatically
purged.
Default 120
Minimum 90
On Windows: install_path\NetBackup\var\global\incremental\NEVC
On UNIX: /usr/openv/var/global/incremental/NEVC
It contains the following files:
■ The generated report for the latest nbdeployutil result.
■ Folders containing incrementally gathered data.
■ The archive folder that contains the older generated reports.
■ nbdeployutil log files.
Use Case I: Using the default values for the licensing report
The nbdeployutilconfig.txt file is not required when you use the default
parameters. nbdeployutil uses the following default values for NEVC licensing:
■ FREQUENCY_IN_DAYS=30
■ PARENTDIR=folder_name
For Windows: install_path\NetBackup\var\global\incremental\NEVC
For UNIX: /usr/openv/var/global/incremental/NEVC
■ PURGE_INTERVAL=120 (number of days).
Use Case II: Using custom values for the licensing report
If the file nbdeployutilconfig.txt is not present, create a file using the following
format:
[NBDEPLOYUTIL_INCREMENTAL_NEVC]
FREQUENCY_IN_DAYS=30
[NBDEPLOYUTIL_INCREMENTAL]
PARENTDIR=<folder_name_with_path>
PURGE_INTERVAL=120
3 Edit the FREQUENCY_IN_DAYS value to reflect how often you want the report to
be created.
Default
(recommended)
Minimum 1
4 Edit the PARENTDIR value to include the full path for location where the data is
gathered and reported.
5 Edit the PURGE_INTERVAL to indicate the interval (in days) for how often you
want to delete the report data. Data that is older than 120 days is automatically
purged.
Default 120
Minimum 90
To use the data that was gathered previously to generate a capacity licensing
report
1 Locate the folder that was generated for the gathered data after the previous
run of nbdeployutil and copy it to the following location:
On Windows: install_path\NetBackup\var\global\incremental
On UNIX: /usr/openv/var/global/incremental
2 Create the gather_end.json file inside the copied folder and add the following
text:
{"success":0}
The next incremental run considers the data inside the copied folder to generate
a capacity licensing report.
Note: Delete any other gather folders inside the copied folder to avoid gaps
for the period in which data is gathered. The missing data is automatically
generated during the next incremental run.
To create a custom interval report using existing gathered data for capacity
licensing
◆ To create a report for a time interval that is different than the default interval
of 90 days, run the following command:
On Windows:
On UNIX:
To change the directory of the gathered data and traditional and NEVC
licensing report
◆ Edit nbdeployutilconfig.txt and change the location of the gathered data
and licensing report in the PARENTDIR=folder_name field.
You cannot manually generate the NetBackup Enterprise Virtual Client Edition
(NEVC) licensing report.
Step 1 Complete prerequisites. If you want to gather data from one master for other remote master servers,
ensure that you have granted the necessary access across all servers:
See “Requirements before gathering data for multiple master servers in capacity
licensing” on page 16.
For back-level master servers, load the engineering binary that is associated
with nbdeployutil onto all master servers for which you want to gather
information.
Gather the backup size The nbdeployutil utility uses the following options to gather data from one
data or more master servers.
Step 2 Analyze the data and The nbdeployutil utility uses the following options to analyze the gathered
prepare the report data and prepare the report:
nbdeployutil --report
<--capacity | --traditional> <directory> ...
[--dirlist=FILENAME | --parentdir=DIRECTORY]
[--capacity] [--debug-inputs] [--log=FILENAME]
[--clientlist=FILENAME | --clients=HOSTNAME[,...]]
[--day-boundary=TIME] [--runtimestats] [--nolog]
[--overlap-details]
[--anonymize | --anonymize -anon-master=SOME_NAME]
Note: For NetBackup 8.0 and later, this step requires that you provide the web
service credentials.
Option Description
Domain Enter a domain type value from NIS, NISPLUS, WINDOWS, vx, unixpwd, ldap.
Type This value is case-sensitive.
Domain Name of the domain that the master server host belongs to. If the master server
Name does not belong to any domain, enter the name of the master server.
Password Password of the same user that has administrator privileges. When you enter
the password, characters are intentionally not displayed in the command line.
NetBackup licensing models and the nbdeployutil utility 30
Manually generating licensing reports
Note: In a multi-master server scenario, you must enter the credentials for all the
master servers that are mentioned with the gather command.
--overlap-details This option searches for any duplicate backup selections in policies
of the same type. The results are noted in the Duplicate Selections
column of the report.
Note: The backup selection data must contain only ASCII or
English-only characters. This option displays the actual backup
selection data in the report.
See the section called “Providing web service credentials for the capacity licensing
report” on page 29.
or
To create a capacity report based on the data gathered, the utility tells you what
command you need to run:
C:\Program Files\Veritas\NetBackup\bin\admincmd>nbdeployutil.exe
--report --capacity
"C:\Program Files\Veritas\netbackup\var\global\report\
20160527_140620_cayce.rm.com"
NetBackup Deployment Utility, version 8.1.x
Analyzing license deployment ...
Following directories were given, but do not exist:
C:\Program Files\Veritas\netbackup\var\global\report\
20160527_140620_
cayce.rm.com
NetBackup licensing models and the nbdeployutil utility 33
Creating and viewing the licensing report
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
Summary The contents of this tab differs for a traditional or a capacity Traditional and capacity
report.
Itemization Displays a table similar to the line itemization table you Capacity
may see in a 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 or policy combination.
Unused clients Displays the names of clients that are registered with the Capacity
master server but are not backed up.
NDMP A list of computers that are NDMP servers and the Traditional
corresponding tier number of the client. When you
reconcile the report, you need to address the clients that
are found on this tab.
Virtual Servers A list of the virtual servers or the virtual hosts that were Traditional
detected in the environment.
Drives Details the type of drives and the host or the library where Traditional
the drive resides. Lists the host names that are associated
with each drive as well as information about virtual tape
libraries, shared drives, and vaulted drives.
Interpreting the Results Explains how to examine the report and how to reconcile Traditional and capacity
the information in the report with your actual environment.
NetBackup licensing models and the nbdeployutil utility 35
Reviewing a capacity licensing report
1 Verify the information on which the report See “Summary tab” on page 36.
is based, including the master server,
clients, and policies.
2 Remove redundant data created from See “Client aliases and multiple IP
client aliases and multiple IP addresses. addresses” on page 37.
3 Examine the Itemization tab for flagged See “Itemization tab” on page 37.
conditions in the Accuracy column.
4 For multistreamed backup images, verify See “Clients backed up with multiple
how the images are grouped and the size streams” on page 39.
of the backups.
7 Review the details for specific policy See “BigData plug-ins for NetBackup”
types. on page 42.
Summary tab
The top of the Summary tab shows the basis for the report information. Examine
the section marked Analyzed to verify the gathered data.
The Analyzed section displays the following information:
■ The master servers that are included in the report.
■ The date range for catalog data.
■ The number of clients and policies that are included in the catalog output.
If the client and the policy counts are low, the report may be based on the data that
was gathered with narrower, non-default values. The analyzer gathers 90 days of
catalog data for all clients by default.
The Input Directory column displays the path to the gathered data. Within the
Input Directory is the nbdeployutil-gather-timestamp.log file. If non-default
values were used in the collection of catalog data, the log file displays this
information.
NetBackup licensing models and the nbdeployutil utility 37
Reviewing a capacity licensing report
For the agents that support accurate licensing the Overlap column summarizes
the charged sizes for all overlapping policies. These are policies for which the
Overlap keyword appears in the Accuracy column, per master server. The overlap
is calculated only for the same policy type. For example, if both an MS-Windows
and a MS-Exchange-Server policy back up an Exchange database, accurate
licensing does not consider this policy as an overlap.
If data is reported using catalog image headers, the information is displayed in the
Possible Overlap column.
Itemization tab
The report’s Itemization tab shows the calculated capacity for each client or policy
combination. The report flags any conditions that have the potential to over count
NetBackup licensing models and the nbdeployutil utility 38
Reviewing a capacity licensing report
or to under count capacity. These conditions are identified in the Accuracy and
Accuracy Comment columns.
■ OK - Precise data is reported
Data that is displayed in the Charged Size column is protected data for a policy.
A user can verify that the data is precise by referring to the policy type.
See “Eliminate redundant counting of clients” on page 54.
Overlap scenarios:
Overlap is identified within the same policy type when the accurate licensing
method is used. This means that if the same data is backed up more than once
by different policies of the same type (within the same client or across clients
in the same master server), the overlap is identified.
Once the overlap is identified, the overlap size is displayed in the Overlap Size
(KB) column. After identification of the overlap, Charged Size(KB) is updated
after reducing the calculated overlap size. The Accuracy column displays OK
in such cases. For a policy where the overlap was detected is deducted from
charged size, the following message is displayed:
Overlap detected for the policy and deducted from the Charged Size.
■ If identical policies of the same type exist, the policy with the largest backup
size is charged to the user. The Charged Size column displays zero for one
of the identical policies.
■ If a policy is a subset of another policy (consumed policy), the Charged Size
column displays zero for the consumed policy. The user is charged for the
superset policy.
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.
■ 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.
■ 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 compression
ratio). The value of the compression ratio is listed on the Summary tab.
■ Size unavailable – Only snapshot is present
The catalog has only snapshots for the range analyzed. The analyzer requires
a backup image of the snapshot to have an accurate figure for the client's
protected capacity.
■ Possible multistream backup detected
The size of the clients that are protected by multistream backups is the total of
all backup images that are created by all streams.
Policy1 Policy2
Here MSSQLSERVER is the name of instance and DB1, DB2, DB3 are the
databases. The DB file DB2 is common in both policies Policy1 and Policy2.
nbdeployutil detects the overlap and displays in the report.
NetBackup licensing models and the nbdeployutil utility 41
Reviewing a capacity licensing report
For policy DB_File_Overlap2 the customer is charged for only DB file DB_03.
Database Availability Group A user can choose a DAG directive to back up all Exchange
(DAG) databases or back up an individual database of the DAG as
a standalone database backup.
Alternatively, the administrator can mount the volume of the NDMP filer (provided
that the NFS protocol is enabled for that volume) on any UNIX-based client and
run the following commands:
o du -sh
o ls –lh
NetBackup licensing models and the nbdeployutil utility 45
Reviewing a capacity licensing report
The following Oracle queries are used to gather file size information.
■ Get size of database files being backed up
Given the database file names that are backed up, these queries retrieve the
file size (in MB) for every database in an instance. These queries do not include
the transaction log:
select name, BYTES/1024/1024 from v$datafile; (where name is the
name of the database file being protected in the backup policy)
Or to collect the entire sum of the database files in the instance, use the following
query:
USE <dbname>;
SELECT CAST(SUM(dbfile.size) AS FLOAT) / 128.0 AS FileSizeInMB
NetBackup licensing models and the nbdeployutil utility 46
Reviewing a capacity licensing report
■ Get size of entire database for skip read-only file groups option
Given the database name, this query gets the file size in MB for skip ReadOnly
file groups option:
USE <database_name>;
SELECT
sysFG.name AS FileGroupName,
SUM(CAST(dbfile.size AS float) / CAST(128 AS float)) AS FileSizeInMB
FROM
sys.database_files AS dbfile
INNER JOIN
sys.filegroups AS sysFG
ON
dbfile.data_space_id = sysFG.data_space_id
WHERE
sysFG.is_read_only = 0 and drop_lsn is null
GROUP BY
sysFG.name;
USE <database_name>;
SELECT
sysFG.name AS FileGroupName,
SUM(CAST(dbfile.size AS float) / 128.0) AS FileSizeInMB
FROM
sys.database_files AS dbfile
INNER JOIN
sys.filegroups AS sysFG
ON
dbfile.data_space_id = sysFG.data_space_id
WHERE
drop_lsn is null
and sysFG.name in (<delimited fg name>, ...)
GROUP BY
sysFG.name;
NetBackup licensing models and the nbdeployutil utility 47
Reviewing a capacity licensing report
■ If the data size backed up by the policy Include all disks is greater than the
sum of other two policies, the data size of Include all disks is counted.
■ If the data size backed up by the policies Exclude data disks and Exclude
boot disk are greater than the Include all disks, the data size of Exclude data
disks and Exclude boot disk is counted.
■ If identical policies are taken, the policy with higher size is counted.
If different policies use the same virtual machine (VM) identifiers, they are
detected as identical policies.
The uncounted policies are displayed with 0 data size in the FEDS table generated
by the nbdeployutil utility.
System administrators can use the following ways to verify the data size reported
by accurate licensing.
■ If all disks are included in the backup, verify the size of the ESX datastore.
■ If a specific disk is excluded during the backup, verify its size on the guest
operating system (OS) of the virtual machine.
Note: This section is applicable for NetBackup master server 8.3 or later and
NetBackup client 8.3 or later.
NetBackup licensing models and the nbdeployutil utility 49
Reviewing a capacity licensing report
Note: The following section is applicable for NetBackup master server 8.2 or later
and NetBackup client 8.2 or later.
The front-end data size that is reported for the Red Hat Virtualization (RHV) is same
as consumed storage size. But this data is based on supported file systems. The
value is accurate for NTFS, FAT, ext3,ext4 and inaccurate for ReFS, xfs file systems,
or encrypted file systems.
Accurate licensing for Red Hat Virtualization (RHV) virtual machine (VM) collects
the total number of Front-End Terabytes (FETBs) protected by NetBackup.
The nbdeployutil utility reports actual data usage by calculating the accurate data
size using the related backup VM size and policies. The following rules are applied
to guarantee data size accuracy:
■ If identical policies are taken, the policy with higher size is counted.
If different policies use the same virtual machine (VM) identifiers, they are
detected as identical policies.
RHV virtual machine (VM) is backed up by a Hypervisor policy (all drives). The
NetBackup client that is installed inside the guest is backed up with non-file system
workloads (policy types other than Standard/MS-Windows). You are only charged
for the virtual machine (VM) backup.
The nbdeployutil report does not display a row for agent backup. Only one row
is displayed corresponding to the RHV backup for the virtual machine (VM).
As RHV does not support single file restore, the file system backup with the agent
inside the guest is not charged separately. Corresponding rows are not displayed
in the nbdeployutil report. The nbdeployutil utility uses the virtual machine (VM)
DNS name to correlate backup entries corresponding to RHV and agent backup.
If the virtual machine (VM) DNS name is not recorded as part of the RHV backup,
this correlation does not work.
Note: The following section is applicable for NetBackup master server 8.3 or later
and NetBackup client 8.3 or later.
Note: File system backup using the agent inside the Nutanix-AHV VM is charged
separately and corresponding separate rows are displayed in the nbdeployutil
report.
NAS-Data-Protection policy
Capacity licensing for all supported CloudPoint plug-ins is specific to the
NAS-Data-Protection policy type.
The Client Name column in the itemization sheet of the licensing report displays
the backup host selected at the time of backup.
The Policy Name column in the itemization sheet of the licensing report displays
the policy name in the SLP_<Policy Name>_<NAS Volume Name format.
The entries in the report are based on per volume. See “Clients backed up with
multiple streams” on page 39.
Mount NFS share on the UNIX system and you can run the following commands
to verify the size reported by the accurate licensing method.
■ df -l
■ ls -lh
Cloud policy
Capacity licensing for all supported CloudPoint plug-ins is specific to the Cloud
policy type.
■ The Client Name column in the itemization sheet of the licensing report displays
the backup host selected at the time of backup. If you back up an application
or a volume then the Client Name column shows the host name on which the
application resides or the volume is mounted.
■ The Policy Name column in the itemization sheet of the licensing report displays
the policy name in the Policy Name+<id> format.
■ Usage is calculated based on disk size.
■ The entries in the report are based on each asset selected for backup.
the Windows clients or servers that are backed up using any virtualization policy,
such as VMware and HyperV.
Snapshot-based backups are supported on all the versions of Windows servers
and clients with various features of NetBackup such as multistreaming, Accelerator,
compression, and so on.
Administrators can use the following to verify the size that the accurate licensing
method reports.
■ Dir
Lists the files on the system folders and their sizes.
■ - Get-ChildItem C:\test1 | Measure-Object -property length -sum
PowerShell command to get folder size.
■ Size information from Windows Explorer.
To compare the data size that is reported in the capacity license report:
■ ALL_LOCAL_DRIVES
Use the file system commands to the calculate size of each drive. In the capacity
license report, the files that are mentioned in the exclude list are not used to
calculate protected data.
■ System State
NetBackup creates the xml files of backup data under logs\BEDS folder and
lists the files that are backed up and excluded from backup.
■ Shadow Copy Components
NetBackup creates the xml files of backup data under logs\BEDS folder and
lists the files that are backed up and excluded from backup.
■ Folders and files
Use the file system commands.
Backs up the files and folders that are specified in the backup selection. Run
the file system command and compare the size that is reported in the capacity
licensing report.
■ ALL_LOCAL_DRIVE
NetBackup posts all data under ALL_LOCAL_DRIVE backup directive. Run the
file system commands, calculate the size of each mount point\partition, and
compare the size that is reported by the capacity licensing report. The files that
are mentioned in the exclude list are not included in the calculation.
The snapshot based backups are supported on all the versions of UNIX server and
clients with various features of the NetBackup such as multistreaming, Accelerator,
compression, and so on.
Administrators can run UNIX commands to verify the size reported by the accurate
licensing method.
■ df -l
■ ls -lh
For more information on path names and directives and mount points and partitions,
see the NetBackup Administrator's Guide, Volume I.
For more information on supported Windows and UNIX file systems, see the
NetBackup Software Compatibility List:
http://www.netbackup.com/compatibility
Note: For the agents that support accurate licensing, multiple host name aliases
do not exist.
NetBackup licensing models and the nbdeployutil utility 55
Reconciling the capacity licensing report results
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.
Confirm that this information is correct for the policy. If the information is inaccurate,
update the Charged Size column, and add a note to the Enter a Reason here
when modifying the Charged Size column that explains the change.
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.
1 Examine the Summary tab and confirm that the See “Summary tab”
correct information is displayed. on page 56.
2 Review the Hosts tab and resolve any missing See “Complete the Hosts tab”
information. on page 57.
3 Review the NDMP tab and resolve any missing See “Resolve the NDMP tab”
information. on page 58.
4 Review the Virtual Servers tab and resolve any See “Update the Virtual Servers
missing information. tab” on page 58.
5 Review the Drives tab and resolve any missing See “Confirm the Drives tab”
information. on page 58.
Summary tab
The top of the report’s Summary tab details the basis for the report’s information.
Review the Period Analyzed for the source of the information for the report. The
Period Analyzed section includes:
■ Start date for the gather for each master server.
■ End date for the gather for each master server.
■ The total number of days gathered for each master server.
■ The input directory for each master server that is associated with the report.
The start and the end dates are not necessarily the dates that are specified for the
--gather option. These are the dates within the time period that you specified
NetBackup licensing models and the nbdeployutil utility 57
Reviewing a traditional licensing report
where images exist. If images do not exist for a specified start or end day, the day
is not listed. The nearest date with backup images is included and listed.
The Input Directory column displays the path to the gathered data. Within the
Input 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.
Under the Options section, confirm that the list of master servers is correct. If there
are missing or extra master servers, rerun the report.
When the review of the entire report is complete, all the values in the Unknown
row under Tiering should be zero. As you reconcile the other tabs in the report,
these values automatically update to zero.
When the command finishes, use the following command to recreate the report.
nbdeployutil --report all_previously_specified_options
all_previously_specified_gather_directories
2 Check the Tier column for any hosts that are listed as UNKNOWN. Replace
these with the appropriate tier number between one and four. Work with your
Veritas Sales Engineer to determine the correct tier information. The Platform
and Processors values help determine the host’s tier. These columns do not
calculate the tier, but by knowing this information you can determine the
appropriate value to enter in the Tier column.
3 Review the MSEO Key Server column and verify that all the listed information
is correct. Yes indicates that the host is an MSEO key server. No indicates that
the host is not an MSEO key server. The N/A value indicates that the host is
not a media server.
NetBackup licensing models and the nbdeployutil utility 58
Reviewing a traditional licensing report
4 Check the Enterprise Client column and verify that the information is correct.
Yes indicates that the host is an enterprise client and was backed up. No
indicates that the host is not an enterprise client. The N/A value indicates that
no backups were performed on the host during the report period.
5 Review the SAN Media Server column and correct any hosts where the value
is UNKNOWN. Confirm that all other values are correct. A value of N/A for a
host indicates that the host is either a client server or a master server.
Be aware that the only column which contributes to the final information on the
Summary tab is the Tier column. Values of UNKNOWN in other columns other
than Tier indicate unknown information. All data aside from the Tier column is for
informational purposes only
Final steps
Once you reconcile the report, correct the errors and enter the missing information.
Compare the results to the install base report. The install base report is provided
to you by Veritas or your reseller. Confirm that everything in the report matches
NetBackup licensing models and the nbdeployutil utility 59
Reviewing an NEVC licensing report
with the content in the install base report. If there are discrepancies, Consult with
your Veritas sales representative to correct any discrepancies.
1 Verify the information on which the report is based, See “Summary tab”
which includes the master server, hosts, and CPU on page 59.
count.
2 Review the Hosts tab and resolve any missing See “Hosts tab” on page 59.
information.
Summary tab
The top of the Summary tab shows the basis for the report information. Examine
the section marked Analyzed to verify the gathered data.
The Analyzed section displays the following information:
■ The master servers that are included in the report.
■ The total number of hosts.
■ The total number of CPU sockets for all hosts.
The analyzer gathers 90 days of CPU socket count for all hosts by default.
Hosts tab
The Hosts tab provides a list of all hypervisors and CPU count.
Option Description
Master Server Displays the master server from where nbdeployutil is run and
backups are generated.
Option Description
Host CPU Count Displays the number of CPU sockets on the host.
Table 1-16 Process to use the NetBackup Storage API to gather total backup
size information
1 Enable the total backup size information See the section called “Enabling the total
gather. backup size information gather”
on page 61.
2 Use the default values for backup size See the section called “Configuring the
information gather or configure custom parameter values for backup size
values. information gather” on page 61.
Table 1-16 Process to use the NetBackup Storage API to gather total backup
size information (continued)
3 Use the NetBackup Storage API to gather See the section called “About the
total backup size information NetBackup Storage API” on page 63.
[NBDEPLOYUTIL_BETB]
BETB_ENABLE=1
If the option is not enabled, the NetBackup Storage API displays the 404 Not Found
error and records the following response:
{
"errorCode": 227,
"errorMessage": "no entity was found",
"details": {}
}
■ UNIX:
/usr/openv/var/global/
Parameter Description
MASTER_SERVERS=<server Use this option to gather backup size information from other master servers.
names> You can add multiple master servers as comma-separated values.
The default value is 0. Set the value to 1 to enable the total backup size
information gather.
BETB_PARENTDIR Location where the backup size information is gathered and analyzed. A gather
directory is created for every master server.
BETB_FREQUENCY_IN_DAYS The frequency in days to gather the backup size information. The default value
is 1, which means that the gather runs daily.
The default value is 0, which means the files are deleted after nbdeployutil
runs.
BETB_LOG_KEEP Duration in days to keep the gather folder or folders. Logs are located in the
gather directory.
The default value is 7, which means that the gathered data from the last seven
runs is kept in the default folder or in the directory that you set in the
BETB_PARENTDIR parameter.
NetBackup licensing models and the nbdeployutil utility 63
Using the NetBackup Storage API to get the total backup size information
[NBDEPLOYUTIL_INCREMENTAL]
MASTER_SERVERS=nbu.masterserverone.com,nbu.masterservertwo.com
[NBDEPLOYUTIL_BETB]
BETB_ENABLE=1
BETB_PARENTDIR=install_path\netbackup\var\global\>
BETB_FREQUENCY_IN_DAYS=1
BETB_KEEP_CMD_OUT_FILE=0
BETB_LOG_KEEP=7
Workstations
Network A1
NetBackup Workstations
Mass master server A
storage
Network A2
Mass NetBackup
storage master server B
Network B1
Workstations
Router
Workstations
Network B2
■ Multiple protected NetBackup clients, which send their data to the media servers.
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 client’s 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.
The following are important factors to remember about master and media servers:
■ 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-2 shows where software is installed and where the NetBackup catalogs
are located (by default).
Additional configuration 67
About multiple media servers with one master server
Image database
Information in
NetBackup Storage relational databases Administration
Client Device (about devices, Interface*
volumes)
NetBackup
Storage NetBackup
Media Server Storage
Device Media Server Device
* You can also use the Backup, Archive, and Restore user
interface from a Windows client that has the Remote
Administration Console installed.
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
install_path\VERITAS\NetBackup\db\config\
SIZE_DATA_BUFFERS
For a data buffer of this size Enter this touch file value
(kilobytes)
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>."
Additional configuration 70
About dynamic host name and IP addressing
install_path\VERITAS\NetBackup\bin\DISABLE_DIRECT_IO
Configure the network to use a dynamic IP NetBackup requires that IP addresses of clients have a network
addressing protocol like DHCP. host name.
(On UNIX) Be sure to define network host names for the range
of dynamic IP addresses in the hosts file, NIS, and (or) DNS on
the network.
Determine the NetBackup client names for the These NetBackup client names are used in other steps. Each
computers that have dynamic IP addresses and NetBackup client must have a unique NetBackup client name.
network host names. The NetBackup client name that is assigned to a client is
permanent.
Additional configuration 71
About dynamic host name and IP addressing
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 In the NetBackup Administration Console, in the left pane,
Windows client, as described. 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 computer in the Client Name text box.
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 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 check box.
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 computer.
■ Configure the system to notify the master server of the
computer'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 computer's NetBackup client name and current network
host name.
For example, ten 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
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 computers share the IP addresses as previously defined.
To make these computers NetBackup clients, assign them the following NetBackup
client names:
nbclient01
nbclient02
nbclient03
nbclient04
.
.
.
nbclient20
install_path\NetBackup\db\client
On UNIX:
/usr/openv/netbackup/db/client
Additional configuration 74
About dynamic host name and IP addressing
3 Create, update, list, and delete client entries with the bpclient command.
The bpclient command is in the following directory:
On Windows:
install_path\NetBackup\bin\admincmd
On UNIX:
/usr/openv/netbackup/bin/admincmd
cd install_path\NetBackup\bin\admincmd
On UNIX:
cd /usr/openv/netbackup/bin/admincmd
bpclient -add -client nbclient01 -dynamic_address 1
bpclient -add -client nbclient02 -dynamic_address 1
bpclient -add -client nbclient03 -dynamic_address 1
bpclient -add -client nbclient04 -dynamic_address 1
.
.
.
bpclient -add -client nbclient20 -dynamic_address 1
Additional configuration 75
About dynamic host name and IP addressing
install_path\NetBackup\bin\admincmd\bpclient -L -All
On UNIX:
/usr/openv/netbackup/bin/admincmd/bpclient -L -All
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.
Action Command
On UNIX:
On UNIX:
On UNIX:
bpclient.exe -L -All
On UNIX:
bpclient -L -All
CLIENT_NAME = nbclient00
Additional configuration 78
About dynamic host name and IP addressing
3 Run the bpdynamicclient command once when the system first starts up.
bpdynamicclient notifies the NetBackup server of the computer's NetBackup
client name and current network host name. The bpdynamicclient command
is in the directory:
/usr/openv/netbackup/bin
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 computer obtains
its IP address.
Additional configuration 79
About busy file processing on UNIX clients
4 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
NetBackup creates several files and directories when it processes busy files. Initially,
a working directory named busy_files is created under /usr/openv/netbackup.
NetBackup then creates the /actions directory under busy_files and places
action files in that directory. An action file contains the information that NetBackup
uses to control the processing of busy files.
By default, the contents of the action file are derived from the BUSY_FILE_ACTION
options in bp.conf. A user can also create an action file to control a specific backup
policy and schedule. NetBackup creates a logs directory under busy_files for
storing busy file status and diagnostic information.
/usr/openv/netbackup/bin/goodies/bpend_notify_busy
/usr/openv/netbackup/bin/bpend_notify
Be sure to set the file access permissions to allow groups and others to run
bpend_notify.
(This step is also performed when configuring busy file processing in the Busy
File Settings host properties.)
3 Configure a policy with a user backup schedule for the busy file backups.
This policy services the backup requests that the repeat option in the actions
file generates. The policy name is significant. By default, NetBackup
alphabetically searches (upper-case characters first) for the first available policy
with a user backup schedule and an open backup window. For example, a
policy name of AAA_busy_files is selected ahead of B_policy.
(This step is also performed when configuring busy file processing in the Busy
File Settings host properties.)
Additional configuration 81
About busy file processing on UNIX clients
■ BUSY_FILE_DIRECTORY
■ BUSY_FILE_ACTION
Entry Description
BUSY_FILE_PROCESSING Enables the NetBackup busy file-processing feature. By default, this entry
is not present in the client’s /usr/openv/netbackup/bp.conf file.
BUSY_FILE_DIRECTORY Specifies an alternate path to the busy files working directory. This entry is
not required. By default, this entry is not present in the client’s
/usr/openv/netbackup/bp.conf or $HOME/bp.conf file. By default,
NetBackup creates the busy_files directory in /usr/openv/netbackup or
the user’s home directory.
Additional configuration 82
About busy file processing on UNIX clients
Entry Description
BUSY_FILE_ACTION Directs the action that NetBackup performs on busy files. By default, this
entry is not present in the client’s /usr/openv/netbackup/bp.conf or
$HOME/bp.conf file.
BUSY_FILE_ACTION =
filename_template action_template
Where
MAIL | mail
Directs NetBackup to retry the backup on the specified busy file. A repeat
count can be specified to control the number of backup attempts. The
default repeat count is 1.
IGNORE | ignore
Directs NetBackup to exclude the busy file from busy file processing. The
file is backed up and a log entry that indicates that the file was busy
appears in the All Log Entries report.
BUSY_FILE_NOTIFY_USER
Example Description
actions.policy_name.schedule_name
actions.policy_name
Step Example
/usr/openv mail
/usr/* repeat 2
/usr/local ignore
Example 2:
actions.production_servers.full
/bin/* repeat
If yes, NetBackup repeats the backup for busy files in the /bin
directory.
Additional configuration 85
About busy file processing on UNIX clients
policy_name.schedule_name.PID
log.policy_name.schedule_name.PID
policy_name.schedule_name.PID.retry.retry_count
Where retry_count starts at zero and increases by one every time a backup is
repeated. Processing stops when retry_count is one less than the number that
is specified by the repeat option.
Example:
To service busy file backup requests, the administrator defined a policy named
AAA_busy_files that has a user backup schedule named user. A scheduled backup
is initiated with the policy named production_servers, schedule named full, and PID
of 1442.
If busy files are detected, NetBackup generates the following files in the
/usr/openv/netbackup/busy_files/logs directory:
production_servers.full.1442
log.production_servers.full.1442
If the actions file has the repeat count set to 2, NetBackup generates the following
files:
Additional configuration 86
About specifying the locale of the NetBackup installation
production_servers.full.1442.retry.0
AAA_busy_files.user.10639
log.AAA_busy_files.user.10639
production_servers.full.1442.retry.1
AAA_busy_files.user.15639
log.AAA_busy_files.user.15639
/bin/rm -f $LOG_FILE
■ After the call to the busy_files() function in main, add the following
commands:
/bin/rm -f $BUSYFILELOG
/bin/rm -f $RETRY_FILE
.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
TL 1 C :hh:mn:ss -yyyy-mm-dd
Or:
TL 1 C :hh:mn:ss/dd/mm/yy
TL 1 C :hh:mn:ss /mm/dd/yyyy
TL 2 ov :hh:mn:ss/mm/dd/yyyy
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.
Additional configuration 88
About the Shared Storage Option
If the .conf file is not accessible, no default TM lines exist as the default locale
is C (ov).
Master Server
Host A Device allocation host Host B
Scan host Robot control host
(avrd) (avrd)
(nbemm / DA)
(ltid) (ltid)
(vmd) (vmd)
HBA HBA
SAN
Data path Data path
Robot control
Hardware control path
DRV1 DRV2
The following items describe the NetBackup components for the Shared Storage
Option example in Figure 2-3.
■ The master server hosts the Enterprise Media Manager (EMM) service. It's the
device allocation host.
See About the device allocation host.
■ Host A:
■ Is a NetBackup media server that runs the Automatic Volume Recognition
(avrd) process, the NetBackup Device Manager service (ltid), and the
NetBackup Volume Manager (vmd) service.
■ Is connected to drives DRV1 and DRV2 through SAN hardware.
■ Is the first host in the environment to come online with a non-zero scan ability
factor. Therefore, it's the initial scan host for its drives.
See About scan hosts.
■ Host B:
■ Is a NetBackup media server that runs the Automatic Volume Recognition
(avrd) process, the NetBackup Device Manager service (ltid), and the
NetBackup Volume Manager (vmd) service.
■ Is connected to drives DRV1 and DRV2 through SAN hardware.
Additional configuration 90
About the Shared Storage Option
■ Controls the robotics. Except for ACS robot types, only one robot control
host exists for each robot.
For a process flow diagram of Shared Storage Option components, see the
NetBackup Logging Reference Guide:
http://www.veritas.com/docs/DOC5332
How the scan host is EMM determines scan hosts; a scan host may be different
determined for each shared drive. The first host in the environment to
come online with a non-zero scan ability factor is the initial
scan host for its drives.
http://www.veritas.com/docs/DOC5332
Additional configuration 91
About the Shared Storage Option
The scan host can change A scan host is assigned for a shared drive until some
interruption occurs.
For example, if one of the following occurs, EMM chooses a
new scan host:
■ The socket connection, the host, the drive, the drive path,
or the network goes down.
■ The drive is logically placed in the Down mode.
Drive paths for the scan host If a drive has multiple paths that are configured on the
selected scan host, EMM selects a scan path as follows:
Shared tape drive polling For shared tape drives, only the scan host polls drives until
a mount request is received from NetBackup. During a mount
request, NetBackup uses the host that requests the mount
to poll the shared drive.
When you define a backup policy for a SAN media server, add only the SAN media
server as the client.
The NetBackup Shared Storage Option can use NetBackup SAN media servers.
RESERVED The host on which the script is executed needs SCSI access to the
drive until it's released.
ASSIGNED Informational only. It does not change the fact that the host that
reserved the drive needs SCSI access.
RELEASED Only the scan host needs SCSI access to the drive.
SCANHOST The host that executes the script has become the scan host. A host
should not become a scan host while the drive is RESERVED.
Term Definition
Backup Exec Shared The NetBackup Shared Storage Option is not the same as the
Storage Option Veritas Backup Exec Shared Storage Option. The Backup Exec
SSO does not include support for UNIX servers and uses a different
method for drive arbitration.
SAN media servers A NetBackup SAN media server backs up its own data to shared
drives. It cannot back up data on other NetBackup hosts or clients.
Veritas licenses NetBackup SAN media servers.
Shared drive When the Shared Storage Option is installed, a tape drive that is
shared among hosts is termed a shared drive. For the drives that
are attached to NDMP hosts, each NDMP attach host is considered
an additional host.
Additional configuration 94
About the Shared Storage Option
■ Install and configure the appropriate drivers. See your vendor documentation
for instructions.
■ On UNIX and Linux servers, create any device files that are needed. Depending
on the operating system, a reconfiguration system start (boot -r) may create
these files automatically.
Create the device files for each drive; use the Fibre Channel LUNs of the drives
and adapters in the device file names. Add the names of the device files to your
notes to complete the correlation between device files and physical drive location.
Use the NetBackup Device Configuration Guide and the man pages that are
available with the operating system.
http://www.veritas.com/docs/DOC5332
■ On UNIX and Linux servers, customize the operating system by modifying the
appropriate system configuration files. This task requires knowledge of the
system files that use the Shared Storage Option environment and their formats.
For example, on Sun Solaris systems you may need to modify the sg, st, and
HBA driver files.
Modify the HBA driver files to bind Fibre Channel devices (WWN) to a specific
target ID. For procedures, see the operating system documentation.
■ For instructions on how to configure the HBA on Windows servers, see the HBA
documentation from the vendor.
■ Use any available hardware configuration interface to configure and ensure that
the configuration is what you expect. For example, on Windows servers you
can use the Hyperterminal interface to configure SCSI-to-fibre bridges.
Use the following order when you configure and verify the hardware:
■ Robot and shared drives
■ Bridges
■ Hub or switches
■ Hosts
■ If errors occur and you suspect the operating system, refer to the operating
system logs as described in your operating system documentation.
■ The start sequence is longer for some devices than others. To verify that the
hardware starts completely, examine indicator lights. A green light often indicates
a completed start sequence.
Configuring Shared Storage Option devices See “Configuring Shared Storage Option
in NetBackup devices in NetBackup” on page 98.
Additional configuration 98
About the Shared Storage Option
About adding Shared Storage Option See “Configuring Shared Storage Option
configuration options devices in NetBackup” on page 98.
About configuring NetBackup storage units See “About configuring NetBackup storage
and backup policies units and backup policies” on page 99.
Note: You must restart the NetBackup Device Manager (ltid) on all the servers that
share tape drives whenever you perform the following actions:
- Configure the shared drives to a newly added media server.
- Add or remove the shared drives paths.
Configuring storage units for In each storage unit definition, logically define the robot and
each media server the shared drives for that media server. For the Maximum
concurrent drives used for backup, specify the total number
of all shared drives in the robot. When you configure storage
units, select a single media server. Alternatively, you can
allow NetBackup to select the media server to use at the time
of the backup. For example, you can configure a single
storage unit that any media server that shares the storage
unit can use.
Configuring a backup policy How you define a policy for a media server depends on your
for each media server media server license, as follows:
For a policy for the clients that you want to back up anywhere
in your configuration, you can choose any available storage
unit. Alternatively, you can use storage unit groups (prioritized
storage units).
How you verify that your configuration is set up correctly depends on your devices
and how you configured Shared Storage Option, as follows:
■ If you have serialized devices, Veritas recommends that you use the Device
Configuration Wizard. The wizard verifies your configuration.
■ If you have non-serialized devices, see the Veritas support site for tech note
TECH31764, "Verifying a Shared Storage Option (SSO) Configuration with
Non-Serialized Devices. It describes how to verify your configuration.
■ If you have serialized devices but you did not use the Device Configuration
Wizard, use the following procedure to verify your configuration.
The verification procedures use the following NetBackup commands:
■ On Windows:
install_path\VERITAS\Volmgr\bin\scan
install_path\VERITAS\Volmgr\bin\tpconfig
■ On UNIX/Linux:
usr/openv/volmgr/bin/scan
usr/openv/volmgr/bin/tpconfig
In the following example the ADIC robotic library has six drives, but only drives 5
and 6 are configured on this particular host.
Perform the verification on all of the NetBackup servers in your configuration. Ensure
that each shared drive has the same logical drive name and same drive number
ID on each media server that shares the drive.
Additional configuration 101
About the Shared Storage Option
The output from tpconfig shows the logical names NetBackup assigns to tape
drives. The following example shows drive number 5 is named
QUANTUM.DLT7000.000 and drive number 6 is named QUANTUM.DLT7000.001:
2 Execute the scan command. The scan output shows the robot and the drive
properties.
The following is example output:
*************************************************************
********************** SDT_TAPE **************************
********************** SDT_CHANGER **************************
*************************************************************
Device Name : "/dev/sg/h3c0t0l0"
Passthru Name: "/dev/sg/h3c0t0l0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : "ADIC Scalar 100 3.10"
Vendor ID : "ADIC "
Product ID : "Scalar 100 "
Product Rev: "3.10"
Serial Number: "ADIC009K0340314"
WWN : ""
WWN Id Type : 0
Device Identifier: ""
Device Type : SDT_CHANGER
NetBackup Robot Type: 6
Removable : Yes
Device Supports: SCSI-2
Number of Drives : 6
Number of Slots : 50
Number of Media Access Ports: 10
Drive 1 Serial Number : "PXB03S0979"
Drive 2 Serial Number : "PXB03S0913"
Drive 3 Serial Number : "CXA04S2051"
Drive 4 Serial Number : "PXA31S1787"
Drive 5 Serial Number : "PXA37S3261"
Drive 6 Serial Number : "PXA50S2276"
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name : "/dev/st/nh3c0t5l0"
Passthru Name: "/dev/sg/h3c0t5l0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : "QUANTUM DLT7000 2561"
Vendor ID : "QUANTUM "
Product ID : "DLT7000 "
Additional configuration 103
About the Shared Storage Option
■ Determine the serial number of the drive in the scan output. "Tape" in the
device type field identifies a tape drive.
Step 2 shows example scan output shows the following:
The drive /dev/st/nh3c0t5l0 serial number is PXA37S3261.
The drive /dev/st/nh3c0t1l0 serial number is PXA50S2276.
Additional configuration 104
About the Shared Storage Option
■ Verify that the serial number for the drive matches the serial number in the
output from the robot section of scan. "Changer" in the device type field
identifies a robot.
In the previous examples, the serial numbers match.
Action Information
Drive Status pane The Control and Device Host columns contain shared drive
information.
Changing the operating mode For a shared drive, the Change Mode dialog contains a list
for a shared drive of all paths to the selected drive. You can choose any number
of paths to which the mode change applies.
Adding or changing a For a shared drive, the Change Drive Comment dialog box
comment for a shared drive contains the following:
Performing drive cleaning The three available drive cleaning functions are used with
functions for a shared drive shared drives are as follows:
■ Clean Now
In the list of hosts that share the drive, you can choose
only one host on which the function applies.
■ Reset Mount Time
In the list of hosts that share the drive, you can choose
any number of hosts on which the function applies.
■ Set Cleaning Frequency
Supported for shared drives.
Additional configuration 105
About the Shared Storage Option
with all hosts that share the drives. The tpconfig utility may create inconsistent
configurations.
■ Verify that you selected the appropriate device hosts in the Device Configuration
Wizard , including the host with robotic control.
■ Fibre Channel connections to the drives and the robots cause increased
complexity in a NetBackup device configuration. On some operating systems,
SCSI-to-fibre bridges may result in inconsistencies in the device paths when
you restart a host. After a restart of the host, the device configuration should be
verified.
■ Verify that names across all systems that share the drives are consistent.
■ Test the drive paths on every media server.
■ Define NetBackup storage units for each media server. Do not select any
available media server in the storage units.
■ Verify that you did not interrupt a data path during a backup. If you do, the
NetBackup job fails. It can fail with media write errors or it may hang and have
to be terminated manually.
■ Verify that you do not use Berkeley-style close on the tape path (UNIX or Linux
servers only).
■ On Solaris systems, verify the following:
■ That you added tape configuration list entries in /kernel/drv/st.conf (if
needed).
■ That you defined configuration entries for expanded targets and LUNs in
sg.links and sg.conf files. If you see problems with the entries in the
/etc/devlink.tab file (created from sg.links), verify the following:
The first entry uses hexadecimal notation for the target and LUN. The second
entry uses decimal notation for the target and LUN.
Use a single tab character between the entries; do not use a space or a
space and a tab character.
■ That you configured the operating system to force load the sg/st/fcaw
drivers.
For more information, see the Solaris chapter of the NetBackup Device
Configuration Guide, available at the following URL:
http://www.veritas.com/docs/DOC5332
Additional configuration 108
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 Administrator's Guide, Volume I:
http://www.veritas.com/docs/DOC5332
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.
The 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.
The valid values for socket_name are 1024 - 65535 and 0. The value must match
the value on the ACSLS server for the port that the CSI uses for inbound packets.
If 0 (zero), NetBackup uses the previous behavior of CSI and acsssi (no specific
ports).
This entry specifies the port where the acsssi process sends its ACSLS requests
on the ACSLS server. The ACSLS CSI must use this port to accept inbound ACSLS
requests from acsssi processes.
Additional configuration 110
About the vm.conf configuration file
This entry, the ACS_SSI_INET_PORT entry, and the ACS_TCP_RPCSERVICE entry are
commonly used with firewall implementations. With these three entries in the
vm.conf file, TCP connections use the designated destination ports. Note that TCP
source ports are not restricted.
See “ACS_SSI_INET_PORT entry in vm.conf (on UNIX)” on page 110.
See “ACS_TCP_RPCSERVICE / ACS_UDP_RPCSERVICE entry in vm.conf (on
UNIX)” on page 112.
For example, a NetBackup media server has two ACSLS servers (ACSLS_1 and
ACSLS_2) behind firewalls. Both servers listen for queries on port 30031 and the
firewall allows traffic through this port.
The vm.conf entries are as follows:
ACS_TCP_RPCSERVICE
ACS_CSI_HOSTPORT = ACSLS_1 30031
ACS_CSI_HOSTPORT = ACSLS_2 30031
ACS_SSI_INET_PORT = ACSLS_1 30032
ACS_SSI_INET_PORT = ACSLS_2 30033
Each acsssi process sends queries to the respective ACSLS server’s port 30031,
and the ACSLS server is configured to listen for queries on this port.
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.
The 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.
Additional configuration 111
About the vm.conf configuration file
The socket_name entry specifies the port that acsssi uses for incoming ACSLS
responses. Valid values are 1024 - 65535 and 0. This value must be unique for
each acsssi process.
A value between 1024 - 65535 indicates the number to be used as the TCP port
on which acsssi accepts ACSLS responses.
0 (zero) indicates that the previous behavior (allow the port to be dynamically
allocated) should remain in effect.
This entry, the ACS_CSI_HOSTPORT entry, and the ACS_TCP_RPCSERVICE entry are
commonly used with firewall implementations. With these three entries in the
vm.conf file, TCP connections use the designated destination ports. Note that TCP
source ports are not restricted.
See “ACS_CSI_HOSTPORT entry in vm.conf (on UNIX)” on page 109.
See “ACS_TCP_RPCSERVICE / ACS_UDP_RPCSERVICE entry in vm.conf (on
UNIX)” on page 112.
For example, a NetBackup media server has two ACSLS servers (ACSLS_1 and
ACSLS_2) behind firewalls. Ports 30032 and 300033 have been opened in the
firewall for acsssi to ACSLS server communication.
The entries would be as follows:
ACS_TCP_RPCSERVICE
ACS_SSI_INET_PORT = ACSLS_1 30032
ACS_SSI_INET_PORT = ACSLS_2 30033
ACS_CSI_HOSTPORT = ACSLS_1 30031
ACS_CSI_HOSTPORT = ACSLS_2 30031
The NetBackup media server starts two acsssi processes. One listens for ACSLS_1
responses on port 30032, and the other listens on port 30033 for responses from
ACSLS_2.
The 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
Additional configuration 112
About the vm.conf configuration file
library software host basis. This entry is read and interpreted on the host where
acsd and acsssi are running.
ACS_TCP_RPCSERVICE
ACS_UDP_RPCSERVICE
These entries specify the method over which acsssi communicates with ACSLS
servers: TCP or UDP.
Only one entry should be entered into vm.conf. NetBackup uses UDP if both entries
are found or neither entry is found.
For acsssi firewall support, ACS_TCP_RPCSERVICE must be entered in vm.conf.
See “ACS_CSI_HOSTPORT entry in vm.conf (on UNIX)” on page 109.
See “ACS_SSI_INET_PORT entry in vm.conf (on UNIX)” on page 110.
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-4 is a diagram of LSM interconnections that are described by the following
entries:
0 2
5 3
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.
Note: This entry is not applicable for NetBackup 8.1 or later versions.
Starting with NetBackup 8.1, the Volume Manager service (vmd) validates all requests
from remote hosts against the master servers and the media servers for the domain,
as known to nbemm. The vm.conf entries are no longer used for this determination,
and requests from hosts in other NetBackup domains are no longer allowed.
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
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, Veritas 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.
Additional configuration 115
About the vm.conf configuration file
AUTO_PATH_CORRECTION = YES|NO
If the value is NO, the device configuration remains unchanged when the NetBackup
Device Manager (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.
This entry is read and interpreted on the host on which the NetBackup Device
Manager (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
This entry only operates with the TLD robots that post a unit attention when their
MAP is opened.
Veritas 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.
AVRD_PEND_DELAY = number_of_seconds
On Windows, NetBackup reports PEND if the drive reports Busy when a volume is
unmounted. Use this entry to minimize the display of this misleading status.
Additional configuration 116
About the vm.conf configuration file
The minimum for number_of_seconds is zero. The maximum is 255. The default
value is 180 seconds.
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: This entry affects tape drive cleaning requests as well as tape mount and
tape dismount requests.
CLEAN_REQUEST_TIMEOUT = minutes
The 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 117
About the vm.conf configuration file
For example, the following entry permits ports from 4800 through 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 = cluster_alias
DAYS_TO_KEEP_LOGS = days
The default is 30 days. A value of zero means that the logs are not deleted. This
entry does not affect the debug logs that Unified Logging creates.
Information about Unified Logging is available in the NetBackup Logging Reference
Guide.
EMM_RETRY_COUNT = number_of_retries
Additional configuration 118
About the vm.conf configuration file
EMM_CONNECT_TIMOUT = number_of_seconds
EMM_REQUEST_TIMOUT = number_of_seconds
Used to filter the robot inventory results in ACS 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.
Use this entry to configure the default media access port (MAP) to use to eject
media from the Automated Cartridge System (ACS) robots. This default is selected
in 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 112.
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.
Additional configuration 120
About the vm.conf configuration file
The following example specifies the MAP ID for ACS robot number 700. The ACS
CAP ID of 0,1,0 is used.
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.
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.
Additional configuration 121
About the vm.conf configuration file
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:
MEDIA_ID_PREFIX = media_id_prefix
The best way to add media to a robot is to use the Robot Inventory Update Volume
Configuration operation.
MM_SERVER_NAME = host_name
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.
On UNIX, if random ports are not specified in the NetBackup configuration, specify
RANDOM_PORTS = NO in the vm.conf file.
REQUIRED_INTERFACE = host_name
Additional configuration 123
About the vm.conf configuration file
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 126.
Note: This entry is not applicable for NetBackup 8.1 or later versions.
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.
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 = 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.
Additional configuration 124
About the vm.conf configuration file
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 = 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.
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 = 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.
SERVER = server1
SERVER = server2
MEDIA_ID_PREFIX = NV
MEDIA_ID_PREFIX = NETB
ACS_3490E = HCART2
Note: This topic is not applicable for NetBackup 8.1 or later versions.
Starting with NetBackup 8.1, the Volume Manager service (vmd) validates all requests
from remote hosts against the master servers and the media servers for the domain,
as known to nbemm. The vm.conf entries are no longer used for this determination,
and requests from hosts in other NetBackup domains are no longer allowed.
SERVER = shark
The vm.conf file on shark does not require any additional SERVER entries,
because all device management for shark is performed from shark.
Additional configuration 126
About the vm.conf configuration file
■ The vm.conf file on eel contains the following, which lets eel manage its own
devices and permits shark to access them:
SERVER = eel
SERVER = shark
■ The vm.conf file on yak contains the following, which lets yak manage its own
devices and permits shark to access them:
SERVER = yak
SERVER = shark
■ The name of the host in the Server host properties of the master server.
■ gethostname() name.
Chapter 3
Holds Management
This chapter includes the following topics:
■ Creating a hold
■ Releasing a hold
Creating a hold
You can create a hold on one or more backup images by using the nbholdutil
-create command.
Caution: Creating a hold on backup images may disrupt new backups from
completing. Storage may fill up if previous backups are not automatically expired.
Note: When you retry a failed Hold creation, an empty hold is created if the backup
images have expired between the initial hold and the retry.
To create a hold
The nbholdutil -create command lets you create a hold for a backup image.
On a command prompt on the NetBackup master server, enter nbholdutil -create
with appropriate options and elements. For example:
nbholdutil.exe -create -holdname legal_case1 -backupid
win81.sky.com_1307425938 -allcopy
nbholdutil.exe -list
When you upgrade NetBackup to version 7.7, the legal holds are converted to user
holds, which can be managed by using the nbholdutil command.
Holds Management 129
Adding a backup image to an existing hold
If the hold name of a legal hold is same as a user hold, all the hold names are
renamed as follows:
■ The legal hold names are suffixed with _1. For example, hold_1. The number
1 in the hold name denotes that it was a legal hold before conversion.
■ The user hold names are suffixed with _3. For example, hold_3. The number 3
in the hold name denotes that it is a user hold.
For more information about related command options, see the Veritas NetBackup
Commands Reference Guide.
To display help information about the command and its options, enter nbholdutil
-help [-option]
Releasing a hold
You can release holds by using the nbholdutil -delete command.
Note: A backup image expires as per the expiry date when all the holds that include
that backup image are released.
Holds Management 130
Releasing a hold
To release a hold
On a command prompt on the NetBackup master server, enter the nbholdutil
-delete command with appropriate options and elements. For example:
This command releases a hold that is called legal_case1. For more information
about related command options, see the Veritas NetBackup Commands Reference
Guide
The command nbholdutil -delete lets you release a hold.
Chapter 4
Menu user interfaces on
UNIX
This chapter includes the following topics:
Note: Many NetBackup processes set an upper limit on the number of concurrently
open file descriptors allowed by the process. That limit is inherited by the notify
scripts run by the process. In the rare event that a command invoked by a notify
script requires many additional file descriptors, the script must increase the limit
appropriately before invoking the command.
Menu user interfaces on UNIX 132
About the tpconfig device configuration utility
■ When you add an ACS robot, enter the name of the host on which the ACS
Library Software resides instead of a robotic control path.
■ When you add TLD robots that have robotic control on another host, you are
prompted for the name of that host.
1) Drive Configuration
2) Robot Configuration
3) Credentials Configuration
4) Print Configuration
5) Help
6) Quit
Enter option:
Drive Configuration Opens a menu to add, delete, or update drive definitions; list
definitions of drives and robots; or configure drive paths.
Robot Configuration Opens a menu to add, delete, or update robot definitions or list
definitions of drives and robots
Credentials Opens a menu to add, delete, update, or list credentials for the
Configuration following:
■ NDMP filer
■ Disk array
■ OpenStorage server
■ Virtual machine
Print Configuration The List Configuration commands on subsequent menus let you
display the current configuration on the screen or write it to a file.
http://www.veritas.com/docs/DOC5332
Help Online Help is available on the main menu and most submenus.
Quit Terminates the utility and returns you to the UNIX prompt.
You can return to the main menu from anywhere in the utility by entering Ctrl C or
by using the Escape key.
Note: If the Media Manager device daemon is running, stop it by using the stopltid
command.
Menu user interfaces on UNIX 135
About the tpconfig device configuration utility
Adding robots
When you configure robots and drives, first add the robots by using the Robot
Configuration menu. Then add the drives by using the Drive Configuration menu.
To change standalone drives to robotic, use the Update option of the Drive
Configuration menu.
See “Updating a drive configuration” on page 137.
To add a robot
1 Select the Robot Configuration menu.
2 Select the Add option.
3 From the list of possible robot types, select the one you want to add.
4 Enter a robot number that you know is unused or accept the default robot
number.
5 Indicate where the robotic control for the library is by entering the device file
path or library name. The Help option on the Robot Configuration menu has
examples of typical path names.
6 ■ If robotic control is on another host, enter that host name.
For an ACS robot, enter the name of the ACS library software host.
■ If robotic control is on this host, enter the device file path or library name.
The Help option on the Robot Configuration menu has examples of typical
path names.
For an ACS robot, enter the name of the ACS library software host.
Adding drives
Use the following procedure to add a drive.
To add a drive
1 Select the Drive Configuration menu.
2 Select the Add option.
Menu user interfaces on UNIX 136
About the tpconfig device configuration utility
3 From the list of possible drive types, select the one you want to add.
4 Enter the no rewind on close device path as shown in the /dev directory.
The Help option on the Drive Configuration menu has examples of typical
path names.
5 Enter the drive status (Up or Down).
6 If a robot exists to which you can add the drive, specify whether to add the
drive to the robot. Alternatively, you can configure the drives as a standalone
drive.
If there are no robots to which you can add the drive, tpconfig automatically
adds the drive as a standalone drive.
If you add a drive to a robot and more than one possible robot exists, enter the
number of the robot that controls the drive.
Depending on the type of robot, you may also be prompted to add the robot
drive number.
7 For a drive in an ACS robot, you are prompted for four drive identifiers.
More information on ACS robots is available.
See the NetBackup Device Configuration Guide, available at the following URL:
http://www.veritas.com/docs/DOC5332
More information is available.
See the NetBackup Device Configuration Guide, available at the following URL:
http://www.veritas.com/docs/DOC5332
8 Type a drive name or press the Enter key to use the default drive name.
If you use the shared drives option, all hosts that share the same physical drive
must use the same name for the drive. Descriptive drive names are
recommended.
Are you sure you want to UPDATE drive name xxxxx? (y/n) n:
Deleting a robot
Use the following procedure to delete a robot.
To delete a robot
1 On the main menu, select Robot Configuration.
If only one robot is configured, you do not have to select Update or enter the
robot number. If only one robot is configured, skip to step 4.
2 On the Robot Configuration menu, choose Delete.
Menu user interfaces on UNIX 138
About the tpconfig device configuration utility
3 If more than one robot is configured, enter the number of the robot to delete.
4 Enter y to delete the robot.
If you respond with n, press any key to return to the Drive Configuration
menu.
Deleting a drive
Use the following procedure to delete a drive.
To delete a drive
1 On the main menu, select Drive Configuration.
2 In the Drive Configuration menu, select Delete.
3 Enter the name of the drive you want to delete:
4 Enter y to delete the drive.
If you respond with n, press any key to return to the Drive Configuration
menu.
3 Specify a new drive path or press Enter to update the status of the drive path.
4 A prompt similar to the following is displayed:
5 Enter the path status.
1) (N)dmp Filer
2) (O)penStorage Server
3) (V)irtual Machine
3 Select an option at the specific credentials menu and follow the prompts.
h) Help
q) Quit Menu
ENTER CHOICE:
2 Select a menu option and follow the prompts to configure and manage
OpenStorage.
h) Help
q) Quit Menu
ENTER CHOICE:
2 Select a menu option and follow the prompts to configure and manage
attributes.
Chapter 5
Reference topics
This chapter includes the following topics:
■ About TapeAlert
■ Media formats
Note: (On Windows) Veritas recommends that you do not change the host name
of a NetBackup server. 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 the topics that address how NetBackup stores and
uses host names.
Reference topics 145
Host name rules
Topic Description
Server and client names on On both UNIX servers and clients, the SERVER entries in the bp.conf file define the
UNIX servers and clients NetBackup servers that are allowed access. The first SERVER entry identifies the
master server. The first SERVER entry indicates the server to which client requests are
made. For this reason, the SERVER name must be one by which all clients can connect
to the server.
If more than one SERVER entry exists, the additional entries identify other NetBackup
servers that can initiate scheduled backups on the client. The bp.conf file must have
multiple SERVER entries if you configure remote media servers. The NetBackup Request
daemon (bprd) and NetBackup Database Manager daemon (bpdbm) do not run on
any server other than a master.
When a client makes a list or restore request to the server, the NetBackup client name
is used to determine whether to allow the operation. (The client name as specified on
the client.) The client name that is used is usually the CLIENT_NAME from the bp.conf
file of the client. Or, the client name can be the actual host name of the client if not in
the bp.conf file. Alternate client restores can use the name that is specified through
the user interface or with a parameter on the bprestore command.
For a successful request, the client name must match the name that is specified for
the client in the NetBackup configuration on the server. The only exception to this rule
is if the server is configured to allow alternate client restores.
Host names on Windows Windows NetBackup servers and clients also have SERVER and CLIENT_NAME settings.
servers and PC clients On these systems, specify server and client settings in the NetBackup Administration
Console.
Policy configuration (On Windows) The configured name for a client is the host name as it's added to a
policy. This name is how the client is identified in the NetBackup configuration.
(On UNIX) The configured name for a client is the host name as it's added to a policy.
This name is how the client is identified in the NetBackup configuration. NetBackup
also adds a CLIENT_NAME entry to a UNIX client’s bp.conf file when software is first
installed on the client.
The server uses the client’s 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 client’s 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.
Reference topics 146
Host name rules
Table 5-1 How NetBackup stores and uses host names (continued)
Topic Description
Image catalog A subdirectory in the image catalog is created for a client when a backup is first created
for that client. The subdirectory’s name is the client’s 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 the entries in the error catalog for generating reports. These entries
contain the host name of the server that generates the entry and the client’s configured
name, if applicable. The server host name is normally the server’s short host name.
(For example, servername instead of servername.null.com.)
Catalog backup information If you include a media server’s 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.
Many NetBackup user-defined strings must not contain non-US ASCII characters,
including the following:
■ Host name (master server, media server, Enterprise Media Manager (EMM)
server, volume database host, media host, client)
■ Policy name
■ Policy keyword (Windows only)
■ Backup, Archive, and Restore keyword (Windows only)
■ Storage unit name
■ Storage unit disk pathname (Windows only)
■ Robot name
■ Device name
■ Schedule name
■ Media ID
■ Volume group name
■ Volume pool name
■ Media description
■ Vault policy names
■ Vault report names
■ BMR Shared Resource Tree (SRT) name
Reference topics 147
Host name rules
■ nbcertcmd command
To update NetBackup after a master See “To update NetBackup after a master server
server name change name change” on page 147.
To update NetBackup after a client name See “To update NetBackup after a client name
change change” on page 148.
cd /usr/openv/netbackup/db/images ln -s
old_client_name new_client_name
3 (On Windows) 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
4 (On Windows) Create a directory for the new client2 in the \images directory:
Install_path\VERITAS\NetBackup\db\images\client2
5 (On Windows) 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
Reference topics 148
Host name rules
install_path\NetBackup\db\altnames\host.xlate
On UNIX:
/usr/openv/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:
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.
Reference topics 149
About reading backup images with nbtar or tar32.exe
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 (on Windows) or gethostname(2)(on UNIX) is run on the
client, it returns xxxx.
■ The master server’s network services gethostbyname library function (on
Windows) or gethostbyname(2) library function (on UNIX) 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.
Where the e at the beginning of line one indicates that the backup is encrypted.
(Additional messages appear during recovery.)
■ The file restoration procedure with non-NetBackup utilities does not work on the
Solaris platform. You cannot use /usr/sbin/tar on Solaris to read NetBackup
backups. The Solaris tar command uses the ctime and the atime fields
differently than other tar commands.
When /usr/sbin/tar is used to restore backups, directories with large numbers
are created at the top level. These directories are from the ctime and the atime
fields being read as pathnames.
You can use /usr/openv/netbackup/bin/nbtar to read the backups on Solaris
platforms.
■ Steps 1 and 6 from the file restoration procedure with non-NetBackup utilities
are optional in a standalone environment. If step 1 is skipped, DOWN the drive
and then substitute the /dev path of the drive in place of /tmp/tape in the other
steps. Remember to UP the drive when you are done.
See “To restore files with a non-NetBackup utility” on page 151.
File Description
@@MaNgLeD.nnnn_Symlink For long names of symbolic links, nbtar 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 VxFS extent attribute restores, The files can either be deleted or read and the extent attributes
nbtar creates and stores extent attributes in regenerated by hand to the corresponding files.
.ExTeNt.nnnn files in the root directory
Reference topics 153
Factors that affect backup time
Transfer rate
The transfer rate depends on the following factors.
Reference topics 154
Methods for determining the NetBackup transfer rate
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.
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 computers run full-duplex and some run
half-duplex in an Ethernet environment, the throughput is
significantly reduced.
Compression (on UNIX) Software compression often multiplies the backup time by a factor
of two or three for a given set of data.
These delays can vary widely and depend on the devices and the
computing environments.
Network transfer rate The network transfer rate is the rate provided in the All Log
Entries report.
Network transfer plus This rate ignores the time it takes to load and to 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:
To calculate the transfer rate, divide this time (in seconds) into
the total bytes that are transferred. (The total bytes that are
transferred are 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).
On Windows, the Microsoft Windows System Monitor also displays the NetBackup
transfer rate.
Client: giskard
Backup ID: giskard_0767592458
Policy: production_servers
Client Type: Standard
Sched Label: testing_add_files
Schedule Type: Full
Backup Retention Level: one week (0)
Backup Time: 04/28/09 23:07:38
Elapsed Time: 001:27:32
Expiration Time: 05/05/09 23:07:38
Compressed: no
Kilobytes: 1161824
Number of Files: 78210
The following three rates were compiled with the backup data from the sample
reports:
Network transfer rate:
1161824 KB at 230.325 KB per second
Network transfer plus end-of-backup processing rate:
23:10:30 - 00:35:07 = 01:24:30 = 5070 seconds
1161824 KB/5070 = 229.157 KB per second
Total transfer rate:
Elapsed time = 01:27:32 = 5252 seconds
1161824 Kbytes/5252 = 221.216 KB per second
the volmgr goodies directory. The scripts in the goodies directories are not
supported but are intended as examples to customize.
The goodies directories are found in the following locations:
On Windows: Install_path\NetBackup\bin\goodies\
Install_path\volmgr\bin\goodies
On UNIX: /usr/openv/netbackup/bin/goodies
/usr/openv/volmgr/bin/goodies
■ Many NetBackup processes set a limit on the number of concurrently open file
descriptors that are allowed. That limit is inherited by the notify scripts run by
the process. In the rare event that a command invoked by a notify script requires
many additional file descriptors, the script must increase the limit appropriately
before invoking the command.
The following topics describe the scripts that are active on the master server and
those that are active on the client.
To use the client scripts, first create the script on the client.
Additional comments appear in the scripts.
backup_notify script
The backup_notify.cmd script (on Windows) and the backup_notify script (on
UNIX) runs on the NetBackup server where the storage unit is located. It's called
each time a backup is successfully written to media.
To use this script, copy the script to the bin directory:
■ UNIX:
Reference topics 158
NetBackup notify scripts
/usr/openv/netbackup/bin/goodies/backup_notify to
/usr/openv/netbackup/bin
■ Windows:
install_path\netbackup\bin\goodies\backup_notify.cmd to
install_path\netbackup\bin
Modify the script and confirm that you have permission to run the script.
NetBackup passes the following parameters to this script:
■ The name of the program performing the backup
■ The backup-image name or path
See the following Windows example:
backup_exit_notify script
The backup_exit_notify.cmd script (on Windows) and the backup_exit_notify
script (on UNIX) run on the master server. It's called to perform site-specific
processing when an individual backup completes.
To use this script, copy the script to the bin directory:
■ UNIX:
/usr/openv/netbackup/bin/goodies/backup_exit_notify to
/usr/openv/netbackup/bin
■ Windows:
install_path\netbackup\bin\goodies\backup_exit_notify.cmd to
install_path\netbackup\bin
Modify the script and confirm that you have permission to run the script.
NetBackup passes the following parameters to the script:
clientname Specifies the name of the client from the NetBackup catalog.
exitstatus Specifies the exit code for the entire backup job.
Reference topics 159
NetBackup notify scripts
Note: Ensure that others can run this script on the client before it's used. To do so,
run chmod ugo+rx script_name, where script_name is the name of the script.
To use this script, copy the following file from the server:
/usr/openv/netbackup/bin/goodies/bpstart_notify
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. The bpbkar process on the client waits for the script to complete before
Reference topics 160
NetBackup notify scripts
it continues. 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 seconds. If the script needs more time than 300 seconds,
increase the value to allow more time. (The BPSTART_TIMEOUT option corresponds
to the Backup start notify timeout on the Timeouts host properties.)
clientname Specifies the name of the client from the NetBackup catalog.
Note: The bpstart_notify script also runs for NetBackup catalog backups if a
.policyname[.schedule] is not specified.
For example:
/usr/openv/netbackup/bin/bpstart_notify.production
/usr/openv/netbackup/bin/bpstart_notify.production.fulls
Reference topics 161
NetBackup notify scripts
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.
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 2016
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.
RESTARTED Specifies the 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.
To use this script, copy the following file from the server:
On Windows:
Install_path\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\
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 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
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.
%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 BPSTART_TIMEOUT option specifies on the server. The default for
BPSTART_TIMEOUT is 300 seconds. If the script needs more time than 300 seconds,
increase the value to allow more time. (The BPSTART_TIMEOUT option corresponds
to the Backup start notify timeout on the Timeouts host properties.)
Reference topics 164
NetBackup notify scripts
/usr/openv/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 other administrators can run the notify scripts after they are
modified. To do so, run chmod ugo+rx 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.
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.
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:
/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.
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:
Reference topics 166
NetBackup notify scripts
BACKUPID=client1_0857340526
UNIXBACKUPTIME=0857340526
BACKUPTIME=Sun Mar 2 16:08:46 2011
The following environment variables can be used for the support of multiple data
streams.
Table 5-6 Environment variables used for support of multiple data streams
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.
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 of the data.
Install_path\NetBackup\bin\bpend_notify.bat
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:
Reference topics 167
NetBackup notify scripts
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
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:
%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.
Reference topics 168
NetBackup notify scripts
%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.
child_end_deployment_notify
The child_end_deployment_notify script (on UNIX) and the
child_end_deployment_notify.cmd script (on Windows) runs on the NetBackup
master server. NetBackup calls the script each time a deployment child job
completes. The script runs after all other deployment steps have completed.
To use this script, copy the following file from the master server:
On UNIX: /usr/openv/netbackup/bin/goodies/child_end_deployment_notify
Reference topics 169
NetBackup notify scripts
On Windows:
install_path\NetBackup\bin\goodies\child_end_deployment_notify.cmd
Then place the script in the following location on the master server:
On UNIX: /usr/openv/netbackup/bin/
On Windows: install_path\NetBackup\bin\
To run properly, the script must be executable. To make the script executable on
a UNIX master server, run chmod ugo+rx child_end_deployment_notify
NetBackup passes the following parameters to the script based on the platform:
Parameter Details
ClientName Specifies the host name of the client as it is found in the deployment
policy.
StageStatus Specifies the status of the stage step child job step, if performed.
InstallStatus Specifies the status of the install child job step, if performed.
JobStatus Specifies the exit status code for the child job.
Parameter Details
Parameter Details
%8 Specifies the status of the stage step child job step, if performed.
%10 Specifies the exit status code for the child job.
child_start_deployment_notify
The child_start_deployment_notify script (on UNIX) and the
child_start_deployment_notify.cmd script (on Windows) runs on the NetBackup
master server. NetBackup calls the script each time a new deployment child job
starts and initialization is completed. The script runs before all deployment steps
are initiated.
To use this script, copy the following file from the master server:
On UNIX: /usr/openv/netbackup/bin/goodies/child_start_deployment_notify
On Windows:
install_path\NetBackup\bin\goodies\child_start_deployment_notify.cmd
Then place the script in the following location on the master server:
On UNIX: /usr/openv/netbackup/bin/
On Windows: install_path\NetBackup\bin\
To run properly, the script must be executable. To make the script executable on
a UNIX master server, run chmod ugo+rx child_start_deployment_notify
NetBackup passes the following parameters to the script based on the platform:
Parameter Details
Parameter Details
ClientName Specifies the host name of the client as it is found in the deployment
policy.
Parameter Details
diskfull_notify script
The diskfull_notify.cmd script (on Windows) and the diskfull_notify script
(on UNIX) run 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).
To use this script, copy the script to the bin directory:
■ UNIX:
/usr/openv/netbackup/bin/goodies/diskfull_notify to
/usr/openv/netbackup/bin
■ Windows:
install_path\netbackup\bin\goodies\diskfull_notify.cmd to
install_path\netbackup\bin
Reference topics 172
NetBackup notify scripts
For example:
/disk1/images/host_08193531_c1_F1
diskfull_notify.cmd bpdm
To use this script, activate it and place it into the /usr/openv/volmgr/bin directory.
See the script for instructions about how to activate it and how to modify it.
Reference topics 173
NetBackup notify scripts
To use this script, activate it and place it into the /usr/openv/volmgr/bin directory.
See the script for instructions about how to activate it and how to modify it.
mail_dr_info script
Use the mail_dr_info.cmd script (on Windows) and the mail_dr_info.sh script
(on UNIX) to send NetBackup disaster recovery information to specified recipients
after running an online, hot catalog backup.
By default, this script does not exist. You must create it. How you do so depends
on the operating system type of your master server.
On Windows: To create the script, copy the following script from the master server:
Install_path\NetBackup\bin\goodies\nbmail.cmd
Install_path\NetBackup\bin\mail_dr_info.cmd.
/usr/openv/netbackup/bin/mail_dr_info.sh
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 script
The NetBackup 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.)
On Windows: Copy
Install_path\NetBackup\bin\goodies\media_deassign_notify.cmd into
Install_path\NetBackup\bin\ on the master server.
%1 Specifies the address of the recipient. For multiple addresses, enter email1,email2
%3 Specifies the file that is sent in the body of the email. This is generated by another
script.
parent_end_deployment_notify
The parent_end_deployment_notify script (on UNIX) and the
parent_end_deployment_notify.cmd script (on Windows) runs on the NetBackup
master server. NetBackup calls the script each time a deployment parent job
completes. The script runs after all other deployment steps have completed.
To use this script, copy the following file from the master server:
On UNIX: /usr/openv/netbackup/bin/goodies/parent_end_deployment_notify
On Windows:
install_path\NetBackup\bin\goodies\parent_end_deployment_notify.cmd
Then place the script in the following location on the master server:
On UNIX: /usr/openv/netbackup/bin/
On Windows: install_path\NetBackup\bin\
To run properly, the script must be executable. To make the script executable on
a UNIX master server, run chmod ugo+rx parent_end_deployment_notify
NetBackup passes the following parameters to the script based on the platform:
Parameter Details
Parameter Details
ClientCount Specifies the number of child jobs that the parent job initiated.
Parameter Details
%6 Specifies the number of child jobs that the parent job initiated.
parent_end_notify script
NetBackup calls the parent_end_notify.cmd script (on Windows) and the
parent_end_notify script (on UNIX) each time a parent job ends.
■ Windows:
install_path\netbackup\bin\goodies\parent_end_notify.cmd to
install_path\netbackup\bin
Modify the script and confirm that you have permission to run the script.
NetBackup passes the following parameters to the script:
clientname Specifies the name of the client from the NetBackup catalog.
Reference topics 177
NetBackup notify scripts
status Specifies the exit code for the entire backup job.
stream_count Specifies that if the job starts normally, the stream count indicates
how may streams were started.
parent_start_deployment_notify
The parent_start_deployment_notify script (on UNIX) and the
parent_start_deployment_notify.cmd script (on Windows) runs on the NetBackup
master server. The script runs each time a new deployment parent job starts and
initialization is completed. The script runs before all deployment steps are initiated.
To use this script, copy the following file from the master server:
On UNIX:
/usr/openv/netbackup/bin/goodies/parent_start_deployment_notify
On Windows:
install_path\NetBackup\bin\goodies\parent_start_deployment_notify.cmd
Then place the script in the following location on the master server:
On UNIX: /usr/openv/netbackup/bin/
On Windows: install_path\NetBackup\bin\
To run properly, the script must be executable. To make the script executable on
a UNIX master server, run chmod ugo+rx parent_start_deployment_notify
NetBackup passes the following parameters to the script based on the platform:
Parameter Details
Parameter Details
Parameter Details
parent_start_notify script
NetBackup calls the parent_start_notify.cmd script (on Windows) or the
parent_start_notify script (on UNIX) each time a parent job starts.
■ Windows:
install_path\netbackup\bin\goodies\parent_start_notify.cmd to
install_path\netbackup\bin
Modify the script and confirm that you have permission to run the script.
NetBackup passes the following parameters to the script:
clientname Specifies the name of the client from the NetBackup catalog.
status Specifies the exit code for the entire backup job.
Reference topics 179
NetBackup notify scripts
streamnumber Specifies the stream number; for a parent job it's always -1.
pending_request_notify script
The NetBackup Media Manager 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. (A root user must run the script.)
On Windows: Copy
Install_path\NetBackup\bin\goodies\pending_request_notify.cmd into
Install_path\NetBackup\bin\ on the master server.
restore_notify script
The restore_notify.cmd script (on Windows) and the restore_notify script (on
UNIX) run 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.
To use this script, copy the script to the bin directory:
■ UNIX:
/usr/openv/netbackup/bin/goodies/restore_notify to
/usr/openv/netbackup/bin
■ Windows:
install_path\netbackup\bin\goodies\restore_notify.cmd to
install_path\netbackup\bin
Modify the script and confirm that you have permission to run the script.
NetBackup passes the following parameters to the script:
programname Specifies the name of the program doing the restore or other read
operation.
session_notify script
The session_notify.cmd script (on Windows) and the session_notify script (on
UNIX) run on the master server. It's 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.
To use this script, copy the script to the bin directory:
■ UNIX:
/usr/openv/netbackup/bin/goodies/session_notify to
/usr/openv/netbackup/bin
■ Windows:
install_path\netbackup\bin\goodies\session_notify.cmd to
install_path\netbackup\bin
Modify the script and confirm that you have permission to run the script.
session_start_notify script
The session_start_notify.cmd script (on Windows) and the
session_start_notify script (on UNIX) run 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.
To use this script, copy the script to the bin directory:
■ UNIX:
/usr/openv/netbackup/bin/goodies/session_start_notify to
/usr/openv/netbackup/bin
■ Windows:
install_path\netbackup\bin\goodies\session_start_notify.cmd to
install_path\netbackup\bin
Modify the script and confirm that you have permission to run the script.
shared_drive_notify script
NetBackup runs the shared_drive_notify.cmd script (on Windows) and the
shared_drive_notify script (on UNIX) when a shared drive is reserved or released.
Reference topics 181
NetBackup notify scripts
RESERVED Specifies that the host on which the script is executed needs SCSI
access to the drive until it's 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.
userreq_notify script
The userreq_notify.cmd script (on Windows) and the userreq_notify script (on
UNIX) run on the master server.
To use this script, copy the script to the bin directory:
■ UNIX:
/usr/openv/netbackup/bin/goodies/userreq_notify to
/usr/openv/netbackup/bin
■ Windows:
install_path\netbackup\bin\goodies\userreq_notify.cmd to
install_path\netbackup\bin
Modify the script and confirm that you have permission to run the script.
NetBackup calls the script each time a request is made to either of the following:
Reference topics 182
Media and device management best practices
action Specifies the action and can have the following values: backup,
archive, manual_backup, restore, list
■ 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 barcodes
are unique across the entire enterprise.
■ On UNIX hosts: To use the devices that NetBackup controls but are used with
other applications, do the following to avoid the potential loss of data:
■ Use the NetBackup tpreq command to mount media on a drive and
tpunmount to remove media from the drive. If you use these commands,
another application can control a device when NetBackup is finished with
the device.
■ Down the drive, if the drive is in the UP state.
■ On Windows hosts: To use the devices that NetBackup controls but are used
with other applications, down the drive if the drive is in the UP state.
■ Use only a dedicated server for the NetBackup master 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 Status Codes Reference Guide for all error conditions:
http://www.veritas.com/docs/DOC5332
■ Always install the latest NetBackup release updates that are available from
Veritas.
■ 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.
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
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 190.
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.
It is recommended that you use reactive cleaning.
See “About TapeAlert” on page 185.
See “About tape drive cleaning” on page 189.
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 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 186.
See “About tape drive cleaning” on page 189.
Note: NetBackup does not control the cleaning tapes that library-based cleaning
uses.
Veritas 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.
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.
Option Description
SCSI persistent Provides SCSI persistent reserve protection for SCSI devices. The
reserve devices must conform to the SCSI Primary Commands - 3 (SPC-3)
standard.
SPC-2 SCSI reserve Provides SPC-2 SCSI reserve protection for SCSI devices. The
(default) 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.
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).
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.
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:
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 master server. Alternatively issue the command
on a media server and use the -h option of the command to specify the master
server. The NetBackup EMM service allocates devices (that is, the DA host or
device allocation host).
Note: Use this command after a PEND status appears in the NetBackup
Administration Console Device Monitor. However, do not issue this command
during backups.
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).
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
1 Issue mt -f drive_path_name forcereserve.
2 Issue mt -f drive_path_name release.
See the mt(1) man page for more information.
Reference topics 199
How NetBackup reserves drives
In addition, information about the SCSI persistent reservations that are broken are
also written to the NetBackup Problems report.
The backup data may be usable. If so, import the image by using the NetBackup
bpimport command so the data is available for restores.
Order Description
1. 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 the backup job requested.
■ Not currently in use by another backup or a restore.
■ Not written in a protected format. NetBackup detects the tape format after the volume is mounted. If the
volume is in a protected format, NetBackup unmounts the volume and resumes the search.
Order Description
2. 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 move the volume to a drive,
position the heads to the 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.
3. 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:
4. 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.
5. If there are no unassigned volumes of the requested type, the backup terminates with an error message
that no media were available.
NetBackuptakes no action.
See “About spanning media with automatic media selection” on page 203.
■ 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.
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.
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.
Standalone
NB_pool
Robotic Off-site 1
Group 1 Group 2
Group 3 Group 4
Off-site 2
See Figure 5-3 on page 208. for examples of 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.
Reference topics 208
Volume pool and volume group examples
Robot A Standalone
Group Standalone Group
rob_A Group off-site
standalone1
NB_pool
_dept_1
NB_pool
_dept_2
Robot B
Group
rob_B
NB_pool
_dept_3
See Figure 5-4 on page 209. for an example where 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 209
Media formats
Group Group
rob_A rob_C
NB_pool_dept_1
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.
The following table shows the symbols that are used in the media format
descriptions.
Symbol Description
* Tape mark.
Reference topics 210
Media formats
Symbol Description
BH1 ... BHn Backup headers (1024 bytes). One for each job that is part of the set of the
jobs that are multiplexed.
The following table provides more information about how the media formats are
used in different situations.
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:
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 position 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:
To append backup images to QIC media, NetBackup positions to the end of data (EOD)
and then starts the next backup.
Reference topics 211
Media formats
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.
Fragmentation is intended primarily for storing large backup images on a disk type
storage unit.
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.
MH * BH1 BH2 BH3 Image* BH2 BH3 Image* BH2 BH3 BH4 Image
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):
UNIX /usr/openv/volmgr/bin
Windows install_path\VERITAS\Volmgr\bin
For detailed information about the commands, see the NetBackup Commands
Reference Guide, available at the following URL:
http://www.veritas.com/docs/DOC5332
Command Description
acsd The Automated Cartridge System robotic process. The Device Manager
ltid starts this process.
ltid Starts the NetBackup Device Manager service. Starting the Device
Manager also starts the robotic, robotic control, Media Manager volume,
and automatic volume recognition daemons.
tldcd Starts the tape library DLT robotic-control process. The Device Manager
ltid starts this process.
To stop the tape library DLT robotic-control process, use tldcd -t.
tldd The tape library DLT robotic process. The Device Manager ltid starts
this process.
vmd The NetBackup Volume Manager service. The Device Manager ltid
starts this process.
On UNIX, you can use the kill pid command to stop the process for the daemon
with the specified pid (process ID).
Reference topics 213
About Tape I/O commands on UNIX
On Windows, you can 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.
For detailed information about most of the commands that are in the following tables,
see the NetBackup Commands Reference Guide, available at the following URL:
http://www.veritas.com/docs/DOC5332
See the NetBackup Commands Reference Guide, available at the following URL:
http://www.veritas.com/docs/DOC5332
Positioning tape files The mt command positions tape files by skipping forward or backward according to
tape marks.
The following options are available on the mt command for positioning tapes:
■ eof, weof
Writes an end-of-file tape mark at the current position on the tape according to the
count option on mt.
■ fsf, bsf
Spaces forward or backward the number of tape marks on the count option.
■ fsr, bsr
Spaces forward and backward the number of records according to the count option
on mt. bsr is only supported for the undefined record type.
The following example uses the mt command to skip forward three files on a tape:
mt -f tape1 fsf 3
Rewinding tape files When a file is rewound, it is positioned to the beginning of the data. To rewind a tape
file, you can use the mt command.
tape1 is positioned to the beginning of the tape volume that is associated with the file.
mt -f tape1 rewind
The count option is not used for the rewind operation. If you specify a count, mt ignores
it.
See the NetBackup Commands Reference Guide, available at the following URL:
http://www.veritas.com/docs/DOC5332
On UNIX, the NetBackup tpunmount command runs the drive_unmount_notify
script (if it exists) after media is unmounted.
See “drive_unmount_notify script (on UNIX)” on page 173.
Index
host names N
changing client name 147 named data streams 150
changing server name 144, 147 nbdeployutil 12
client peername 145 nbemm 88
correct use 144 nbemm/DA
robotic control selection 132, 135 definition 88
short 146 nbholdutil -create 128
host.xlate file and alternate client restores 148 nbmail.cmd 174
HyperTerminal 95 nbtar 149, 152
NDMP 199
I client backups 150
INVENTORY_FILTER vm.conf entry 119 host credentials 139
NetBackup Access Control (NBAC)
use of 118, 122
L NetBackup Disk Configuration Utility
library-based cleaning 190 about 140
licensing 11 network transfer rate 155
for Shared Storage Option 94 notification scripts 156
nbdeployutil 12
locale, configuring 86
O
Online Help for tpconfig 134
M open files. See busy-file processing
mail_dr_info.cmd 173 OpsCenter
mail_dr_info.sh 173 license reporting 13
MAP_CONTINUE_TIMEOUT vm.conf entry 120
MAP_ID, vm.conf entry 119
Maximum concurrent drives for backup 99 P
media parent_end_deployment_notify script 175
best practices 183 parent_end_notify script 176
formats 209 parent_start_deployment_notify script 177
selection algorithm 202, 204 parent_start_notify script 178
spanning 204–205 peername of client 145
media and device management pending_request_notify script 179
best practices 182 positioning tape files 214
performance and troubleshooting 184 PREFERRED_GROUP vm.conf entry 122
Media Manager printing device configuration 139
best practices 182
configuration file 108 R
security 123 random ports, setting on server 122
media_deassign_notify script 174 RANDOM_PORTS vm.conf entry 122
MEDIA_ID_BARCODE_CHARS vm.conf entry 120 raw partitions 150
MEDIA_ID_PREFIX vm.conf entry 121 reactive cleaning 185
MM_SERVER_NAME vm.conf entry 121 reading tape files 214
multiplexing (MPX) release 129
backups 211 removing tape files 214
recovering backups 150 reporting, capacity 18
tape format 211 reporting, NEVC 23
reporting, traditional 21
Index 219
wizards
device configuration 98
shared drive configuration 98
writing tape files 214