Professional Documents
Culture Documents
N102678
NetBackup_AdminGuide_HighAvailability.book Page ii Friday, October 24, 2003 12:04 PM
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
ACE 5.2A: ACE(TM) is copyrighted by Douglas C.Schmidt and his research group at Washington University and University of California, Irvine,
Copyright (c) 1993-2002, all rights reserved.
IBM XML for C++ (XML4C) 3.5.1: Copyright (c) 1999,2000,2001 Compaq Computer Corporation; Copyright (c) 1999,2000,2001 Hewlett-Packard
Company; Copyright (c) 1999,2000,2001 IBM Corporation; Copyright (c) 1999,2000,2001 Hummingbird Communications Ltd.; Copyright (c)
1999,2000,2001 Silicon Graphics, Inc.; Copyright (c) 1999,2000,2001 Sun Microsystems, Inc.; Copyright (c) 1999,2000,2001 The Open Group; All
rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished to do so, provided that the above copyright notice(s) and this
permission notice appear in all copies of the Software and that both the above copyright notice(s) and this permission notice appear in supporting
documentation.
This product includes software developed by the Apache Software Foundation (http://www.apache.org/).
JacORB 1.4.1: The licensed software is covered by the GNU Library General Public License, Version 2, June 1991.
Open SSL 0.9.6: This product includes software developed by the OpenSSL Project * for use in the OpenSSL Toolkit. (http://www.openssl.org/)
TAO (ACE ORB) 1.2a: TAO(TM) is copyrighted by Douglas C. Schmidt and his research group at Washington University and University of
California, Irvine, Copyright (c) 1993-2002, all rights reserved.
NetBackup_AdminGuide_HighAvailability.book Page iii Friday, October 24, 2003 12:04 PM
Contents
NetBackup Release 5.0 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
What Is In This Manual? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xii
Getting Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
NetBackup Manuals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
Accessibility Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
v
NetBackup_AdminGuide_HighAvailability.book Page vi Friday, October 24, 2003 12:04 PM
Contents vii
NetBackup_AdminGuide_HighAvailability.book Page viii Friday, October 24, 2003 12:04 PM
Appendix B. bpclusterutil . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .103
Contents ix
NetBackup_AdminGuide_HighAvailability.book Page x Friday, October 24, 2003 12:04 PM
Preface
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). For
information about NetBackup, refer to the NetBackup System Administrator's Guide for
Windows, Volume I, and NetBackup System Administrator's Guide for UNIX, Volume I.
This guide is intended for the NetBackup system administrator responsible for
configuring NetBackup. A system administrator is a person with system administrator
privileges and responsibilities. This guide assumes:
◆ A basic understanding of Windows and UNIX system administration.
◆ A working understanding of the NetBackup for Windows and UNIX client software.
◆ A working understanding of the NetBackup for Windows and UNIX server software.
◆ A familiarity with the information covered in the following NetBackup manuals:
◆ NetBackup System Administrator’s Guide for UNIX or NetBackup System
Administrator’s Guide for Windows.
◆ NetBackup Troubleshooting Guide for UNIX and Windows.
◆ A working understanding of your cluster software.
xi
NetBackup_AdminGuide_HighAvailability.book Page xii Friday, October 24, 2003 12:04 PM
Getting Help
Getting Help
Use the VERITAS Technical support web site to get help for NetBackup if you have
questions.
2. Click the Phone Support icon. A page that contains VERITAS support numbers from
around the world appears.
Preface xiii
NetBackup_AdminGuide_HighAvailability.book Page xiv Friday, October 24, 2003 12:04 PM
NetBackup Manuals
2. Click the E-mail Support icon. A brief electronic form will appear and prompt you to:
◆ Select a language of your preference
◆ Select a product and a platform
◆ Associate your message to an existing technical support case
◆ Provide additional contact and product information, and your message
NetBackup Manuals
The following manuals, along with the online help, comprise the NetBackup
documentation set. For a more detailed listing of NetBackup documents, refer to
NetBackup Release Notes for UNIX and Windows.
If you have a UNIX server, refer to these documents:
◆ VERITAS NetBackup System Administrator's Guide for UNIX, Volume I
NetBackup_AdminGuideI_UNIXServer.pdf
Explains how to configure and manage NetBackup on a UNIX server, including
managing storage units, backup policies, catalogs and host properties.
◆ VERITAS NetBackup System Administrator's Guide for UNIX, Volume II
NetBackup_AdminGuideII_UNIXServer.pdf
Explains additional NetBackup features such as notify scripts, enhanced
authorization and authentication, and role-based security. The guide also discusses
using NetBackup with AFS, Intelligent Disaster Recovery (IDR), and the BE Tape
Reader.
◆ NetBackup Media Manager System Administrator’s Guide for UNIX
Explains how to configure and manage the storage devices and media on UNIX
NetBackup servers. Media Manager is part of NetBackup.
◆ VERITAS NetBackup Commands for UNIX
NetBackup_Commands_UNIX.pdf
Describes NetBackup and Media Manager commands and processes that can be run
from a UNIX command line.
NetBackup Manuals
Preface xv
NetBackup_AdminGuide_HighAvailability.book Page xvi Friday, October 24, 2003 12:04 PM
Accessibility Features
Glossary
If you encounter unfamiliar terminology, consult the NetBackup online glossary. The
glossary contains terms and definitions for NetBackup and all additional NetBackup
options and agents.
The NetBackup online glossary is included in the NetBackup help file.
1. In the NetBackup Administration Console (or from the Backup, Archive, and Restore
client interface), click Help > Help Topics.
3. Double-click Glossary.
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 System Administrator’s Guide, Volume I.
Conventions
The following section explains typographical and other conventions used in this guide.
Product-Specific Conventions
The following term is used in the NetBackup documentation to increase readability while
maintaining technical accuracy.
Conventions
Typographical Conventions
Here are the typographical conventions used throughout the manuals:
Conventions
Convention Description
GUI Font Used to depict graphical user interface (GUI) objects, such as fields,
listboxes, menu commands, and so on. For example: Enter your
password in the Password field.
Italics Used for placeholder text, book titles, new terms, or emphasis. Replace
placeholder text with your specific text. For example: Replace filename
with the name of your file. Do not use file names that contain spaces.
This font is also used to highlight NetBackup server-specific or operating
system-specific differences. For example: This step is only applicable for
NetBackup Enterprise Server.
Code Used to show what commands you need to type, to identify pathnames
where files are located, and to distinguish system or application text that
is displayed to you or that is part of a code example.
Key+Key Used to show that you must hold down the first key while pressing the
second key. For example: Ctrl+S means hold down the Ctrl key while
you press S.
You should use the appropriate conventions for your platform. For example, when
specifying a path, use backslashes on Microsoft Windows and slashes on UNIX.
Significant differences between the platforms are noted in the text.
Preface xvii
NetBackup_AdminGuide_HighAvailability.book Page xviii Friday, October 24, 2003 12:04 PM
Conventions
Tips, notes, and cautions are used to emphasize information. The following samples
describe when each is used.
Note Used for important information that you should know, but that shouldn’t cause any
damage to your data or your system if you choose to ignore it.
Caution Used for information that will prevent a problem. Ignore a caution at your own
risk.
Command Usage
The following conventions are frequently used in the synopsis of command usage.
brackets [ ]
The enclosed command line component is optional.
Vertical bar or pipe (|)
Separates optional arguments from which the user can choose. For example, when a
command has the following format:
command arg1|arg2
In this example, the user can use either the arg1 or arg2 variable.
❖ Select Start > Programs > VERITAS NetBackup > NetBackup Administration
Console.
The corresponding actions could be described in more steps as follows:
Conventions
4. Move your cursor to the right. First highlight and then click NetBackup
Administration Console.
Preface xix
NetBackup_AdminGuide_HighAvailability.book Page xx Friday, October 24, 2003 12:04 PM
Conventions
1
NetBackup_AdminGuide_HighAvailability.book Page 2 Friday, October 24, 2003 12:04 PM
When you install a NetBackup failover media server, you assign NetBackup a virtual
server name/IP address resource and a shared disk resource. Note that the network name
and IP address must be unique and set up in your name resolution configuration prior to
setting up a NetBackup failover server.
The virtual server name is used in the NetBackup storage unit and added to the server list
of any NetBackup clients to be backed up to this media server. When a failover occurs,
backup jobs that were running are rescheduled by using the normal NetBackup retry logic
for a failed backup. The NetBackup services are restarted on another node and backup
processing resumes.
Yet another approach is to install a NetBackup master server on the cluster as a virtual
server application. This is called a NetBackup failover master server and as the name
implies, allows the duties of the master server to failover from one of the nodes to the
other if a failure occurs on the active node. This provides high availability of the
NetBackup master server itself.
As with a NetBackup failover media server, when you install a NetBackup failover master
server, you assign it a network name resource (the virtual server name), an IP address
resource, and a disk resource. Note that the network name and IP address must be unique
and set up in your name resolution configuration prior to setting up a NetBackup failover
server.
The virtual server name is used as the name of the master server for all media servers and
clients using this master server. As above, when a failover occurs, backup jobs that were
running are rescheduled using the normal NetBackup retry logic for a failed backup. The
NetBackup services are restarted for the failover node and processing resumes.
Both types of NetBackup failover servers, master and media, operate in an active/passive
failover configuration. The active node and the passive (or failover node) must be the
same type of server, master or media. Mixing the two server types in the same failover
server configuration is not supported. For example, a master server on one node cannot
failover to a media server on another node.
Specific details of how NetBackup runs in a cluster vary depending on the configuration
you use in the cluster. (For information about the supported configurations and their
specific requirements, see “Additional Configurations for NetBackup and Clusters” on
page 93.)
VERITAS Cluster Server on Windows “NetBackup in VERITAS Cluster Server on Windows NT”
NT on page 29
VERITAS Cluster Server 2.0 on “NetBackup in VERITAS Cluster Server on Windows 2000”
Windows 2000 on page 43 and the VERITAS Cluster Server Enterprise
Agent 2.2 for NetBackup Installation and Configuration
Guide
2. In the left margin of the VERITAS Support page, choose Compatibility Lists. The
Online Compatibility Lists page appears.
3. From the Product List, choose +NetBackup Products. The list refreshes showing a list
of NetBackup products.
4. Choose a NetBackup product. This page contains various links to supported platform
lists.
Shared Disks
Shared Tape
Private Network
LAN
7
NetBackup_AdminGuide_HighAvailability.book Page 8 Friday, October 24, 2003 12:04 PM
Installation Prerequisites
Installation Prerequisites
❏ Verify all hardware (used for nodes) is supported by MSCS and NetBackup. For a list
of supported storage devices, see the NetBackup Release Notes for UNIX and Windows
and 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 for Windows.
❏ Verify that Microsoft Cluster Server is correctly installed and configured (all versions
are supported with NetBackup 5.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 OS commands, that all the devices are connected properly. Refer to the Media
Manager Device Configuration Guide for UNIX and Windows.
❏ Using Cluster Administrator, verify that the Possible Owners list for each disk
resource used by NetBackup includes each node to which NetBackup can failover.
❏ Verify you have the NetBackup Enterprise Server 5.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 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.
◆ Once NetBackup has been configured 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.
Follow the instructions for installing NetBackup in a clustered environment as
described in the NetBackup Installation Guide for Windows.
2. Add licenses for any NetBackup agents or options (note that some agents and options
require a separate installation). See the appropriate NetBackup documentation for the
agent or option for installation and configuration instructions.
4. When you have completed configuration of NetBackup, verify that NetBackup can
fail over properly in the cluster. Refer to “Verifying NetBackup Configuration” on
page 79.
Note 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, the bpclusterutil command may be used perform this step. The
“bpclusterutil -c” command runs the cluster configuration step performed by
installation. Using the -a option with the appropriate option name configures the
NetBackup option in a cluster. This command can be run multiple times. Only run
this command from the active node. See the Appendix “bpclusterutil” on page 99
for more information.
Note By default, NetBackup options (such as NetBackup Advanced Reporter) will not
cause NetBackup to failover if they fail. NetBackup options can be configured to
failover NetBackup if a daemon or the option fails. For more information, see
“Configuring Add-ons for Monitoring in a MSCS Environment” on page 81.
2. Install the NetBackup Media Server software on each desired node in the cluster.
Refer to the NetBackup Installation Guide for Windows for instructions.
3. Configure each NetBackup media server. Refer to the following manuals for
information on configuring media servers:
◆ NetBackup Installation Guide for Windows
◆ NetBackup Media Manager System Administrator's Guide for Windows
◆ NetBackup System Administrator's Guide for Windows, Volume I
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.
Restoring the quorum to a node that is running Active Directory or to a node that is
currently a domain controller, requires additional steps not listed here. If Active Directory
is running on the target server or the target server is currently a domain controller, see
“Restoring Cluster Quorum to Windows 2000 Node With Directory Services” on page 12.
1. From the NetBackup Backup, Archive, and Restore interface, select the backup image
(or range of images) that contains the backup of the System State for this node of the
cluster. Then, select the node of the tree labeled System_State as the directory to be
restored. For details, see the section on performing restores in the NetBackup User’s
Guide for Windows.
2. If the disk where cluster quorum previously resided has been changed (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.), you may have to
set the registry entry described above to force the restore to continue. This allows 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.
4. 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, whichever is appropriate.
▼ To restore the cluster quorum to a node running Active Directory or that is currently
a domain controller
1. From the NetBackup Backup, Archive, and Restore interface, select the backup image
(or range of images) that contains the backup of the System State for this node of the
cluster. Then, select the node of the tree labeled System_State as the directory to be
restored. For details, see the section on performing restores in the NetBackup User’s
Guide for Windows.
2. Exclude the cluster quorum from being restored with System State at this time by
expanding the System_State node and deselecting the Cluster_Database node of the
tree.
3. Continue the restore operation by following the steps on performing restores in the
NetBackup User’s Guide for Windows.
4. 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.
6. In the NetBackup Backup, Archive, and Restore interface, expand the System_State
node and select only the Cluster_Database node.
7. 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 allows 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.
8. Continue the restore operation by following the steps in the section on performing
restores in the NetBackup User’s Guide for Windows.
10. When the restore operation is complete, use the 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 Windows, including the last service
pack applied before the failure.
2. Install any other drivers or applications in order to get the node operational.
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 caution.
5. Reinstall the same NetBackup software on the cluster that was installed before the
failure. For details, see the earlier sections that describe installing a NetBackup client
or media server on a cluster, whichever applies.
8. If you must restore a database to the shared drives, see the system administrator’s
guide for your database agent to continue the restore.
17
NetBackup_AdminGuide_HighAvailability.book Page 18 Friday, October 24, 2003 12:04 PM
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.
Prerequisites
❏ Verify all hardware (used for nodes) is supported by TruCluster and NetBackup. For
a list of supported storage devices, see the NetBackup Release Notes for UNIX and
Windows and the TruCluster documentation.
❏ Verify that TruCluster 5.1a or 5.1b is correctly installed and configured.
❏ (Failover server only) Set up a virtual name for NetBackup in NIS, DNS or
/etc/hosts. This hostname will be used as a logical hostname during the
NetBackup installation and configuration of the cluster. It will not be assigned to any
physical node, but will be attached to the NetBackup application resource, allowing
NetBackup to failover to the appropriate node during the failover process.
❏ (Failover server only) 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 and configuration of the NetBackup server and any NetBackup 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 OS commands, that all the devices are connected properly. Refer to the Media
Manager Device Configuration Guide for UNIX and Windows.
❏ Verify you have the NetBackup Enterprise Server 5.0 installation media and a valid
license key.
Installation Instructions
The NetBackup server software (master or media) can be installed on any node in the
cluster. Follow the instructions for installing NetBackup Server software as described in
the NetBackup Installation Guide for UNIX.
For a non-failover NetBackup server, specify the specific node name as the server name
during installation. For a failover NetBackup server, specify the cluster alias as the server
name during installation.
Note When the NetBackup is installed in a cluster as a failover server, the NetBackup
client will only run on the node that is also running the NetBackup server.
2. For the TruCluster NetBackup service/profile name, indicate a new name for this
configuration.
4. 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.
◆ If the information is incorrect, choose No, and the configuration script will start
back at the beginning.
◆ If the information is correct, choose Yes.
The script will:
◆ Create and register a CAA profile for the Netbackup application.
◆ Create and register a cluster alias (if a new alias was specified).
◆ Remove the S77NetBackup and K77NetBackup scripts from
/sbin/rc0.d and /sbin/rc2.d directories.
◆ Update the bp.conf and vm.conf files.
◆ Start the NetBackup server.
6. At this point the application can be started and stopped with the following
commands:
caa_start profile_name
caa_stop profile_name
Note If you have installed a NetBackup failover media server then you must manually
start Media Manager daemons. Start the daemons with the caa_start command.
The caa commands must be used in place of the standard NetBackup start and stop
script which does not track which node the software is running on and will allow
multiple instances of NetBackup within the cluster.
For example, with caa registered profile named “netbackup” for NetBackup server,
the application can be started and stopped with the following commands:
caa_start netbackup
caa_stop netbackup
9. When you have completed configuration of NetBackup, verify that NetBackup can
failover properly in the cluster. Refer to “Verifying NetBackup Configuration” on
page 79.
Tips
◆ By default, NetBackup will attempt to complete a backup job 2 times (within 12
hours) before allowing the job to fail. It is possible that scheduler attempts may be
exhausted before the failover of the NetBackup Media Server can be completed. If this
happens, increase the Scheduled Backup Attempts setting to 5 or 6. This problem can
also be avoided by setting the Wakeup Interval setting to a lower value.
◆ The Wakeup Interval setting should be set lower to increase the likelihood that
NetBackup will be able to initiate all scheduled backups.
◆ 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 “vmps” 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.
5. Verify that NetBackup can failover properly in the cluster. Refer to “Verifying
NetBackup Configuration” on page 79.
3. In the vm.conf:
◆ Verify that any MM_SERVER_NAME or 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.
4. Install NetBackup 5.0. Follow the instructions for “Upgrading NetBackup on UNIX
Servers and Clients” as described in the NetBackup Installation Guide for UNIX.
7. Verify that NetBackup can failover properly in the cluster. Refer to “Verifying
NetBackup Configuration” on page 79.
3. Remove the S77NetBackup and K77NetBackup scripts from rc0.d and rc2.d
directories, since the CAA facility will be 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
command:
caa_profile -create netbackup -t application -a
/usr/openv/netbackup/bin/cluster/trucluster/caa_netbackup -p restricted -h <name of the host
the software is to run on>
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 NetBackup listener lines to the
/etc/inetd.conf.local file.
bpcd stream tcp nowait root /usr/openv/netbackup/bin/bpcd bpcd
vnetd stream tcp nowait root /usr/openv/bin/vnetd vnetd
vopied stream tcp nowait root /usr/openv/bin/vopied vopied
bpjava-msvc stream tcp nowait root /usr/openv/netbackup/bin/bpjava-msvc bpjava-msvc -transient
9. At this point the application can be started and stopped with the following
commands:
caa_start profile_name
caa_stop profile_name
The caa commands should be used in place of the standard NetBackup start and stop
script which does not track which node the software is running on and will allow
multiple instances of NetBackup within the cluster.
For example, with caa registered profile named “netbackup” for NetBackup server,
the application can be started and stopped with the following commands:
caa_start netbackup
caa_stop netbackup
10. Continue with the configuration of NetBackup. Refer to the NetBackup Installation
Guide for UNIX for information on configuring the NetBackup server software.
11. Install any NetBackup agents and options you have purchased. Install agents and
options as you would in a non-clustered environment. Refer to the NetBackup guides
for those agents or options.
4. In the /etc/inetd.conf file, make sure the NetBackup listeners (bpcd, vnetd,
vopied, bpjava) are commented out.
5. To turn off the NetBackup listeners, refresh the inetd daemon on all cluster nodes.
6. For each node on which NetBackup is installed, verify that the NetBackup listeners
(bpcd, vnetd, vopied, bpjava) are included in the /etc/inetd.conf.local
file.
29
NetBackup_AdminGuide_HighAvailability.book Page 30 Friday, October 24, 2003 12:04 PM
Installation Prerequisites
Installation Prerequisites
This section contains information to the requirements that must be met prior to installing
and configuring the VCS Enterprise Agent for NetBackup and the NetBackup server in a
VCS environment.
❏ Verify that your hardware is supported by VCS 1.2.1 and NetBackup 5.0. For a list of
supported storage devices, see the VERITAS Cluster Server System Administrator’s
Guide and the NetBackup Release Notes for UNIX and Windows.
❏ 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 for Windows.
❏ Verify that you have correctly installed and configured VCS 1.2.1. NetBackup can be
installed on as many nodes as VCS 1.2.1 supports. Follow the steps in the VERITAS
Cluster Server Installation Guide.
❏ Verify that VCS Cluster Manager is installed. Refer to the VERITAS Cluster Server
Installation Guide for more information.
❏ Verify that you have an IP address and host name to be assigned to the NetBackup
resource in VCS.
❏ Verify that you have the installation media for the VCS Enterprise Agent for
NetBackup, version 1.2.1.
❏ 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 for UNIX and Windows.
❏ Verify you have the NetBackup Enterprise Server 5.0 installation media and a valid
license key.
Limitations
NetBackup add-on options and database agents are not supported in a VCS for Windows
NT environment.
3. Click Next.
4. From the Available Nodes text box, select the systems on which to install the agent.
5. Click Add. (Click Add All to install the agent on each system in the cluster.)
6. Click Next.
7. Review the current settings and click Next to proceed or Back to correct an entry.
10. After the installation is complete, continue with the next section, “Installing
NetBackup Server.”
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 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.
◆ After installing NetBackup 5.0, the CLUSTER_NAME and MM_SHARED_MISC registry
entries must be added as described in “Configuring NetBackup for the VCS
Enterprise Agent 1.2.1” on page 38
Installation Instructions
To install a NetBackup Server in on a VERITAS Cluster Server, follow these steps for each
of the nodes in the NetBackup service group.
Note When prompted for the name of the server, use the server node name.
5. When prompted to choose the Installation Type, choose Install to this computer only.
7. In the NetBackup Services screen, clear the Start NetBackup Server Services After
Install box.
Note Do not launch the NetBackup Administration Console, start the NetBackup
services, configure any devices or storage units, or run the Getting Started wizard at
this time.
8. Once the NetBackup installation is complete for the node, add the path of the
NetBackup executables to the Path variable of the “system” environment variables.
For example, if NetBackup is installed on C:\Program
Files\VERITAS\NetBackup\bin, add this path to the Path variable.
10. After the installation is complete, continue with the next section, “Configuring the
VCS Enterprise Agent 1.2.1 for NetBackup.”
1. Obtain the necessary Shared Disk information (used for step 17).
b. Make sure the disk is not assigned a drive letter on any of the nodes on which
NetBackup was installed (use Disk Administrator, on each node).
6. Click Next.
8. From the Available Systems list, select the systems to which the NetBackup service
can failover.
9. Click the right arrow to include the selected systems in the service group.
The systems added to the service group are listed in Systems for Service Group list.
Note Do not make a system a part of the AutoStartList. Make sure the Start-up box in the
Systems for Service Group list is not selected.
12. In the “Would you like the service group to be based on a template?” window, click
Next.
13. Select the NetBackupGroup template from the list of available templates, then click
Next.
14. If any service group or resource names conflict with existing names, the wizard
prompts you with alternate names. You can use the suggested alternates, or enter
different ones. Click Next.
15. The wizard informs you that it is ready to create the service group based on the
selected template. Click Next.
The wizard shows a progress bar indicating service group creation.
DiskRes Disks 0
Signatures 2822641176
IP AdapterName N1001
Address 10.80.101.61
SubNetMask 255.255.248.0
Mount DriveLetter F
Note The drive letter assigned must not be in-use by any
disk on any node in the cluster
PartitionNo 1 - default
Signature 2822641176
18. When you have completed configuring the resources, click Finish.
19. From the left pane of the window, select the newly created service group.
21. Right-click on the service group and select Enable, and then the system where you
want to enable the service group.
23. On the primary node, bring the NetBkup_LanMan and NetBkup_Mount resources
online. This is where you will begin your NetBackup configuration.
24. Freeze the service group. (Right-click on the service group and select Freeze >
Temporary.)
25. After the installation is complete, continue with the next section, “Configuring
NetBackup for the VCS Enterprise Agent 1.2.1.”
1. Make sure that the NetBackup service group is in Temporary Freeze state (step 24,
previous procedure).
2. From the primary node, run the Setup wizard by executing the nbuvcs.exe
program located in the VCS_HOME\bin\NetBackup directory. By default,
VCS_HOME is C:\Program Files\VERITAS\Cluster Server\
This wizard guides you through the rest of the installation.
4. Select the available nodes containing NetBackup and add them to the Selected Nodes
list. Click Next.
5. Enter the virtual server name and the full path to a directory on the shared disk and
click Next.
Note This server name should match the name entered for the VirtualName of the
LanMan resource and the ServerName attribute of the NetBackup resource.
Note This path name should match the drive letter specified in the Mount resource.
6. Review the attributes for the NetBackup failover server on the NetBackup VCS Setup
Summary screen. Click Next.
10. Change the AutoStartList attribute to allow the service group to start automatically.
a. Select a group from the left pane window and then select the Attributes tab in the
right pane to display the attributes.
d. From the Edit Attribute window, add an entry for the primary node.
e. Click OK.
11. When performing an upgrade of NetBackup 4.5 to NetBackup 5.0, edit the Windows
registry as follows:
12. Verify that NetBackup can fail over properly in the cluster. Refer to “Verifying
NetBackup Configuration” on page 79.
2. Unfreeze the service group. (Right-click on the service group and select Unfreeze >
Temporary.)
3. Using the Switch command in the VERITAS Cluster Manager, move control of the
NetBackup group to the another node in the group.
4. Freeze the service group. (Right-click on the service group and select Freeze >
Temporary.)
5. Repeat step 1 through step 4 for each node on which NetBackup was installed.
Note The Media and Device Management utility shows the devices that are configured
for the node that controls the NetBackup group. By using the Switch command in
the VERITAS Cluster Manager to move control of the NetBackup group from one
node to the other, you can examine the device configuration for each node.
43
NetBackup_AdminGuide_HighAvailability.book Page 44 Friday, October 24, 2003 12:04 PM
Installation Prerequisites
Installation Prerequisites
This section contains information to the requirements that must be met prior to installing
and configuring the VCS Enterprise Agent for NetBackup and the NetBackup server in a
VCS environment.
❏ Verify that your hardware is supported by VCS 2.0 and NetBackup 5.0. For a list of
supported storage devices, see the VERITAS Cluster Server System Administrator’s
Guide and the NetBackup Release Notes for UNIX and Windows.
❏ 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 for Windows.
❏ Verify that you have correctly installed and configured VCS 2.0. NetBackup can be
installed on as many nodes as VCS 2.0 supports. Follow the steps in the VERITAS
Cluster Server Installation Guide.
❏ Verify that VCS Cluster Manager is installed. Refer to the VERITAS Cluster Server
Installation Guide for more information.
❏ Verify that you have an IP address and host name to be assigned to the NetBackup
resource in VCS.
❏ Verify that you have the installation media for the VCS Enterprise Agent for
NetBackup, version 2.0 or later.
❏ 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 for UNIX and Windows.
❏ Verify you have the NetBackup Enterprise Server 5.0 installation media and a valid
license key.
Limitations
NetBackup options and database agents are not supported in a VCS 2.0 environment.
Post-Installation Configuration
If you did not install the VCS Enterprise Agent 2.2 for NetBackup when performing an
upgrade of NetBackup 4.5 to NetBackup 5.0, you must edit the registry as follows.
Post-Installation Configuration
47
NetBackup_AdminGuide_HighAvailability.book Page 48 Friday, October 24, 2003 12:04 PM
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 48 for more information.
Additional Monitoring
Additional monitoring capabilities are available for robots and add-on products. Refer to
the “Configuring Robotic Daemons for Monitoring (VCS for UNIX, TruCluster, or Sun
Cluster)” on page 79 and “Configuring Add-ons for Monitoring” on page 80.
Installation Prerequisites
Installation Prerequisites
❏ Verify that your hardware is supported by both VCS and NetBackup. For a list of
supported storage devices, see the NetBackup Release Notes for UNIX and Windows and
the VCS documentation.
❏ Verify that VCS 2.1 or later 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.
❏ Set up a virtual name for NetBackup in NIS, DNS or /etc/hosts. This hostname
will be used as a logical hostname during the NetBackup installation and
configuration of the cluster. It will not be assigned to any physical node, but will be
attached to the NetBackup application resource, allowing NetBackup to failover to the
appropriate node during the failover process.
❏ 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 and configuration of the NetBackup server and
any NetBackup 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 OS commands, that all the devices are connected properly. Refer to the Media
Manager Device Configuration Guide for UNIX and Windows.
❏ Verify you have the NetBackup Enterprise Server 5.0 installation media and a valid
license key.
IP Address: __________________________________
__________________________________ __________________________________
__________________________________ __________________________________
__________________________________ __________________________________
__________________________________ __________________________________
StartVolumes: ________________________ (0 or 1)
StopVolumes: ________________________ (0 or 1)
Mount Resource
Mount Resource
StartVolumes: ________________________ (0 or 1)
StopVolumes: ________________________ (0 or 1)
Volume Resource:
Mount Resource
LVMVG Resource:
Mount Resource:
Mount Resource:
StartVolumes: _______________________ (0 or 1)
StopVolumes: _______________________ (0 or 1)
Volume Resource:
Mount Resource:
Mount Resource:
FS Type:_________________________________ hfs
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 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 for UNIX agent. Use the version of the agent
provided with NetBackup 5.0. This agent is installed along with the NetBackup 5.0
Server software.
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 50.
2. Make sure the shared disk is not mounted on any node in the cluster.
3. Follow the instructions for installation and initial configuration in the NetBackup
Installation Guide for UNIX. You must install on each node that you want NetBackup to
run on.
The virtual name should be used for the server name during the install procedure.
Note If you have installed a NetBackup failover media server then you must manually
start Media Manager daemons. Start the daemons with the hagrp -online
command.
7. Install any NetBackup agents or options you have purchased. Refer to the next
section, “Installing or Upgrading NetBackup 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 79.
2. On each inactive node in the cluster on which NetBackup is installed, install the agent
or option. See the appropriate NetBackup documentation for the agent or option for
installation and configuration instructions.
Note It is highly recommended that you use the latest VCS for UNIX agent that is
installed with NetBackup 5.0. Older versions of the agent are not supported. The
cluster_config script is also not supported with earlier versions of the VCS for
UNIX agent.
b. For a master server, ensure that the first SERVER entry matches the
CLUSTER_NAME entry.
3. On the active node, install the NetBackup Server software. Follow the instructions for
“Upgrading NetBackup on UNIX Servers and Clients” as described in the NetBackup
Installation Guide for UNIX.
5. Bring the NetBackup group offline. This will unmount the shared disk.
7. Remove the old NetBackup group, agent, and type from the cluster.
a. Remove each resource in the NetBackup group. Use the following command:
hares -delete <name of resource>
Note It is only necessary to remove NetBackup from the inactive nodes on which it is
installed.
b. Install the NetBackup Server software. Follow the instructions for “Installing
NetBackup Server Software” as described in the NetBackup Installation Guide for
UNIX.
The virtual name should be used for the server name during the install procedure.
Note Do not perform an upgrade installation on the nodes. NetBackup Server 5.0 is
installed differently in a cluster than NetBackup 4.5FPx and 4.5MPx. An upgrade
installation is only performed on the shared disk (as in step 3).
11. If you have devices attached to your failover server, run the Device Discovery wizard
from each node in the cluster. Refer to “Device Configuration Guidelines” on page 74
and “Configuring Devices in a Cluster” on page 75 for guidelines and instructions on
configuring devices in a cluster.
12. On each node on which NetBackup Server is installed, upgrade any NetBackup
agents or options. Refer to the section, “Installing or Upgrading NetBackup Agents
and Options” on page 58. For detailed instructions refer to the system administrator’s
guides for those agents and options.
13. Verify that NetBackup can failover properly in the cluster. Refer to “Verifying
NetBackup Configuration” on page 79.
2. Install the NetBackup Server software on the local disk of each desired node in the
cluster. Follow the instructions for installing NetBackup Server software as described
in the NetBackup Installation Guide for UNIX.
3. Configure each NetBackup server. Refer to the NetBackup Installation Guide for UNIX,
and the NetBackup System Administrator's Guide for UNIX, Volume I, for information on
configuring NetBackup server software.
The process of upgrading a NetBackup non-failover server is the same as for a new
installation. On each node on which NetBackup is installed, install the NetBackup Server
software on the local disk. Follow the instructions for upgrading NetBackup on UNIX
servers and clients as described in the NetBackup Installation Guide for UNIX.
65
NetBackup_AdminGuide_HighAvailability.book Page 66 Friday, October 24, 2003 12:04 PM
Installation Prerequisites
Installation Prerequisites
Complete the following tasks before installing and configuring NetBackup in a Sun
Cluster.
❏ Verify that your hardware is supported by both Sun Cluster and NetBackup. For a list
of supported storage devices, see the NetBackup Release Notes for UNIX and Windows
and the Sun Cluster documentation.
❏ Verify that Sun Cluster 3.0 is correctly installed and configured.
❏ Setup a virtual name for NetBackup in NIS, DNS or /etc/hosts. This hostname will
be used as a logical hostname during the NetBackup installation and configuration of
the cluster. It will not be assigned to any physical node, but will be attached to the
NetBackup application resource, allowing NetBackup to failover to the appropriate
node during the failover process.
❏ 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 for UNIX and Windows.
❏ 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
and configuration of the NetBackup server and any NetBackup 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 5.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 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. Install the NetBackup on each node to which NetBackup may failover. Follow the
instructions for installing NetBackup Server software as described in the NetBackup
Installation Guide for UNIX.
Note If you have installed a NetBackup failover media server then you must manually
start Media Manager daemons. Start the daemons with the scswitch -z -g
scnb-harg -h <hostname> command.
5. On each node on which NetBackup Server is installed, install any NetBackup agents
or options. Refer to the next section, “Installing or Upgrading NetBackup 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 79.
2. On each inactive node on which NetBackup Server is installed, install or upgrade any
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, execute the following
command:
/usr/cluster/bin/scswitch -M -e -j scnb-hars
This will bring the NetBackup resources online and instruct Sun Cluster to resume
monitoring the NetBackup resource.
Upgrading from NetBackup 4.5FP3 or later (With Sun Microsystem’s NetBackup Agent) to 5.0
Note These upgrade instructions only support upgrading if you are using a globally
shared disk. NetBackup 5.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).
Note You must use scnb-harg as the name of the resource group. This is a temporary
group that will be removed after the upgrade.
6. Copy all NetBackup databases and files on the shared disk back to their default
locations. This includes but is not limited to the following:
/usr/openv/db/var
/usr/openv/netbackup/db
Upgrading from NetBackup 4.5FP3 or later (With Sun Microsystem’s NetBackup Agent) to 5.0
/usr/openv/netbackup/bp.conf
/usr/openv/volmgr/database
/usr/openv/volmgr/vm.conf
7. On all the other nodes, remove all the links to files and databases on the shared disk.
8. On each of the nodes, edit the bp.conf so the CLIENT_NAME entry is set to the
hostname of the node.
10. On the active node, perform an upgrade installation. Follow the instructions for
“Upgrading NetBackup on UNIX Servers and Clients” as described in the NetBackup
Installation Guide for UNIX.
14. Remove the temporary scnb-harg group that was created for the upgrade by running
the following commands:
scswitch -F -g scnb-harg
scswitch -n -j virtual-name
scrgadm -r -j virtual-name
scrgadm -r -g scnb-harg
16. Bring the cluster online with using the following command:
/usr/cluster/bin/scswitch -Z scnb-harg
From now on start and stop netbackup with scswitch. The resource group is named
scnb-harg. The name of the resource group is not configurable.
Configuring NetBackup 8
Configuration of NetBackup includes configuring storage devices, volumes, the catalog
backup, and creating backup policies. This configuration can be completed most easily by
using the NetBackup Configuration Wizards in the NetBackup Administration Console.
Refer to the NetBackup System Administrator's Guide for Windows, Volume I, or NetBackup
System Administrator's Guide for UNIX, Volume I, for more details for instructions on
performing these steps manually (See the section, “Configuring NetBackup Without
Wizards.”).
Before configuring NetBackup, refer to the following sections in this chapter.
Section Description
73
NetBackup_AdminGuide_HighAvailability.book Page 74 Friday, October 24, 2003 12:04 PM
Note To accommodate disparate SCSI connections on each node of the cluster, devices
must be configured on each node in a MSCS, VCS, Sun Cluster environment. First,
configure the devices on the active node. Then move the NetBackup group to
another node and configure the devices on that node, move NetBackup to another
node and configure the devices on that node, etc.
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. To add robots and drives manually, refer to the “Configuring and Managing
Devices section in the NetBackup System Administrator's Guide for Windows, Volume I, or
NetBackup System Administrator's Guide for UNIX, Volume I.
Note Be sure to use the virtual server name as the device host to scan.
Note If you are using one or more standalone tape drives, the Standalone Volume
Database Host setting must be changed to the appropriate NetBackup server setting
(usually the NetBackup master server). NetBackup does not change this setting
automatically, so you must verify the setting is correct.
5. Run the Device Configuration wizard. Again, use the virtual server name when
specifying the device host.
Note You may observe some transient errors while the cluster is partially configured. For
example, the GUI may indicate the Global Database needs to be synced up. This
error will be resolved once the devices are configured on all nodes in the cluster.
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 (VCS for UNIX, TruCluster,
or Sun Cluster).”
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. To add robots and drives manually, refer to the “Configuring and Managing
Devices section in the NetBackup System Administrator's Guide for Windows, Volume I, or
NetBackup System Administrator's Guide for UNIX, Volume I.
Note Be sure to use the virtual server name as the device host to scan.
Note If you are using one or more standalone tape drives, the Standalone Volume
Database Host setting must be changed to the appropriate NetBackup server setting
(usually the NetBackup master server). NetBackup does not change this setting
automatically, so you must verify the setting is correct.
Note If you wish to configure NetBackup to failover if a robotic device fails, refer to the
section, “Configuring Robotic Daemons for Monitoring (VCS for UNIX, TruCluster,
or Sun Cluster).”
Windows Servers
UNIX Servers
4. Verify that there are entries in the files list for the Catalog Backup for each of the nodes
to which NetBackup can failover.
virtual_name:/usr/openv/var
virtual_name:/path/to/shared/netbackup/db
Configuring Robotic Daemons for Monitoring (VCS for UNIX, TruCluster, or Sun Cluster)
virtual_name:/path/to/shared/volmgr/database/*DB
virtual_name:/path/to/shared/volmgr/datbbase/robotic_def
virtual_name:/path/to/shared/volmgr/database/ltidevs
If there is anything present in the volmgr/database directory besides what is listed
above (e.g., NDMP devices) add entries for these to the Files list.
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 database 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 Robots must be configured before performing the following instructions. Refer to
the NetBackup Installation Guide for Windows or NetBackup Installation Guide for UNIX
for instructions on configuring storage devices.
3. Choose a (Add).
2. Choose d (Delete).
2. Choose a (Add).
2. Choose d (Delete).
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.
83
NetBackup_AdminGuide_HighAvailability.book Page 84 Friday, October 24, 2003 12:04 PM
What to Back Up
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 84.)
◆ All disks that attach to the shared SCSI bus. (See “Backing the Shared Disks” on
page 85.)
◆ 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 86.)
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.
◆ 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 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 client’s
local disks.
◆ For Windows 2000 or later, always include System_State:\ in the file list to back
up the System State for each cluster node. In a policy for an MSCS cluster,
System_State:\ 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.
◆ For Windows 2000 clusters, the System State information is included in the backup of
the node’s local disks, so it is not necessary to include System_State:\ in the file
list for this policy.
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 client’s 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 for Windows, Volume I, or NetBackup System Administrator's Guide for UNIX, 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.
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 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.
Operational Notes 10
Please note the following when using NetBackup in a clustered environment:
◆ 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 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 for Windows, Volume I, or
NetBackup System Administrator's Guide for UNIX, Volume I, for more information on
Checkpoint Restart.
◆ If a NetBackup server fails over and there are restore jobs running, the user must
manually resume the restores.
◆ 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 one of the NetBackup administration interfaces currently connected to a
NetBackup failover server, it may be necessary to refresh the interface after a failover
occurs.
89
NetBackup_AdminGuide_HighAvailability.book Page 90 Friday, October 24, 2003 12:04 PM
MSCS Clusters
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 three- or four-node MSCS clusters, 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.)
MSCS Clusters
93
NetBackup_AdminGuide_HighAvailability.book Page 94 Friday, October 24, 2003 12:04 PM
Example of a cluster with NetBackup and tape devices on a shared SCSI bus
Shared SCSI
Bus for Disks
The devices are configured on each of the failover server nodes independently from the
other node. This allows different SCSI bus numbers, and so on, on each of the nodes to
refer to the same device. Remember, however, that any NetBackup storage units you
create for the failover server must be configured with the actual number of devices. For
example, do not increase the number of drives since there are multiple connections to the
same tape device.
In certain situations, it is possible for a SCSI bus reset to be issued for the SCSI bus where
the shared tape devices attach. Therefore, do not connect tape devices and shared disk
drives to the same SCSI bus; connect each to separate SCSI buses.
◆ A SCSI adapter in each cluster server to provide a shared external bus between the
nodes
◆ At least one tape device on the shared bus
The tape devices must connect to a bus that uses the same method of transmission as the
device (single-ended, differential, or low-voltage differential). Only one transmission
method can be used on a single SCSI bus.
Terminate the SCSI bus at both ends so commands and data can be transmitted to and
from all devices on the bus. Each SCSI bus must have two terminators and they must be at
each end of the segment.
If a tape device is in the middle of the bus as shown in the preceding figure (“Example of a
cluster with NetBackup and tape devices on a shared SCSI bus”) remove any internal
termination in that device.
If the tape device is at the end of the bus as shown in the following figure (“Example of a
shared bus with tape devices at the end of the bus”) and the tape device has internal
termination, you can use the device’s internal termination to terminate the bus.
Example of a shared bus with tape devices at the end of the bus
Private Network
LAN
◆ SCSI adapters. This method is not recommended because if the server is disconnected
from the shared bus, or if there is a power supply failure, the bus may not be properly
terminated and be inoperable.
◆ Pass-through (or feed-through) SCSI terminators. These can be used with SCSI
adapters and with some tape devices. If the tape device is at the end of the bus, you
can attach a pass-through SCSI terminator to terminate the bus. The internal
terminators in the tape device must be disabled.
Tip To ensure termination if a power supply failure occurs, turn off the on-board
terminators on the SCSI controller (using the method that the host adapter
manufacturer recommends) and physically terminate the controller with a
terminator.
2. Prepare the SCSI controllers for the shared SCSI bus. For details, see the
documentation provided by your SCSI host adapter manufacturer.
Note Do not have power on both nodes while configuring the systems. Or, if both nodes
have power on, do not connect the shared SCSI buses to both nodes.
3. Connect the shared SCSI tape devices to the cable, connect the cable to both nodes,
then terminate the bus segment using one of the methods discussed in the previous
section.
Heartbeat
LAN
bpclusterutil B
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, the
bpclusterutil command may be used perform this step.
The “bpclusterutil -c” command runs the cluster configuration step performed by
installation. Using the -a option with the appropriate option name configures the
NetBackup option in a cluster. This command can be run multiple times. Only run this
command from the active node.
NAME
bpclusterutil - Modify and configure NetBackup in a Windows cluster.
SYNOPSIS
install_path\NetBackup\bin\bpclusterutil -c [-np]
install_path\NetBackup\bin\bpclusterutil -a [GDM|NBAR|NDMP]
install_path\NetBackup\bin\bpclusterutil -addnode NodeName
install_path\NetBackup\bin\bpclusterutil -delete
install_path\NetBackup\bin\bpclusterutil -display
install_path\NetBackup\bin\bpclusterutil -depend ServiceName
DependServiceName
install_path\NetBackup\bin\bpclusterutil
[-r NETBACKUPTYPE MASTER|MEDIA
-r CLUSTERTYPE MSCS|VCS
-r CLUSTERGROUPNAME
-r CLUSTERNAME <clustername>
-r NETWORKSELECTION <public|private>
-r VIRTUALSERVERNAME <virtual name>
-r NETBACKUPINSTALLPATH <path>
99
NetBackup_AdminGuide_HighAvailability.book Page 100 Friday, October 24, 2003 12:04 PM
-r NETBACKUPSHAREDDRIVE <drive:>
-r VIRTUALIPADDRESS <ip address>
-r VIRTUALSUBNETMASK <subnet mask>
-r NODENAMES <nodename>
-r GLOBDBHOST <nodename>
-r CLUSTEREDSERVICES <servicename>
-r MONITOREDSERVICES <servicename>]
DESCRIPTION
This command is available on NetBackup master and media servers and is only applicable
to clusters in a Windows environment. This command will allow the user to set up the
registry entries used for cluster configuration and then to configure the cluster as well as
configuring NetBackup add on options.
OPTIONS
-a [GDM|NBAR|NDMP]
Configures the specified NetBackup add-on in a cluster.
-addnode
Adds a node name to the possible owners list of all the resources in the
NetBackup Group.
-c
Configures NetBackup in a cluster based on the values specified in the
registry
-delete
Deletes the registry entries used to configure NetBackup in a cluster.
-depend ServiceName DependServiceName
Sets the cluster resource for ServiceName to have a dependency on
DependServiceName.
-display
Displays the registry entries used for clustering configuration.
-r NETBACKUPTYPE MASTER|MEDIA
CLUSTERTYPE MSCS|VCS
CLUSTERGROUPNAME
CLUSTERNAME <clustername>
NETWORKSELECTION <public|private>
Index
A VERITAS Cluster Server 2.0 on
accessibility features xvi Windows 2000 3
Advanced Reporter, supported in a cluster 3 VERITAS Cluster Server on UNIX 3
altnames directory 86, 87 VERITAS Cluster Server on Windows
assigned drives 5 NT 3
cluster_config
B
in a TruCluster 20
backups
CLUSTER_NAME 23, 60, 70, 74
and failovers 89
Cluster_Name 39, 45
in a Microsoft Cluster Server (MSCS) 11,
clustering with NetBackup, overview 1
84
compatibility lists 4
in a TruCluster 28
configuration, of NetBackup 74
of local disks in a cluster 84
examples 93
of shared disks 85
NetBackup catalog backups 74
what to back up in a cluster 84
policies 74
bpclusterutil 10, 99–101
server list 74
C storage units 74
caa_profile 22 usage of cluster aliases 74
caa_start 18 usage of node names 74
caa_stop 18 verifying 79
failures 22
D
Checkpoint Restart 89
database agents, supported in a cluster 3
CLIENT_NAME 71, 74
databases
Cluster Application Availability (CAA),
protected in a cluster 1
using with NetBackup 18
transaction support in 5
cluster configurations
device configuration
example 5
adding new devices 77
mixed server types not supported 2
attaching devices to all nodes 74
NetBackup client 1
automatic discovery 75
NetBackup master server 2
Device host 75
NetBackup media server 1
guidelines 74–75
cluster quorum, restoring 11–13
instructions 75
cluster solutions
instructions for MSCS 76
HP Tru64 UNIX TruCluster 3
instructions for Sun Cluster 76
limitations 4
instructions for TruCluster 77
Microsoft Cluster Server 3
instructions for VCS 76
Sun Cluster 3
specifying cluster alias or virtual server
supported environments 3
name 74
103
NetBackup_AdminGuide_HighAvailability.book Page 104 Friday, October 24, 2003 12:04 PM
Index 105
NetBackup_AdminGuide_HighAvailability.book Page 106 Friday, October 24, 2003 12:04 PM
Index 107
NetBackup_AdminGuide_HighAvailability.book Page 108 Friday, October 24, 2003 12:04 PM