Veritas Netbackup
Veritas Netbackup
0 High
Availability
N152848
September 2005
Disclaimer
The information contained in this publication is subject to change without notice. VERITAS Software
Corporation makes no warranty of any kind with regard to this manual, including, but not limited to,
the implied warranties of merchantability and fitness for a particular purpose. VERITAS Software
Corporation shall not be liable for errors contained herein or for incidental or consequential damages
in connection with the furnishing, performance, or use of this manual.
Third-Party Copyrights
For a list of third-party copyrights, see the NetBackup Release Notes appendix.
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Getting Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x
Installation Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Installation Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Running bpclusterutil . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
iii
Disaster Recovery of A MSCS Cluster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Installation Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Installation Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Installation Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Installation Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Windows 2003 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Agent Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Additional Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Installation Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Installation Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Running bpclusterutil . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Installation Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Installation Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Contents
v
Chapter 7. NetBackup in a HP MC/Service Guard Cluster . . . . . . . . . . . . . . . . . . . . 69
Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Installation Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Installation Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
What to Back Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
User Backups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
General Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Contents vii
Appendix E. NetBackup Agent for VERITAS Cluster Server for Windows . . . . . . 123
Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Appendix F. NetBackup Agent for VERITAS Cluster Server for UNIX/Linux . . . . 127
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
This guide provides information on how to install and configure NetBackup to work with
different clustering solutions.
NetBackup provides high-performance backups and restores for a variety of computer
types. Administrators can set up schedules for automatic, unattended backups for clients
anywhere in the network. These backups can be full or incremental and are managed
entirely by the NetBackup server (also referred to as the NetBackup master server).
This guide is intended for the NetBackup system administrator responsible for
configuring NetBackup in a cluster environment. A system administrator is a person with
system administrator privileges and responsibilities. This guide assumes:
A basic understanding of Windows or UNIX/Linux system administration.
A working understanding of the NetBackup client software.
A working understanding of the NetBackup server software.
A familiarity with the information covered in the following NetBackup manuals:
NetBackup System Administrators Guide, Volume I
NetBackup Troubleshooting Guide
A working understanding of your cluster software.
ix
Getting Help
Getting Help
You can find answers to questions and get help from the NetBackup documentation and
from the VERITAS technical support web site.
From http://support.veritas.com, you can complete various tasks to obtain specific types
of support for NetBackup:
Note Telephone support for NetBackup is only available with a valid support
contract. To contact VERITAS for technical support, dial the appropriate phone
number listed on the Technical Support Guide included in the product box and
have your product license information ready for quick navigation to the proper
support group.
a. From the main http://support.veritas.com page, click the E-mail Support icon.
A wizard guides you to do the following:
Select a language of your preference
Select a product and a platform
Provide additional contact and product information, and your message
Associate your message with an existing technical support case
Preface xi
Accessibility Features
Accessibility Features
NetBackup contains features that make the user interface easier to use by people who are
visually impaired and by people who have limited dexterity. Accessibility features
include:
Support for assistive technologies such as screen readers and voice input (Windows
servers only)
Support for keyboard (mouseless) navigation using accelerator keys and mnemonic
keys
For more information, see the NetBackup Installation Guide.
Preface xiii
Comment on the Documentation
1
How a NetBackup Failover Server Protects Data in a Cluster
VERITAS Cluster Server 4.1 or later on NetBackup in a VERITAS Cluster Server on Windows
Windows 2000 and Windows 2003 2000 and Windows 2003 on page 47
3. From the Product list, choose NetBackup Enterprise Server. For Microsoft Cluster
Server and VERITAS Cluster Server for Windows, you can also choose NetBackup
Server.
5. For information on supported cluster environments, see NetBackup (tm) x.x Cluster
Compatibility (updated date).
7
Installation Prerequisites
Installation Prerequisites
This section contains information about the requirements that must be met prior to
installing and configuring a NetBackup failover server in an MSCS environment.
Verify that your hardware is supported by MSCS and NetBackup 6.0. For a list of
supported storage devices, visit http://support.veritas.com and also consult the
MSCS documentation.
Verify that storage devices have been properly installed and configured to work in a
Windows environment. Refer to Configuring Storage Devices for Windows in the
NetBackup Installation Guide.
Verify that Microsoft Cluster Server is correctly installed and configured (all versions
are supported with NetBackup 6.0). NetBackup can be installed on as many nodes as
MSCS supports. MSCS supports up to 4 or 8 nodes in a cluster, depending on the level
of Windows that is installed.
If you want the NetBackup media server to be highly available, the robotic and tape
devices must be physically connected to all the nodes that would be part of the
NetBackup High Availability setup. This can be done via SCSI or fibre channel.Verify,
using operating system commands, that all the devices are connected properly. Refer
to the Media Manager Device Configuration Guide.
Verify that you have an IP address and host name (virtual name) to be assigned to the
NetBackup cluster group.
Using Cluster Administrator, verify that the Possible Owners list for each disk
resource that NetBackup uses includes each node to which NetBackup can failover.
Verify you have the NetBackup Enterprise Server 6.0 or NetBackup Server 6.0
installation media and a valid license key.
Installation Notes
These instructions assume that this is a new installation of a NetBackup failover
server.
The same type of NetBackup server must be installed on each node to which
NetBackup may failover. You cannot install both a master server and a media server
in the same overlapping failover configuration.
If you install a NetBackup failover media server, ensure that all media server nodes
reference the same NetBackup master server name during the install.
Caution After configuring NetBackup as a cluster group in MSCS, do not change the
group name.
1. On each desired node in the cluster, install the NetBackup master or media server.
b. When prompted to provide the list of servers, enter all servers that need to have
access to the NetBackup failover server.
2. If you added license keys at the end of the installation, these keys must be added to
each node in the cluster by failing over to and adding the keys to each node in the
cluster. Refer to Adding License Keys on page 94.
5. When you have completed the configuration of NetBackup, verify that NetBackup
can fail over properly in the cluster. Refer to Verifying NetBackup Configuration on
page 89.
6. If the cluster configuration does not complete successfully, refer to the next section
Running bpclusterutil for instructions on running bpclusterutil manually.
Running bpclusterutil
Under normal circumstances, cluster configuration is one of the final steps in installing
NetBackup in a cluster. If this step is not done or does not complete successfully, you can
use the bpclusterutil command to perform this step.
See the Appendix bpclusterutil on page 119 for more details on this command.
bpclusterutil -online
This section describes how to upgrade a failover server from NetBackup 5.0 or 5.1 to 6.0.
Note NetBackup does not support converting an existing non-failover NetBackup server
to a highly available failover NetBackup server.
1. Ensure a good backup of your cluster environment exists that includes the NetBackup
databases and catalogs.
Note If in a Windows 2000 environment, perform the upgrade installation directly from
the system console. Do not use Remote Terminal Services.
2. Ensure the server list for each NetBackup server running outside of the cluster
contains the name of each node on which NetBackup can run and the name of the
virtual server.
3. Take the all NetBackup resources offline except for the disk resource before beginning
the upgrade install.
5. Review and complete the process for creating and populating the EMM database (or
running nbpushdata) in the NetBackup Installation Guide. Run this command from
the active node.
Caution It is imperative that you follow the sequence below when running the
nbpushdata command in your NetBackup environment.
To force the restore of the cluster quorum when other nodes are online
Config\Cluster_Database_Force_Restore
If required, create this registry value as data type REG_SZ with a value of YES. When
this value is set, the cluster service is stopped for any nodes that are online.
2. If Active Directory is running on the target server or the target server is currently a
domain controller, see Restoring Cluster Quorum to a Node With Directory Services
on page 15.
1. If the other nodes in the cluster are online, create the registry entry described in the
previous procedure.
2. In the NetBackup Backup, Archive, and Restore interface, open a Restore window.
3. Select the backup image (or range of images) that contains the the backup of the
System State or Shadow Copy Components for this node of the cluster.
5. If the disk where the cluster quorum previously resided has been changed, you may
have to set the registry entry described above to force the restore to continue.
The disk could have been replaced with a new one, or the disk configuration could
have been changed so that the cluster quorum now resides on a different disk. This
enables the drive letter of the disk that the cluster quorum was on to remain the same,
even if the configuration has changed and the disk signatures contained in the restore
media do not match the disk signatures contained in the cluster quorum.
7. When the restore operation is complete, either reboot the cluster node or use the
Microsoft Cluster Administrator to restart the cluster service on any nodes where it
was stopped.
To restore the cluster quorum to a node running Active Directory or that is currently
a domain controller
1. In the NetBackup Backup, Archive, and Restore interface, open a Restore window.
2. Select the backup image (or range of images) that contains the backup you wish to
restore.
4. Exclude the cluster quorum from this restore by expanding System_State or Shadow
Copy Components and deselecting Cluster_Database .
6. When the restore operation is complete, reboot the cluster node in safe (repair) mode
(restart the computer and press F8 when prompted to select an operating system) and
then select Directory Services Restore Mode.
9. If the disk where the cluster quorum previously resided has been changed, you may
have to set the registry entry described above to force the restore to continue.
The disk could have been replaced with a new one, or the disk configuration could
have been changed so that the cluster quorum now resides on a different disk. This
enables the drive letter of the disk that the cluster quorum was on to remain the same,
even if the configuration has changed and the disk signatures contained in the restore
media do not match the disk signatures contained in the cluster quorum.
12. Use Microsoft Cluster Administrator to restart the cluster service on any nodes on
which it was stopped.
_____________________________________________
Cluster Groups
_____________________________________________
Cluster Resources
1. On the first node you want to recover, reinstall the Windows operating system,
including the last service pack applied before the failure.
Note After booting the nodes in a cluster, ensure that the drive letters match the original
cluster configuration. If the original configuration does not match, you can use the
Disk Administrator, to some extent, to control the hard drive numbering scheme
that Windows devises.
3. On all remaining nodes you need to recover, reinstall Windows, including the last
service pack applied before the failure. Also, see the previous note.
5. Reinstall the same NetBackup software on the cluster that was installed before the
failure.
6. Use the appropriate NetBackup catalog recovery procedure to restore the NetBackup
catalog information before continuing.
See the NetBackup Troubleshooting Guide for more information on recovering the
NetBackup catalog database.
8. If you must restore a database to the shared drives, see the system administrators
guide for your database agent to continue the restore.
4. Ensure all NetBackup shared disks are assigned the same drive letters used when
NetBackup was originally installed and configured.
5. To reconfigure NetBackup for the cluster, do the following on the active node:
bpclusterutil -online
6. Use the appropriate NetBackup catalog recovery procedure to restore the NetBackup
catalog information on the shared disk before continuing. See the NetBackup
Troubleshooting Guide for more information on recovering the NetBackup catalog
database.
7. Use NetBackup to restore any data on the shared disks. For details on performing
restores, see the NetBackup Backup, Archive, and Restore Getting Started Guide.
21
The CAA Facility
If you experience caa_stop failures for NetBackup, you may want to consider increasing
the script timeout value. The default is 180 seconds but sometimes this is not enough for a
heavily loaded machine to shut down all of the robotic daemons. The same is true of
machines with several tape drives attached in a SAN configuration. To see if this solution
is correct for you, use bpps -a to check which daemons are running immediately after
the error. If it is a robotic daemon, increasing the timeout will most likely fix your
problem. The script timeout value is part of TruCluster profile property; use the
caa_profile TruCluster command to change this value.
Installation Prerequisites
Verify all hardware (used for nodes) is supported by your version of TruCluster and
by NetBackup Enterprise Server 6.0. For a list of supported storage devices, visit
http://support.veritas.com and consult the TruCluster documentation.
Verify that TruCluster 5.1b is correctly installed and configured.
Verify that you have an IP address and host name (virtual name) to be assigned to the
NetBackup resource in VCS.
Make sure that each node in the cluster, on which you wish to install NetBackup, is
rsh equivalent. As the root user you need to be able to perform a remote login to each
node without entering a password. This is only necessary for installation, upgrades,
and configuration of the NetBackup server and any NetBackup database agents and
options. Once installation and configuration is complete this is no longer required.
If you want the NetBackup media server to be highly available, the robotic and tape
devices must be physically connected to all the nodes that would be part of the
NetBackup High Availability setup. This can be done via SCSI or fibre channel.Verify,
using operating system commands, that all the devices are connected properly. Refer
to the Media Manager Device Configuration Guide.
Verify you have the NetBackup Enterprise Server 6.0 installation media and a valid
license key.
Installation Notes
These instructions assume that this is a new installation of a NetBackup server.
Converting an existing non-failover NetBackup server to a highly available failover
NetBackup server is not supported.
3. For the TruCluster NetBackup service/profile name, indicate a new name for this
configuration.
Caution You must provide the same cluster alias that you provided during the
installation. This name is also case-sensitive. If applicable, provide the fully
qualified name. For example, if you indicate the name
clusternbu.domain.com during installation, but clusternbu or
CLUSTERNBU.DOMAIN.COM for the cluster_config script, the
configuration process will fail.
If this is a new cluster alias, indicate the cluster alias IP address to be used by
NetBackup. This should already be configured in the /etc/hosts file, or in DNS, or
NIS. Also provide the cluster alias IP subnet to be used by CAA. This is the network
subnet for the cluster alias IP address. For instance, an IP address of 10.80.136.119 on a
network with a netmask of 255.255.248.0 would have a subnet of 10.80.136.0.
5. Provide a list of the cluster members on which NetBackup may run. Separate member
names with a space and list them in the preferred order.
Note If you chose to use a pre-existing cluster alias, the IP and subnet fields will be blank.
7. You are now able to start and stop NetBackup with the following commands:
caa_start profile_name
caa_stop profile_name
For example, with a caa registered profile named netbackup for NetBackup server,
you can start and stop the application with the following commands:
caa_start netbackup
caa_stop netbackup
You must use the caa commands in place of the standard NetBackup start and stop
script. The standard script does not track which node the software is running on and
allows multiple instances of NetBackup within the cluster.
Note You must freeze NetBackup before installing any agents or options. Refer to the next
section, Installing and Upgrading Database Agents and Options on page 27.
10. When you have completed configuration of NetBackup, verify that NetBackup can
failover properly in the cluster. Refer to Verifying NetBackup Configuration on
page 89.
2. Install the database agents and options as you would in a non-clustered environment.
Refer to the system administrators guides for those agents or options.
1. Ensure a good backup of your cluster environment exists that includes the NetBackup
databases and catalogs.
3. Stop the NetBackup server using the command caa_stop profile name.
6. Verify that NetBackup can failover properly in the cluster. Refer to Verifying
NetBackup Configuration on page 89.
1. Ensure a good backup of your cluster environment exists that includes the NetBackup
databases and catalogs.
3. In the bp.conf, verify that any CLUSTER_NAME entries are defined as the virtual
server name.
4. In the vm.conf:
Verify that any CLUSTER_NAME entries are defined as the virtual server name.
If it exists, change the REQUIRED_INTERFACE entry to CLUSTER_NAME and
define it as the virtual name.
6. Review and complete the process for creating and populating the EMM database (or
running nbpushdata) in the NetBackup Installation Guide.
Caution It is imperative that you follow the sequence below when running the
nbpushdata command in your NetBackup environment.
Note You must freeze NetBackup before upgrading any agents or options. Refer to
Installing and Upgrading Database Agents and Options on page 27.
8. Verify that NetBackup can failover properly in the cluster. Refer to Verifying
NetBackup Configuration on page 89.
31
Installation Prerequisites
Installation Prerequisites
This section contains information about the requirements that must be met prior to
installing and configuring a NetBackup failover server in a VCS 3.5 or later environment.
PBX has a known issue that prevents it from being installed in the cluster using the
push installation method you can usually employ with installics. To install PBX
in a cluster, you must run the installics command on every node.
Verify that your hardware is supported by VCS and by NetBackup Enterprise Server
6.0. For a list of supported storage devices, visit http://support.veritas.com.
Verify that VCS is correctly installed and configured on Solaris, HP-UX, AIX, or Linux.
Follow the steps in the VERITAS Cluster Server Installation Guide.
The shared disk must be configured and accessible to all cluster nodes on which
NetBackup will be installed.
Verify that you have an IP address and host name (virtual name) to be assigned to the
NetBackup resource in VCS.
Make sure that each node in the cluster, on which you wish to install NetBackup, is
rsh equivalent (On HP the command is remsh). As the root user you need to be able
to perform a remote login to each node in the cluster without entering a password.
This is only necessary for installation, upgrades, and configuration of the NetBackup
server and any NetBackup database agents and options. Once installation and
configuration is complete this is no longer required.
If you want the NetBackup media server to be highly available, the robotic and tape
devices must be physically connected to all the nodes that would be part of the
NetBackup High Availability setup. This can be done using SCSI or fibre
channel.Verify that all the devices are connected properly. Refer to the Media Manager
Device Configuration Guide.
Verify you have the NetBackup Enterprise Server 6.0 installation media and a valid
license key.
IP Address: __________________________________
__________________________________ __________________________________
__________________________________ __________________________________
__________________________________ __________________________________
__________________________________ __________________________________
Resource Example
DiskGroup:__________________________ nbudg
StartVolumes: _______________________ 0 or 1
StopVolumes: _______________________ 0 or 1
Mount Resource
BlockDevice:_________________________ /dev/vx/dsk/nbuvol
FS Type:_____________________________ vxfs
Resource Example
Mount Resource
Resource Example
StartVolumes: _______________________ 0 or 1
StopVolumes: ________________________ 0 or 1
Volume Resource:
Mount Resource
Resource Example
LVMVG Resource:
MajorNumber: __________________________ 58
Mount Resource:
BlockDevice:_____________________________ /dev/nbudev
FS Type:_________________________________ jfs2
Resource Example
Mount Resource:
MountPoint:_____________________________ /opt/VRTSnbu
Resource Example
StartVolumes: _______________________ 0 or 1
StopVolumes: _______________________ 0 or 1
Volume Resource:
Mount Resource:
BlockDevice:_________________________ /dev/vx/dsk/nbuvol
Mount Resource:
BlockDevice:_____________________________ /dev/dsk/c1t1dos3
FS Type:_________________________________ hfs
Installation Notes
These instructions assume that this is a new installation of a NetBackup failover
server.
You must install the same type of NetBackup server on each node to which
NetBackup may failover. You cannot install a master server and a media server in a
failover configuration.
If you are installing a NetBackup failover media server, ensure that all media server
nodes reference the same NetBackup master server name during the install.
Do not install older versions of the VCS agent. Use the version of the agent provided
with NetBackup 6.0. This agent is installed along with the NetBackup 6.0 Server
software. The cluster_config script is only supported with versions of the VCS
agent included with NetBackup 5.0 or later.
1. Fill out the appropriate sections, based on your environment, of the checklist in the
section Pre-Installation Checklist for a NetBackup Failover Server Installation on
page 33.
2. Make sure the shared disk is not mounted on any node in the cluster.
If applicable, unmount the NetBackup shared mount point. Stop the volume the
mount point is on and stop the disk group for that volume on all nodes of the cluster.
3. Follow the instructions for installing NetBackup server software in the NetBackup
Installation Guide.
Note If necessary, refer to the VERITAS Infrastructure Core Services Installation Guide for
details on installing PBX.
4. After installing NetBackup on each node, run the following command on the primary
node:
/usr/openv/netbackup/bin/cluster/cluster_config
Caution When prompted, you must provide the same virtual cluster name that you
provided during the installation. This name is also case-sensitive. If applicable,
provide the fully qualified name. For example, if you indicate the name
clusternbu.domain.com during installation, but clusternbu or
CLUSTERNBU.DOMAIN.COM for the cluster_config script, the
configuration process will fail.
Note You must freeze the NetBackup group before installing any agents or options. Refer
to the next section, Installing and Upgrading NetBackup Database Agents and
Options.
8. When you have completed configuration of NetBackup, verify that NetBackup can
failover properly in the cluster. Refer to Verifying NetBackup Configuration on
page 89.
1. Freeze the NetBackup group using hagrp -freeze nbu group name .
2. On each inactive node in the cluster on which NetBackup is installed, install any
agents or options. See the appropriate NetBackup documentation for the agent or
option for installation and configuration instructions.
4. Unfreeze the NetBackup group using hagrp -unfreeze nbu group name.
Note VERITAS requires that you use the latest VCS agent that is installed with
NetBackup 6.0. Older versions of the agent are not supported.
2. Ensure a good backup of your cluster environment exists that includes the NetBackup
databases and catalogs.
3. Ensure the server list for each NetBackup server running outside of the cluster
contains the name of each node on which NetBackup can run and the name of the
virtual server.
Note If the NetBackup resource faults during the upgrade, clear the fault.
5. On each inactive node to which NetBackup may failover, install the NetBackup server
software.
Follow the instructions for upgrading NetBackup servers and clients as described
in the NetBackup Installation Guide.
If required to specify the server name, provide the virtual name of the server.
If necessary, refer to the VERITAS Infrastructure Core Services Installation Guide for
details on installing PBX.
8. Review and complete the process for creating and populating the EMM database (or
running nbpushdata) in the NetBackup Installation Guide. Run this command from
the active node.
Caution It is imperative that you follow the sequence below when running the
nbpushdata command in your NetBackup environment.
10. On each node on which NetBackup server is installed, upgrade any NetBackup
database agents or options.
Note You must freeze the NetBackup group before installing any agents or options. Refer
to Installing and Upgrading NetBackup Database Agents and Options on
page 43.
11. Verify that NetBackup can failover properly in the cluster. Refer to Verifying
NetBackup Configuration on page 89.
47
About the NetBackup Agent for VCS
Agent Functions
Specific agent operations include:
Additional Monitoring
Additional monitoring capabilities are available for add-on products. Refer to
Configuring Add-Ons for Monitoring (VCS for Windows) on page 92.
Installation Prerequisites
This section contains information about the requirements that must be met prior to
installing and configuring a NetBackup failover server in a VCS 4.1 or later environment.
Verify that all your hardware is supported by VCS and by NetBackup 6.0. For a list of
supported storage devices, visit http://support.veritas.com.
Verify that storage devices have been properly installed and configured to work in a
Windows environment. Refer to the section on configuring storage devices in the
NetBackup Installation Guide.
Verify that you have installed VERITAS Storage Foundation HA and correctly
configured VCS. NetBackup can be installed on as many nodes as VCS supports.
For VCS Windows ( SFW-HA 4.1, SFW-HA 4.2) make sure the patch available through
TechNote 278307 is installed prior to installing or upgrading to NetBackup 6.0. The
patch is available at http://support.veritas.com/docs/278307.
Verify the cluster disk group(s) and dynamic volume(s) for NetBackup have been
created on the shared storage. Refer to the VERITAS Storage Foundation Administrators
Guide for details on creating these.
All disk resources that NetBackup will be using must be configured in VERITAS
Enterprise Administrator (VEA) prior to installing NetBackup.
Verify that you have an IP address and host name (virtual name) to be assigned to the
NetBackup resource in VCS.
If you want the NetBackup media server to be highly available, the robotic and tape
devices must be physically connected to all the nodes that would be part of the
NetBackup High Availability setup. This can be done using SCSI or fibre
channel.Verify that all the devices are connected properly. Refer to the Media Manager
Device Configuration Guide.
Verify you have the NetBackup Enterprise Server 6.0 or NetBackup Server 6.0
installation media and a valid license key.
Chapter 5, NetBackup in a VERITAS Cluster Server on Windows 2000 and Windows 2003 49
Installing and Configuring a NetBackup Failover Server on a VCS Cluster
Installation Notes
These instructions assume that this is a new installation of a NetBackup failover
server.
The same type of NetBackup server must be installed on each node to which
NetBackup may failover. You cannot install a master server and a media server in an
overlapping failover configuration.
If you install a NetBackup failover media server, ensure that all media server nodes
reference the same NetBackup master server name during the install.
The VCS NetBackup agent is now installed as part of NetBackup server.
After configuring NetBackup as a cluster group in VCS, do not change the group
name.
1. On each desired node in the cluster, install the NetBackup master or media server.
b. When prompted to provide the list of servers, enter all servers that need to have
access to the NetBackup failover server.
2. If you added license keys at the end of the installation, these keys must be added to
each node in the cluster by failing over to and adding the keys to each node in the
cluster. Refer to Adding License Keys on page 94.
3. If the cluster configuration does not complete successfully, refer to the next section
Running bpclusterutil for instructions on running bpclusterutil manually.
6. When you have completed the installation and configuration of NetBackup, verify
that NetBackup can fail over properly in the cluster. Refer to Verifying NetBackup
Configuration on page 89.
Chapter 5, NetBackup in a VERITAS Cluster Server on Windows 2000 and Windows 2003 51
Running bpclusterutil
Running bpclusterutil
Under normal circumstances, cluster configuration is one of the final steps in installing
NetBackup in a cluster. If this step is not done or does not complete successfully, you can
use the bpclusterutil command to perform this step.
See the Appendix bpclusterutil on page 119 for more details on this command.
bpclusterutil -online
Note NetBackup does not support converting an existing non-failover NetBackup server
to a highly available failover NetBackup server.
1. Ensure a good backup of your cluster environment exists that includes the NetBackup
databases and catalogs.
Note If in a Windows 2000 environment, perform the upgrade installation directly from
the system console. Do not use Remote Terminal Services.
2. Ensure the server list for each NetBackup server running outside of the cluster
contains the name of each node on which NetBackup can run and the name of the
virtual server.
3. Take the VCS NetBackup resource offline before beginning the upgrade install.
5. Review and complete the process for creating and populating the EMM database (or
running nbpushdata) in the NetBackup Installation Guide. Run this command from
the active node.
Caution It is imperative that you follow the sequence below when running the
nbpushdata command in your NetBackup environment.
Chapter 5, NetBackup in a VERITAS Cluster Server on Windows 2000 and Windows 2003 53
Performing Backups and Restores in a VCS Cluster
Note Before setting up detailed monitoring, you must have the NetBackup agent running
at the basic level of monitoring.
2. For each node in the NetBackup service group, create a backup policy that performs a
user backup of the file
install_path\bin\cluster\VCS\DetailedMonitor.txt, where install_
path is the home directory of NetBackup, for example, C:\Program
Files\VERITAS\NetBackup.
For example, if your NetBackup service group contains five nodes, you must create
five different policies, each referencing a different node.
3. Create a script file. You can modify the supplied sample script to match your
configuration:
b. Replace <VIRTSRVR> with the virtual server name for the NetBackup master or
media server.
4. From the command line, type the following command to verify the script runs
without errors:
DetailedMonitorProd
Chapter 5, NetBackup in a VERITAS Cluster Server on Windows 2000 and Windows 2003 55
Setting Up Detailed Monitoring for the NetBackup Server
1. In Cluster Explorer, right-click on the NetBackup service group, choose Offline, and
select the node where you want to bring the service group offline.
2. Click Yes.
4. On the Properties tab, select the Monscript attribute from the list, and click the Edit
icon.
5. Provide the full path to the NetBackup monitor script created in step 3 of the
procedure To set up a detailed monitoring script on page 55.
6. Click OK.
8. In the left pane, right-click on the NetBackup service group, select Online, and select
the node where you want to bring the service group online.
9. Click Yes.
1. In Cluster Explorer, right-click on the NetBackup service group, choose Offline, and
select the node where you want to bring the service group offline.
2. Click Yes.
4. On the Properties tab, select the Monscript attribute from the list, and click the Edit
icon.
6. Click OK.
8. In the left pane, right-click on the NetBackup service group, select Online, and select
the node where you want to bring the service group online.
9. Click Yes.
Chapter 5, NetBackup in a VERITAS Cluster Server on Windows 2000 and Windows 2003 57
Setting Up Detailed Monitoring for the NetBackup Server
59
Installation Prerequisites
Installation Prerequisites
This section contains information about the requirements that must be met prior to
installing and configuring a NetBackup failover server in a Sun Cluster environment.
PBX has a known issue that prevents it from being installed in the cluster using the
push installation method you can usually employ with installics. To install PBX
in a cluster, you must run the installics command on every node.
Verify that your hardware is supported by your version of Sun Cluster and by
NetBackup Enterprise Server 6.0. For a list of supported storage devices, visit
http://support.veritas.com and consult the Sun Cluster documentation.
Verify that Sun Cluster 3.0, Update 3, or Sun Cluster 3.1, Update 1, is correctly
installed and configured.
To configure using HA Storage Plus, first mount the disk on the machine that
NetBackup will be configured on.
Verify that you have an IP address and host name (virtual name) to be assigned to the
NetBackup resource group.
The shared disk must be configured and accessible to all cluster nodes on which
NetBackup will be installed. See the Sun Cluster documentation for more information
on how to create and configure a shared disk. Make sure the shared disk has enough
space for the NetBackup database files and directories.
If you want the NetBackup media server to be highly available, the robotic and tape
devices must be physically connected to all the nodes that would be part of the
NetBackup High Availability setup. This can be done via SCSI or fibre channel.Verify,
using OS commands, that all the devices are connected properly. Refer to the Media
Manager Device Configuration Guide.
Make sure that each node in the cluster, on which you wish to install NetBackup, is
rsh equivalent. As the root user you need to be able to perform a remote login to each
node in the cluster without entering a password. This is only necessary for
installation, upgrades, and configuration of the NetBackup server and any NetBackup
database agents and options. Once installation and configuration is complete this is
no longer required.
You must be able to mount the disk on all nodes at the same time (i.e., a global file
system).
Verify you have the NetBackup Enterprise Server 6.0 installation media and a valid
license key.
Installation Notes
These instructions assume that this is a new installation of a NetBackup failover
server.
You must install the same type of NetBackup server on each node to which
NetBackup may failover. You cannot install a master server and a media server in a
failover configuration.
If you are installing a NetBackup failover media server, ensure that all media server
nodes reference the same NetBackup master server name during the install.
The NetBackup resource group name in a Sun Cluster is always scnb-harg. This cannot
be configured by the user.
Two Sun Cluster resource files are installed with NetBackup and should not be edited:
scnb.VRTS and scnb.conf.
1. Follow the instructions for installing NetBackup server software as described in the
NetBackup Installation Guide.
Be sure that you:
Install NetBackup on each node to which it can failover.
Use the virtual name for the NetBackup server name.
2. After installing NetBackup on each node, run the following command on the primary
node:
/usr/openv/netbackup/bin/cluster/cluster_config
Caution When prompted, you must provide the same virtual cluster name that you
provided during the installation. This name is also case-sensitive. If applicable,
provide the fully qualified name. For example, if you indicate the name
clusternbu.domain.com during installation, but clusternbu or
CLUSTERNBU.DOMAIN.COM for the cluster_config script, the
configuration process will fail.
4. Follow the onscreen directions to configure the type of NetBackup server you will
use.
The script will:
Create and register a cluster alias (if a new alias was specified).
Remove NetBackup start and stop scripts from the rc directories.
Update the bp.conf and vm.conf files.
Set up the EMM database, if required.
Start the NetBackup server.
Note You must freeze the NetBackup group before installing any agents or options. Refer
to the next section, Installing and Upgrading NetBackup Database Agents and
Options.
7. When you have completed configuration of NetBackup, verify that NetBackup can
fail over properly in the cluster. Refer to Verifying NetBackup Configuration on
page 89.
/usr/cluster/bin/scswitch -M -n -j scnb-hars
2. On each inactive node on which NetBackup server is installed, install or upgrade any
database agents or options. See the appropriate NetBackup documentation for the
agent or option for installation and configuration instructions.
4. After completing the installs for the agents or options, run the following:
/usr/cluster/bin/scswitch -M -e -j scnb-hars
scrgadm -c -j scnb-hars -y Retry_count=X
Note The default value for the Retry_count is 2. If you have not used this default, then
specify a value greater than 2.
The NetBackup resources will be brought online and Sun Cluster will resume
monitoring the NetBackup resource.
Note These upgrade instructions only support upgrading if you are using a globally
shared disk. NetBackup 6.0 does not support upgrading an HASP configuration. If
you are using an HASP configuration, convert your disk to be a global disk (each
machine can access the disk simultaneously).
1. Ensure a good backup of your cluster environment exists that includes the NetBackup
databases and catalogs.
2. Ensure the server list for each NetBackup server running outside of the cluster
contains the name of each node on which NetBackup can run and the name of the
virtual server.
/usr/cluster/bin/scswitch -M -n -j scnb-hars
Note The default value for the Retry_count is 2. If you have not used this default, then
specify the value set before installing NetBackup.
The NetBackup resources will be brought online and Sun Cluster will resume
monitoring the NetBackup resource.
7. Review and complete the process for creating and populating the EMM database (or
running nbpushdata) in the NetBackup Installation Guide. Run this command from
the active node.
Caution It is imperative that you follow the sequence below when running the
nbpushdata command in your NetBackup environment.
Note You must freeze the NetBackup group before installing any agents or options. Refer
to Installing and Upgrading NetBackup Database Agents and Options on
page 63.
10. Verify that NetBackup can failover properly in the cluster. Refer to Verifying
NetBackup Configuration on page 89.
69
Limitations
Limitations
NetBackup only supports versions 11.15 and above of Service Guard on PA RISC
chipsets only. There is no support for Service Guard on IA64 chipsets.
Only a new installation of NetBackup 6.0 can be installed in a Service Guard cluster. A
previous version of NetBackup installed in the cluster cannot be upgraded to version
6.0.
Installation Prerequisites
This section contains information about the requirements that must be met prior to
installing and configuring a NetBackup failover server in a Service Guard environment.
PBX has a known issue that prevents it from being installed in the cluster using the
push installation method you can usually employ with installics. To install PBX
in a cluster, you must run the installics command on every node.
Verify that your hardware is supported by your version of Service Guard and by
NetBackup Enterprise Server 6.0. For a list of supported storage devices, visit
http://support.veritas.com and consult the Service Guard documentation.
Verify that Service Guard 11. 15 or above and is correctly installed and configured.
Verify that you have an IP address and host name (virtual name) to be assigned to the
NetBackup resource.
The shared disk must be configured and accessible to all cluster nodes on which
NetBackup will be installed. See the Service Guard and the appropriate volume
manager (VERITAS or HP) documentation for more information on how to create and
configure a shared disk. Make sure the shared disk has enough space for the
NetBackup database files and directories. Make sure the disk is not mounted on any
system and that all volume groups are offline and volumes are stopped before
running cluster_config.
In NetBackup 6.0, it is now possible to have the database spread across multiple
shared disks for performance reasons. This is done after initial cluster configuration.
If you want the NetBackup media server to be highly available, the robotic and tape
devices must be physically connected to all the nodes that would be part of the
NetBackup High Availability setup. This can be done via SCSI or fibre channel.Verify,
using OS commands, that all the devices are connected properly. Refer to the Media
Manager Device Configuration Guide.
Make sure that each node in the cluster, on which you wish to install NetBackup, is
remsh equivalent. As the root user you need to be able to perform a remote login to
each node in the cluster without entering a password. This is only necessary for
installation, upgrades, and configuration of the NetBackup server and any NetBackup
database agents and options. Once installation and configuration is complete this is
no longer required.
Verify you have the NetBackup Enterprise Server 6.0 installation media and a valid
license key.
Installation Notes
These instructions assume that this is a new installation of NetBackup.
You must install the same type of NetBackup server on each node to which
NetBackup may failover. You cannot install a master server and a media server in a
failover configuration.
If you are installing a NetBackup failover media server, ensure that all media server
nodes reference the same NetBackup master server name during the install.
The NetBackup package name in a Service Guard cluster is always netbackup. This
cannot be configured by the user.
The following package ascii file is installed with NetBackup. Change the failover
policy or any other Guard specific attributes in this file.
/etc/cmcluster/netbackup/netbackup.config
1. Follow the instructions for installing NetBackup server software in the NetBackup
Installation Guide.
Be sure that you:
Install NetBackup on each node to which it can failover.
Use the virtual name for the NetBackup server name.
2. After installing NetBackup on each node, run the following command on the primary
node:
/usr/openv/netbackup/bin/cluster/cluster_config
Caution When prompted, you must provide the same virtual cluster name that you
provided during the installation. This name is also case-sensitive. If applicable,
provide the fully qualified name. For example, if you indicate the name
clusternbu.domain.com during installation, but clusternbu or
CLUSTERNBU.DOMAIN.COM for the cluster_config script, the
configuration process will fail.
4. Follow the prompts to configure the type of NetBackup server you will use.
The script will:
Remove NetBackup start and stop scripts from the rc directories.
Update the bp.conf and vm.conf files.
Set up the EMM database, if required.
Start the NetBackup server.
Note You must freeze the NetBackup group before installing any agents or options. Refer
to the next section, Installing NetBackup Database Agents and Options.
7. When you have completed configuration of NetBackup, verify that NetBackup can
fail over properly in the cluster. Refer to Verifying NetBackup Configuration on
page 89.
2. On each inactive node on which NetBackup server is installed, install any database
agents or options. See the appropriate NetBackup documentation for the agent or
option for installation and configuration instructions.
4. After completing the installs for the agents or options, run the following:
cmmodpkg -e netbackup
The NetBackup resources will be brought online and Service Guard will resume
monitoring the NetBackup resource.
All except Configuring Devices for MSCS, Device configuration guidelines to specific to
TruCluster VCS, Sun Cluster, or Service MSCS, VCS, Sun Cluster or Service Guard.
Guard on page 81
77
Cluster Type Section Description
VCS for Configuring Add-Ons for Configuring NetBackup add-on products to fail
Windows Monitoring (VCS for Windows) over NetBackup in a VCS for Windows
on page 92 environment.
2. On the active node, run the Device Configuration wizard. This wizard will
automatically discover and configure the devices and create storage units for those
devices.
Using the Device Configuration wizard is the recommended method of configuring
devices.
6. Continue configuring the devices on each node in the cluster by repeating step 3
through step 5.
Note If device paths are not displayed after refreshing the Devices node or running
tpconfig, the active node of the cluster is not configured properly.
Note If you wish to configure NetBackup to failover if a robotic device fails, refer to the
section, Configuring Robotic Daemons for Monitoring (UNIX/Linux Clusters).
2. On the active node, run the Device Configuration wizard. This wizard will
automatically discover and configure the devices and create storage units for those
devices.
Using the Device Configuration wizard is the recommended method of configuring
devices.
Note If you wish to configure NetBackup to failover if a robotic device fails, refer to the
section, Configuring Robotic Daemons for Monitoring (UNIX/Linux Clusters).
1. Follow the instructions for creating online catalog backups as described in the
NetBackup Catalogs chapter of the NetBackup System Administrators Guide.
Note An online catalog backup does not backup information on the inactive nodes.
2. Create a policy to backup the following directory on each node in the cluster.
Windows: install_path\netbackup\var
UNIX/Linux: /usr/openv/var
1. Start the Catalog Backup Wizard or choose Actions > Configure offline NetBackup
Catalog Backup.
Refer to the NetBackup System Administrators Guide for more information.
2. When prompted to provide the pathnames to the catalog files, verify that there are
entries for each of the nodes to which NetBackup can failover.
Where nodename is the physical node name of that node and install_path is
the path where NetBackup is installed on the local drive.
b. The list must also contain the following entries for the virtual server:
virtual_server_name:shared_disk_path\NetBackup
virtual_server_name:VXDBMS_NB_DATA
1. Start the Catalog Backup Wizard or choose Actions > Configure offline NetBackup
Catalog Backup.
Refer to the NetBackup System Administrators Guide for more information.
2. When prompted to provide the pathnames to the catalog files, verify that there are
entries for each of the nodes to which NetBackup can failover.
The list must contain these entries for each node:
nodename:install_path\NetBackup\var
Where nodename is the physical node name of that node and install_path is the
path where NetBackup is installed on the local drive.
1. Start the Catalog Backup Wizard or choose Actions > Configure offline NetBackup
Catalog Backup.
Refer to the NetBackup System Administrators Guide for more information.
2. When prompted to provide the pathnames to the catalog files, verify that there are
entries for each of the nodes to which NetBackup can failover.
b. The list must contain these entries for the virtual server:
virtual_server_name:shared_disk_path/var
virtual_server_name:shared_disk_path/NetBackup
virtual_server_name:shared_disk_path/VXDBMS_NB_DATA
1. Start the Catalog Backup Wizard or choose Actions > Configure offline NetBackup
Catalog Backup.
Refer to the NetBackup System Administrators Guide for more information.
2. When prompted to provide the pathnames to the catalog files, verify that there are
entries for each of the nodes to which NetBackup can failover.
The list must contain these entries for each node:
nodename:/usr/openv/var
Where nodename is the physical node name of that node and install_path is the
path where NetBackup is installed on the local drive.
What to Back Up
Back up the following to protect all data in the cluster, including file systems and
databases:
Local disks on each node. (See Backing Up Local Disks in a Cluster on page 86.)
All disks that attach to the shared SCSI bus. (See Backing Up the Shared Disks on
page 87.)
Virtual servers, which may contain data or contain database applications. Use
NetBackup database agents to back up databases. (See Backing Up Database Files in
a Cluster on page 88 and User Backups on page 88.)
In the Backup Selections list, add the ALL_LOCAL_DRIVES directive. Then add the
shared disks to the Exclude List for each client (or, for UNIX/Linux clients, create an
exclude list for the policy that performs backups of those clients). Adding the shared
disks to the Exclude List prevents the shared disks from being backed up with each
clients local disks.
For Windows 2000 or later, always include System_State:\ or Shadow Copy
Components:\ in the file list to back up the System State for each cluster node. In a
policy for an MSCS cluster, System_State:\ or Shadow Copy Components:\
will also back up the cluster quorum information.
Note At the time the backup is initiated, if the cluster resource that defines the virtual
server name of the cluster is controlled by one node of the cluster, while the cluster
resource that defines the shared disks is controlled by another node of the cluster,
the backup will fail. To prevent this condition, ensure that the virtual server name
and the shared disks are configured to failover together so that the same node
always controls them.
System State information is included in the backup of the nodes local disks, so it is
not necessary to include System_State:\ or Shadow Copy Components:\ in the
file list for this policy.
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. Because of this, it is usually easier and less
confusing to use scheduled backups rather than user backups to protect the data in the
cluster.
After completing configuration of storage devices, volumes, the catalog backup, and
backup policies, verify that NetBackup fails over properly in the cluster.
1. Confirm that the NetBackup is online on the primary node, then determine if the
following can be completed successfully:
scheduled backups
user-directed backups
NetBackup catalog backups
server- and user-directed restores
2. Switch the NetBackup resource group to another node and perform the same tests as
above. Repeat for each node in the cluster on which NetBackup is installed.
Note You must configure robots before performing the following instructions. Refer to
the NetBackup Installation Guide for instructions on configuring storage devices.
3. Choose a (Add).
2. Choose d (Delete).
2. Choose a (Add).
2. Choose d (Delete).
To monitor an add-on service and failover NetBackup when the add-on service fails
6. Click Apply.
7. Click OK.
3. In the right-hand pane, double-click on the resource you want to remove from
monitoring.
The properties for the resource are displayed.
6. Click Apply.
7. Click OK.
To monitor an add-on service and failover NetBackup when the add-on service fails
2. cd to install_path\NetBackup\bin.
2. cd to install_path\NetBackup\bin.
95
Performing User-Directed Backups Data in a Cluster
3. From the Source client list, select (or add) the desired node or virtual name.
2. In the Login dialog, enter the name of the client, either the node or the virtual client
name.
Note You must log in to the desired node or virtual client. You cannot specify a client
other than the local client in the Java interface.
Note Because of the multiple virtual names that refer to the same computer in a cluster
environment, it is possible for files to be backed up in the context of more than one
client name. Careful planning of policies should avoid this problem. However, still
remember that when restoring to a cluster, it may be necessary to browse more than
one client name and perform more than one restore to restore all of the files that you
need.
If you are using the Backup, Archive, and Restore interface on a NetBackup client that is
installed on a cluster, additional configuration steps may be necessary to restore files that
were backed up using the virtual server name. Since the Backup, Archive, and Restore
interface operates in the context of that clients name, you must perform an redirected
restore to restore the files on the shared disk that were backed up using the virtual server
name. NetBackup allows this redirected restore operation only if the necessary
configuration is performed on the NetBackup master server. This configuration consists of
creating the install_path\NetBackup\db\altnames or
/usr/openv/netbackup/db/altnames directory on the master server and adding
files. See the Managing Client Restores section of the NetBackup System Administrator's
Guide, Volume I.
There may be other situations that require the appropriate altnames directory entries to
be created on the master server. If while attempting to restore files from the client, the
operation fails with the error 131 client is not validated to use this server
message, you must set up the altnames directory to allow the operation to succeed. One
example is when the required interface parameter is set to a valid network name for the
client but it does not match the NetBackup client name parameter for that client. Note that
this may often be true for NetBackup clients in a cluster. Of course, using a server-directed
restore is always an option and avoids the need to set up the altnames directory.
Example
Assume the cluster virtual server name is TOE and the cluster node names are TIC and
TAC. Files on the shared disk must be backed up by a NetBackup policy that includes
TOE in the client list.
/usr/openv/netbackup/db/altnames/tic
/usr/openv/netbackup/db/altnames/tac
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 machines, choose
File > Specify NetBackup Machines. On UNIX/Linux machines, choose Actions >
Specify NetBackup Machines).
5. Browse the backed-up files by using the virtual server name (TOE) from the shared
disk and restore them as needed.
General Notes
If a NetBackup server fails over and there are backup jobs running, one of two things
will happen:
If Checkpoint Restart is enabled for backup jobs for the policy, any backups that
were running will be resumed at the last checkpoint, assuming that the schedule
window permits resuming the job.
If Checkpoint Restart is not enabled for backup jobs, any backup jobs that were
running will fail and show up as failed jobs in the Activity Monitor or NetBackup
reports. Regularly scheduled backup jobs are retried according to the normal retry
logic, assuming that the schedule window and so on permit the retry of the job.
After a failover occurs, the user must restart user-directed backups and manual
backups.
Refer to the NetBackup System Administrator's Guide, Volume I, for more information on
Checkpoint Restart.
After a failover occurs on a NetBackup failover server (master or media), it can take a
while for the tape devices and media servers to be reset to a point where they can be
used again by NetBackup. For example, a tape may have to be rewound before being
available. Until the device is again ready for use by NetBackup, you may see errors
such as 213 (no storage units available for use) or 219 (the required storage unit is
unavailable).
If you have the NetBackup Administration Console currently connected to a
NetBackup failover server, it may be necessary to refresh the interface after a failover
occurs.
99
Delay in Detecting of Loss of Connection (MSCS and VCS on Windows)
MSCS Clusters
This section describes items that should be noted before using NetBackup as a failover
server in a MSCS environment. In addition to what is covered here, refer to the
information above for further notes that are relevant to all cluster environments.
If there are no tape devices configured on the controlling node of the NetBackup
failover server, the NetBackup Device Manager service resource takes itself offline
since it is not needed. If you do not intend to configure tape devices for the
NetBackup failover server, you may want to delete the NetBackup Device Manager
service resource from the NetBackup group. This way you can avoid seeing the group
in a warning or failed state.
For MSCS clusters with three or more nodes, the MSCS Move Group command lists
all of the nodes in the cluster, not just the ones used for the NetBackup failover server.
You must pick a node that is valid for the NetBackup failover server to use. (MSCS
will display all nodes in the cluster, even those nodes on which NetBackup has not
been installed.)
Installation
To install NetBackup as a non-failover server
2. Continue with Configuring Non-Failover Media Servers for MSCS, VCS, Sun Cluster
or Service Guard or Configuring TruCluster to Use a Non-Failover NetBackup
Server.
103
Non-Failover Media Servers in a Cluster
to
/usr/openv/netbackup/bin/cluster/trucluster/caa_netbackup.orig
to
/usr/openv/netbackup/bin/cluster/trucluster/caa_netbackup
3. Remove the S77NetBackup and K77NetBackup scripts from rc0.d and rc2.d
directories, because the CAA facility is used to start and stop NetBackup.
4. In the script, add pointers to the start and stop scripts and to the daemon(s) to be
monitored (to determine if the application is active). The daemon to be monitored for
the media server is vmd. For the master server the daemons to monitor are vmd, bprd
and bpdbm. netbackup is the name used for the NetBackup application.
To start NetBackup services the script should call:
/usr/openv/netbackup/bin/goodies/netbackup start
5. Once the script is complete, a CAA profile must be made. Run the following
commands:
caa_profile -create netbackup -t application -a
This creates a profile that uses the completed script, names the application
netbackup, and restricts the operation of that application to the named node.
6. Assuming NetBackup has been installed, the application needs to be registered. Use
the following command.
caa_register profile_name
7. In the /etc/inetd.conf file, comment out the lines that define the NetBackup
listeners (bpcd, vnetd, vopied, bpjava).
8. Login to the node NetBackup will be running on (the restricted hostname specified in
step 5) and add the following lines for the NetBackup listeners to the
/etc/inetd.conf.local file.
bpcd stream tcp nowait root /usr/openv/netbackup/bin/bpcd bpcd
9. You can now start and stop NetBackup with the following commands:
caa_start profile_name
caa_stop profile_name
For example, with a caa registered profile named netbackup for NetBackup server,
the application you can start and stop NetBackup with the following commands:
caa_start netbackup
caa_stop netbackup
You should use the caa commands in place of the standard NetBackup start and stop
script. The standard script does not track which node the software is running on and
allows multiple instances of NetBackup within the cluster.
10. Continue with the configuration of NetBackup. Refer to the NetBackup Installation
Guide for information on configuring the NetBackup server software.
11. Install any NetBackup database agents and options you have purchased. Install the
agents and options as you would in a non-clustered environment. Refer to the
NetBackup guides for those agents or options.
1. Ensure a good backup of your cluster environment exists that includes the NetBackup
databases and catalogs.
2. On each node on which NetBackup is installed, install the NetBackup server software
on the local disk as you would in a non-cluster environment.
Follow the instructions for upgrading NetBackup on servers and clients as described
in the NetBackup Installation Guide.
1. Ensure a good backup of your cluster environment exists that includes the NetBackup
databases and catalogs.
5. In the /etc/inetd.conf file, make sure the NetBackup listeners (bpcd, vnetd,
vopied, bpjava) are commented out.
6. To turn off the NetBackup listeners, refresh the inetd daemon on all cluster nodes.
7. On the restricted node, verify that the NetBackup listeners (bpcd, vnetd, vopied,
bpjava) are included in the /etc/inetd.conf.local file.
To install the NetBackup client in a MSCS, VCS, Sun Cluster, or Service Guard
The NetBackup client is installed on a cluster just as it is in a non-clustered environment.
Refer to the NetBackup Installation Guide for information on installing the NetBackup
client. On Windows systems, if you have problems with name resolution when trying to
back up data on the cluster (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.
1. On Sun Cluster, make sure all of the additional disks are mounted.
109
110 NetBackup High Availability System Administrators Guide
NetBackup Media Server in a Cluster C
In a typical NetBackup environment, the storage unit is associated with a NetBackup
entity, such as the master or media server. In the configuration described in this chapter,
however, a storage unit is associated with the virtual name of the application in the cluster
environment. Because the storage unit for that application is not associated with any
specific node in the cluster, and can failover to any node in the cluster, this guarantees that
the storage unit will follow along with the application, wherever the application is
running in the cluster. The NetBackup Master server will use the virtual name of the
application as the media server name when backing up the clustered application.
This configuration is supported for VERITAS Cluster Server (VCS), Microsoft Cluster
Server (MSCS), Sun Cluster, and Service Guard.
111
Installation Prerequisites
Installation Prerequisites
The hardware must be supported by both the clustering technology and NetBackup.
For a list of NetBackup supported storage devices, visit http://support.veritas.com.
Also, refer to the documentation included with your clustering software.
Verify that storage devices have been properly installed and configured to work in the
cluster environment. Refer to the information on configuring storage devices in the
NetBackup Installation Guide.
An IP address and host name (virtual name) associated with each clustered
application.
Verify that your cluster (VCS, MSCS, or Sun Cluster) is correctly installed and
configured.
Verify that you have the NetBackup Enterprise Server 6.0 installation media and a
valid license key. You must also have a valid license key for the NetBackup Shared
Storage Option (SSO), if performing backups to tape.
Limitations
NetBackup configuration wizards cannot be used to perform this advanced
configuration for tape storage units.
You cannot use the NetBackup Administration Console to administer or create robotic
storage units assigned to a virtual name.
The storage units are reported as unavailable when attempting to administer them
from the NetBackup Administration Console.
Installation
Install the NetBackup media server software on each node in the cluster. See the
NetBackup Installation Guide for details.
Note Do not configure NetBackup media server as a failover application. The media
server will be treated as a stand-alone application on each node in the cluster.
Configuration
Storage units are configured differently depending on whether the storage is disk- or
tape-based. For tape backups, NetBackup uses SSO and a storage unit of the same name
on every machine.
Hub
Fibre Channel Switch
SCSI
Application 3
shared disk
1. Ensure NetBackup media server and the Shared Storage Option are installed and
configured on all nodes in the cluster.
2. On the master server, make the following changes to the Servers list.
Note For a UNIX/Linux environment, update the bp.conf file. For Windows, edit the
Servers list in the Host Properties for the server.
a. Run the following command to add a host with the virtual name of the
application cluster:
app_cluster
b. Run the following command to associate the host with each node on which the
application runs in the cluster:
nbemmcmd -updatehost -add_server_to_app_cluster -machinename
c. Repeat step b for each node on which the application can run.
4. On the each node where the media server is installed, make the following changes to
the Servers list.
5. (Recommended) Make the NetBackup Master server the EMM Server and the robotic
control host (this may not be possible in all configurations since not all robot types
have robot control option).
6. Using the Administration Console, create a 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.
Note It is best to allocate specific tape devices for this configuration, so storage units are
not over-commited. Also, tradeoffs need to be considered, such as creating storage
units for each application within the cluster and creating storage unit groups that
can be used by many applications.
Disk Storage
VERITAS recommends you use the NetBackup Administration Console to add disk
storage units, although you can also perform this task from the command line as well.
1. On the master server, make the following changes to the Servers list.
Note For a UNIX/Linux environment, update the bp.conf file. For Windows, edit the
Servers list in the Host Properties for the server.
a. Run the following command to add a host with the virtual name of the
application cluster:
nbemmcmd -addhost -machinename virtual_name -machinetype
app_cluster
b. Run the following command to associate the host with each node on which the
application runs in the cluster:
nbemmcmd -updatehost -add_server_to_app_cluster -machinename
c. Repeat step b for each node on which the application can run.
3. On the each node where the media server is installed, make the following changes to
the Servers list.
4. Using the Administration Console, create a disk storage unit for each application.
Specify the virtual name of the application as media server name for the storage unit.
5. To back up each application, create a policy that specifies the storage unit you created
in step 4 for that application.
1. Ensure a good backup of your cluster environment exists that includes the NetBackup
databases and catalogs.
2. On each node on which NetBackup media server is installed, install the software on
the local disk as you would in a non-cluster environment.
Follow the instructions for upgrading as described in the NetBackup Installation Guide.
a. Run the following command to add a host with the virtual name of the
application cluster:
app_cluster
b. Run the following command to associate the host with each node on which the
application runs in the cluster:
nbemmcmd -updatehost -add_server_to_app_cluster -machinename
c. Repeat step b for each node on which the application can run.
NAME
bpclusterutil - Modify and configure NetBackup in a Windows cluster.
SYNOPSIS
install_path\NetBackup\bin\bpclusterutil [-a Service Name]
install_path\NetBackup\bin\bpclusterutil
-r CLUSTERGROUPNAME
-r CLUSTERNAME clustername
-r CLUSTERTYPE MSCS|VCS
-r GLOBDBHOST nodename
-r MONITOREDSERVICES servicename
-r NETBACKUPINSTALLPATH path
-r NETBACKUPSHAREDDRIVE drive:
-r NETBACKUPTYPE MASTER|MEDIA
-r NODENAMES nodename
119
-r VIRTUALIPADDRESS ip address
install_path\NetBackup\bin\bpclusterutil
DESCRIPTION
This command is available on NetBackup master and media servers and is only applicable
to clusters in a Windows environment. It allows the user to set up the registry entries used
for cluster configuration and then to configure the cluster. This command only modifies
registry entries on the local node.
OPTIONS
-a Service Name
Adds a node name to the possible owners list of all the resources in the
NetBackup group.
-c
CLUSTERNAME clustername
CLUSTERTYPE MSCS|VCS
GLOBDBHOST nodename
MONITOREDSERVICES servicename
NETBACKUPSHAREDDRIVE drive:
NETBACKUPTYPE MASTER|MEDIA
NODENAMES nodename
If NODENAMES is specified, only one node name can be entered. Run the
command multiple times to add node names.
VIRTUALIPADDRESS ip address
Dependencies
In the sample configuration shown in the dependency graph below, the shared disk group
is configured using the VMDg agent. The MountV mount point is created using the
MountV agent. The service group IP address for NetBackup is configured using the IP and
NIC resource types. The NetBackup resource starts after each of these resources is brought
online.
NetBackup
Lanman MountV
IP VMDg
NIC
123
Agent Functions
Agent Functions
Specific agent operations include:
State Definitions
ONLINE. Indicates the configured site or application pool is available.
OFFLINE. Indicates the configured site or application pool is not available.
UNKNOWN. Indicates the agent could not determine the status of the resource.
MonScript}
str ServerName
str RobotDaemon
str MonScript
Attribute Definitions
Review the following information to familiarize yourself with the required agent
attributes for a NetBackup resource type. This information will assist you during the
agent configuration.
Sample Configuration
NetBackup Nbu_NetBackup (
ServerName = "NBUVIRTSRVR"
Additional Monitoring
Additional monitoring capabilities are available for add-on products. Refer to
Configuring Add-Ons for Monitoring (VCS for Windows) on page 92.
Appendix E, NetBackup Agent for VERITAS Cluster Server for Windows 125
Additional Monitoring
Agent Functions
Specific agent operations include:
Monitor Scans the process table for vmd, bprd, and bpdbm, etc. The specific
processes to be monitored can be configured using the cluster
configuration utility. The agent provides two levels of application
monitoring: basic and detailed (in-depth). See Additional Monitoring on
page 128 for more information.
127
Detecting an Application Failure
Additional Monitoring
Additional monitoring capabilities are available for robots and add-on products. Refer to
the Configuring Robotic Daemons for Monitoring (UNIX/Linux Clusters) on page 90
and Configuring Add-Ons for Monitoring (UNIX/Linux Clusters) on page 91.
A cluster_mvnbdb 109
altnames directory 97
cmrunpkg 75
cmviewcl 75
B
compatibility lists 4
backup policies 86
configuration, of NetBackup 79
backups
and failovers 99
server list 79
of shared disks 87
user-directed 96
verifying 89
C
agents supported in a cluster 3
caa_profile 22
protected in a cluster 1
caa_start 22
device configuration
caa_stop 22
catalog backups
cold backups
guidelines 80
Guard 81
hot backups 83
Checkpoint Restart 99
CLIENT_NAME 79
cluster solutions
failover master servers 2
supported 3
failover media servers 2
129
K installing in a MSCS 9, 50
performing 96
T
robotic daemons, monitoring on
tpconfig 81
UNIX/Linux clusters 90
TruCluster 108
robotic libraries 80
SCSI Reservations 5
caa_profile 22
scstat 67
caa_stop failures 22
server list 79
device configuration 82
for clients 79
device paths 80
storage units
installing a NetBackup failover
server 80
installing the NetBackup client 108
servers 87
for a non-failover server 104
servers 87
monitoring robotic daemons 90
Sun Cluster
NetBackup database agents
backups in a 86, 96
installing on a failover server 27
device configuration 81
installing on a non-failover
hardware requirements 60
server 105
installation notes 61
installing on a failover server 27
installation prerequisites 60
installing on a non-failover
upgrading 63
restores in a 96
upgrading 63
U
NetBackup resource group
verifying it is online 67
restores in a 96
V
rsh equivalency 60
Vault, supported in a cluster 3
Index 131
See also the VERITAS Cluster Server supported NetBackup agent for 45
backups in a 86, 96
virtual name for NetBackup 32
bpclusterutil 52
VERITAS Cluster Server (VCS) for
Clean 127
Windows 2000/2003
cluster_config 41
backups in a 86, 96
cluster_config 42
bpclusterutil 119122
hardware requirements 32
detailed monitoring 5457
installation notes 41
detecting an application failure 123
Monitor 127
loss of connection, to NetBackup
128
Monitor 48, 124
installing 4344
NetBackup failover media server 50
Offline 127
requirements 49
Online 127
restores in a 96
pre-installation checklist 33
upgrading a failover server 53
AIX 3638
VCS agent supported 41
HP-UX 3940
virtual name for NetBackup 49
restores in a 96
and backups 87
132
NetBackup High Availability System Administrators Guide