Symantec Netbackup in Highly Available Environments Administrator'S Guide
Symantec Netbackup in Highly Available Environments Administrator'S Guide
Highly Available
Environments
Administrator's Guide
Release 7.5
Symantec NetBackup in Highly Available Environments
Administrator's Guide
The software described in this book is furnished under a license agreement and may be used
only in accordance with the terms of the agreement.
Legal Notice
Copyright © 2012 Symantec Corporation. All rights reserved.
Symantec and the Symantec Logo are trademarks or registered trademarks of Symantec
Corporation or its affiliates in the U.S. and other countries. Other names may be trademarks
of their respective owners.
This Symantec product may contain third party software for which Symantec is required
to provide attribution to the third party (“Third Party Programs”). Some of the Third Party
Programs are available under open source or free software licenses. The License Agreement
accompanying the Software does not alter any rights or obligations you may have under
those open source or free software licenses. Please see the Third Party Legal Notice Appendix
to this Documentation or TPIP ReadMe File accompanying this Symantec product for more
information on the Third Party Programs.
The product described in this document is distributed under licenses restricting its use,
copying, distribution, and decompilation/reverse engineering. No part of this document
may be reproduced in any form by any means without prior written authorization of
Symantec Corporation and its licensors, if any.
THE DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS,
REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT,
ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO
BE LEGALLY INVALID. SYMANTEC CORPORATION SHALL NOT BE LIABLE FOR INCIDENTAL
OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH THE FURNISHING,
PERFORMANCE, OR USE OF THIS DOCUMENTATION. THE INFORMATION CONTAINED
IN THIS DOCUMENTATION IS SUBJECT TO CHANGE WITHOUT NOTICE.
The Licensed Software and Documentation are deemed to be commercial computer software
as defined in FAR 12.212 and subject to restricted rights as defined in FAR Section 52.227-19
"Commercial Computer Software - Restricted Rights" and DFARS 227.7202, "Rights in
Commercial Computer Software or Commercial Computer Software Documentation", as
applicable, and any successor regulations. Any use, modification, reproduction release,
performance, display or disclosure of the Licensed Software and Documentation by the U.S.
Government shall be solely in accordance with the terms of this Agreement.
Symantec Corporation
350 Ellis Street
Mountain View, CA 94043
http://www.symantec.com
Technical Support
Symantec Technical Support maintains support centers globally. Technical
Support’s primary role is to respond to specific queries about product features
and functionality. The Technical Support group also creates content for our online
Knowledge Base. The Technical Support group works collaboratively with the
other functional areas within Symantec to answer your questions in a timely
fashion. For example, the Technical Support group works with Product Engineering
and Symantec Security Response to provide alerting services and virus definition
updates.
Symantec’s support offerings include the following:
■ A range of support options that give you the flexibility to select the right
amount of service for any size organization
■ Telephone and/or Web-based support that provides rapid response and
up-to-the-minute information
■ Upgrade assurance that delivers software upgrades
■ Global support purchased on a regional business hours or 24 hours a day, 7
days a week basis
■ Premium service offerings that include Account Management Services
For information about Symantec’s support offerings, you can visit our Web site
at the following URL:
www.symantec.com/business/support/
All support services will be delivered in accordance with your support agreement
and the then-current enterprise technical support policy.
Customer service
Customer service information is available at the following URL:
www.symantec.com/business/support/
Customer Service is available to assist with non-technical questions, such as the
following types of issues:
■ Questions regarding product licensing or serialization
■ Product registration updates, such as address or name changes
■ General product information (features, language availability, local dealers)
■ Latest information about product updates and upgrades
■ Information about upgrade assurance and support contracts
■ Information about the Symantec Buying Programs
■ Advice about Symantec's technical support options
■ Nontechnical presales questions
■ Issues that are related to CD-ROMs, DVDs, or manuals
Support agreement resources
If you want to contact Symantec regarding an existing support agreement, please
contact the support agreement administration team for your region as follows:
Index .................................................................................................................... 75
10 Contents
Chapter 1
About in this guide
This chapter includes the following topics:
Network links See “About protecting against network link failures” on page 15.
Storage device See “About protecting against storage device connection failures”
connections on page 15.
Storage devices See “About protecting against storage device failure” on page 16.
14 NetBackup protection against single points of failure
About protecting against component failures
Master server See “About protecting against master server failures” on page 17.
Media server See “About protecting against media server failures” on page 18.
LAN client See “About protecting against LAN client failures” on page 21.
SAN client See “About protecting against SAN client failures” on page 22.
Figure 2-1 illustrates various NetBackup components and the single points of
failure. The single points of failure can be eliminated at each component level
either by making the component highly available or by deploying multiple
components for redundancy.
1
Storage Device 1 Master Server
3 Local and global clustering
2 NIC
2
SAN Redundant NICs
3 Storage Device
Media Server Global scratch pools and
media sharing
4 4 Media Server
Storage unit groups
5 Clients
Application cluster
Clients
5
server, which handles the movement of tapes between slots and drives in the
library.
Other tape libraries depend on a direct device connection from the NetBackup
master server for control instructions to the library. If this device connection is
lost, the tape library cannot be used. SAN-attached tape libraries support multiple
connections to the robotic control for redundancy. You can configure these
connections to provide protection against server failure. For example, you can
configure one path to each node of a clustered master server. You must ensure
that the paths are not active at the same time. If both paths are active, conflicting
instructions can be issued, which could result in backup failure or data loss.
Global scratch pools For all the backup jobs and duplication jobs that are written to tapes,
use the tapes that are in a specific media pool with the same retention
criteria as the backed up data. If no suitable tapes are available, the
backup fails.
Using a global scratch pool ensures that all unassigned tapes are
available for use by any backup job, irrespective of the media pool
specified by the job.
Media sharing Media sharing allows multiple media servers to use partially full
tapes until they are full. It ensures the most efficient use of tape.
Only one media server at a time can write to a tape. When that tape
is not in use, a different media server that requires a tape from that
media pool can use it.
To enable media sharing, set the Volume Pool properties to use the
Maximum number of partially full media property. This property
restricts the number of partially full tapes in a media pool. Until all
tapes are full, empty tapes cannot be assigned to the pool. Until one
tape is full, another empty tape cannot be assigned to the pool.
Dedicated media Run only the media server software and exclusively back up data
servers from other systems.
Non-dedicated media Run other applications also that require backing up. Also back up
servers data from other systems.
SAN media servers Run other applications also that require backing up. Do not back
up data from other systems.
Mode Description
Failover In the failover mode, the first storage unit is always used, unless
the media server is down. Excess jobs are queued rather than
being directed to the next storage unit. The failover mode
functions similarly to what would be seen if two media servers
were configured as an active or a passive cluster.
Prioritized In the prioritized mode, the first available storage unit in the list
is used. In this mode, jobs that exceed the total number the storage
unit can handle, are directed to the next storage unit in the list.
If the media server is down, all backups are directed to the next
storage unit.
Round robin In the round robin mode, different storage units from the list are
used in a cycle for each job. If each storage unit is on a different
media server, this acts as a load balancing mechanism.
Load balanced The load balance mode only works with Flexible Disk and Media
Manager storage unit types. In the load balance mode, NetBackup
carries out checks on activity and resources available on each
media. The check is carried out before the backup are directed to
the media with the lightest load.
As a best practice, when using prioritized and failover groups to configure two
storage unit groups, use two media servers, as follows:
■ Configure each media server to have a single storage unit. For example, so
Node A has STU A and Node B has STU B.
■ Configure two storage unit groups with the storage units in a specific order in
each one. In this example, SUG AB contains STU A, followed by STU B. SUG
AB contains STU B followed by STU A.
■ Backup policies are then evenly shared between SUG AB and SUG BA.
During operation, the backup traffic is normally shared between the two nodes,
but if one node fails, all backups automatically go to the other node.
the restore is licensed as a SAN media server or does not have network access to
the client which requires a restore.
There are three options available if you encounter this problem:
■ Configure the force restore media server setting as follows:
■ On UNIX and Linux master servers, you create
FORCE_RESTORE_MEDIA_SERVER entry in the bp.conf file.
■ On Windows master server, you can define this setting in the NetBackup
Administration Console.
Go to Host Properties > Master Server.
This setting works on a per-server basis. It lets you specify a media server
for restore operations based on the media server that is used to make the
backup. To ensure that the same media server is used to make the backup
and the restore, specify the same name for the backup and restore server.
■ Run the restore from the command line using the bprestore
-disk_media_server command. This setting works on a per job level. It also
lets you specify the media server that is required for the specific restore job.
Unlike the other two options, this setting is dynamic and can be applied when
needed.
backup policy. This will ensure that the correct node of the cluster is selected
during the backup operation.
Catalog backups The catalog backup protects the NetBackup catalog on the master
server against both hardware failure and data corruption and
catalog backups should be made on a regular basis, ideally at least
daily. The catalog backup is policy-based so it has all of the
scheduling flexibility of a regular backup policy. As the policy
allows for incremental backups, catalog backup times for large
catalogs can be significantly reduced. However it should be noted
that recovery from incremental backups can take longer due to
the need to restore.
Catalog backups written to tape use media from the Catalog Backup
volume pool only.
This configuration is supported for Veritas Cluster Server (VCS), Microsoft Cluster
Server (MSCS), SunCluster , Service Guard, and HACMP.
Note: When you configure NetBackup as described in this topic, do not configure
the NetBackup media server as a failover application. The media server must be
treated as a stand-alone application on each node in the cluster.
Hub
Fibre Channel Switch
SCSI
Application 3
shared disk
Application 1 Application 2
7 Use the NetBackup Administration Console to create a storage unit for each
application. Specify the virtual name of the application as media server name
for the storage unit.
8 To back up each application, create a policy that specifies the storage unit
you created in step 7 for that application.
Allocate specific tape devices for this configuration so that you do not stress
storage units jobs. You want to create storage units for each application within
the cluster. Or, you may want to create storage unit groups which many
applications can use.
28 NetBackup protection against single points of failure
About installing media servers in clusters
4 Repeat step 3 for each node where the application can run.
5 On each node where the media server is installed, make the following changes
to the Servers list.
■ Add the hostname for each node of the cluster.
■ Add the virtual name for each highly available application.
6 Use the NetBackup Administration Console to create a disk storage unit for
each application. Specify the virtual name of the application as media server
name for the storage unit.
7 To back up each application, create a policy that specifies the storage unit
you created in step 6 for that application.
NetBackup protection against single points of failure 29
About installing media servers in clusters
■ In the full catalog recovery approach the whole catalog is recovered and then
unwanted configuration elements can be removed or disabled.
See “About full catalog recovery” on page 32.
■ In the partial catalog recovery the EMM and the BMR databases are not
restored.
See “About partial catalog recovery” on page 35.
The most appropriate method for recovery can be determined by the nature of
the DR facility and how similar it is to the production facility.
When creating your disaster recovery plan, ensure that it is in line with the
approaches discussed in the following sections:
■ See “Planning a cross domain replication disaster recovery domain” on page 48.
■ See “Performing full catalog restore” on page 33.
■ See “Performing partial catalog restore” on page 36.
■ Full catalog recovery overwrites the device configuration and the server
configuration in the relational database. You must rediscover the DR domain
server and device configuration after the catalog is restored.
Note: The DR master server must have the same name and topology as the
production master server. If the production master server is a cluster then
the DR master server must also be a cluster. The number of member nodes
and the names of the nodes can be different.
Note: If a catalog backup that was created on a separate media server is used,
then a media server with the same name is required for the catalog recovery.
■ start /opt/VRTSpbx/bin/pbx_exchange
■ /usr/openv/netbackup/bin/nbemm
Note: For NetBackup versions 6.5.3 and higher, run the nbemm
-maintenance command.
Note: The PBX process may already be running because the NetBackup
commands do not stop and start PBX.
7 Deactivate the media servers that are not part of the DR environment. Run
the following command:
nbemmcmd -updatehost -machinename <Media Server> -machinestateop
set_admin_pause -machinetype media -masterserver <Master Server>
8 Delete all the tape devices from the EMM database. Run the following
command:
nbemmcmd -deletealldevices -allrecords
9 Restart NetBackup.
10 Using the Device Configuration wizard create the new tape drive and library
configuration.
11 If bar code masking rules were used at step 6, ensure that the same rules are
set here. If necessary, add them.
12 Using the NetBackup Adminstration Console, verify if all the recovery media
are set to non-robotic.
13 ■ If some recovery media still need to be set to non-robotic, do the following:
■ Select the robotic media, right-click and select Move.
■ Change the robot field to Standalone.
About site disaster recovery with catalog backup and recovery 35
About catalog recovery
14 Once all the recovery media are set to non-robotic, in the Inventory all the
tape libraries field ensure that the media are identified in the correct library.
You can now start restore and recovery operations of the client data that is backed
up at the production datacenter .
Note: The DR master server must have the same name as the production
master server.
Note: If a catalog backup that was created on a separate media server is used,
a media server with the same name is required for the catalog recovery.
3 Run the cat_export –all –staging to export the metadata from the
replicated relational database backup.
About site disaster recovery with catalog backup and recovery 37
About disk recovery in DR domain
4 Run the command cat_import –all to import the exported metadata into
the active relational database. Alternatively, set the parameter
LIST_FS_IMAGE_HEADERS to YES in the bp.conf file or the registry depending
on the master server platform. This will cause the next catalog cleanup job
to automatically import the exported metadata.
5 Deactivate all the backup policies to prevent backups from starting
automatically.
■ You can do this manually using the NetBackup Adminstration Console.
■ Or run the bppllist <policy> -set -inactive CLI.
3 Run the command cat_export –all –staging to export the metadata from
the replicated relational database backup.
4 Run the command cat_import –all to import the exported metadata into
the active relational database.
5 Align the disk media IDs associated with the image records recovered by the
partial catalog recovery with the disk media IDs present in the DR domain.
For this, run the command
nbcatsync -backupid <restored catalog backup ID>
40 About site disaster recovery with catalog backup and recovery
About disk recovery in DR domain
Chapter 4
About site loss protection
with catalog replication
This chapter includes the following topics:
Note: Data can be lost in any data replication solution. To protect the NetBackup
catalog, you must not solely rely on the replication technology due to the risk of
failure of the replication technology. Data on the primary NetBackup server can
get corrupted due to replication to the secondary hot standby NetBackup server.
Therefore, you must frequently back up the NetBackup server catalogs.
through DNS routing. It also prevents the primary and the secondary master
servers from being active in the domain at the same time. For clustered
environments this requirement is met automatically by the cluster
configuration. For non-clustered environments the virtual hostname must be
specified during installation.
■ Ensure that the primary master server and the secondary master server use
the same version of NetBackup and dependent component. Verify that the
operating system, NetBackup binaries, EEBs, and configurations files that are
not included in the paths are specified for replication.
■ Replication between clustered and non-clustered master servers is not possible.
Server pairs must be either clustered or non-clustered.
■ The NetBackup catalog mount point must be the same at both the primary and
the secondary sites.
■ Only the catalog data is replicated between servers and must all be co-located
on a single volume or volume set for replication. For clustered master servers
the cluster common volume is replicated.
For non-clustered master serversSee “About non-clustered NetBackup master
server with catalog replication” on page 56.for details of the paths that must
be linked to a volume set for replication.
■ Ensure that the virtual name or DNS alias does not resolve to both the primary
and the secondary hosts at the same time.
■ Catalog replication does not remove the requirement for catalog backup.
Regularly back up the NetBackup catalog from the primary master server to
protect against accidental image expiration or other inconsistencies that are
introduced in the catalog on the primary site and replicated to the secondary
site.
■ If catalogs are replicated between NetBackup domains (rather than to a
secondary server that can access the primary domain’s media servers) only
the backups that are written to the tape and the replicated BasicDisk storage
can be restored in the disaster recovery domain.
■ Replication of the catalogs to a secondary master server lets you restore data
during a short-term outage of the primary master server. In cross domain
replication configurations, ensure that backups can be run after a failover.
The catalogs should be able to be failed back to the primary server at a later
date without data loss. Consider this support condition when you plan making
backups at the DR site during a prolonged outage and then moving back to the
primary site without losing information about the backups that are created at
the DR site.
44 About site loss protection with catalog replication
About catalog synchronization
■ Verify if NetBackup comes up using the replicated copy on the secondary site.
This usage is not a requirement for support.
■ Both the catalog and the backup images must be accessible at the secondary
site.
Users need to address the procedures that are related to availability of valid
copies of the backup images. Users should also define procedures for enabling
the NetBackup server to restore from the images at the secondary site. This
document does not address these procedures.
■ Users are responsible for installing, configuring, and monitoring their data
replication solution. Users must ensure that the replication technology
continuously maintains a consistent write-ordered copy of the NetBackup
catalog volume.
In the multi-site single domain model, NetBackup catalogs are replicated between
the sites. In the event of a problem at the primary site, the master server is failed
over to a standby node on the secondary site. Backups are created on both sites
(either by in-line copy or duplication depending on the configuration). Thus, the
loss of a single site does not represent a true disaster, but loss of a number of
application servers. Because the backup domain spans both sites, the loss of a
single site results in reduction of the backup and restore capability, rather than
destroying the backup environment. The multi-site single domain model uses a
combination of master server clustering and storage replication. This combination
allows the master server to be relocated easily and quickly to the secondary
location.
The multi-site single domain model can be configured in following ways:
■ Multi-site single domain with stretched SAN
See “About multi-site single domain with stretched SAN ” on page 45.
■ Multi-site single domain with optimized duplication
See “About multi-site single domain with optimized duplication” on page 46.
Replication layer
Media servers
Clients
Stretched SAN Clients
Replication layer
Master server
Master server
Clients Clients
Media servers
Optimized duplication
that do not act as staging storage units and are not supported with staging storage
units or other disk types.
Step Description
Step 1 Install the same NetBackup version on the master server, media servers, and
clients in the DR domain that is used at the production domain.
Note: If the production domain has media servers with older versions of
NetBackup, do not install the older version on the media servers in the DR
domain. Use the same version for the master server and the media servers in
the DR domain.
Note: If the full catalog replication method is used and the master server at the
production domain is clustered, a clustered master server must also exist in the
DR domain. The member nodes of the cluster do not need to be the same as those
nodes at the production domain. If the partial catalog replication method is used
then a clustered master server in the DR domain is not required.
Step 2 Test the network connectivity and authentication between the clients and servers
using test backup policies. Disable the policies after testing.
Step 3 Tape drives and libraries must be connected to the media servers. The tape
drives used in the DR domain must be read-compatible with the tapes from the
production domain. They must be configured as the same media type in
NetBackup.
Step 5 If partial replication method is used, create a non-scratch Media Pool which is
not used by any backup policy. Configure bar code rules to ensure that the backup
tapes are automatically added to that pool.
About site loss protection with catalog replication 49
About NetBackup catalog replication
Step Description
Step 6 If different library types are used in the DR domain and at the production domain,
ensure that the barcode masking operates in the same way. Remove the trailing
characters wherever required. You can configure rules to manage this operation.
■ If the original backup tapes are used for DR purposes, they must be loaded
in the tape libraries in the DR domain.
■ If backups are duplicated to secondary tapes for DR purposes, then load the
off-site tapes in the tape libraries. Also the ALT_RESTORE_COPY_NUMBER
file is created with the appropriate copy number in it.
Note: Symantec recommends that the tapes are physically write-locked before
they are placed in libraries in the DR domain. This locking reduces the risk of
accidental overwriting of valid backups.
secondary master server and the media servers are configured to communicate
with each other.
Before restores can be started, carry out the following procedure to prepare for
full catalog restore. You must document this procedure in your DR plan:
1 Ensure that replication between the primary and the secondary sites is
stopped.
The replication is stopped if the primary master server is unavailable or if
the replication link is disabled.
2 Mount the replicated volume to the appropriate mount point on the secondary
master server.
3 Start the NetBackup Relational Database Manager, NetBackup PBX, and EMM
services on the new master server.
■ On UNIX and Linux master servers run the following commands:
■ /usr/openv/netbackup/bin/nbdbms_start_stop start
■ /opt/VRTSpbx/bin/pbx_exchange
■ “/usr/openv/netbackup/bin/nbemm –maintenance
Note: The PBX process may already be running since it is not stopped and
started by the NetBackup startup and shutdown commands.
4 Deactivate the media servers that are not part of the DR environment. Run
the following command:
nbemmcmd -updatehost -machinename <Media Server> -machinestateop
set_admin_pause -machinetype media -masterserver <Master Server>
About site loss protection with catalog replication 51
About NetBackup catalog replication
5 If any media servers in the DR domain have the same names as media servers
in the production domain, delete all tape devices from the EMM database.
Run the following command:
nbemmcmd -deletealldevices -allrecords
6 Restart NetBackup.
7 Optionally, you can deactivate all backup policies to prevent backups from
starting automatically.
■ You can deactivate the backup policies manually using the NetBackup
Administration Console.
■ Or run the bppllist <policy> -set -inactive CLI.
8 Register the media servers that form part of the DR environment in EMM by
starting NetBackup on each media server.
9 Using the Device Configuration Wizard, create the new tape drive and library
configuration.
10 Using the NetBackup Adminstration Console, verify if all the recovery media
are set to non-robotic.
11 If some recovery media still need to be set to non-robotic, do the following:
■ Select the robotic media, right-click, and select Move.
■ Change the robot field to Standalone.
■ Click OK to save the changes.
12 Once all the recovery media are set to non-robotic, in the Inventory all the
tape libraries field ensure that the media are identified in the correct library.
You can now start restore and recovery operations of client data that is backed
up at the production datacenter.
Before attempting to use partial catalog replication under NetBackup 7.5, you
need to follow the steps:
To recover the catalog with partial catalog replication
1 Ensure that replication between the primary and the secondary sites is
stopped.
Replication stops if the primary master server is unavailable or if the
replication link is disabled.
2 Mount the replicated volume to the appropriate mount point on the secondary
master server.
3 Change the configuration on the source (production) and target (disaster
recovery) master servers to ensure that the staging area for the relational
database is located on the replicated storage. It can be achieved as follows:
■ Create a suitable directory on the replicated storage.
■ Use the command nbdb_admin –vxdbms_nb_staging <directory> to
make this directory the staging area.
4 Locate the staging area for the relational database on the replicated storage
to ensure that a copy of the relational database is replicated every time the
catalog is backed up. However you may want to make more frequent backups
of this component to ensure a more current recovery point. To ensure, create
a script that runs the command nbdb_backup –online <directory>
-truncate_tlog. Schedule this script to run at regular intervals.
5 Run the command cat_export –all –staging to export the metadata from
the replicated relational database backup.
6 Run the command cat_import –all to import the exported metadata into
the active relational database. Alternatively, set the parameter
LIST_FS_IMAGE_HEADERS to YES in the bp.conf file or the registry depending
on the master server platform. It ensures the next catalog cleanup job to
automatically import the exported metadata.
7 Start NetBackup on the secondary master server.
8 If the backup policies are replicated, deactivate all backup policies to prevent
backups from starting automatically.
■ You can deactivate the backup policies manually using the NetBackup
Administration Console.
■ Or run the bppllist <policy> -set -inactive CLI.
9 Ensure that barcode rules are defined to add tapes into a non-scratch media
pool which is not in use by any backup policy.
54 About site loss protection with catalog replication
About NetBackup catalog replication
Considerations Description
Considerations Description
DNS If the master server nodes at the secondary site are on a different
considerations subnet from the master server nodes at the primary site, a DNS change
is required as part of the failover process. You can initiate the DNS
change automatically by using the cluster failover process. You can
also initiate the process manually. The backup system does not
function correctly until the change is fully propagated, which can
affect the recovery time in a site failover.
Note: To propagate the DNS change automatically by the cluster
service group, the DNS resource must come on-line after NetBackup
starts.
Note: VxSS or NBAC is not supported with catalog replication for non-clustered
master servers. For more information about NBAC, refer to the NetBackup Security
and Encryption Guide.
Deploying NetBackup master servers with full catalog replication 57
About non-clustered NetBackup master server with catalog replication
Step Description
Step 1 Make sure that you meet all the conditions of support before
proceeding with the actual installation.
■ <install path>\VERITAS\netbackupdb\data\vxdmbs.conf
On UNIX and Linux master server, these files are located at:
■ /usr/openv/var/global/server.conf
■ /usr/openv/db/data/vxdbms.conf
5 Move the catalog components to the volume that is replicated to the secondary
master server.
For Windows installations, map the following paths to a common volume.
Use the folder mount points or junction points on Windows 2003 and symbolic
links on Windows 2008:
■ <install path>\VERITAS\netbackup\db
■ <install path>\VERITAS\netbackupdb\data
■ <install path>\VERITAS\netbackup\vault\sessions
■ <install path>\VERITAS\volmgr\misc
■ <install path>\VERITAS\netbackup\var
■ <install path>\VERITAS\kms
For UNIX and Linux installations, soft link the following paths to locations
on a common volume:
■ /usr/openv/netbackup/db
■ /usr/openv/db/data
■ /usr/openv/netbackup/vault/sessions
■ /usr/openv/volmgr/database
■ /usr/openv/var
■ /usr/openv/kms
Note: You can use the nbdb_move command to relocate the EMM database
rather than linking /usr/openv/db/data for UNIX and Linux or <install
path>\VERITAS \netbackupdb\data for Windows. However, all other paths
must be linked.
Deploying NetBackup master servers with full catalog replication 59
About non-clustered NetBackup master server with catalog replication
To install and configure the secondary non-clustered master server with catalog
replication
1 Stop NetBackup on the primary master server.
2 Map the DNS alias name to the secondary master server.
3 Install the NetBackup master server on the secondary master server node,
specifying the alias name for the master server and EMM server. During
installation, apply the same list of servers on the secondary master server.
4 After the installation is complete, shut down NetBackup.
5 To ensure NetBackup starts correctly when switching to the secondary master
server, modify the server.conf and vxdbms.conf. Also, change the string
NB_<hostname> to NB_<alias name> in each file.
■ <install path>\VERITAS\netbackupdb\data\vxdmbs.conf
■ /usr/openv/db/data/vxdbms.conf
6 Create a small disk volume (100 MB) and mount it to the same mount point
used for the replicated volume on the primary server. This volume is known
as the upgrade volume and is to be presented every time NetBackup is
upgraded on the secondary master server.
■ <install path>\VERITAS\netbackupdb\data
■ <install path>\VERITAS\netbackup\vault\sessions
■ <install path>\VERITAS\volmgr\misc
■ <install path>\VERITAS\netbackup\var
Deploying NetBackup master servers with full catalog replication 61
About non-clustered NetBackup master server with catalog replication
■ <install path>\VERITAS\kms
For UNIX and Linux installations, soft-link the following paths to locations
on a common volume:
■ /usr/openv/netbackup/db
■ /usr/openv/db/data
■ /usr/openv/netbackup/vault/sessions
■ /usr/openv/volmgr/database
■ /usr/openv/var
■ /usr/openv/kms
12 After NetBackup shuts down, dismount the upgrade volume. Then reset the
DNS alias name to the primary master server. Then restart NetBackup on the
primary master server.
Step Description
You can also create a temporary local alias for the master server.
Note: During major NetBackup upgrades such as, from 6.5.x to 7.0 the server.conf
and vxdbms.conf files may be replaced. After upgrading always check these files.
Ensure that they contain the correct name for the master server and modify them
if necessary.
Table 5-4 Installing and configuring clustered NetBackup master server cluster
with catalog replication
Stage 1 Installation prerequisites Make sure that you meet all the conditions of
support before proceeding with the actual
installation.
Stage 2 Installing and configuring Install and configure the NetBackup master server
the clustered NetBackup cluster on the primary site.
master on the primary site
See “Installing and configuring primary NetBackup
master server cluster” on page 64.
Stage 3 Installing and configuring Install and configure the NetBackup master server
the clustered NetBackup cluster on the secondary site.
master on the secondary
See “Installing and configuring secondary
node
NetBackup master server cluster” on page 65.
64 Deploying NetBackup master servers with full catalog replication
About globally clustered NetBackup master servers with catalog replication
Single node cluster This configuration requires two nodes—one node at each site. This
at both sites configuration is the most efficient in terms of the servers involved.
The disadvantage of this configuration is that even a local problem
with the primary master server requires a site failover operation.
Dual node on This configuration requires three nodes—two at the primary site
primary site and and one at the secondary site. During normal operations, since there
single node on is single node at each site, site failover is not required to address
secondary site issues with the primary master server. Instead a local failover can
be used. However, there is no protection for the node on the
secondary site.
Dual node on both This configuration requires four nodes, three of which are always
sites idle. This configuration allows local failover capability at sites. With
this configuration, if a local server problem is encountered, there
is no need to failover.
Table 5-5 Guidelines to installing the primary NetBackup master server cluster
with catalog replication
Step Description
Step 1 When you install NetBackup master server cluster on primary node,
specify:
Step 2 After the NetBackup cluster group is created, reconfigure the storage
resources to include the replication control components.
Step 3 For some replications layers, especially for Veritas Volume Replicator
(VVR), the replication agent must be in a separate service group. You
must link the agent with the NetBackup application service group.
Step Description
Step 1 Install the secondary NetBackup master server cluster using the same
virtual name and cluster common mount point as the primary
NetBackup master server cluster.
Step 2 During installation, specify all the NetBackup servers, the master
server cluster nodes and the media servers at the primary site.
66 Deploying NetBackup master servers with full catalog replication
About globally clustered NetBackup master servers with catalog replication
Step Description
Step 4 Create a small disk volume (100MB) and mount it to the same mount
point used for replicated volume on the primary NetBackup master
server cluster. After the cluster configuration is complete, take the
cluster offline and map it with the common replication target. Remove
its mapping from the temporary storage.
For UNIX and Linux environments, this volume is not required after
the initial installation. You can remove the upgrade volume after the
installation.
Step Description
Step 1 After the cluster setup on the secondary site is complete, take
NetBackup offline on the primary site.
Deploying NetBackup master servers with full catalog replication 67
About globally clustered NetBackup master servers with catalog replication
Table 5-7 Guidelines to populating the server tables in the EMM (continued)
Step Description
Step 2 Reverse the replication direction and bring NetBackup on-line on the
secondary site.
Step 3 After all the member nodes are added, take NetBackup offline from
the secondary site.
Step 4 Reverse the replication direction and bring NetBackup online on the
primary site.
Note: The master server clusters at the primary and the secondary site must run
the same version of NetBackup. If there are different versions, NetBackup may
not start in a failover situation.
Step Description
Step 3 If necessary, update the DNS with the new virtual IP address for the
master server.
68 Deploying NetBackup master servers with full catalog replication
About globally clustered NetBackup master servers with catalog replication
Step Description
Table 5-9 Testing the NetBackup master server cluster in clustered replication
environment
Step Description
Step 1 Suspend replication between the primary and the secondary master
server clusters.
Step 2 Isolate the secondary master server cluster from the network.
Note: Since a computer can have multiple virtual names in a cluster environment,
files can be backed up in the context of more than one client name. If you carefully
plan your backup policies, you can avoid this problem. However, it may be
necessary to browse more than one client name to locate a backup image. And
you may need to perform more than one restore to restore all of the files that you
need.
The Backup, Archive, and Restore console operates in the context of that client’s
name. You must perform a redirected restore to restore the files on the shared
disk that were backed up with the virtual server name. NetBackup allows a
redirected restore operation only if the necessary configuration is performed on
the NetBackup master server. See the information on how to allow redirected
restores in the Symantec NetBackup Administrator's Guide, Volume I.
There may be other situations that require the appropriate altnames directory
entries to be created on the master server. While NetBackup tries to restore files
from the client, the operation may fail with this error message:
If you see this message, you must set up the altnames directory to allow the
operation to succeed. For example, the required network interface parameter may
be set to a valid network name for the client. But this name may not match the
NetBackup Client name parameter for that client. This situation often happens
for NetBackup clients in a cluster. Alternatively, you can perform a server-directed
restore and avoid the need to set up the altnames directory.
See “Example: Performing a user-directed restore in a NetBackup cluster”
on page 71.
shared_drive_install_path\NetBackup\db\altnames\tic
shared_drive_install_path\NetBackup\db\altnames\tac
2 In both files, add the virtual server name TOE on one line in the file.
3 Determine which node (TIC or TAC) has control of the shared disk.
4 Start the Backup, Archive, and Restore interface on that node and select the
virtual server name (TOE) as the source client and the server.
■ On Windows computers, in the File menu, click Specify NetBackup
Machines.
■ On UNIX or Linux computers, in the Actions menu, click NetBackup
Machines.
5 Browse the backed-up files by using the virtual server name (TOE) from the
shared disk and restore them as needed.
72 Using NetBackup to perform backups and restores in a cluster
About supported NetBackup database agents and options in a cluster
User backups User backups that are run on individual nodes of the cluster
generally run as a backup of the node, not the NetBackup
virtual server. You may find it easier to use scheduled
backups rather than user backups to protect the data in the
cluster.
Using NetBackup to perform backups and restores in a cluster 73
About supported NetBackup database agents and options in a cluster
NetBackup client in a cluster You may choose to install only the NetBackup client in a
cluster. In this configuration, you can back up the data from
the cluster across the network to a separate NetBackup
server. In this situation the NetBackup-specific
configuration tasks for tape devices, media, and so on, are
separate from the setup and maintenance of the cluster
itself. However, the NetBackup client itself cannot fail over.
maintenance of the cluster itself. However, the NetBackup client itself cannot fail
over.
To install the NetBackup client on an MSCS, VCS, SunCluster , Service Guard
cluster, or HACMP cluster
The NetBackup client is installed on a cluster as it is in a non-clustered
environment. Refer to the Symantec NetBackup Installation Guide for information
on how to install the NetBackup client. On Windows systems, you may have
problems with name resolution when you try to back up data on the cluster. (This
data can be either local data or shared data.) Consider setting the Required
Network Interface parameter for each client to the fully qualified name of the
node where the NetBackup client is installed.
Index
A F
adding disk storage unit 28 full catalog recovery 32
restoring full catalog 33
B full catalog replication 49
restoring full catalog 49
backing up database files 73
full catalog restore 49
backups
user-directed 69
L
C LAN client protection 21
catalog protection
catalog replication 23 M
See also catalog repllication master server protection
online catalog backup 23 clustering 17
catalog recovery 31 media availability protection
full catalog recovery 32 global scratch pool 16
partial catalog recovery 35 media sharing 16
catalog replication media server
catalog synchronization 44 non-failover cluster configuration 24
conditions for support 41 restore backup 20
considerations. See replication considerations multi-site cross domain replication
full catalog replication 49 BasicDisk storage 47
multi-site cross domain replication 47 multi-site single domain replication 44
multi-site single domain 44 optimized duplication 46
partial catalog replication 52 stretched SAN 45
catalog synchronization 44
clustered master server N
installing primary master server 64
NetBackup client in cluster 73
installing seconday master server 65
network link protection
server table 66
redundant network teaming 15
testing with catalog replication 68
non-clustered master server
upgrade volume 65
installing primary master server 57
upgrading NetBackup 67
installing secondary master server 59
upgrade volume 59
D upgrading NetBackup 62
database agents 72 non-dedicated media server protection
dedicated media server protection storage unit group 19
storage unit group 18 non-failover cluster configuration
disc recovery 37 media server 24
SAN media server 24
76 Index