+ All Categories
Home > Documents > Nom Netbackup Services

Nom Netbackup Services

Date post: 25-Oct-2014
Category:
Upload: chowdaryteja
View: 113 times
Download: 0 times
Share this document with a friend
418
Veritas NetBackup 6.5.2 Documentation Updates UNIX, Windows, Linux
Transcript

Veritas NetBackup 6.5.2 Documentation Updates

UNIX, Windows, Linux

2

Veritas NetBackup NetBackup 6.5.2 Documentation Updates

Copyright © 2008 Symantec Corporation. All rights reserved.

NetBackup 6.5.2

Symantec, the Symantec logo, and NetBackup are trademarks or registered trademarks of Symantec Corporation or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners.

Portions of this software are derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm. Copyright 1991-92, RSA Data Security, Inc. Created 1991. All rights reserved.

The product described in this document is distributed under licenses restricting its use, copying, distribution, and decompilation/reverse engineering. No part of this document may be reproduced in any form by any means without prior written authorization of Symantec Corporation and its licensors, if any.

THIS DOCUMENTATION IS PROVIDED “AS IS” AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID, SYMANTEC CORPORATION SHALL NOT BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH THE FURNISHING, PERFORMANCE, OR USE OF THIS DOCUMENTATION. THE INFORMATION CONTAINED IN THIS DOCUMENTATION IS SUBJECT TO CHANGE WITHOUT NOTICE.

The Licensed Software and Documentation are deemed to be “commercial computer software” and “commercial computer software documentation” as defined in FAR Sections 12.212 and DFARS Section 227.7202.

Symantec Corporation20330 Stevens Creek Blvd.Cupertino, CA 95014www.symantec.com

Printed in the United States of America.

3

Third-party legal notices

Third-party software may be recommended, distributed, embedded, or bundled with this Veritas product. Such third-party software is licensed separately by its copyright holder. All third-party copyrights associated with this product are listed in the accompanying release notes.AIX is a registered trademark of IBM Corporation.HP-UX is a registered trademark of Hewlett-Packard Development Company, L.P.Linux is a registered trademark of Linus Torvalds.Solaris is a trademark of Sun Microsystems, Inc.Windows is a registered trademark of Microsoft Corporation.

Licensing and registrationVeritas NetBackup is a licensed product. See the NetBackup Installation Guide for license installation instructions.

Technical supportFor technical assistance, visit http://entsupport.symantec.com and select phone or email support. Use the Knowledge Base search feature to access resources such as TechNotes, product alerts, software downloads, hardware compatibility lists, and our customer email notification service.

Contents

Chapter 1 Introduction

Chapter 2 How to configure and use NetBackup for VMwareNetBackup for VMware: introduction ..............................................................23

The main features of NetBackup for VMware .........................................24NetBackup for VMware environment ...............................................................24

NetBackup for VMware components ........................................................24VMware backup proxy server ............................................................24Virtual machine ....................................................................................24ESX server .............................................................................................25VirtualCenter server ............................................................................25Converter server ...................................................................................25VMware NetBackup Integration Module (VNIM) not required .....25

Environment diagram .................................................................................26Backup type: file-level and full virtual machine .....................................27Notes and restrictions .................................................................................28License requirements ..................................................................................28

Configuration tasks: overview ...........................................................................29VMware tasks ...............................................................................................29NetBackup tasks ...........................................................................................30

Configure NetBackup ..........................................................................................31Adding NetBackup credentials for VMware ............................................31Adding the proxy server to NetBackup configuration ...........................32Configuring incremental backups for VMware .......................................32Configuring a VMware policy ....................................................................32VMware backup options compared ...........................................................41

Backing up VMware files ....................................................................................42Restoring VMware files .......................................................................................43

VMware restore procedures: overview .....................................................43Individual file restore ..........................................................................43Full VMware virtual machine restore ...............................................43Setting up NetBackup Client Service for restore to a shared

virtual machine drive ..................................................................44Restore notes ................................................................................................44Restoring individual folders and files .......................................................45Restoring the full VMware virtual machine ............................................46

6

Best practices ....................................................................................................... 51More information ........................................................................................ 52

VMware support matrices .................................................................................. 53Supported VMware components ............................................................... 53Supported operating systems for VMware backup proxy server ......... 53Supported disk arrays ................................................................................. 53VMware guest operating systems tested ................................................. 53Supported file systems ................................................................................ 54

Snapshot Client support matrix ........................................................ 55VMware logging ................................................................................................... 55Troubleshooting ................................................................................................... 56

VMware environment—important! ........................................................... 56Changing the browsing time-out for virtual machine discovery ......... 56Notes and tips ............................................................................................... 56Backup and restore problems .................................................................... 57

Credentials for VMware server are not valid .................................. 57NetBackup cannot obtain the volume ID of a drive ........................ 57The backup fails with status 156 ....................................................... 58

Terminology ......................................................................................................... 59

Chapter 3 Clustering NetBackup Operations ManagerAbout a NetBackup Operations Manager cluster ........................................... 61

About the NOM agent for Veritas Cluster Server on Windows and Solaris .................................................................................................... 62

Supported cluster solutions ............................................................................... 62Installing/Upgrading to NOM 6.5.2 in a clustered mode .............................. 63Installing NOM 6.5.2 in a clustered mode on Windows and Solaris ............ 63

Installation Prerequisites ........................................................................... 64Installing NetBackup client software ....................................................... 65Installing Symantec Product Authentication Service ........................... 65

Installing Symantec Product Authentication Service on Windows ........................................................................................ 65

Installing NOM 6.5.2 on a cluster .............................................................. 69Pre-configuration checklist ....................................................................... 69

Pre-configuration checklist for a Windows cluster ........................ 70Pre-configuration checklist for a Solaris cluster ............................ 70

Configuring NetBackup Operations Manager cluster ............................ 71Upgrading from a standalone NOM server to NOM 6.5.2 in clustered

mode .............................................................................................................. 72Prerequisites ................................................................................................. 74Upgrading your existing NOM installation to NOM 6.5.2 ..................... 75

Case 1: Existing NOM server is NOM 6.0 (including its maintenance packs) ..................................................................... 75

7

Case 2: Existing NOM server is NOM 6.5/6.5.1 ................................78Creating a VCS cluster .................................................................................80Installing NetBackup client software .......................................................80Installing Symantec Product Authentication Service on the other

nodes ......................................................................................................80Installing NOM 6.5.2 on the other nodes .................................................81Pre-configuration checklist for a NOM cluster .......................................81

Pre-configuration checklist for Windows ........................................82Pre-configuration checklist for Solaris ............................................82

Configuring NetBackup Operations Manager cluster ............................83Using NOM after the cluster is configured ..............................................85Configuring the NetBackup master servers .............................................85

Adding a new node to an existing NOM cluster ..............................................86Removing NetBackup Operations Manager from a cluster ...........................87

Uninstalling NOM 6.5.2 and rolling back to the previous standalone NOM version on Windows and Solaris .........................87

Removing NOM completely from the cluster ..........................................90Administering a NOM cluster ............................................................................93Limitations of a NOM cluster .............................................................................94Troubleshooting a NetBackup Operations Manager cluster .........................94

Chapter 4 Snapshot client updatesSnapshot Client support matrix ........................................................................97Storage lifecycle policies with Instant Recovery snapshots .........................97

Lifecycle policy example with RealTime Protection ..............................98Configuring a lifecycle policy for snapshots ...........................................98Troubleshooting .........................................................................................101

NetBackup RealTime Protection .....................................................................102Advantages of NetBackup RealTime Protection ...................................102Types of backup ..........................................................................................102RealTime terminology in relation to NetBackup ..................................103Snapshots, annotations and TimeImages ..............................................104

When is a TimeImage created ..........................................................105Network diagram of NetBackup RealTime Protection .........................106The NetBackup backup process with RealTime ....................................106The NetBackup restore process with RealTime ....................................107RealTime annotations and the timeline .................................................107

The timeline is finite and may slide forward .................................108Obsolete annotations .........................................................................109

Supported operating systems ..................................................................110Snapshot Client support matrix ......................................................110

License requirements ................................................................................110Important notes and restrictions ............................................................110

8

Determine if persistent bindings are needed in HBA file (Solaris only) .......................................................................................111Determining if devices are using world-wide names ...................112Identifying your HBA driver ............................................................112

Update sd.conf for import of TimeImages (Solaris only) ....................113Which sd.conf file to update (Solaris only) ....................................113

Configuration tasks: overview .................................................................114Configuring a NetBackup policy ..............................................................114Performing a backup .................................................................................117Performing a restore .................................................................................117NetBackup RealTime logging ...................................................................117Troubleshooting .........................................................................................118

Logging ................................................................................................118Policy validation fails ........................................................................118Backups fail with status code 156 ...................................................118Cannot browse backups to restore ..................................................119

New disk array snapshot methods in 6.5.2 ....................................................120About the new disk array methods in 6.5.2 ...........................................120

The disk array methods at a glance ................................................120Snapshot Client support matrix ..............................................................121Note on Instant Recovery (point-in-time) rollback ..............................121Array preconfiguration tasks ..................................................................121OS-specific configuration .........................................................................122

Dynamic multipathing ......................................................................122HBA configuration .............................................................................122Solaris sd.conf file (Hitachi arrays only) ........................................122Verify NetBackup client access to array devices ..........................123

IBM DS6000 and DS8000 arrays .....................................................................124IBM DS6000 and 8000 software requirements .....................................124Preconfiguration for IBM arrays .............................................................124Configuring NetBackup to access the array ..........................................124

Array access for NetBackup hosts not named in a policy ...........124Configure the IBM array for NetBackup ................................................125Obtain unique IBM identifiers .................................................................125Configuring a NetBackup policy for IBM_DiskStorage_FlashCopy ...128For further reference ................................................................................129

Hitachi SMS/WMS/AMS, USP/NSC, USP-V/VM ..........................................129Hitachi array software requirements .....................................................129

Checking the RAID Manager version ..............................................130Preconfiguration for Hitachi ...................................................................130

Pair status must be PSUS (SMS/WMS/AMS arrays only) ...........130Configure command devices on NetBackup client and

alternate client ...........................................................................130

9

Configuring NetBackup to access the array ...........................................130Configure the Hitachi array for NetBackup ...........................................131Obtain unique Hitachi identifiers ............................................................131Configure a NetBackup policy for Hitachi_ShadowImage or

Hitachi_CopyOnWrite .......................................................................132Troubleshooting .................................................................................................133

Troubleshooting: IBM DS6000 and 8000 arrays ...................................133Snapshot error encountered (NetBackup status code 156) .........134

Troubleshooting: Hitachi arrays .............................................................135NetBackup policy validation fails ....................................................136Backup or restore or image expiration fails ...................................138

New options for vxvm snapshots ....................................................................140New vxvm backup options ........................................................................140New vxvm restore options for Instant Recovery rollback ...................142

Chapter 5 New data at rest key managementKey Management Service .................................................................................143

KMS considerations ...................................................................................143New NBKMS service ...........................................................................143New nbkmsutil KMS configuration utility .....................................144NetBackup wide changes ..................................................................144KMS installation and deployment decisions .................................144KMS security .......................................................................................144Cipher types ........................................................................................144KMS recoverability ............................................................................144NetBackup 6.5.2 unlicensed version limits ....................................145KMS files ..............................................................................................145Key records ..........................................................................................145Key groups ...........................................................................................145Tape drives and media capabilities .................................................146KMS with NBAC ..................................................................................146KMS with HA clustering ....................................................................146KMS logging ........................................................................................146KMS with NetBackup 6.5.2 Windows uninstall .............................146

KMS principles of operation .....................................................................147About writing an encrypted tape .....................................................147About reading an encrypted tape ....................................................148

KMS terminology .......................................................................................148CLI .........................................................................................................148Host Master Key (HMK) .....................................................................149Key ........................................................................................................149Key group (KG) ....................................................................................149Key group record (KGR) ....................................................................149

10

Key Management Service (KMS) .....................................................149Key record (KR) ..................................................................................149KMS database .....................................................................................149Key Protection Key (KPK) .................................................................149Key file (key database) .......................................................................149Key group ............................................................................................150Key record ...........................................................................................150Key record states ................................................................................150Key store ..............................................................................................150Passphrase ..........................................................................................150Quiesce ................................................................................................151Tag ........................................................................................................151

Installing KMS ....................................................................................................151Using KMS with NBAC ..............................................................................153KMS with HA clustering ...........................................................................154

Enabling cluster use with the KMS service ....................................154Enabling monitoring of the KMS service .......................................155Disabling monitoring of the KMS service ......................................155Removing the KMS service from monitored list ...........................155

KMS configuration ............................................................................................156Creating the key database ........................................................................156Creating key groups and key records .....................................................157

Creating key groups ...........................................................................158About key records ..............................................................................158

Key record states .......................................................................................159Key record state considerations ......................................................160Prelive state ........................................................................................161Active state .........................................................................................161Inactive state ......................................................................................161Deprecated state ................................................................................161Terminated state ................................................................................162

KMS best practices ....................................................................................162Backing up the KMS database files .................................................162Recovering KMS by restoring all data files ....................................163Recovering KMS by restoring only the KMS data file ..................163Recovering KMS by regenerating the data encryption key .........163Problems backing up the KMS data files ........................................165Solutions for backing up the KMS data files .................................165Creating a key record ........................................................................166Listing keys .........................................................................................166

Configuring NetBackup to work with KMS ............................................166How does NetBackup get key records from KMS ..........................166Setting up Netbackup to use encryption ........................................167

11

Using KMS ...........................................................................................................169Run an encrypted tape backup ................................................................169Verify an encryption backup ....................................................................170KMS DB constituents .................................................................................171Create an empty KMS DB ..........................................................................171Importance of the KPK ID and HMK ID ..................................................172Periodically updating the HMK and KPK ...............................................172Backing up the KMS key store and admin keys .....................................172

CLI commands ....................................................................................................173CLI usage help .............................................................................................173Create a new key group .............................................................................174Create a new key .........................................................................................174Modify key group attributes .....................................................................175Modify key attributes ................................................................................175Get details of key groups ..........................................................................175Get details of keys ......................................................................................176Delete a key group ......................................................................................176Delete a key .................................................................................................177Recover a key ..............................................................................................177Modify host master key (HMK) ................................................................178Get HMK ID .................................................................................................178Modify key protection key (KPK) .............................................................178Get KPK ID ...................................................................................................178Get key store statistics ..............................................................................178Quiesce KMS DB .........................................................................................179Unquiesce KMS DB ....................................................................................179Key creation options ..................................................................................179

Troubleshooting KMS .......................................................................................180Solution for backups are not encrypting ................................................181Solution for restores are not decrypting ................................................181Troubleshooting example - backup with no active key record ...........181Troubleshooting example - restore with an improper key record

state ......................................................................................................184KMS error messages ..................................................................................186

Chapter 6 New database Administration tool for NetBackup relational databasesRunning the Database Administration tool on UNIX ..................................189

Select/Restart Database and Change Password option .......................190Database Space and Memory Management option ...............................191

Report on Database Space option ....................................................191Database Reorganize option .............................................................191Add Free Space option .......................................................................192

12

Adjust Memory Settings option .......................................................193Transaction Log Management option ....................................................194

Truncate the Transaction Log option .............................................195Toggle Transaction Log Mode option .............................................195Change Temporary Directory for Truncation option ..................195

Database Validation Check and Rebuild option ....................................195Standard Validation option ..............................................................196Full Validation option .......................................................................196Database Rebuild option ...................................................................196

Move Database option ...............................................................................197Move Data option ...............................................................................197Move Index option .............................................................................197Move Transaction Log option ..........................................................198Move/Create Mirrored Log option ..................................................198Stop Using Mirrored Transaction Log option ...............................198

Unload Database option ...........................................................................198Schema Only option ..........................................................................198Data and Schema option ...................................................................198Change Directory option ...................................................................198

Backup and Restore Database option .....................................................199Online Backup Option .......................................................................199Offline Backup option .......................................................................199Restore Backup option ......................................................................199Change Directory option ...................................................................200

Running the Database Administration Tool on Windows ..........................201General tab ..................................................................................................202

Data Details button ............................................................................202Add Data Space button ......................................................................202Add Index Space button ....................................................................203Refresh button ....................................................................................203Reorganize All button .......................................................................203Validate button ...................................................................................203Rebuild button ....................................................................................203

Tools tab ......................................................................................................204Change button to change the password .........................................204Move button ........................................................................................205Export button .....................................................................................205Copy button ........................................................................................205Restore button ....................................................................................205Set button ............................................................................................206Modify button .....................................................................................206Truncate button .................................................................................206

Validation checks during a hot catalog backup ............................................207

13

Chapter 7 NetBackup for SharePoint Portal Server updatesBinaries ................................................................................................................209Limitations ..........................................................................................................209Installation requirements .................................................................................210

SharePoint Portal Server setup .......................................................210Database agent ...................................................................................210

Installing the Utilities and SDK for Subsystem for UNIX-Based Applications ........................................................................................211

Installing Microsoft Services for NFS .....................................................212Installing Windows Services for UNIX ...................................................212

Configuring the SharePoint agent ..................................................................213Configuring backup policies .............................................................................213Backup schedule types for SharePoint 2007 .................................................214Performing user-directed backups ..................................................................214Restoring SharePoint farm components ........................................................215

Restoring the Configuration database ....................................................215Restoring the Search Index ......................................................................216Restoring the farm or a collection of web applications or portals .....216Restoring the Shared Services Provider when in a state of

unprovisioning ...................................................................................216Redirecting a web application or portal to another web application

or portal ...............................................................................................217Restoring backward-compatible document library store ....................217

Restoring Windows SharePoint Services (WSS) 3.0 .....................................218Recovering a web application when using Network Load Balancing .........218Performing document-level restores ..............................................................218Disaster Recovery ..............................................................................................219

Chapter 8 NetBackup for Exchange supportInstalling and configuring the NetBackup for Exchange Server agent

with Exchange 2007 ...................................................................................222Creating an Exchange 2007 user account for the NetBackup Client

Service .................................................................................................222Prerequisites .......................................................................................223Configuring the NetBackup service account .................................223

Cluster support ...................................................................................................224Exchange LCR/CCR support .............................................................................224

Requirements .............................................................................................225Enabling an Exchange 2007 replication backup ...................................225Recovering an Exchange 2007 Local Continuous Replication (LCR)

environment .......................................................................................226Recovery of an Exchange 2007 Clustered Continuous Replication

14

(CCR) environment ............................................................................227Troubleshooting LCR or CCR recovery ...................................................227

Requirements for redirected restores of Exchange 2003 or 2007 legacy (non VSS) backups to an RSG ...................................................................228

Requirements for redirected restores of Exchange 2003 VSS backup images ..........................................................................................................228

About redirecting restores of Exchange 2007 VSS backup images ...........228Redirecting the restore of a VSS backup to the Exchange 2007

recovery storage group (RSG) ..........................................................230Instant recovery for Exchange on Windows VSS .........................................231

Policy recommendations ..........................................................................231Configuration requirements for Exchange ............................................231Limitations ..................................................................................................232Operational notes ......................................................................................232Copy-back instant recovery restore method .........................................232Troubleshooting .........................................................................................233

Off-host backups ................................................................................................233Other operational notes ....................................................................................234

Chapter 9 NetBackup for Microsoft SQL Server updatesSQL Server file-based checkpoint/restart .....................................................235

File checkpointing .....................................................................................235Using automatic retries with file checkpointing ..................................236Resume options ..........................................................................................237New batchfile keywords ............................................................................237

Chapter 10 Storage Lifecycle Policy destination configuration changesAlternate Read Server option enabled only for duplication destinations 240

Considerations for upgrading ..........................................................240Duplicating multiplexed backups with the Preserve multiplexing option 241

Best practices for duplicating multiplexed backups ............................241nbstl command changes ...................................................................................242

New value for –as parameter ...................................................................242

Chapter 11 AdvancedDisk storage option updatesNew in NetBackup 6.5.2 ....................................................................................245Introduction .......................................................................................................246File system requirements .................................................................................247

NFS file system requirements .................................................................247Windows CIFS not supported ..................................................................247

Installing AdvancedDisk ..................................................................................247

15

Configuring AdvancedDisk ..............................................................................249Configuring AdvancedDisk storage servers ..........................................249Configuring an AdvancedDisk disk pool ................................................252Creating a storage unit ..............................................................................254

Storage unit properties .....................................................................254Disk pool ..............................................................................................254Storage unit usage recommendations ............................................256

Creating a backup policy ...........................................................................257Restores .......................................................................................................258

Managing AdvancedDisk ..................................................................................258Managing disk pools ..................................................................................258

Changing disk pool properties .........................................................258Adding volumes to an AdvancedDisk disk pool ............................260Removing a volume from a disk pool ..............................................260Changing disk pool or volume state ................................................261Merging disk pools .............................................................................262Deleting a disk pool ............................................................................262Obtaining disk pool and volume status ..........................................263

Managing storage servers .........................................................................264Viewing storage servers ....................................................................264Viewing storage server attributes ...................................................265Removing storage server attributes ................................................265Removing a storage server from disk pool access ........................266Deleting a storage server ..................................................................267Obtaining storage server status .......................................................267

Monitoring storage capacity and usage .................................................268Viewing disk reports ..................................................................................268Viewing NetBackup logs ...........................................................................269

Troubleshooting AdvancedDisk ......................................................................270Unable to access storage ...........................................................................271Multiple storage servers on Windows ....................................................271Volume state changes to DOWN when volume is unmounted ...........272Disk failure ..................................................................................................272Restore or duplication operations ...........................................................273

Chapter 12 SharedDisk storage option updatesOverview ..............................................................................................................275New in NetBackup 6.5.2 ....................................................................................276NetBackup Release Notes .................................................................................277Installing SharedDisk ........................................................................................277Preparing the SAN and the array ....................................................................278

Preparing the SAN .....................................................................................278Installing HBAs for SharedDisk .......................................................278

16

Zoning the SAN ..................................................................................278Installing array software on media servers ...........................................279

Which software and version to install ............................................279Configuring the disk array .......................................................................280

Add array host entries ......................................................................280Allocate LUNs for NetBackup ..........................................................281Unmask the LUNs ..............................................................................282

Configuring device paths ..........................................................................282Adding LUN entries to the sd.conf file ...................................................282

Configuring SharedDisk ...................................................................................282Specifying the mount point directory ....................................................283Configuring exclusive LUN access in NetBackup .................................284

Configuring LUN masking ................................................................284Configuring SCSI persistent reserve ...............................................284Switching exclusive LUN access methods .....................................285New command options ......................................................................288

Creating a storage server in NetBackup .................................................289Adding disk array logon credentials .......................................................292Formatting the LUNs in a disk array ......................................................294Configuring Storage Foundation dynamic multipathing ....................297Creating a SharedDisk disk pool .............................................................297

Enclosure method of SharedDisk disk pool creation ...................299Volumes method of SharedDisk disk pool creation .....................299

Creating a storage unit .............................................................................301Storage unit properties .....................................................................301Storage unit usage recommendations ............................................304

Creating a backup policy ..........................................................................306Restores .......................................................................................................306

Managing SharedDisk .......................................................................................306Managing disk pools ..................................................................................307

Changing disk pool properties .........................................................307Adding volumes to a SharedDisk disk pool ....................................309Changing disk pool or volume state ................................................312Merging disk pools .............................................................................313Deleting a disk pool ...........................................................................314Obtaining disk pool and volume status ..........................................315

Managing disk array logon credentials ..................................................315Managing storage servers ........................................................................316

Viewing storage servers ....................................................................317Obtaining storage server status ......................................................317Viewing storage server attributes ...................................................318Adding a SharedDisk storage server ...............................................318Removing storage server attributes ...............................................319

17

Removing a storage server from disk pool access ........................320Deleting a storage server ..................................................................320

Monitoring storage capacity and usage .................................................321Viewing disk reports ..................................................................................321Viewing NetBackup logs ...........................................................................322Troubleshooting SharedDisk ...................................................................323

SharedDisk troubleshooting checklist ............................................324Determining masked LUNs ..............................................................332Checking out a SharedDisk disk volume ........................................333Disk failure ..........................................................................................334Restore or duplication operations ...................................................334

Chapter 13 SAN Client and Fibre Transport updatesNew in NetBackup 6.5.2 ....................................................................................337Tape as a storage destination ..........................................................................337

Benefits ........................................................................................................338Buffer size and concurrent pipe usage ...................................................338Configuring multiplexing .........................................................................338Configuring multistreaming ....................................................................338Limitations ..................................................................................................339

HBA port detection on Solaris .........................................................................339New HBAs supported .........................................................................................339

Chapter 14 Remote NDMP and disk devices updatesAbout remote NDMP and disk devices ...........................................................341Configuring remote NDMP ...............................................................................342

Chapter 15 Synthetic Backup updates: Multiple copy backupsHow this feature compares to previous releases ..................................346Configuring Multiple Copy Synthetic Backups .....................................347

Configuration variables ....................................................................347Simple configuration example .........................................................349Advanced configuration example ....................................................349

Chapter 16 New Activity Monitor displays job state detailsState Details column messages ........................................................................353State Details for duplication and synthetic jobs ...........................................354Addition to bpdbjobs -report -all_columns output .......................................355

Chapter 17 New Job Priority defaults and overridesUnderstanding the Job Priority setting ..........................................................358

18

Default Job Priorities host properties ............................................................359JOB_PRIORITY bp.conf entry ..................................................................360

Example of JOB_PRIORITY change .................................................361Activity Monitor Job Priority setting ..............................................................362

Changing the Job Priority dynamically ..................................................362Job Priority setting for Tape Contents report ...............................................363Job Priority setting for Verify, Duplicate, and Import actions ...................365Job Priority setting for offline catalog backups ............................................366Job Priority setting for restores .......................................................................368Setting the Job Priority using the command line .........................................369

Changes to bpdbjobs ..................................................................................370set_priority .........................................................................................370change_priority_by ............................................................................370

bp and bpadm menu interface changes ..................................................371bpadm management interface .........................................................371bp client interface ..............................................................................371

Database agent changes ...................................................................................372DataStore/XBSA .........................................................................................372NetBackup for DB2 ....................................................................................372

DB2 restores .......................................................................................373NetBackup for Exchange ..........................................................................373NetBackup for Informix ............................................................................373Lotus ............................................................................................................373NetBackup for Oracle ................................................................................374

Oracle RMAN restores .......................................................................374Oracle XML import restores .............................................................374Oracle restores ...................................................................................374

NetBackup for SAP ....................................................................................375NetBackup for SharePoint ........................................................................375NetBackup for SQL Server ........................................................................375NetBackup for Sybase ...............................................................................375

Chapter 18 Reverse host name lookup updatesReverse Host Name Lookup host property ....................................................377

Allowed setting ..........................................................................................378Restricted setting .......................................................................................378Prohibited setting ......................................................................................378

Changing host properties outside of the Administration Console ............379REVERSE_NAME_LOOKUP entry ...........................................................379

Setting the property on UNIX hosts ...............................................379Setting the property on Windows hosts .........................................380

Chapter 19 NetBackup High Availability updates

19

Configuring the Key Management Service (KMS) for monitoring .............381Clustered media servers on Windows 2008 ...................................................382Changes to the bpclusterutil command ..........................................................383

bpclusterutil (Windows) ............................................................................383bpclusterutil (UNIX/Linux) .......................................................................387

Chapter 20 NOM updatesNOM alert enhancements .................................................................................389

Removing the dependency on NOM Alert Manager and alerts database ...............................................................................................389

Improved alert policy configuration .......................................................390Examples .............................................................................................390

Creating email and SNMP trap recipient groups ..................................391Duplicate names between email and SNMP recipients/recipient

groups ..........................................................................................391Configuring the SNMP trap community name for NOM .....................392

Job detail and job priority enhancements ......................................................393State Details and Priority columns added in the Job details view ......393Changing the priority of NetBackup jobs from NOM ...........................394

Performance enhancements for the NOM server .........................................394Moving a NOM 6.5 or 6.5.1 database to the original default location .......394

Chapter 21 Command line interface updatesbpbackupdb .................................................................................................397bpdbjobs ......................................................................................................397bpduplicate ..................................................................................................397bpimport ......................................................................................................397bplabel ..........................................................................................................398bpmedia .......................................................................................................398bpmedialist ..................................................................................................398bppldelete ....................................................................................................399bpplinclude .................................................................................................399bpplinfo .......................................................................................................399bppllist .........................................................................................................399bpplsched ....................................................................................................399bpplschedrep ..............................................................................................400bppolicynew ................................................................................................400bprecover .....................................................................................................400bprestore .....................................................................................................400bpschedule ..................................................................................................400bpschedulerep ............................................................................................400bpverify .......................................................................................................401

20

nbdelete .......................................................................................................401nbdevconfig ................................................................................................402nbkmsutil ....................................................................................................404

Operation descriptions .....................................................................404Option descriptions ...........................................................................405

nbpemreq ....................................................................................................407Operation descriptions .....................................................................408Option descriptions ...........................................................................408

nbstl .............................................................................................................409New value for -uf option ...................................................................409New __NA__ value for many options ..............................................410New State field listed for -L and -l ...................................................410

nbstlutil .......................................................................................................412tpclean .........................................................................................................412tpformat ......................................................................................................412tpreq .............................................................................................................412vmphyinv ....................................................................................................413

Index 415

Chapter 1

Introduction

This guide describes changes to documentation in the NetBackup 6.5.2 release.

For installation instructions, refer to the 652_README.txt file.

This guide describes following features and changes:

■ “How to configure and use NetBackup for VMware” on page 23

■ “Clustering NetBackup Operations Manager” on page 61

■ “Snapshot client updates” on page 97

■ “New data at rest key management” on page 143

■ “New database Administration tool for NetBackup relational databases” on page 187

■ “NetBackup for SharePoint Portal Server updates” on page 209

■ “NetBackup for Exchange support” on page 221

■ “NetBackup for Microsoft SQL Server updates” on page 235

■ “Synthetic Backup updates: Multiple copy backups” on page 345

■ “AdvancedDisk storage option updates” on page 245

■ “SharedDisk storage option updates” on page 275

■ “SAN Client and Fibre Transport updates” on page 337

■ “Remote NDMP and disk devices updates” on page 341

■ “Reverse host name lookup updates” on page 377

■ “New Activity Monitor displays job state details” on page 351

■ “New Job Priority defaults and overrides” on page 357

■ “Command line interface updates” on page 397

■ “NetBackup High Availability updates” on page 381

■ “NOM updates” on page 375

22 Introduction

Chapter 2

How to configure and use NetBackup for VMware

This chapter describes how to configure and use NetBackup 6.5.2 to back up and restore VMware virtual machines.

This chapter contains the following topics:

■ “NetBackup for VMware: introduction” on page 23

■ “NetBackup for VMware environment” on page 24

■ “Configuration tasks: overview” on page 29

■ “Configure NetBackup” on page 31

■ “Backing up VMware files” on page 42

■ “Restoring VMware files” on page 43

■ “Best practices” on page 51

■ “VMware support matrices” on page 53

■ “VMware logging” on page 55

■ “Troubleshooting” on page 56

■ “Terminology” on page 59

For a list of all supported combinations of platforms and snapshot methods, see the NetBackup 6.x Snapshot Client Compatibility document:

http://seer.entsupport.symantec.com/docs/279042.htm

NetBackup for VMware: introductionNetBackup for VMware provides backup and restore of the VMware virtual machines that run on VMware ESX servers. NetBackup for VMware takes advantage of VMware Consolidated Backup (VCB) technology. The backup

24 How to configure and use NetBackup for VMwareNetBackup for VMware environment

process is off-loaded from the ESX server to a separate host that is called the VMware backup proxy server.

The main features of NetBackup for VMwareNetBackup for VMware does the following:

■ Reduces the backup processing load on the VMware ESX server.

■ Automatically creates quiesced snapshots using the VMware sync driver (Windows only).

■ Uses snapshot technology to keep virtual machines 100% available to users.

■ Backs up and restores individual files or the full virtual machine.

■ Restores the individual files from a full virtual machine backup, by means of the NetBackup FlashBackup-Windows policy type.

■ Backs up virtual machines even when they are powered off (requires a VirtualCenter server).

NetBackup for VMware environmentThis section describes the components of NetBackup for VMware.

NetBackup for VMware components

VMware backup proxy serverNetBackup for VMware uses a special host that is called a VMware backup proxy server. The VMware backup proxy server is a NetBackup client that performs backups on behalf of the virtual machines. The proxy server can also be configured as a NetBackup master or media server.

The VMware backup proxy server is the only host on which NetBackup client software is installed. No NetBackup client software is required on the VMware virtual machines.

Virtual machineVirtual machines provide complete guest operating systems on virtualized hardware. In a NetBackup policy, a virtual machine is configured as a NetBackup client, even though NetBackup client software is not installed on the virtual machine.

Alternative configurations are possible.

See “Best practices” on page 51.

25How to configure and use NetBackup for VMwareNetBackup for VMware environment

ESX serverThe VMware ESX server presents a virtualized hardware environment to multiple virtual machines; each virtual machine runs an independent operating system. Users can run applications in the virtualized OS as if the OS was installed in its own physical machine.

VirtualCenter serverThe VMware VirtualCenter server coordinates multiple ESX servers and work loads by migrating virtual machines from one ESX server to another. The VirtualCenter server is optional in the NetBackup for VMware environment. It provides additional functionality such as the ability to back up powered down virtual machines.

Converter serverThe VMware Converter server assists in full virtual machine restores to the ESX server. The Converter must be installed on the same host as the VMware backup proxy server.

VMware NetBackup Integration Module (VNIM) not required!The VMware NetBackup Integration Module (VNIM) is not required for NetBackup for VMware. Conflicts can occur between NetBackup 6.5.x for VMware policies and any older script-based policies that use VNIM.

See under “Notes and tips” on page 56.

26 How to configure and use NetBackup for VMwareNetBackup for VMware environment

Environment diagramThe hardware components for NetBackup for VMware are shown in Figure 2-1.

Figure 2-1 NetBackup for VMware: backup environment

Note: With VCB version 1.1 and ESX server 3.5, a SAN connection between the backup proxy server and the datastore is optional if you use the NBD or NBDSSL transfer type.

See “Configuring a VMware policy” on page 32.

Basic backup process:

1 The NetBackup master server initiates the backup.

2 The NetBackup client on the VMware backup proxy server initiates a VMware snapshot.

3 The VMware sync driver synchronizes the file system on the virtual machine.

4 The VMware backup proxy server does one of the following:

■ For full virtual machine backup: copies the disk files from the VMware virtual disk datastore.

■ For file-level backup: mounts individual disk volumes from the VMware virtual disk datastore.

5 The NetBackup media server reads the data from the VMware snapshot on the proxy server and writes the data to the NetBackup storage unit.

NetBackup master server

LAN / WAN

VMware ESX server runs virtual machines

VMware backup proxy serveracting as both NetBackup

media server and Snapshot Client off-host client

VMware virtual disk files (datastore)

must be available on SAN, iSCSI, or local network to both VMware backup proxy

server and VMware ESX server.

SAN

1

2 5

4

3NetBackup storage unit(disk or tape)

27How to configure and use NetBackup for VMwareNetBackup for VMware environment

The NetBackup for VMware environment may have a VMware VirtualCenter that manages multiple ESX servers.

Figure 2-2 VirtualCenter with multiple ESX servers

Backup type: file-level and full virtual machineNetBackup for VMware supports two kinds of backup of virtual machines: file-level and full virtual machine.

■ File-level: backs up ordinary files and folders on the virtual machine.The backed up files and folders can be individually restored. Does not support restore of the guest OS or of the virtual machine.

Note: a file-level backup cannot back up the following:

■ The VMware virtual disk files that define the virtual machine.

■ Windows system protected files (System State).

■ Windows system directories such as the following:C:\WINDOWS\system C:\WINDOWS\system32

■ Windows system database files (such as RSM Database and Terminal Services Database).

■ Full virtual machine: backs up an entire virtual machine as a set of virtual disk files. The backup includes all files and folders as well as operating system files and VMware virtual disk files. Supports restore of the guest OS and of the entire virtual machine. Also supports individual file restore for a Windows guest OS if the backup was made with the 2-Mapped FullVM or 3-FullVM and file for incremental option.

VMware VirtualCenter

NetBackup master server

LAN / WAN

VMware ESX servers

VMware backup proxy server

VMware virtual disk files (datastore)

SAN

NetBackup storage unit(disk or tape)

28 How to configure and use NetBackup for VMwareNetBackup for VMware environment

Notes and restrictionsNote the following about NetBackup for VMware:

■ NetBackup for VMware does not work with the VMware NetBackup Integration Module (VNIM). Conflicts can occur between NetBackup 6.5.x for VMware policies and any older script-based policies that use VNIM.

See under “Notes and tips” on page 56.

■ NetBackup master and media servers and the VMware backup proxy server must run NetBackup 6.5.2 or later.

■ The VMware backup proxy server must run Windows 2003. The supported hardware types are the same as for any NetBackup Windows client. Further information is available on supported guest operating systems and VMware components and versions.

See “VMware support matrices” on page 53.

■ NetBackup for VMware does not support a USB drive as the snapshot mount point on the backup proxy server. This support will be added in a future release.

■ For Windows virtual machines, the snapshot mount point on the backup proxy server must be a local drive, not network mounted. Do not set compression or encryption on the mount point.

■ NetBackup for VMware does not support the NetBackup Instant Recovery feature.

■ For UNIX and Linux virtual machines, NetBackup for VMware supports full virtual machine backup and full virtual machine restore only.

■ VMware does not support VCB snapshots of virtual machines if a drive is assigned to the virtual machine in raw device mapping (RDM) mode.

■ To restore individual NTFS encrypted files, you must install a NetBackup client on the virtual machine.

■ See “Best practices” on page 51.

License requirementsNetBackup for VMware requires the NetBackup Snapshot Client license, which is included in the NetBackup Enterprise Client license.

29How to configure and use NetBackup for VMwareConfiguration tasks: overview

Configuration tasks: overview

VMware tasksThe VMware components including ESX servers and virtual machines must be set up before you configure NetBackup. These VMware-specific tasks are only briefly described in this guide. Further assistance with these tasks may be found in your VMware documentation.

Notes:

■ Ensure that the hardware and the SAN are configured properly. The VMware datastore where the target virtual machine files exist must be accessible to both the ESX server and the VMware backup proxy. Note that With VCB version 1.1 and ESX server 3.5, a SAN connection between the backup proxy server and the datastore is optional if you use the NBD or NBDSSL transfer type.

Table 2-1 VMware tasks

Tasks for the VMware administrator

1 Set up disk storage on Fibre Channel or iSCSI. The disk storage must be accessed by the VMware backup proxy server and by the ESX servers or VirtualCenter server.

Note: With VCB version 1.1 and ESX server 3.5, a SAN connection between the backup proxy server and the datastore is optional if you use the NBD or NBDSSL transfer type.

2 Install the VMware ESX server and virtual machines.

3 Install VMware Tools on the virtual machines that you plan to back up.

4 Optional: install a VirtualCenter server.

The VirtualCenter server must not be installed on the same host as the VMware backup proxy server.

5 Install the VMware Converter server on the VMware backup proxy server.

Note: the proxy server must be installed on Windows 2003.

6 Install a supported version of VMware Consolidated Backup (VCB) on the VMware backup proxy server.

See “VMware support matrices” on page 53.Symantec recommends that the NetBackup media server and the VMware backup proxy server be installed on the same host.

30 How to configure and use NetBackup for VMwareConfiguration tasks: overview

■ VMware has specific hardware and configuration requirements. VMware SAN requirements can be found in the VMware SAN Configuration guide.

See http://www.vmware.com/pdf/vi3_san_guide.pdf

NetBackup tasksTable 2-2 lists the NetBackup configuration tasks that are described later in this chapter and in other NetBackup documentation, as indicated.

Table 2-2 NetBackup tasks

Tasks for the NetBackup administrator

1 Install the NetBackup 6.5.2 master server and media server.

See the NetBackup 6.5 Installation Guide.Symantec recommends that the NetBackup media server and the VMware backup proxy server be installed on the same host.

2 Install the NetBackup 6.5.2 Snapshot Client license on the master server, and install Snapshot Client 6.5.2 software on the VMware backup proxy server.

See the Installation chapter of the NetBackup Snapshot Client Administrator’s Guide.Note: the proxy server must be installed on Windows 2003.

3 Set NetBackup access credentials for the VMware VirtualCenter (if any) or VMware ESX servers.

See “Adding NetBackup credentials for VMware” on page 31.

4 Add the VMware backup proxy server to your NetBackup configuration.

See “Adding the proxy server to NetBackup configuration” on page 32.

5 Configure incremental backups for VMware.

See “Configuring incremental backups for VMware” on page 32.

6 Create a NetBackup Snapshot Client policy for VMware.

See “Configuring a VMware policy” on page 32.

7 Perform a backup or restore.

See “Backing up VMware files” on page 42 and “Restoring VMware files” on page 43.

8 Recheck the configuration.

See “Best practices” on page 51 and “Troubleshooting” on page 56.

31How to configure and use NetBackup for VMwareConfigure NetBackup

Configure NetBackupThis section describes the NetBackup configuration procedures.

Adding NetBackup credentials for VMwareThe NetBackup server requires logon credentials to access the VMware ESX servers or the VMware VirtualCenter.

To add NetBackup credentials

1 Start the NetBackup Administration Console:

On UNIX, enter: /usr/openv/netbackup/bin/jnbSA &

On Windows, click Start > Programs > Veritas NetBackup > NetBackup Administration Console.

2 Click Media and Device Management > Credentials > Virtual Machine Servers.

3 Click Actions > New > New Virtual Machine Server and enter the fully qualified domain name of the virtual machine server (VirtualCenter or ESX server).

4 In the Credentials pane of the Virtual Machine Server dialog box, enter the following:

Virtual machine server type

Select the type of virtual machine:

■ VMware VirtualCenter server: for a VirtualCenter that manages multiple VMware ESX servers. Note: if you have a VirtualCenter, do not enter logon credentials for individual ESX servers. NetBackup uses credentials for the VirtualCenter only.

■ VMware ESX server: for ESX servers where there is no VirtualCenter. Use this dialog box to enter credentials for each ESX server.

User name

Enter the user name for the virtual machine server.

Password

Enter the password (and confirm it) for the virtual machine server.

Connect using port number

Unless the port number was changed on the VMware server, no port specification is required. If the Connect using port number box is checked, deselect it. VMware Consolidated Backup software determines the port.

5 Click OK.

6 If your site has multiple ESX servers but no VMware VirtualCenter, use the Virtual Machine Server dialog box to enter credentials for each ESX server.

32 How to configure and use NetBackup for VMwareConfigure NetBackup

Adding the proxy server to NetBackup configurationYou must add the VMware backup proxy server to your NetBackup configuration. In the NetBackup Administration Console, do the following.

To add the proxy server

1 Click Host Properties > Master Server > double click NetBackup master server > Virtual Machine Proxy Servers.

2 Click Add.

3 In the New Server dialog box, enter the fully qualified domain name of the VMware backup proxy server, and click Add.

4 When you are finished adding proxies, click Close.

5 Click Apply and then OK.

Configuring incremental backups for VMwareIncremental backups of virtual machines must be based on timestamps, not on archive bit. You must configure the NetBackup client on the VMware backup proxy server as follows.

To configure the client on the proxy server for incremental backups

1 Start the Backup, Archive, and Restore interface from the NetBackup client that is installed on the VMware backup proxy server. For example: click Start > Programs> Veritas NetBackup > Backup, Archive, and Restore.

2 Click File > NetBackup Client Properties.

3 On the General tab, make sure Perform incrementals based on archive bit is clear (unchecked).

Configuring a VMware policyThe following procedure describes how to create a policy for VMware backup. You can also use the Snapshot Policy Configuration wizard to create a policy.

To configure a VMware policy

1 Start the NetBackup Administration Console as follows:

On UNIX, enter: /usr/openv/netbackup/bin/jnbSA &

On Windows, click Start > Programs > Veritas NetBackup > NetBackup Administration Console.

2 Click on Policies and select Actions > New > New Policy.

33How to configure and use NetBackup for VMwareConfigure NetBackup

3 Select one of the following policy types:

MS-Windows-NT

For backup of individual drives or individual folders and files (Windows only). Cannot back up the entire virtual machine. For a backup of the entire virtual machine, choose FlashBackup-Windows.

FlashBackup-Windows

For backup of individual drives (Windows), or backup of the entire virtual machine (any supported virtual machine).

For UNIX and Linux virtual machines, FlashBackup-Windows is the only supported policy type.

The FlashBackup-Windows policy type has the following advantages:

■ Increases the backup speed as compared to standard file-order backup methods, if the virtual machine is heavily populated with small files.

Select storage unit or group

Click Perform snapshot backups andPerform off-host backup.

Select the policy type: MS-Windows-NT or FlashBackup-Windows

Click Use virtual machine proxy and select the VMware proxy.

34 How to configure and use NetBackup for VMwareConfigure NetBackup

■ Can create a backup from which you can restore either individual files or the full virtual machine.

4 Select a policy storage unit or storage unit group.

Storage unit groups are described in the NetBackup Administrator’s Guide, Volume I.

5 Select Perform snapshot backups.

If Bare Metal Restore is installed, you must deselect Collect disaster recovery information for Bare Metal Restore to select Perform snapshot backups.

The FlashBackup-Windows policy type automatically selects Perform snapshot backups.

6 Select Perform off-host backup and Use virtual machine proxy.

7 In the Virtual Machine Proxy Server field (Off-host backup machine on Windows): select the name of the VMware backup proxy server from the pull-down list.

If the proxy server does not appear in the pull-down, make sure it was added to the Host Properties setting.

See “Adding the proxy server to NetBackup configuration” on page 32.

You may have to close and reopen the policy for the added proxy server to appear in the list.

8 Click Snapshot Options.

35How to configure and use NetBackup for VMwareConfigure NetBackup

Specify these values for the VMware snapshot method:

Snapshot mount point

A folder on the VMware backup proxy server. An example mount point is: G:\mnt

If the folder does not exist on the VMware backup proxy, NetBackup creates it.

This folder is used in one of two ways, depending on the Virtual Machine Backup parameter value you choose:

■ For file-level backups (0-File), the VMware backup proxy server mounts snapshots of individual virtual disk volumes in this folder. These snapshots are links to the virtual datastore. No virtual machine data is copied to this folder.

■ For full virtual machine backups (1-FullVM or 2-Mapped FullVM), the VMware backup proxy server creates a snapshot of the entire virtual machine in this folder. This snapshot contains copies of all virtual disk files on the virtual datastore that constitute a point-in-time image of the entire virtual machine. Enough space must be available in this folder to contain the snapshot.

Automatically selected when you chooseUse virtual machine proxy on Attributes tab.

Specify these options

36 How to configure and use NetBackup for VMwareConfigure NetBackup

NOTE: For Windows virtual machines, the mount point must be a local drive, not network mounted. Also, do not set compression or encryption on the mount point.

See “The backup fails with status 156” on page 58.

Virtual Machine Backup options

0-File: Backs up either of the following:

■ Individual folders and files, individual drives, or all local drives, with the MS-Windows-NT policy type.

■ Individual drives or all local drives, with the FlashBackup-Windows policy type.

The 0-File option cannot be used to back up Windows system files or VMware virtual disk files.

See “Backup type: file-level and full virtual machine” on page 27.

1-FullVM: Backs up the entire virtual machine. This option works with the FlashBackup-Windows policy type only. Individual files cannot be restored from this backup.

2-Mapped FullVM: Backs up the entire virtual machine. This option works with the FlashBackup-Windows policy type only. Two kinds of restore are possible: restore of the entire virtual machine or of individual folders and files.

A tabular presentation of these parameters is available.

See “VMware backup options compared” on page 41.

3-FullVM and file for incremental: A combination of options 2 and 0. Backs up the entire virtual machine for full backups, and backs up individual files, folders, or drives for incrementals. This option works with the FlashBackup-Windows policy type only. For incremental backups, this option saves time when transferring data to the backup proxy.

Transfer type

These options require VCB 1.1 and ESX server 3.5 or later. The transfer types determine how the snapshot data is sent from the VMware datastore to the VMware backup proxy. The appropriate option depends in part on the type of network that connects the VMware datastore to the VMware backup proxy.

0-SAN For unencrypted transfer over Fibre Channel (SAN) or iSCSI. This value is the default.

1-NBD For unencrypted transfer over a local network that is using the Network Block Device (NBD) driver protocol. This type of transfer is usually slower than over Fibre Channel.

37How to configure and use NetBackup for VMwareConfigure NetBackup

VMDK type

This option requires VCB 1.1 and ESX server 3.5 or later. It determines whether the virtual disk files are optimized for transmission to the backup proxy.

9 To save these settings, click OK and then Apply.

10 Use the Schedules tab to define a schedule.

11 On the Clients tab, click New to specify virtual machines to back up.

2-NBDSSL For encrypted transfer (SSL) over a local network that is using the Network Block Device (NBD) driver protocol. This type of transfer is usually slower than over Fibre Channel.

3-SAN then NBD Provides transfer redundancy if the VMware datastore is available on both a SAN and a local network. With option 3, NetBackup attempts an unencrypted transfer over Fibre Channel (SAN) or iSCSI. If that fails, it transfers the snapshot data using the Network Block Device (NBD) driver protocol over the local network.

4-SAN then NBDSSL Provides transfer redundancy if the VMware datastore is available on both a SAN and a local network. NetBackup attempts an unencrypted transfer over Fibre Channel (SAN) or iSCSI. If that fails, it transfers the snapshot data with SSL encryption using the Network Block Device (NBD) driver protocol over the local network.

0-Optimized The virtual disk (vmdk) files are optimized so that only the necessary blocks are transferred. If a virtual machine has a 200 GB disk but only 10 GB are used, the vmdk file sent to the proxy is 10 GB plus the grain tables that describe the optimized vmdk files. 0-optimized is the default. If the policy storage unit is not PureDisk, accept the default.

1-Full The virtual disk (vmdk) files are not optimized. The full vmdk file is sent. This option is needed only if the policy specifies a PureDisk storage unit. If the snapshot data is optimized, PureDisk cannot employ deduplication on it.

38 How to configure and use NetBackup for VMwareConfigure NetBackup

■ Select a VirtualCenter or ESX server, or select individual virtual machines.

■ To discover virtual servers on the network, click the Browse Virtual Machines box.

Use the Find field to locate a virtual machine in the list.

■ To enter the name of a virtual machine manually, uncheck the Browse Virtual Machines box. The format of the virtual machine name depends on your system. It may be the fully qualified name or another name, depending on your network configuration and how the name is defined in the guest OS. If NetBackup cannot find the name you enter, policy validation fails.

■ The machine names that are listed may be derived from a cache file. Using the cache file is faster than rediscovering the machines on the network if your site has a large number of virtual machines. To update the cache file and re-display virtual machines, click the refresh option to the right of the Last Update field. This field shows the date and time of the most recent cache file that contains the names of virtual machines.

For NetBackup to access the virtual machines, the following are required:

ESX server or VirtualCenter

39How to configure and use NetBackup for VMwareConfigure NetBackup

■ The VMware VCB must be installed on the VMware backup proxy server.

■ The NetBackup master server must have credentials for the VMware VirtualCenter or ESX server(s).

See “Adding NetBackup credentials for VMware” on page 31.

■ The browsing time-out value must not be set too low.

See “Changing the browsing time-out for virtual machine discovery” on page 56.

The virtual machines you selected are listed in the Clients tab.

12 Use the Backup Selections tab to specify the virtual machine files to back up.

Click New. You can make entries manually, or click on the pull-down (UNIX) or hand icon (Windows) to select from available directives.

Note: for VMware snapshot backup, the System_State directive (Windows 2000) and the ShadowCopy Components directive (Windows 2003) are not supported.

Enter any of the following and then click Add (on UNIX) or press Enter (Windows):

40 How to configure and use NetBackup for VMwareConfigure NetBackup

■ Individual Windows folders and files, if the policy type is MS-Windows-NT.

■ Individual drive letters. The drive letter format depends on the policy type:

MS-Windows-NT policy type

Enter the drive letter as follows (for example):

E:\

The drive letter must not be a network (shared) drive: it must specify a drive on the virtual machine.

For MS-Windows-NT policies, you cannot back up the following: Windows System State, Windows ShadowCopy Components, Windows system files (such as on the C: drive), or VMware virtual disk files. To back up these files, use the ALL_LOCAL_DRIVES directive in a FlashBackup-Windows policy.

FlashBackup-Windows policy type

Enter the drive letter as follows (for example):

\\.\E:

The drive must be designated exactly as shown (E:\ is not correct).

■ The ALL_LOCAL_DRIVES directive backs up all local drives on the virtual machines that are selected on the Clients tab. This entry is the only one supported for UNIX and Linux virtual machines.

IMPORTANT: the kinds of files that are included in an ALL_LOCAL_DRIVES backup depend on the policy type and the VMware snapshot options, as follows.

■ MS-Windows-NT policy: the ALL_LOCAL_DRIVES directive backs up all data files on the virtual machines that are selected on the Clients tab. This directive does not back up the following: Windows System State, Windows system files (such as on C:), or VMware virtual disk files.

■ FlashBackup-Windows policy: the ALL_LOCAL_DRIVES directive backs up all data files on the virtual machines.

The ALL_LOCAL_DRIVES directive also backs up the following, if the snapshot option is 1-FullVM, 2-Mapped FullVM, or 3-FullVM and file for incremental: Windows System State files, Windows OS partitions that contain the Windows system files (usually C:), and VMware virtual disk files.

See “VMware backup options compared” on page 41 for more details.

For FlashBackup-Windows: if you chose value 1 or 2 for the Virtual Machine Backup parameter, ALL_LOCAL_DRIVES is the only entry allowed under Backup Selections.

41How to configure and use NetBackup for VMwareConfigure NetBackup

13 On the policy Attributes tab: if you click Apply or OK, a validation process checks the policy and reports any errors. If you click Close, no validation is performed.

VMware backup options comparedTable 2-3 describes the backup options for MS-Windows-NT policies.

Table 2-4 describes the backup options for FlashBackup-Windows policies.

Table 2-3 VMware backup options for MS-Windows-NT policies

Backup Selections entry Virtual Machine Backup parameter

What is backed up What can be restored

Individual folders and files 0-File Specified folders and files only, excluding Windows system files

Individual folders and files

Individual drives

For example: E:\

0-File All data files and folders in specified drives, excluding Windows system files

Individual folders and files

ALL_LOCAL_DRIVES directive

0-File All data files and folders on all local virtual machine drives, excluding Windows system files

Individual folders and files

Table 2-4 VMware backup options for FlashBackup-Windows policies

Backup Selections entry

Virtual Machine Backup parameter

What is backed up What can be restored

Individual drives

For example: \\.\E:

0-File Individual drives as raw devices. Individual folders and files, or entire drive (not including operating system or VMware virtual disk files)

ALL_LOCAL_DRIVES directive

0-File All individual drives in virtual machine as raw devices.

Individual folders and files, or entire drives (not including operating system or VMware virtual disk files)

ALL_LOCAL_DRIVES directive

1-FullVM VMware virtual disk files. Backup is “raw partition” type.

Entire virtual machine only

42 How to configure and use NetBackup for VMwareBacking up VMware files

Note that backup type 3-FullVM and file for incremental is a combination of types 2 and 0.

Backing up VMware filesYou can initiate a VMware backup in the same manner as any NetBackup backup.

NetBackup for VMware does not support user backups: only manual or scheduled backups are allowed.

To back up files manually

1 Click on the Policies node in the NetBackup Administration Console, select the policy, and click Actions > Manual Backup.

ALL_LOCAL_DRIVES directive

2-Mapped FullVM VMware virtual disk files. Backup is “raw partition” type.

Entire virtual machine or individual folders and files

Table 2-4 VMware backup options for FlashBackup-Windows policies

Backup Selections entry

Virtual Machine Backup parameter

What is backed up What can be restored

43How to configure and use NetBackup for VMwareRestoring VMware files

2 See the NetBackup Backup, Archive, and Restore Getting Started Guide for further instructions.

Restoring VMware filesYou can use the NetBackup Backup, Archive, and Restore interface to restore from NetBackup for VMware backups, as explained in this section.

VMware restore procedures: overview

Individual file restoreThe following restore procedures are supported.

■ One-stage process: restore individual files to the virtual machine by restoring to the backup proxy. The VMware virtual machine drives to which restores are to be directed must be configured in one of two ways:

■ The virtual machine drives must be shared through the guest operating system on the virtual machine.

■ NetBackup client software must be installed on the VMware virtual machine.

See “Setting up NetBackup Client Service for restore to a shared virtual machine drive” on page 44.

■ Two-stage process:

1, Restore individual files from the VMware backup proxy server to a NetBackup Windows client (not to the virtual machine).

See the NetBackup Backup, Archive, and Restore Getting Started Guide on how to restore to different locations.

2, Manually copy the restored files to the Windows virtual machine. (NetBackup does not perform this step.)

Full VMware virtual machine restoreThe following restore procedure is supported.

Restore all virtual machine files to the VMware backup proxy server, which is used as a staging machine. Then do one of the following:

■ Let NetBackup issue a VMware-provided script to restore the virtual machine to a designated virtual machine server. The virtual machine files are then removed from the staging machine.

■ Use the VMware Converter application on your own to restore the virtual machine from the staging machine to the virtual machine server.

44 How to configure and use NetBackup for VMwareRestoring VMware files

Setting up NetBackup Client Service for restore to a shared virtual machine driveTo restore individual files to a Windows virtual machine which has a shared drive, note: the “NetBackup Client Service” must be logged on as the Administrator account (not as the Local System account). The Administrator account lets NetBackup write to the directories on the virtual machine to which the data is restored.

If you try to restore files while the NetBackup Client Service is logged on as the Local System account, the restore fails.

To log on the NetBackup Client Service as Administrator

1 In Windows Services on the VMware backup proxy server, double-click the NetBackup Client Service.

2 Check the Log On tab: if the service is not logged in as Administrator, stop the service.

3 Change the logon to the Administrator account in the domain in which both the virtual machine and the proxy server reside.

4 Restart the service.

5 Retry the restore.

Restore notesNote the following.

■ Unless a NetBackup client is installed on the virtual machine, NetBackup for VMware backups do not support user-directed restore. Only server-directed restores performed by the administrator are allowed.

■ In the NetBackup Backup, Archive, and Restore interface, restore types labeled “proxy restore” do not apply to VMware backups. An example of such a restore type is “from Normal Backup as a Proxy.” These restore types do not refer to the VMware backup proxy server. Use the restore procedures that are described in this chapter.

■ For VMware files that were encrypted on the virtual machine using Windows NTFS encryption, you must install a NetBackup client on the virtual machine.

45How to configure and use NetBackup for VMwareRestoring VMware files

Restoring individual folders and filesIf the VMware backup was made with either of the following, you can restore individual files:

■ An MS-Windows-NT policy.

■ A FlashBackup-Windows policy with a Virtual Machine Backup parameter set to 0-File, 2-Mapped FullVM, or 3-FullVM and file for incremental.

To restore individual folders or files

1 Start the NetBackup Backup, Archive, and Restore interface.

On UNIX servers, you can start the interface from the NetBackup Administration Console.

On Windows, you must start the Backup, Archive, and Restore interface separately.

2 Specify the source client and destination client and type of policy:

UNIX: on the Restore Files tab, click

Windows: click Files > Specify NetBackup Machines and Policy Type.

3 Specify the following:

■ Server to use for backup and restores: the NetBackup master server that directed the backup.

■ Source client for restores: the VMware virtual machine that was backed up.

■ Destination client for restores: specify one of the following:

■ The VMware virtual machine that was originally backed up, if NetBackup client software has been installed on the virtual machine.

■ The VMware backup proxy server.

Note that NetBackup Client Service must be logged on as Administrator.

See “Setting up NetBackup Client Service for restore to a shared virtual machine drive” on page 44.

■ Policy type for restores: the type of policy that made the backup (MS-Windows-NT or FlashBackup-Windows).

4 Select the type of restore:

UNIX: on the Restore Files tab, select Normal Backups.

Windows: click Files > Select Files and Folders to Restore > from Normal Backup

5 UNIX: enter the Browse directory that contains the folders or files to restore.

46 How to configure and use NetBackup for VMwareRestoring VMware files

6 Click the files you want to restore.

7 Start the restore:

UNIX: click Restore.

Windows: click Actions > Restore...

8 Windows: if NetBackup client software is not installed on the virtual machine, select one of the following:

■ Restore everything to a different location

■ Restore individual folders and files to different locations

Destinations must be entered as UNC path names that refer to shared drives on the virtual machine.

For example, to restore the file E:\folder1\file1 on virtual machine vm1, enter the following destination:

\\vm1\e$\folder1\file1

Restoring the full VMware virtual machineIf the VMware backup was made with both of the following, you can restore the entire virtual machine:

■ A FlashBackup-Windows policy.

■ The Virtual Machine Backup parameter was set to any of the following:

■ 1-FullVM

■ 2-Mapped FullVM

■ 3-FullVM and file for incremental, and the policy schedule was a full backup type.

To restore the full virtual machine

1 Start the NetBackup Backup, Archive, and Restore interface as described under “Restoring individual folders and files” on page 45.

2 Specify the source client and destination client and type of policy:

UNIX: On the Restore Files tab, click

Windows: click Files > Specify NetBackup Machines and Policy Type.

3 Specify the following:

■ Server to use for backup and restores: the NetBackup master server that directed the backup.

■ Source client for restores: the VMware virtual machine that was backed up.

■ Destination client for restores: the VMware backup proxy server.

■ Policy type for restores: FlashBackup-Windows.

47How to configure and use NetBackup for VMwareRestoring VMware files

4 Select the type of restore:

UNIX: on the Restore Files tab, select Restore type > Virtual Machine Backups.

Windows: click the down arrow on the option to select Restore from Virtual Machine Backup. A restore window displays the backups available for restore.

5 Select the virtual machine backup to restore.

UNIX:

■ On the Restore Files tab, specify the Start date and End date within which to search for the backup. Click either of these options:

■ Specify root (/) in the Browse directory field and press Enter.

■ Click on the root folder that is displayed under Directory Structure.

48 How to configure and use NetBackup for VMwareRestoring VMware files

Windows:

In the NetBackup History pane, click on the VMware backup, then click on the item that is displayed under All Folders. You cannot select individual files. You must select the entire virtual machine.

6 Select restore options.

UNIX: click Restore.

Windows: click Actions > Restore.

49How to configure and use NetBackup for VMwareRestoring VMware files

7 Select from the following options on the Restore Marked Files dialog box:

Restore Options

■ Restore all virtual machine files to a virtual machine server automatically using VMware Converter

Restores all virtual machine files to the staging machine that is specified on this dialog box. NetBackup then issues a VMware-provided script to restore the virtual machine to the virtual machine server you specify. After the restore is complete, the restored virtual machine is powered off. The virtual machine files are then removed from the staging machine.

Note: If the virtual machine display name already exists on the Virtual machine server, the restore fails.

50 How to configure and use NetBackup for VMwareRestoring VMware files

Note the following options:

■ Restore all virtual machine files to the staging machine

Restores all virtual machine files to the staging machine. NetBackup does not restore the files to the virtual machine server. You can use the VMware Converter application to restore the entire virtual machine from the staging machine to the Virtual machine server.

See your VMware documentation.

Restore Destination Choices

■ Virtual machine server:

Perform identity restore to

restore UUID (Universal Unique

Identifier)

Select this option if you want to retain the UUID of the original virtual machine (note that the UUID is a globally unique identifier). The virtual machine is restored with the same UUID that it had before the restore. This option requires that the previous virtual machine (the one that was backed up) has been deleted, so that the UUID is free.

Note: if the UUID exists, the restore fails.

The default (do not perform identify restore) checks to make sure that the display name of the new virtual machine (the one created by the restore) does not already exist. The virtual machine created by the restore is given a new UUID.

Strip network information from

the virtual machine that has

been restored

Select this option to make sure that the virtual machine created for the restore does not have the same IP address as the virtual machine that was backed up. The network information is deleted at the time of the restore.

The default is to retain the IP information. Use the default if you have already deleted the virtual machine that was backed up and you want the virtual machine created by the restore to keep the same IP information as the original machine.

Remove backing information for

devices like DVD/CD-ROM

drives, serial or parallel ports

Select this option if you do not want to restore hardware backing information from the original image. Default settings will be substituted.

51How to configure and use NetBackup for VMwareBest practices

Select or enter the virtual machine server to which to restore the files. The list includes only the machines for which NetBackup has credentials. The default server is the one stored in the backup image information.

■ Staging machine for restoration:

Select or enter the VMware backup proxy server to which the VMware files are temporarily restored. If you chose Restore the entire virtual machine, the files are then restored to the Virtual machine server and deleted from this staging server.

The default is the VMware backup proxy server that was used for the backup. The name of that proxy server is stored in the backup image information. On this dialog box, the pull-down list for staging machines includes the VMware backup proxy servers that are defined in existing NetBackup policies.

■ Restore staging location:

Enter a Windows file path on the staging machine to which the virtual machine files are temporarily restored. The default is the VMware backup proxy server mount point that was stored in the backup image information.

8 Click Start Restore.

Best practices■ For an in-depth treatment on best practices, see the following:

http://www.symantec.com/business/products/whitepapers.jsp?pcid=2244&pvid=2_1

■ For a more efficient backup, the NetBackup media server and the VMware backup proxy server should be installed on the same host.

■ VMware recommends that you run no more than four simultaneous backups of virtual machines that reside on the same datastore.

■ On the VMware backup proxy server, the file system that contains the snapshot mount point undergoes extensive I/O during full virtual machine backup. For this reason, the file system should reside on a high performance device.

■ On the VMware backup proxy server, the file system that contains the snapshot mount point should be reserved for snapshots only. It should also be on a dedicated SCSI or Fibre Channel bus.

■ The file system that contains the snapshot mount point should be routinely defragmented. A heavily fragmented file system can adversely affect the performance of a FlashBackup-based backup.

52 How to configure and use NetBackup for VMwareBest practices

■ To increase backup throughput on the VMware backup proxy, define multiple snapshot mount points. Each mount point should be created on a disk that is connected on its own disk bus (such as SCSI or IDE). Thus, I/O activity that one policy creates can be isolated from I/O activity that other policies create.

■ Successful VMware snapshots depend on the following:

■ The amount of I/O that occurs on the virtual machine datastore. Backups should be scheduled when relatively little I/O activity is expected. Reducing the number of simultaneous backups can also help. (Use the Limit jobs per policy attribute in the NetBackup policy.)

■ The design of the I/O substructure that is associated with each virtual machine datastore. For correct I/O design and implementation, consult your VMware documentation.

■ Include in a single NetBackup policy those virtual machines that use the same datastore. This practice lets you control the amount of backup-related I/O that occurs per datastore and thus limit the backup impact on the target virtual machines.

■ NetBackup supports multiple VMware backup proxy servers. When a single backup proxy is saturated with a backup process, another proxy can be added to increase backup throughput.

■ Upgrade to the latest version of VMware Virtual Infrastructure, which includes the latest version of ESX server, VirtualCenter Server, and VCB.

More informationMore information about VMware and NetBackup for VMware can be found in the following:

■ VMware Inc. provides an extensive set of manuals on VMware products.

See the VMware ESX Server and VirtualCenter documentation at:http://www.vmware.com/support/pubs/

■ For an in-depth treatment on best practices, see the following:http://www.symantec.com/business/products/whitepapers.jsp?pcid=2244&pvid=2_1

■ Veritas NetBackup 6.5 for VMware 3.x Best Practices Guide (Symantec white paper).

■ Veritas NetBackup 6.5 for VMware 3.x Implementation Guide (Symantec white paper).

53How to configure and use NetBackup for VMwareVMware support matrices

VMware support matricesThis section describes support information for NetBackup for VMware.

Supported VMware componentsNetBackup for VMware supports the following.

Supported operating systems for VMware backup proxy serverThe VMware backup proxy server must be installed on Windows 2003 (32 or 64 bit).

Supported disk arraysNetBackup for VMware can be used with any storage array that VMware Consolidated Backup (VCB) supports. Make sure the datastore for the ESX server is on storage that VCB supports.

VMware guest operating systems testedThe following table lists VMware guest operating systems that tested successfully with NetBackup 6.5.2.

Table 2-5 Supported VMware components and versions

VMware component Version

ESX server (including VMware Tools) 3.0, 3.0.1, 3.0.2, 3.5, and 3i.

VMware Consolidated Backup (VCB) 1.x

Table 2-6 VMware guest operating systems tested

VMware guest OS Notes

Windows Vista Requires ESX server 3.5 and VCB 1.1

Windows XP 32bit/64bit Windows XP 64bit requires VMware Tools 3.0.1 (not supported with 3.0.2)

Windows 2008 32bit/64bit Requires ESX server 3.5 and VCB 1.1

Windows 2003 32bit/64bit

Windows 2000 32bit

Windows NT 4.0

54 How to configure and use NetBackup for VMwareVMware support matrices

Supported file systemsTable 2-7 lists supported file systems (left column). The supported backup types are shown for each policy type and file system combination. The backup types are described following the table.

Description of backup types:

RHEL 2.1

RHEL 3.0

RHEL 4 32bit/64bit

RHEL 5 32bit/64bit Requires VMware Converter version 3.0.2 or later.

SLES 9 32bit/64bit

SLES 10 32bit/64bit

Solaris 10 64bit

Table 2-6 VMware guest operating systems tested

VMware guest OS Notes

Table 2-7 Supported file systems

File system

Supported backup types per NetBackup policy type

MS-Windows-NT FlashBackup-Windows Notes

NTFS

(Windows NT)

0-File 1-FullVM

NTFS

(Windows 2000 and later)

0-File 0-File1-FullVM2-Mapped FullVM

All features of NetBackup for VMware are supported.

FAT

(all Windows versions)

0-File 1-FullVM

Other

(Any VMware guest OS)

Not supported 1-FullVM Policy backup selections must specify ALL_LOCAL_DRIVES

55How to configure and use NetBackup for VMwareVMware logging

■ 0-File: For backup of individual files. Cannot back up Windows system files or VMware virtual disk files.

■ 1-FullVM: For backup of the entire virtual machine only.

■ 2-Mapped FullVM: For backup of the entire virtual machine. Allows restore of the entire virtual machine or of individual files.

■ 3-FullVM and file for incremental (not included in Table 2-7): A combination of options 2 and 0. Backs up the entire virtual machine for full backups, and backs up individual files, folders, or drives for incrementals.

More information is available on these backup types.

See “Virtual Machine Backup options” on page 36.

Snapshot Client support matrixFor a list of supported platforms, file systems, and other components, see the NetBackup 6.x Snapshot Client Compatibility document:

http://seer.entsupport.symantec.com/docs/279042.htm

VMware loggingFor log messages about VMware backup or restore, see the following NetBackup log folders.

Note: These log folders must already exist in order for logging to occur. If these folders do not exist, create them.

More detail is available on snapshot logs, logging levels, and the required folders.

See the NetBackup 6.5 Snapshot Client Administrator’s Guide.

A broader discussion of NetBackup logging is available.

See the NetBackup Troubleshooting Guide.

Table 2-8 The NetBackup logs that contain VMware messages

Log folder Contains Resides on

install_path\NetBackup\logs\bpfis Messages on snapshot creation and backup

VMware backup proxy server

install_path\NetBackup\logs\bpcd Messages on snapshot creation and backup

VMware backup proxy server

install_path\NetBackup\logs\bprd Messages on restore NetBackup master server

56 How to configure and use NetBackup for VMwareTroubleshooting

TroubleshootingThis section covers a variety of troubleshooting topics.

VMware environment—important!Unsupported equipment can cause many problems. Ensure that your VMware environment (including ESX servers, SAN devices, and backup proxy) conforms to all requirements and recommendations that are spelled out by VMware. For instance, if VMware does not support your HBAs, device drivers, or guest operating systems, NetBackup cannot work.

For support details, see VMware documentation at the VMware support site (for example, the VMware compatibility guides).

Changing the browsing time-out for virtual machine discoveryYou can adjust the time available for browsing for virtual machines in the NetBackup policy.

To change the browsing time-out value

1 In the NetBackup Administration Console, click on the Policies node.

2 From the main menu, click View > Options, then click the Policies tab.

3 Adjust the VMware connect timeout value.

4 Click OK.

Notes and tips■ Make sure you have the latest version of the VMware Consolidated Backup

(VCB) on the VMware backup proxy server.

■ NetBackup for VMware does not work with the VMware NetBackup Integration Module (VNIM). Note the following:

■ If VNIM is installed, do not configure a NetBackup for VMware policy (with the VMware snapshot method) to call any scripts that use VNIM. Such a policy results in a backup that fails.

■ Do not run any NetBackup for VMware policy at the same time as a script-based policy that calls VNIM. If the two policies require access to the same virtual machine, a conflict may result and the backup may fail.

■ For incremental backups, make sure the VMware backup proxy server is correctly configured. Otherwise, NetBackup performs only full backups.

57How to configure and use NetBackup for VMwareTroubleshooting

See “Configuring incremental backups for VMware” on page 32.

■ You cannot restore Windows operating system files from a file-level backup of a virtual machine. You can restore standard data files only. A restore of the operating system requires a full virtual machine backup.

■ Make sure the VMware Tools are installed on each virtual machine. Otherwise, communication problems and other problems can result.

■ You cannot restore VMware files onto the virtual machine itself, except under certain conditions.

See “VMware restore procedures: overview” on page 43.

■ Backups using the 1-FullVM, 2-Mapped FullVM, or 3-FullVM and file for incremental option are not supported if the snapshot staging area in VMware backup proxy has compression or encryption enabled.

See under “The backup fails with status 156” on page 58.

Backup and restore problems

Credentials for VMware server are not validA number of possible problems can prevent NetBackup gaining access to the ESX server or VirtualCenter. NetBackup’s Add Virtual Machine Server dialog has a Validate Credentials box that directs NetBackup to verify the credentials when you click OK. If the credentials do not pass validation, a pop-up message appears.

Problems can result for a variety of reasons, including the following:

■ An incorrect virtual machine server name. Make sure that the server name is entered correctly.

■ An invalid user name or password. Make sure that a valid user name and password were entered correctly.

■ An incorrect port number. Make sure that the port number is correct, or you can uncheck the Connect using port number box. In most cases, no port specification is required. VMware Consolidated Backup software determines the port.

NetBackup cannot obtain the volume ID of a driveIf NetBackup cannot obtain the volume ID of a drive that is listed in the policy’s Backup Selections list, note: none of the drives that are listed in the policy for the client are backed up. The backup fails with NetBackup status code 156. Try one of the following:

58 How to configure and use NetBackup for VMwareTroubleshooting

■ Use the ALL_LOCAL_DRIVES directive in the Backup Selections list, instead of listing individual drives.

■ A drive letter that is specified in the policy’s Backup Selections list may be incorrect, or the drive may be down. Update the client’s include list (Exceptions to exclude list), and fix or remove the drive entry in the Backup Selections list.

The backup fails with status 156A backup failure with status 156, “snapshot error encountered,” can occur for several reasons:

■ You cannot run more than one backup per virtual machine at a time. If you start a second backup of the same virtual machine while the first backup is active, the second job fails with a status 156.

■ If the VMware backup proxy server has insufficient space in which to mount a snapshot of the virtual machine, the backup fails with status 156. The bpfis log on the VMware backup proxy server may contain a message such as the following:13:35:37.859 [5536.1276] <2> onlfi_vfms_logf: [2007-09-21 13:35:34.578 'vcbMounter' 2204 error] Error: Failed to export the disk: There is not enough space on the disk

Free up additional space on the proxy server and rerun the backup.

■ If the VMware backup proxy server does not have access to the VMware datastore (VMware virtual disk files), the backup fails with status 156. The bpfis log on the VMware backup proxy server may contain messages such as the following:12:23:29.998 [3892.3332] <2> onlfi_vfms_logf: [2008-05-07 12:23:26.279 'App' 3668 trivia] Attempting to open LVID:46a9ed36-ca235c12-1236-00001a1a24e4/46a9ed35-aa804fd4-6b99-00001a1a24e4/1. 12:23:29.998 [3892.3332] <2> onlfi_vfms_logf: [2008-05-07 12:23:26.279 'App' 3668 error] No path to device LVID:46a9ed36-ca235c12-1236-00001a1a24e4/46a9ed35-aa804fd4-6b99-00001a1a24e4/1 found. 12:23:29.998 [3892.3332] <2> onlfi_vfms_logf: [2008-05-07 12:23:26.279 'BlockList' 3668 error] 12:23:29.998 [3892.3332] <2> onlfi_vfms_logf: [2008-05-07 12:23:26.279 'SOAP' 3668 trivia] Sending soap request to [TCP:namur:443]: release 12:23:29.998 [3892.3332] <2> onlfi_vfms_logf: [2008-05-07 12:23:26.560 'BlockList' 3668 info] Closing connection namur:443:root

59How to configure and use NetBackup for VMwareTerminology

12:23:29.998 [3892.3332] <2> onlfi_vfms_logf: [2008-05-07 12:23:26.560 'SOAP' 3668 trivia] Sending soap request to [TCP:namur:443]: logout 12:23:29.998 [3892.3332] <2> onlfi_vfms_logf: [2008-05-07 12:23:26.638 'vcbMounter' 3668 error] Error: Failed to open the disk: Cannot access a SAN/iSCSI LUN backing this virtual disk. (Hint: Option "-m ndb" swtiches vcbMounter to network base disk access if this is what you want.) 12:23:29.998 [3892.3332] <2> onlfi_vfms_logf: [2008-05-07 12:23:26.638 'vcbMounter' 3668 error] An error occurred, cleaning up...

■ A disk was mounted on a virtual machine but the disk is assigned to the virtual machine in raw mode. As a result, the attempt to create a snapshot of the virtual machine fails. The bpfis log on the VMware backup proxy server may contain a message such as the following:12:46:27.175 [2636.5628] <2> onlfi_vfms_logf: [2007-10-17 12:46:27.019 'App' 1976 verbose] Fault Msg: "Virtual machine is configured to use a device that prevents the snapshot operation: Device '' is a raw disk, which is not supported."

■ Backups that use the 1-FullVM, 2-Mapped FullVM, or 3-FullVM and file for incremental option are not supported if the snapshot mount point on the VMware backup proxy server has compression or encryption enabled. For the backup, the VMware backup proxy server copies the space-optimized VMware virtual machine images to its snapshot mount point. The Windows NTFS file system allocated for the snapshot mount point should not have the Compression or Encryption attribute set. If either attribute is set, backups succeed but single file restores cannot be performed from the backups.

TerminologyFor further explanations of VMware terminology, refer to your VMware documentation.

datastoreIn NetBackup for VMware, the datastore is a disk that contains the virtual machines files. The datastore must be available to both the VMware backup proxy server and the ESX server.

guest OSAn operating system that runs on a virtual machine.

60 How to configure and use NetBackup for VMwareTerminology

hypervisorA software virtualization layer that lets different operating systems run simultaneously on the same physical machine.

sync driverFlushes OS buffers (Windows only) before VMware snapshots are initiated. The sync driver is installed by means of VMware Tools.

VCBSee VMware Consolidated Backup.

virtual machineAn execution environment that is created by the computer hardware and the hypervisor. The resulting virtualized environment allows different operating systems to run simultaneously on the same physical machine.

vmdk fileIn a VMware ESX server, one or more vmdk files make up the disk image or virtual drive in a virtual machine. The .vmdk files contain the operating system, applications, and data in the virtual machine.

VMware backup proxy serverAn off-host backup server in a NetBackup for VMware environment. The VMware backup proxy server performs backups on behalf of virtual machines. At a minimum, the VMware VCB software and a NetBackup client must be installed on the backup proxy.

VMware Consolidated BackupAn off-host backup application programming interface (API) created by VMware. Designed to off load backups from the ESX server.

VMware ToolsInstalled inside each VMware virtual machine. Enhances the virtual machine performance and adds backup-related functionality.

Clustering NetBackup Operations Manager

This chapter contains the following topics:

■ “About a NetBackup Operations Manager cluster”

■ “Supported cluster solutions”

■ “Installing/Upgrading to NOM 6.5.2 in a clustered mode”

■ “Adding a new node to an existing NOM cluster”

■ “Removing NetBackup Operations Manager from a cluster”

■ “Administering a NOM cluster”

■ “Limitations of a NOM cluster”

■ “Troubleshooting a NetBackup Operations Manager cluster”

About a NetBackup Operations Manager clusterClusters provide high availability of applications and data to users. In a cluster, two or more nodes are linked in a network and work collectively as a single system. Each node can access the shared disks with the help of cluster software. All nodes in a cluster are constantly aware of the status of resources on the other nodes. If a node becomes unavailable, resources running on that node migrate to an available node (this is called failover).

NetBackup Operations Manager (NOM) operates in an active/passive failover configuration. NOM 6.5.2 must be installed on the active node and the passive (or failover nodes). When a failover occurs in a NOM cluster, NOM is shut down on the active node and starts on one of the failover nodes in the cluster. During failover, users experience only a short interruption in service. This failover provides high availability for NOM.

3Chapter

62 Clustering NetBackup Operations ManagerSupported cluster solutions

You can cluster all the components of NetBackup Operations Manager. Installing NOM in a clustered environment makes NOM a highly available application.

About the NOM agent for Veritas Cluster Server on Windows and Solaris

A NOM cluster may comprise of two or more nodes. The active node (where the NOM application runs) is monitored with active checks to ensure that the system is operating correctly. The NOM agent for Veritas Cluster Server (VCS) monitors and controls specific hardware and software resources for NOM. The agent determines the status of these resources and starts or stops NOM according to external events.

The NOM agent for VCS is installed when you install NOM 6.5.2. When the agent detects an application failure, the NOM resource group is failed over to another system in the cluster.

Specific agent functions include the following:

Supported cluster solutions For NetBackup Operations Manager 6.5.2 to be clustered, you must have Veritas Cluster Server (VCS) installed. VCS 4.1 and later versions and VCS 5.0 are supported on both Windows and Solaris platforms in a NOM cluster.

Veritas Cluster Server is a high-availability solution for cluster configurations. With Veritas Cluster Server you can monitor systems and application services, and restart services on a different system when hardware or software fails.

For more information about VCS, see the Veritas Cluster Server User's Guide.

Note: NOM 6.5.2 supports Veritas Cluster Server as a cluster solution. Other solutions like Microsoft Cluster Server may be supported in later releases.

Online Starts the NOM services.

Offline Stops the NOM services.

Monitor Verifies the status of the NOM services.

Clean Stops all NOM services/daemons after detecting an unexpected offline operation or an ineffective online operation.

63Clustering NetBackup Operations ManagerInstalling/Upgrading to NOM 6.5.2 in a clustered mode

Installing/Upgrading to NOM 6.5.2 in a clustered mode

This section describes how to install and configure NetBackup Operations Manager on Windows and Solaris, in a clustered mode.

If you want to install NOM 6.5.2 as a new installation, see the following topic.

See “Installing NOM 6.5.2 in a clustered mode on Windows and Solaris” on page 63.

If you have an existing NOM installation and want to upgrade to NOM 6.5.2 in a clustered mode, see the following topic.

See “Upgrading from a standalone NOM server to NOM 6.5.2 in clustered mode” on page 72.

Installing NOM 6.5.2 in a clustered mode on Windows and Solaris

Table 3-1 lists the steps needed to install and configure NOM 6.5.2 on a Windows and Solaris cluster.

Table 3-1 Sequence of steps for installing NOM 6.5.2 in a clustered mode

Step Description See this Topic

1 Perform preinstallation checks. See “Installation Prerequisites” on page 64.

2 Install NetBackup client software on all the nodes of the cluster.

See “Installing NetBackup client software” on page 65.

3 Install Symantec Product Authentication Service on all the nodes of the cluster.

See “Installing Symantec Product Authentication Service” on page 65.

4 Install NetBackup Operations Manager 6.5.2 on all the nodes of the cluster.

See “Installing NOM 6.5.2 on a cluster” on page 69.

5 Enter details for the pre-configuration checklist.

See “Pre-configuration checklist for a Solaris cluster” on page 70.

6 Configure the NOM cluster See “Configuring NetBackup Operations Manager cluster” on page 71.

7 Read this topic to know the changes after configuration.

See “Using NOM after the cluster is configured” on page 85.

64 Clustering NetBackup Operations ManagerInstalling NOM 6.5.2 in a clustered mode on Windows and Solaris

Note: These instructions assume that you want to install NOM 6.5.2 on all the nodes of a cluster. In case you want to install NOM only on some nodes, use these steps to install and configure NOM on the specific nodes.

Installation PrerequisitesThis section contains information about the requirements that must be met before you install and configure NOM in a clustered mode.

■ Ensure that your hardware and software is supported by VCS and NOM 6.5.2. To know the list of platforms supported by NOM, see the NetBackup version compatibility matrix posted on the Support Web site (http://entsupport.symantec.com). To know if your hardware or software is supported by VCS, consult the VCS documentation.

■ Set up a VCS cluster. Ensure that VCS is correctly installed and configured (VCS 4.1 and later versions and VCS 5.0 are supported with NOM 6.5.2). NOM 6.5.2 can be installed on as many nodes as VCS supports.

■ Symantec recommends that the virtual name of the NOM cluster should not contain an underscore ( _ ) character. For example, a virtual name like nom_cluster is not recommended.

■ For a Windows cluster, you must install a patch after you have setup a VCS cluster. You should install this patch before installing NetBackup Operations Manager. The patch along with the instructions is available at the following location:

http://seer.entsupport.symantec.com/docs/278307.htm

■ For a Windows cluster, verify that the cluster disk group(s) and dynamic volume(s) for NOM have been created on the shared storage. Refer to the Veritas Storage Foundation Administrator’s Guide for details on how to create these.

■ For a Solaris cluster, make sure that each node in the cluster, on which you want to install NOM, is rsh equivalent. ssh must also be enabled on each node so that the NOMCAdmin utility can work properly.

See “Administering a NOM cluster” on page 93.

8 Configure the Netbackup master servers so that they can be monitored by NOM.

See “Configuring the NetBackup master servers” on page 85.

Table 3-1 Sequence of steps for installing NOM 6.5.2 in a clustered mode

Step Description See this Topic

65Clustering NetBackup Operations ManagerInstalling NOM 6.5.2 in a clustered mode on Windows and Solaris

■ For a Solaris cluster, ensure that the shared disk is not mounted on any node in the cluster.

If applicable, unmount the NOM shared mount point. Stop the volume the mount point is on and stop the disk group for that volume on all nodes.

■ Ensure that you have an IP address and host name (virtual name) to be assigned to the NOM cluster.

■ You must have administrator rights to the VCS cluster.

■ The shared disk must be configured and accessible to all cluster nodes on which you want to install NOM.

■ Ensure that you are installing a supported configuration of authentication service.

See “Installing Symantec Product Authentication Service” on page 65.

Installing NetBackup client software Install NetBackup client software shipped with NOM 6.5 on all the nodes.

You can install the software from the Client CD/DVD. See the appropriate client sections of the NetBackup Installation Guide for instructions.

Installing Symantec Product Authentication ServiceNOM requires that Symantec Product Authentication Service is installed and running before it can be clustered. You must install the version of Symantec Product Authentication Service shipped with NOM 6.5.

Note: Symantec Product Authentication Service is installed when you install Veritas Cluster Server. You must upgrade to the version of authentication service shipped with NOM 6.5.

Installing Symantec Product Authentication Service on WindowsSymantec Product Authentication Service must be installed remotely on a Windows cluster. Both clustered and non-clustered modes are supported in a remote configuration.

All cluster nodes must use the same remote host or remote authentication cluster.

66 Clustering NetBackup Operations ManagerInstalling NOM 6.5.2 in a clustered mode on Windows and Solaris

Note: Installing the authentication service locally on the NOM cluster is not supported on Windows.

Symantec Product Authentication Service can be installed remotely in the following ways on Windows:

■ Remote authentication service in a non-clustered mode

Authentication service is installed on a remote host in Root+AB mode. Installing the authentication service remotely means that you install the client APIs locally on the NOM server and install the authentication server component in Root + AB mode on a remote computer.

The procedure to install authentication service remotely has been explained in the installation chapter in the Veritas NetBackup Operations Manager 6.5 Guide.

■ Remote authentication service in a clustered mode

Authentication service is installed as a clustered service on a remote host in Root+AB mode. This means that you install the client APIs locally on the NOM server and install the authentication server component as a clustered service (in Root + AB mode) on a remote server.

Consult the Symantec Product Authentication Service Installation Guide to know the procedure to install authentication service remotely in a clustered mode.

Figure 3-1 shows the supported configuration of authentication service on Windows.

67Clustering NetBackup Operations ManagerInstalling NOM 6.5.2 in a clustered mode on Windows and Solaris

Figure 3-1 Supported configuration of authentication service on Windows

Installing Symantec Product Authentication Service on SolarisSymantec Product Authentication Service can be installed both locally and remotely on a Solaris cluster.

If you are installing authentication service locally on the NOM server, you must install authentication service in a clustered mode. If you are installing authentication service remotely, you can install authentication service in a clustered or non-clustered mode.

Note: In a remote configuration, all cluster nodes must use the same remote host or remote authentication cluster.

Symantec Product Authentication Service can be installed in the following ways on Solaris:

■ Local authentication service in a clustered mode

Authentication service is installed as a clustered service locally on the NOM server on each node in the cluster.

Consult the Symantec Product Authentication Service Installation Guide to know the procedure.

68 Clustering NetBackup Operations ManagerInstalling NOM 6.5.2 in a clustered mode on Windows and Solaris

■ Remote authentication service in a clustered mode

Authentication service is installed as a clustered service on a remote host in Root+AB mode. This means that you install the client APIs locally on the NOM server and install the authentication server component as a clustered service (in Root + AB mode) on a remote server.

Consult the Symantec Product Authentication Service Installation Guide to know the procedure to install authentication service remotely in a clustered mode.

■ Remote authentication service in a non-clustered mode

Authentication service is installed on a remote host in Root+AB mode. Installing the authentication service remotely means that you install the client APIs locally on the NOM server and install the authentication server component in Root + AB mode on a remote computer.

The procedure to install authentication service remotely has been explained in the installation chapter in the Veritas NetBackup Operations Manager 6.5 Guide.

Figure 3-2 shows the supported remote configurations for authentication service in a Solaris cluster.

Figure 3-2 Supported remote configurations for Symantec Product Authentication Service

69Clustering NetBackup Operations ManagerInstalling NOM 6.5.2 in a clustered mode on Windows and Solaris

After you complete the installation, ensure that Symantec Product Authentication Service is functional and works as expected.

Installing NOM 6.5.2 on a clusterIn order to cluster NOM and make it highly available, you must install and configure NOM. NOM 6.5.2 should be installed separately on each node in a cluster.

To install NOM 6.5.2 on a Windows and Solaris cluster

1 Install NOM 6.5 on all the nodes in the cluster. See Installing NOM software section for your platform in the Veritas NetBackup Operations Manager Guide for specific instructions.

Ensure that you meet the following requirements during NOM installation:

■ The Authentication Service Host Name must be the same for all the nodes in a cluster. You need to enter a value for the Authentication Service Host Name while installing NOM on the Veritas Netbackup Operations Manager Security Options screen.

In case you have installed authentication service as a clustered service, the Authentication Service Host Name must be the virtual name of the authentication service cluster for all the nodes of a cluster. If the authentication service has been installed remotely, the Authentication Service Host Name must be the name of the remote host for all the nodes of the cluster.

■ Custom password must be the same for all the nodes of a NOM cluster.

■ The NOM database must be installed at the default location for all the nodes in a cluster. The default location for the NOM database on Windows is INSTALL_PATH\NetBackup Operations Manager\db\data and on Solaris is /opt/VRTSnom/db/data.

2 Install the NOM 6.5.2 release update on all the nodes. Use the instructions in the NOM 6.5.2 ReadMe for your platform to upgrade from NOM 6.5 to NOM 6.5.2.

Pre-configuration checklistThe configuration script requests certain details during installation. Fill the checklist for your platform before configuring the NOM cluster.

Note: Ensure that virtual name of the NOM cluster does not contain an underscore ( _ ) character.

70 Clustering NetBackup Operations ManagerInstalling NOM 6.5.2 in a clustered mode on Windows and Solaris

Pre-configuration checklist for a Windows clusterFill the following details before configuring the Windows cluster. Examples are listed on the right hand side.

Note: Symantec recommends that you do not use L: as a shared drive letter. L: is used by the NOMCAdmin command for administering a NOM cluster.

Pre-configuration checklist for a Solaris clusterFill the following details before configuring the Solaris cluster.

All configurations

Shared disk drive informationYou can opt for a disk group configuration if you are using VxVM or configure a mount if you are using a physical disk. You must have the following details depending on your configuration.

Scenario 1 - Disk group configuration (using VxVM)

Configuration details Example

Shared drive letter __________________________ N:

Shared drive path ___________________________ \nom_cluster

Virtual name of the NOM cluster______________ nomvcswin

Virtual IP address___________________________ 10.209.14.132

Subnet mask________________________________ 255.255.252.0

Network connection name___________________ LAN

Node names on which NOM is installed________ SIGWINVCS1 SIGWINVCS2

Node names on which NOM is installed _____________________________________

Network Device Name (NIC) _____________________________________

IP Address _____________________________________

Subnet mask _____________________________________

Virtual name for the NOM cluster _____________________________________

Disk group resource Example

71Clustering NetBackup Operations ManagerInstalling NOM 6.5.2 in a clustered mode on Windows and Solaris

Scenario 2- Configuring a mount (using physical disk)

Configuring NetBackup Operations Manager clusterIn order to cluster NOM and make it highly available, you must configure the NOM cluster.

To configure the NOM cluster on Windows

1 Stop the NOM services on all the nodes. Run the following command:INSTALL_PATH\NetBackup OperationsManager\bin\admincmd\NOMAdmin.bat -stop_service

2 Configure NetBackup Operations Manager cluster by running the following command from the active node:INSTALL_PATH/NetBackup Operations Manager/bin/nomclusterconfig.exe

Disk Group_________________________________ nom_group1

Start Volumes_______________________________ 0 or 1

Stop Volumes_______________________________ 0 or 1

Volume resource (optional)

Volume Name_______________________________ vol_nom

Mount resource

Mount point________________________________ /opt/VRTSnomclus (default)

Block device________________________________ /dev/vx/dsk/nom_group1/vol

File system type_____________________________ ufs

fsck options________________________________ (if you add other options, -y is also required)

Mount resource Example

Mount point________________________________ /opt/VRTSnomclus (default)

Block device________________________________ /dev/dsk/c3t2d1s6

File system type_____________________________ ufs

Mount option (optional)

fsck options________________________________ (if you add other options, -y is also required)

72 Clustering NetBackup Operations ManagerUpgrading from a standalone NOM server to NOM 6.5.2 in clustered mode

3 Answer the questions based on the information gathered in the pre-configuration checklist for Windows.

4 Read the following topic to know the changes after the NOM cluster has been configured.

See “Using NOM after the cluster is configured” on page 85.

Note: You must configure your managed NetBackup master servers to allow server access and data collection by NOM.See “Configuring the NetBackup master servers” on page 85.

To configure the NOM cluster on Solaris

Note: Before starting this procedure, ensure that the shared disk is not mounted on any node in the cluster. If applicable, unmount the NOM shared mount point. Stop the volume the mount point is on and stop the disk group for that volume on all nodes.

1 Stop the NOM services on all the nodes. Run the following command:/opt/VRTSnom/bin/NOMAdmin -stop_service

2 Configure NetBackup Operations Manager cluster by running the following command from any node where NOM 6.5.2 is installed:/opt/VRTSnom/bin/cluster/cluster_config -s nom

The configuration utility mounts the NOM database on the shared disk.

3 Answer the questions based on the information gathered in the pre-configuration checklist for Solaris.

4 Read the following topic to know the changes after the NOM cluster has been configured.

See “Using NOM after the cluster is configured” on page 85.

Note: You must configure your managed NetBackup master servers to allow server access and data collection by NOM.See “Configuring the NetBackup master servers” on page 85.

Upgrading from a standalone NOM server to NOM 6.5.2 in clustered mode

You can upgrade to NetBackup Operations Manager 6.5.2 in clustered mode from the previous versions.

73Clustering NetBackup Operations ManagerUpgrading from a standalone NOM server to NOM 6.5.2 in clustered mode

Table 3-2 lists the steps to upgrade to NOM 6.5.2 on a Windows or Solaris cluster.

Note: These instructions assume that you want to install NOM 6.5.2 on all the nodes of a cluster. In case you want to install NOM 6.5.2 only on some nodes, use these steps to install and configure NOM on the specific nodes.

Table 3-2 Sequence of steps to upgrade to NOM 6.5.2 in a clustered mode

Step Description See this Topic

1 Perform checks prior to upgrade.

See “Prerequisites” on page 74.

2 Upgrade your existing NOM installation to NOM 6.5.2.

See “Upgrading your existing NOM installation to NOM 6.5.2” on page 75.

3 Create a VCS cluster. See “Creating a VCS cluster” on page 80.

4 Install the NetBackup client software on all nodes of the cluster except the existing NOM server.

See “Installing NetBackup client software” on page 80.

5 Install Symantec Product Authentication Service on all nodes of a cluster except the existing NOM server.

See “Installing Symantec Product Authentication Service on the other nodes” on page 80.

6 Install NetBackup Operations Manager 6.5.2 on the other nodes except the existing NOM server.

See “Installing NOM 6.5.2 on the other nodes” on page 81.

7. Enter details for the pre-configuration checklist.

See “Pre-configuration checklist for a NOM cluster” on page 81.

8 Configure the NOM cluster. See “Configuring NetBackup Operations Manager cluster” on page 83.

9 Read this topic to know the changes after configuration.

See “Using NOM after the cluster is configured” on page 85.

10 Configure the Netbackup master servers so that they can be monitored by NOM.

See “Configuring the NetBackup master servers” on page 85.

74 Clustering NetBackup Operations ManagerUpgrading from a standalone NOM server to NOM 6.5.2 in clustered mode

PrerequisitesThis section contains information about the requirements that must be met before you install and configure NOM in a clustered mode.

■ Before upgrading to NOM 6.5.2, ensure that the NOM database is installed at the default location on the existing NOM server.

The default location for the NOM database on Windows is INSTALL_PATH\NetBackup Operations Manager\db\data and on Solaris is /opt/VRTSnom/db/data.

Instructions for moving the NOM database from a custom location to the default location are available.

See “Moving a NOM 6.5 or 6.5.1 database to the original default location” on page 394.

■ Ensure that your hardware and software is supported by VCS and NOM 6.5.2. To know the list of platforms supported by NOM, see the NetBackup version compatibility matrix posted on the Support Web site (http://www.symantec.com/business/support/index.jsp). To know if your hardware or software is supported by VCS, consult the VCS documentation.

■ Ensure that VCS is correctly installed and configured (VCS 4.x and 5.0 are supported with NOM 6.5.2). NOM 6.5.2 can be installed on as many nodes as VCS supports.

■ Symantec recommends that the virtual name of the NOM cluster should not contain an underscore ( _ ) character. For example, a virtual name like nom_cluster is not recommended.

■ For a Windows cluster, you must install a patch after you have setup a VCS cluster. You should install this patch before installing NetBackup Operations Manager. The patch is available at the following location:

http://seer.entsupport.symantec.com/docs/278307.htm

■ For a Windows cluster, verify that the cluster disk group(s) and dynamic volume(s) for NOM have been created on the shared storage. Refer to the Veritas Storage Foundation Administrator’s Guide for details on how to create these.

■ For a Solaris cluster, make sure that each node in the cluster, on which you want to install NOM, is rsh equivalent. ssh must also be enabled on these nodes so that the NOMCAdmin utility can work properly.

See “Administering a NOM cluster” on page 93.

■ For a Solaris cluster, ensure that the shared disk is not mounted on any node in the cluster.

75Clustering NetBackup Operations ManagerUpgrading from a standalone NOM server to NOM 6.5.2 in clustered mode

If applicable, unmount the NOM 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.

■ Ensure that you have an IP address and host name (virtual name) to be assigned to the NOM cluster.

■ You must have administrator rights to the VCS cluster.

■ Ensure that the other nodes use the same Authentication Service Host Name that is used by the existing NOM server. All the nodes in a cluster must use the same Authentication Service Host Name.

■ Ensure that you are installing a supported configuration of authentication service. In a remote configuration of Symantec Product Authentication Service, all cluster nodes must use the same remote host.

See “Installing Symantec Product Authentication Service” on page 65.

Upgrading your existing NOM installation to NOM 6.5.2Use the following instructions to upgrade your existing NOM installation to NOM 6.5.2.

Case 1: Existing NOM server is NOM 6.0 (including its maintenance packs)If you have an earlier NOM version installed on the existing NOM server like NOM 6.0 (including the maintenance packs), first upgrade to NOM 6.5.

When you upgrade to NOM 6.5, you must install Symantec Product Authentication Service in a supported configurations.

Installing Symantec Product Authentication Service on WindowsSymantec Product Authentication Service must be installed remotely on a Windows cluster. Both clustered and non-clustered modes are supported in a remote configuration.

All cluster nodes must use the same remote host or remote authentication cluster.

Note: Installing the authentication service locally on the NOM cluster is not supported on Windows.

Symantec Product Authentication Service can be installed remotely in the following ways:

■ Remote authentication service in a non-clustered mode

76 Clustering NetBackup Operations ManagerUpgrading from a standalone NOM server to NOM 6.5.2 in clustered mode

Authentication service is installed on a remote host in Root+AB mode. Installing the authentication service remotely means that you install the client APIs locally on the NOM server and install the authentication server component in Root + AB mode on a remote computer. The procedure to install authentication service remotely has been explained in the installation chapter in the Veritas NetBackup Operations Manager 6.5 Guide.

■ Remote authentication service in a clustered mode

Authentication service is installed as a clustered service on a remote host in Root+AB mode. This means that you install the client APIs locally on the NOM server and install the authentication server component as a clustered service (in Root + AB mode) on a remote server.

Consult the Symantec Product Authentication Service Installation Guide to know the procedure to install authentication service remotely in a clustered mode.

After completing the installation, ensure that Symantec Product Authentication Service is functional and works as expected.

Figure 3-3 explains how authentication service works in a remote configuration.

Figure 3-3 Supported remote installation types for authentication service

77Clustering NetBackup Operations ManagerUpgrading from a standalone NOM server to NOM 6.5.2 in clustered mode

Installing Symantec Product Authentication Service on Solaris

Symantec Product Authentication Service can be installed both locally and remotely on a Solaris cluster. If you are installing authentication service locally on the NOM server, you must install authentication service in a clustered mode. If you are installing authentication service remotely, you can install authentication service in clustered or non-clustered modes.

Note: In a remote configuration, all cluster nodes must use the same remote host or remote authentication cluster.

Symantec Product Authentication Service can be installed in the following ways on Solaris:

■ Local authentication service in a clustered mode

Authentication service is installed as a clustered service locally on the NOM server on each node in the cluster.

Consult the Symantec Product Authentication Service Installation Guide to know the procedure.

■ Remote authentication service in a clustered mode

Authentication service is installed as a clustered service on a remote host in Root+AB mode. This means that you install the client APIs locally on the NOM server and install the authentication server component as a clustered service (in Root + AB mode) on a remote server.

Consult the Symantec Product Authentication Service Installation Guide to know the procedure to install authentication service remotely in a clustered mode.

■ Remote authentication service in a non-clustered mode

Authentication service is installed on a remote host in Root+AB mode. Installing the authentication service remotely means that you install the client APIs locally on the NOM server and install the authentication server component in Root + AB mode on a remote computer.

The procedure to install authentication service remotely has been explained in the installation chapter in the Veritas NetBackup Operations Manager 6.5 Guide.

Figure 3-4 explains how authentication service works in a remote configuration.

78 Clustering NetBackup Operations ManagerUpgrading from a standalone NOM server to NOM 6.5.2 in clustered mode

Figure 3-4 Supported remote installation types for authentication service

See the following links for upgrading to NOM 6.5 on Windows and Solaris respectively:

http://seer.entsupport.symantec.com/docs/295109.htm

http://seer.entsupport.symantec.com/docs/295110.htm

Use the NOM 6.5.2 ReadMe of your platform for installing NOM 6.5.2. After installing NOM 6.5.2, ensure that NOM is functional and is working as expected.

Case 2: Existing NOM server is NOM 6.5/6.5.1If you have NOM 6.5/6.5.1 installed on the existing NOM server, upgrade to NOM 6.5.2. See the NOM 6.5.2 ReadMe of your platform for installation instructions.

For installing NOM 6.5.2 on a Windows cluster, you must install Symantec Product Authentication Service on a remote host in a clustered or non-clustered mode.

See “Installing Symantec Product Authentication Service” on page 65.

Note: Installing the authentication service locally on the NOM cluster is not supported on Windows.

79Clustering NetBackup Operations ManagerUpgrading from a standalone NOM server to NOM 6.5.2 in clustered mode

For installing NOM 6.5.2 on a Solaris cluster, you should install Symantec Product Authentication Service on a remote host or locally on the NOM cluster nodes. If you are installing authentication service locally on the NOM server, you must install authentication service in a clustered mode. If you are installing authentication service remotely, you can install authentication service in clustered or non-clustered modes.

See “Installing Symantec Product Authentication Service” on page 65.

If your NOM server already uses a supported configuration on Windows and Solaris, see the following topic.

See “Creating a VCS cluster” on page 80.

If your NOM server does not use a supported configuration, review the following text.

If you want to use clustered authentication service (local or remote), cluster the existing Symantec Product Authentication Service. Consult the Symantec Product Authentication Service documentation for the procedure. After this, configure the authentication service parameters using the following procedure.

See “To configure Symantec Product Authentication Service after installing NOM 6.5.2” on page 79.

If you want to use remote configuration in a non-clustered mode (supported for both Windows and Solaris), configure the authentication server parameters by using the following procedure.

See “To configure Symantec Product Authentication Service after installing NOM 6.5.2” on page 79.

Use the following procedure to configure Symantec Product Authentication Service in the supported configuration.

To configure Symantec Product Authentication Service after installing NOM 6.5.2

1 Enter the following command:NOMAdmin -change_NOM_AT_parameters

The authentication server parameters appear one by one. The current values of the parameters are specified in brackets.

2 Enter the new values next to the respective parameter. If you do not enter a new value for a parameter, the value of the parameter will not change.

In case you want a remote configuration, enter the FQDN of the remote host as Authentication Service Host Name. In case you want to install authentication service as a clustered service, enter the virtual name of the authentication service cluster as the Authentication Service Host Name.

3 You must restart the NOM services for these changes to be effective.

Answer y to restart the NOM services.

80 Clustering NetBackup Operations ManagerUpgrading from a standalone NOM server to NOM 6.5.2 in clustered mode

After following this procedure, ensure that NOM is functional and is working as expected.

Creating a VCS clusterSet up a VCS cluster using the existing NOM server and some other nodes. Consult the VCS documentation for the exact procedure.

See “Supported cluster solutions” on page 62.

Ensure that the cluster setup is functional and is working as expected.

Installing NetBackup client software Install NetBackup client software shipped with NOM 6.5 on all the nodes except your existing NOM server.

You can install the software from the Client CD/DVD. See the appropriate client sections of the NetBackup Installation Guide for instructions.

Installing Symantec Product Authentication Service on the other nodes

NOM requires that Symantec Product Authentication Service is installed and running before it can be clustered. You must install the version of Symantec Product Authentication Service shipped with NOM 6.5.

Note: Symantec Product Authentication Service is installed when you install Veritas Cluster Server. You must upgrade to the version of authentication service shipped with NOM 6.5.

Install Symantec Product Authentication Service in the same configuration that has been used for the existing NOM server. For example, if you have installed authentication service locally as a clustered service on the existing NOM Solaris server, install the authentication service locally as a clustered service on all the Solaris nodes. If you have installed authentication service remotely on the existing NOM server (supported on both Windows and Solaris), install authentication service remotely on all the nodes and use the same remote host for all the nodes.

Consult the Symantec Product Authentication Service Installation Guide to know the procedure for installing Symantec Product Authentication Service as a clustered service.

The procedure to install authentication service remotely has been explained in the installation chapter in the Veritas NetBackup Operations Manager 6.5 Guide.

81Clustering NetBackup Operations ManagerUpgrading from a standalone NOM server to NOM 6.5.2 in clustered mode

After you complete the installation, ensure that Symantec Product Authentication Service is functional and works as expected.

Installing NOM 6.5.2 on the other nodesIn order to cluster NOM and make it highly available, you must install and configure NOM. NOM 6.5.2 should be installed separately on all the nodes except your existing NOM server.

To install NOM 6.5.2 on all the other nodes on Windows and Solaris

1 Install NOM 6.5 on the other nodes in the cluster. See Installing NOM software section for your platform in the Veritas NetBackup Operations Manager Guide for specific instructions.

You must meet the following requirements during NOM installation:

■ The Authentication Service Host Name must be the same for all the nodes in a cluster. You need to enter a value for the Authentication Service Host Name while installing NOM on the Veritas Netbackup Operations Manager Security Options screen.

In case you have installed authentication service as a clustered service, the Authentication Service Host Name is the virtual name of the AT (Symantec Product Authentication Service) cluster. If the authentication service has been installed remotely (supported for both Windows and Solaris), the Authentication Service Host Name is the name of the remote host for all the nodes of the cluster.

■ Custom password must be the same for all the nodes of a NOM cluster.

■ The NOM database must be installed at the default location for all the nodes in a cluster. The default location for the NOM database on Windows is INSTALL_PATH\NetBackup Operations Manager\db\data and on Solaris is /opt/VRTSnom/db/data.

See “Moving a NOM 6.5 or 6.5.1 database to the original default location” on page 394.

2 Install the NOM 6.5.2 release update on the other nodes in the cluster. Use the instructions in the NOM 6.5.2 ReadMe for Windows and Solaris to upgrade from NOM 6.5 to NOM 6.5.2.

After the installation is complete, verify to see if NOM is working properly.

Pre-configuration checklist for a NOM clusterThe configuration utility requests certain details during installation. Fill the checklist for your platform before configuring the NOM cluster.

82 Clustering NetBackup Operations ManagerUpgrading from a standalone NOM server to NOM 6.5.2 in clustered mode

Note: Ensure that virtual name of the NOM cluster does not contain an underscore ( _ ) character.

Pre-configuration checklist for WindowsFill the following details before configuring the Windows cluster. Examples are listed on the right hand side.

Note: Symantec recommends that you do not use L: as a shared drive letter. L: is used by the NOMCAdmin command for administering a NOM cluster.

Pre-configuration checklist for SolarisFill the following details before configuring the Solaris cluster.

All configurations

Shared disk drive information for SolarisYou can opt for a disk group configuration if you are using VxVM or configure a mount using physical disk. You must have the following details depending on your configuration.

Configuration details Example

Shared drive letter__________________________ N:

Shared drive path___________________________ \nom_cluster

Virtual name of the NOM cluster______________ nomvcswin

Virtual IP address___________________________ 10.209.14.132

Subnet mask_______________________________ 255.255.252.0

Network connection name___________________ LAN

Node names on which NOM is installed________ SIGVCS1 SIGVCS2

Node names on which NOM is installed _____________________________________

Network Device Name (NIC) _____________________________________

IP Address _____________________________________

Subnet mask _____________________________________

Virtual name of the NOM cluster _____________________________________

83Clustering NetBackup Operations ManagerUpgrading from a standalone NOM server to NOM 6.5.2 in clustered mode

Scenario 1 - Configuring a disk group (using VxVM)

Scenario 2- Configuring a mount (using physical disk)

Configuring NetBackup Operations Manager clusterIn order to cluster NOM and make it highly available, you must configure the NOM cluster. The configuration utility requires you to enter details about your cluster setup.

To configure the NOM cluster on Windows

1 Stop the NOM services on all the nodes. Run the following command:INSTALL_PATH\NetBackup OperationsManager\bin\admincmd\NOMAdmin.bat -stop_service

Disk group resource Example

Disk Group_________________________________ nom_group1

Start Volumes_______________________________ 0 or 1

Stop Volumes_______________________________ 0 or 1

Volume resource (optional)

Volume_____________________________________ vol_nom

Mount resource

Mount point________________________________ /opt/VRTSnomclus (default)

Block device________________________________ /dev/vx/dsk/nom_group1/vol

File system type_____________________________ ufs

fsck options________________________________ (if you add other options, -y is also required)

Mount resource Example

Mount point________________________________ /opt/VRTSnomclus (default)

Block device________________________________ /dev/vx/dsk/nom_group1/vol

File system type_____________________________ ufs

Mount option_______________________________ (optional)

fsck options________________________________ (if you add other options, -y is also required)

84 Clustering NetBackup Operations ManagerUpgrading from a standalone NOM server to NOM 6.5.2 in clustered mode

2 Configure NetBackup Operations Manager cluster by running the following command from the active node:INSTALL_PATH\NetBackup Operations Manager\bin\nomclusterconfig.exe

3 Answer the questions based on the information gathered in the pre-configuration checklist.

4 Read the following topic to know the changes after the NOM cluster has been configured.

See “Using NOM after the cluster is configured” on page 85.

Note: You must configure your managed NetBackup master servers to allow server access and data collection by NOM.See “Configuring the NetBackup master servers” on page 85.

To configure the NOM cluster on Solaris

Note: Before starting this procedure, ensure that the shared disk is not mounted on any node in the cluster. If applicable, unmount the NOM shared mount point. Stop the volume the mount point is on and stop the disk group for that volume on all nodes.

1 Stop the NOM services on all the nodes. Run the following command:/opt/VRTSnom/bin/NOMAdmin -stop_service

2 Configure NetBackup Operations Manager cluster by running the following command from the node which has the existing NOM server (with the database):/opt/VRTSnom/bin/cluster/cluster_config -s nom

The configuration utility mounts the NOM database on the shared disk.

3 Answer the questions based on the information gathered in the pre-configuration checklist.

4 Read the following topic to know the changes after the NOM cluster has been configured.

See “Using NOM after the cluster is configured” on page 85.

Note: You must configure your managed NetBackup master servers to allow server access and data collection by NOM.See “Configuring the NetBackup master servers” on page 85.

85Clustering NetBackup Operations ManagerUpgrading from a standalone NOM server to NOM 6.5.2 in clustered mode

Using NOM after the cluster is configuredTo access NOM after configuring the cluster, type the following address on the address bar of a browser:

http://virtual name.domain:8181/nom

virtual name.domain is the virtual name of the NOM cluster. This can also be the virtual IP address of the NOM cluster.

After configuring the NOM cluster, ensure that you configure the NetBackup master server to allow data collection and monitoring by NOM.

See “Configuring the NetBackup master servers” on page 85.

After the NOM cluster is configured, you will see the following things:

■ NOM database files are moved to the shared disk.

■ The Connected To pane in the NOM UI shows the virtual name of the NOM cluster instead of the local hostname of the machine on which NOM is installed.

■ NOMCAdmin must be used for administering a NOM cluster instead of NOMAdmin. Running NOMAdmin in a clustered environment gives an error.

See “Administering a NOM cluster” on page 93.

Configuring the NetBackup master serversAfter installing a cluster, make sure that you configure the NetBackup master servers to allow server access and data collection by NOM.

You must add the virtual name of the NOM cluster and hostnames of all the nodes where NOM is installed to the trusted SERVER list on each of the master servers.

To configure the Netbackup master server

1 Make sure the NetBackup master server recognizes all the server names associated with the clustered NOM server. It is necessary that the master server can do both a successful forward and reverse name lookup for the virtual name and all the node names.

2 Once the name lookups are working properly, it is necessary to add SERVER entries for the virtual name and all the node names. From the NetBackup administration console of each managed server, use the Host Properties node of NetBackup Management to add the virtual name of the NOM cluster and all the NOM nodes.

Alternatively on UNIX based managed servers, you can also update the bp.conf file located in /usr/openv/netbackup directory.

86 Clustering NetBackup Operations ManagerAdding a new node to an existing NOM cluster

Adding a new node to an existing NOM clusterUse the following procedure to add a new node to an existing cluster.

To add a new node to an existing NOM cluster on Windows

1 Add the new node to the VCS cluster. Consult the VCS documentation for more details.

2 Install the NetBackup Client software shipped with NOM 6.5 on the new node.

You can install the software from the Client CD/DVD. See the appropriate client sections of the NetBackup Installation Guide for instructions.

3 Install Symantec Product Authentication Service on the new node.

The installation type/configuration for the authentication service for the new node must be the same as the existing NOM cluster. For example, if authentication service has been installed remotely on the existing NOM cluster, then install authentication service in a remote configuration on the new node. This means that you install the authentication client on the new node and use the same remote host that is used by the NOM cluster.

See “Installing Symantec Product Authentication Service” on page 65.

4 Install NetBackup Operations Manager 6.5 software and then upgrade to NOM 6.5.2.

See “Installing NOM 6.5.2 in a clustered mode on Windows and Solaris” on page 63.

Note: The Authentication Service Host Name for the additional node must be the same as the other nodes in a cluster. If a custom password has been configured for the clustered nodes, the same custom password must be configured for the new node.

5 Run the following command from the new node that is to be added:INSTALL_PATH\NetBackup Operations Manager\bin\nomclusterconfig -addnode -g <NOM_Resource_Group_Name>

To add a new node to an existing NOM cluster on Solaris

1 Add the new node to the VCS cluster. Consult the VCS documentation for more details.

2 Install the NetBackup client software shipped with NOM 6.5 on the new node.

You can install the software from the Client CD/DVD. See the appropriate client sections of the NetBackup Installation Guide for instructions.

87Clustering NetBackup Operations ManagerRemoving NetBackup Operations Manager from a cluster

3 Install Symantec Product Authentication Service on the new node.

The installation type/configuration for the authentication service for the new node must be the same as the existing NOM cluster. For example, if authentication service has been installed remotely on the existing NOM cluster, then install authentication service in a remote configuration on the new node. This means that you install the authentication client on the new node and use the same remote host that is used by the NOM cluster.

See “Installing Symantec Product Authentication Service” on page 65.

4 Install NetBackup Operations Manager 6.5 software and then upgrade to NOM 6.5.2.

See “Installing NOM 6.5.2 in a clustered mode on Windows and Solaris” on page 63.

Note: The Authentication Service Host Name for the additional node must be the same as the other nodes in a cluster. If a custom password has been configured for the clustered nodes, the same custom password must be configured for the new node.

5 From an existing clustered node (where NOM is installed), run the following command:/opt/VRTSnom/bin/cluster/cluster_config –s nom –o add_node –n <new_node_name>

Removing NetBackup Operations Manager from a cluster

You can choose to uninstall NOM 6.5.2 and rollback to your previous NOM version which is unclustered. You can also choose to remove NOM completely from the NOM cluster.

Instructions that accomplish both the cases are available.

See “Uninstalling NOM 6.5.2 and rolling back to the previous standalone NOM version on Windows and Solaris” on page 87.

See “Removing NOM completely from the cluster” on page 90.

Uninstalling NOM 6.5.2 and rolling back to the previous standalone NOM version on Windows and Solaris

Use the following instructions to uninstall NOM 6.5.2 and rollback to your previous version (unclustered) which may be 6.5 or 6.5.1.

88 Clustering NetBackup Operations ManagerRemoving NetBackup Operations Manager from a cluster

To uninstall NOM 6.5.2 and rollback to your previous version on Windows

1 Bring the NOM resource group online on the node which you want to use as the standalone NOM server.hagrp -switch <NOM_Resource_Group_Name> -to <system name>

2 Stop the NOM resource group and take its resources offline.hagrp -offline <NOM_Resource_Group_Name> -any

3 Bring the mount resource online.hares -online <Mount_Resource_Name>

4 Move the data folder from the shared disk to INSTALL_PATH\NetBackup Operations Manager\db directory.

5 Offline all the NOM resources that are online.hares -offline <Resource Name>

where <Resource Name> is the Mount resource name if a physical disk is configured. If a shared disk is configured using VxVM, the <Resource Name> includes mount, volume, and disk-group resource names.

6 Set the VCS configuration file to read/write mode.haconf -makerw

7 Delete all the resources.hares -delete <resource name>

8 Delete the NOM resource group. hagrp -delete <NOM_Resource_Group _Name>

9 Delete the NetBackupNOM resource type.hatype -delete NetBackupNOM

10 Save this configuration.haconf -dump -makero

The option -makero sets the configuration to read-only.

11 Use the following commands to configure the local hostname:INSTALL_PATH\NetBackup Operations Manager\bin\admincmd\NOMCAdmin -changeDBS <hostname of the system>INSTALL_PATH\NetBackup Operations Manager\bin\admincmd\NOMCAdmin -changeHostName <hostname of the system>

where <hostname of the system> is the local hostname.

12 Open the Registry Editor. Open HKEY_LOCAL_MACHINE\SOFTWARE\Veritas\NetBackup Operations

Manager\CurrentVersion\Config. Change the value of VXDBMS_NOM_DATA to INSTALL_PATH\NetBackup Operations Manager\db\data.

89Clustering NetBackup Operations ManagerRemoving NetBackup Operations Manager from a cluster

13 In the Registry Editor, open HKEY_LOCAL_MACHINE\SOFTWARE\Veritas\NetBackup Operations

Manager\CurrentVersion. Change the value of DB Data to INSTALL_PATH\NetBackup Operations Manager\db\data.

14 In the Registry Editor, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Veritas\NetBackup Operations

Manager\CurrentVersion\Cluster. Right click on the Cluster key and click Delete.

15 Navigate to INSTALL_PATH\NetBackup Operations Manager\db\conf directory. Open the databases.conf file. Change the content of the databases.conf file to reflect the path of the NOM database.

For example, if the content is "Z:\nom_cluster\db\data\vxpmdb.db", then change it to “INSTALL_PATH\NetBackup Operations Manager\db\data\vxpmdb.db”

16 Restart all the NOM services.INSTALL_PATH\NetBackup Operations Manager\bin\admincmd\NOMAdmin -start_service

17 Uninstall NOM 6.5.2. See the uninstall instructions in the NOM 6.5.2 ReadMe for Solaris. You can also uninstall NOM 6.5.2 from the remaining nodes.

To uninstall NOM 6.5.2 and rollback to previous version on Solaris

1 Bring the NOM resource group online on the node which you want to use as the standalone NOM server.hagrp -switch <NOM_Resource_Group_Name> -to <system name>

2 Stop the NOM resource group and take its resources offline.hagrp -offline <NOM_Resource_Group_Name> -any

3 Unlink the data directory located in /opt/VRTSnom/db. Enter the following command:unlink /opt/VRTSnom/db/data

4 Bring the mount resource online.hares -online <Mount_Resource_Name>

5 Browse to the NOM database on the shared drive (default location is /opt/VRTSnomclus/db) and move the data folder to /opt/VRTSnom/db.

6 Offline all the NOM resources that are online.hares -offline <Resource Name>

where <Resource Name> is the Mount resource name if a physical disk is configured. If a shared disk is configured using VxVM, the <Resource Name> includes mount, volume, and disk-group resource names.

90 Clustering NetBackup Operations ManagerRemoving NetBackup Operations Manager from a cluster

7 Set the VCS configuration file to read/write mode.haconf -makerw

8 Delete all the resources.hares -delete <Resource Name>

9 Delete the NOM resource group. hagrp -delete <NOM_Resource_Group _Name>

10 Delete the NetBackupNOM resource type.hatype -delete NetBackupNOM

11 Save this configuration.haconf -dump -makero

The option -makero sets the configuration to read-only.

12 Run the following commands to configure the local hostname:/opt/VRTSnom/bin/NOMCAdmin -changeDBS <hostname of the system>/opt/VRTSnom/bin/NOMCAdmin -changeHostName <hostname of the system>

where <hostname of the system> is the local hostname.

13 Browse to /opt/VRTSnom/bin/cluster directory and delete the NBU_RSP file. This is done so that the NOMAdmin command can work.

14 Restart all the NOM services.NOMAdmin -start_service

15 Uninstall NOM 6.5.2. See the uninstall instructions in the NOM 6.5.2 ReadMe for Solaris. You can also uninstall NOM 6.5.2 from the remaining nodes.

Removing NOM completely from the clusterUse the following instructions to remove NOM completely from the cluster. This involves removing the cluster configuration and the NOM database completely.

To remove NOM completely from Windows

1 Stop the NOM resource group and take its resources offline.hagrp -offline -force <NOM_Resource_Group> -any

where <NOM_Resource_Group> is the name of the NOM resource group.

2 Bring the mount resource online.hares -online <Mount_Resource_Name>

3 Browse to the NOM database on the shared disk and delete the db folder from INSTALL_PATH\NetBackup Operations Manager that contains the NOM database.

4 Offline all the NOM resources that are online.

91Clustering NetBackup Operations ManagerRemoving NetBackup Operations Manager from a cluster

hares -offline <Resource Name>

where <Resource Name> is the Mount resource name if a physical disk is configured. If a shared disk is configured using VxVM, the <Resource Name> includes mount, volume, and disk-group resource names.

5 Set the VCS configuration file to read/write mode.haconf -makerw

6 Delete all the resources.hares -delete <Resource Name>

7 Delete the NOM resource group. hagrp -delete <NOM_Resource_Group _Name>

8 Delete the NetBackupNOM resource type.hatype -delete NetBackupNOM

9 Save this configuration.haconf -dump -makero

The option -makero sets the configuration to read-only.

10 Remove NetBackup Operations Manager 6.5.2.

In the Add/Remove programs dialog box, select the Release Update to be uninstalled and click Remove.

Click Yes to uninstall this Release Update.

11 Remove NetBackup Operations Manager 6.5.

In the Add/Remove dialog box, select Veritas NetBackup Operations Manager and click Remove.

Click Yes to remove NOM 6.5.

12 Remove Symantec Product Authentication Service.

In the Add/Remove dialog box, select Symantec Product Authentication Service and click Remove.

Click Yes to remove Symantec Product Authentication Service.

Note: Symantec Product Authentication Service may be shared between other Symantec products. In case you have not installed any other Symantec products, you can remove Symantec Product Authentication Service.

13 Remove the NetBackup client.

In the Add/Remove dialog box, select Veritas NetBackup Client and click Remove.

Click Yes to remove NetBackup client.

14 Repeat step 10 through step 13 on all the remaining nodes to remove NOM completely.

92 Clustering NetBackup Operations ManagerRemoving NetBackup Operations Manager from a cluster

To remove NOM completely from Solaris

1 Stop the NOM resource group and take its resources offline.hagrp -offline -force <NOM_Resource_Group> -any

where <NOM_Resource_Group> is the name of the NOM resource group.

2 Bring the mount resource online.hares -online <Mount_Resource_Name>

3 Browse to the mount point on the shared disk and delete the db folder from /opt/VRTSnomclus (default mount point). The db folder contains files and data associated with the NOM database.

4 Offline all the NOM resources that are online.hares -offline <Resource Name>

where <Resource Name> is the Mount resource name if a physical disk is configured. If a shared disk is configured using VxVM, the <Resource Name> includes mount, volume, and disk-group resource names.

5 Set the VCS configuration file to read/write mode.haconf -makerw

6 Delete all the resources.hares -delete <Resource Name>

7 Delete the NOM resource group. hagrp -delete <NOM_Resource_Group _Name>

8 Delete the NetBackupNOM resource type.hatype -delete NetBackupNOM

9 Save this configuration.haconf -dump -makero

The option -makero sets the configuration to read-only.

10 Remove NOM 6.5.2. Change directory to the Release Update save directory (/usr/openv/pack/${PACK}/save where ${PACK} is the Release Update name) and run the un-install script:./NB_update.uninstall

11 Remove NOM 6.5. Enter the following command:/opt/VRTSnom/bin/uninstallnom.solaris

Enter y if you want to remove the shared components like VRTSweb and VRTSjre packages. You can remove the shared components if you do not have any other Symantec products installed.

Enter y to remove NOM.

12 Remove Symantec Infrastructure Core Services Common (VRTSicsco), Symantec Private Branch Exchange and Symantec Product Authentication Service by running the following commands:pkgrm VRTSicsco

93Clustering NetBackup Operations ManagerAdministering a NOM cluster

pkgrm VRTSpbxpkgrm VRTSat

13 Remove the NetBackup client. To remove the NetBackup client on Solaris, use the uninstall procedure listed in the clients section of NetBackup Installation Guide for Unix.

14 Repeat step 10 through step 13 on all the remaining nodes to remove NOM completely.

Administering a NOM clusterFor NOM 6.5.2, the NOMCAdmin utility has been added to help manage NOM in a clustered environment. This utility is very similar to NOMAdmin and is designed to work in a clustered environment.

If you run NOMAdmin in a cluster environment, it gives an error. You should always use the NOMCAdmin utility to perform operations in a clustered environment.

Like NOMAdmin, the NOMCAdmin utility allows you to control (start and stop) NOM services, purge NOM alerts and jobs data, export and import the NOM database etc.

Note: NOMCAdmin utility does not allow you to control (start or stop) the NOM database.

To know about the options available with the NOMAdmin utility, see the Veritas NetBackup Operations Manager 6.5 Guide.

Note: When you run some commands like NOMCAdmin -changePort, NOMCAdmin -changeGuest, NOMCAdmin -changePW on one node, the changes are automatically pushed to all the other nodes in the NOM cluster. This means that these commands apply to the whole cluster. On Windows, NOM uses the drive letter L for pushing the changes to the other nodes. If the drive letter L is in use, you are prompted to provide a drive letter which is free. On Solaris, the changes are pushed to the other nodes remotely using ssh.

Use the following procedures to run NOMCAdmin on Windows and Solaris.

To run NOMCAdmin on Windows

◆ Enter the following command:INSTALL_PATH\NetBackup Operations Manager\bin\admincmd\NOMCAdmin

94 Clustering NetBackup Operations ManagerLimitations of a NOM cluster

To run NOMCAdmin on Solaris

◆ Enter the following command:/opt/VRTSnom/bin/NOMCAdmin

Limitations of a NOM clusterThe following limitations exist for NOM in a cluster:

■ Removing a node from a NOM cluster is not supported.

Troubleshooting a NetBackup Operations Manager cluster

See the following questions and their solutions to troubleshoot issues with NOM clusters.

I have successfully configured a NOM cluster. But NOM UI (Connected To pane) shows the hostname of the NOM server and not the virtual name of the cluster. How can I resolve this?

After you have configured a NOM cluster, the Connected To pane must show the virtual name of the cluster instead of the local host name of the server where NOM is running.

If the local hostname appears on the Connected To pane, open cyclone.properties file from the following location:

On Windows: INSTALL_PATH\NetBackup Operations Manager\config

On Solaris: /opt/VRTSnom/config

Check the value of cyclone.server.host.name. The value should be the virtual name of the NOM cluster.

If the value is not equal to the virtual name of the cluster, then edit and change the value of cyclone.server.host.name to be the virtual name of the NOM cluster. Save the cyclone.properties file and log in to NOM again.

Is clustered AT (authentication service) supported on Windows?

A local AT cluster is not supported on Windows. However, a remote AT cluster is supported.

A remote AT cluster can be formed by installing the authentication client locally on nodes of the NOM cluster. The authentication server should be installed as a clustered service (in Root+AB mode) on the remote server.

The same remote host must be used for all the nodes.

See “Installing Symantec Product Authentication Service” on page 65.

Is clustered AT (authentication service) supported on Solaris?

95Clustering NetBackup Operations ManagerTroubleshooting a NetBackup Operations Manager cluster

Installing the authentication service as a clustered service is supported on Solaris. Both local and remote AT clusters are supported.

See “Installing Symantec Product Authentication Service” on page 65 for information on supported configurations.

Master servers are added in clustered NOM but they are showing as offline?

All node names of the NOM cluster as well as virtual name of the NOM cluster should be added in the additional server list of NetBackup.

See “Configuring the NetBackup master servers” on page 85.

After installing a cluster, I am unable to log into NOM. Why?

Ensure that the NOM server service/process is up and running.

96 Clustering NetBackup Operations ManagerTroubleshooting a NetBackup Operations Manager cluster

Chapter 4

Snapshot client updates

This chapter contains the following topics:

■ “Storage lifecycle policies with Instant Recovery snapshots” on page 97

■ “NetBackup RealTime Protection” on page 102

■ “New disk array snapshot methods in 6.5.2” on page 120

■ “New options for vxvm snapshots” on page 140

Snapshot Client support matrixFor a list of all supported combinations of snapshot methods, platforms, file systems, logical volumes, and other components, see the NetBackup 6.x Snapshot Client Compatibility document:

http://seer.entsupport.symantec.com/docs/279042.htm

Storage lifecycle policies with Instant Recovery snapshots

A storage lifecycle policy is a storage plan for a set of backups. NetBackup uses the lifecycle policy to determine where to store additional copies of the backup images and how long to retain those copies. In general, short-term copies can be kept on disk (for quick restore) and long term copies can be kept on tape or other storage.

This 6.5.2 release adds Instant Recovery snapshot-based backups to the types of images that NetBackup can manage with lifecycle policies. The Instant Recovery feature makes snapshots available for quick data recovery from disk. Lifecycle policies support a lifecycle storage plan for the storage unit copies made during an Instant Recovery backup. Note that lifecycle policies with Instant Recovery snapshots are especially useful with the NetBackup RealTime Protection product.

98 Snapshot client updatesStorage lifecycle policies with Instant Recovery snapshots

Lifecycle policy example with RealTime ProtectionFigure 4-1 shows an example hardware configuration for a lifecycle policy. The lifecycle policy specifies three destinations and three retention periods for managing RealTime snapshot-based backups.

Figure 4-1 Lifecycle policy example with RealTime Protection

Configuring a lifecycle policy for snapshotsThis section describes how to create a lifecycle policy for Instant Recovery snapshot-based backups. The procedure focuses on snapshot-related details only.

Full procedures are available for creating storage lifecycle policies and Snapshot Client policies:

NetBackup 6.5 Administrator’s Guide, Volume I

NetBackup 6.5 Snapshot Client Administrator’s Guide

Note that all new features in NetBackup 6.5.2 are documented in this technote, not in the administrator’s guides.

NetBackup master server

LAN / WAN

Media server and alternate client

NetBackup client

RealTime server

Destination 1:NetBackup creates a consistent point-in-time state in RealTime storage.

Point-in-time data is retained in the RealTime storage for 2 weeks, available for Instant Recovery.

Fibre channel SAN

Tape library

RealTime storage

Disk array

Destination 2:The NetBackup media server creates a backup image from a RealTime snapshot and copies the image to the disk array on the SAN.

For data that is more than 2 weeks old, recovery can be made from the array.

Destination 3:The NetBackup media server duplicates the disk image and sends the duplication to tape.

For data that is more than 6 months old, recovery can be made from tape.

21

3

99Snapshot client updatesStorage lifecycle policies with Instant Recovery snapshots

To create a lifecycle policy for Instant Recovery snapshot-based backups

1 Create a lifecycle policy with two or more storage destinations.

Use the Storage > Storage Lifecycle Policies node of the NetBackup Administration Console. Click Actions > New > Storage Lifecycle Policies. Click Add.

Here are suggestions for a lifecycle policy for RealTime Protection and multiple storage destinations:

■ For snapshots, select Snapshot on the New Storage Destination dialog. You can specify a retention period appropriate for snapshots (such as two weeks). Click OK.

Note that storage units are not used for snapshots. Storage units are used only for backup (and duplication) images.

■ For backup copies to disk, select Backup on the New Storage Destination dialog. Specify a disk storage unit and a longer retention period (such as six months). Click OK.

■ For backup copies to tape, select Duplication on the New Storage Destination dialog. Specify a tape storage unit and a longer retention period (such as five years). Click OK and finish creating the lifecycle policy.

2 Create a policy for snapshots. (Use the Policies node of the Administration Console.)

On the policy Attributes tab:

■ Do not specify the lifecycle policy in the Policy storage unit / lifecycle policy field. The lifecycle policy should be specified in the schedule, as explained later in this procedure.

■ Select Perform snapshot backups.

■ For RealTime Protection with lifecycles, Symantec recommends selecting Retain snapshots for Instant Recovery. This option is required if you want NetBackup to keep the snapshot after the backup occurs.

■ Click Snapshot Client Options. To use RealTime Protection, select the CDP snapshot method for Solaris or VSS for Windows. (Other methods can be used if you are not backing up a client that uses NetBackup RealTime Protection.)

See “NetBackup RealTime Protection” on page 102.

■ On the Snapshot Options dialog box, the Maximum Snapshots (Instant Recovery only) parameter sets the maximum number of snapshots to be retained at one time. When the maximum is reached and another snapshot is created, the oldest snapshot is deleted. Note: if you also set a snapshot retention period in the lifecycle policy of less than infinity

100 Snapshot client updatesStorage lifecycle policies with Instant Recovery snapshots

(step 1), the snapshot is expired when either of these settings takes effect (whichever happens first). For example, if the Maximum Snapshots value is exceeded before the snapshot retention period specified in the lifecycle policy, the snapshot is deleted.

The same is true for the Snapshot Resources pane on the Snapshot Options dialog box. If the snapshot method requires snapshot resources, the maximum number of snapshots is determined by the number of devices specified in the Snapshot Device(s) field. For example, if two devices are specified, only two snapshots can be retained at a time. Note: if you also set a snapshot retention period in the lifecycle policy of less than infinity (step 1), the snapshot is expired when either of these settings takes effect. In other words, either the Snapshot Device(s) field or the snapshot retention period in the lifecycle policy can determine the retention period.

3 Create a schedule for the policy.

As shown in Figure 4-1 on page 98, a lifecycle configuration with three storage destinations is an intelligent means of managing CDP snapshot-based backups. You can create a single schedule for backups and let the lifecycle policy govern their destinations and retention periods.

■ Under Destination: If you selected Retain snapshots for Instant Recovery on the policy Attributes tab, make sure that Snapshots and copy snapshots to a storage unit is selected on the schedule (not Snapshots only).

Important: if you select Snapshots only on the schedule, a lifecycle policy cannot be used.

■ In the Override policy storage selection field, select the lifecycle policy that you created at step 1.

■ Under Schedule type: set an appropriate frequency, such as 1 day.

When the Snapshot Client policy executes this schedule, the lifecycle policy named in the Override policy storage selection field creates images on the destinations named in the lifecycle policy. The lifecycle policy also sets the retention periods for the images it creates. In this example, the retention is six months for backups to disk and five years for tape.

4 To make full use of RealTime Protection with Instant Recovery, create another schedule to make CDP snapshots more frequently. This schedule will not be managed by lifecycle policies.

■ Under Schedule type: compared to the schedule created at step 3, specify a higher frequency (such as 1 hour).

■ Under Destination: select Snapshots only.

■ Do not specify a lifecycle policy for this schedule. Likewise, do not specify a lifecycle policy under the Policy storage unit / lifecycle policy

101Snapshot client updatesStorage lifecycle policies with Instant Recovery snapshots

field of the policy Attributes tab. Lifecycle policies do not manage snapshots without backups.

■ For Retention: specify the same period that you set for the Snapshot destination on the New Storage Destination dialog (under step 1). In this example, two weeks.

With this configuration, the snapshot-only schedule creates a CDP snapshot every hour. The other schedule (which specifies the lifecycle policy under the Override policy storage selection field) creates a snapshot and backup to disk and tape once per day. This configuration provides an inexpensive means of continuous data protection.

More detailed information on using NetBackup RealTime Protection is available.

See “NetBackup RealTime Protection” on page 102.

TroubleshootingIf you configure a snapshot method for a policy, and the schedule specifies a lifecycle policy, the life cycle policy must include a snapshot destination. Otherwise, an error such as the following appears in the NetBackup Problems report:

snapshot backup: tashina11_1204305543 cannot be used with a lifecycle policy NoSnapshot that does not include a snapshot destination.

102 Snapshot client updatesNetBackup RealTime Protection

NetBackup RealTime ProtectionThis 6.5.2 release introduces support for continuous data protection through NetBackup RealTime Protection. This support requires the Snapshot Client features of NetBackup.

This section focuses on how to create a NetBackup policy and how to back up and restore NetBackup client data that is already configured and protected in a RealTime application.

For a detailed introduction to RealTime, with installation and configuration instructions, see the following guides:

■ Veritas NetBackup RealTime Protection Installation Guide

■ Veritas NetBackup RealTime Protection Administrator's Guide

Advantages of NetBackup RealTime ProtectionNetBackup RealTime Protection includes the following backup and restore capabilities:

■ By means of Snapshot Client and database agents, NetBackup can quiesce client activity and create transactionally consistent snapshots.

■ NetBackup provides a simple interface for data restore. NetBackup lets you browse backup images for particular files and folders, and automates the task of copying the data to the designated restore host.

■ NetBackup’s implementation of snapshot-only backups with RealTime is highly efficient, consuming virtually no RealTime server resources until you select items to restore.

Types of backupNetBackup RealTime provides the following types of backup:

■ Snapshot-only backup (no backup to a storage unit). The snapshot relies on NetBackup’s Instant Recovery feature.

■ Snapshot-based backup to a storage unit. The data from the snapshot is copied to the storage device attached to the NetBackup media server. The snapshot is deleted when the backup operation is complete.

■ Snapshot-based backup to a storage unit. The snapshot is retained for Instant Recovery.

103Snapshot client updatesNetBackup RealTime Protection

RealTime terminology in relation to NetBackupThe following table explains RealTime terminology from a NetBackup perspective.

annotation A special time stamp that allows access to the data that was captured at that point in time in RealTime storage.

application The NetBackup client and its data that are protected by RealTime. You define an application using Recovery Manager.

See the Veritas NetBackup RealTime Protection Installation Guide.

application host A NetBackup client that contains RealTime components, such as the Recovery Manager and the host splitter.

See the Veritas NetBackup RealTime Protection Installation Guide.

assets The client data defined by a RealTime application. The assets comprise a set of volumes or devices that RealTime protects.

RealTime server A server that maintains, for a limited time, a continual history of all write operations taking place on the application assets on the client. By means of this history, the RealTime server can reassemble the client data as it existed at any point in time, thus providing continuous data protection. See TimeImage.

RealTime storage A pool of disk storage used by the RealTime server for creating a full copy of client data when RealTime protection is applied, and for tracking time ordered writes on the protected data.

Recovery Manager Web-based management console for RealTime Protection.

TimeImage An exact reproduction of the protected client data (assets) at a particular time. In NetBackup, a TimeImage is created in one of the following circumstances:

■ When you select items to restore

■ When a backup job creates a snapshot from which to copy data to a storage unit.

timeline The window of time within which the Real Time server maintains protection for client data (assets). The timeline is maintained by the RealTime server as a result of the RealTime data capture process. The timeline may slide forward in time, depending on how much space is allocated in the RealTime storage and how many changes occur in the application assets.

104 Snapshot client updatesNetBackup RealTime Protection

Snapshots, annotations and TimeImagesIt is useful to distinguish between a snapshot as used in NetBackup’s Snapshot Client feature, and an annotation and TimeImage as used in NetBackup RealTime Protection. They are similar in purpose (point-in-time data capture) but are not identical.

In NetBackup (without RealTime), a snapshot is a point-in-time, disk-based copy of a client volume. When creating a snapshot-based backup to a storage unit, NetBackup reads the point-in-time data from the snapshot and writes it to the designated storage device. The snapshot can be automatically deleted when the backup to storage is complete, or it can be retained on disk for later restore (the Instant Recovery feature). The snapshot can also constitute the backup image by itself, in a “snapshot-only” backup (no backup to a storage unit). Whether used as a source for a storage unit backup or as a standalone image, the snapshot contains all the data necessary for a complete restore.

For a more detailed introduction to NetBackup’s Snapshot Client technology, see the NetBackup 6.5 Snapshot Client Administrator’s Guide.

A RealTime annotation, on the other hand, is a time stamp that the RealTime server creates whenever a NetBackup backup job starts. The annotation is not a snapshot, in that it does not contain the point-in-time data. Rather, the annotation allows the RealTime server to identify the point-in-time data when a TimeImage of the data is required.

An annotation is thus a marker, and a TimeImage is an on-demand copy of the point-in-time data that the annotation points to.

Note: A NetBackup snapshot can consist of either an annotation alone (for a snapshot-only backup), or an annotation plus a TimeImage.

Table 4-1 shows the relationship between the three NetBackup backup types and the RealTime annotation and TimeImages that result from each type of backup.

Table 4-1 Snapshot-based backups and resulting annotations and TimeImages

Type of NetBackup backup Resulting RealTime action

Snapshot-only backup; snapshot is retained for Instant Recovery

The RealTime server creates an annotation only. The RealTime server creates no TimeImage until a restore is requested.

Snapshot-based backup to a storage unit The RealTime server creates an annotation and a TimeImage. The TimeImage data is written to the storage unit. The annotation and TimeImage are automatically deleted at the end of the backup.

105Snapshot client updatesNetBackup RealTime Protection

When is a TimeImage createdIn NetBackup, a RealTime TimeImage is created when either of the following occurs:

■ A NetBackup policy directs a backup job to write the point-in-time data to a storage unit. To do so, NetBackup directs the RealTime server to create an annotation and to create a TimeImage based on the annotation. NetBackup copies the data from the TimeImage to the designated storage unit.

■ A restore is requested. When you browse files and folders to restore, the RealTime server finds the appropriate annotation. If a TimeImage does not already exist for the annotation, the RealTime server creates one. The data is restored from the TimeImage.

Snapshot-based backup to a storage unit, and the snapshot is retained for Instant Recovery

The RealTime server creates an annotation and a TimeImage. The TimeImage data is written to the storage unit. The annotation and TimeImage are retained.

Table 4-1 Snapshot-based backups and resulting annotations and TimeImages

Type of NetBackup backup Resulting RealTime action

106 Snapshot client updatesNetBackup RealTime Protection

Network diagram of NetBackup RealTime ProtectionFigure 4-2 shows NetBackup servers and a NetBackup client as part of a RealTime environment.

Figure 4-2 Hardware environment for NetBackup RealTime

The NetBackup backup process with RealTime1 Based on a user request or a backup schedule, the NetBackup master server

starts the backup job.

2 The NetBackup client named in the policy creates a snapshot of the data:

■ For a snapshot-only backup (no image copied to a storage unit), the client directs the RealTime server to place an annotation in the RealTime timeline. No TimeImage is created unless you select items to restore.

■ For a snapshot-based backup to a storage unit, the client directs the RealTime server to place an annotation in the RealTime timeline and to create a TimeImage in RealTime storage.

■ For a snapshot-based backup with a retained snapshot, the client directs the RealTime server to place an annotation in the RealTime timeline and to create a TimeImage in RealTime storage. The TimeImage is retained as called for in the NetBackup policy.

3 For a snapshot-based backup to a storage unit (with or without a retained snapshot), the following occurs:

■ The NetBackup client sends the TimeImage data to the NetBackup media server.

NetBackup master server

LAN / WAN

NetBackup media server and/or alternate client

NetBackup client (application host)

RealTime Server

Fibre channel SAN

NetBackup storage unit (tape or disk)

RealTime Storage

RealTime application assets on disk array (NetBackup client data)

107Snapshot client updatesNetBackup RealTime Protection

■ The media server writes the data to the storage unit that is designated in the policy.

4 For a snapshot-based backup to a storage unit without a retained snapshot, the client directs the RealTime server to delete the TimeImage when the backup to storage is complete.

5 For all types of backup (including snapshot only), the master server updates the NetBackup catalog.

6 When the backup image expires, all relevant annotations in the RealTime timeline are deleted as well as any existing TimeImages.

The NetBackup restore process with RealTimeIf the restore is from a snapshot, the following events occur:

1 The master server directs the client to prepare the snapshot backup from which to restore, as follows.

■ If a TimeImage of the requested data does not already exist, the client directs the RealTime server to create a TimeImage in RealTime storage.

■ If the asset is a file system, the client directs the RealTime server to mount the TimeImage on a path that the client can access.

2 The client copies the data from the TimeImage to the requested location.

■ For a file system, the client copies the data directly from the mounted file system.

■ For a raw device, the client does a block-by-block copy from the raw device.

3 If it is mounted, the TimeImage is unmounted.

If the restore is from a storage unit, the media server restores the data from the storage unit.

RealTime annotations and the timelineThe RealTime timeline is a record of all user-generated changes to the RealTime application assets defined on the NetBackup client. The timeline is started when RealTime protection is applied to the application. When the timeline is started, the RealTime server copies the client’s defined assets to RealTime storage. From that moment, RealTime storage captures or mirrors every change that occurs in the client’s assets. This mirroring of changes enables RealTime’s continuous data protection.

In addition, NetBackup directs the RealTime server to create an annotation whenever a backup occurs. Each annotation is a special time stamp that allows

108 Snapshot client updatesNetBackup RealTime Protection

later access to the data that is captured in RealTime storage. For instance, when NetBackup needs to start a restore, it directs the RealTime server to use the appropriate annotation to create a TimeImage of the protected assets.

Thus, the timeline represents two things:

■ A period of time during which the RealTime server protects the application assets by capturing all changes.

■ A repository from which the RealTime server can recreate a point-in-time image of the application assets.

The timeline is finite and may slide forwardBefore starting RealTime protection, the administrator should allocate sufficient space in RealTime storage to hold the initial data copy as well as to hold future changes to that data. The greater the rate of change in the application, the more space is required to capture the changes in RealTime storage. It is therefore important to allocate enough space in storage to keep RealTime protection active for the desired period of time.

If the space allocated in RealTime storage runs low, the timeline may have to move forward in time, to continue to capture and record current write activity on the application. Moving the timeline forward allows RealTime storage to discard older changes, to save space. Unless your RealTime storage is infinite, there may come a time when the older data in storage must give way to the new.

Figure 4-3 Example of RealTime timeline in motion

8:00 12:009:00 10:00 11:00 13:00 14:00 15:00

RealTime protection is first applied at 8:00.

As of 12:00, protection has been running for 4 hours, capturing in RealTime storage all changes occurring in the application.

8:00 12:009:00 10:00 11:00 13:00 14:00 15:00

Shortly after 12:00, the change rate on the application increases rapidly. At 12:30, to preserve space in RealTime storage, the timeline’s start point moves forward 30 minutes.

The application changes that were captured between 8:00 and 8:30 are discarded, to save space in RealTime storage.

Indicates RealTime protection is active.

109Snapshot client updatesNetBackup RealTime Protection

Obsolete annotationsWhen the timeline moves forward to save space in RealTime storage, any backup annotations that NetBackup placed in the timeline prior to the new start time become obsolete. That is, the captured data to which the annotations refer is removed. Removing older data is a normal part of RealTime operation.

If the backup data was written to a storage unit, the data can be recovered from the storage unit. But a TimeImage cannot be recovered and the annotation is of no further use.

When NetBackup runs the next backup for the policy, the obsolete annotations and any associated TimeImages are removed.

Figure 4-4 Example of RealTime timeline in motion, with annotations

It is important to allocate a lot of space in RealTime storage if you are protecting assets with a high data change rate.

To determine whether any annotations are obsolete, see “Cannot browse backups to restore” on page 119.

8:00 12:009:00 10:00 11:00 13:00 14:00 15:00

RealTime protection is first applied at 8:00. NetBackup snapshot-only backups occur each hour, each backup placing an annotation in the timeline.

8:00 12:009:00 10:00 11:00 13:00 14:00 15:00

Shortly after 12:00, the change rate on the application increases rapidly. At 12:30, to preserve space in RealTime storage, the timeline’s start point moves forward 30 minutes.

The application changes that were captured between 8:00 and 8:30 are discarded, to save space in RealTime storage.

The first annotation created at 8:00 is now obsolete. The data to which it refers is removed.

The annotation is removed when the next backup for the policy is run.

Indicates an annotation.

110 Snapshot client updatesNetBackup RealTime Protection

Supported operating systemsTable 4-2 shows the operating systems and storage components that NetBackup RealTime Protection supports.

Snapshot Client support matrixFor a list of all supported combinations of snapshot methods for RealTime, platforms, file systems, logical volumes, and other components, see the NetBackup 6.x Snapshot Client Compatibility document:

http://seer.entsupport.symantec.com/docs/279042.htm

License requirementsNetBackup RealTime Protection requires NetBackup licensing, including a Snapshot Client license key.

Important notes and restrictionsNote the following:

■ NetBackup RealTime does not support Instant Recovery rollback restore or block level incremental backup.

■ NetBackup RealTime supports FlashBackup policies, but not FlashBackup-Windows policies.

See “Configuring a NetBackup policy” on page 114.

■ For database agents, NetBackup RealTime currently supports Oracle (Solaris only).

■ When a RealTime application is updated by either adding or removing assets (such as by adding or removing a mount point), reapplying RealTime protection to the application restarts any existing timeline.

Note that any NetBackup snapshots created before the timeline was restarted become obsolete.

See “Obsolete annotations” on page 109.

Table 4-2 Support list

Client operating systems File systems Logical volumes

Solaris ufs, VxFS VxVM

Windows 2003 (32 bit) NTFS None

111Snapshot client updatesNetBackup RealTime Protection

NetBackup automatically removes these snapshots the next time a backup is run for the NetBackup policy. Note that backups to a storage unit are not removed. Only the snapshot is removed.

■ To configure a RealTime application to be used with off-host alternate client backup, see the following tech note:

http://entsupport.symantec.com/docs/303966

■ NetBackup does not support backing up a “federated application,” even though the RealTime Protection server supports federated applications. A federated application is one with protected assets that span multiple clients.

■ Snapshot-only backups should not be set for long retention periods.

See “Obsolete annotations” on page 109.

■ HBA persistent target bindings may be required for the application host’s HBAs. On application hosts that require persistent target bindings, the binding ensures that the TimeImages appear at the same device location when the application host reboots. Refer to your HBA vendor documentation for help configuring persistent bindings.

Note: On Solaris, persistent target bindings are not needed if you use Sun’s Leadville stack (StorageTek SAN Foundation) or the Sun branded QLogic driver or Sun branded Emulex HBA driver.

See “Determine if persistent bindings are needed in HBA file (Solaris only)” on page 111.

■ If HBA persistent target bindings are required, Symantec recommends that you configure 1024 LUNs in the Solaris sd.conf file.

See “Update sd.conf for import of TimeImages (Solaris only)” on page 113.

Determine if persistent bindings are needed in HBA file (Solaris only)Use these procedures to determine whether persistent bindings are needed:

■ Use the first procedure below to determine whether your SAN attached disks already have world-wide names as the target component of the device name. If the disk paths are using world-wide names as the target, no persistent bindings are needed in the HBA configuration file.

See “Determining if devices are using world-wide names” on page 112.

■ If the devices are not visible to the application host, use the second procedure to determine what HBA driver the application host is using. If the host uses Sun’s Leadville stack (StorageTek SAN Foundation) or the Sun branded QLogic driver or Sun branded Emulex HBA driver, no persistent bindings are needed in the HBA configuration file.

112 Snapshot client updatesNetBackup RealTime Protection

See “Identifying your HBA driver” on page 112.

Determining if devices are using world-wide namesIf SAN-attached array devices are visible on the application host, use the following procedure.

To determine if disk devices are using world-wide names

◆ Enter the following:/usr/openv/netbackup/bin/nbfirescan

Example output:

The example lists device paths for an HP disk and an EMC disk. In both cases, the target component of the device name is a world-wide name, rather than a SCSI target number. The target designation of the HP disk is t50001FE150070028 and for the EMC disk it is t5006048ACCD21C80. Since these target numbers are world-wide names, no configuration for persistent binding is needed for these disks in the HBA configuration file.

Identifying your HBA driverIf no SAN-attached array devices are visible on the application host, use the following procedure.

To determine your HBA driver

If the following procedure indicates that the HBA driver is Sun branded, persistent bindings are not needed in the HBA configuration file.

If the HBA driver is not Sun branded, configure the HBA file with persistent bindings. Refer to your HBA vendor documentation.

1 To find the QLogic HBA driver, enter the following:modinfo | grep -i ql

Example output:38 12c6e47 50212 153 1 qlc (SunFC Qlogic FCA v20040825-1.40)29 12058c1 83803 272 1 qla2300 (QLogic FC Driver v4.18)

The QLogic HBA driver listed in the first line is Sun branded, as indicated by SunFC in SunFC Qlogic FCA v20040825-1.40. The QLogic driver listed in the second line is not Sun branded.

2 To find the Emulex HBA driver, enter the following:

DevicePath Vendor Product ID EnclosureId DeviceId [Ctl,Bus,Tgt,Lun]-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------/dev/rdsk/c3t50001FE150070028d2s6 HP HSV200 5000-1FE1-5007-0020 6005-08B4-0010-5F49-0000-5000-7ED1-0000 [00,00,00,00]

/dev/rdsk/c3t5006048ACCD21C80d0s6 EMC SYMMETRIX 000187910258 0000 [00,00,00,00]

113Snapshot client updatesNetBackup RealTime Protection

modinfo | grep -i lp

Example output:43 132b560 512e0 263 1 lpfc (Emulex LightPulse FC SCSI/IP)

The Emulex driver listed is not Sun branded.

Update sd.conf for import of TimeImages (Solaris only)

Note: The sd.conf file does not have to be modified if you use Sun’s Leadville stack (StorageTek SAN Foundation) or the Sun branded QLogic HBA driver or Sun branded Emulex HBA driver.

See “Determine if persistent bindings are needed in HBA file (Solaris only)” on page 111.

The Solaris /kernel/drv/sd.conf file must have sufficient entries to allow for the dynamic import of RealTime TimeImages. TimeImages must be made visible on the NetBackup client without rebooting the operating system. Entries should be added to the sd.conf file for the persistent target numbers (if any) that were configured for the HBA. For the target numbers that were persistently bound to the RealTime server’s target ports, Symantec recommends that you configure 1024 LUNs.

For example: if one of the RealTime server’s target ports was persistently bound at target 5, the following entries should be added to sd.conf. Only the beginning and ending entries are included in this example.

name="sd" class="scsi" target=5 lun=0;name="sd" class="scsi" target=5 lun=1;name="sd" class="scsi" target=5 lun=2;...name="sd" class="scsi" target=5 lun=1021;name="sd" class="scsi" target=5 lun=1022;name="sd" class="scsi" target=5 lun=1023;

You must reboot after modifying sd.conf.

Which sd.conf file to update (Solaris only)When setting up persistent bindings, update the sd.conf file on the host that must access the TimeImages. For a local host policy (no off-host backup), update the sd.conf file on the primary client. For an off-host backup policy, update sd.conf on the alternate client.

114 Snapshot client updatesNetBackup RealTime Protection

Configuration tasks: overviewTable 4-3 lists the basic setup and administrative tasks for using NetBackup RealTime Protection. Most of these tasks are described in other documents, as indicated.

Configuring a NetBackup policyThis topic describes how to create a NetBackup policy to back up one or more RealTime application assets. The procedure focuses on NetBackup snapshot-related details.

Note: See Table 4-3 for a list of NetBackup RealTime prerequisites.

To create a NetBackup policy

1 Start the NetBackup Administration Console.

Enter the following:

On Solaris: /usr/openv/netbackup/bin/jnbSA &

On Windows, click Start > Programs > Veritas NetBackup > NetBackup Administration Console.

2 Click on Policies and select Actions > New > Policy.

3 Select the policy Attributes.

Table 4-3 Configuring NetBackup RealTime Protection: task overview

Tasks Where described

Install the RealTime appliance. See the Veritas NetBackup RealTime Protection Installation Guide.

Install the RealTime application host packages on all NetBackup clients and any alternate clients.

See the Veritas NetBackup RealTime Protection Installation Guide.

Define the RealTime application and apply protection.

See the Veritas NetBackup RealTime Protection Administrator’s Guide.

Install NetBackup client software and the Snapshot Client license.

See the NetBackup Installation Guide and the NetBackup Snapshot Client Administrator’s Guide.

Configure a NetBackup policy See “Configuring a NetBackup policy” on page 114.

Start a backup and do a restore See “Performing a backup” on page 117.

See “Performing a restore” on page 117.

115Snapshot client updatesNetBackup RealTime Protection

For a complete description of policy attributes, see the online help.

4 Click the Snapshot Client Options button to display the Snapshot Options dialog box. Specify the following:

5 In the Schedule tab, define a schedule.

Note the following options:

Policy type For Solaris: Standard, FlashBackup, or Oracle.

For Windows: MS-Windows-NT.

Perform snapshot backups Select this option.

Retain snapshots for

Instant Recovery

Select this option for a snapshot-only backup, or to keep the snapshot after the backup completes.

Perform off-host backup

Use alternate client

You can use an alternate client to reduce backup I/O processing on the primary client. The alternate client performs the backup on behalf of the primary client.

Snapshot method for this policy Select CDP on Solaris, VSS on Windows.

Configuration Parameters:

Maximum Snapshots (Instant

Recovery only)

Enter the maximum number of snapshots to be retained at one time. This option applies only to backups with the Instant Recovery feature.

Provider Type This parameter applies to Windows only.

Select 3-hardware.

Snapshot Attribute This parameter applies to Windows only.

Accept the default (0-unspecified), which lets NetBackup select the correct attribute.

cdpr_server This parameter applies to Solaris only.

Enter the fully qualified host name of the RealTime server.

Type of backup All types are supported.

Snapshots and copy

snapshots to a storage unit

NetBackup creates a snapshot and copies it to the storage unit specified on the Attributes tab.

116 Snapshot client updatesNetBackup RealTime Protection

6 In the Clients tab, enter the fully qualified name of one or more NetBackup clients that are defined as RealTime application hosts.

7 In the Backup Selections tab, specify the RealTime assets to be backed up.

The following types of entries are allowed:

■ Directory or file system

■ VxVM volume

■ Raw device

For example:/mnt1/dev/vx/rdsk/volgrp1/vol3/dev/rdsk/c0t0d0s1

Important:

■ The items in this list must represent all the assets in the RealTime application(s) you are backing up with this policy. If a RealTime application’s assets, for example, have been defined as three file systems, all three file systems must be entered here. If you enter only one or two of the file systems for the application, the policy fails to validate when you click OK.

■ The items in this list can span multiple applications, but cannot list partial assets in any application (as noted in the previous bullet).

■ When backing up a VxVM volume, all of the protected LUNs for a given application must exist in the same VxVM disk group. That is, an application’s protected LUNs cannot span multiple VxVM disk groups.

■ NetBackup does not support backing up a federated application. A federated application is one with RealTime protected LUNs that span multiple clients.

Snapshots only NetBackup creates an annotation in the timeline. The snapshot is created when you select items to restore. This option is highly space efficient but not recommended for long term storage.

Override policy storage

selection

To use a storage lifecycle policy to manage backups, enter the name of the lifecycle policy.

Important: if you select Snapshots only, a lifecycle policy cannot be used.

See “Storage lifecycle policies with Instant Recovery snapshots” on page 97.

117Snapshot client updatesNetBackup RealTime Protection

Performing a backupSee Table 4-3 for a list of NetBackup Realtime prerequisites.

The procedure for backing up RealTime assets is the same as for backing up data on any NetBackup client.

See the NetBackup Backup, Archive, and Restore Getting Started Guide.

Performing a restoreYou can use NetBackup to restore data to the original client, to an alternate location on the original client, or to a different client.

Note the following:

■ Each time you restore from a snapshot-only backup, if the snapshot does not already exist, NetBackup creates it. Creating the snapshot consumes some disk space in RealTime storage.

Note that prior to selecting items to restore, a snapshot-only backup consists of annotations only, which require virtually no disk space.

■ RealTime is VxVM disk-group centric, not volume centric. If you restore a volume that shares a disk group with other volumes, all volumes in that disk group are restored. This could have unexpected results.

■ Point-in-time rollback restore is not supported.

NetBackup RealTime logging For log messages about backup or restore, see the following NetBackup log folders.

Note: These log folders must already exist in order for logging to occur. If the folders do not exist, create them.

More detail is available on snapshot logs, logging levels, and the required folders.

Table 4-4 The NetBackup logs

Log folder Contains Resides on

Solaris: /usr/openv/netbackup/logs/bpfis

Windows: install_path\NetBackup\logs\bpfis

Messages about policy validation, snapshot creation, and backup.

NetBackup client

Solaris: /usr/openv/netbackup/logs/bppfi

Windows: install_path\NetBackup\logs\bppfi

Messages about restore. NetBackup client

118 Snapshot client updatesNetBackup RealTime Protection

See the NetBackup 6.5 Snapshot Client Administrator’s Guide.

A broader discussion of NetBackup logging is available.

See the NetBackup Troubleshooting Guide.

TroubleshootingThe following information may be helpful.

LoggingThe NetBackup bpfis log is a good source of troubleshooting information.

See “NetBackup RealTime logging” on page 117.

Policy validation failsValidation of a policy can fail for a number of reasons. Several common reasons are the following:

■ RealTime protection has not been applied to the items listed in the policy Backup Selections list.

See the Veritas NetBackup RealTime Protection Installation Guide.

■ One or more of the items in the policy Backup Selections list were entered incorrectly.

■ The policy Backup Selections do not list all the assets defined for a RealTime application. The Backup Selections items must represent all the assets in the RealTime application(s) you are backing up with this policy. If, for example, the Backup Selections include only one of several file systems that were defined for a RealTime application, the policy fails to validate.

Backups fail with status code 156A potential cause of a 156 error concerns an alternate client off-host backup of a NetBackup RealTime application. This error occurs if the RealTime server's host tables are not correctly updated for the alternate client. As a result, NetBackup cannot make a RealTime TimeImage accessible to the alternate client, and the backup fails. This failure happens if the backup is to a storage unit (with or without a retained snapshot).

A message similar to the following may appear in the NetBackup /usr/openv/netbackup/logs/bpfis log on the alternate client:

14:38:59.002 [16772] <2> onlfi_vfms_logf: INF - create_timeimage: host [s1.snappy.com] not found on appliance14:38:59.003 [16772] <32> onlfi_fim_split: FTL - VfMS error 11; see following messages:

119Snapshot client updatesNetBackup RealTime Protection

14:38:59.003 [16772] <32> onlfi_fim_split: FTL - Fatal method error was reported14:38:59.003 [16772] <32> onlfi_fim_split: FTL - vfm_freeze_commit: method: CDP, type: FIM, function: CDP_freeze_commit14:38:59.003 [16772] <32> onlfi_fim_split: FTL - VfMS method error 6; see following message:14:38:59.003 [16772] <32> onlfi_fim_split: FTL - CDP_freeze_commit: create timeimage failed with status 48

For more details on this problem, see the following NetBackup tech note:

http://entsupport.symantec.com/docs/303966

Cannot browse backups to restoreA few simple reasons can account for the inability to browse files and folders to restore. You may have specified the wrong date range for NetBackup’s search for available backups. Or perhaps no backups were created within the specified dates.

Note the following additional possibilities:

■ In the case of NetBackup RealTime, the annotation for the backup you want to browse may have become obsolete. Rendering older annotations obsolete is a normal function of RealTime protection, to save space in RealTime storage. Note that you can always restore your NetBackup data as long as the policy created a storage unit backup that has not expired. If the backup created a retained snapshot, the snapshot depends upon a valid annotation in the RealTime timeline. The attempt to browse fails if the annotation is no longer in the current RealTime protection timeline.

A message similar to the following may appear in the /usr/openv/netbackup/logs/bppfi log. The location of the log depends on the type of backup. For an off-host alternate client backup, the bppfi log is on the alternate client. For a local host backup (not alternate client), the bppfi log is on the primary client.15:13:15.802 [17768] <4> Error: createTimeImage failed with retcode 6 (RC_ERROR)15:13:15.802 [17768] <4> [USER][ERROR][minneapolis:312] Cannot create timeImage: Imagetime before timeline start

See “RealTime annotations and the timeline” on page 107.

■ If the backup was a snapshot only backup, the backup succeeds but the attempt to restore fails. The contents of the folder that you are trying to browse do not appear.

A message similar to the following may appear in the NetBackup bppfi log on the client or alternate client.

120 Snapshot client updatesNew disk array snapshot methods in 6.5.2

14:32:40.089 [18728] <4> create_timeimage: host [s1.snappy.com] not found on appliance14:32:40.089 [18728] <4> mount_frag: create timeimage failed with status 48

For more details on this problem, see the following NetBackup tech note:

http://entsupport.symantec.com/docs/303966

New disk array snapshot methods in 6.5.2The following topics explain how to configure the NetBackup disk array methods that are new in 6.5.2. See your array documentation or disk array administrator for assistance with the array.

About the new disk array methods in 6.5.2The array snapshot methods described in this section take advantage of high-speed mirroring and other snapshot capabilities that are provided by the arrays.

Similar disk array snapshot methods for other array models, which were introduced in NetBackup 6.5, are described in the NetBackup 6.5 Snapshot Client Administrator's Guide. For background information on disk array methods, see that guide.

The disk array methods at a glanceTable 4-5 is an alphabetical listing of the disk array snapshot methods that are introduced in NetBackup 6.5.2.

Table 4-5 6.5.2 snapshot methods

Snapshot method Description and notes

Hitachi_CopyOnWrite For space-optimized, copy-on-write snapshots with Hitachi SMS/WMS/AMS, USP/NSC, and USP-V/VM series of arrays.

Hitachi_ShadowImage For full-volume copy (mirror) snapshots with Hitachi SMS/WMS/AMS, USP/NSC, and USP-V/VM series of arrays.

IBM_DiskStorage_FlashCopy For full-volume copy (clone) snapshots on IBM DS6000 and DS8000 series of arrays with DSCLI version 5.2.2.224 and later.

121Snapshot client updatesNew disk array snapshot methods in 6.5.2

Snapshot Client support matrixFor a list of all supported combinations of snapshot methods, platforms, file systems, logical volumes, and other components, see the NetBackup 6.x Snapshot Client Compatibility document:

http://seer.entsupport.symantec.com/docs/279042.htm

Note on Instant Recovery (point-in-time) rollbackUse caution with Instant Recovery rollback. An Instant Recovery (point-in-time) rollback overwrites the entire LUN (source disk) with the contents of the snapshot or mirror disk. If you have multiple file systems or multiple partitions configured on the hardware array LUN (the source disk), one or more of those file systems or partitions sharing the snapshot or mirror disk may have older data that you do not want to write back to the source. When the rollback takes place, any older data on the snapshot or mirror disk replaces the newer data on the source.

Array preconfiguration tasksBefore you configure a NetBackup policy, make sure the following tasks have been completed.

Table 4-6 Array preconfiguration tasks

Array administration tasks Where described

Install the disk array and its software, including appropriate licenses.

See your array documentation.

For the supported software versions, see the appropriate software requirements section in this document.

Install supported HBAs on the NetBackup primary client and alternate clients.

See your HBA documentation.

Zone the client HBAs through the Fibre Channel switch, so the array is visible to the primary client and any alternate clients.

See your Fibre Channel documentation.

Install NetBackup and array vendor snapshot management software on the NetBackup primary client and any alternate clients.

See the appropriate installation documentation.

Configure source and snapshot devices on the array (such as LUNs).

See your array documentation.

122 Snapshot client updatesNew disk array snapshot methods in 6.5.2

OS-specific configurationThis topic describes the configuration tasks that are related to the operating system on the NetBackup client.

Dynamic multipathingIn a SAN fabric, it is advantageous for multiple pathways to exist from a host computer to a device on a disk array. The purpose of dynamic multipathing software is the following:

■ Manage the pathways so that only one is in use at a time

■ Switch to another pathway if the one in use fails

Consult your array documentation for multipathing requirements.

HBA configurationThe supported HBAs are Emulex and QLogic.

For certain HBAs, the array’s target number cannot be guaranteed on the host without persistent bindings. A persistent device target number ensures that snapshots appear at the same device location if a NetBackup client host reboots. Refer to your HBA vendor documentation for help configuring persistent bindings.

Note: Persistent target bindings are not needed if you use Sun’s Leadville stack (StorageTek SAN Foundation) or the Sun branded QLogic HBA driver or Sun branded Emulex HBA driver.

See “Determine if persistent bindings are needed in HBA file (Solaris only)” on page 111.

Solaris sd.conf file (Hitachi arrays only)Prior to running backups, you must configure a sufficient number of static devices (array LUNs) in the /kernel/drv/sd.conf file on the client (and any alternate client) to accommodate the number of snapshot devices that backups require.

Note: Hitachi arrays do not support dynamic import of snapshot devices.

It may be necessary to reboot after modifying sd.conf.

123Snapshot client updatesNew disk array snapshot methods in 6.5.2

Verify NetBackup client access to array devicesYou can use the nbfirescan command to verify the following: that NetBackup clients have access to the array devices, and that the arrays are properly zoned and LUNs are unmasked. Note that nbfirescan only displays LUNs that have actually been LUN masked to the host.

To verify access, zoning, and LUN masking

◆ Enter the following on the client:/usr/openv/netbackup/bin/nbfirescan

This command queries the host’s SCSI bus for all the SCSI (or Fibre) attached devices that are visible.

Example output from an AIX host, for Hitachi and IBM arrays, followed by a description:

Note the following descriptions:

DevicePath Vendor Product ID EnclosureId DeviceId [Ctl,Bus,Tgt,Lun]---------------------------------------------------------------------------------/dev/hdisk8 HITACHI OPEN-V-CM 10266 241 [00,00,144640,00]/dev/hdisk9 HITACHI OPEN-V 10266 840 [00,00,144640,01]/dev/hdisk36 IBM 1814 FAStT IBM.1814-SN72500637 60:0A:0B:80:00:29:7B:00:00:00:11:5A:47:D2:29:6C [00,00,660992,08]/dev/hdisk39 IBM 1814 FAStT IBM.1814-SN72500637 60:0A:0B:80:00:29:7B:00:00:00:11:77:47:D4:AC:9A [00,00,660992,09]/dev/hdisk34 IBM 1750500 IBM.1750-13ADDTA 1723 [00,00,662016,1075265571]/dev/rdsk/c2t6d11s6HITACHI DF600F6484 48 [00,00,00,00]/dev/rdsk/c2t6d10s6HITACHI DF600F6484 46 [00,00,00,00]/dev/rdsk/c2t10d3s6HITACHI OPEN-V-SUN 45027 18 [00,00,00,00]/dev/rdsk/c2t10d0s6HITACHI OPEN-V-CM 45027 0 [00,00,00,00]

DevicePath Represents the actual access point for the device as it exists on the client host.

EnclosureId Unique for each physical disk array.

DeviceId Unique for a physical or virtual disk in an enclosure. The Enclosure ID/Device ID pair constitutes a host-independent designation of a particular physical or virtual disk within a disk array.

Ctl,Bus,Tgt,Lun Controller, bus, target, and LUN numbers are the elements that designate a particular physical or virtual disk from the perspective of the client host computer.

124 Snapshot client updatesIBM DS6000 and DS8000 arrays

IBM DS6000 and DS8000 arraysThe following sections include background information and configuration tasks for NetBackup Snapshot Client backups using IBM 6000 and 8000 arrays. These tasks must be completed before you run a backup.

IBM DS6000 and 8000 software requirementsThe following IBM software is required.

For instructions on installing the software, refer to your IBM documentation.

Preconfiguration for IBM arraysNo preconfiguration steps are required for IBM DS6000 and DS8000 arrays.

Configuring NetBackup to access the arrayYou must supply login credentials that allow the NetBackup client to access the IBM array.

To supply login credentials

1 In the NetBackup Administration Console, click the Media and Device Management > Credentials > Disk Array Hosts node in the NetBackup Administration Console.

2 Right-click in the Disk Array Hosts pane and select New Disk Array Host.

3 Enter the host name of the IBM 6000 or 8000 array.

4 Select IBM System Storage in the Disk Array Host Type pull-down menu.

5 Enter the user name and password for the array.

6 Clear (uncheck) the Connect using port number box.

Array access for NetBackup hosts not named in a policy

Certain NetBackup hosts that are not named as clients in a policy must be explicitly enabled to access array credentials. An example is a media server

Table 4-7 Software that is required for IBM 6000 and 8000

Software Where to install Version

DSCLI Default location 5.2.2.224 or higher

125Snapshot client updatesIBM DS6000 and DS8000 arrays

that is used for off-host backup processing but is not included in any policy’s Clients list.

To allow the host to access credentials

1 In the NetBackup Administration Console, click Host Properties > Master servers > double click name of master server > Properties > Credential Access.

2 Click Add to enter the name of the client. Then click OK.

Configure the IBM array for NetBackupYou must add each NetBackup client and alternate client to the IBM array and make array devices available to the clients. In brief, the steps are the following:

To configure the array for NetBackup

1 On the IBM array, provide host name and port information for the NetBackup client. Note the following:

■ The nickname (on the IBM 6000/8000) must be the same as the NetBackup client name.

■ In the IBM 6000/8000 Storage Manager interface, the host type for AIX may not be obvious: select IBM pSeries.

■ As part of the host definition, select the WWPN of the NetBackup client.

Your NetBackup client must be properly zoned on the SAN to allow communication between it and the array.

2 Repeat step 1 for each NetBackup client or alternate client that uses the array.

3 Create a volume group and associate the volume group with the NetBackup host you have defined on the array. For details, refer to your IBM documentation.

4 Create logical volumes (or logical drives) for the volume group. This step makes the volumes or drives visible to the NetBackup client. For details, refer to your IBM documentation.

Obtain unique IBM identifiersThe NetBackup policy requires entry of the array’s Unique ID. If your array administrator provided LUN numbers for the devices, you must convert those LUN numbers into unique IDs for entry in the NetBackup policy Snapshot Resources pane. You can obtain the LUN unique IDs in either of two ways, as described in this topic.

126 Snapshot client updatesIBM DS6000 and DS8000 arrays

The LUN ID of the primary and snapshot (clone) logical volume can be found from the array by means of DSCLI commands or the IBM Storage Manager interface.

To use DSCLI commands to obtain the device identifiers

1 Find the host connection and its corresponding volume group by entering the following:

lshostconnect -dev enclosure_ID

Sample output:

2 Find the volumes presented to this volume group and to the host:showvolgrp -dev enclosure_ID volume_group

The values listed for Vols are the LUN ids.

3 Find out which device on the host corresponds to a given logical volume.

Enter the following:/usr/openv/netbackup/bin/nbfirescan

To use the IBM Storage Manager web interface to obtain the device identifiers

1 In the Storage Manager, click Real-time manager > Manage hardware > Host systems.

dscli> lshostconnect -dev IBM.1750-6866123Date/Time: December 17, 2007 4:18:02 PM IST IBM DSCLI Version: 5.2.2.224 DS: IBM.1750-6866123Name ID WWPN HostType Profile portgrp volgrpID ESSIOport================================================================================================oigtsol05 0000 10000000C956A9B4 Sun SUN - Solaris 0 V11 alloigtaix03 0022 10000000C969F60E pSeries IBM pSeries - AIX 0 V46 alloigtaix02 0023 10000000C94AA677 pSeries IBM pSeries - AIX 0 V47 all

dscli> showvolgrp -dev IBM.1750-6866123 V47Date/Time: December 17, 2007 4:21:01 PM IST IBM DSCLI Version: 5.2.2.224 DS: IBM.1750-6866123Name oigtaix02ID V47Type SCSI MaskVols 0002 0003 0004 0005 0006 0007 0008 0009 0031

127Snapshot client updatesIBM DS6000 and DS8000 arrays

2 Click on the host for which you need to find the volumes presented.

The volume groups that are associated with the host are displayed.

3 Click on the volume group to get the list of the logical volumes that are configured in this volume group.

The Number column indicates the LUN ID.

128 Snapshot client updatesIBM DS6000 and DS8000 arrays

Configuring a NetBackup policy for IBM_DiskStorage_FlashCopyFor general help setting up a NetBackup policy in the NetBackup Administration Console, refer to the NetBackup Snapshot Client Administrator’s Guide.

The following procedure focuses on the IBM_DiskStorage_FlashCopy method and its parameters.

To configure a policy for IBM_DiskStorage_FlashCopy

1 In the NetBackup Administration Console, click the Perform snapshot backups box on the policy Attributes tab.

2 Click the Snapshot Client Options button to display the Snapshot Options dialog box.

3 In the Snapshot method pull-down list, select IBM_DiskStorage_FlashCopy.

4 If needed, set Wait for flashcopy operation to complete to 1.

By default (0), the backup does not wait for the FlashCopy operation to complete. If the backup begins before the FlashCopy operation completes, database performance on the client (such as Oracle) may be affected until the FlashCopy is complete. A setting of 1 means that NetBackup waits for the FlashCopy to complete before the backup begins, to avoid any performance issues on the client.

Note that a setting of 1 may cause the backup elapsed time to increase significantly. The primary (production) volume may not be accessible until the FlashCopy command completes.

5 On the Snapshot Options dialog box in the Snapshot Resources pane, click Add.

NetBackup uses the information in the Snapshot Resources pane to correctly rotate through the clone LUNs when performing a FlashCopy clone backup. After all clone LUNs have been used in a backup, NetBackup automatically determines which clone is the oldest. NetBackup expires the oldest clone so that it can be reused for the current backup. If that clone represents the only backup image copy, NetBackup also expires the backup image associated with the clone.

Note that the policy Backup Selections determine one or more source LUNs for which snapshots are taken for backup. For each source LUN that is specified in the policy Backup Selections list, you must provide the information detailed in the following steps.

See “Obtain unique IBM identifiers” on page 125.

6 In the Add Snapshot Resource dialog box, enter the array's serial number in the Array Serial # field.

7 Enter the unique ID for the source LUN in the Source Device field.

129Snapshot client updatesHitachi SMS/WMS/AMS, USP/NSC, USP-V/VM

8 Enter the unique IDs for the clone LUNs in the Snapshot Device(s) field. To enter multiple IDs, place a semicolon between them.

Note the following:

■ The clone LUNs must be unmasked to the client (or alternate client) before you start a backup.

■ For Instant Recovery backups, the Snapshot Device(s) entries determine where and in what order the snapshots are retained.

For further referenceThe following IBM documents may be helpful.

■ The IBM System Storage DS6000 Series: Copy Services

http://www.redbooks.ibm.com/redpieces/abstracts/sg246782.html

http://www.redbooks.ibm.com/abstracts/sg246783.html

■ The IBM System Storage DS8000 Series: Copy Services

http://www.redbooks.ibm.com/abstracts/sg246787.html

http://www.redbooks.ibm.com/abstracts/sg246788.html

Hitachi SMS/WMS/AMS, USP/NSC, USP-V/VMThe following sections include background information and configuration tasks for NetBackup Snapshot Client backups using Hitachi SMS/WMS/AMS, USP/NSC, and USP-V/VM series of arrays.

These tasks must be completed before you run a backup.

Hitachi array software requirementsThe following Hitachi software is required.

For instructions on installing the software, refer to your Hitachi documentation.

Table 4-8 Software that is required for Hitachi arrays

Software Where to install Version

RAID Manager/LIB NetBackup client 01-12-03/04 or later.

Note: To determine the RAID Manager version, run the following:

/usr/lib/RMLIB/bin/whatrmver

See “Checking the RAID Manager version” on page 130.

130 Snapshot client updatesHitachi SMS/WMS/AMS, USP/NSC, USP-V/VM

Checking the RAID Manager versionUse the following procedure.

To determine the current RAID Manager version

◆ Enter the following:/usr/lib/RMLIB/bin/whatrmver

Example output:Model :RAID-Manager/LIB/SolarisVer&Rev:01-12-03/04

Preconfiguration for HitachiPrior to running backups, you must configure the arrays and appropriate volumes. Refer to your Hitachi array documentation.

Pair status must be PSUS (SMS/WMS/AMS arrays only)After creating volume pairs, you must split each pair and leave the status of the pair at PSUS.

You can use the following CCI command:pairsplit -g dg_name -d device_name -l

where dg_name and device_name are the names specified in the CCI configuration file for the primary device.

Configure command devices on NetBackup client and alternate clientThe Hitachi command devices must be visible to the NetBackup client as well as to any alternate client. To configure command devices, refer to your Hitachi documentation.

Configuring NetBackup to access the arrayYou do not need to configure array credentials for the Hitachi array. All communication between NetBackup and the array is done by means of command devices. If multiple Hitachi arrays are connected to a NetBackup client, NetBackup sends the NetBackup command to the correct Hitachi array.

To determine if the command devices are visible

◆ Enter the following:/usr/openv/netbackup/bin/nbfirescan

131Snapshot client updatesHitachi SMS/WMS/AMS, USP/NSC, USP-V/VM

Example output:

The last line of the above example shows a command device (DF600F-CM).

Configure the Hitachi array for NetBackupYou must add each NetBackup client and alternate client to a host group on the Hitachi array. Note the following:

■ The name of the host group must match the host name or fully qualified domain name of the client as specified in the NetBackup policy. The name should not be more that 16 characters in length.

■ For host entries in the host groups, specify the WWNN/WWPN of each host.

Obtain unique Hitachi identifiersThe NetBackup policy requires the Hitachi array's serial number and the unique IDs (device identifiers) for the source and clone LUNs. Use the following procedure to obtain that information.

To obtain the array serial number and device identifiers

◆ Enter the following command:/usr/openv/netbackup/bin/nbfirescan

Example output:

nbfirescan v4.4.2 - Copyright (c) 2005-2007 Symantec Corp.

Rescanning devices..............................................Complete.

Device count: 37

DevicePath Vendor Product ID EnclosureId DeviceId [Ctl,Bus,Tgt,Lun]

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

/dev/rdsk/c3t50060E801029F700d22s6 HITACHI DF600F 10816 0201 [00,00,00,00]

/dev/rdsk/c3t50060E801029F700d1s6 HITACHI DF600F-CM 10816 0003 [00,00,00,00]

DevicePath Vendor Product ID EnclosureId DeviceId [Ctl,Bus,Tgt,Lun]

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------

/dev/rdsk/c2t6d15s6 HITACHI DF600F 6484 53 [00,00,00,00]

/dev/rdsk/c2t6d14s6 HITACHI DF600F 6484 52 [00,00,00,00]

132 Snapshot client updatesHitachi SMS/WMS/AMS, USP/NSC, USP-V/VM

The Enclosure ID is the serial number and the Device ID is the array’s device ID.

Configure a NetBackup policy for Hitachi_ShadowImage or Hitachi_CopyOnWrite

For general help setting up a NetBackup policy in the NetBackup Administration Console, refer to the NetBackup Snapshot Client Administrator’s Guide.

The following procedure focuses on the Hitachi_ShadowImage and Hitachi_CopyOnWrite methods and their parameters.

Note: The term “clone LUNs,” as used in this procedure, refers to the Hitachi_ShadowImage method. For the Hitachi_CopyOnWrite method, the term “clone LUNs” can be replaced with “snapshot LUNs.”

To configure a policy for an Hitachi array method

1 In the NetBackup Administration Console, click the Perform snapshot backups box on the policy Attributes tab.

2 Click the Snapshot Client Options button to display the Snapshot Options dialog box.

3 In the Snapshot method pull-down list, select Hitachi_ShadowImage or Hitachi_CopyOnWrite.

4 In the Snapshot Resources pane, click Add.

NetBackup uses the information in the Snapshot Resources pane to correctly rotate through the designated LUNs when performing a ShadowImage (or CopyOnWrite) backup. After all clone LUNs have been used in a backup, NetBackup automatically determines which clone is the oldest. NetBackup expires the oldest clone so that it can be reused for the current backup. If that clone represents the only backup image copy, NetBackup also expires the backup image associated with the clone.

Note that the policy’s Backup Selections list must specify one or more source LUNs for which snapshots are created for the backup. For each source LUN in the policy Backup Selections list, you must supply a serial number and unique IDs.

See “Obtain unique Hitachi identifiers” on page 131.

5 In the Add Snapshot Resource dialog box, enter the array's serial number in the Array Serial # field.

6 Enter the unique ID for the source LUN in the Source Device field.

133Snapshot client updatesTroubleshooting

The ID must be entered without leading zeroes. For example, if the LUN ID is 0110, enter 110 in the Source Device field.

7 Enter the unique IDs for the clone LUNs (for Hitachi_ShadowImage method) or the snapshot LUNs (for Hitachi_CopyOnWrite) in the Snapshot Device(s) field. To enter multiple IDs, place a semicolon between them.

The ID must be without leading zeroes. For example, if the LUN ID is 0111, enter 111 in the Snapshot Device(s) field.

Note the following:

■ The LUNs must be unmasked to the client (or alternate client) before you start a backup.

■ For Instant Recovery backups, the Snapshot Device(s) entries determine where and in what order the snapshots are retained.

TroubleshootingThis topic provides troubleshooting assistance.

Troubleshooting: IBM DS6000 and 8000 arraysThis section provides explanations and recommended actions, as well as log entries that may help identify the problem.

Note the following important items:

■ Before you start a backup, the snapshot device (clone) must be visible (unmasked) to the NetBackup client or alternate client.

■ For backup and Instant Recovery rollback restore: you must supply login credentials that allow the NetBackup client to access the IBM array. For NetBackup hosts not named in a policy (such as alternate clients), you must also configure NetBackup so that the host can access the credentials.

Backups may appear to succeed, but the bprd log on the server contains messages similar to the following:09:02:17.999 [4292.3092] <2> is_disk_client_configured: db_cred_allowed(host1.enterprise.com, 1) failed: 22709:02:17.999 [4292.3092] <2> read_text_file: is_disk_client_configured(host1.enterprise.com) failed: 22709:02:17.999 [4292.3092] <2> process_request: read_text_file failed - status = client is not validated to use the server (131)

Until credential access is enabled, a backup or a point-in-time rollback fails with NetBackup status 5.

See “Configuring NetBackup to access the array” on page 124.

See “Array access for NetBackup hosts not named in a policy” on page 124.

134 Snapshot client updatesTroubleshooting

Snapshot error encountered (NetBackup status code 156)Note these possible explanations:

■ The snapshot device (clone) is not visible (unmasked) to the NetBackup client or alternate client.

Recommended action: Make the clone device visible to the NetBackup client or alternate client before you retry the backup. Contact IBM technical support or refer to your IBM array documentation.

■ The snapshot device (clone) is also a source device in another device pair.

The following message may appear in the /usr/openv/netbackup/logs/bpfis/ibmtsfi.log.date log:CMUN03041E mkflash: Copy Services operation failure: already a FlashCopy source

Recommended action: Reconfigure source and clone devices so that the clone required for this backup is not a source device for another clone. Contact IBM technical support or refer to your IBM array documentation.

■ The snapshot device (clone) and source device are not of equal size.

The following message may appear in the /usr/openv/netbackup/logs/bpfis/ibmtsfi.log.date log:CMUN03049E mkflash: Copy Services operation failure: incompatible volumes

Recommended action: Reconfigure source and clone devices to be identical in size. Contact IBM technical support or refer to your IBM array documentation.

■ The source device is already recording enabled for FlashCopy.

The following message may appear in the /usr/openv/netbackup/logs/bpfis/ibmtsfi.log.date log:CMUN03027E mkflash: FlashCopy operation failure: action prohibited by current FlashCopy state. Contact IBM technical support for assistance.

Recommended action: verify whether the source device has a FlashCopy relationship with some device other than the snapshot device (clone) specified in the policy. If a FlashCopy relationship exists with some other device, delete the relationship and start the backup again.

■ The IBM FlashCopy license is not installed.

The following message may appear in the /usr/openv/netbackup/logs/bpfis/ibmtsfi.log.date log:CMUN03035E mkflash: Copy Services operation failure: feature not installed.

Recommended action: Install the FlashCopy license on the storage subsystem. Contact IBM technical support or refer to your IBM array documentation.

135Snapshot client updatesTroubleshooting

■ The FlashCopy relationship is not recording enabled.

The following message may appear in the /usr/openv/netbackup/logs/bpfis/ibmtsfi.log.date log:CMUN03027E resyncflash: FlashCopy operation failure: action prohibited by current FlashCopy state. Contact IBM technical support for assistance

Recommended action:

■ Make sure a FlashCopy relationship exists for the device pair.

■ If the FlashCopy relationship is not recording enabled, remove the FlashCopy relationship and then re-run the backup.

■ A FlashCopy relationship does not exist.

The following message may appear in the /usr/openv/netbackup/logs/bpfis/ibmtsfi.log.date log:CMUN03027E resyncflash: FlashCopy operation failure: action prohibited by current FlashCopy state. Contact IBM technical support for assistance.

A resynchronize operation was attempted on a FlashCopy pair that does not exist.

Recommended action: Verify that a FlashCopy pair does not exist, and then re-execute the backup.

■ Incremental Copy is in progress.

The following message may appear in the /usr/openv/netbackup/logs/bpfis/ibmtsfi.log.date log:CMUN02498E resyncflash: The storage unit is busy.

This message could appear for the following reasons:

■ A background copy is in progress for the given pair of devices on the array.

■ Some maintenance activity is currently in progress on the array.

Recommended action: Allow the background copy or maintenance activity to complete. Then re-run the backup.

Troubleshooting: Hitachi arraysThis section provides explanations and recommended actions, as well as log entries that may help identify the problem.

Note the following important items:

■ RAID Manager version 01-12-03/04 or later is required.

See “Checking the RAID Manager version” on page 130.

■ Before you start a backup, the snapshot device (clone LUN or snapshot LUN) must be visible (unmasked) to the NetBackup client or alternate client.

136 Snapshot client updatesTroubleshooting

■ For the NetBackup policy Snapshot Resource configuration, specify device IDs in decimal and without leading zeros.

For example, if your source device ID is 0100 and the snapshot device ID is 0101, enter 100 and 101 in the Snapshot Resources dialog box.

See “Configure a NetBackup policy for Hitachi_ShadowImage or Hitachi_CopyOnWrite” on page 132.

NetBackup policy validation failsNote these possible explanations:

■ The Hitachi command device is not unmasked.

See the sample log messages in the next bullet.

Recommended action: Refer to Hitachi documentation for creating and unmasking command devices.

■ The Hitachi command device is unmasked but is not visible to client, or the enclosure ID specified in the policy’s Snapshot Resources is invalid.

The /usr/openv/netbackup/logs/bpfis/hitachi.log.<date> log

may contain messages similar to the following:Fri Mar 21 2008 16:26:46.431046 <Pid - 9477 / Thread id - 1> Entering Function delayedInit [110, providers/hitachi/hitachi_plugin.cpp]Fri Mar 21 2008 16:26:49.173893 <Pid - 9477 / Thread id - 1> <Device name="/dev/rdsk/c4t50060E801029F700d2s6" udid="UDID##HITACHI##HDS##75040816##3" bus="0" target="0" lun="0" vendor="HITACHI" product="DF600F-CM" />Fri Mar 21 2008 16:26:49.174493 <Pid - 9477 / Thread id - 1> Exiting Function delayedInit [110, providers/hitachi/hitachi_plugin.cpp]

If the delayedInit message does not include at least one entry for the enclosure ID that was entered in the policy’s Snapshot Resources, the command device is not unmasked or is not visible to NetBackup client (host).

Recommended action: Make sure the command device is recognized by the operating system and that the enclosure ID is entered correctly in the policy's Snapshot Resources.

To determine if the command device is recognized by the operating system, try device discovery commands such as the following:

devfsadmcfgadm -al

A log message for the enclosure ID would include an entry such as the following:

c3t50060E801029F700d28 <HITACHI-DF600F-CM-0000 cyl 52 alt 2 hd 50 sec 768>

which shows that the device is visible as c3t50060E801029F700d28.

137Snapshot client updatesTroubleshooting

■ A mismatch exists between the policy’s snapshot method and the type of LUNs specified for the Snapshot Devices. For example, if you select the Hitachi_ShadowImage method but specify snapshot LUNs instead of clone LUNs for the Snapshot Devices, an error occurs.

See the sample log messages in the next bullet.

Recommended action: Specify the correct snapshot method or snapshot devices.

■ A disk pair was not created for the source and snapshot devices specified in the NetBackup policy’s Snapshot Resources.

The /usr/openv/netbackup/logs/bpfis/hitachi.log.<date> log may contain messages similar to the following.

If the snapshot method is Hitachi_CopyOnWrite:Fri Mar 21 2008 16:26:49.173893 <Pid - 9477 / Thread id - 1> HITACHI_FIM_SNAPSHOT not supported for 10

If the snapshot method is Hitachi_ShadowImage:Fri Mar 21 2008 16:26:49.173893 <Pid - 9477 / Thread id - 1> HITACHI_FIM_SHADOW_IMAGE not supported for 10

Recommended action: Set up a disk pair (primary and secondary) for the source and snapshot devices that are specified in the policy’s Snapshot Resources. Refer to the Hitachi documentation.

■ In the policy’s Snapshot Resources, the device identifier for the source or snapshot device is invalid.

The /usr/openv/netbackup/logs/bpfis/hitachi.log.<date> log may contain messages similar to the following:Fri Mar 21 2008 16:26:49.173893 <Pid - 9477 / Thread id - 1> getrminfo failed.Fri Mar 21 2008 16:26:49.173893 <Pid - 9477 / Thread id - 1> operation failed with error number <> with message <msg>'.

The above message may indicate that a device ID in the policy’s Snapshot Resources is incorrect or does not exist. For example, if the specified snapshot device ID does not exist:Mon May 12 2008 21:32:32.088876 <Pid - 8040 / Thread id - 1> getrminfo is called for '9999'.Mon May 12 2008 21:32:32.089736 <Pid - 8040 / Thread id - 1> getrminfo failed.Mon May 12 2008 21:32:32.090003 <Pid - 8040 / Thread id - 1> operation failed with error number '-1' with message '[EL_CMDRJE] An order of the control command rejected.'.

Recommended action: Make sure the identifiers are correctly entered in the policy’s Snapshot Resources. Specify source and snapshot IDs without leading zeros.

See “Configure a NetBackup policy for Hitachi_ShadowImage or Hitachi_CopyOnWrite” on page 132.

138 Snapshot client updatesTroubleshooting

■ The RAID Manager library libsvrrm.so software is not installed in the /usr/lib/ directory.

Recommended action: Install the RAID Manager package in /usr/lib/. See the Hitachi documentation.

■ The installed version of RAID Manager library libsvrrm.so is not supported.

Recommended action: Look for the Library RMLIB version message in the /usr/openv/netbackup/logs/bpfis/hitachi.log.<date> log.

See “Checking the RAID Manager version” on page 130.

Backup or restore or image expiration failsThe following bullets list possible explanations:

■ A problem occurred involving the Hitachi instance number. For example, the Hitachi snapshot provider did not receive the instance number for the command device. The instance number is needed to connect to the array.

The /usr/openv/netbackup/logs/bpfis/hitachi.log.<date> log contains the following message:Couldn't get instance no failed with message ....

The log may contain the following additional messages:Fri Mar 21 2008 16:26:49.818233 <Pid - 9477 / Thread id - 1> Entering Function attachCmd [156, providers/hitachi/hitachi_rmlibintf.cpp]Fri Mar 21 2008 16:26:49.173893 <Pid - 9477 / Thread id - 1> attachcmddev is called with cmd dev /dev/dsk/c1t0d0s2 and instance number 0.Fri Mar 21 2008 16:26:49.818308 <Pid - 9477 / Thread id - 1> Exiting Function attachCmd [156, providers/hitachi/hitachi_rmlibintf.cpp]

The attachcmddev message should list the Hitachi command device (for the enclosure ID that was specified in the policy) and the instance number. If the Hitachi command device is not included in the message, then the instance number was not received. A limited number of instance numbers are allowed per command device. If the maximum number of processes are using the same command device, no more instance numbers are available. This situation may indicate a problem with the instance number management logic of the Hitachi provider.

Note also the following potential messages:Fri Mar 21 2008 16:26:49.818233 <Pid - 9477 / Thread id - 1> Entering Function attachCmd [156, providers/hitachi/hitachi_rmlibintf.cpp]Fri Mar 21 2008 16:26:49.173893 <Pid - 9477 / Thread id - 1> Couldn't get instance no failed with message '%s'.

139Snapshot client updatesTroubleshooting

Fri Mar 21 2008 16:26:49.818308 <Pid - 9477 / Thread id - 1> Exiting Function attachCmd [156, providers/hitachi/hitachi_rmlibintf.cpp]

Another example message is the following:Fri Mar 21 2008 16:26:49.173893 <Pid - 9477 / Thread id - 1> Couldn't get instance no failed with message 'Instance No Exhausted, couln't reclaim giving up'

These messages indicate that the instance number is not available. A problem may exist with the instance number management logic.

Recommended action:

■ Remove the following file:/usr/openv/lib/vxfi/cachefiles/hitachi/

UDID##HITACHI##HDS##<enclosure id>##*

where enclosure id is the array's serial number specified in the policy’s Snapshot Resources.

■ Gather the appropriate Hitachi logs and contact Symantec customer support for NetBackup.

■ The default array controller of the source device is not the same as the controller of the snapshot device. Use the Storage Navigator interface to verify.

Recommended action: Make sure that the clone (or snapshot) device has the same default controller as the source device. See the Hitachi documentation.

140 Snapshot client updatesNew options for vxvm snapshots

New options for vxvm snapshotsThe vxvm snapshot method is for making Veritas Volume Manager snapshots. The vxvm snapshot method works for any file system that is mounted on a VxVM volume. Prior to backup, the data must be configured with either of the following: VxVM 3.1 or later for traditional mirrors, or VxVM 4.0 or later for full-sized or space optimized instant snapshots.

New vxvm backup optionsTable 4-9 lists the vxvm snapshot method parameters introduced in NetBackup 6.5.2. You can configure these parameters in a snapshot policy in the NetBackup Administration Console: Policies > Actions > New > New policy > Attributes > Snapshot Client Options.

See the NetBackup 6.5 Snapshot Client Administrator’s Guide for full details on policy configuration.

Table 4-9 New vxvm parameters in NetBackup 6.5.2

Parameter Description

Wait for mirror sync completion (Data Mover backups only)

This parameter applies only to off-host backups that use the NetBackup Media Server or Third-Party Copy Device backup method.

With the default setting (Yes), this parameter specifies that full-sized instant snapshots will not be available for backup until the mirror synchronization is complete. Note that before synchronization is complete, some of the data required for the backup resides on the source disks but not on the snapshot disks. If the media server has access to the snapshot disks but does not have access to the source disks, and if the backup starts before the snapshot disks are fully synchronized with the source, the backup fails.

In the case of a NetBackup Media Server or Third-Party Copy Device backup—where the media server does not have access to the source disks—you should set this parameter to 1. If both source and snapshot disks are visible to the media server, you can set this parameter to 0 (No).

141Snapshot client updatesNew options for vxvm snapshots

Maximum number of volumes to resynchronize concurrently

For configurations that have sufficient I/O bandwidth, multiple volumes can be resynchronized simultaneously, to complete resynchronization sooner. This parameter specifies the number of volume pairs that are resynchronized simultaneously. A volume pair consists of a source volume and its snapshot (or mirror) volume.

The default is 1, which means that volume pairs are resynchronized one at a time. Accept the default if the I/O bandwidth in your clients and disk storage cannot support simultaneous synchronization of volumes. A major factor in I/O bandwidth is the number and speed of HBAs on each client.

Sync region size in MB (UNIX only)

Specifies the size in MB of each I/O request that is used when synchronizing the regions of a volume. Specifying a larger size causes synchronization to complete sooner, but with greater impact on the performance of other processes that are accessing the volume. The default size of 1 MB is the minimum suggested value for high-performance array and controller hardware. The specified value is rounded to a multiple of the volume's region size.

This option is the same as the iosize=size parameter on the VxVM vxsnap command. For more details on the iosize=size parameter, see the Veritas Volume Manager Administrator’s Guide.

Sync I/O delay in milliseconds (UNIX only)

Specifies the delay in milliseconds between synchronizing successive sets of regions as specified by the value of the previous parameter (Sync region size in MB). This option can be used to change the impact of synchronization on system performance.

The default is 0 milliseconds (no delay). Increasing this value slows down synchronization, and reduces the competition for I/O bandwidth with other processes that may be accessing the volume.

This option is the same as the slow=iodelay parameter on the VxVM vxsnap command. For more details on the slow=iodelay parameter, see the Veritas Volume Manager Administrator’s Guide.

Table 4-9 New vxvm parameters in NetBackup 6.5.2

Parameter Description

142 Snapshot client updatesNew options for vxvm snapshots

New vxvm restore options for Instant Recovery rollbackSeveral of the vxvm parameters described in Table 4-9 can be set specifically for Instant Recovery point in time rollback when multiple volumes are involved in the rollback. Modifying these options to suit the circumstances under which the rollback will occur may improve performance.

The following parameters can be modified for rollback:

■ Maximum number of volumes to resynchronize concurrently

■ Sync region size in MB (UNIX only)

■ Sync I/O delay in milliseconds (UNIX only)

Note: Instant Recovery rollback uses the same defaults for these vxvm parameters as are listed in Table 4-9.

To modify the vxvm parameters for point in time rollback

1 Create the following file:/usr/openv/netbackup/SYMC_PARAMS

2 In the file, enter the numeric values for the parameters, in one line. The numbers apply to the parameters listed in the bulleted list above, in that order.

For example:6 3 1000

This example resets the parameters as follows:

■ Maximum number of volumes to resynchronize concurrently = 6

■ Sync region size in MB (UNIX only) = 3

■ Sync I/O delay in milliseconds (UNIX only) = 1000

Chapter 5

New data at rest key management

Key Management ServiceThe Key Management Service (KMS) feature runs on NetBackup 6.5.2 and is a master server based symmetric key management service that manages symmetric cryptography keys for tape drives that conform to the T10 standard (LTO4). KMS has been designed to uses volume pool based tape encryption. KMS is used with tape hardware that has built-in hardware encryption capability. An example tape drive with built-in encryption is the IBM ULTRIUM TD4 cartridge drive. KMS runs on Windows and UNIX. KMS generates keys from your passcodes or auto-generates keys. KMS operations are done through the KMS Command Line Interface (CLI). The CLI options are available for use with both nbms and bmkmsutil.

KMS has a minimal impact on existing NetBackup operation system management and yet provides a foundation for future Key Management Service enhancements. The initial release of KMS has a limited feature set in this 6.5.2 unlicensed version with a limited number of key groups and key records for each key group.

KMS considerationsThe following considerations relate to the functionality and use of KMS.

New NBKMS serviceMaster server based service providing encryption keys to media server BPTM processes.

144 New data at rest key managementKey Management Service

New nbkmsutil KMS configuration utilityFor security reasons, the KMS configuration utility can only be run from the master server as root or administrator.

NetBackup wide changesTo deal with the ENCR_ prefix on the volume pool names. To communicate with the key management service. To provide support for the T10 / SCSI standard tape drives with embedded (LT04 and equivalent) encryption.

■ NetBackup GUI and CLI changes to report the encryption key tag addition to the NetBackup image information

The bpimmedia and bpimagelist were modified.

■ An emphasis on recoverability and ease of use for this NetBackup 6.5.2 release

The recommended option is that all encryption keys are generated with passphrases. You type in a passphrase and the key management system creates a reproducible encryption key from that passphrase.

KMS installation and deployment decisions■ You can make the decision to choose KMS random generated keys or

passphrase generated keys.

■ You can decide to include NBAC deployment or not.

KMS securityThere is no burden on existing NetBackup services with additional security concerns.

Cipher typesThe following cipher types are supported in KMS:

■ AES_128

■ AES_192

■ AES_256 (default cipher)

KMS recoverability There is a method of using the KMS where all of the encryption keys are generated from passphrases. You can record these passphrases and then use them at a later time to recreate the entire KMS for NetBackup.

145New data at rest key managementKey Management Service

NetBackup 6.5.2 unlicensed version limitsThere is a maximum limit in this NetBackup 6.5.2 unlicensed version of KMS for ten key records per group and an additional maximum of two key groups.

KMS filesThe KMS has three files associated with it where information on the keys is kept.

■ Key file or key database

Contains the data encryption keys. The key file is located at /opt/openv/kms/db/KMS_DATA.dat.

■ Host master key

Contains the encryption key that encrypts and protects the KMS_DATA.dat key file using AES 256. The host master key is located at /opt/openv/kms/key/KMS_HMKF.dat

■ Key protection key

Encryption key that encrypts and protects individual records in the KMS_DATA.dat key file using AES 256. The key protection key is located at /opt/openv/kms/key/KMS_KPKF.dat. Currently the same key protection key is used to encrypt all of the records.

Key recordsKey records contain many fields but the primary records are the encryption key, the encryption key tag, and the record state. Key records also contain some metadata.

■ Encryption Key

This is the key that will be given to the tape drive.

■ Encryption Key Tag

This tag is the identifier for the encryption key.

■ Record state

Each of the key records has a state. The states are prelive, active, inactive, deprecated, and terminated.

■ Metadata

Metadata includes logical name, creation date, modification date, and description.

Key groupsA logical name and grouping of key records. All key records created must belong to a group. A key group can only have one active state key record at any time.

146 New data at rest key managementKey Management Service

Tape drives and media capabilitiesDrive, tape, and NetBackup capabilities must all match for drive encryption to be successful. There are a number of drives that adhere to the standard. The LT04 is a popular type. Currently only LT04 drives and LT04 media can be encrypted or decrypted. You can still run LT03 media in LT04 drives for reading and writing but you cannot encrypt the data. If you are using LT02 media, that data can be read in LT04 drives but they cannot be written in either unencrypted or encrypted format.

You will have to keep track of these drive and media issues as you setup encryption. Not only do you need drives that are capable of encryption but the media needs to be grouped so that the media is capable of encryption. For later decryption the tape must be placed in a drive that is capable of decryption. Following is the interoperatability matrix for the tape drives and media.

■ LTO4 drives can read LTO2, LT03, and LT04 media

■ LTO4 drives can write LTO3 and LT04 media

■ LTO4 drives can only encrypt LTO4 media

■ LTO4 encrypted and decrypted media only works in LTO4 drives

KMS with NBACInformation on using KMS with NBAC is included where applicable in various sections of this document. For further information, refer to the NetBackup 6.5.2 NBAC documentation.

KMS with HA clusteringInformation on using KMS with HA clustering is included where applicable in various sections of this document. For further information, refer to the NetBackup 6.5.2 HA documentation

KMS loggingThe service uses the new unified logging and has been assigned OID 286. The nbkmsutil CLI uses traditional logging and its logs can be found in the file /usr/openv/netbackup/logs/admin/*.log

KMS with NetBackup 6.5.2 Windows uninstallWhen a Windows uninstall is done of NetBackup 6.5 without first uninstalling NetBackup 6.5.2, a remnant of KMS is left installed in the Windows Service Manager. To resolve this Windows issue, uninstall NetBackup 6.5.2 and then uninstall NetBackup 6.5. A tech note will be created on this topic.

147New data at rest key managementKey Management Service

KMS principles of operationKMS works with encryption capable tape drives. KMS is integrated into NetBackup 6.5.2 in such a way so as to eliminate difficulties in using NetBackup from a system management perspective. KMS provides encryption key management for tape drives with built-in encryption capabilities. These are tape drives that adhere to the SCSI standard. A SCSI command actually enables encryption on the tape drive. NetBackup accesses this capability through the volume pool name.

About writing an encrypted tapeBPTM receives a request to write to a tape and to use a tape from a volume pool with the ENCR_ name prefix. The ENCR_ prefix is a signal to BPTM that the information to be written to tape is to be encrypted.

BPTM contacts KMS and requests an encryption key from the key group with a name that matches the name of the volume pool.

KMS hands back to BPTM an encryption key and a key identifier (known as the encryption key tag).

BPTM places the drive in encryption mode and registers the key and identifier tag with the drive. This is all done with the SCSI security protocol in/out command that has been added to the SCSI specification.

The backup then proceeds as normal.

When the backup is complete, BPTM unregisters the key and tag with the drive and sets the drive back into regular mode.

BPTM then records the tag in the NetBackup image record catalog.

148 New data at rest key managementKey Management Service

About reading an encrypted tapeWhen a tape is read and an area of the tape in encountered where an image is encrypted, BPTM determines what tag is used and KMS loads that record and key into BPTM. Then BPTM provides the key to the drive and reading the tape proceeds as normal.

KMS terminologyThe terms associated with KMS are listed below:

CLICommand line interface. You can operate the KMS feature from the provided command line using the nbkmsutil command. You can use the CLI to create a new key group, create a new key, modify key group attributes, modify key attributes, get details of key groups, get details of keys, delete a key group, delete a key, recover a key, modify the host master key, get host master key ID, modify key protection key, get key protection key ID, get key store statistics, quiesce the KMS database, unquiesce the KMS database.

BPTM

NBU Catalog

KMS

Tape Drive

149New data at rest key managementKey Management Service

Host Master Key (HMK)Contains the encryption key that encrypts and protects the KMS_DATA.dat key file using AES 256. The host master key is located at /opt/openv/kms/key/KMS_HMKF.dat

KeyEncryption key that is used to encrypt and decrypt data.

Key group (KG)Logical collection of keys.

Key group record (KGR)Contains the details of a key group.

Key Management Service (KMS)Is a master server based symmetric key management service that manages symmetric cryptography keys for tape drives that conform to the T10 standard (LTO4). The KMS is located here: /usr/openv/netbackup/bin/nbkms

Key record (KR)Contains the details of an encryption key.

KMS databaseContains the data encryption keys.

Key Protection Key (KPK)Encryption key that encrypts and protects individual records in the KMS_DATA.dat key file using AES 256. The key protection key is located at kms/key/KMS_KPKF.dat. Currently the same key protection key is used to encrypt all of the records.

Key file (key database)Contains the data encryption keys. The key file is located at /opt/openv/kms/db/KMS_DATA.dat.

150 New data at rest key managementKey Management Service

Key groupA logical name and grouping of key records. A key group can only have one active state key record at any time.

Key recordContains the encryption key, encryption key tag, and the record state. Other useful metadata such as logical name, creation date, modification date, and description are also included. The key records have states listed below.

Key record statesKey record states are listed below.

■ Prelive

The key record has been created, but has never been used.

■ Active

The key record can be used for encryption and decryption in both backup and restore.

■ Inactive

Key record cannot be used for encryption, but can be used for decryption only during restore.

■ Deprecated

The key record can not be used for encryption or decryption.

■ Terminated

The key record is not available for use but it can be deleted.

Key storeThe file that keeps the data encryption keys.

PassphraseUser specified random string. Seed to create encryption keys. You have a choice of creating the HMK, the KPK, and the encryption key with or without a passphrase. Using a passphrase would provide the following benefits:

■ Better passphrases result in keys with better security strength.

■ If lost, keys can be recovered (re-generated) by providing the same passphrase (which was used to create the original key).

Note: It is important to keep track of all passphrases by recording them and storing them in a safe place for future use.

151New data at rest key managementInstalling KMS

QuiesceSets the KMS DB to read-only administrator mode. Quiescing is required to make a backup of consistent copy of the KMS DB files.

TagUnique identifier (UUID) used to identify a key or key group in a key store.

Installing KMSThe service is called nbkms. The service does not run until the data file has been setup and in this way minimizes the impact on environments not using KMS. To configure it run the nbkms -createemptydb option. This will prompt you for a passphrase for the host master key HMK and the key protection key KPK. You will be asked for an ID. In this particular case the numbers 34 and 10 were entered. These IDs can be anything descriptive that you want to use to identify the HMK and KPK. Then you start up the KMS service.

The next step is to create the key group. This operation is done by using the KMS utility with the options create key group with a key group name specified. For this to work with NetBackup 6.5.2 the key group name must be an identical match to the volume pool name. All key group names must have a prefix ENCR_.

fel (root) [4]: nbkms -createemptydbEnter the Host Master Key (HMK) passphrase (or hit ENTER to use a randomly generated HMK). The passphrase will not be displayed on the screen.Enter passphrase : Re-enter passphrase : An ID will be associated with the Host Master Key (HMK) just created. The ID will assist you in determining the HMK associated with any key store.Enter HMK ID : 34Enter the Key Protection Key (KPK) passphrase (or hit ENTER to use a randomly generated KPK). The passphrase will not be displayed on the screen.Enter passphrase : Re-enter passphrase : An ID will be associated with the Key Protection Key (KPK) just created. The ID will assist you in determining the KPK associated with any key store.Enter KPK ID : 10fel (root) [5]: nbkmsfel (root) [6]: ps -ef | grep nbkms

root 11917 11873 0 13:08:09 pts/18 0:00 grep nbkmsroot 11915 1 0 13:08:02 ? 0:00 nbkms

152 New data at rest key managementInstalling KMS

This is how BPTM when it gets a volume pool request with ENCR_ hands that volume pool name to KMS. KMS identifies it as an exact match of the volume pool and then picks the active key record for backups out of that group.

The next step is to create a key record.

nbkmsutil -createkey -kgname ENCR_pool1 -keyname Q1_2008_key -activate -desc "Key for Jan, Feb, & March"

The option is createkey. You need to specify the key group name that this record will be part of. You can give it a key name. In this example it is called Q1_2008_key. You specify the activate option which skips the prelive state and creates this key as active. You can provide an optional description of what that key is. In this case the description is “Key for Jan, Feb, & March.” Below shows the output of the command. In this case the default is to enter the passphrases for the keys.

You can create another key record.

nbkmsutil -createkey -kgname ENCR_pool1 -keyname Q2_2008_key -activate -desc "key for Apr, May, & Jun"

This one could be called Q2_2008_key.

fel (root) [3]: nbkmsutil -createkg -kgname ENCR_pool1New Key Group creation is successful

fel (root) [312]: nbkmsutil -createkey -kgname ENCR_pool1 -keyname Q1_2008_key -activate -desc "Key for Jan, Feb, & March"Enter a passphrase: Re-enter the passphrase: New Key creation is successfulfel (root) [313]: nbkmsutil -listkeys -kgname ENCR_pool1Key Group Name : ENCR_pool1Supported Cipher : AES_256Number of Keys : 1Has Active Key : YesCreation Time : Sat Mar 15 10:45:55 2008Last Modification Time: Sat Mar 15 10:45:55 2008Description : -Key Tag : d5a2a3df1a32eb61aff9e269ec777b5b9092839c6a75fa17bc2565f725aafe90Key Name : Q1_2008_keyCurrent State : ActiveCreation Time : Sat Mar 15 10:46:51 2008Last Modification Time: Sat Mar 15 10:46:51 2008Description : Key for Jan, Feb, & March

Number of Keys: 1

153New data at rest key managementInstalling KMS

Then you can run the list keys option to list all of the keys that belong to the ENCR_pool1 keygroup name. Notice that the Q1_2008_key is inactive and the Q2_2008 key is the active key.

List Key Records part of the named Key Group.

nbkmsutil -listkeys -kgname ENCR_pool1

Using KMS with NBACThe following changes have been made to NBAC to support the introduction of KMS:

■ Addition of the new authorization object "KMS"

fel (root) [326]: nbkmsutil -createkey -kgname ENCR_pool1 -keyname Q2_2008_key -activate -desc "key for Apr, May, & Jun"

Enter a passphrase: Re-enter the passphrase:

New Key creation is successful

fel (root) [327]:

fel (root) [331]: nbkmsutil -listkeys -kgname ENCR_pool1Key Group Name : ENCR_pool1Supported Cipher : AES_256Number of Keys : 2Has Active Key : YesCreation Time : Sat Mar 15 10:45:55 2008Last Modification Time: Sat Mar 15 10:45:55 2008Description : -Key Tag : cf7ac430d8795a9b39e703821371ed10be6ec80eab72d89aef6f8a791fc2460dKey Name : Q2_2008_keyCurrent State : ActiveCreation Time : Sat Mar 15 11:02:46 2008Last Modification Time: Sat Mar 15 11:02:46 2008Description : key for Apr, May, & JunKey Tag : d5a2a3df1a32eb61aff9e269ec777b5b9092839c6a75fa17bc2565f725aafe90Key Name : Q1_2008_keyCurrent State : InactiveCreation Time : Sat Mar 15 10:46:51 2008Last Modification Time: Sat Mar 15 10:46:51 2008Description : Key for Jan, Feb, & March

Number of Keys: 2

154 New data at rest key managementInstalling KMS

■ Addition of the new NetBackup User Group "NBU_KMS Admin"

The permissions a user has on the KMS object determines the KMS related tasks you are allowed to perform.

Table 5-1 shows the default KMS permissions for each of the NetBackup user groups.

Besides the KMS permissions listed above, the NBU_KMS admin group also has the following permissions on other authorization objects:

■ BUAndRest - Browse, Read, Backup, Restore, List

■ HostProperties - Browse, Read

■ License - Browse, Read

KMS with HA clusteringIn a typical NetBackup environment, it is possible that not all the optional packages are installed, licensed or configured. In such scenarios, any services that pertain to these optional products may not be active all the time. These services are hence not monitored by default and do not cause a NetBackup to failover if they fail. If at a future time an optional product is installed, licensed and configured, its services can be manually configured to cause NetBackup to failover if they fail. In this section, we document the manual steps that set up KMS to get cluster monitored.

Enabling cluster use with the KMS service

You can cluster enable the KMS service by adding it to the list of services that can be monitored by doing the following:

1 Open the command prompt on the active node of the cluster.

Table 5-1 Default KMS permissions for NetBackup user groups

Set Activity NBU_ User

NBU_ Operator

NBU_ Admin

NBU_ Security Admin

Vault_ Operator

NBU_ SAN Admin

NBU_ KMS Admin

Browse Browse --- --- X --- --- --- X

Read Read --- --- X --- --- --- X

Configure New --- --- --- --- --- --- X

Configure Delete --- --- --- --- --- --- X

Configure Modify --- --- --- --- --- --- X

155New data at rest key managementInstalling KMS

2 Change the directory to the <NetBackup install path>\NetBackup\bin (Windows) and /usr/openv/netbackup/bin (UNIX).

3 Run the following command.

On Windows: bpclusterutil -addSvc "NetBackup Key Management Service." On UNIX: bpclusterutil -addSvc nbkms

4 Follow the optional product specific steps to enable the product. For NetBackup Key Management Service run the command to create the database, and start the service.

Enabling monitoring of the KMS service

To enable monitoring the KMS service and failover NetBackup when the service fails do the following:

1 Open a command prompt on the active node of the cluster.

2 Change the directory to the <NetBackup install path>\NetBackup\bin (Windows) and /usr/openv/netbackup/bin (UNIX)

3 Run the following command.

On Windows: bpclusterutil -enableSvc "NetBackup Key Management Service"

On UNIX: bpclusterutil -enableSvc nbkms

Disabling monitoring of the KMS service

To disable monitoring of the KMS service do the following:

1 Open a command prompt on the active node of the cluster.

2 Change the directory to the <NetBackup install path>/NetBackup/bin (Windows) and /usr/openv/netbackup/bin (UNIX)

3 Run the following command:

On Windows: bpclusterutil -disableSvc "NetBackup Key Management Service"

On UNIX: bpclusterutil -disableSvc nbkms

Removing the KMS service from monitored list

To remove the KMS service from the list of services that can be monitored do the following:

1 Disable monitoring of the optional product service using the above procedure

156 New data at rest key managementKMS configuration

2 Follow the optional product specific steps to remove the product

3 Open the command prompt on the active node of the cluster

4 Change the directory to the <NetBackup install path>\NetBackup\bin (Windows) and /usr/openv/netbackup/bin (UNIX)

5 Run the following command

On Windows: bpclusterutil -deleteSvc "NetBackup Key Management Service"

On UNIX: bpclusterutil -deleteSvc nbkms

KMS configurationConfiguration of KMS is done by creating the key database, key groups, and key records. Then NetBackup is configured to work with KMS.

Use the following steps to configure and initialize KMS.

1 Create the key database, the host master key (HMK), and the key protection key (KPK).

2 Create a key group that matches the volume pool.

3 Create an active key record.

Creating the key databaseUse the following procedure to create an empty key database. A key database is created by invoking the service name with the -createemptydb option. This process checks and ensures that an existing key database does not already exist, and then proceeds with the creation. Two protection keys need to be created when the KMS is initialized. They are the Host Master Key (HMK) and the Key Protection Key (KPK). As with all KMS key creation activities, the user is presented with two options for creating these keys:

■ Key generated by passphrases

■ Randomly generated passphrases

You are prompted to provide a logical ID to be associated with each key. At the end of this operation, the key database and protection keys are established.

On a windows system they can be found at:

\Program Files\Veritas\kms\db\KMS_DATA.dat

\Program Files\Veritas\kms\key\KMS_HMKF.dat

\Program Files\Veritas\kms\key\KMS_HKPKF.dat

On a UNIX system they can be found at:

157New data at rest key managementKMS configuration

/opt/openv/kms/db/KMS_DATA.dat

/opt/openv/kms/key/KMS_HMKF.dat

/opt/openv/kms/key/KMS_HKPKF.dat

Note: On Windows the following nbkms command is run from the C:\Program Files\Veritas\NetBackkup\bin directory.

1 Enter nbkms -createemptydb.

felix (root) [4]: nbkms -createemptydb

Enter the Host Master Key (HMK) passphrase (or hit ENTER to use a randomly generated HMK). The passphrase will not be displayed on the screen.

2 Enter passphrase.

3 Re-enter passphrase.

An ID will be associated with the Host Master Key (HMK) just created. The ID will assist you in determining the HMK associated with any key store.

4 Enter HMK ID: 34.

Enter the Key Protection Key (KPK) passphrase (or hit ENTER to use a randomly generated KPK). The passphrase will not be displayed on the screen.

5 Enter passphrase.

6 Re-enter passphrase.

An ID will be associated with the Key Protection Key (KPK) just created. The ID will assist you in determining the KPK associated with any key store.

7 Enter KPK ID: 10.

Creating key groups and key recordsA key group is a logical collection of key records where no more than one record is in the active state.

A key group definition consists of:

■ Name

Given to a key group. Should be unique within the key store. Renaming of the key group is supported if the new name is unique within the key store.

■ Tag

Unique key group identifier (not mutable).

■ Cipher

158 New data at rest key managementKMS configuration

Supported cipher. All keys belonging to this key group are created with this cipher in mind (not mutable).

■ Description

Any description (mutable).

■ Creation Time

Time of creation of this key group (not mutable).

■ Last Modification Time

Time of last modification to any of the mutable attributes (not mutable).

Creating key groups

The first step for setting up encryption is to create a key group. In this example the key group ENCR_mygroup is created.

1 To create a key group named ENCR_mygroup, run the command nbkmsutil -createkg -kgname ENCR_mygroup.

Note: For this 6.5.2 version of KMS, it is important that the group name you create (i.e., mygroup), is prefixed with ENCR_.

About key recordsThe next step is to create an active key record. The key record can either be created in the prelive state and then transferred to the active state, or it can be created directly in the active state.

A key record consists of the following critical pieces of information:

■ Name

Name given to a Key, should be unique within a KG. Renaming of Key is supported if the new name is unique with in the KG.

■ Key Tag

Unique Key identifier (not mutable).

■ Key Group Tag

Unique KG identifier, to which this Key belongs (not mutable).

■ State

Key's current state (mutable).

■ Encryption Key

Key, used to encrypt/decrypt the backup/restore data (not mutable).

■ Description

159New data at rest key managementKMS configuration

Any description (mutable).

■ Creation Time

Time of creation of this Key (not mutable).

■ Last Modification Time

Time of last modification to any of the mutable attributes (not mutable).

The following key record states are available:

■ Prelive - Record has been created, but has not been used

■ Active - Record and key can be used for encryption and decryption

■ Inactive - Record and key cannot be used for encryption, but can be used for decryption

■ Deprecated - Record can not be used for encryption or decryption

■ Terminated - Record can be deleted

Key record statesKey record states include the prelive, active, inactive, deprecated, and terminated. Key record states adhere to a key record life cycle. Once a key has entered the active state (that is setup to be used for encryption), the key must progress in proper order through the lifestyle, by passing from one state to its adjacent state. It is not possible for a key to bypass any of the states.

Between the active and terminated states, the record can move one state at a time in either direction. Outside of this state range, the transitions are one directional. Deleted key records cannot be recovered (unless they were created using a passphrase), and active keys can not be moved back to prelive state.

Note: Keys can be created in either the prelive state or the active state. Active key records are available for both backup and restore operations. An inactive key is only available for restore operations. Deprecated keys are not available for use. If your key record is in the deprecated state and you attempt to do a backup or restore with that key record, it will fail. A key record that is in the terminated state can be removed from the system.

160 New data at rest key managementKMS configuration

Key record state considerationsThe considerations below can be followed when working with key record states.

■ Key record state transitions are well defined and you must go through the whole path of states to delete a key record.

■ Setting a key record to active bumps any existing active key record to the inactive state for that group. There can only be one active record in a group.

■ The deprecated state is useful for saving a key while restricting its use. If as an administrator you think that a key has been compromised and you want to manually put a hold on anyone using that key without that key being deleted from the system. You would set the key record to the deprecated state and someone attempting to do a backup or restore with this deprecated key would get an error.

■ The key record deletion involves two steps helping to reduce the possibility of accidentally deleting a key. You must first set deprecated keys to terminated and then you can delete the key record. Only terminated key records can be deleted (other than the keys which are in the prelive state).

■ You can use the prelive state to create a key record before use.

PRELIVE

ACTIVE

INACTIVE DEPRECATED

TERMINATED

Create Key Record

Deleted Key Record

161New data at rest key managementKMS configuration

Prelive stateA key record created in the prelive state can be made active or deleted. The prelive state could be used in the following way:

■ The KMS administrator wants to test the creation of a key record without impacting the system. If created correctly the record can then be activated. If not created correctly the record can be deleted.

■ The KMS admin wants to create a key record, but then only activate it at some time in the future. The reasons for this may include delay setting the record active until the KMS key store has been backed up (or the passphrase has been recorded). Or delay setting the record active until some future time.

Key records in the prelive state can be made active or deleted from the system.

Active stateActive key records could be used to encrypt and decrypt data. If necessary, the active key record could be made inactive. The active state is one of the three most important data management states. The inactive and deprecated states are the other two important data management states.

Key records can be created directly in the active state bypassing the prelive state. Key records in the active state can either stay active or be made inactive. Active records cannot go back to the prelive state.

Inactive stateInactive key records could be used to decrypt data. If necessary, the inactive key record could be made active again or moved to the deprecated state. The inactive state is one of the three most important data management states. The active and deprecated states are the other two important data management states.

Key records in the inactive state can either stay inactive, be made active, or be made deprecated.

Deprecated stateDeprecated key records cannot be used to encrypt or decrypt data. If necessary, key records in the deprecated state could be made inactive or terminated. The deprecated state is one of the three most important data management states. The active and inactive states are the other two important data management states.The deprecated state could be used in the following ways:

■ The use of a key needs to be tracked or regulated. Any attempt to use a deprecated key will fail, until its state is changed to the appropriate state.

162 New data at rest key managementKMS configuration

■ A key should not be needed any longer, but just to be safe is not set to the terminated state.

Key records in the deprecated state can either stay deprecated, be made inactive, or terminated.

Terminated stateThe terminated state adds a second step or safety step for deleting a deprecated state key record. A terminated key record could be moved to the deprecated state and ultimately made active again as needed. A terminated key record can also be deleted from the KMS.

Caution: Before deleting a key, make sure that no valid image exists which was encrypted with this key

Key records in the terminated state can either stay terminated, be made deprecated, or physically deleted.

KMS best practicesThe following section addresses suggested best practices for backing up the KMS, recovering the KMS, regenerating the KMS, and the problems and solutions related to backing up the KMS data files.

Backing up the KMS database filesBacking up the KMS database involves backing up the KMS files. The KMS utility has an option for quiescing the database files or temporarily preventing anyone from modifying the data files. It is important to run the quiesce option if you plan to copy the KMS_DATA.dat, KMS_HMKF.dat, and KMS_KPKF.dat files to another location for backing up purposes. During quiesce write access is removed from these files and read access is only allowed. You run the nbkmsutil -quiescedb. It returns with a quiesce successful statement and an indication of the number of outstanding calls. The outstanding calls number is more of a count. A count is placed on the file for the number of outstanding requests on this file. After quiesce you can then backup the files by copying them to another directory location.

fel (root) [338]: nbkmsutil -quiescedb

Key Store quiesce is successful

Outstanding quiesce calls: 1

fel (root) [338]: nbkmsutil -quiescedb

Key Store quiesce is successful

Outstanding quiesce calls: 1

163New data at rest key managementKMS configuration

You can then unquiesce the KMS database files using the KMS utility option for unquiesce. You run the nbkmsutil -unquiescedb. Once the outstanding quiesce calls count goes to zero, the KMS is now capable of running commands that could modify the KMS_DATA.dat, KMS_HMKF.dat, and KMS_KPKF.dat files. Write access is once again returned to these files.

Recovering KMS by restoring all data filesIf you have made backup copies of the KMS_DATA.dat, KMS_HMKF.dat, and KMS_KPKF.dat files, it is just a matter of restoring these three files. Then startup the nbkms service and the KMS system will be up and running again.

Recovering KMS by restoring only the KMS data fileYou can restore the backed up copy of the KMS data file kms/db/KMS_DATA.dat by regenerating the KMS_HMKF.dat and KMS_KPKF.dat files with passphrases. So, if you have written down passphrases for the host master key and key protection key, you can run a command to regenerate those files. The system will prompt you for the passphrase and if the passphrase you now enter matches the passphrase originally entered, you will be able to reset the files.

The process is as follows:

1 Run the nbkms –resetkpk command.

2 Run the nbkms –resethmk command.

3 Startup the nbkms service.

Recovering KMS by regenerating the data encryption keyYou can regenerate the complete KMS database by regenerating the data encryption keys. The goal is to create a brand new empty KMS database and then repopulate it with all your individual key records.

felix (root) [341]: nbkmsutil -unquiescedb

Key Store unquiesce is successful

Outstanding quiesce calls: 0

felix (root) [342]:

felix (root) [341]: nbkmsutil -unquiescedb

Key Store unquiesce is successful

Outstanding quiesce calls: 0

felix (root) [342]:

164 New data at rest key managementKMS configuration

You can recover the KMS by regenerating the data encryption key as follows:

1 Create an empty KMS database using the command nbkms -createemptydb. In this particular case you do not have to use the same host master key HMK and key protection key KPK. You could choose new keys.

2 Use the recover key option and specify the key name, key group, and tag. In this case the key name is Q1_2008_key. The group is ENCR_mygoup and the tag is that long string of digits. It is highly suggested that you keep an electronic copy of all the key groups by running the list keys option. If needed you can cut and paste the tag names as needed. Otherwise you will have to enter the tag information manually.

3 Enter the passphrase that is an exact match with the original passphrase you previously wrote down and saved.

Note: If the tag you enter already exists in the KMS database, then you will not be able to recreate the key.

fel (root) [4]: nbkms -createemptydbEnter the Host Master Key (HMK) passphrase (or hit ENTER to use a randomly generated HMK). The passphrase will not be displayed on the screen.Enter passphrase : Re-enter passphrase : An ID will be associated with the Host Master Key (HMK) just created. The ID will assist you in determining the HMK associated with any key store.Enter HMK ID : 34Enter the Key Protection Key (KPK) passphrase (or hit ENTER to use a randomly generated KPK). The passphrase will not be displayed on the screen.Enter passphrase : Re-enter passphrase : An ID will be associated with the Key Protection Key (KPK) just created. The ID will assist you in determining the KPK associated with any key store.Enter KPK ID : 10fel (root) [5]: nbkmsfel (root) [6]: ps -ef | grep nbkms

root 11917 11873 0 13:08:09 pts/18 0:00 grep nbkmsroot 11915 1 0 13:08:02 ? 0:00 nbkms

fel (root) [368]: nbkmsutil -recoverkey -keyname Q1_2008_key -kgname ENCR_mygroup-tag d5a2a3df1a32eb61aff9e269ec777b5b9092839c6a75fa17bc2565f725aafe90

Enter a passphrase: Re-enter the passphrase:

Key recovery is successful

fel (root) [369]:

165New data at rest key managementKMS configuration

The recovery key option places the key record in the inactive state. When you run the recover key option, the key record is brought into the KMS database in the inactive state.

If this is the key that you want to use for backups, then use the command nbkmsutil –modifykey to set the required state to active. If this is a key record that is to be deprecated then use the command nbkmsutil –modifykey to move the key record to the deprecated state.

Problems backing up the KMS data filesThere can be problems backing up the KMS data files with the normal NetBackup tapes or with the catalog backup.

Caution: The KMS data files are not included in the NetBackup catalog backups.

If the KPK, HMK, and key files were included in a catalog backup, and the catalog backup tape is lost, the key store is compromised because the tape contains everything needed to gain access to the keys.

Significant problems can exist if both the catalog backup and data tapes are lost together say on the same transport truck. If both tapes are lost together then that situation would not be any better than not ever encrypting the tape in the first place.

Encrypting the catalog is not a good solution either. If the KPK, HMK, and key file were included in a catalog backup, and the catalog backup itself is encrypted, you have done the equivalent of locking the keys in the car. To protect from this problem is why KMS has been established as a separate service for NetBackup and why the KMS files are in a separate directory from the NetBackup directories. However, there are solutions for backing up the KMS data files.

Solutions for backing up the KMS data filesThe best solution for backing up KMS data files is to do so outside of the normal NetBackup process, or rely on passphrase generated encryption keys to manually rebuild KMS. All of the keys can be generated by passphrases. So if you have recorded all of the passphrases, then you can recreate the KMS manually from the information you have written down. Because the number of records are limited to 20, two groups with 10 records per group, the number of records that you would need to recover is 20. One way to back up KMS is to place the KMS information on a separate CD, DVD or USB drive.

166 New data at rest key managementKMS configuration

Creating a key record

The following example shows how to create the key by using a passphrase and by bypassing the prelive state and creating an active key.

Note: If an attempt is made to add a key to a group that already has an active key, the existing key is automatically moved to the inactive state.

1 To create a key record enter the command nbkmsutil -createkey -usepphrase -kgname ENCR_mygroup -keyname my_latest_key -activate -desc "key for Jan, Feb, March data"

2 Enter a passphrase:

New key creation is successful

Listing keys

Use this procedure to list the keys that you created in a particular key group.

1 To list the keys in a key group enter the command nbkmsutil -listkeys -kgname ENCR_mygroup. The nbkmsutil outputs the list in the verbose format by default. Following is a non-verbose listing output.

KGR ENCR_mygroup AES_256 1 Yes 134220503860000000 134220503860000000 -

KR my_latest_key Active 134220507320000000 134220507320000000 key for Jan, Feb, March data

Number of keys: 1

Configuring NetBackup to work with KMSConfiguring Netbackup to work with KMS involves:

■ NetBackup getting key records from KMS

■ Setting up NetBackup to use encryption

How does NetBackup get key records from KMSThe first step is to get a NetBackup supported encryption capable tape drive and the required tape media.

The second step is to configure NetBackup like normal, except the encryption capable media must be placed in a volume pool with the identical name as the key group previously created (ENCR_mygroup).

167New data at rest key managementKMS configuration

Note: The 6.5.2 Key Management feature requires the key group name and NetBackup volume pool name match identically and both be prefixed with ENCR_. This method of configuration enabled encryption support to be made available in 6.5.2 without requiring major changes to the NetBackup system management infrastructure.

Setting up Netbackup to use encryptionThe following example shows two NetBackup volume pools created for encryption (with the ENCR_ prefix)

The following figure shows a NetBackup Policy configured to use the Volume and KEY GROUP named ENCR_testpool.

168 New data at rest key managementKMS configuration

If configured and operating correctly backups should proceed as normal. If a NetBackup image has been encrypted the key tag will be recorded and associated with the image. This information can seen through the GUI Reports, or can be seen in the output of the bpimmedia and bpimagelist commands.

The following figure shows images on Tape report showing the linking between encryption and a backup images being encrypted.

169New data at rest key managementUsing KMS

Using KMSYou can use KMS to run an encrypted tape backup, verify an encrypted tape backups, and manage keys. The following sections provide examples for each of these scenarios.

Run an encrypted tape backupThe policy is configured to draw from ENCR_pool1. In this particular case there is a volume pool ENCR_pool1 configured for policy as shown in the figure below.

170 New data at rest key managementUsing KMS

Verify an encryption backupIt is important to verify that an encrypted backup has taken place. When the backup is run, and the images on media are viewed, the encryption key tag that is registered with the record is now recorded. This is your indication that what actually got written to tape is encrypted. The encryption key tag uniquely identifies which key was used to encrypt the data. You can run a report and read down the policy column to determine whether everything on a particular tape was encrypted.

171New data at rest key managementUsing KMS

KMS DB constituentsThe KMS DB consists of three files:

■ The key store file (KMS_DATA.dat) contains all the key group and key records along with some metadata.

■ The KPK file (KMS_KPKF.dat) contains the KPK that is used to encrypt the ciphertext portions of the key records that are stored in the key store file.

■ The HMK file (KMS_HMKF.dat) contains the HMK that is used to encrypt the entire contents of the key store file (exception - the key store file header contains some metadata like the KPK ID and HMK ID that is not encrypted).

Create an empty KMS DBAn empty KMS DB can be created by executing the command nbkms -createemptydb. This command prompts for the following information:

■ HMK passphrase - leave empty for a random HMK

■ HMK ID

■ KPK passphrase - leave empty for a random KPK

■ KPK ID

The KMS DB backup and disaster recovery procedures will vary for random and passphrase generated KPK and HMK as described below.

172 New data at rest key managementUsing KMS

Use this disaster recovery procedure when the HMK and KPK were generated randomly as follows:

1 Restore the key store file from a backup.

2 Execute the command nbkms -info to find out the KPK ID and HMK ID of the KPK and HMK needed to decrypt this key store file. The output should also inform you that the HMK and KPK for this key store file were generated randomly.

3 Restore the HMK file corresponding to the HMK ID from a secure backup.

4 Restore the KPK file corresponding to the KPK ID from a secure backup.

Importance of the KPK ID and HMK IDTo decipher the contents of a key store file, it is essential to identify the right KPK and HMK that will do the job. The KPK ID and HMK ID enable you to make this identification. Since these IDs are stored unencrypted in the key store file header, they can be determined even if you only have access to the key store file. It is important to choose unique IDs and remember the association of IDs to passphrases and files to be able to perform a disaster recovery.

Periodically updating the HMK and KPKThe HMK and KPK can be updated periodically using the modifyhmk and modifykpk options of the KMS CLI. These operations prompt you for a new passphrase and ID and then update the KPK/HMK. You can choose either random or passphrase based KPK/HKM at each such invocation.

Note: It is a best practice to use the -usepphrase option when modifying the HMK and KPK so that you are required to use a known passphrase for future recovery. With the -nopphrase option, KMS generates a random passphrase that is unknown and eliminates the possibility of future recovery if needed.

Backing up the KMS key store and admin keysImportant KMS data files can be backed up by making copies of the key database KMS_DATA.dat, the Host Master Key KMS_HMKF.dat, and the Key Protection Key KMS_HKPKF.dat.

On Windows these files are located here:

\Program Files\Veritas\kms\db\KMS_DATA.dat

\Program Files\Veritas\kms\key\KMS_HMKF.dat

\Program Files\Veritas\kms\key\KMS_KPKF.dat

173New data at rest key managementCLI commands

On UNIX these files are at this location:

/opt/openv/kms/db/KMS_DATA.dat

/opt/openv/kms/key/KMS_HMKF.dat

/opt/openv/kms/key/KMS_KPKF.dat

CLI commands■ CLI usage help

■ Create new key group

■ Create new key

■ Modify key group attributes

■ Modify key attributes

■ Get details of key groups

■ Get details of keys

■ Delete a key group

■ Delete a key

■ Recover a key

■ Modify host master key (HMK)

■ Get host master key (HMK) ID

■ Modify key protection key (KPK)

■ Get KPK ID

■ Get key store statistics

■ Quiesce KMS DB

■ Unquiesce KMS DB

CLI usage helpTo get CLI usage help use the NetBackup key management service utility command with the included arguments. Use "#nbkmsutil -help -<option>" for help on an individual option.

# nbkmsutil -help

nbkmsutil [ -createkg ] [ -createkey ]

[ -modifykg ] [ -modifykey ]

[ -listkgs ] [ -listkeys ]

[ -deletekg ] [ -deletekey ]

[ -modifyhmk ] [ -modifykpk ]

174 New data at rest key managementCLI commands

[ -gethmkid ] [ -getkpkid ]

[ -quiescedb ] [ -unquiescedb ]

[ -recoverkey]

[ -ksstats ]

[ -help ]

Create a new key group To create a new key group use the NetBackup key management service utility command with the included arguments.

# nbkmsutil -help -createkg

nbkmsutil -createkg -kgname <key_group_name>

[ -cipher <type> ]

[ -desc <description> ]

Note: The default Cipher is AES_256.

-kgname: Name of the new key group (it has to be unique with in the key store)

-cipher: Type of cipher to be supported by this key group.

Create a new keyTo create a new key use the NetBackup key management service utility command with the included arguments.

# nbkmsutil -help -createkey

nbkmsutil -createkey [ -nopphrase ]

-keyname <key_name>

-kgname <key_group_name>

[ -activate ]

[ -desc <description> ]

Note: The default key state is prelive.

-nopphrase: Create key without using a passphrase. If this option is not specified, user will be prompted for a passphrase

-keyname: Name of the new key (it should be unique within the key group to which it belongs)

-kgname: Name of an existing key group to which the new key should be added

175New data at rest key managementCLI commands

-activate: Sets key state to active (default key state is prelive)

Modify key group attributesTo modify key group attributes use the NetBackup key management service utility command with the included arguments.

# nbkmsutil -help -modifykg

# nbkmsutil -modifykg -kgname <key_group_name>

[ -name <new_name_for_the_key_group> ]

[ -desc <new_description> ]

-kgname: Name of the key group, whose attributes needs to be modified

-name: New name of the key group (should be unique with in the key store)

Modify key attributes To modify key attributes use the NetBackup key management service utility command with the included arguments.

# nbkmsutil -help -modifykey

nbkmsutil -modifykey -keyname <key_name>

-kgname <key_group_name>

[ -state <new_state> | -activate ]

[ -name <new_name_for_the_key> ]

[ -desc <new_description> ]

Note: -state and -activate are mutually exclusive

-keyname: Name of the key to be modified

-kgname: Name of the key group to which this key belongs

-name: New name of the key (it should be unique with in the key group)

-state: New state of the key (see valid key state transition order)

-activate: Sets key state to active

Get details of key groupsTo get details of key groups use the NetBackup key management service utility command with the included arguments.

#nbkmsutil -help -listkgs

nbkmsutil -listkgs [ -kgname <key_group_name> |

176 New data at rest key managementCLI commands

-cipher <type> |

-emptykgs |

-noactive ]

[ -noverbose ]

Note: By default all the key groups would be listed. If no option is specified, details of all the key groups are returned.

-kgname: Name of a key group, whose details we want to see

-cipher: Gets the details of all the key groups which supports specific cipher type

-emptykgs: Gets the details of all the key groups with zero keys in it

-noactive: Gets the details of all the key groups in which there is no active key

-noverbose: Prints the details in formatted form (non-readable) format. The default is verbose. The output is displayed in a human readable form.

Get details of keysTo get details of keys use the NetBackup key management service utility command with the included arguments.

#nbkmsutil -help -listkeys

nbkmsutil -listkeys -kgname <key_group_name>

[ -keyname <key_name> | -activekey ]

[ -noverbose ]

-kgname: Details of all the keys belonging to a key group are returned

-keyname: Gets the details of specific key which belongs to a specific key group

-activekey: Gets the details of a Specific key group's active key

-noverbose: Prints the details in formatted form (non-readable) format. The default is verbose. The output is displayed in a human readable form.

Delete a key groupTo delete a key group use the NetBackup key management service utility command with the included arguments.

#nbkmsutil -help -deletekg

nbkmsutil -deletekg -kgname <key_group_name>

Note: Only empty key groups can be deleted

177New data at rest key managementCLI commands

-kgname: Name of the key group to be deleted. Only empty key groups can be deleted.

Delete a keyTo delete a key use the NetBackup key management service utility command with the included arguments.

#nbkmsutil -help -deletekey

nbkmsutil -deletekey -keyname <key_name>

-kgname <key_group_name>

Note: Keys, which are in prelive, or terminated state can be deleted.

-keyname: Name of the key to be deleted (to delete, key state has to be in one of prelive, or terminated)

-kgname: Name of the key group to which this key belongs

Recover a keyTo recover a key use the NetBackup key management service utility command with the included arguments.

#nbkmsutil -help -recoverkey

nbkmsutil -recoverkey -keyname <key_name>

-kgname <key_group_name>

-tag <key_tag>

[ -desc <description> ]

Note: The key state would be set to inactive.

Restore could fail if a key used in encrypting the backup data is lost (and no copy of it is available). Such keys can be recovered (re-created) with the knowledge of the original key's attributes (tag, and passphrase)

-keyname: Name of the key to be recovered (re-created)

-kgname: Name of the key group to which this key should belong

-tag: Tag identifying the original key (we need to use the same tag)

Note: The user is prompted to enter the correct passphrase to get the right key (the system does not verify the validity of entered passphrases).

178 New data at rest key managementCLI commands

Modify host master key (HMK)To modify the host master key use the NetBackup key management service utility command with the included arguments.

The HMK is used to encrypt the key store. To modify the current HMK, the user should provide an optional seed/passphrase, and an ID (HMK ID) which can remind them of the specified passphrase. Both the passphrase and HMK ID are read interactively.

# nbkmsutil -help -modifyhmk

nbkmsutil -modifyhmk [ -nopphrase ]

Get HMK IDTo get the HMK ID use the NetBackup key management service utility command with the included arguments. The HMK ID is then returned.

#nbkmsutil -help -gethmkid

nbkmsutil -gethmkid

Modify key protection key (KPK)To modify the key protection key use the NetBackup key management service utility command with the included arguments.

KPK is used to encrypt KMS keys. Currently KPK is per key store, to modify the current KPK, user should provide an optional seed/passphrase, and an ID (KPK ID) which can remind us the specified passphrase. Both passphrase and KPK ID are read interactively.

# nbkmsutil -help -modifykpk

nbkmsutil -modifykpk [ -nopphrase ]

Get KPK IDTo get the KPK ID use the NetBackup key management service utility command with the included arguments. The command returns the current KPK ID

#nbkmsutil -help -getkpkid

nbkmsutil -getkpkid

Get key store statisticsTo get the key store statistics use the NetBackup key management service utility command with the included arguments. This command returns the following key store statistics:

179New data at rest key managementCLI commands

■ Total number of key groups

■ Total number of keys

■ Outstanding quiesce calls

#nbkmsutil -help -ksstats

nbkmsutil -ksstats [ -noverbose ]

Quiesce KMS DBTo quiesce the KMS database use the NetBackup key management service utility command with the included arguments.

This command sends the quiesce request to KMS. If the command succeeds, the current outstanding quiesce count is returned as multiple backup jobs might quiesce the KMS database.

#nbkmsutil -help -quiescedb

nbkmsutil -quiescedb

Unquiesce KMS DBTo unquiesce the KMS database use the NetBackup key management service utility command with the included arguments.

This command sends an unquiesce request to KMS. If the command succeeds, the current outstanding quiesce count is returned. A count of zero (0) means that the KMS database is completely unquiesced.

#nbkmsutil -help -unquiescedb

#nbkmsutil -unquiescedb

Key creation optionsAny use of the NetBackup KMS feature should include creating a backup of the kms/db and kms/key directories. The protection keys and the key database exist in two separate subdirectories to facilitate splitting these when creating a backup copy.

Note: Due to the small size of these files, the fact that they likely change infrequently, and that they must not be included on any NetBackup tape that itself is encrypted, it is recommend that they files be manually copied to form of backup media.

180 New data at rest key managementTroubleshooting KMS

Note: The recommended approach for creating keys with this 6.5.2 version of KMS is to always create keys from passphases. This includes both the protection keys (Host Master Key and Key Protection Key), and the data encryption keys associated with the key records). It is recommend the passphrases used to create the keys are recorded and stored for recovery purposes.

While allowing the KMS system to randomly generate the encryption keys provides a stronger solution, this usage cannot recover from the loss or corruption of all copies of the key store and protection keys, and therefore is not encouraged.

Troubleshooting KMS

You can troubleshoot KMS as follows:

1 Determine what error code and description are encountered. It is recommended that you capture this information.

2 Check to determine if KMS is running and that the KMS data files exist.

kms/db/KMS_DATA.dat

kms/key/KMS_HMKF.dat

kms/key/KMS_KPKF.dat

If the files do not exist, then KMS has not been configured, or the configuration has been removed. Find out what happened to the files if they do not exist. If KMS has not been configured, the nbkms service will not be running. If KMS is not running or is not configured, it will not impact NetBackup operation. If you have previously used the ENCR_ prefix for a volume pool name, this must be changed as ENCR_ now has special meaning to NetBackup.

3 Get the KMS configuration information:

Get a key group listing by running the command nbkmsutil –listkgs. Get a listing of all keys for a key group by running the command nbkmsutil –listkeys –kgname <key_group_name>.

4 Get operational log information such as KMS logs by way of VxUL OID 286 and BPTM logs.

5 Evaluate the log information. The KMS errors (Table 5-2) are handed back to BPTM.

6 Evaluate the KMS errors recorded in the KMS log

181New data at rest key managementTroubleshooting KMS

Solution for backups are not encryptingIf tape backups are not being encrypted, consider the following solutions:

■ Verify that a backup is not being encrypted by checking that the encryption key tag field is not set in the image record.

■ Verify that the key group and volume pool names are an exact match.

■ Verify that there is a key record in the key group with an active state.

Other non-KMS configuration options to look at include:

■ Verify that everything related to traditional media management is configured properly.

■ Is the NetBackukp policy drawing a tape from the correct volume pool.

■ Does the encryption capable tape drive have encryption capable media available. For example is LTO4 media installed in the LTO4 tape drive?

Solution for restores are not decryptingIf the encrypted tape restores are not decrypting, consider the following solutions:

■ Verify that the original backup image was encrypted to begin with by viewing the encryption key tag field in the image record.

■ Verify that the key record with the same encryption key tag field is in a record state that supports restores (that is active or inactive states).

■ If the key record is not in the correct state change the key back to the inactive state.

Other non-KMS configuration solution options to consider:

■ Verify that the drive and media actually support encryption.

■ Is the encrypted media being read in an encryption capable tape drive?

Troubleshooting example - backup with no active key recordAttempting a backup when there is no active key record.

Below is a listing of key records. There are three of them for the key group named ENCR_mygroup and with the same volume pool name. Notice that in the listing there is one key group Q2_2008_key that is active. At the bottom of the screen that key state was changed to inactive.

182 New data at rest key managementTroubleshooting KMS

When the listing is produced again you can see that the Q2_2008_key state is now listed as inactive.

With no active key, what happens to the backup? Here is the BPTM log output. It is actually going to log the message within the 1227 error code in the BPTM log.

fel (root) [385]: nbkmsutil -listkeys -kgname ENCR_mygroupKey Group Name : ENCR_mygroupSupported Cipher : AES_256Number of Keys : 3Has Active Key : YesCreation Time : Sat Mar 15 10:45:55 2008Last Modification Time: Sat Mar 15 10:45:55 2008Description : -Key Tag : cf7ac430d8795a9b39e703821371ed10be6ec80eab72d89aef6f8a791fc2460dKey Name : Q2_2008_keyCurrent State : ActiveCreation Time : Sat Mar 15 11:02:46 2008Last Modification Time: Sat Mar 15 11:02:46 2008Description : key for Apr, May, & JunKey Tag : d5a2a3df1a32eb61aff9e269ec777b5b9092839c6a75fa17bc2565f725aafe90Key Name : Q1_2008_keyCurrent State : InactiveCreation Time : Sat Mar 15 10:46:51 2008Last Modification Time: Sat Mar 15 10:46:51 2008Description : Key for Jan, Feb, & MarchKey Tag : d5a2a3df1a32eb61aff9e269ec777b5b9092839c6a75fa17bc2565f725aafe91Key Name : testCurrent State : InactiveCreation Time : Sat Mar 15 13:12:25 2008Last Modification Time: Sat Mar 15 13:12:25 2008Description : -

Number of Keys: 3fel (root) [383]: nbkmsutil -modifykey -keyname Q2_2008_key -kgname ENCR_mygroup -state InactiveKey details are updated successfully

fel (root) [384]: nbkmsutil -listkeys -kgname ENCR_mygroupKey Group Name : ENCR_mygroupSupported Cipher : AES_256Number of Keys : 3Has Active Key : NoCreation Time : Sat Mar 15 10:45:55 2008Last Modification Time: Sat Mar 15 10:45:55 2008Description : -Key Tag : d5a2a3df1a32eb61aff9e269ec777b5b9092839c6a75fa17bc2565f725aafe90Key Name : Q1_2008_keyCurrent State : InactiveCreation Time : Sat Mar 15 10:46:51 2008Last Modification Time: Sat Mar 15 10:46:51 2008Description : Key for Jan, Feb, & MarchKey Tag : d5a2a3df1a32eb61aff9e269ec777b5b9092839c6a75fa17bc2565f725aafe91Key Name : testCurrent State : InactiveCreation Time : Sat Mar 15 13:12:25 2008Last Modification Time: Sat Mar 15 13:12:25 2008Description : -Key Tag : cf7ac430d8795a9b39e703821371ed10be6ec80eab72d89aef6f8a791fc2460dKey Name : Q2_2008_keyCurrent State : InactiveCreation Time : Sat Mar 15 11:02:46 2008Last Modification Time: Mon Mar 17 13:53:33 2008Description : key for Apr, May, & Jun

Number of Keys: 3

183New data at rest key managementTroubleshooting KMS

What does this error look like in the activity monitor? There is a status code 83 - media open error message returned.

In the detailed status you will get the message stating that NBKMS failed with error status key group does not have and active key (1227). With the

14:29:16.381 [19978] <2> manage_drive_attributes: MediaPool [ENCR_mygroup], MediaLabel [MEDIA=JRO111;]14:29:16.384 [19978] <2> manage_drive_attributes: encryption status: nexus scope 0, key scope 014:29:16.384 [19978] <2> manage_drive_attributes: encryp mode 0x0, decryp mode 0x0, algorithm index 0, key instance 014:29:16.384 [19978] <2> KMSCLIB::kmsGetKeyAndKad: Entering function....(KMSClib.cpp:583)14:29:16.384 [19978] <2> KMSCLIB::GetQueryableFacetInstance: Entering function....(KMSClib.cpp:207)14:29:16.384 [19978] <2> KMSCLIB::InitOrb: Entering function....(KMSClib.cpp:158)14:29:16.385 [19978] <2> Orb::init: Created anon service name: NB_19978_1536015948517350(Orb.cpp:600)14:29:16.385 [19978] <2> Orb::init: endpointvalue is : pbxiop://1556:NB_19978_1536015948517350(Orb.cpp:618)14:29:16.385 [19978] <2> Orb::init: initializing ORB kmslib with: kmslib -ORBSvcConfDirective "-ORBDottedDecimalAddresses 0" -ORBSvcConfDirective "static PBXIOP_Factory ''" -ORBSvcConfDirective "static EndpointSelectorFactory ''" -ORBSvcConfDirective "static Resource_Factory '-ORBProtocolFactory PBXIOP_Factory'" -ORBSvcConfDirective "static Resource_Factory '-ORBProtocolFactory IIOP_Factory'" -ORBSvcConfDirective "static PBXIOP_Evaluator_Factory '-orb kmslib'" -ORBSvcConfDirective "static Resource_Factory '-ORBConnectionCacheMax 1024 '" -ORBEndpoint pbxiop://1556:NB_19978_1536015948517350 -ORBSvcConf /dev/null -ORBSvcConfDirective "static Server_Strategy_Factory '-ORBMaxRecvGIOPPayloadSize 268435456'"(Orb.cpp:725)14:29:16.406 [19978] <2> vnet_cached_gethostbyname: vnet_hosts.c.307: found host in cache: felix.min.veritas.com14:29:16.406 [19978] <2> vnet_cached_gethostbyaddr_rnl: vnet_hosts.c.506: found IP in cache: 127.0.0.114:29:16.460 [19978] <2> db_error_add_to_file: dberrorq.c:midnite = 120573000014:29:16.461 [19978] <16> get_encryption_key: NBKMS failed with error status: Key group does not have an active key (1227)14:29:16.462 [19978] <2> send_MDS_msg: MEDIADB 1 42 JRO111 4000007 *NULL* 6 1205781805 1205782033 1206991633 0 64 2 2 1 4 0 8193 1024 0 8 0

184 New data at rest key managementTroubleshooting KMS

information in the previous screens it should be easy to diagnose what it the particular problem or to identify what a given problem is related to.

Troubleshooting example - restore with an improper key record stateAttempting a backup when the key record has a deprecated key record state.

The record you need is set to deprecated. This following shows the listing. The same command is used to change the state from inactive to deprecated.

fel (root) [426]: !385nbkmsutil -listkeys -kgname ENCR_mygroup

Key Group Name : ENCR_mygroupSupported Cipher : AES_256Number of Keys : 3Has Active Key : NoCreation Time : Sat Mar 15 10:45:55 2008Last Modification Time: Sat Mar 15 10:45:55 2008Description : -

Key Tag : d5a2a3df1a32eb61aff9e269ec777b5b9092839c6a75fa17bc2565f725aafe90Key Name : Q1_2008_keyCurrent State : InactiveCreation Time : Sat Mar 15 10:46:51 2008Last Modification Time: Sat Mar 15 10:46:51 2008Description : Key for Jan, Feb, & March

Key Tag : d5a2a3df1a32eb61aff9e269ec777b5b9092839c6a75fa17bc2565f725aafe91Key Name : testCurrent State : InactiveCreation Time : Sat Mar 15 13:12:25 2008Last Modification Time: Sat Mar 15 13:12:25 2008Description : -

Key Tag : cf7ac430d8795a9b39e703821371ed10be6ec80eab72d89aef6f8a791fc2460dKey Name : Q2_2008_keyCurrent State : DeprecatedCreation Time : Sat Mar 15 11:02:46 2008Last Modification Time: Mon Mar 17 14:52:59 2008Description : key for Apr, May, & Jun

Number of Keys: 3

185New data at rest key managementTroubleshooting KMS

The following BPTM log output shows the 1242 error returned.

The following activity monitor shows a status code 5 - restore failed to recover the requested files.

14:53:48.782 [21109] <2> io_read_back_header: drive index 0, reading backup header14:53:48.791 [21109] <2> io_position_for_read: successfully positioned JRO111 to file number 314:53:48.796 [21109] <2> io_position_for_read: next block encryption status: LON 0x0000000000000009, algorithm index 1, encryption status 0x614:53:48.796 [21109] <2> io_position_for_read: Kad type 0x0, kad length 32 Kad [cf7ac430d8795a9b39e703821371ed10be6ec80eab72d89aef6f8a791fc2460d]14:53:48.796 [21109] <2> KMSCLIB::kmsGetKeyAndKadByKeyTag: Entering function....(KMSClib.cpp:655)14:53:48.796 [21109] <2> KMSCLIB::GetQueryableFacetInstance: Entering function....(KMSClib.cpp:207)14:53:48.796 [21109] <2> KMSCLIB::InitOrb: Entering function....(KMSClib.cpp:158)14:53:48.797 [21109] <2> Orb::init: Created anon service name: NB_21109_1537488329610200(Orb.cpp:600)14:53:48.798 [21109] <2> Orb::init: endpointvalue is : pbxiop://1556:NB_21109_1537488329610200(Orb.cpp:618)14:53:48.798 [21109] <2> Orb::init: initializing ORB kmslib with: kmslib -ORBSvcConfDirective "-ORBDottedDecimalAddresses 0" -ORBSvcConfDirective "static PBXIOP_Factory ''" -ORBSvcConfDirective "static EndpointSelectorFactory ''" -ORBSvcConfDirective "static Resource_Factory '-ORBProtocolFactory PBXIOP_Factory'" -ORBSvcConfDirective "static Resource_Factory '-ORBProtocolFactory IIOP_Factory'" -ORBSvcConfDirective "static PBXIOP_Evaluator_Factory '-orb kmslib'" -ORBSvcConfDirective "static Resource_Factory '-ORBConnectionCacheMax 1024 '" -ORBEndpoint pbxiop://1556:NB_21109_1537488329610200 -ORBSvcConf /dev/null -ORBSvcConfDirective "static Server_Strategy_Factory '-ORBMaxRecvGIOPPayloadSize 268435456'"(Orb.cpp:725)14:53:48.818 [21109] <2> vnet_cached_gethostbyname: vnet_hosts.c.307: found host in cache: felix.min.veritas.com14:53:48.818 [21109] <2> vnet_cached_gethostbyaddr_rnl: vnet_hosts.c.506: found IP in cache: 127.0.0.114:53:48.842 [21109] <2> db_error_add_to_file: dberrorq.c:midnite = 120573000014:53:48.844 [21109] <16> get_encryption_key: NBKMS failed with error status: Operation not allowed for key record in this state (1242)

186 New data at rest key managementTroubleshooting KMS

The following detailed status contains KMS error message 1242.

KMS error messagesTable 5-2 lists the KMS error messages.

Table 5-2 KMS errors

Error message Description

EC_KS_keygrp_notfound - 1229 - “Key Group was not found”

During a backup a key group with a matching Volume Pool name was not found.

EC_KS_no_active_key - 1227 - “Key group does not have an active key”

During a backup an ACTIVE key record for the specified Key group does not exist.

EC_KS_keystate_disallow_op - 1242 - “Operation not allowed for key record in this state”

A Restore operation has requested access to a key that is not in the ACTIVE or INACTIVE state.

EC_KS_kad_notfound - 1261 - “KAD did not match any key records”

A record operation was looking for a Key Record with a specific Tag / KAD, and the record could not be found. Generally this is due to the Key Record having been deleted.

EC_KS_invalid_kad_len -1220 - “Invalid KAD length”

BPTM and the tape drive have requested a Tag / KAD length combination that is not supported.

Chapter 6

New database Administration tool for NetBackup relational databases

The NetBackup relational database and Bare Metal Restore database in NetBackup 6.0 and 6.5 used Sybase Adaptive Server Anywhere (ASA). (Also known as SQL Anywhere.) NetBackup 6.0 and 6.5 included command line utilities to administer the databases.

NetBackup 6.5.2 contains a tool that makes it easier for administrators to perform database administration tasks.

The Database Administration tool for NetBackup databases is a stand-alone, interactive, menu-driven tool available on both UNIX and Windows:

■ On UNIX, the tool has a menu-user interface, similar to the bpadm tool.

■ On Windows, the tool has a graphical user interface. The tool is based on existing command lines.

The tool on both UNIX and Windows provides a way for the administrator to perform the following actions:

■ Select, start, and stop the NetBackup relational database (NBDB) or the Bare Metal Restore database (BMRDB)

■ Report on the status, consistency, and high-level space utilization

■ Report on database space in full and table level reports

188 New database Administration tool for NetBackup relational databases

■ Manage database space and memory cache

■ Full and table level defragmentation

■ Index compression

■ Add free space to the database

■ Adjust the database server memory cache size

■ Manage the transaction log

■ Truncate the transaction log

■ Toggle the transaction log mode between full and minimum

■ Check for database consistency using standard and full database validation

■ Rebuild the database

■ Move the database

■ Create or stop using a mirrored transaction log

■ Unload the database

■ Back up and restore the database

■ Change the password

■ Report on and change the database server settings

189New database Administration tool for NetBackup relational databasesRunning the Database Administration tool on UNIX

Running the Database Administration tool on UNIXThe dbadm menu interface is available on UNIX platforms and is installed in the following location:

/usr/openv/db/bin

Upon starting the tool, the user must enter the DBA password. If the password is the default password that is used for NetBackup installation, the user is encouraged to change the password but is not required to do so.

After the user logs in, the main screen for the NetBackup Database Administrator Interface displays the information as shown in Table 6-1:

Table 6-1 Database information on main screen

Field Description

Selected database NBDB or BMRDB

Status UP or DOWN

Consistency OK, NOT_OK, or DOWN

This information can also be obtained running the following command:

nbdb_admin -validate

Space Utilization The Space Utilization is a measure of the amount of used space as a percentage of the file system space that is allocated for the database. When the NBDB or the BMRDB databases are initially created, extra space is allocated so that contiguous space is available as needed. As a result, a low Space Utilization is a positive indication unless the database is very large and disk space is in short supply.

190 New database Administration tool for NetBackup relational databasesRunning the Database Administration tool on UNIX

The Database Administration menu displays the following menu selections:

Database Administration-----------------------1) Select/Restart Database and Change Password2) Database Space and Memory Management3) Transaction Log Management4) Database Validation Check and Rebuild5) Move Database6) Unload Database7) Backup and Restore Database8) Refresh Database Statush) Helpq) Quit

Online Help is available from all screens by selecting the h option from the main menu. Option 2 from the Help Facility menu displays an index of all help available. Each of the help files shown in the index are also available from the associated menus.

The Database Administration menu selections are described in the following sections.

Select/Restart Database and Change Password optionSelect option 1 from the main menu to display the Select/Restart Database and Change Password menu. This menu contains the following options:

Select/Restart Database and Change Password -------------------------------------------1) NBDB2) BMRDB3) Start Selected Database4) Stop Selected Database5) *Change Passwordh) Helpq) QuitWARNING:Starred option affects all databases.Database must be restarted for settings to take effect.

Use options 1 and 2 to select NBDB or BMRDB. Then view or modify the selected database using the other dbadm menu options.

Use options 3 and 4 to start and stop the selected database.

Use option 5 to change the password for the databases. The password is changed for both NBDB and BMRDB, if applicable. Restart the database for the password change to take effect.

191New database Administration tool for NetBackup relational databasesRunning the Database Administration tool on UNIX

Database Space and Memory Management optionSelect option 2 from the main menu to perform the following functions:

■ To report on database space utilization

■ To reorganize fragmented database objects

■ To add free space to the database files

■ To adjust the database server's memory cache settings

These actions are performed from the Database Space and Memory Management menu, as follows:

Database Space and Memory Management------------------------------------1) Report on Database Space2) Database Reorganize3) Add Free Space4) Adjust Memory Settingsh) Helpq) Quit

Report on Database Space optionSelect option 1 from the Database Space and Memory Management menu to generate a report on space utilization for the currently selected database.

The report contains the dbspaces and the physical pathnames of the relational database.

For each dbspace, the report displays the name, the amount of free space in KBytes, the file size in KBytes, and the space utilization. The report also displays the transaction log file size and the amount of free space that remains on each of the file systems being used for the database.

Database Reorganize optionSelect Option 2 from the Database Space and Memory Management menu to reorganize fragmented database tables and indexes.

These actions are performed from the Database Reorganize menu as follows:

Database Reorganize-------------------1) Defragment All2) Table Level Defragmentation3) Index Compressionh) Helpq) Quit

■ Defragment All

192 New database Administration tool for NetBackup relational databasesRunning the Database Administration tool on UNIX

Option 1 automatically determines the database tables and indexes that are fragmented. It then uses the Sybase ASA REORGANIZE command to defragment the tables and compress the indexes.

The equivalent command is nbdb_admin -reorganize.

■ Table Level Defragmentation

Option 2 generates a fragmentation report for each database table. For each table, the report includes the TABLE_NAME, number of ROWS, number of ROW_SEGMENTS, and SEGS_PER_ROW.

In addition, a * displays in the ! column for an individual table if it would be automatically selected for reorganization by the Defragment All option.

A row segment is all or part of one row that is contained on one page. A row may have one or more row segments. The ROW_SEGMENTS value indicates total number of row segments for the table. The SEGS_PER_ROW value shows the average number of segments per row, and indicates whether or not a table is fragmented.

A SEGS_PER_ROW value of 1 is ideal, and any value more than 1 indicates a high degree of fragmentation. For example, a value of 1.5 means that half of the rows are partitioned.

■ Index Compression

Option 3 generates a fragmentation report for each database index and lets the administrator select individual indexes to be compressed. For each index the report includes the TABLE_NAME, INDEX_NAME, TYPE of index, LEVEL, and DENSITY. The index TYPE is one of the following values: PKEY (primary key), FKEY (foreign key), UI (unique index), UC (unique constraint), NUI (non-unique index).

In addition, a * displays in the ! column for an individual index if it would be automatically selected for reorganization by the Defragment All option.

The LEVEL and DENSITY indicate whether or not an index should be reorganized. The number of levels in the index tree determines the number of I/O operations that are needed to access a row using the index. Indexes with fewer levels are more efficient than indexes with greater numbers of levels. The density is a fraction between 0 and 1 providing an indication of how full each index page is on average.

A LEVEL value of 1 is ideal. An index with a LEVEL value of 4 or more or with a level value of 2 or 3 with a density greater than 0.5 is a good candidate for reorganization.

Add Free Space optionSelect option 3 from the Database Space and Memory Management menu to add additional free space to individual dbspaces. Additional free space helps to

193New database Administration tool for NetBackup relational databasesRunning the Database Administration tool on UNIX

reduce future fragmentation of the database objects that are stored in the database.

When the relational database is initially created or rebuilt, 25MB of free space is automatically added to the data and the index dbspaces.

A Rebuild eliminates all free space and then adds back what was initially added when the database was created. If the user accidentally adds too much free space, a Rebuild can be used to eliminate the space.

Adjust Memory Settings optionSelect option 4 from the Database Space and Memory Management menu to view and modify the Sybase ASA memory cache settings of the relational database server.

Changes to these settings affect all of the relational databases that the database server manages, and do not take effect until the database server is restarted.

The database cache is an area of memory that the database server uses to store database pages for repeated fast access. The more pages that are accessible in the cache, the fewer times the database server needs to read data from disk. To read data from disk is a slow operation, so the amount of cache available is often a key factor that determines performance. The database cache is automatically resized as needed. The cache grows when the database server can usefully use more, as long as memory is available. The cache shrinks when other applications require cache memory, so that the database server does not unduly impact other applications on the system.

Three memory cache settings can be used to control the size of the database cache. These settings are set in the server.conf file. The database server reads the file when it is started. The server.conf file is found in the following locations:

On UNIX:

/usr/openv/var/global

On Windows:

InstallPath\VERITAS\NetBackupDB\conf

Note that if the settings are too large, the database server may not start.

The memory cache settings are as follows:

■ Initial (-c option in server.conf)

Sets the initial memory that is reserved for caching database pages and other server information.

■ Minimum (-cl option in server.conf)

Sets the minimum cache size as a lower limit to automatic cache resizing.

■ Maximum (-ch option in server.conf)

194 New database Administration tool for NetBackup relational databasesRunning the Database Administration tool on UNIX

Sets the maximum cache size as an upper limit to automatic cache growth.

Transaction Log Management optionSelect option 3 (Transaction Log Management) from the main menu to truncate the transaction log of the database and to change the database’s transaction log mode.

These actions are performed from the Transaction Log Management menu, as follows:

Transaction Log Management--------------------------1) Truncate the Transaction Log2) *Toggle Transaction Log Mode (FULL/PARTIAL)3) Change Temporary Directory for Truncationh) Help q) Quit

WARNING:Starred option affects all databases.NetBackup must be restarted for setting to take effect.

The database’s transaction log is used for database recovery. The transaction log for NBDB is NBDB.log. For BMRDB it is BMRDB.log. During a full hot catalog backup, all of the database files are included in the backup. For example, for NBDB, NBDB.db, EMM_DATA.db, EMM_INDEX.db, and NBDB.log are included. After these files are backed up, the transaction log is truncated. For a differential hot catalog backup, only the transaction log (NBDB.log), is included in the backup. To recover from a full and an incremental, all of the database files are restored and the transaction logs are applied one at a time in order.

If the transaction log is truncated outside of the hot catalog backup process, the next catalog backup must be a full hot catalog backup. Otherwise, a gap would exist in the transaction logs due to the truncation and an error during catalog recovery would occur. If the transaction log is truncated using this menu, a full hot catalog backup is forced the next time any schedule of the catalog backup policy is due.

The transaction log mode controls when the transaction log is automatically truncated outside of the catalog backup process. A transaction log mode of PARTIAL forces a deletion of the transaction log whenever a database checkpoint occurs. The default transaction log mode is FULL.

In FULL mode, the transaction log is only truncated automatically after a successful online (hot) or offline (cold) catalog backup.

195New database Administration tool for NetBackup relational databasesRunning the Database Administration tool on UNIX

With PARTIAL mode, the hot catalog backup must always be a full backup and all incremental schedules are automatically converted to full schedules by NetBackup. The cold catalog backup is always a full backup.

Truncate the Transaction Log optionSelect option 1 on the Transaction Log Management menu to truncate the transaction log for the currently selected database.

If the next scheduled hot catalog backup is a differential incremental, a backup of all of the relational database files is included.

Before NetBackup starts the operation to truncate the transaction log, NetBackup tells the user that a full catalog backup must be performed after the transaction log is truncated. The user must confirm whether or not to continue.

Toggle Transaction Log Mode optionSelect option 2 on the Transaction Log Management menu to toggle the transaction log mode between FULL and PARTIAL transaction log modes.

In PARTIAL mode, all schedules that are used for the hot catalog backup policies include backups of all of the relational database files. If the mode is changed from full to partial, a warning displays.

In FULL mode, the differential incremental schedule includes only the transaction log file.

This option affects all databases that the database server manages (NBDB and BMRDB). The database server must be restarted in order for the transaction log mode change to take effect.

Change Temporary Directory for Truncation optionSelect option 3 on the Transaction Log Management menu to change the directory that is used for transaction log truncation. Make sure that enough space is available for a copy of the existing transaction log before it is truncated.

After the transaction log is successfully copied and truncated, the temporary copy is deleted.

Database Validation Check and Rebuild optionSelect option 4 (Database Validation Check and Rebuild) from the main menu to validate and rebuild the currently selected database.

The Database Validation Check and Rebuild menu lets the administrator validate the currently selected database. The database validation checks that are run from this menu do not require that all NetBackup activity is suspended.

196 New database Administration tool for NetBackup relational databasesRunning the Database Administration tool on UNIX

However, the validation checks may report any transient errors that are a result of transactions that are in progress. If any validation errors are reported, shut down the NetBackup daemons and services and start only the Sybase ASA database server. Then repeat the validation check using this tool or the nbdb_admin command line utility. If validation errors continue, contact Symantec customer support. The administrator may be asked to rebuild the database using the Database Rebuild option or the nbdb_unload command line utility.

Database Validation Check and Rebuild-------------------------------------1) Standard Validation2) Full Validation3) *Database Rebuildh) Help q) Quit

WARNING:Starred options will temporarily suspend NetBackup operations.Do not perform backups during any of these actions.

Standard Validation optionOption 1 lets the administrator validate the indexes and keys on all of the tables in the database. Each table is scanned. For each row, a check is made that it exists in the appropriate indexes. The number of rows in the table must match the number of entries in the index.

This option is equivalent to the command nbdb_admin -validate.

Full Validation optionOption 2 performs the same checks as option 1, Standard Validation. In addition, Full validation ensures that every row that is referenced in each index exists in the corresponding table. For foreign key indexes, it also ensures that the corresponding row exists in the primary table. This option is equivalent to the command nbdb_admin -validate -full.

Database Rebuild optionOption 3 lets the administrator rebuild the database. This menu option is equivalent to the command nbdb_unload -rebuild. A Database Rebuild results in a complete unload and reload of the database. A new database with all of the same options is built in place. A Database Rebuild may be required if Database Validation errors are reported using the Standard or Full Validation options.

During a Database Rebuild, all NetBackup operations are suspended.

197New database Administration tool for NetBackup relational databasesRunning the Database Administration tool on UNIX

If option 3 is selected, a message appears which recommends that you exit and create a backup using the Backup Database option before you rebuild the database. You then have the choice of whether to continue or not. For more information, see “Backup and Restore Database option” on page 199.

Move Database optionSelect option 5 (Move Database) from the main menu to change the location of the database files or to split the database files into multiple directories. To do so may improve performance in the case of large databases. The database files are moved for both NBDB and BMRDB, if present.

Note: Due to performance issues, NetBackup supports database files only on locally attached drives.

These actions are performed from the Move Database menu, as follows:

Move Database-------------1) *Move Data2) *Move Index3) *Move Transaction Log4) *Move/Create Mirrored Log5) *Stop Using Mirrored Transaction Logh) Helpq) Quit

WARNING:Starred options will temporarily suspend NetBackup operations.Do not perform backups during any of these actions.

In addition, the Move Database menu lets the administrator create a mirrored transaction log. The transaction logs (NBDB.log and BMRDB.log) are critical files used to recover the relational databases.

For extra protection, a mirrored transaction log can be used. Create the mirrored log in a different directory from the original log.

Move Data optionOption 1 lets the administrator change the location of the data dbspaces.

Move Index optionOption 2 lets the administrator change the location of the index dbspaces.

198 New database Administration tool for NetBackup relational databasesRunning the Database Administration tool on UNIX

Move Transaction Log optionOption 3 lets the administrator change the location of the transaction log.

Move/Create Mirrored Log optionOption 4 lets the administrator change the location of the mirrored transaction log. If the mirrored transaction log does not already exist, it is created in the new location.

Stop Using Mirrored Transaction Log optionOption 5 is displayed only if a mirrored transaction log is used. The option lets the administrator configure the database server so that it stops using a mirrored transaction log. The existing mirrored transaction log file is deleted.

Unload Database optionSelect option 6 (Unload Database) from the main menu to unload either the schema or the schema and data from the relational database.

Unload Database---------------1) Schema Only2) Data and Schema3) Change Directoryh) Help q) Quit

A SQL command file is created that can be used to rebuild the database. If the data is also included in the unload, a set of data files in comma-delimited format is created.

Schema Only optionOption 1 lets the administrator unload only the database schema. The schema is unloaded as a file that is named reload.sql in the named directory.

Data and Schema optionOption 2 lets the administrator unload both the database schema and the data. The data is unloaded as a set of files. One file is created for each database table.

Change Directory optionOption 3 lets the administrator change the directory location for the files that unload options (1) or (2) create.

199New database Administration tool for NetBackup relational databasesRunning the Database Administration tool on UNIX

Backup and Restore Database optionSelect option 7 (Backup and Restore Database) from the main menu to back up the relational database to the specified directory, and to restore from a previously created backup. Either an online or offline backup can be selected. An offline backup causes NetBackup activity to be suspended so do not perform an offline backup when active backups or restores run.

Note: Using the Database Administration tool to back up and restore the NetBackup database can potentially break the consistency between the NetBackup catalog and the database. This loss of consistency can lead to loss of data. Use the tool to back up and restore the NetBackup database only as a precautionary measure.

Backup and Restore Database---------------------------1) Online Backup2) *Offline Backup3) *Restore Backup 4) Change Directoryh) Helpq) Quit

WARNING:Starred options will temporarily suspend NetBackup operations.Do not perform backups during any of these actions.

Online Backup OptionOption 1 lets the administrator make a copy of the database files while the database is active. Other NetBackup activity is not suspended during this time.

Offline Backup optionOption 2 lets the administrator make a copy of the database files with all other NetBackup activity suspended. The database is shut down before the copy is made, and restarted after the copy has completed.

Restore Backup optionOption 3 lets the administrator restore from a copy of the database files previously made with either options 1 or 2. The currently running database files are overwritten, and the database is shut down and restarted after the restore is completed.

200 New database Administration tool for NetBackup relational databasesRunning the Database Administration tool on UNIX

Change Directory optionOption 4 lets the administrator change the directory location for the files that backup options (1) or (2) create. This directory is the source of the files for the restore option (3).

201New database Administration tool for NetBackup relational databasesRunning the Database Administration Tool on Windows

Running the Database Administration Tool on Windows

The Database Administration tool is available as a graphical user interface on Windows platforms. This stand-alone application is called NbDbAdmin.exe and is located in the following directory:

InstallPath\VERITAS\NetBackup\bin

The user must enter the DBA password when the tool is started. See “Change button to change the password” on page 204 for more information.

The tool contains the General tab and the Tools tab. It also contains the following information when either tab is displayed:

■ The database (displays NBDB information by default).

■ The status of the database.

■ The results from a validation check.

■ Information on space utilization. See Table 6-1 for more information.

■ Drive Space button

Shows the amount of free space and used space on a drive. If the database files are on multiple drives, this view is useful to see which drive has more free space available.

■ Close button

Closes the Database Administration tool.

■ Help button

Provides additional assistance in the console.

202 New database Administration tool for NetBackup relational databasesRunning the Database Administration Tool on Windows

General tabWhen the user logs in, the General tab of the Database Administration console displays, as shown in Figure 6-1.

Figure 6-1 General tab of the Database Administration Tool

The following topics describe the options available on the General tab.

Data Details buttonClick the Data Details button on the General tab to defragment individual tables.

See “Database Reorganize option” on page 191 for more information.

Add Data Space buttonClick the Add Data Space button on the General tab to add free space to the data dbspaces.

203New database Administration tool for NetBackup relational databasesRunning the Database Administration Tool on Windows

If too much space is added, see “Rebuild button” on page 203.

Add Index Space buttonClick the Add Index Space button on the General tab to add free space to the index dbspaces.

If too much space is added, see “Rebuild button” on page 203.

Refresh buttonClick the Refresh button to make sure that the most current information is displayed.

Reorganize All buttonClick the Reorganize All button on the General tab to automatically determine the database tables and indexes that are fragmented. The option then uses the Sybase ASA REORGANIZE command to defragment the tables and compress the indexes. Clicking Reorganize All is equivalent to running the following command:

nbdb_admin -reorganize

Validate buttonClick the Validate button on the General tab to perform either a standard or a full database validation.

See “Database Validation Check and Rebuild option” on page 195 for more information.

Rebuild buttonClick the Rebuild button on the General tab to rebuild the database.

Clicking the Rebuild button eliminates all free space and then adds back what was initially added when the database was created. If the user accidentally adds too much free space, a Rebuild can be used to eliminate the space.

See “Database Validation Check and Rebuild option” on page 195 for more information.

204 New database Administration tool for NetBackup relational databasesRunning the Database Administration Tool on Windows

Tools tabThe following topics describe the options available on the Tools tab.

Figure 6-2 Tools tab of the Database Administration Tool

Change button to change the passwordClick the Change button in the Password section on the Tools tab to change the DBA password.

When the Database Administration tool is started, the administrator must enter the DBA password. If the DBA password is the default password that is used when NetBackup is installed, the administrator is encouraged to change the password. The administrator is not required to change the password, however.

205New database Administration tool for NetBackup relational databasesRunning the Database Administration Tool on Windows

Move buttonClick the Move button in the Move Database section on the Tools tab to change the location of the database files or to split the database files into multiple directories.

Note: Due to performance issues, NetBackup supports database files only on locally attached drives.

For more information, see “Move Database option” on page 197.

Export buttonClick the Export button in the Unload section on the Tools tab to unload either the schema or the schema and data from the relational database.

Select one of the following options:

■ Schema

Unload only the database schema. The schema is unloaded as a file that is named reload.sql in the named directory.

■ Schema and data

Unload both the database schema and the data. The data is unloaded as a set of files in comma-delimited format. One file is created for each database table.

Copy buttonClick the Copy button in the Backup section on the Tools tab to back up the relational database to the specified directory. Either an online or offline backup can be selected. An offline backup causes NetBackup activity to be suspended so do not perform an offline backup when backups or restores run.

Note: Using the Database Administration Tool to back up and restore the NetBackup database can potentially break the consistency between the NetBackup catalog and the database. This loss of consistency can lead to loss of data. Use the tool to back up and restore the NetBackup catalog only as a precautionary measure.

Restore buttonClick the Restore button on the Tools tab to restore a copy of the database that was previously made using either an online or offline backup.

206 New database Administration tool for NetBackup relational databasesRunning the Database Administration Tool on Windows

Set buttonClick the Set button in the Cache section on the Tools tab to view and change the Sybase ASA memory cache settings. Changes to these settings affect all of the relational databases that the database server manages. The changes do not take effect until the database server is restarted.

For more information about memory cache settings, see “Adjust Memory Settings option” on page 193.

Modify buttonClick the Modify button in the Transaction Log section on the Tools tab to change the transaction log mode of the database.

For more information, see “Toggle Transaction Log Mode option” on page 195.

Truncate buttonClick the Truncate button in the Transaction Log section on the Tools tab to truncate the transaction log of the database.

For more information, see “Truncate the Transaction Log option” on page 195.

207New database Administration tool for NetBackup relational databasesValidation checks during a hot catalog backup

Validation checks during a hot catalog backupA database validation check is performed as part of a hot catalog backup. If a hot catalog backup fails, one possible reason is a failure of the validation check.

The validation check can fail because of the following reasons:

■ The validation check encountered errors.

■ The catalog backup occurred while a database transaction was taking place.

The following procedure can determine whether the hot catalog backup failed due to database errors or normal backup activity.

To determine whether a hot catalog backup failure is due to database errors

1 Examine the bpdbm log. If the failure is due to database validation errors, the following message appears:validate_database: Database validation failed for database NBDB

2 If the log indicates validation failure, use the Database Administration tool or the command line option to run a full validation.

The resulting database validation report indicates whether or not the database has errors.

For UNIX (dbadm), see “Full Validation option” on page 196.

For Windows (NbDbAdmin.exe), see “Validate button” on page 203.

To use the command line, run: nbdb_admin -validate -full

3 If the report shows validation errors, perform the following steps:

■ Shut down the NetBackup daemons and services:

For UNIX: /usr/openv/netbackup/bin/bp.kill_all

For Windows: Install_path\VERITAS\NetBackup\bin\bpdown

■ Start only the ASA database server:

For UNIX: /usr/openv/netbackup/bin/nbdbms_start_stop start

For Windows: Install_path\VERITAS\NetBackup\bin\bpup -e ASANYs_VERITAS_NB

■ Rerun the validation as described in step 2.

208 New database Administration tool for NetBackup relational databasesValidation checks during a hot catalog backup

■ Perform the following steps only if errors occur:

■ Create a backup copy of the database using either the Database Administration tool or the command line option:

For UNIX (dbadm), see “Backup and Restore Database option” on page 199.

For Windows (NbDbAdmin.exe), see “Copy button” on page 205.

To use the command line, run:

nbdb_backup -online directory

■ Run a full validation. From the command line, run:

nbdb_admin -validate -full

■ Run a rebuild as described in step 4.

4 If the database has errors, rebuild the database using either the Database Administration tool or the command line option:

For UNIX (dbadm), see “Database Rebuild option” on page 196.

For Windows (NbDbAdmin.exe), see “Rebuild button” on page 203.

To use the command line, run: nbdb_unload -rebuild

5 Run the hot catalog backup again.

Chapter 7

NetBackup for SharePoint Portal Server updates

This topic describes the changes to the NetBackup for SharePoint agent since NetBackup 6.5. The information in this topic includes the operational notes that were published in the NetBackup Release Notes for 6.5 and the NetBackup ReadMe for 6.5.1. This topic has the information included in the SharePoint TechNote #292586 for 6.5.1.

BinariesThe following new binaries are installed on the SharePoint servers (Windows front-end servers and SQL database servers).

■ Nbbedssps3.dll

■ SpswrapperV3.exe

■ SPSManagedWrapperHelper.dll

LimitationsThe following limitations exist for the NetBackup for SharePoint version 6.5.2 agent.

■ SharePoint 2007 documents cannot be restored individually (document-level restore) from a backup image made with NetBackup 6.5.1 or earlier.

■ Document restores cannot be redirected to a different location.

■ Restores of the following objects cannot be redirected to a different location:

210 NetBackup for SharePoint Portal Server updatesInstallation requirements

■ A site in another farm (but to another site within the original farm is supported)

■ Farm configuration database and single-sign-on database

■ Portal index database

■ A document

■ You cannot restore a Windows Microsoft SQL Server 2000 Desktop Engine (WMSDE) database to an alternate location because of a WMSDE limitation.

■ Version 6.5 of the NetBackup for Microsoft SharePoint Portal Server 2003 Administrator’s Guide indicates that for document-level restores you can automatically duplicate images from tape to disk. This functionality is not available at this time. If you want to perform a document-level restore, you must manually copy the backup image from tape to disk.

Installation requirementsVerify that the following requirements are met before you use the NetBackup for SharePoint agent.

SharePoint Portal Server setup■ For document-level backups, the top-level folder of a site must contain at

least one document. Otherwise, documents are not enumerated correctly for restore. This will be resolved in a release update.

■ When using SharePoint load balancing, all load-balanced Web sites must be uniformly identified in IIS using either host headers or IP addresses, but not both. Environments which mix host headers and IP addresses across load-balanced servers are not supported.

■ To prevent restore failures, the IIS Default Application Pool identity must be a valid SharePoint user ID.

■ Client settings on the SharePoint hosts:

■ The SharePoint user should be an administrator user account.

■ The SharePoint user settings must be set on all SharePoint farm hosts.

Database agentVerify that the following requirements are met for the database agent. If you want to be able to restore individual documents, install the software that is

211NetBackup for SharePoint Portal Server updatesInstallation requirements

indicated in Table 7-1. This software must be installed on the clients in the SharePoint farm which have the content database and NetBackup Media Server.

Installing the Utilities and SDK for Subsystem for UNIX-Based Applications

If you have Windows Server 2003 R2, 64-bit, you need to install Software Development Kit (SDK) for SUA. This is available from Microsoft.

To install Microsoft Services for NFS

1 Ensure that your computer meets the system requirements for SFU.

See the documentation Microsoft provides.

2 Download the SFU package.

■ Go to the Microsoft Download Center,

www.microsoft.com/downloads

■ In the Search box, enter sua and click Go.

■ Click on the link Utilities and Software Development Kit (SDK) for Subsystem for UNIX-based Applications.

■ Click Download the files below.

Table 7-1 Requirements for the SharePoint database agent

Windows SharePoint/WSS SQL Server Document-level restores

Windows 2008, 32-bit or 64-bit

SharePoint Portal Server 2007/WSS 3.0 (32-bit and 64-bit)

SQL 2005 (32-bit or 64-bit) or SQL Express

Software Development Kit (SDK) for SUA is installed.

See “Installing the Utilities and SDK for Subsystem for UNIX-Based Applications” on page 211.

Windows 2003 R2 or later, 32-bit or 64-bit

SharePoint Portal Server 2007/WSS 3.0 (32-bit and 64-bit)

SQL 2005 (32-bit or 64-bit) or SQL Express

Software Development Kit (SDK) for SUA is installed.

See “Installing the Utilities and SDK for Subsystem for UNIX-Based Applications” on page 211.

Windows 2003 R2 or later, 32-bit or 64-bit

SharePoint Portal Server 2003 SP2/WSS 2.0 (32-bit)

SQL 2005 (32-bit or 64-bit) or SQL Express

For 32-bit systems, Microsoft Services for NFS is installed.

See “Installing Microsoft Services for NFS” on page 212.

Windows 2003 R1 SharePoint Portal Server 2003 SP1/WSS 2.0 (32-bit)

SQL 2000 SP4 (32-bit) or SQL Express

Windows Services for UNIX (SFU) 3.5 or higher is installed.

See “Installing Windows Services for UNIX” on page 212.

212 NetBackup for SharePoint Portal Server updatesInstallation requirements

Installing Microsoft Services for NFSIf you have Windows Server 2003 R2, you need to install Microsoft Services for NFS. This option is available on the Windows Server installation CD.

To install Microsoft Services for NFS

1 Install Microsoft Services for NFS from the Windows Server installation CD.

2 After the installation is complete, ensure that Client for NFS is running.

3 To configure a different port, refer to “Configuring a different network port” in the NetBackup for Microsoft SharePoint Portal Server System Administrator's Guide.

4 When the installation is complete, open the Services control panel and ensure that Server for NFS is stopped and disabled.

Repeat this step for each client.

Installing Windows Services for UNIXIf you have Windows Server 2003 R1, you need to install Windows Services for UNIX (SFU) 3.5 or higher. This package is not required for Windows Server 2003 R2.

To install Windows Services for UNIX

1 Ensure that your computer meets the system requirements for SFU.

Refer to documentation Microsoft provides.

2 Download the SFU package.

■ Go to the Microsoft Download Center, http://www.microsoft.com/downloads.

■ In the Search box, enter windows services for unix and click Go.

■ Click on the link Windows Services for UNIX.

■ Click Download.

3 Log on as administrator on the local computer.

4 Start the installation.

5 During installation, choose to install both Server for NFS and Client for NFS.

6 After the installation is complete, ensure that Client for NFS is running.

7 To configure a different port, refer to “Configuring a different network port” in the NetBackup for Microsoft SharePoint Portal Server System Administrator's Guide.

213NetBackup for SharePoint Portal Server updatesConfiguring the SharePoint agent

8 When the installation is complete, open the Services control panel and ensure that Server for NFS is stopped and disabled.

Repeat this step for each client.

Configuring the SharePoint agentIn order to use the SharePoint agent you must configure the following:

Configuring backup policiesNote the following when you configure backup policies:

■ The Directive set name has been changed from MS_SharePoint_Portal_Server_2003 to MS_SharePoint_Portal_Server. Use this directive for MOSS and WSS configurations with SharePoint 2007 and SPPS and WSS configurations in SharePoint 2003.

■ As in earlier releases, directives in the Backup Selections list can be made specific to different SharePoint and WSS objects.

■ The farm databases (Configuration, Single Sign-on, Index) cannot be backed up with a policy that is enabled for document-level backups. For comprehensive farm disaster recovery, back up those databases with a separate policy where document-level backups are disabled.

Table 7-2 Configuring the SharePoint agent

Task See this topic in version 6.5 of the NetBackup for Microsoft SharePoint Portal Server 2003 Administrator’s Guide

The NetBackup Client Service log on account

“Configuring the NetBackup Client Service log on account”

The account that logs on to the SharePoint Application Server

“Specifying the account that logs on to the SharePoint Application Server”

Consistency checks “Performing consistency checks”

Enable restores on multiple SharePoint hosts

“Configuring restores for multiple SharePoint hosts”

Use the SharePoint Hosts dialog box to set the association of the SQL back-end servers and the SharePoint front-end servers. Backup images are cataloged under the SharePoint front-end server name. This setting allows you to perform restores and redirected restores of federated farms.

214 NetBackup for SharePoint Portal Server updatesBackup schedule types for SharePoint 2007

■ No significant changes have been made to the files list directives. To protect the farm with a scheduled backup, you still add the “Microsoft SharePoint Resources:\*” directive to the Backup Selections list.

■ Refer to version 6.5 of the NetBackup for Microsoft SharePoint Portal Server 2003 Administrator’s Guide for recommended policies you should configure.

Backup schedule types for SharePoint 2007The following backup schedule types are supported with the SharePoint agent.

Performing user-directed backupsIf you open multiple backup windows (in the NetBackup client) to browse SharePoint resources, the windows unexpectedly terminate. Instead, use a single backup window to browse SharePoint resources for backup.

Table 7-3 Supported schedule types

SharePoint/WSS Objects Schedule type

Configuration v3 DB Full Backup, Differential Incremental backup

Global Settings Full Backup, Differential Incremental backup

Single Sign-on Full Backup, Differential Incremental backup

Web App/Content DB/ (including document restores) Full Backup, Differential Incremental backup

WSS Help Search/Index Files Full Backup

WSS Help Search/Search DB Full Backup, Differential Incremental backup

WSS Administration/Web App/Content DB Full Backup, Differential Incremental backup

Shared Services/Services DB Full Backup, Differential Incremental backup

Shared Services/Shared Search Index/Index Files Full Backup

Shared Services/Shared Search Index/ Search DB Full Backup, Differential Incremental backup

Shared Services/Web App/Content DB Full Backup, Differential Incremental backup

215NetBackup for SharePoint Portal Server updatesRestoring SharePoint farm components

SharePoint and WSS objects appear as follows in the NetBackup, Backup, Archive, and Restore interface.

Restoring SharePoint farm componentsPerform the restore of SharePoint farm components and other tasks in the following sequence:

■ Configuration database

■ All SQL databases

■ Bring the web application or portal online

■ Wait for SharePoint to initialize storage for the Search Index

■ Search Index

Restoring the Configuration databaseWhen restoring the Configuration database, restore it individually and before any other object in the farm.

216 NetBackup for SharePoint Portal Server updatesRestoring SharePoint farm components

Restoring the Search Index■ (SharePoint 2003) When the SharePoint Search Index service is updating

databases, it sometimes contends with NetBackup for access to the portal index database. This situation can cause failed backup or restore operation of that database. If this occurs, repeat the backup or restore operation until successful.

■ To restore the Search Index, you must do the following:

■ Restore all SQL databases.

■ Bring the web application or portal online.

■ Wait for SharePoint to initialize storage for the Search Index.

■ This may take a few minutes to occur, after newly recovered web application or portal is started.

■ Restore the Search Index alone and after all other objects in the farm.

Restoring the farm or a collection of web applications or portals■ To restore the farm or multiple web applications or portals, perform an

individual restore of each web application or portal.

■ When you restore web applications or portals, ensure that you perform restores from the SharePoint front-end server(s). This server is the client name that you specified in the MS-SharePoint backup policy.

Restoring the Shared Services Provider when in a state of unprovisioning

The following instructions describe how to restore the Shared Services Provider when it is in a state of unprovisioning.

To restore the Shared Services Provider when in a state of unprovisioning

1 Delete the Shared Services Provider.

Run the following command:

stsadm -o deletessp -title <SSP name> -force

2 Open the NetBackup Backup, Archive, and Restore interace.

3 Open a Restore window.

4 Select the Full backup that contains the shared services.

5 Select the following objects of the shared services.

■ Services database

■ Shared Search Index database (do not select the Index files for restore)

217NetBackup for SharePoint Portal Server updatesRestoring SharePoint farm components

■ Shared Services Administration site(s)

6 Choose Actions > Restore.

7 In the Restore Marked Files dialog box, select the Microsoft SharePoint tab.

8 Uncheck Bring restored databases online and reconnect previous database links.

9 Click Start Restore.

10 Restore any incremental backups.

Do not select Bring restored databases online and reconnect previous database links.

11 Use the SQL Server administrative tools to recover the SSP databases.

12 In SharePoint Administration interface, use the Shared Services Administration page to reconnect the restored SSP.

Redirecting a web application or portal to another web application or portal

Note the following when you redirect a web application or portal:

■ You can redirect the restore of a web application or portal within the same farm when the SQL database host and the SharePoint host are the same. A redirected restore is not supported if the SQL databases exist across multiple SQL hosts.

■ You must restore all SQL databases in one operation at the same time.

■ Before you redirect the restore of a web application or portal, remove the source web application or portal. If you attempt the redirected restore without removing the source, the restore completes successfully, but the databases are not properly connected to the virtual server.

■ To redirect MOSS 7.0 and WSS 3.0 web applications, specify the destination web application name (or the URL of the destination site).

■ To redirect SharePoint 2003 portals and team sites, specify the URL to the destination site in the Restore Marked Files dialog.

Restoring backward-compatible document library storeWhen restoring a backward-compatible document library store, the Microsoft Information Store service must be running.

218 NetBackup for SharePoint Portal Server updatesRestoring Windows SharePoint Services (WSS) 3.0

Restoring Windows SharePoint Services (WSS) 3.0To restore a WSS 3.0, perform an individual restore of each WSS object.

Recovering a web application when using Network Load Balancing

To restore a deleted web application in a Network Load Balanced (NLB) farm, you may need to perform a manual operation using the SharePoint 3.0 Central Administration GUI. After the restore operation is successful, if the web application on the NLB farm is offline, perform the following steps.

To recover a web application when using Network Load Balancing

1 Open the SharePoint 3.0 Central Administration interface.

2 Select Application Management under Central Administration.

3 Under “SharePoint Web Application Management,” click Create or extend Web application.

4 Select Extend an existing Web application and fill-in the values to extend the restored web application.

5 Complete the restore operation on all of the NLB front-end servers.

Make sure the server is extended on the other NLB servers by selecting Extend an existing virtual server from the Virtual Server List page in the Central Administration GUI.

Performing document-level restoresThe following requirements must be met to restore individual documents:

■ The administrator has configured NetBackup to allow document-level restores.

This option is configured on the Attributes tab for the backup policy.

■ The user has chosen to restore from a full backup image.

Note the following when you perform document-level restores:

■ You can only restore when the backup image resides on a disk storage unit. Use the bpduplicate command to copy the image to disk storage.

■ The NetBackup-Java client user interface does not yet support browsing of SharePoint documents for restore. Instead, use the Windows client to restore documents.

219NetBackup for SharePoint Portal Server updatesDisaster Recovery

■ When you restore a document, it is safe to ignore certain bprd errors in the Activity Monitor similar to the following: 7/12/2007 11:01:39 AM - Error bpdm (pid=2928) did not receive EXIT STATUS from bprd, all blocks may not have been restored

Instead, rely upon the final status reported in the Activity Monitor to determine the true success or failure of the restore operation.

To restore individual documents

1 Enable the SharePoint front-end Web server to restore to the SQL hosts in the farm.

2 Log on as Administrator.

3 Open the Backup, Archive, and Restore interface.

4 Choose File > Select Files and Folders to Restore > from Normal Backup.

5 In the Restore window, select the SharePoint policy type (choose File > Specify NetBackup Machines and Policy Type).

6 Click OK.

NetBackup browses for SharePoint Portal Server backup images.

7 From the NetBackup History pane, select the full backup image that contains the documents you want to restore.

8 In the All Folders pane, expand Microsoft SharePoint Resources.

9 Expand the Team database.

10 Select the document(s) to restore.

11 Choose Actions > Restore.

12 In the Restore Marked Files dialog box, select the Microsoft SharePoint tab.

13 Choose the restore options you want.

Choose whether or not to have documents overwritten if they already exist.

14 Click Start Restore.

Disaster RecoveryYou can now restore the SharePoint Configuration database from the Backup, Archive, and Restore interface. You do not need to use the command line (SPSRecoveryAsst).

220 NetBackup for SharePoint Portal Server updatesDisaster Recovery

Chapter 8

NetBackup for Exchange support

This topic describes the changes to the NetBackup for Exchange agent since NetBackup 6.5. The information in this topic includes the operational notes that were published in the NetBackup Release Notes for 6.5 and the NetBackup ReadMe for 6.5.1. This topic also has the information included in the Exchange TechNote #292587 for 6.5.1.

The topics addressed here are as follows:

■ “Installing and configuring the NetBackup for Exchange Server agent with Exchange 2007” on page 222

■ “Cluster support” on page 224

■ “Exchange LCR/CCR support” on page 224

■ “Requirements for redirected restores of Exchange 2003 or 2007 legacy (non VSS) backups to an RSG” on page 228

■ “Requirements for redirected restores of Exchange 2003 VSS backup images” on page 228

■ “About redirecting restores of Exchange 2007 VSS backup images” on page 228

■ “Instant recovery for Exchange on Windows VSS” on page 231

■ “Off-host backups” on page 233

■ “Other operational notes” on page 234

222 NetBackup for Exchange supportInstalling and configuring the NetBackup for Exchange Server agent with Exchange 2007

Installing and configuring the NetBackup for Exchange Server agent with Exchange 2007

In addition to the other requirements that are included in the NetBackup for Microsoft Exchange Administrator’s Guide, note the following.

■ Do not install Outlook on the same server on which Exchange is installed.

■ To take advantage of the Exchange 2007 consistency checks with the Microsoft API with a VSS off-host backup, the Exchange Management Console must be installed on the off-host client.

To perform backups and restores of mailboxes and public folders with Exchange 2007, additional configuration is required.

■ For mailbox-level backups with Windows 2003 and Exchange 2007, download and install the Microsoft Exchange Server MAPI Client and Collaboration Data Objects package. Version 6.05.7888 or higher is required.

You can find this package at:

http://www.microsoft.com/downloads/

NetBackup 6.5.2 does not support mailbox-level backups and restores on Windows 2008. At the time of this release, Microsoft has yet to provide a MAPI Client and Collaboration Data Objects package that is compatible with Windows 2008.

■ You must also create a user account for the NetBackup Client Service. The process is different for Exchange 2007 than for earlier versions of Exchange.

See “Creating an Exchange 2007 user account for the NetBackup Client Service” on page 222.

Creating an Exchange 2007 user account for the NetBackup Client Service

In Exchange 2003, the following security roles were available through the Delegation Wizard in Exchange System Manager:

■ Exchange Full Administrator

■ Exchange Administrator

■ Exchange View Only Administrator

Exchange 2007 has these predefined groups that manage Exchange configuration data:

■ Exchange Organization Administrators

■ Exchange Recipient Administrators

223NetBackup for Exchange supportInstalling and configuring the NetBackup for Exchange Server agent with Exchange 2007

■ Exchange View-Only Administrators

■ Exchange Server Administrators

Prerequisites■ Make sure that the NetBackup Client is installed on the Exchange server, if

the Exchange server is not locally installed on the NetBackup server.

■ Ensure that the NetBackup service account has Domain Admin and Local Administrative rights.

■ Verify that the NetBackup service account mailbox is not hidden.

Configuring the NetBackup service account

To configure the NetBackup service account

1 In Active Directory Users and Computers, select the Users directory.

2 Right-click on the Administrator account, select Copy, and create an account for NetBackup.

Create a user account that has a mailbox with a unique name. A unique name is one that does not already exist within the Exchange Organization. This name cannot be contained as a set of characters in an existing name.

For example: EXCH1 is entered as the unique mailbox name, and other mailbox names such as EXCH1BACKUP or BACKUPEXCH1 exist. The backup or restore of individual mailboxes or both fail.

3 After you create the account, double-click the account, click the Members Of tab, and add this account to the Domain Admins group.

4 Open the Exchange Management Console.

5 In the Exchange Management Console, select Organization Configuration.

6 Right-click on Organization Configuration and click Add Exchange Administrator.

7 On the Add Exchange Administrator page, click Browse and select the user to which you want to delegate control.

8 Select Exchange Server Administrator role.

9 Under Select the server(s) to which this role has access, click Add.

10 Select the servers to which you want to delegate control and click OK.

11 Click Add.

12 On the Completion page, verify that the delegation was successful and click Finish.

224 NetBackup for Exchange supportCluster support

13 Continue with the instructions for “Configuring the NetBackup Client Service log on account” in the NetBackup for Microsoft Exchange Server Administrator’s Guide.

14 Continue with the instructions for “Configuring NetBackup to use the mailbox that is associated with the NetBackup Client Service account”

See the NetBackup for Microsoft Exchange Server Administrator’s Guide.

Cluster supportNote following if you want to use NetBackup for Exchange in a cluster environment:

■ The NetBackup for Exchange agent supports Microsoft Cluster Server (MSCS), and Veritas Cluster Server (VCS). Refer to the Veritas NetBackup Enterprise Server 6.x / NetBackup Server 6.x Cluster Compatibility list. This list contains information on the versions of Exchange Server that are supported with cluster environments.

■ A patch is required if you want to use Exchange 2007 in a VCS 5.0 environment. See the following TechNote for more information:

http://entsupport.symantec.com/docs/288625.htm

■ The NetBackup for Exchange agent also supports Clustered Continuous Replication (CCR) and Single Copy Cluster (SCC). In the NetBackup for Microsoft Exchange Server manual version 6.5, any installation or configuration requirements noted for clusters also apply to CCR and SCC configurations.

■ Restoring Exchange in a cluster

When you restore data in an Exchange cluster environment, you must set the destination client to be the virtual server name. If you perform the with a NetBackup client-only installation on a cluster, you may not be able to change the destination client value to the virtual server name. In that case, use the NetBackup Backup, Archive, and Restore interface on a NetBackup server.

Exchange LCR/CCR supportBefore NetBackup 6.5.1, the only way to back up Exchange storage groups that had replication enabled was to back up the original (or active) data by interfacing with the Exchange server (either VSS or legacy-based backups). With 6.5.2, NBU can back up the replicated data by interfacing with the replica (or passive) Exchange service. VSS is the only supported backup of this replicated data. The benefit of such a backup is to reduce I/O impact. NetBackup accesses

225NetBackup for Exchange supportExchange LCR/CCR support

the replicated data and leaves the active (or live) Exchange service alone. This is especially beneficial for a backup of a CCR node because the active node is completely left out of the backup.

RequirementsTo back up a clustered Exchange Server (including CCR and SCC) with Exchange 2007 SP1 or later, you must add or set the following registry key:

HKLM\System\CCS\Services\MSExchangeIS\ParametersSystem\Enable Remote Streaming Backup

For more information see the Backup and Restore Reference for Exchange Server 2007 SP1 on the MSDN web site:

http://msdn2.microsoft.com/en-us/library/aa580485(EXCHG.80).aspx

Enabling an Exchange 2007 replication backupTo perform an Exchange 2007 replication backup, you must indicate which VSS writer you want backed up.

To enable an Exchange 2007 replication backup

1 Open the NetBackup Administration Console or the Remote Administration Console.

2 In the left pane, expand Host Properties.

3 Click Clients.

4 In the right pane, right-click on the Exchange client you want to configure and choose Properties.

5 Expand Windows Client and click Exchange.

6 In the Exchange 2007 replication backup (LCR or CCR) box, select the writer you want to back up.

Backup the passive copy and if

not available backup the active

copy

This option backs up the passive copy of the VSS writer. If the passive copy is not available and healthy, NetBackup backs up the active copy.

This option is the default.

Backup the passive copy This option backs up the passive copy of the VSS writer. If the passive copy is not available and healthy, the backup fails.

226 NetBackup for Exchange supportExchange LCR/CCR support

7 Click OK.

8 Create a snapshot backup policy for the storage groups you want to back up.

See the instructions in the “Using NetBackup for Exchange Server with Snapshot Client” chapter of the NetBackup for Microsoft Exchange Administrator’s Guide.

Note: Instant recovery and off-host backups cannot be used with a replication backup.

Recovering an Exchange 2007 Local Continuous Replication (LCR) environment

Follow these steps when you recover a storage group with LCR enabled. Most of the following powershell commands are now available in the Exchange Management Console with Exchange 2007 SP1.

Refer to Managing Local Continuous Replication for more information:

http://technet.microsoft.com/en-us/library/aa998823.aspx

■ Issue the powershell command Suspend-StorageGroupCopy for a storage group before you restore that storage group.

■ Perform a database restore, as described in the NetBackup for Microsoft Exchange Administrator’s Guide.

■ You may need to re-seed the copy before you resume the copy.

Do the following:

■ Remove the database files, all log files and checkpoint files from the copy location. (If you use the Exchange Management Console, you will be prompted to perform this step.)

■ Issue the powershell command Update-StorageGroupCopy.

See How to Seed a Local Continuous Replication Copy for more information: http://technet.microsoft.com/en-us/library/aa995973.aspx

■ Issue the powershell command Resume-StorageGroupCopy to properly resume the copy.

Backup the active copy This option backs up the active copy of the VSS writer.

227NetBackup for Exchange supportExchange LCR/CCR support

Recovery of an Exchange 2007 Clustered Continuous Replication (CCR) environment

Follow these steps when you recover a storage group with CCR enabled. Most of the following powershell commands are now available in the Exchange Management Console with Exchange 2007 SP1.

See Managing Cluster Continuous Replication for more information:

http://technet.microsoft.com/en-us/library/aa997676.aspx

■ The NetBackup Client Service must be run as a domain administrator or equivalent user on each node. Otherwise, NetBackup is not properly authorized to perform dismounts or restores.

Note: A restore can only be directed to the active node.

■ Issue the powershell command Suspend-StorageGroupCopy for a storage group before you restore that storage group.

■ Perform a database restore, as described in the NetBackup for Microsoft Exchange Administrator’s Guide.

■ You may need to re-seed the cluster copy before you resume the copy.

Do the following:

■ Remove the database files, all log files and checkpoint files from the passive node. (If you use the Exchange Management Console, you will be prompted to perform this step.)

■ From the passive node, issue the powershell command Update-StorageGroupCopy.

See How to Seed a Cluster Continuous Replication Copy for more information:

http://technet.microsoft.com/en-us/library/bb124706.aspx

■ Issue the powershell command Resume-StorageGroupCopy to properly resume the cluster copy.

Troubleshooting LCR or CCR recoveryIf you do not perform a full backup of the active instance after you restore the database, Exchange may report an error similar to the following:Event Type: ErrorEvent Source: MSExchangeReplEvent Category:Service Event ID: 2059

228 NetBackup for Exchange supportRequirements for redirected restores of Exchange 2003 or 2007 legacy (non VSS) backups to an RSG

Requirements for redirected restores of Exchange 2003 or 2007 legacy (non VSS) backups to an RSG

The following requirements exist to redirect restores of Exchange 2003 or 2007 legacy (non VSS) backups to an RSG:

■ The RSG must exist (and be dismounted) on an Exchange server.

■ If the RSG exists on the local server, leave the destination client the same as the source client.

■ If the RSG exists on a different server, change the destination client to the Exchange server that holds the RSG.

■ The destination path does not need to be changed even though the RSG is a different name than the original storage group. The ESE engine automatically redirects the restore to the proper location.

However, you can change the destination path to the RSG name if wanted.

■ You can restore individual databases or the entire storage group to the RSG.

Requirements for redirected restores of Exchange 2003 VSS backup images

The following requirements exist to redirect restores of Exchange 2003 VSS backups to an RSG:

■ You cannot restore to an RSG in this Exchange release.

■ You cannot redirect to a different storage group in this Exchange release.

■ If you want to redirect to a storage group on another server, the storage group and database must be identical. The path(s) of the storage group also must be identical to the original storage group.

About redirecting restores of Exchange 2007 VSS backup images

NetBackup 6.5.2 includes a new option to redirect a restore of Exchange 2007 VSS backups to an RSG.

See “Redirecting the restore of a VSS backup to the Exchange 2007 recovery storage group (RSG)” on page 230.

The following requirements exist to redirect restores of Exchange 2007 VSS backups to an RSG:

229NetBackup for Exchange supportAbout redirecting restores of Exchange 2007 VSS backup images

■ If you want to restore to an RSG, the RSG must already exist (and be dismounted) on an Exchange server.

■ If you want to restore to another storage group, that storage group must contain databases and those databases must have the same names as the those in the original storage group.

■ If you want to restore to a storage group or an RSG on the local server, leave the destination client the same as the source client.

■ If you want to restore to a storage group or an RSG on a different server, change the destination client to the Exchange server that holds that storage group or RSG.

■ If you want to restore to an RSG, select the new restore option Redirect restore to Recovery Storage Group. This option automatically determines the RSG’s name on the target system.

See “Redirecting the restore of a VSS backup to the Exchange 2007 recovery storage group (RSG)” on page 230.

■ You can also change the destination path to the RSG name if desired. Unlike legacy restores, the ESE engine does not automatically redirect a storage group restore to its RSG, if it exists.

■ If a storage group contains more than one database, you must restore one database at a time. Select one database for each restore request (and the logs object) and redirect the restore to the target storage group.

■ If you want to restore individual databases, you must restore any additional incremental backup images after the full image. To restore an incremental backup, select the entire storage group from the incremental image(s).

■ NetBackup supports a redirected restore from any type of VSS backup. This includes: local VSS snapshot backups, off-host VSS backups, and Instant Recovery backups (using the copy-back mechanism).

■ If you attempt to restore a VSS backup from a multiplexed tape and you selected a single database from a storage group that contains multiple databases, the restore may fail. In this case, restore the entire storage group instead. This issue will be fixed in a future release.

■ If you want to restore a storage group from an Exchange 2007 VSS image, the restore may fail if an Exxrestore.env file exists in the storage group path. This temporary Exchange file can be left from a previously failed restore. Remove this file manually before you attempt another restore.

230 NetBackup for Exchange supportAbout redirecting restores of Exchange 2007 VSS backup images

Redirecting the restore of a VSS backup to the Exchange 2007 recovery storage group (RSG)

This procedure describes how to restore a VSS backup of a storage group to the Exchange 2007 recovery storage group (RSG). Review the requirements for this type of back before you attempt this type of backup.

See “Redirecting the restore of a VSS backup to the Exchange 2007 recovery storage group (RSG)” on page 230.

Note: A restore of Exchange Server files always overwrites any existing files. For example, if Pub.edb already exists on the target machine, it is replaced with the copy from the backup.

To redirect the restore of a VSS backup to the Exchange 2007 recovery storage group (RSG)

1 Log on as Administrator.

2 Create the Recovery Storage Group on an Exchange server and do not mount it.

3 Open the Backup, Archive, and Restore interface.

4 Choose File > Select Files and Folders to Restore > from Normal Backup.

5 Select the Exchange policy type (choose File > Specify NetBackup Machines and Policy Type).

6 From the NetBackup History pane, select the image(s) containing the objects you want to restore.

■ the last full backup, or

■ the last full backup and all subsequent differential backups, or

■ the last full backup and the last cumulative backup

Additional requirements exist for a restore of individual databases.

See “About redirecting restores of Exchange 2007 VSS backup images” on page 228.

7 In the All Folders pane, select the storage group you want to restore.

8 Expand the Microsoft Information Store node and select the storage group to restore.

A full backup of an Exchange database includes the database transaction log files. When you restore a database, you must also restore the transaction log files.

9 Select Actions > Restore.

231NetBackup for Exchange supportInstant recovery for Exchange on Windows VSS

10 Select Redirect to Recovery Storage Group (RSG).

11 Choose your other restore options.

12 If you want to restore the backups individually, you must select the Commit after last backup set is restored and Mount database after restore options when you restore the LAST incremental backup set.

13 Click Start Restore.

14 If you chose to restore storage groups and you did not select Mount database after restore (after the restore), be sure to mount the storage group databases that were restored.

Instant recovery for Exchange on Windows VSSThis topic supplements the information on instant recovery in the NetBackup 6.5 for Microsoft Exchange Administrator’s Guide.

Policy recommendationsCreate the following policies when you use instant recovery:

■ Create a policy with Retain snapshots for Instant Recovery enabled.

■ In the Snapshot Client Options, set Maximum Snapshots to a small number.

■ For fast temporary backups, create a Full Backup schedule and select the Instant Recovery option Snapshots only.

■ Do not rely on a snapshot-only backup for Disaster Recovery. If you create a snapshots-only schedule, also do one of the following:

■ Create other schedules that perform snapshot backups to a storage unit. (Use the instant recovery option Snapshots and copy snapshots to a storage unit.)

■ Create a snapshot policy with the instant recovery enabled and with the option Snapshots and copy snapshots to a storage unit selected.

■ Create a snapshot policy, without instant recovery enabled.

Configuration requirements for ExchangeA special requirement exists when you want to use instant recovery (IR) with the Microsoft System Provider. In this case, Symantec recommends when you create the policy that you only include storage groups whose databases are on a common volume. If you have a an IR policy that backs up databases on multiple volumes and you perform a restore that rolls back a subset of those volumes,

232 NetBackup for Exchange supportInstant recovery for Exchange on Windows VSS

NetBackup deletes the other snapshots. In this case you lose the IR capability of the backup for the other volumes that you did not roll back.

If you use instant recovery with the Microsoft System Provider and you select a set of storage groups that spans multiple volumes, NetBackup creates a backup set with one snapshot for each volume. On a subsequent backup, if any of the snapshots are rolled back, then all of the snapshots in that set are deleted. (With SFW or the hardware system provider, the rolled back snapshots are re-snapped so that the snapshot set remains complete.)

This is a normal operating situation that typically occurs when you do a roll-forward restore of a storage group whose database and log folders are on separate volumes. The database volume normally is rolled back but the log volume is copied back. This action preserves the logs that were created since the backup. NetBackup then deletes the log snapshot and removes the IR copy of the backup image from the catalog. The storage unit copy of the backup, if one exists, remains.

LimitationsThe following limitations exist for instant recovery operations:

■ NetBackup can only restore instant recovery backups performed with NetBackup 6.5.2 or later.

■ Instant recovery does not support off-host backups.

Operational notesReview the following notes before you perform instant recovery operations:

■ When using SFW to make your Exchange IR snapshots, use Veritas Enterprise Administrator (VEA) rather than vshadow or vssadmin to view and manage your snapshots. SFW resnaps a volume after a rollback restore, but the Microsoft utilities are not aware of the new snapshot. They falsely report that the snapshot does not exist.

■ When you restore an instant recovery backup in a cluster environment, the same node must be active as when the backup was created.

Copy-back instant recovery restore methodThe copy -back restore method is used in the following situations:

■ If the system provider is used and the snapshot selected for restore is not the most recent snapshot.

■ If there are other files on the volume that would be lost.

233NetBackup for Exchange supportOff-host backups

■ If all the files on the snapshot are not selected for restore.

■ If you select Roll-Forward Recovery (in the Restore Marked Files dialog box). A Roll-Forward recovery needs the log files that were created since the backup. A rollback can not be performed since it removes those log files.

TroubleshootingAn additional log exists that you can use to troubleshoot backups and restores.

install_path\NetBackup\logs\beds

You can create this directory manually or run install_path\NetBackup\logs\mklogdir.bat.

Off-host backupsNote the following requirements and operational notes for off-host backups:

■ VxVm 5.0 or later is required for Exchange 2007 off-host backups using SFW.

■ To successfully perform backups using the VSS Provider for VxVM 5.0, you must apply two hotfixes.

■ For Exchange 2003 and Exchange 2007, you must apply the following hotfix on all systems where a Snapshot Client backup occurs. The hotfix can be obtained by calling Symantec Support. This hotfix will also be included in the SFW/SFW-HA 5.0 MP1 release. See the following TechNote for more information.

http://entsupport.symantec.com/docs/295112

Note: This information has changed since NetBackup 6.5.1.

■ If you have Exchange 2007 and use the VSS off-host method, you must also apply the following hotfix.

http://entsupport.symantec.com/docs/292544

■ Off-host backups with SFW require that you backup only one VxVM disk group at a time.

■ Initiating an off-host snapshot backup from the NetBackup Client GUI or the bpbackup command

When you use the NetBackup Client GUI or the bpbackup command to initiate an Exchange off-host alternate client backup or a backup of the passive node of a CCR cluster, the backup will fail. Instead, use the NetBackup Administration Console to initiate a manual backup for that Exchange policy. See the “Testing Configurations Settings” section in the

234 NetBackup for Exchange supportOther operational notes

NetBackup for Exchange System Administrator’s Guide for instructions regarding a manual backup operation.

This functionality will be supported in a future release.

Other operational notesReview the following information before you perform Exchange backup and restore operations:

■ Concurrent restore of multiple storage groups

When you use multiple backup streams, for example, one stream for each storage group, only the last storage group restored from the last restore job is properly mounted. Recovery of the remaining storage groups is not complete.

Take one of these corrective actions:

■ If you are restoring from a snapshot backup, simply mount the unmounted storage groups.

■ If you are restoring from a legacy (non-snapshot) backup, restore the logs from the last backup set for each storage group individually.

To avoid these steps, you can also restore the storage groups individually in separate restore operations.

Chapter 9

NetBackup for Microsoft SQL Server updates

This topic provides additional details for new NetBackup for Microsoft SQL Server features.

SQL Server file-based checkpoint/restart

File checkpointingUse file checkpointing if you need to perform a large backup and want to save completed work in case the operation fails before it completes. When file checkpointing is enabled, the database or filegroup is divided into file sets that are backed up as separate units. The following batchfile command initiates file checkpointing:

MAXRESTARTS integer

The backup operation is split into the number of operations specified by the integer value, unless the total number of files comprising the database or filegroup operation is less than that value. In this case, the number of separate operations is the number of files.

File checkpointing is available for databases and filegroups that are backed up as streams or with the snapshot option. However, the following restrictions exist:

■ The backup object must contain at least two files.

■ The recovery model of the database cannot be “simple”.

■ If the IR snapshot backup method is selected and you select the resume option Save work and restart at point of failure, the resume option is ignored.

236 NetBackup for Microsoft SQL Server updatesSQL Server file-based checkpoint/restart

■ The batch file that you use for a file checkpoint backup can specify only one database or filegroup. You cannot use the “'backup database $ALL” option.

When you use file checkpointing for backing up a full database, NetBackup for SQL Server automatically splits the database into file set components. Recovering the database from components requires a restore of the transaction log. NetBackup for SQL Server automatically includes a backup log directive in the generated batch file when you choose file checkpointing from the backup dialog box.

Using automatic retries with file checkpointingRetry may also be used in conjunction with file checkpoints. You can create the batch file so that any parts of the operation that fail are written to a new batch file that can be launched either automatically or manually.

See “File checkpointing” on page 235.

You can easily enable file checkpointing with automatic retry in the backup dialog in the NetBackup for SQL Server graphical user interface. Simply select a single database (or filegroup), then from the “Resume options for this selection” list, choose Save work and restart at point of failure. This creates a batch file that contains the following scripting:MAXRESTARTSETS 32RESTARTWAITSECONDS 60NUMRESTARTS 1

MAXRESTARTSETS 32 means that up to 32 pieces are backed up independently. The next two keywords are synonymous with the following:RETRYWAITSECONDS 60 NUMRETRIES 1

These keywords indicates two things: first, that an automatic retry is launched after 60 seconds for all of the pieces that failed to get backed up on the first time. Second, the restart is attempted only one time. You can manually change either of these parameters.

In addition, you can choose to not have the retry script automatically launched. Replace the NUMRETRIES command with RETRYTYPE MANUAL.NUMRETRIES 1withRETRYTYPE MANUAL

When manual retry is enabled, the generated batch file for the components that were unsuccessfully backed up is written to the following folder:NB_INSTALL\dbext\mssql\retry

237NetBackup for Microsoft SQL Server updatesSQL Server file-based checkpoint/restart

Resume optionsThe option “Retry failed backups” has been replaced with “Resume options for this selection.”

The values for this option are as follows:

■ Do not resume unsuccessful backups

■ Retry from the beginning

Restart failed backups after waiting 60 seconds.

■ Save work and restart at point of failure

Divide the backup into multiple streams and back up separately. Any streams that fail are restarted after 60 seconds.

This option is available when the following conditions have been met:

■ Exactly one object has been selected,

■ The object that is selected for backup is a database or filegroup and the backup type is full,

■ The SQL Server object uses the “full” or “bulk-logged” recovery method.

New batchfile keywords■ Several keywords have been renamed. The old keyword names can also be

used in batchfiles.

■ NUMRETRIES has been renamed NUMRESTARTS.

■ RETRYTYPE has been renamed RESTARTTYPE.

■ RETRYWAITSECONDS has been renamed RESTARTWAITSECONDS.

■ There is a new batchfile keyword: MAXRESTARTSETS

Value: integer

Required: No

Default: none

Use MAXRESTARTSETS to enable file checkpointing. The valid range is 2 to 32. This parameter specifies the number of separate streams into which the backup request is sub-divided.

238 NetBackup for Microsoft SQL Server updatesSQL Server file-based checkpoint/restart

Chapter 10

Storage Lifecycle Policy destination configuration changes

The 6.5.2 NetBackup release introduces several configuration changes for storage lifecycle policy storage destinations.

The changes appear in the Storage Destination dialog box (Figure 10-1) as follows:

■ The new Snapshot destination type is available when the Snapshot Client option is installed.

For more information, see “Configuring a lifecycle policy for snapshots” on page 98.

■ The Alternate read server selection is available for duplication destinations only.

For more information, see “Alternate Read Server option enabled only for duplication destinations” on page 240.

■ The Preserve multiplexing option is available to preserve multiplexing for tape-to-tape duplication within a storage lifecycle.

For more information, see “Duplicating multiplexed backups with the Preserve multiplexing option” on page 241.

240 Storage Lifecycle Policy destination configuration changesAlternate Read Server option enabled only for duplication destinations

Figure 10-1 Changes in Storage Destination dialog box

Alternate Read Server option enabled only for duplication destinations

In this release, the Alternate read server option is available for selection only when configuring duplication destinations. This option lets the administrator specify the media server to use to connect to the duplication destination.

For example, consider that a source backup is in a SharedDisk disk pool that contains three media servers. Each media server is connected to a separate tape library. The administrator can specify one of the media servers in the SharedDisk pool to read the image.

Considerations for upgradingIn 6.5, the Alternate read server option was available for backup storage destinations only. Upon upgrade to 6.5.2, if the Alternate read server option is enabled for a backup destination, the Alternate read server option becomes disabled with no server selected.

To indicate an alternate read server, the administrator must edit the lifecycle by selecting a duplication destination and indicate an alternate read server.

New Snapshot destination type

Alternate read server selection available to duplication destinations only

Preserve multiplexing available for multiplexed source images

Expire after duplication now available for Duplication destination type

241Storage Lifecycle Policy destination configuration changesDuplicating multiplexed backups with the Preserve multiplexing option

Duplicating multiplexed backups with the Preserve multiplexing option

The new Preserve multiplexing option is available to preserve multiplexing for tape-to-tape duplication within a storage lifecycle.

The source backups must be multiplexed on tape for this option to have an effect. If Preserve multiplexing is not enabled, the backup copies are de-multiplexed before they are copied.

If the duplication writes to disk, the Preserve multiplexing option is ignored.

Best practices for duplicating multiplexed backupsThe Preserve multiplexing option works as intended when lifecycle duplication is turned off during the backup window. If duplication is not suspended, the behavior and results will be unpredictable as they will be subject to a number of conflicting demands of backup and duplication operations.

To turn off lifecycle duplication, use the nbstlutil command. The command can deactivate individual storage lifecycle policies, preventing duplications from occurring.

For example, the following command can be included in scheduled scripts to prevent storage lifecycle policy GOLD_SPL from duplicating backups:

nbstlutil inactive -lifecycle GOLD_SLP

After this command issues, no duplication operations occur for the GOLD_SLP policy until the following command is issued:

nbstlutil active -lifecycle GOLD_SLP

Note the following items when using nbstlutil:

■ Setting the storage lifecycle policy to inactive does not stop duplications that are already in progress.

■ Setting the storage lifecycle policy to inactive does not prevent backups from using lifecycle. The inactive setting only prevents duplication of the original backups from occurring.

■ A nbstlutil status change is persistent. Issue the corresponding command to clear a particular status setting.

242 Storage Lifecycle Policy destination configuration changesnbstl command changes

nbstl command changesThe NetBackup storage lifecycle utility command (nbstl) gives administrators the ability to create, modify, and delete storage lifecycle policies.

The nbstl command contains the following operations and options in 6.5.2:

nbstl [storage_lifecycle_name] [-v] [-M master_server] -L | -lnbstl storage_lifecycle_name [-v] [-M master_servpwer] -deletenbstl storage_lifecycle_name [-add | -modify]

[-v] [-M master_server][-dc data_classification][-dp duplication_priority][-uf used_for1[,used_for2,..used_forn][-residence storage_unit1[,storage_unit2,..storage_unitn]][-pool volume_pool1[,volume_pool2,..volume_pooln]][-server_group host1[,host2,..hostn]][-managed m1[,m2,..mn]][-rl retention_level1[,retention_level2,..retention_leveln]][-as alt_read_server1[,alt_read_server2,..alt_read_servern]]

New value for –as parameterAn alternate read server can no longer be indicated for backup and snapshot destinations. (See “Alternate Read Server option enabled only for duplication destinations” on page 240.) Therefore, when using nbstl -as command to change the alternate server parameter for a destination in a lifecycle, use the new __NA__ value to represent backup and snapshot destinations.

Note: Use double underscores before and after NA.

Consider the following command example:

nbstl -modify -M testcycle -as __NA__, server2, server3, __NA__

This command example indicates the following changes for storage lifecycle policy testcycle:

■ Destination 1 in the lifecycle policy is a backup destination.

__NA__ indicates that an alternate read server is not applicable for the destination.

■ Destination 2 is a duplication destination and uses server2 as the alternate read server.

■ Destination 3 is a duplication destination and uses server3 as the alternate read server.

243Storage Lifecycle Policy destination configuration changesnbstl command changes

■ Destination 4 in the lifecycle policy is either a backup or a snapshot destination. __NA__ indicates that an alternate read server is not applicable for the destination.

244 Storage Lifecycle Policy destination configuration changesnbstl command changes

Chapter 11

AdvancedDisk storage option updates

This AdvancedDisk documentation supersedes the AdvancedDisk documentation in the 6.5 versions of the following:

■ NetBackup Administrator’s Guide for UNIX and Linux

■ NetBackup Administrator’s Guide for Windows

This section contains the following topics:

■ “New in NetBackup 6.5.2” on page 245

■ “Introduction” on page 246

■ “File system requirements” on page 247

■ “Installing AdvancedDisk” on page 247

■ “Configuring AdvancedDisk” on page 249

■ “Managing AdvancedDisk” on page 258

■ “Troubleshooting AdvancedDisk” on page 270

New in NetBackup 6.5.2With this release, the AdvancedDisk feature now supports the following:

■ Storage access by more than one media server. Previously, only one media server accessed the storage.

■ Specification of preferred or required media servers for restore and duplication operations. For AdvancedDisk, this new capability replaces the FORCE_RESTORE_MEDIA_SERVER option.

This capability provides the following benefits:

246 AdvancedDisk storage option updatesIntroduction

■ Offloads the workload of restores from the servers that perform the backups.

■ Directs the duplication traffic to specific storage servers.

See “Configuring AdvancedDisk storage servers” on page 249.

IntroductionThe NetBackup AdvancedDisk storage option lets you use the disk storage that is attached to a NetBackup media server. (Attached means a file system mount on the storage.) NetBackup aggregates the disks into pools of storage you can use for backups. NetBackup manages the storage as logical entities (disk pools).

Figure 11-1 shows media servers and network mounted disks.

Figure 11-1 AdvancedDisk media servers and disks

The NetBackup AdvancedDisk storage option provides the following benefits:

■ The option is easy to deploy and use. NetBackup discovers the storage and uses familiar NetBackup storage units and backup policies to use the storage.

■ Allows multiple file systems to be used in a single storage unit.

■ Storage unit capacity can be increased by adding disks. Only add what you need when you need it. After you add disks, update the NetBackup disk pools. Logical units of storage span physical boundaries, so you do not have to create new NetBackup storage units or change the backup policies.

■ Reduces the amount of administrator attention. Policies distribute job load and manage capacity so that jobs do not fail when disk space is unavailable.

Disk volumes

Network file system mounts

NetBackup media servers

247AdvancedDisk storage option updatesFile system requirements

File system requirementsAdvancedDisk can read and write any nonshared file system that NetBackup supports. However, certain operating system or file system requirements or limitations may apply. The following subsections describe known requirements and limitations. Other limitations that depend on your operating system may exist.

Disk pool configuration may affect how you configure your file systems.

See “Configuring an AdvancedDisk disk pool” on page 252.

NFS file system requirementsThe following are the requirements for the NFS file system:

■ You must use manual mount points.

Automatic mount and unmount can change mount points, which may cause disk resources to be unavailable.

■ The NFS server that exports the mount points must be configured to allow root access to the file systems.

If you specify more than one storage server, the following must apply for the file systems of the disk volumes:

■ Each media server must mount the file systems of all the disk volumes within a disk pool.

■ The mount points must be the same on each media server.

NetBackup does not validate mount points, so you must ensure that the mount points are the same for each media server. You also must ensure that the mount points are valid.

Windows CIFS not supportedOn Windows, networked mapped devices are not visible to Windows services, and AdvancedDisk cannot discover Common Internet File System disk volumes. Therefore, AdvancedDisk does not support the Common Internet File System.

Installing AdvancedDiskNo special installation is required for the NetBackup components of AdvancedDisk. However, You must activate the feature by entering the Flexible Disk Option license key on the NetBackup master server.

To enable access by more than one media server, do the following:

248 AdvancedDisk storage option updatesInstalling AdvancedDisk

■ Upgrade the NetBackup master server and the NetBackup EMM server to NetBackup 6.5.2. (Normally, the master server and the EMM server are on the same computer.)

■ To enable NetBackup Administration Console support on media servers, upgrade the media servers that are used for AdvancedDisk operations to NetBackup 6.5.2.

You do not have to upgrade the media servers. You can configure and manage multiple storage servers as follows:

■ Run the Administration Console and the Disk Pool configuration wizard on the master server. GUI support for multiple AdvancedDisk storage servers is included with the 6.5.2 software on the master server. Also, you can start the Administration Console on the master server and then change servers to a media server.

Upgrade a media server if you want to start the Administration Console on that media server. You can use that instance of the Administration Console to configure and manage that media server.

■ Use NetBackup commands to configure and manage multiple AdvancedDisk media servers. NetBackup 6.5 and later commands support multiple AdvancedDisk media servers.

To use preferred or required servers for restore or duplication, do the following:

■ Upgrade the NetBackup master server and the NetBackup EMM server to NetBackup 6.5.2. (Normally, the master server and the EMM server are on the same computer.)

■ To enable command line support on media servers, upgrade the media servers that are used for AdvancedDisk operations to NetBackup 6.5.2.

However, you do not have to upgrade the media servers. Instead, you can configure and manage the restore and duplication storage servers by invoking the commands on the master server.

In NetBackup 6.5.2, you must use NetBackup commands to configure and manage storage server attributes.

You may have one license key that activates NetBackup and all of your add-on products. Alternatively, you may have a separate license key for NetBackup and for each add-on product such as AdvancedDisk.

If you remove the Flexible Disk Option license key or if it expires, the following restrictions apply:

■ You cannot create the disk pools or the storage units that reference AdvancedDisk disk pools.

249AdvancedDisk storage option updatesConfiguring AdvancedDisk

■ The NetBackup jobs that try to use the disk pools or the storage units that are based on disk pools fail. The error message indicates that the feature is not licensed.

NetBackup does not delete the disk pools or the storage units that reference the disk pools. You can use them again if you enter a valid license key.

Configuring AdvancedDiskTo configure AdvancedDisk, do the following in order:

■ “Configuring AdvancedDisk storage servers” on page 249

■ “Configuring an AdvancedDisk disk pool” on page 252

■ “Creating a storage unit” on page 254

■ “Creating a backup policy” on page 257

■ “Restores” on page 258

After you configure a storage unit, you can create the NetBackup policies that you use the storage unit as the destination for backups.

Configuring AdvancedDisk storage serversA storage server is a logical entity that reads or writes data on disk storage. It has a mount on the file system on the storage. NetBackup media servers function as storage servers. You must configure as storage servers the NetBackup media servers that have read and write access to the storage.

(When you configure a storage server, it also is configured as a data mover, which is a logical entity that moves backup data. For AdvancedDisk, NetBackup media servers function as both storage servers and data movers. Data moves from primary storage (a NetBackup client) to secondary storage during backups. Data also can move from secondary storage to tertiary storage during duplication and to primary storage during restores.)

If you configure multiple storage servers, be aware of the following:

■ To obtain a consolidated list of disk volumes, NetBackup queries every storage server. For large sets of storage servers, queries may affect performance.

■ Disk volume status is monitored on a single media server. Which server monitors the status can change. Therefore, a change in disk volume availability on one media server may not be reflected in the disk volume status NetBackup ports.

For restores and duplications, you can specify the following storage server attributes:

250 AdvancedDisk storage option updatesConfiguring AdvancedDisk

■ Preferred restore server

■ Required restore server

■ Required duplication server

For AdvancedDisk, you can use these storage server attributes rather than the FORCE_RESTORE_MEDIA_SERVER option.

For information about the FORCE_RESTORE_MEDIA_SERVER option, see the NetBackup Administrator’s Guide, Volume I.

If you do not specify these attributes, NetBackup uses normal criteria to select a media server for restore or duplication. (That is, if you configure more than one storage server.)

Storage servers are associated with a disk pool when you create a disk pool.

To determine if a media server is configured as a storage server already

◆ Run the following command on the NetBackup master server:nbdevquery -liststs

The following is the path to the command:

UNIX and Linux: /usr/openv/netbackup/bin/admincmd

Windows: install_path\Program Files\VERITAS\NetBackup\bin\admincmd

The command lists all storage servers already configured. By default, NetBackup configures all media servers as BasicDisk storage servers. Therefore, all media servers in your environment appear as BasicDisk servers, as in the following example:nbdevquery -liststsV6.5 tree.symantecs.org BasicDisk 5V6.5 flower.symantecs.org BasicDisk 5V6.5 water.symantecs.org BasicDisk 5

If the media server does not appear in the command output as an AdvancedDisk storage server, configure the media server as a storage server.

To configure an AdvancedDisk storage server in NetBackup

◆ Run the following command on the NetBackup master server or the media server:nbdevconfig -creatests -storage_server storage_server -stype AdvancedDisk [-st storage_type] -media_server media_server [-setattribute attribute]

The following is the path to the command:

UNIX and Linux: /usr/openv/netbackup/bin/admincmd

Windows: install_path\Program Files\VERITAS\NetBackup\bin\admincmd

251AdvancedDisk storage option updatesConfiguring AdvancedDisk

The following are the options and arguments:

■ -storage_server storage_server is the name of the NetBackup media server that has a file system mount on the storage.

■ -stype AdvancedDisk value specifies the storage server type.

■ -st storage_type is a numeric value that specifies the server properties. For AdvancedDisk, the default is 5 (direct attached, formatted disk). Required only if you want to use a value other than the default.

The value is obtained by adding together the numeric values of the following properties:

1 - formatted disk. The disk is formatted as part of the vendor-specific preparation; NetBackup does not format the disk.

2 - raw disk. The disk is not formatted; NetBackup formats the disk.

4 - direct attached. Direct attached means that the storage server and media server are the same NetBackup host.

8 - network attached. Network attached means that the storage server is physically distinct from the NetBackup media server. It does not imply LAN data movement; it precludes Fibre Channel as the transport for data movement.

Whether the disk is formatted and how it is attached are mutually exclusive and complementary.

■ -media_server media_server is the name of the NetBackup media server that performs the operation. Use the same name as the storage server name.

■ -setattribute attribute is an attribute to apply to the storage server for the read side of restore or duplication operations. These attributes can help you manage the restore and duplication traffic. You can specify more than one -setattribute attribute pair on the command line. The following are the attributes:

■ PrefRestore. The storage server is preferred for the read side of restore operations. More than one storage server can have the PrefRestore attribute.

Storage servers that are marked as PrefRestore are considered for use first. If none are available, any unmarked storage server is considered for use.

Normal NetBackup load balancing occurs among all storage servers marked PrefRestore.

■ ReqRestore. The storage server is required for the read side of restore operations. More than one storage server can have the ReqRestore attribute.

252 AdvancedDisk storage option updatesConfiguring AdvancedDisk

If a ReqRestore server is not available, NetBackup considers PrefRestore servers for use. If none are available, jobs queue until a ReqRestore or PrefRestore is available.

If you configure ReqRestore servers but not PrefRestore servers, unmarked storage servers are never considered for restore jobs. Jobs queue until a ReqRestore storage server is available to execute the job. Normal NetBackup rules for job retry apply.

Normal NetBackup load balancing occurs for all storage servers marked ReqRestore. Load balancing does not occur between the ReqRestore and PrefRestore storage servers.

■ ReqDuplicate. The storage server is required for the read side of duplication operations. More than one storage server can have the ReqDuplicate attribute.

If any storage server is marked as ReqDuplicate, only storage servers that are marked as ReqDuplicate are considered for use. If a ReqDuplicate server is unavailable, jobs queue until a ReqDuplicate server is available to execute the job. Normal NetBackup rules for job retry apply.

ReqDuplicate also applies to storage server allocation for synthetic backup operations.

Note: Only the media servers that are configured in the storage unit are considered for jobs. Therefore, if you select a subset of the disk pool storage servers in a storage unit, it may affect the servers that NetBackup can select.

You can remove the attributes you place on a storage server.

See “Removing storage server attributes” on page 265.

Storage unit usage recommendations to manage traffic are available.

See “Managing backup, restore, and duplication traffic” on page 256.

Configuring an AdvancedDisk disk poolAn AdvancedDisk disk pool represents disk volumes in the underlying disk storage. NetBackup aggregates the disk volumes into pools of storage you can use for backups.

Note: Symantec recommends that you do not span backup images across volumes in an AdvancedDisk disk pool. File system full conditions cannot be detected adequately. Therefore, each disk pool should be comprised of only one volume.

253AdvancedDisk storage option updatesConfiguring AdvancedDisk

Figure 11-2 shows a disk pool configuration.

Figure 11-2 AdvancedDisk disk pools

A disk pool is the storage destination of a NetBackup storage unit.

NetBackup assumes exclusive ownership of the disk resources that comprise the disk pool. If you share those resources with other users, NetBackup cannot manage disk pool capacity or storage lifecycle policies correctly.

When you create a disk pool, you specify the following:

■ The storage servers.

When you specify the storage servers, you associate them with the disk pool. Only those storage servers can access the disk pool.

■ The disk volumes to include in the pool.

■ The disk pool properties.

Properties include the name, the high water mark, the low water mark, and a comment that describes the disk pool.

Symantec recommends that disk pool names be unique across your enterprise.

See “Disk pool properties” on page 259.

When NetBackup sends backup data to a disk pool, NetBackup uses available capacity and predicted backup size to select the disk volumes. NetBackup tries to write backup data to a single volume. If necessary, backup images span disk volumes in a disk pool. Backup images do not span across multiple disk pools.

You must first configure the media servers as storage servers.

See “Configuring AdvancedDisk storage servers” on page 249.

To create an AdvancedDisk disk pool

1 In the NetBackup Administration Console tree, select Media and Device Management.

2 From the list of wizards in the Details pane, click Configure Disk Pool and follow the wizard instructions.

vol3

vol2

vol1Disk volumes

AdvDiskPool _Gold

AdvDiskPool _Silver

AdvDiskPool _Bronze

254 AdvancedDisk storage option updatesConfiguring AdvancedDisk

NetBackup does not filter out common file system mount points, such as / and /usr. Therefore, carefully choose the volumes to include in a disk pool.

For help, see the wizard help.

Creating a storage unitCreate one or more storage units that reference the disk pool.

The Disk Pool Configuration Wizard lets you create a storage unit; therefore, you may have created a storage unit when you created a disk pool. To determine if storage units exist for the disk pool, see the NetBackup Management > Storage > Storage Units window of the Administration Console.

Storage unit usage recommendations are available.

See “Storage unit usage recommendations” on page 256.

To create a storage unit from the Actions menu

1 In the NetBackup Administration Console, select NetBackup Management > Storage > Storage Units.

2 Click Actions > New > Storage Unit.

3 Complete the fields in the New Storage Unit dialog box.

Storage unit propertiesThe following are the configuration options for a disk pool storage unit.

Storage unit nameEnter a unique storage unit name for the new storage unit. The name can describe the type of storage. The storage unit name is the name used to specify a storage unit for policies and schedules. The storage unit name cannot be changed after creation.

Storage unit typeSelect Disk as the storage unit type.

Disk typeSelect AdvancedDisk.

Disk poolSelect the disk pool that contains the storage for this storage unit.

All disk pools of the specified Disk type appear in the Disk pool list. If no disk pools are configured, no disk pools appear in the list.

255AdvancedDisk storage option updatesConfiguring AdvancedDisk

Media serverThe Media server setting specifies the NetBackup media servers to use for the storage unit. Only the NetBackup media servers that are associated with the disk pool appear in the media server list.

Specify the media server or servers as follows:

■ To allow any server in the media server list to access the storage server (default), select Use any available media server.

■ To restrict the media servers that can function as data movers for this storage unit, select Only use the following media servers. Then, select the media servers to allow.

NetBackup selects the media server to use when the policy runs.

Maximum fragment sizeSpecify the largest fragment size that NetBackup can create to store backups.

The default maximum fragment size for a disk storage unit is 524,287 megabytes. To specify a maximum fragment size other than the default, enter a value from 20 megabytes to 524,287 megabytes.

Backups to disk are usually fragmented to ensure that the backup does not exceed the maximum size that the file system allows.

If an error occurs in a backup, the entire backup is discarded. The backup restarts from the beginning, not from the fragment where the error occurred. (An exception is for backups for which checkpoint and restart is enabled. In that case, fragments before and including the last checkpoint are retained; the fragments after the last checkpoint are discarded.)

Maximum concurrent jobsThe Maximum concurrent jobs setting specifies the maximum number of jobs that NetBackup can send to a disk storage unit at one time. (Default: 1 job. The job count can range from 0 to 256.) This setting corresponds to the Maximum concurrent write drives setting for a Media Manager storage unit.

NetBackup queues jobs until the storage unit is available. If three backup jobs are ready and Maximum concurrent jobs is set to two, the first two jobs start and the third job waits. If a job contains multiple copies, each copy applies toward the Maximum concurrent jobs count.

The number to enter depends on the available disk space and the server's ability to run multiple backup processes.

You can use maximum concurrent jobs to balance the load between disk storage units. A higher number of concurrent jobs means that the disk can be busier than if the number is lower.

256 AdvancedDisk storage option updatesConfiguring AdvancedDisk

Warning: A Maximum concurrent jobs setting of 0 disables the storage unit.

For information about how NetBackup balances storage unit and media server load, see “Maximum concurrent jobs” in:

■ NetBackup Administrator’s Guide for UNIX and Linux, Volume I

■ NetBackup Administrator’s Guide for Windows, Volume I

Storage unit usage recommendationsFor usage recommendations, see the following:

Managing backup, restore, and duplication trafficIf you use multiple storage servers and one storage unit, all of the disk pool storage servers are available for any job. NetBackup selects the storage server to use based on availability and load balancing criteria.

You can manage the restore and duplication traffic by using the preferred and required storage server attributes for restore and duplication. NetBackup then uses availability and load balancing criteria to select among the storage servers that are marked for restores or duplications. For restores, NetBackup may select an unmarked storage server if all of the ones that are marked for restore are unavailable. For backups, NetBackup selects a storage server from among the storage unit’s available storage servers.

To further manage traffic, you can use multiple storage units for one disk pool, as in the following example:

■ One storage unit and one policy for backups. When you configure the storage unit, select only the storage servers that you want to use for backups. When you configure the policy, select the “backup” storage unit.

■ One storage unit and one policy for restores. When you configure the storage unit, select only the storage servers that are marked as PrefRestore and ReqRestore. When you configure the policy, select the “restore” storage units.

If you configure both preferred and required storage servers, NetBackup never selects an unmarked storage server for a restore job.

■ One storage unit and one policy for duplications. In the duplications storage unit, select only the storage servers that are marked as ReqDuplicate. When you configure the policy, select the “duplication” storage unit.

You do not have to partition the storage; all storage units use the same pool of storage.

For information about how NetBackup balances storage unit and media server load, see “Maximum concurrent jobs” in:

257AdvancedDisk storage option updatesConfiguring AdvancedDisk

■ NetBackup Administrator’s Guide for UNIX and Linux, Volume I

■ NetBackup Administrator’s Guide for Windows, Volume I

Managing backup traffic based on importanceYou can separate your backup traffic similarly and write all of the data to the same disk pool. For example, you can send the backups from your most important clients to a media server that is dedicated for the most important backups:

■ Define a storage unit (such as STU-CRITICAL). Select the disk pool. Select Only use the following media servers. Select one (or a subset) of the media servers.

■ Create a backup policy for the critical clients and select the STU-CRITICAL storage unit.

■ Define another storage unit (such as STU-NORMAL). Select the same disk pool. Select Only use the following media servers. Select a different subset of the media servers.

■ Create a backup policy for the regular clients and select the STU-NORMAL storage unit.

Maximum concurrent job settingYou can use the multiple concurrent jobs settings on storage units to assign backup priority for important clients. For example, two storage units use the same set of media servers. One of them has a higher concurrent job setting than the other. More client backups occur for the storage unit with the higher concurrent job setting.

Creating a backup policyBackup policies define the rules that NetBackup follows to back up clients.

Use normal NetBackup processes to configure backups to AdvancedDisk storage units. That is, specify the appropriate storage unit in your backup policies. Alternatively, specify a lifecycle policy that uses an AdvancedDisk storage unit as the backup destination or duplication destination.

To create a policy, see the NetBackup Administrator’s Guide for UNIX and Linux, Volume I or the NetBackup Administrator’s Guide for Windows, Volume I.

Monitor backup progress

To monitor backup progress, use the Detailed Status tab of the Job Details dialog box. It shows the media server that functions as the data mover between the client and the storage server.

258 AdvancedDisk storage option updatesManaging AdvancedDisk

If the media server cannot start or complete the job, NetBackup retries the job after the job retry period elapses. (Configure the job retry interval by using the master server Global Attributes Job retry delay host property.)

If you select more than one media server in the storage unit Media server field, NetBackup may retry the job with a different media server.

RestoresUse normal NetBackup processes to restore data from backups.

To perform the restore, NetBackup chooses one of the media servers that can move data to and from the disk pool.

Managing AdvancedDiskThis section contains the following topics:

■ “Managing disk pools” on page 258

■ “Managing storage servers” on page 264

■ “Monitoring storage capacity and usage” on page 268

■ “Viewing disk reports” on page 268

■ “Viewing NetBackup logs” on page 269

Managing disk poolsThe following are tasks to manage disk pools:

■ “Changing disk pool properties” on page 258

■ “Adding volumes to an AdvancedDisk disk pool” on page 260

■ “Changing disk pool or volume state” on page 261

■ “Merging disk pools” on page 262

■ “Deleting a disk pool” on page 262

■ “Obtaining disk pool and volume status” on page 263

Changing disk pool propertiesYou can change the high and the low water marks of a disk pool and change the comment that is associated with the disk pool.

259AdvancedDisk storage option updatesManaging AdvancedDisk

To change disk pool properties

1 In the NetBackup Administration Console tree, select Media and Device Management > Devices > Disk Pools.

2 Select the disk pool you want to change in the details pane.

3 Click Edit > Change.

4 In the Change Disk Pool dialog box, change properties.

Disk pool propertiesThe following are the disk pool properties:

■ The disk pool name.

■ The storage server name. For AdvancedDisk, the storage server is the same as the NetBackup media server to which the storage is attached.

■ The disk volumes that comprise the disk pool.

■ The total amount of space available in the disk pool.

■ The total raw, unformatted size of the storage in the disk pool.

■ A comment that is associated with the disk pool.

■ The high water mark for the disk pool. (The default is 98%.)

The high water mark is a threshold that indicates the storage is full. It applies to both the individual disk volumes in the pool and the disk pool, as follows:

■ Individual volumes. When a disk volume reaches the high water mark, NetBackup writes the data to another disk volume in the pool.

■ Disk pool. When all volumes are at the high water mark, the disk pool is full. When a disk pool approaches the high water mark, NetBackup reduces the number of jobs that are allowed to write to the pool. NetBackup does not assign new jobs to a storage unit in which the disk pool is full.

■ The low water mark for the disk pool. (The default is 80%.)

When the capacity of the disk pool returns to the low water mark, NetBackup again assigns jobs to the storage unit. Capacity is regained as backup images expire.

The low water mark setting cannot be greater than or equal to the high water mark setting.

260 AdvancedDisk storage option updatesManaging AdvancedDisk

Adding volumes to an AdvancedDisk disk poolYou can expand a disk pool’s capacity by adding disk volumes to the disk pool. The names of the new volumes must differ from the names of the volumes in the current disk pool.

(By default, NetBackup automatically increases disk pool capacity if the capacity of the underlying disk volumes increases. Similarly, NetBackup decreases the capacity of a disk pool if the underlying disk volume capacity decreases.)

The NetBackup storage units that use the disk pool automatically use the additional storage capacity. You do not have to change the storage units.

To add volumes to an AdvancedDisk disk pool

1 Create a disk pool from the new disk volumes on the storage server.

See “Configuring an AdvancedDisk disk pool” on page 252.

2 Change the state of the two disk pools to DOWN. The following is the command syntax:nbdevconfig -changestate -stype AdvancedDisk -dp disk_pool_name -state DOWN

The following is the path to the command:

UNIX and Linux: /usr/openv/netbackup/bin/admincmd

Windows: install_path\Program Files\VERITAS\NetBackup\bin\admincmd

If backup jobs are assigned to a disk pool, the state change fails. Cancel the backup jobs or wait until the jobs complete.

3 Merge the disk pools. The following is the command syntax. The primary disk pool is the one you want to retain; nbdevconfig deletes the secondary disk pool after the merge. nbdevconfig –mergedps -stype AdvancedDisk -primarydp disk_pool_name -secondarydp disk_pool_name

4 Change the state of the primary disk pool to UP. The following is the command syntax:nbdevconfig\nbdevconfig -changestate -stype AdvancedDisk -dp disk_pool_name -state UP

Removing a volume from a disk poolYou can remove a volume from a disk pool. The following are the prerequisites:

■ NetBackup image fragments cannot exist on the disk volume.

■ NetBackup jobs cannot be active on the disk volume.

By default, NetBackup automatically decreases disk pool capacity if you remove a disk volume.

261AdvancedDisk storage option updatesManaging AdvancedDisk

To remove a volume from a disk pool

1 Change the disk volume state to DOWN.

See “Changing disk pool or volume state” on page 261.

2 Change the disk pool state to DOWN.

See “Changing disk pool or volume state” on page 261.

3 Remove the volume by using the nbdevconfig command. The following is the command syntax:nbdevconfig -deletedv -stype AdvancedDisk -dp disk_pool_name –dv vol_name

4 Change the disk pool state to UP.

See “Changing disk pool or volume state” on page 261.

Changing disk pool or volume statePool and volume states are UP or DOWN. You can change the state of a disk pool or volume.

To change the state to DOWN, the disk pool must not be busy. If backup jobs are assigned to the disk pool, the state change fails. Cancel the backup jobs or wait until the jobs complete.

To change the disk pool state by using the Device Monitor

1 In the NetBackup Administration Console, select Media and Device Management > Device Monitor.

2 Select the Disk Pools tab.

3 Select the disk pool.

4 Select either Actions > Up or Actions > Down.

To change the disk volume state

1 Determine the name of the disk volume. The following command lists all volumes in the specified disk pool:nbdevquery -listdv -stype AdvancedDisk -dp disk_pool_name

The following is the path to the command:

UNIX and Linux: /usr/openv/netbackup/bin/admincmd

Windows: install_path\Program Files\VERITAS\NetBackup\bin\admincmd

2 Change the disk volume state; the following is the command syntax:nbdevconfig -changestate -stype AdvancedDisk -dp disk_pool_name –dv vol_name -state state

The state is either UP or DOWN.

262 AdvancedDisk storage option updatesManaging AdvancedDisk

NetBackup jobs still read from and write to a disk pool that has a downed volume, but the downed volume is unavailable.

Merging disk poolsYou can merge existing disk pools.

NetBackup updates the catalog records to show the correct location of the backup images in those disk pools.

The following are the prerequisites:

■ The volumes in the two disk pools must have unique names.

■ If storage units reference the secondary disk pool, you must delete those storage units.

To merge disk pools

1 Change the state of each disk pool to DOWN; the following is the command syntax:nbdevconfig -changestate -stype AdvancedDisk -dp disk_pool_name -state DOWN

The following is the path to the command:

UNIX and Linux: /usr/openv/netbackup/bin/admincmd

Windows: install_path\Program Files\VERITAS\NetBackup\bin\admincmd

If backup jobs are assigned to a disk pool, the state change fails. Cancel the backup jobs or wait until the jobs complete.

2 Merge the disk pools. The following is the command syntax. The primary disk pool is the one you want to retain; nbdevconfig deletes the secondary disk pool after the merge. nbdevconfig –mergedps –stype AdvancedDisk -primarydp disk_pool_name -secondarydp disk_pool_name

3 Change the state of the primary disk pool to UP. The following is the command syntax:nbdevconfig -changestate -stype AdvancedDisk -dp disk_pool_name -state UP

Deleting a disk poolIf you delete a disk pool, NetBackup removes it from your configuration.

If a disk pool is the storage destination of a storage unit, you must first delete the storage unit.

263AdvancedDisk storage option updatesManaging AdvancedDisk

Warning: Do not delete a disk pool that contains unexpired NetBackup images; if you do, data loss may occur.

To delete a disk pool

1 In the NetBackup Administration Console tree, select Media and Device Management > Devices > Disk Pools.

2 Select a disk pool

3 Click Edit > Delete.

4 In the Delete Disk Pool dialog box, verify that the disk pool is the one you want to delete and then click OK.

Obtaining disk pool and volume statusUse the NetBackup nbdevquery command to obtain the status of NetBackup disk pools and volumes in those disk pools.

Table 11-1 summarizes nbdevquery options for disk pools.

Table 11-1 nbdevquery disk pool options

Option Description

-dv disk_volume Used with -listdv, it shows the properties of the specified disk volume.

-l Produces the parsable output, one line of output per disk volume with no headers. The first field indicates the version of the output as an aid to create scripts. By default, nbdevquery uses the -l option.

-listdp Shows all disk pools.

To show the properties of a specific disk pool, also use the -dp disk_volume option.

-listdv Shows a summary of all disk volumes.

To show the properties of a specific disk volume, also use the -dv disk_volume option.

-stype AdvancedDisk Use this option with the following two options:

■ With -listdp, shows all disk pools of the specified storage type.

■ With -listdv, shows all disk pools of the specified storage type and their disk volumes.

264 AdvancedDisk storage option updatesManaging AdvancedDisk

Managing storage serversYou can do the following to manage the storage servers that exist in your environment:

■ “Viewing storage servers” on page 264

■ “Viewing storage server attributes” on page 265

■ “Removing storage server attributes” on page 265

■ “Removing a storage server from disk pool access” on page 266

■ “Deleting a storage server” on page 267

■ “Obtaining storage server status” on page 267

Viewing storage serversTo view a list of storage servers already configured, use the nbdevquery command.

To view configured storage servers

◆ Run the following command on the NetBackup master server:nbdevquery -liststs

The following is the path to the command:

UNIX and Linux: /usr/openv/netbackup/bin/admincmd

Windows: install_path\Program Files\VERITAS\NetBackup\bin\admincmd

The command lists all storage servers already configured. By default, NetBackup configures all media servers as BasicDisk storage servers. Therefore, all media servers in your environment appear as BasicDisk servers, as in the following example:nbdevquery -liststsV6.5 tree.symantecs.org BasicDisk 5V6.5 flower.symantecs.org BasicDisk 5V6.5 water.symantecs.org BasicDisk 5

-U Produces an output format that is more human-readable.

-D Produces an output format that provides more information than the -U option but is not formatted as much as the -U option.

Table 11-1 nbdevquery disk pool options

Option Description

265AdvancedDisk storage option updatesManaging AdvancedDisk

If the media server does not appear in the command output as an AdvancedDisk storage server, configure the media server as a storage server.

Viewing storage server attributesYou can view the storage server attributes.

To view storage server attributes

◆ Run the following command on the NetBackup master server or a storage server:nbdevquery -liststs -storage_server storage_server -stype AdvancedDisk –U

The following is the path to the command:

UNIX and Linux: /usr/openv/netbackup/bin/admincmd

Windows: install_path\Program Files\VERITAS\NetBackup\bin\admincmd

The following is an example:% nbdevquery -liststs -storage_server advdsk_server -stype AdvancedDisk –UStorage Server : advdsk_server.symantecs.comStorage Server Type : AdvancedDiskStorage Type : Formatted Disk, Direct AttachedState : UPFlag : OpenStorageFlag : FT-TransferFlag : PrefRestore

This example output is shortened; more flags may appear in actual output.

Removing storage server attributesYou can remove the following storage server attributes:

■ Preferred restore server

■ Required restore server

■ Required duplication server

To remove storage server attributes

◆ Run the following command on the NetBackup master server or the storage server:nbdevconfig -changests -storage_server storage_server -stype AdvancedDisk -clearattribute attribute

The following is the path to the command:

UNIX and Linux: /usr/openv/netbackup/bin/admincmd

266 AdvancedDisk storage option updatesManaging AdvancedDisk

Windows: install_path\Program Files\VERITAS\NetBackup\bin\admincmd

The following are the options and arguments:

■ -storage_server storage_server is the name of the storage server.

■ -stype AdvancedDisk specifies the storage server type.

■ -clearattribute attribute is an attribute to remove from the storage server for restore or duplication operations. You can specify more than one -clearattribute attribute pair on the command line. The following are the attributes:

■ PrefRestore. The storage server is preferred for the read side of restore operations.

■ ReqRestore. The storage server is required for the read side of restore operations.

■ ReqDuplicate. The storage server is required for the read side of duplication operations.

Removing a storage server from disk pool accessYou can remove a storage server so that it no longer can access a disk pool. If NetBackup jobs exist that use that storage server, you cannot remove it. An AdvancedDisk storage server is also a media server.

Caution: If you remove the only storage server, data may be lost. NetBackup cannot access the disk pool and the backup images on the disk pool.

To remove a storage server from disk pool access

1 For every storage unit that specifies the storage server (media server), clear the checkbox that specifies the media server. The Use one of the following media servers option specifies the storage servers.

This step is not required if the storage unit is configured to use any available media server.

2 If only one storage server exists, change the state of all disk pools on the array to DOWN. To do so, use the following command:nbdevconfig -changestate -stype AdvancedDisk -dp disk_pool_name -state DOWN

3 Remove the storage server. The following is the command syntax:nbdevconfig -changedp -stype AdvancedDisk -dp disk_pool_name -del_storage_servers storage_server

267AdvancedDisk storage option updatesManaging AdvancedDisk

Deleting a storage serverIf you delete a storage server, NetBackup removes it from your configuration.

However, the media server is not deleted from your configuration. (An AdvancedDisk storage server is also a NetBackup media server.) To delete the media server, use the NetBackup nbemmcmd command.

If a disk pool is configured from the disk volumes that the storage server manages, the storage server cannot be deleted.

Warning: Do not delete a storage server if its storage contains unexpired NetBackup images; if you do, data loss may occur.

To delete a storage server

◆ Use the following command:nbdevconfig -deletests -storage_server storage_server_name -stype AdvancedDisk

The following is the path to the command:

UNIX and Linux: /usr/openv/netbackup/bin/admincmd

Windows: install_path\Program Files\VERITAS\NetBackup\bin\admincmd

Obtaining storage server statusThe NetBackup nbdevquery command lets you obtain the status of storage servers.

Table 11-2 summarizes the nbdevquery options for storage servers.

Table 11-2 nbdevquery storage server options

Option Description

-liststs Shows all storage servers.

-storage_server server_name

Shows the information about the specified storage server. Must be used with the -liststs option.

-stype AdvancedDisk Use this option with the following two options:

■ With -liststs, shows all storage servers of the specified storage type.

■ With -storage_server, shows all storage servers that are at the specified host.

268 AdvancedDisk storage option updatesManaging AdvancedDisk

To view and manage VxUL log files, you must use NetBackup log commands. For information about how to use and manage logs on NetBackup servers, see the NetBackup Troubleshooting Guide.

Monitoring storage capacity and usageTo monitor storage capacity and usage, see the following:

■ The NetBackup Disk Pool status report.

■ The disk pools window. Display the window by selecting Media and Device Management > Devices > Disk Pools.

■ The NetBackup License Keys dialog box. Open the dialog box by selecting Help > License Keys in the NetBackup Administration Console. Display the summary by clicking Summary of active capacity-based license features.

The summary displays the storage capacity for which you are licensed and the capacity used. It does not display the amount of physical storage space.

The NetBackup Operations Manager also provides information about storage capacity and usage. For more information, see the NetBackup Operations Manager Guide.

Viewing disk reportsThe NetBackup disk reports include information about the disk pools, disk storage units, disk logs, images that are stored on disk media, and storage capacity.

To view disk reports

1 In the NetBackup Administration Console tree, expand NetBackup Management > Reports > Disk Reports.

2 Select the name of a disk report.

3 In the right pane, select the report settings.

4 Click Run Report.

269AdvancedDisk storage option updatesManaging AdvancedDisk

Table 11-3 shows the disk reports.

Viewing NetBackup logsYou can monitor NetBackup disk-related activity and status by viewing the NetBackup log files.

Some NetBackup commands or processes write messages to their own log files. Other processes use Veritas unified log (VxUL) files. VxUL uses a standardized name and file format for log files. An originator ID (OID) identifies the process that writes the log messages. For information about the logs, see Table 11-4.

Table 11-3 Disk reports

Report Description

Images on Disk The Images on Disk report generates the image list present on the disk storage units that are connected to the media server. The report is a subset of the Images on Media report; it shows only disk-specific columns.

The report provides a summary of the storage unit contents. If a disk becomes bad or if a media server crashes, this report can let you know what data is lost.

Disk Logs The Disk Logs report displays the media errors or the informational messages that are recorded in the NetBackup error catalog. The report is a subset of the Media Logs report; it shows only disk-specific columns.

Disk Storage Unit The Disk Storage Unit Status report displays the state of disk storage units in the current NetBackup configuration.

For disk pool capacity, see Media and Device Management > Devices > Disk Pools.

Multiple storage units can point to the same disk pool. When the report query is by storage unit, the report counts the capacity of disk pool storage multiple times.

Disk Pool Status The Disk Pool Status report displays the state of disk pool storage units. This report displays only when an Enterprise Disk Option license is installed.

270 AdvancedDisk storage option updatesTroubleshooting AdvancedDisk

Messages that begin with an sts_ prefix relate to the interaction with the storage vendor software plug-in. Most interaction occurs on the NetBackup media servers.

To view and manage VxUL log files, you must use NetBackup log commands. For information about how to use and manage logs on NetBackup servers, see the NetBackup Troubleshooting Guide.

Troubleshooting AdvancedDiskThe following may help you troubleshoot AdvancedDisk:

■ “Unable to access storage” on page 271

Table 11-4 NetBackup logs

Activity VxUL OID Processes that use the ID

Backups and restores

N/A Messages appear in the log files for the following processes:

■ bpbrm backup and restore manger

■ bpdbm database manager

■ bpdm disk manager

■ bptm for I/O operations

Backups and restores

117 The nbjm job manager.

Device configuration

111 The nbemm process.

Device configuration

178 The Disk Service Manager process that runs in the Enterprise Media Manager (EMM) process.

Device configuration

202 The Storage Server Interface process that runs in the Remote Manager and Monitor Service. RMMS runs on media servers.

If the Storage Server Interface logs indicate problems with the Veritas Frozen Image (VxFI) service, examine the VxFI log files for detailed trace information:

■ UNIX: /user/openv/netbackup/logs/bpfis

■ Windows: install_path\VERITAS\NetBackup\logs\bpfis

Device configuration

230 The Remote Disk Service Manager interface (RDSM) that runs in the Remote Manager and Monitor Service. RMMS runs on media servers.

271AdvancedDisk storage option updatesTroubleshooting AdvancedDisk

■ “Multiple storage servers on Windows” on page 271

■ “Volume state changes to DOWN when volume is unmounted” on page 272

■ “Disk failure” on page 272

■ “Restore or duplication operations” on page 273

Unable to access storageIf NetBackup cannot access the storage, one possible cause is that the storage server was created with the incorrect nbdevconfig storage type (-st) value. An AdvancedDisk storage server -st value is 5 (formatted disk, directly attached); values other than 5 are incorrect.

To determine the storage server value

◆ Invoke the following command on the master server or the media server that functions as the storage server:nbdevquery -liststs -stype AdvancedDisk -U

The following is the path to the command:

UNIX and Linux: /usr/openv/netbackup/bin/admincmd

Windows: install_path\Program Files\VERITAS\NetBackup\bin\admincmd

The following output shows an incorrect value for AdvancedDisk:Storage Server : haloStorage Server Type : AdvancedDiskStorage Type : Formatted Disk, Network Attached

To resolve an incorrect storage type problem

1 Delete all disk pools that use the storage server.

2 Delete the storage server.

3 Reconfigure the storage server.

4 Recreate the disk pools.

5 If necessary, specify the new disk pools in the storage units.

If you recreated the disk pools with the same names as the ones you deleted, this step is not necessary.

Multiple storage servers on WindowsAdvancedDisk does not support CIFS. If you try to configure multiple storage servers, NetBackup returns the following message:DSM does not support to use multiple Windows Storage Servers for server type: AdvancedDisk.

272 AdvancedDisk storage option updatesTroubleshooting AdvancedDisk

Volume state changes to DOWN when volume is unmountedIf a volume becomes unmounted, NetBackup changes the volume state to DOWN. The NetBackup jobs that require that volume fail.

To determine the volume state

◆ Invoke the following command on the master server or the media server that functions as the storage server:nbdevquery -liststs -listdv -stype AdvancedDisk -U

The following is the path to the command:

UNIX and Linux: /usr/openv/netbackup/bin/admincmd

Windows: install_path\Program Files\VERITAS\NetBackup\bin\admincmd

The following output shows that a volume named /mnt/nbu is DOWN:Disk Pool Name : AdvDiskPool_BronzeDisk Type : AdvancedDiskDisk Volume Name : /mnt/nbuStatus : DOWNFlag : AdminUp

To change the volume state to UP

◆ Mount the file system

After a brief period of time, the volume state changes to UP. No further action is required.

Disk failureIf recovery mechanisms do not protect a disk that fails, the backup images on that disk are lost. Operating system read and write errors may occur for the volume that represents the disk. NetBackup cannot use that volume because of the errors, and NetBackup jobs may fail.

To prevent NetBackup from trying to read from or write to the disk, you must change the volume state to DOWN in NetBackup. If the volume represents other disks that still function, those disks are not available because the volume state is DOWN. You may be able to read from the volume by mounting it manually. If so, you may be able to recover image fragments from any disks that did not fail.

If you replace a failed disk, you can use the same mount point for the replacement disk. Change the volume state to UP, and NetBackup uses that volume again.

Any valid backup images on that volume are available for restores.

273AdvancedDisk storage option updatesTroubleshooting AdvancedDisk

Restore or duplication operationsIf you use the preferred or required restore or duplication attributes for a storage server, the following may occur:

■ A restore operation uses a storage server that does not have a PrefRestore or ReqRestore attribute. Reasons may be as follows:

■ The destination disk pool does not include a storage server with a restore or duplication attribute.

■ A preferred or required storage server cannot be used because it is unavailable (NetBackup considers it DOWN).

■ A restore or duplication operation is queued. The reason may be that a preferred or required storage server cannot be used because it is unavailable (NetBackup considers it DOWN).

274 AdvancedDisk storage option updatesTroubleshooting AdvancedDisk

Chapter 12

SharedDisk storage option updates

This SharedDisk documentation supersedes the SharedDisk documentation in the 6.5 and 6.5.1 versions of the NetBackup Shared Storage Guide.

This section contains the following topics:

■ “Overview” on page 275

■ “New in NetBackup 6.5.2” on page 276

■ “NetBackup Release Notes” on page 277

■ “Installing SharedDisk” on page 277

■ “Preparing the SAN and the array” on page 278

■ “Configuring SharedDisk” on page 282

■ “Managing SharedDisk” on page 306

OverviewNetBackup SharedDisk allows multiple NetBackup media servers to share disk array storage. NetBackup aggregates the disk into pools of storage you can use for backups. NetBackup manages the storage as a logical entity (a disk pool).

NetBackup SharedDisk provides the following benefits:

■ Deploy and use easily. NetBackup discovers the storage and uses familiar NetBackup storage units and backup policies to use the storage.

■ Increase storage unit capacity by adding disks. Only add what you need, when you need it, and then update the NetBackup disk pools. Logical units of storage span physical boundaries, so you do not have to create new NetBackup storage units or change the backup policies.

276 SharedDisk storage option updatesNew in NetBackup 6.5.2

■ Balance load and performance. NetBackup balances backup jobs and storage usage among the media servers and disk pools. For each backup job, NetBackup chooses the least full disk volume and least used media server.

■ nstJob failover. Media server failures do not prevent backup or restore operations. If a media server fails, backup and restore activity is routed through another media server.

The terms that are used in SharedDisk include:

■ Data mover: An entity that moves data between the primary storage (the NetBackup client) and the storage server. In SharedDisk, NetBackup media servers function as data movers.

■ Storage server: An entity that writes data to and reads data from disk storage. A storage server is the entity that has a mount on the file system on the storage. In SharedDisk, NetBackup media servers function as both storage servers and data movers.

■ Disk volume: A logical unit of disk storage.

■ Disk pool: A collection of disk volumes that are administered as an entity.

■ Enclosure: A disk array. You can create a NetBackup disk pool from all of the storage in an enclosure or only some of the storage.

New in NetBackup 6.5.2With this release, the SharedDisk feature now lets you do the following:

■ Specify preferred or required media servers for restore and duplication operations. This new capability replaces the FORCE_RESTORE_MEDIA_SERVER option.

This capability provides the following benefits:

■ Offloads the workload of restores from the servers that perform the backups.

■ Directs the duplication traffic to specific storage servers.

See “Creating a storage server in NetBackup” on page 289.

■ Use either LUN masking or SCSI persistent reserve for exclusive volume access on the storage arrays.

See “Configuring exclusive LUN access in NetBackup” on page 284.

■ Use either GUID Partition Table (GPT) or Master Boot Record (MBR) to format LUNs on Windows systems that support GPT.

See “Formatting the LUNs in a disk array” on page 294.

277SharedDisk storage option updatesNetBackup Release Notes

NetBackup Release NotesFor information about supported systems and peripherals, limitations, and operational notes, see the NetBackup Release Notes.

Installing SharedDiskNo special installation is required for the SharedDisk storage option. However, you must activate the feature by entering the Flexible Disk Option license key on the NetBackup master server.

To use preferred or required servers for restore or duplication, do the following:

■ Upgrade the NetBackup master server and the NetBackup EMM server to NetBackup 6.5.2. (Normally, the master server and the EMM server are on the same computer.)

■ To enable command line support on media servers, upgrade the media servers that are used for SharedDisk operations to NetBackup 6.5.2.

However, you do not have to upgrade the media servers. Instead, you can configure and manage the restore and duplication storage servers by invoking the commands on the master server.

In NetBackup 6.5.2, you must use NetBackup commands to configure and manage storage server attributes.

You may have one license key that activates NetBackup and all of your add-on products. Alternatively, you may have a separate license key for NetBackup and for each add-on product such as SharedDisk.

When you choose the systems to use for the NetBackup master and media servers, be aware of the following:

■ All NetBackup media servers that connect to the disk array must be the same system type (such as all Solaris).

■ Do not include the master server or EMM server in the list of media servers that use the array. Data transfer consumes system resources and severely degrades EMM performance. (Normally, the EMM server runs on the master server, but it can run on any NetBackup media server.)

If you remove the Flexible Disk Option license key or if it expires:

■ You cannot create the disk pools or the storage units that use the disk pools.

■ The NetBackup jobs that try to use the disk pools or the storage units that are based on the disk pools fail. The error message indicates that the feature is not licensed.

278 SharedDisk storage option updatesPreparing the SAN and the array

■ NetBackup does not delete the disk pools or the storage units that are based on the disk pools. You can use them if you enter a valid license key.

Preparing the SAN and the arrayThis section includes the following topics:

■ “Preparing the SAN” on page 278

■ “Installing array software on media servers” on page 279

■ “Configuring the disk array” on page 280

■ “Configuring device paths” on page 282

■ “Adding LUN entries to the sd.conf file” on page 282

Preparing the SANBefore you can configure and use the SharedDisk storage option, the SAN must be configured, zoned, and operational.

Instructions for how to configure and manage SANs are beyond the scope of the NetBackup documentation. However, you must do the following to prepare the SAN:

■ Install Fibre Channel HBAs on the NetBackup media servers.

■ Zone the SAN.

The following subsections provide guidance.

Installing HBAs for SharedDiskOn the NetBackup media servers that share the storage, do the following:

■ Install the HBA in each media server that connects to the array.

■ Install the HBA vendor’s Fibre Channel drivers for the HBA.

■ Install the HBA vendor’s Fibre Channel utilities for the HBA if required.

If you use the NetBackup Fibre Transport option with SharedDisk storage, the Fibre Transport HBA requirements may affect your HBA configuration.

See the NetBackup Shared Storage Guide.

Zoning the SANSymantec recommends that you create a backup storage zone that includes only the NetBackup media servers and the array. A backup storage zone prevents

279SharedDisk storage option updatesPreparing the SAN and the array

that traffic from using the bandwidth that may be required for other SAN activity.

The following are the major steps to zone the SAN:

■ Connect one or more Fibre Channel HBA ports on each NetBackup media server to one or more Fibre Channel switch ports.

■ Connect the disk array to a Fibre Channel switch port.

■ Define the zones on the SAN so that the media server HBA ports and the disk array are in the same zone.

The HBA ports on the media servers must be hard or soft zoned to the array.

You should configure SAN zones before you bind HBA ports. It prevents possible corruption of data that may occur if multiple HBAs gain access to the same storage device.

■ Bind the media server HBA ports to the disk array volumes or LUNs. Use persistent bindings when you bind the ports to the LUNs.

When you bind the media server HBA ports to disk array volumes or LUNs, you must use persistent bindings. If you do not, NetBackup access to the array may fail, backups may not occur, and data may be lost. Exception: Persistent bindings are not required for Leadville drivers.

Installing array software on media serversInstall the array vendor’s command line interfaces on each NetBackup media server that shares the array. NetBackup uses the array vendor software to manage the storage. In some cases, NetBackup uses the command line interface to:

■ Configure the arrays

■ Mask and unmask the LUNs when a media server accesses the storage.

All media servers that are connected to the array must be the same operating system type and use the same file system.

Which software and version to installFor guidance about which vendor software and version to install on the NetBackup media servers, see Tech Note 288176 (NetBackup Disk Array Setup). The following is the URL for the Tech Note:http://entsupport.symantec.com/docs/288176

The Tech Note also contains information about how to create host entries and how to allocate LUNs for each supported disk array.

280 SharedDisk storage option updatesPreparing the SAN and the array

The Tech Note lets us update disk array information when support for new disk arrays is added. It also lets us update supported array software versions if they change between NetBackup releases.

Configuring the disk arrayBefore you can configure and use the SharedDisk storage option, the disk array must be configured and operational. If the array includes a management service or process, it must be operational also. HP CommandView EVA is an example of an array management service.

Instructions for how to configure and manage disk arrays are beyond the scope of the NetBackup documentation. However, see the following for guidance:

■ “Add array host entries” on page 280

■ “Allocate LUNs for NetBackup” on page 281

■ “Unmask the LUNs” on page 282

Use the vendor-specific tools to configure the array. Instructions for how to configure the array are beyond the scope of the NetBackup documentation. For guidance, see the following subsections.

Add array host entriesYou must add host entries on the array so that the NetBackup media servers can access the array. Different array vendors use different names for the host entries. In all cases, the host entries contain the following three key pieces of information:

■ The name of the host (that is, the name of the NetBackup media server host). The host name must be a valid IP host name. To be more specific, the name or friendly name of the host entry on the array must match the DNS name of the host. (A friendly name is a more human-readable name than a string used to identify a device or a host.)

■ The World Wide Port Name (WWPN) of the HBA port on the media server. The WWPN identifies the port through which you want the media server to access the array.

■ The type of host operating system (such as Solaris).

You must create an entry for each NetBackup media server that shares the array.

If you cluster the NetBackup media servers, the host entries must be configured with the host names of the nodes (not the virtual names). NetBackup uses gethostname to identify the row in the array masking table to enable exclusive access to a LUN.

281SharedDisk storage option updatesPreparing the SAN and the array

Guidance for adding host entriesHow to add host entries is beyond the scope of the NetBackup documentation. For guidance, see TechNote 288176 (NetBackup Disk Array Setup) on the Symantec support Web site:http://entsupport.symantec.com/docs/288176

Allocate LUNs for NetBackupYou must allocate LUNs on the array for use by NetBackup. To do so, use the following prefix when you name the LUNs:

Use a meaningful suffix to complete each LUN name. For example, use the name of the NetBackup disk pool and perhaps a number to make the name unique.

Note: LUN names within an array must be unique; if they are not, you cannot create a NetBackup disk pool from the storage on the array. Symantec recommends that you use a unique name for each LUN that you allocate to NetBackup, even if the LUNs are on different arrays. If you merge disk pools later, each LUN name must be unique.

Some arrays do not allow specific name prefixes. By default, NetBackup uses all of the LUNs for storage on those arrays. You can use only some of the LUNs for NetBackup storage. However, to format those LUNs and to create a disk pool from them is more difficult than for LUNs with the nbusd_ prefix.

Guidance for choosing LUNsNetBackup balances jobs and workload. NetBackup tries to fill disk volumes at the same rate. Therefore, Symantec recommends that volumes in a disk pool be of similar size and speed, as follows:

■ Do not include small volumes and large volumes in the same disk pool.

■ Do not include slow volumes and fast volumes in the same disk pool.

Guidance for naming LUNsHow to name LUNs is beyond the scope of the NetBackup documentation. For guidance, see TechNote 288176 (NetBackup Disk Array Setup) on the Symantec support Web site:http://entsupport.symantec.com/docs/288176

LUN prefix: nbusd_

282 SharedDisk storage option updatesConfiguring SharedDisk

Unmask the LUNsSCSI persistent reserve only.

If you use SCSI persistent reserve for the LUN access method, unmask all of the LUNs allocated for NetBackup. Unmask them to all of the NetBackup media servers that share the array. Use the array software to unmask the LUNs.

If you use LUN masking for the LUN access method, do not unmask the LUNs. NetBackup masks and unmasks the LUNs as needed.

See “Configuring exclusive LUN access in NetBackup” on page 284.

Configuring device pathsSCSI persistent reserve only.

If you use SCSI persistent reserve for the LUN access method, configure device paths to the LUNs on the array. Some operating systems configure device paths automatically at start time; others may require that you invoke commands to configure device paths.

If you use LUN masking for the LUN access method, NetBackup configures device paths dynamically as needed.

See “Configuring exclusive LUN access in NetBackup” on page 284.

Adding LUN entries to the sd.conf fileSolaris systems only.

You may have to add LUN entries to the Solaris sd.conf file. The sd.conf file must have sufficient entries to allow NetBackup to import new LUNs to the host dynamically.

If the server is restarted, most HBAs do not require the sd.conf file to be updated to show new devices. However, Veritas Frozen Image (VxFI) needs to import devices dynamically without a restart. VxFI is the NetBackup component that manages access to the storage on the disk array. Therefore, you must update the sd.conf file to allow additional LUN entries and then restart the host after you update the sd.conf file.

If problems occur when you format LUNs, Symantec recommends that you open LUNs 0-15 on all targets (0-15). Also open LUNs 0-15 if NetBackup device discovery does not discover the disk array storage.

Configuring SharedDiskThe following are the tasks to configure NetBackup to use SharedDisk:

■ “Specifying the mount point directory” on page 283

283SharedDisk storage option updatesConfiguring SharedDisk

■ “Configuring exclusive LUN access in NetBackup” on page 284

■ “Creating a storage server in NetBackup” on page 289

■ “Adding disk array logon credentials” on page 292

■ “Formatting the LUNs in a disk array” on page 294

■ “Configuring Storage Foundation dynamic multipathing” on page 297

■ “Creating a SharedDisk disk pool” on page 297

■ “Creating a storage unit” on page 301

■ “Creating a backup policy” on page 306

■ “Restores” on page 306

If problems occur when you configure the SharedDisk storage option, see “Troubleshooting SharedDisk” on page 323.

Specifying the mount point directoryBy default, NetBackup uses nbushareddisk as the mount point for SharedDisk storage. The mount point is the directory on each media server where NetBackup mounts the file system on the disk array.

You can specify a different mount point directory. The mount point must be the same on all NetBackup media servers that access the array.

If you back up a media server that uses mount points to any disk storage that contains backup images, do not cross mount points. (The policy Cross mount points attribute specifies whether to cross mount points.) If the policy crosses mount points, the NetBackup backup images that reside on that disk storage are backed up. The NetBackup BasicDisk disk type and the Enterprise Disk Option disk types use mount points for disk storage.

To specify the mount point directory

1 In the NetBackup Administration Console, expand NetBackup Management > Host Properties.

2 Select Master Server in the tree pane.

3 In the Details pane, double-click on the name of the master server.

4 In the Master Server Properties dialog box, click SharedDisk in the tree pane.

5 Enter the default mount point for the file system on the disk array.

284 SharedDisk storage option updatesConfiguring SharedDisk

Configuring exclusive LUN access in NetBackupThe NetBackup SharedDisk option requires exclusive read and write access to disk volumes on an array. By default, NetBackup uses Logical Unit Number (LUN) masking to provide exclusive read and write access to disk volumes.

Beginning with the NetBackup 6.5.1 release, you can use either LUN masking or SCSI persistent reserve for exclusive access on Solaris computers. Microsoft Windows media servers use LUN masking.

To use SCSI persistent reserve, you must first upgrade your NetBackup servers to NetBackup 6.5.1.

Configuring LUN maskingLUN masking prevents hosts from detecting LUNs or allows hosts to detect LUNs. NetBackup unmasks a LUN to expose it to a specific NetBackup media server. The media server then has exclusive read and write access to the volume while that LUN is unmasked. When the media server is finished using a volume, NetBackup masks the LUN so that the media server cannot detect that LUN.

A consequence of LUN masking is that the SAN topology changes when a LUN is masked or unmasked. Every topology change generates SAN overhead traffic. Mount times increase because of LUN masking topology changes.

To configure LUN masking for SharedDisk

1 In the NetBackup Administration Console, expand NetBackup Management > Host Properties.

2 Select Master Server in the tree pane.

3 In the Details pane, double-click on the name of the master server.

4 In the Master Server Properties dialog box, click SharedDisk in the tree pane.

5 Select Dynamic LUN Masking.

6 Click OK.

Configuring SCSI persistent reserve

Note: SCSI persistent reserve (SPR) applies to Solaris and Linux media servers only. If you configure SPR, any Windows media servers in your environment use LUN masking.

SCSI persistent reserve (SPR) provides exclusive access protection by using reservations. A reservation prevents other host bus adapters from issuing SCSI

285SharedDisk storage option updatesConfiguring SharedDisk

commands to control the volume. Unlike LUN masking, the SAN topology does not change when a reservation is granted or released. SPR provides faster mount times than LUN masking.

A consequence of SPR is longer start times for the NetBackup media servers.

To use SPR, the devices must conform to the SCSI Primary Commands - 3 (SPC-3) standard. The SCSI persistent reserve method is not supported or not supported correctly by all device vendors. Incorrect support may mean no access protection. Therefore, you should thoroughly analyze your environment to ensure that all of your hardware supports SCSI persistent reserve correctly.

To configure SCSI persistent reserve for SharedDisk

1 In the NetBackup Administration Console, expand NetBackup Management > Host Properties.

2 Select Master Server in the tree pane.

3 In the Details pane, double-click on the name of the master server.

4 In the Master Server Properties dialog box, click SharedDisk in the tree pane.

5 Select SCSI persistent reserve.

6 Click OK.

Switching exclusive LUN access methodsYou can change from one access method to the other.

Switching from LUN masking to SPRTo switch from LUN masking to SCSI persistent reserve, do the following.

Note: SCSI persistent reserve (SPR) applies to Solaris and Linux media servers only. If you configure SPR, any Windows media servers in your environment use LUN masking.

To switch from LUN masking to SPR

1 Wait until all backup or restore jobs that use the SharedDisk disk pools are complete or cancel all jobs.

2 Change the state of all SharedDisk disk pools to DOWN; the following is the command syntax to change one disk pool:/usr/openv/netbackup/bin/admincmd/nbdevconfig -changestate -stype SharedDisk -dp disk_pool_name -state DOWN

286 SharedDisk storage option updatesConfiguring SharedDisk

If backup jobs are assigned to a disk pool, the state change fails. Cancel the backup jobs or wait until the jobs complete.

3 Enable SPR by running the following NetBackup command:/usr/openv/netbackup/bin/admincmd/nbdevconfig -setSharedDiskSPR 1

4 For each SharedDisk disk pool, do the following one disk pool at a time:

■ Use the disk array software to unmask the disk pool LUNs so that all of the storage servers for the disk pool detect the LUNs. (NetBackup media servers function as storage servers.) For example, for a disk pool that contains three LUNs and has three storage servers, unmask each LUN on each storage server.

■ Determine the unique enclosure identifier (UEID) for the array or arrays. The following is the command syntax; run the command on one of the storage servers:/usr/openv/netbackup/bin/admincmd/nbshareddisk list

The array UEID is used in the next step.

■ Write the unique device identifiers (UDIDs) of the disk pool LUNs to a text file. The following is the command syntax; run the command on the same storage server as the previous command:/usr/openv/netbackup/bin/admincmd/nbshareddisk list –ueid unique_enclosure_id > udid_filename

The command writes only the UDIDs of the LUNs that have the nbusd_ prefix. If the array does not let you specify the nbusd_ LUN prefix, all UDIDs on the array appear in the output file.

If the disk pool contains LUNs from more than one array, repeat the command for each additional array. However, use the append operator (>>) rather than the redirection operator to append the output to the end of the file.

■ Edit the text file and delete the LUNs that are not in the disk pool.

■ Verify that the storage server detects all of the LUNs. The following is the command syntax; run the command on the same storage server as the previous command:/usr/openv/netbackup/bin/admincmd/nbshareddisk verify -udid_file udid_filename

■ Repeat the preceding steps for each SharedDisk disk pool.

5 Change the state of all disk pools to UP; the following is the command syntax to change a disk pool:/usr/openv/netbackup/bin/admincmd/nbdevconfig -changestate -stype SharedDisk -dp disk_pool_name -state UP

287SharedDisk storage option updatesConfiguring SharedDisk

6 If you formatted or plan to format the disk LUNs with the Veritas File System, run the following command on all of the SharedDisk storage servers:/usr/sbin/vxdisk scandisks

Switching from SPR to LUN maskingTo switch from SCSI persistent reserve to LUN masking, do the following.

Note: SCSI persistent reserve applies to Solaris and Linux media servers only.

To switch from SPR to LUN masking on Solaris

1 Wait until all backup or restore jobs that use the SharedDisk disk pools are complete or cancel all jobs.

1 Change the state of all SharedDisk disk pools to DOWN; the following is the command syntax to change one disk pool:/usr/openv/netbackup/bin/admincmd/nbdevconfig -changestate -stype SharedDisk -dp disk_pool_name -state DOWN

If backup jobs are assigned to a disk pool, the state change fails. Cancel the backup jobs or wait until the jobs complete.

2 For each SharedDisk disk pool, do the following one disk pool at a time:

■ Determine the unique enclosure identifier (UEID) for the array or arrays. The following is the command syntax. Run the command on one of the storage servers for the disk pool. (NetBackup media servers function as storage servers.)/usr/openv/netbackup/bin/admincmd/nbshareddisk list

The array UEID is used in the next step.

■ Write the unique device identifiers (UDIDs) of the LUNs on an array to a text file. The following is the command syntax; run the command on the same storage server as the previous command:/usr/openv/netbackup/bin/admincmd/nbshareddisk list –ueid unique_enclosure_id > udid_filename

The command writes only the UDIDs of the LUNs that have the nbusd_ prefix. If the array does not let you specify the nbusd_ LUN prefix, all UDIDs on the array appear in the output file.

To add UDIDs from more than one array to the output file, repeat the command for each additional array. However, use the append operator (>>) rather than the redirection operator to append the output to the end of the file.

■ Edit the text file and delete the LUNs that are not in the disk pool.

288 SharedDisk storage option updatesConfiguring SharedDisk

■ Reserve the LUNs. The following is the command syntax; run the command on the same storage server:/usr/openv/netbackup/bin/admincmd/nbshareddisk reserve -preempt -udid_file udid_filename

■ Use the disk array software to mask the disk pool LUNs so that only the storage server that owns the reservation detects the LUNs.

■ Release the reservation that the storage server has on the LUNs. The following is the command syntax; run the command on the same storage server:/usr/openv/netbackup/bin/admincmd/nbshareddisk release -udid_file udid_filename

■ Use the disk array software to mask the disk pool LUNs so that none of the storage servers for the disk pool detects the LUNs.

■ Repeat the preceding steps for each SharedDisk disk pool.

3 Enable LUN masking by running the following NetBackup command:/usr/openv/netbackup/bin/admincmd/nbdevconfig -setSharedDiskSPR 0

4 Change the state of all disk pools to UP; the following is the command syntax to change a disk pool:/usr/openv/netbackup/bin/admincmd/nbdevconfig -changestate -stype SharedDisk -dp disk_pool_name -state UP

New command optionsTo support SharedDisk SCSI persistent reserve, several NetBackup commands have new options.

New nbdevconfig optionsThe following is a new option to the nbdevconfig command:-setSharedDiskSPR 0 | 1

The setSharedDiskSPR option lets you configure SPR or LUN masking. Zero (0) enables LUN masking; 1 enables SPR.

New nbdevquery optionsThe following is a new option to the nbdevquery command:-listglobals

The listglobals option outputs NetBackup Disk Service Manager global disk attributes. If SPR is enabled, the SCSI persistent reserve setting is as follows:SCSI Persistent Reservation: 1

If LUN masking is enabled, the output shows zero (0) rather than 1.

289SharedDisk storage option updatesConfiguring SharedDisk

New nbshareddisk optionsThe new nbshareddisk command options are valid only when SPR is enabled. The following are new options:reserve [-preempt] -udid <UDID##nn#nn##nn> | -udid_file udid_filename

The reserve option lets you place a SCSI persistent reservation on one or many LUNs on the media server from which it is invoked. The unique device identifier represents a LUN. Use the -udid_file option to reserve more than one LUN. If you also use the preempt option, NetBackup preempts other NetBackup reservations on the LUNs.

release -udid UDID##nn#nn##nn | -udid_file udid_filename

The release option lets you release a SCSI persistent reservation on one or many LUNs on the media server from which it is invoked. The unique device identifier identifies LUNs. Use the -udid_file option to release more than one LUN.

verify -udid UDID##nn#nn##nn | -udid_file udid_filename

The verify option lets you determine if NetBackup can access a LUN or LUNs from a specific host. The unique device identifier represents a LUN. Use this option to determine of connectivity problems or operating system problems exist.

Creating a storage server in NetBackupA storage server is an entity that mounts the storage and writes data to and reads data from the disk storage. Create in this context means to configure as a storage server a NetBackup media server that connects to the array. In SharedDisk, multiple storage servers can exist. The storage servers share the storage equally.

(When you configure a storage server, it also is configured as a data mover, which is a logical entity that moves backup data. For SharedDisk, NetBackup media servers function as both storage servers and data movers. Data moves from primary storage (a NetBackup client) to secondary storage during backups. Data also can move from secondary storage to tertiary storage during duplication and to primary storage during restores.)

You must configure as a SharedDisk storage server every NetBackup media server that connects to the storage.

For restores and duplications, you can specify the following storage server attributes:

■ Preferred restore server

■ Required restore server

■ Required duplication server

290 SharedDisk storage option updatesConfiguring SharedDisk

For SharedDisk, you can use these storage server attributes rather than the FORCE_RESTORE_MEDIA_SERVER option.

For information about the FORCE_RESTORE_MEDIA_SERVER option, see the NetBackup Administrator’s Guide, Volume I.

If you do not specify these attributes, NetBackup uses normal criteria to select a media server for restore or duplication. (That is, if you configure more than one storage server.)

Note: Before you configure a SharedDisk storage server in NetBackup, you must install the disk array vendor’s software on the media server. You also must add the disk array logon credentials

Figure 12-1 SharedDisk storage servers

To determine if a media server is configured as a storage server already

◆ Run the following command on the NetBackup master server:nbdevquery -liststs

The following is the path to the command:

UNIX and Linux: /usr/openv/netbackup/bin/admincmd

Windows: install_path\Program Files\VERITAS\NetBackup\bin\admincmd

The command lists all storage servers already configured. By default, NetBackup configures all media servers as BasicDisk storage servers. Therefore, all media servers in your environment appear as BasicDisk servers, as in the following example:nbdevquery -liststsV6.5 tree.symantecs.org BasicDisk 5V6.5 flower.symantecs.org BasicDisk 5V6.5 water.symantecs.org BasicDisk 5

If the media server does not appear in the command output as a SharedDisk storage server, configure the media server as a storage server.

NetBackup media servers are both storage servers and data movers. Disk array CLIs are installed.

Disk array

291SharedDisk storage option updatesConfiguring SharedDisk

To create a SharedDisk storage server in NetBackup

◆ Run the following nbdevconfig command on the master server or on one of the media servers:nbdevconfig -creatests -storage_server storage_server -stype SharedDisk [-st storage_type] -media_server media_server [-setattribute attribute]

The following are the options and arguments:

■ -storage_server storage_server is the name of a NetBackup media server that connects to the storage. The media server must have the array vendor’s command line interfaces installed.

■ -stype SharedDisk specifies the storage server type.

■ -st storage_type is a numeric value that specifies the server properties. For SharedDisk, the default is 6 (direct attached, raw disk). Required only if you want to use a value other than the default.

The value is obtained by adding together the numeric values of the following properties. Whether the disk is formatted and how it is attached are mutually exclusive and complementary.

■ 1 - formatted disk. The disk is formatted as part of the vendor-specific preparation; NetBackup does not format the disk.

■ 2 - raw disk. The disk is not formatted; NetBackup formats the disk.

■ 4 - direct attached. Direct attached means that the storage server and the media server are the same NetBackup host.

■ 8 - network attached. Network attached means that the storage server is physically distinct from the NetBackup media server. It does not imply LAN data movement nor does it preclude Fibre Channel as the transport for data movement.

■ -media_server media_server specifies the NetBackup media server that performs the operation. Use the same name as the storage server name.

■ -setattribute attribute is an attribute to apply to the storage server for the read side of restore or duplication operations. These attributes can help you manage the restore and duplication traffic. You can specify more than one -setattribute attribute pair on the command line. The following are the attributes:

■ PrefRestore. The storage server is preferred for the read side of restore operations. More than one storage server can have the PrefRestore attribute.

Storage servers that are marked as PrefRestore are considered for use first. If none are available, any unmarked storage server is considered for use.

292 SharedDisk storage option updatesConfiguring SharedDisk

Normal NetBackup load balancing occurs among all storage servers marked PrefRestore.

■ ReqRestore. The storage server is required for the read side of restore operations. More than one storage server can have the ReqRestore attribute.

If a ReqRestore server is not available, NetBackup considers PrefRestore servers for use. If none are available, jobs queue until a ReqRestore or PrefRestore is available.

If you configure ReqRestore servers but not PrefRestore servers, unmarked storage servers are never considered for restore jobs. Jobs queue until a ReqRestore storage server is available to execute the job. Normal NetBackup rules for job retry apply.

Normal NetBackup load balancing occurs for all storage servers marked ReqRestore. Load balancing does not occur between the ReqRestore and PrefRestore storage servers.

■ ReqDuplicate. The storage server is required for the read side of duplication operations. More than one storage server can have the ReqDuplicate attribute.

If any storage server is marked as ReqDuplicate, only storage servers that are marked as ReqDuplicate are considered for use. If a ReqDuplicate server is unavailable, jobs queue until a ReqDuplicate server is available to execute the job. Normal NetBackup rules for job retry apply.

ReqDuplicate also applies to storage server allocation for synthetic backup operations.

Note: Only the media servers that are configured in the storage unit are considered for jobs. Therefore, if you select a subset of the disk pool storage servers in a storage unit, it may affect the servers that NetBackup can select.

You can remove the attributes you place on a storage server.

See “Removing storage server attributes” on page 319.

Storage unit usage recommendations to manage traffic are available.

See “Managing backup, restore, and duplication traffic” on page 304.

Adding disk array logon credentialsYou must enter the credentials that NetBackup uses to log into a disk array.

If the array contains multiple, separately named processing units (storage processors), you must enter the credentials for each unit.

293SharedDisk storage option updatesConfiguring SharedDisk

The disk array must be installed and prepared before you add array logon credentials.

Note: For EMC CLARiiON, by default NetBackup creates global scope administrative user credentials. To create local scope credentials, you must use the Navisphere security file (created by using the EMC naviseccli command). If the security file exists, NetBackup uses it; the security file can contain a global or local administrative user. If you use the security file, you still must add logon credentials in NetBackup. NetBackup uses the disk array host name you add because the array host name is not stored in the security file.

To add disk array logon credentials

1 In the NetBackup Administration Console, expand Media and Device Management > Credentials.

2 Select Disk Array Hosts.

3 Click Actions > New > Disk Array Host.

4 Enter the host name in the dialog box.

5 In the Add Disk Array Host dialog box, add the credentials:

■ Credentials. Select the host type for the disk array.

294 SharedDisk storage option updatesConfiguring SharedDisk

■ Username. Enter the user name that NetBackup uses to log into the array.

■ Password. Enter the password that NetBackup uses to log into the array.

■ Confirm password. To confirm the password, re-enter the password that NetBackup uses to log into the array.

■ (Windows systems.) Port number. For the port number, select (or enter) the port number over which to communicate with the array. If no specific port is required, select or enter 0.

■ (UNIX systems.) Connect using port number. To use a specific port number to connect, select this option, then enter the port number over which to communicate with the array. If no specific port is required, select or enter 0.

6 After you add credentials, stop and then start the NetBackup services on: the NetBackup master server and on each NetBackup media server that accesses the disk array. You can use the NetBackup Administration Console Activity Monitor to stop and start the services. Alternatively, you can use the following commands in sequence:

■ UNIX:

/usr/openv/netbackup/bin/bp.kill_all

/usr/openv/netbackup/bin/bp.start_all

■ Windows:

install_path\VERITAS\Netbackup\bin\bpdown.exe

install_path\VERITAS\Netbackup\bin\bpup.exe

Formatting the LUNs in a disk arrayFor SharedDisk storage, use the NetBackup nbshareddisk command to format the LUNs that NetBackup can use for storage. The nbshareddisk command invokes the format utility for the file system.

By default, the nbshareddisk command discovers and formats only the LUNs that begin with the nbusd_ prefix.

By default, the nbshareddisk command uses Master Boot Record (MBR) to formats LUNs on Windows systems. Alternatively, you can use GUID Partition Table (GPT) disk partitioning system to format LUNs on Windows systems that support GPT. GPT allows disks larger than 2 TB in size.

295SharedDisk storage option updatesConfiguring SharedDisk

Note: NetBackup 6.5.1 and earlier cannot read or write disks that use GPT. Therefore, if you use both 6.5.1 and earlier and 6.5.2 and later for disk pool access, all disks must be formatted with MBR. MBR disks are limited to 2 TB maximum size.

For the arrays that do not let you specify the nbusd_ LUN prefix for disk volumes, nbshareddisk discovers all of the LUNS on an array. To use only some of the LUNs on the array, format only those LUNs. “To format LUNs” on page 295 explains how to format all LUNs or only some of the LUNs. If you format only some of the LUNs, you must use the volumes method when you create a disk pool. With the volumes method, you select disk volumes rather than the entire array. For more information, “Creating a SharedDisk disk pool” on page 297.

Caution: This procedure displays all LUNs on an array that are allocated to NetBackup, even LUNs already in use by NetBackup. Do not format LUNs that are already in use by NetBackup; if you do, data loss may occur.

The nbshareddisk command resides in the following directory:

UNIX: /usr/openv/netbackup/bin/admincmdWindows: install_path\Program Files\VERITAS\NetBackup\bin\admincmd

To format LUNs

Invoke the nbshareddisk command on one of the storage servers that is connected to the array.

1 Use the nbshareddisk command with the list option to determine the arrays for which NetBackup has logon credentials. The output includes the unique enclosure identifier (UEID), which identifies arrays. The UEID of the array is used in step 2.

nbshareddisk list

Enclosure list:Vendor Array Name Enclosure ID-------------------------------------------------------------------NETAPP ndmpfiler1 UEID##NETAPP##LUN##0a505b7cHP HPEVA4000 UEID##HP##HSV##5000-1FE1-5007-0020EMC 000182601092 UEID##EMC##SYMMETRIX##000182601092EMC APM00044701641 UEID##EMC##CLARIION##APM00044701641

If the array does not appear in the list, see “6. Verify LAN connectivity to the disk array” on page 327.

296 SharedDisk storage option updatesConfiguring SharedDisk

2 Use the nbshareddisk list command to write the unique device identifiers (UDIDs) of the LUNs to a text file. The following is the command syntax:

nbshareddisk list –ueid unique_enclosure_id > filename

The command writes only LUNs that have the nbusd_ prefix to the file. If the array does not let you specify the nbusd_ LUN prefix, all LUNs appear in the output file.

The UDIDs are used when you format the LUNs in step 5.

For example, the following command writes the UDID of the LUNs in the specified enclosure to file formatlist.txt:

nbshareddisk list –ueid UEID##HP##HSV##5000-1FE1-5007-0020 > formatlist.txt

3 To add UDIDs from more than one array to the output file, repeat step 2 for each additional array. However, use the append operator (>>) rather than the redirection operator to append the output to the end of the file.

4 Examine the text file to verify that the LUNs in the file are the ones you want to format.

If you do not see all of the UDIDs you expected to, ensure that the LUNs on the array use the nbusd_ prefix.

For the arrays that do not allow the nbusd_ LUN prefix, delete the UDIDs that you do not want to format. Only delete lines from the file, do not add lines to the file.

Caution: Do not format LUNs that are in use by NetBackup already; if you do, data loss may occur.

5 Use the nbshareddisk format command to format the LUNs on the array. The following is the command syntax:nbshareddisk format –udid_file filename

Other options are:

■ -gpt. Format the LUNs by using GPT on Windows systems that support GPT.

■ -fstype native | vxfs. Format the LUNs with the file system native to the media server operating system or with the Veritas File System. The default is native.

■ -noPrompt. Suppresses the format prompt. If you format more than one UDID, the nbshareddisk command prompts you to format each one. Because the format process may be time-consuming, you can use the -noPrompt option to suppress the prompt. Then, you do not have to monitor the formatting process. However, use the -noPrompt option with caution.

297SharedDisk storage option updatesConfiguring SharedDisk

For example, the following command reads the UDIDs from the formatlist.txt file. It then formats the disk volumes with GPT.nbshareddisk format -gpt –udid_file formatlist.txt

6 If you formatted the LUNs with the Veritas File System, run the following command on all of the SharedDisk storage servers:/usr/sbin/vxdisk scandisks

After you format the LUNs, you can create disk pools.

Configuring Storage Foundation dynamic multipathingIf you use the Veritas File System to format the LUNs on the array, you must ensure that dynamic multipathing (DMP) functions correctly. To do so, perform the following procedure on every storage server (that is, media server) you configured after you format the LUNs:

To configure SF dynamic multipathing

1 Obtain a list of disk arrays by using the following Storage Foundation command:vxdmpadm listenclosure all

2 Obtain a list of the DMP node names for each enclosure on which you create disk pools by using the following command:vxdmpadm getdmpnode enclosure=enclosure-name

3 For each DMP node, run the following Storage Foundation command:blockdev --rereadpt /dev/vx/dmp/DMP_node_name

Note: You may receive errors similar to Device or resource busy. You can ignore such errors.

4 After you run the blockdev command for each node, run the following Storage Foundation command:vxdisk scandisk

Creating a SharedDisk disk poolA SharedDisk disk pool represents LUNS on a disk array that are allocated to NetBackup. NetBackup aggregates the LUNs into pools of storage you can use for backups.

298 SharedDisk storage option updatesConfiguring SharedDisk

Figure 12-2 SharedDisk disk pools

A disk pool is the storage destination of a NetBackup storage unit.

Two methods exist to create SharedDisk disk pools:

■ The enclosure method creates one disk pool from all of the storage that is allocated to NetBackup on one array. This method is the easiest to accomplish. It also is easier to add volumes to the disk pool later.

See “Enclosure method of SharedDisk disk pool creation” on page 299.

■ The volumes method lets you create a disk pool by selecting specific disk volumes. The disk volumes can be in one enclosure or in multiple enclosures. However, to add volumes later is more difficult than for the disk pools created by the enclosure method.

See “Volumes method of SharedDisk disk pool creation” on page 299.

Note: If the array does net let you specify the nbusd_ LUN prefix for disk volumes, NetBackup discovers all of the storage on the array. To use only some of the storage on the array, you must use the volumes method to create a disk pool.

Which process you use affects how you add volumes to that disk pool in the future. Therefore, you should note which method you use for each disk pool you create.

When you create a disk pool, you specify:

■ The NetBackup media servers that share the storage. The media servers must be configured as storage servers. They also function as data movers.

■ The disk array that contains the storage (enclosure method) or the disk volumes on the array(s) to include in the disk pool (volumes method)

■ The disk pool properties. Properties include the name, the high water mark, the low water mark, and a comment that describes the disk pool.

See “Disk pool properties” on page 308.

Disk arrayGold_SharedDisk_Pool

Silver_SharedDisk_Pool

LUNs

299SharedDisk storage option updatesConfiguring SharedDisk

Symantec recommends that disk volume names and disk pool names be unique across your enterprise.

Before you create a SharedDisk disk pool, LUNs on the disk array must be allocated for use by NetBackup. The LUNs must be formatted.

When NetBackup sends backup data to a disk pool, NetBackup selects the disk volumes that are based on available capacity and predicted size of the backup. NetBackup tries to write backup data to a single volume. If necessary, backup images span disk volumes in a disk pool. Backup images do not span across multiple disk pools.

Enclosure method of SharedDisk disk pool creationThe enclosure method creates one SharedDisk disk pool from the LUNs that have the nbusd_ prefix on the enclosure. A one-to-one mapping exists between the array storage that is allocated to NetBackup and the disk pool. The enclosure name becomes the disk pool name.

For the arrays that do not let you specify the nbusd_ prefix, NetBackup creates a disk pool from all of the LUNs on the array.

Use the Disk Pool Configuration Wizard to create a disk pool from an enclosure.

To create a SharedDisk disk pool from an enclosure

1 In the NetBackup Administration Console tree, select the master server or Media and Device Management.

2 From the list of wizards in the Details pane, click Configure Disk Pool and follow the wizard instructions.

For help, see the Disk Pool Configuration Wizard help.

Volumes method of SharedDisk disk pool creationWith the volumes method, you create a disk pool by specifying the disk volumes to include in the disk pool. The disk volumes can be in one enclosure or in multiple enclosures.

You can use this method to create:

■ More than one disk pool from an enclosure.

■ A disk pool that spans enclosures.

Also, you can specify a name for the disk pool (unlike the enclosure disk pool creation method). However, disk pool expansion is more difficult than with the enclosure method.

If you cannot use the nbusd_ prefix to name LUNs, the volumes method lets you specify only some of the storage on a disk array.

300 SharedDisk storage option updatesConfiguring SharedDisk

The nbdevconfig command resides in the following directory:

UNIX: /usr/openv/netbackup/bin/admincmdWindows: install_path\Program Files\VERITAS\NetBackup\bin\admincmd

To use the volumes method to create a disk pool

1 On a SharedDisk storage server, preview the volumes that the storage server detects and write the output to a file. The output file includes both formatted volumes and unformatted volumes for all arrays that connect to the storage server. The file is used as input when you create the disk pool. The following is the command syntax:nbdevconfig –previewdv –storage_server storage_server –stype SharedDisk -media_server media_server > filename

The following are the options:

■ -storage_server storage_server specifies the storage server name.

■ -stype SharedDisk specifies the storage server type.

■ -media_server media_server specifies the media server that performs the operation. Use the same name as the storage server.

For example, the following command creates a file of volumes named Gold_Volumes.txt from the volumes that storage server A detects:nbdevconfig –previewdv –storage_server A –stype SharedDisk -media_server A > Gold_Volumes.txt

2 Edit the file of volume names; remove the volumes that you do not want in the disk pool. Ensure that the volumes you want to use are formatted.

To create multiple disk pools, make a copy of the file for each disk pool you want to create. Name each file so that it identifies each disk pool. Edit the files so each one contains only those volumes you want in each disk pool. Use those files as the inputs in step 3.

3 Create a disk pool from the volumes that are listed in the file. The following is the command syntax:nbdevconfig –createdp –dp disk_pool_name –storage_servers storage_server [storage_server ...] –stype SharedDisk –dvlist filename

The following are the options:

■ -dp disk_pool_name specifies the disk pool.

■ -storage_servers storage_server specifies the storage servers. Specify all of the servers that share the disk pool.

■ -stype SharedDisk specifies the storage server type.

■ -dvlist filename specifies the file of volume names.

For example, the following command creates a Gold_SharedDisk_Pool disk pool. Servers A, B, and C are the storage servers for the disk pool. The file that contains the list of disk volumes is Gold_Volumes.txt.

301SharedDisk storage option updatesConfiguring SharedDisk

nbdevconfig –createdp –dp Gold_SharedDisk_Pool –storage_servers A B C –stype SharedDisk –dvlist Gold_Volumes.txt

You also can specify other options, as follows:

■ -comment, a comment that describes the disk pool.

■ -hwm, the high water mark (the default is 98%)

■ -lwm, the low water mark (the default is 80%)

■ -M, the master server (the default is the current master server)

■ -media_server server_name, the storage server that performs the operation

4 To create multiple disk pools, repeat step 3 for each disk pool you want to create. Each disk pool must have a separate input file. The disk pool volumes must be unique; that is, a volume cannot appear in more than one input file.

Creating a storage unitCreate one or more storage units that reference the disk pool.

The Disk Pool Configuration Wizard lets you create a storage unit; therefore, you may have created a storage unit when you created a disk pool. To determine if storage units exist for the disk pool, see the NetBackup Management > Storage > Storage Units window of the Administration Console.

For disk pool storage unit recommendations, see “Storage unit usage recommendations” on page 304.

To create a storage unit from the Actions menu

1 In the NetBackup Administration Console, select NetBackup Management > Storage > Storage Units.

2 Click Actions > New > Storage Unit.

3 Complete the fields in the New Storage Unit dialog box.

The following are the configuration options for a disk pool storage unit.

Storage unit propertiesThe following are the configuration options for a disk pool storage unit.

Storage unit nameEnter a unique storage unit name for the new storage unit. The name can describe the type of storage. The storage unit name is the name used to specify a storage unit for policies and schedules. The storage unit name cannot be changed after creation.

302 SharedDisk storage option updatesConfiguring SharedDisk

Storage unit typeSelect Disk as the storage unit type.

Disk typeSelect SharedDisk.

Disk poolSelect the disk pool that contains the storage for this storage unit.

All disk pools of the specified Disk type appear in the Disk pool list. If no disk pools are configured, no disk pools appear in the list.

To specify or change the properties of the disk pool, click Properties and then do the following:

■ Select or enter the high water mark for the disk pool. (The default is 98%.)

The high water mark is a threshold that indicates the storage is full. It applies to both the individual disk volumes in the pool and the disk pool, as follows:

■ Individual volumes. When a disk volume reaches the high water mark, NetBackup writes the data to another disk volume in the pool.

■ Disk pool. When all volumes are at the high water mark, the disk pool is full. When a disk pool approaches the high water mark, NetBackup reduces the number of jobs that are allowed to write to the pool. NetBackup does not assign new jobs to a storage unit in which the disk pool is full.

■ Select or enter the low water mark for the disk pool. (The default is 80%.)

When the capacity of the disk pool returns to the low water mark, NetBackup again assigns jobs to the storage unit. Capacity is regained as backup images expire.

The low water mark setting cannot be greater than or equal to the high water mark setting.

■ Enter a comment that is associated with the disk pool.

Media serverThe Media server setting specifies the NetBackup media servers that can move data to and from the disk pool for this storage unit. Only the media servers that are configured as storage servers appear in the media servers list.

The NetBackup media servers on which the disk array vendor’s software are installed function as both storage servers and data movers. If a server does not appear in the list, verify that the logon credentials are created.

Specify the media server or servers as follows:

303SharedDisk storage option updatesConfiguring SharedDisk

■ To allow any server in the media server list to access the disk storage (default), select Use any available media server.

■ To restrict the media servers that can access the disk storage, select Only use the following media servers. Then, select the media servers to allow. The selection list includes only the media servers that are configured as storage servers for the disk pool.

NetBackup selects the media server to use when the policy runs.

Maximum concurrent jobsThe Maximum concurrent jobs setting specifies the maximum number of jobs that NetBackup can send to a disk storage unit at one time. (Default: 1 job. The job count can range from 0 to 256.) This setting corresponds to the Maximum concurrent write drives setting for a Media Manager storage unit.

NetBackup queues jobs until the storage unit is available. If three backup jobs are ready and Maximum concurrent jobs is set to two, the first two jobs start and the third job waits. If a job contains multiple copies, each copy applies toward the Maximum concurrent jobs count.

The number to enter depends on the available disk space and the server's ability to run multiple backup processes.

You can use maximum concurrent jobs to balance the load between disk storage units. A higher number of concurrent jobs means that the disk can be busier than if the number is lower.

Caution: A Maximum concurrent jobs setting of 0 disables the storage unit.

For information about how NetBackup balances storage unit and media server load, see “Maximum concurrent jobs” in:

■ NetBackup Administrator’s Guide for UNIX and Linux, Volume I

■ NetBackup Administrator’s Guide for Windows, Volume I

Maximum fragment sizeSpecify the largest fragment size that NetBackup can create to store backups.

The default maximum fragment size for a disk storage unit is 524,287 megabytes. To specify a maximum fragment size other than the default, enter a value from 20 megabytes to 524,287 megabytes.

Backups to disk are usually fragmented to ensure that the backup does not exceed the maximum size that the file system allows.

If an error occurs in a backup, the entire backup is discarded. The backup restarts from the beginning, not from the fragment where the error occurred. (An exception is for backups for which checkpoint and restart is enabled. In that

304 SharedDisk storage option updatesConfiguring SharedDisk

case, fragments before and including the last checkpoint are retained; the fragments after the last checkpoint are discarded.)

Storage unit usage recommendationsFor usage recommendations, see the following subsections.

Managing backup, restore, and duplication trafficIf you use multiple storage servers and one storage unit, all of the disk pool storage servers are available for any job. NetBackup selects the storage server to use based on availability and load balancing criteria.

You can manage the restore and duplication traffic by using the preferred and required storage server attributes for restore and duplication. NetBackup then uses availability and load balancing criteria to select among the storage servers that are marked for restores or duplications. For restores, NetBackup may select an unmarked storage server if all of the ones that are marked for restore are unavailable. For backups, NetBackup selects a storage server from among the storage unit’s available storage servers.

To further manage traffic, you can use multiple storage units for one disk pool, as in the following example:

■ One storage unit and one policy for backups. When you configure the storage unit, select only the storage servers that you want to use for backups. When you configure the policy, select the “backup” storage unit.

■ One storage unit and one policy for restores. When you configure the storage unit, select only the storage servers that are marked as PrefRestore and ReqRestore. When you configure the policy, select the “restore” storage units.

If you configure both preferred and required storage servers, NetBackup never selects an unmarked storage server for a restore job.

■ One storage unit and one policy for duplications. In the duplications storage unit, select only the storage servers that are marked as ReqDuplicate. When you configure the policy, select the “duplication” storage unit.

You do not have to partition the storage; all storage units use the same pool of storage.

For information about how NetBackup balances storage unit and media server load, see “Maximum concurrent jobs” in:

■ NetBackup Administrator’s Guide for UNIX and Linux, Volume I

■ NetBackup Administrator’s Guide for Windows, Volume I

305SharedDisk storage option updatesConfiguring SharedDisk

Managing SAN client traffic in a SANIf you use the NetBackup Fibre Transport option, you can separate the NetBackup SAN client traffic from the regular NetBackup client traffic in your environment. Do so as follows:

■ Define a storage unit (such as STU-FT). Select the disk pool. Select Only use the following media servers. Select the FT media servers that connect to the SAN clients.

■ Create a backup policy for the SAN clients and select the STU-FT storage unit.

■ Define another storage unit (such as STU-LAN). Select the same disk pool. Select Only use the following media servers. Select the media servers with LAN connectivity to the regular clients.

■ Create a backup policy for the regular clients and select the STU-LAN storage unit.

This scenario assumes that the SAN clients are a small subset of your client base. It also assumes that the media servers with LAN connectivity to the regular clients also have SAN connectivity to the storage.

Managing backup traffic based on importanceEven without a SAN, you can separate your backup traffic similarly and still write all of the data to the same disk pool. For example, you can send the backups from your most important clients to a media server that is dedicated for the most important backups:

■ Define a storage unit (such as STU-CRITICAL). Select the disk pool. Select Only use the following media servers. Select one (or a subset) of the media servers.

■ Create a backup policy for the critical clients and select the STU-CRITICAL storage unit.

■ Define another storage unit (such as STU-NORMAL). Select the same disk pool. Select Only use the following media servers. Select a different subset of the media servers.

■ Create a backup policy for the regular clients and select the STU-NORMAL storage unit.

Maximum concurrent job settingYou can use the multiple concurrent jobs settings on storage units to assign backup priority for important clients. For example, two storage units use the same set of media servers. One of the storage units has a higher concurrent job

306 SharedDisk storage option updatesManaging SharedDisk

setting than the other. More client backups occur for the storage unit with the higher concurrent job setting.

Creating a backup policyBackup policies define the rules that NetBackup follows to back up clients.

Use normal NetBackup processes to configure backups to SharedDisk storage units. That is, specify the appropriate storage unit in your backup policies. Alternatively, specify a lifecycle policy that uses a SharedDisk storage unit as the backup destination or duplication destination.

To create a policy, see the NetBackup Administrator’s Guide for UNIX and Linux, Volume I or the NetBackup Administrator’s Guide for Windows, Volume I.

Monitor backup progress

To monitor backup progress, use the Detailed Status tab of the Job Details dialog box. It shows the media server that functions as the data mover between the client and the storage server.

If the media server cannot start or complete the job, NetBackup retries the job after the job retry period elapses. (Configure the job retry interval by using the master server Global Attributes Job retry delay host property.)

If you select more than one media server in the storage unit Media server field, NetBackup may retry the job with a different media server.

RestoresUse normal NetBackup processes to restore data from backups.

To perform the restore, NetBackup chooses one of the media servers that can move data to and from the disk pool.

Managing SharedDiskThe following are tasks to manage the SharedDisk storage option:

■ “Managing disk pools” on page 307

■ “Managing disk array logon credentials” on page 315

■ “Managing storage servers” on page 316

■ “Monitoring storage capacity and usage” on page 321

■ “Viewing disk reports” on page 321

■ “Viewing NetBackup logs” on page 322

■ “Troubleshooting SharedDisk” on page 323

307SharedDisk storage option updatesManaging SharedDisk

Managing disk poolsThe following are tasks to manage disk pools:

■ “Changing disk pool properties” on page 307

■ “Adding volumes to a SharedDisk disk pool” on page 309

■ “Changing disk pool or volume state” on page 312

■ “Merging disk pools” on page 313

■ “Deleting a disk pool” on page 314

■ “Obtaining disk pool and volume status” on page 315

Changing disk pool propertiesYou can change the high and the low water marks of a disk pool and change the comment that is associated with the disk pool.

You also can add other media servers that are allowed to access the disk pool.

To change disk pool properties

1 In the NetBackup Administration Console tree, select Media and Device Management > Devices > Disk Pools.

2 Select the disk pool you want to change in the details pane.

3 Click Edit > Change.

308 SharedDisk storage option updatesManaging SharedDisk

4 In the Change Disk Pool dialog box, change properties.

Disk pool propertiesThe following are the disk pool properties:

■ The disk pool name.

■ The media servers that connect to the disk array. All media servers must be the same system type (such as all Solaris).

■ The total amount of space available in the disk pool.

■ The total raw, unformatted size of the storage in the disk pool.

■ The number of volumes in the disk pool.

■ A comment that is associated with the disk pool.

■ The high water mark for the disk pool. (The default is 98%.)

The high water mark is a threshold that indicates the storage is full. It applies to both the individual disk volumes in the pool and the disk pool, as follows:

309SharedDisk storage option updatesManaging SharedDisk

■ Individual volumes. When a disk volume reaches the high water mark, NetBackup writes the data to another disk volume in the pool.

■ Disk pool. When all volumes are at the high water mark, the disk pool is full. When a disk pool approaches the high water mark, NetBackup reduces the number of jobs that are allowed to write to the pool. NetBackup does not assign new jobs to a storage unit in which the disk pool is full.

■ The low water mark for the disk pool. (The default is 80%.)

When the capacity of the disk pool returns to the low water mark, NetBackup again assigns jobs to the storage unit. Capacity is regained as backup images expire.

The low water mark setting cannot be greater than or equal to the high water mark setting.

Adding volumes to a SharedDisk disk poolIf your storage administrator allocates more LUNs in an array to NetBackup, you must add those volumes to a disk pool. NetBackup does not add those volumes to a SharedDisk disk pool automatically.

(By default, NetBackup automatically increases disk pool capacity if the capacity of the underlying disk volumes increases. Similarly, NetBackup decreases the capacity of a disk pool if the underlying disk volume capacity decreases.)

The NetBackup storage units that use the disk pool automatically use the additional storage capacity. You do not have to change the storage units.

How you add volumes depends on how the disk pool was created:

■ If you used the enclosure method to create the disk pool, see “Adding volumes to a SharedDisk disk pool: enclosure method” on page 309.

■ If you used the volumes method to create the disk pool, see “Adding volumes to a SharedDisk disk pool: volumes method” on page 311.

Note: The volumes must be allocated for NetBackup and they must be formatted. NetBackup does not allow volumes to be formatted after you add them to a disk pool. Also, NetBackup does not let you delete volumes after you add them to a disk pool. Therefore, if the volumes were not formatted, you cannot use them and cannot delete them from the disk pool. You must then delete the entire disk pool.

Adding volumes to a SharedDisk disk pool: enclosure methodIf you created a SharedDisk disk pool by the enclosure method, add volumes to the disk pool by inventorying the disk pool. The inventory:

310 SharedDisk storage option updatesManaging SharedDisk

■ Queries the disk array for volume information.

■ Displays the LUNs with the nbusd_ prefix in the Inventory Disk Pool dialog box. If the array does not allow specific LUN prefixes, the inventory discovers all LUNS on the array.

You can update the configuration (that is, import the new disk volumes). Alternatively, you can decline the update if it does not correctly show the actual configuration.

To add SharedDisk volumes by using Inventory Disk Pool

1 In the NetBackup Administration Console tree, select Media and Device Management > Devices > Disk Pools.

2 Click Actions > inventory Disk Pool.

3 In the Inventory Disk Pool dialog box, select the disk pool and then click Start Inventory.

The default selection is the disk pool that was selected in the Administration Console.

311SharedDisk storage option updatesManaging SharedDisk

4 To update the disk pool configuration with the new information, click Update Configuration. Update Configuration is enabled only after the inventory has completed.

If the results do not correctly show the actual configuration, do not update the configuration. Do the following:

■ Verify that the new LUNs use the nbusd_ prefix.

■ Verify that the new LUNs are the size allocated by the storage administrator.

■ Use the nbshareddisk command to determine on which array the new LUNs reside.

Adding volumes to a SharedDisk disk pool: volumes methodIf you created a SharedDisk disk pool by the volumes method, add volumes to the disk pool by using the nbdevconfig command. First, create a new, temporary disk pool and then merge it into the original disk pool.

If you created a disk pool by the enclosure method, you can use the volumes method to expand the storage of the disk pool. However, you must then always use the volumes expansion method for future expansion.

Use the NetBackup nbdevconfig command to merge disk pools. Invoke the commands from a NetBackup media server that is configured as a storage server.

The following are the prerequisites:

■ Both disk pools must use the same set of NetBackup media servers to share the storage.

■ The volumes in the temporary disk pool must have different names than the volumes in the original disk pool.

■ All of the disk volumes must have the same file system.

■ The new disk volumes must be formatted.

The nbdevconfig command resides in the following directory:

UNIX: /usr/openv/netbackup/bin/admincmdWindows: install_path\Program Files\VERITAS\NetBackup\bin\admincmd

To add SharedDisk volumes by using nbdevconfig

1 On a SharedDisk storage server, preview the volumes in an array and write the output to a file. The output file includes both formatted volumes and unformatted volumes. The file is used as input when you create the disk pool. The following is the command syntax:nbdevconfig –previewdv –storage_server storage_server –stype SharedDisk -media_server media_server > filename

The following are the options:

312 SharedDisk storage option updatesManaging SharedDisk

■ -storage_server storage_server specifies the storage server.

■ -stype SharedDisk specifies the storage server type.

■ -media_server media_server specifies the media server that performs the operation. Use the same name as the storage server.

2 Edit the file that was created in the previous step and remove all but the new volumes. The file is used as the input when you create the disk pool.

3 Create a disk pool from the volumes that are listed in the file. The following is the command syntax:nbdevconfig –createdp –dp disk_pool_name –storage_servers storage_server [storage_server ...] –stype SharedDisk –dvlist filename

The following are the options:

■ -dp disk_pool_name specifies the disk pool.

■ -storage_servers storage_server specifies the storage servers. Specify all of the servers that share the disk pool.

■ -stype SharedDisk specifies the storage server type.

■ -dvlist filename specifies the file of volume names.

4 Change the state of each disk pool to DOWN; the following is the command syntax:nbdevconfig -changestate -stype SharedDisk -dp disk_pool_name -state DOWN

If backup jobs are assigned to a disk pool, the state change fails. Cancel the backup jobs or wait until the jobs complete.

5 Merge the disk pools. The following is the command syntax. The primary disk pool is the one you want to retain; nbdevconfig deletes the secondary disk pool after the merge. nbdevconfig –mergedps –stype SharedDisk -primarydp disk_pool_name -secondarydp disk_pool_name

6 Change the state of the primary disk pool to UP. The following is the command syntax:nbdevconfig -changestate -stype SharedDisk -dp disk_pool_name -state UP

Changing disk pool or volume statePool and volume states are UP or DOWN. You can change the state of a disk pool or volume.

To change the state to DOWN, the disk pool must not be busy. If backup jobs are assigned to the disk pool, the state change fails. Cancel the backup jobs or wait until the jobs complete.

313SharedDisk storage option updatesManaging SharedDisk

To change the disk pool state by using the Device Monitor

1 In the NetBackup Administration Console, select Media and Device Management > Device Monitor.

2 Select the Disk Pools tab.

3 Select the disk pool.

4 Select either Actions > Up or Actions > Down.

The nbdevconfig command resides in the following directory:

UNIX: /usr/openv/netbackup/bin/admincmdWindows: install_path\Program Files\VERITAS\NetBackup\bin\admincmd

To change the disk pool state by using the nbdevconfig command

◆ The following is the command syntax:nbdevconfig -changestate -stype SharedDisk -dp disk_pool_name -state state

state is either UP or DOWN.

To change the disk volume state

1 Determine the name of the disk volume. The following command lists all volumes in the specified disk pool:nbdevquery -listdv -stype SharedDisk -dp disk_pool_name

2 Change the disk volume state; the following is the command syntax:nbdevconfig -changestate -stype SharedDisk -dp disk_pool_name –dv vol_name -state state

state is UP or DOWN.

NetBackup jobs still read from and write to a disk pool that has a downed volume, but the downed volume is unavailable.

Merging disk poolsYou can merge existing SharedDisk disk pools.

NetBackup updates the catalog records to show the correct location of the backup images in those disk pools.

Note: After you merge SharedDisk disk pools, you must use the volumes method to add volumes to the disk pool. This restriction also applies if you used the enclosure method to create the disk pools.

Prerequisites:

■ The volumes in the two disk pools must have unique names.

314 SharedDisk storage option updatesManaging SharedDisk

■ Both disk pools must use the same set of NetBackup media servers to share the storage.

■ If storage units reference the secondary disk pool, you must delete those storage units.

The nbdevconfig command resides in the following directory:

UNIX: /usr/openv/netbackup/bin/admincmdWindows: install_path\Program Files\VERITAS\NetBackup\bin\admincmd

To merge disk pools

1 Change the state of each disk pool to DOWN; the following is the command syntax:nbdevconfig -changestate -stype SharedDisk -dp disk_pool_name -state DOWN

If backup jobs are assigned to a disk pool, the state change fails. Cancel the backup jobs or wait until the jobs complete.

2 Merge the disk pools. The following is the command syntax. The primary disk pool is the one you want to retain; nbdevconfig deletes the secondary disk pool after the merge. nbdevconfig –mergedps –stype SharedDisk -primarydp disk_pool_name -secondarydp disk_pool_name

3 Change the state of the primary disk pool to UP. The following is the command syntax:nbdevconfig -changestate -stype SharedDisk -dp disk_pool_name -state UP

Deleting a disk poolIf you delete a disk pool, NetBackup removes it from your configuration.

If a disk pool is the storage destination of a storage unit, you must first delete the storage unit.

Caution: Do not delete a disk pool that contains unexpired NetBackup images; if you do, data loss may occur.

To delete a disk pool

1 In the NetBackup Administration Console tree, select Media and Device Management > Devices > Disk Pools.

2 Select a disk pool

3 Click Edit > Delete.

315SharedDisk storage option updatesManaging SharedDisk

4 In the Delete Disk Pool dialog box, verify that the disk pool is the one you want to delete and then click OK.

Obtaining disk pool and volume statusUse the NetBackup nbdevquery command to obtain the status of NetBackup disk pools and volumes in those disk pools.

Managing disk array logon credentialsFor SharedDisk storage, the currently configured disk array credentials are shown in the Media and Device Management > Credentials > Disk Array Hosts view.

You can add, change, or delete the credentials that Netbackup uses to access the arrays in your NetBackup environment.

Table 12-1 nbdevquery disk pool options

Option Description

-dv disk_volume Used with -listdv, it shows the properties of the specified disk volume.

-l Produces the parsable output, one line of output per disk volume with no headers. The first field indicates the version of the output as an aid to create scripts. By default, nbdevquery uses the -l option.

-listdp Shows all disk pools.

To show the properties of a specific disk pool, also use the -dp disk_volume option.

-listdv Shows a summary of all disk volumes.

To show the properties of a specific disk volume, also use the -dv disk_volume option.

-stype SharedDisk Use this option with the following two options:

■ With -listdp, shows all disk pools of the specified storage type.

■ With -listdv, shows all disk pools of the specified storage type and their disk volumes.

-U Produces an output format that is more human-readable.

-D Produces an output format that provides more information than the -U option but is not formatted as much as the -U option.

316 SharedDisk storage option updatesManaging SharedDisk

To add array logon credentials

1 In the NetBackup Administration Console, expand Media and Device Management > Credentials.

2 Select Disk Array Hosts.

3 Click Actions > New > Disk Array Host.

4 Enter the host name in the dialog box.

5 In the New Disk Array Host dialog box, enter the credentials.

To change array logon credentials

1 In the NetBackup Administration Console, expand Media and Device Management > Credentials > Disk Array Host.

2 Select a disk array host.

3 Click Edit > Change.

4 In the Change Disk Array Host dialog box, change the credentials.

To delete array logon credentials

1 In the NetBackup Administration Console, expand Media and Device Management > Credentials > Disk Array Host.

2 Select a disk array host.

3 Click Edit > Delete.

The disk array host is deleted; no confirmation dialog appears.

Managing storage serversYou can do the following to manage the storage servers that exist in your environment:

■ “Viewing storage servers” on page 317

■ “Viewing storage server attributes” on page 318

■ “Obtaining storage server status” on page 317

■ “Adding a SharedDisk storage server” on page 318

■ “Removing storage server attributes” on page 319

■ “Removing a storage server from disk pool access” on page 320

■ “Deleting a storage server” on page 320

317SharedDisk storage option updatesManaging SharedDisk

Viewing storage serversTo view a list of storage servers already configured, use the nbdevquery command.

To view configured storage servers

◆ Run the following command on the NetBackup master server:nbdevquery -liststs

To list only SharedDisk storage servers, use the -stype SharedDisk option and argument.

The -U option provides more detailed information.

The following is the path to the command:

UNIX and Linux: /usr/openv/netbackup/bin/admincmd

Windows: install_path\Program Files\VERITAS\NetBackup\bin\admincmd

The command lists all storage servers already configured. By default, NetBackup configures all media servers as BasicDisk storage servers. Therefore, all media servers in your environment appear as BasicDisk servers, as in the following example:nbdevquery -liststsV6.5 tree.symantecs.org BasicDisk 5V6.5 flower.symantecs.org BasicDisk 5V6.5 water.symantecs.org BasicDisk 5

If the media server does not appear in the command output as a SharedDisk storage server, configure the media server as a storage server.

Obtaining storage server statusThe NetBackup nbdevquery command lets you obtain the status of storage servers.

Table 12-2 nbdevquery storage server options

Option Description

-liststs Shows all storage servers.

-storage_server

server_nameShows the information about the specified storage server. Must be used with the -liststs option.

-stype SharedDisk Use this option with the following two options:

■ With -liststs, shows all storage servers of the specified storage type.

■ With -storage_server, shows all storage servers that are at the specified host.

318 SharedDisk storage option updatesManaging SharedDisk

For more information about the nbdevquery command, see the NetBackup Commands for UNIX and Linux or NetBackup Commands for Windows manual.

Viewing storage server attributesYou can view the storage server attributes.

To view storage server attributes

◆ Run the following command on the NetBackup master server or a storage server:nbdevquery -liststs -storage_server storage_server -stype SharedDisk –U

The following is the path to the command:

UNIX and Linux: /usr/openv/netbackup/bin/admincmd

Windows: install_path\Program Files\VERITAS\NetBackup\bin\admincmd

The following is an example:% nbdevquery -liststs -storage_server advdsk_server -stype AdvancedDisk –UStorage Server : shareddisk_server.symantecs.comStorage Server Type : SharedDiskStorage Type : Formatted Disk, Direct AttachedState : UPFlag : OpenStorageFlag : FT-TransferFlag : PrefRestore

This example output is shortened; more flags may appear in actual output.

Adding a SharedDisk storage serverYou can add a SharedDisk storage server to an existing SharedDisk configuration. The NetBackup media server also becomes a data mover.

To add a SharedDisk storage server

1 Install and configure the NetBackup media server software.

For procedures, see the NetBackup Installation Guide for UNIX and Linux or the NetBackup Installation Guide for Windows.

2 Prepare the SAN.

For procedures, see “Preparing the SAN” on page 278.

3 Install the disk array software on the media server.

For procedures, see “Installing array software on media servers” on page 279.

4 Add the media server to the host entry list on the disk array.

319SharedDisk storage option updatesManaging SharedDisk

For procedures, see “Add array host entries” on page 280.

5 If no other storage servers were configured, you must change the state of all disk pools on the storage to UP. The following is the command syntax:nbdevconfig -changestate -stype SharedDisk -dp disk_pool_name -state UP

6 Verify that the new media server appears in every storage unit that points to a disk pool on that disk array. The storage unit dialog box includes a media servers list.

7 For every SharedDisk storage unit that specifies Use one of the following media servers, update the storage unit so it uses the correct media servers.

This step is not required if the storage unit is configured to use any available media server.

Removing storage server attributesYou can remove the following storage server attributes:

■ Preferred restore server

■ Required restore server

■ Required duplication server

To remove storage server attributes

◆ Run the following command on the NetBackup master server or the storage server:nbdevconfig -changests -storage_server storage_server -stype SharedDisk -clearattribute attribute

The following is the path to the command:

UNIX and Linux: /usr/openv/netbackup/bin/admincmd

Windows: install_path\Program Files\VERITAS\NetBackup\bin\admincmd

The following are the options and arguments:

■ -storage_server storage_server is the name of the storage server.

■ -stype SharedDisk specifies the storage server type.

■ -clearattribute attribute is an attribute to remove from the storage server for restore or duplication operations. You can specify more than one -clearattribute attribute pair on the command line. The following are the attributes:

■ PrefRestore. The storage server is preferred for the read side of restore operations.

■ ReqRestore. The storage server is required for the read side of restore operations.

320 SharedDisk storage option updatesManaging SharedDisk

■ ReqDuplicate. The storage server is required for the read side of duplication operations.

Removing a storage server from disk pool accessYou can remove a SharedDisk storage server so that it no longer can access a disk pool. If NetBackup jobs exist that use that storage server, you cannot remove it. A SharedDisk storage server is also a media server.

Caution: If you remove the only storage server, data may be lost. NetBackup cannot access the disk pool and the backup images on the disk pool.

To remove a SharedDisk storage server from disk pool access

1 For every storage unit that specifies the storage server (media server), clear the checkbox that specifies the media server. The Use one of the following media servers option specifies the storage servers.

This step is not required if the storage unit is configured to use any available media server.

2 If only one storage server exists, change the state of all disk pools on the array to DOWN. To do so, use the following command:nbdevconfig -changestate -stype SharedDisk -dp disk_pool_name -state DOWN

3 Remove the storage server. The following is the command syntax:nbdevconfig -changedp -stype SharedDisk -dp disk_pool_name -del_storage_servers storage_server

Deleting a storage serverIf you delete a storage server, NetBackup removes it from your configuration.

The media server is not deleted from your configuration. To delete the media server, use the NetBackup nbemmcmd command.

If a disk pool is configured from the disk volumes that the storage server manages, you cannot delete the storage server.

Caution: Do not delete a storage server if its storage contains unexpired NetBackup images; if you do, data loss may occur.

To delete a storage server

◆ Use the following command:

321SharedDisk storage option updatesManaging SharedDisk

nbdevconfig -deletests -storage_server storage_server -stype SharedDisk

The nbdevconfig command resides in the following directory:

Monitoring storage capacity and usageTo monitor storage capacity and usage, see:

■ The NetBackup Disk Pool status report. For more information, see “Viewing disk reports” on page 321.

■ Media and Device Management > Devices > Disk Pools.

■ The NetBackup License Keys dialog box. Open the dialog box by selecting Help > License Keys in the NetBackup Administration Console. Display the summary by clicking Summary of active capacity-based license features.

The summary displays the storage capacity for which you are licensed and the capacity used. It does not display the amount of physical storage space.

The NetBackup Operations Manager also provides information about storage capacity and usage. For more information, see the NetBackup Operations Manager Guide.

Viewing disk reportsThe NetBackup disk reports include information about the disk pools, disk storage units, disk logs, images that are stored on disk media, and storage capacity.

To view disk reports

1 In the NetBackup Administration Console tree, expand NetBackup Management > Reports > Disk Reports.

2 Select the name of a disk report.

3 In the right pane, select the report settings.

4 Click Run Report.

322 SharedDisk storage option updatesManaging SharedDisk

Table 12-3 shows the disk reports.

Viewing NetBackup logsYou can monitor NetBackup disk-related activity and status by viewing the NetBackup log files.

Some NetBackup commands or processes write messages to their own log files. Other processes use Veritas unified log (VxUL) files. VxUL uses a standardized name and file format for log files. An originator ID (OID) identifies the process that writes the log messages. For information about the logs, see Table 12-4

Table 12-3 Disk reports

Report Description

Images on Disk The Images on Disk report generates the image list present on the disk storage units that are connected to the media server. The report is a subset of the Images on Media report; it shows only disk-specific columns.

The report provides a summary of the storage unit contents. If a disk becomes bad or if a media server crashes, this report can let you know what data is lost.

Disk Logs The Disk Logs report displays the media errors or the informational messages that are recorded in the NetBackup error catalog. The report is a subset of the Media Logs report; it shows only disk-specific columns.

Disk Storage Unit The Disk Storage Unit Status report displays the state of disk storage units in the current NetBackup configuration.

For disk pool capacity, see Media and Device Management > Devices > Disk Pools.

Multiple storage units can point to the same disk pool. When the report query is by storage unit, the report counts the capacity of disk pool storage multiple times.

Disk Pool Status The Disk Pool Status report displays the state of disk pool storage units. This report displays only when an Enterprise Disk Option license is installed.

323SharedDisk storage option updatesManaging SharedDisk

Messages that begin with an sts_ prefix relate to the interaction with the storage vendor software plug-in. Most interaction occurs on the NetBackup media servers.

To view and manage VxUL log files, you must use NetBackup log commands. For information about how to use and manage logs on NetBackup servers, see the NetBackup Troubleshooting Guide.

Troubleshooting SharedDiskTo help with troubleshooting, see the following:

■ “SharedDisk troubleshooting checklist” on page 324

Table 12-4 NetBackup logs

Activity VxUL OID Processes that use the ID

Backups and restores

N/A Messages appear in the log files for the following processes:

■ bpbrm backup and restore manger

■ bpdbm database manager

■ bpdm disk manager

■ bptm for I/O operations

Backups and restores

117 The nbjm job manager.

Device configuration

111 The nbemm process.

Device configuration

178 The Disk Service Manager process that runs in the Enterprise Media Manager (EMM) process.

Device configuration

202 The Storage Server Interface process that runs in the Remote Manager and Monitor Service. RMMS runs on media servers.

If the Storage Server Interface logs indicate problems with the Veritas Frozen Image (VxFI) service, examine the VxFI log files for detailed trace information:

■ UNIX: /user/openv/netbackup/logs/bpfis

■ Windows: install_path\VERITAS\NetBackup\logs\bpfis

Device configuration

230 The Remote Disk Service Manager interface (RDSM) that runs in the Remote Manager and Monitor Service. RMMS runs on media servers.

324 SharedDisk storage option updatesManaging SharedDisk

■ “Determining masked LUNs” on page 332

■ “Checking out a SharedDisk disk volume” on page 333

■ “Disk failure” on page 334

■ “Restore or duplication operations” on page 334

SharedDisk troubleshooting checklistThe following checklist may help you troubleshoot if you have problems when you configure and use the SharedDisk storage option:

“1. Verify NetBackup installation and license keys” on page 324

“2. Verify the array vendor software installation” on page 324

“3. Verify that the EMM server recognizes the media servers” on page 325

“4. Verify that the disk array credentials are configured” on page 325

“5. Restart NetBackup services” on page 326

“6. Verify LAN connectivity to the disk array” on page 327

“7. Verify that the array host list includes the NetBackup servers” on page 327

“8. Verify that the array can query the LUNs” on page 328

“9. Verify SAN connectivity to the disk array” on page 329

“10. Verify that the media servers are configured as storage server(s)” on page 331

“11. Verify that everything works in your environment” on page 332

“12. For more troubleshooting information” on page 332

“13. Contact NetBackup support” on page 332

1. Verify NetBackup installation and license keysThe NetBackup master server and all NetBackup media servers that use the feature must be at NetBackup 6.5 or later. You must activate the feature by entering the appropriate license key in NetBackup.

If you have configuration problems, verify that:

■ The NetBackup servers are at the correct release levels

■ The license key is installed on the NetBackup master server.

For more information, see “Installing SharedDisk” on page 277.

2. Verify the array vendor software installationThe Veritas Frozen Image (VxFI) service is the NetBackup component that manages access to the storage on the disk array. VxFI uses the disk array vendor’s command line interfaces to: configure the arrays and mask and unmask the LUNs when a media server accesses the storage. The array vendor

325SharedDisk storage option updatesManaging SharedDisk

software must be installed on each NetBackup media server that accesses the storage.

If you have configuration or storage access problems, verify that the disk array vendor’s command line interfaces are installed. For more information, see “Installing array software on media servers” on page 279.

Also, verify that a supported version of the disk array vendor’s command line interface is installed on each media server. To determine supported versions, check the NetBackup hardware compatibility list (HCL). You can find the HCL at the NetBackup support site:http://entsupport.symantec.com

3. Verify that the EMM server recognizes the media serversTo verify that the EMM server recognizes each media server, use the following command. If you have more than one NetBackup master server, use the -masterserver option to identify the master server.nbemmcmd –listhosts

Each media server should appear in the output.

The following is example output:The following hosts were found:master masterserver.symantecs.orgserver masterserver.symantecs.orgdisk_array oven3adisk_array orachdisk_array cx5002media mediaserver.symantecs.orgCommand completed successfully.

The command output shows which servers are registered with the NetBackup EMM server. The master server and the EMM server are installed on the same host, so the server appears twice.

If a media server does not appear, add it by using the nbemmcmd command. The following is the syntax:nbemmcmd -addhost -machinename hostname -machinetype media

Other options let you specify more detailed information.

The nbemmcmd command resides in the following directories:

■ UNIX: /usr/openv/netbackup/bin/admincmd

■ Windows: install_path\VERITAS\Netbackup\bin\admincmd

For command usage, see NetBackup Commands for UNIX and Linux or NetBackup Commands for Windows.

4. Verify that the disk array credentials are configuredVerify that the logon credentials are configured for each disk array. To do so, use the following command:

326 SharedDisk storage option updatesManaging SharedDisk

tpconfig –ddiskarrays

The following is example output:==================================================================Disk Array Host Name: oven3aDisk Array Type: NetApp(5)User Id: rootRequired Port: 0==================================================================Disk Array Host Name: orachDisk Array Type: HP EVA(0)User Id: administratorRequired Port: 0==================================================================Disk Array Host Name: cx5002Disk Array Type: EMC CLARiiON(1)User Id: adminRequired Port: 0

If a disk array host does not appear, add the credentials. For procedures, see “Managing disk array logon credentials” on page 315. (Alternatively, you can use the tpconfig command.)

Note: This command verifies only that credentials are configured; it does not verify that the credentials are correct.

The tpconfig command resides in the following directories:

■ UNIX: /usr/openv/volmgr/bin/

■ Windows: install_path\VERITAS\Volmgr\bin

For command usage, see NetBackup Commands for UNIX and Linux or NetBackup Commands for Windows.

5. Restart NetBackup servicesAfter you add credentials, stop and then start the NetBackup services on the NetBackup master server. Also stop and start the services on each NetBackup media server that accesses the disk array. You can use the NetBackup Administration Console Activity Monitor to stop and start the services. Alternatively, you can use the following commands in sequence:

■ UNIX:/usr/openv/netbackup/bin/bp.kill_all/usr/openv/netbackup/bin/bp.start_all

■ Windows:install_path\VERITAS\Netbackup\bin\bpdown.exeinstall_path\VERITAS\Netbackup\bin\bpup.exe

327SharedDisk storage option updatesManaging SharedDisk

6. Verify LAN connectivity to the disk arrayTo verify LAN connectivity to the disk array, use the following command:nbshareddisk list

Verify that each disk array (enclosure) appears in the command output. If all of the disk arrays appear in the output, LAN connectivity to the disk arrays exists.

The following is example output:Enclosure list:Vendor Array Name Enclosure ID -------------------------------------------------------------------------NETAPP oven3a UEID##NETAPP##LUN##1042386 HP HPEVA4000 UEID##HP##HSV##5000-1FE1-5007-0020HP VRTS.EVA UEID##HP##HSV##5000-1FE1-5004-5660EMC 000187910258 UEID##EMC##SYMMETRIX##000187910258EMC APM00044701641-cx500 UEID##EMC##CLARIION##APM00044701641

If a disk array does not appear in the output:

■ Verify that the disk array logon credentials exist.

For procedures, see “4. Verify that the disk array credentials are configured” on page 325.

■ Verify that the disk array vendor’s command line interfaces are installed on each media server. (Not required for NetApp.) Also, verify that the supported versions of the disk array vendor’s command line interfaces are installed on each media server.

For more information, see “2. Verify the array vendor software installation” on page 324.

■ Examine nbshareddisk command logs for messages about failures. The following are the log file pathnames:

Windows: install_path\VERITAS\NetBackup\logs\admin

UNIX: /usr/openv/netbackup/logs/admin

To obtain useful information, you may have to increase the NetBackup logging levels.

The nbshareddisk command resides in the following directories:

■ UNIX: /usr/openv/netbackup/bin/admincmd

■ Windows: install_path\VERITAS\Netbackup\bin\admincmd

For command usage, see NetBackup Commands for UNIX and Linux or NetBackup Commands for Windows.

7. Verify that the array host list includes the NetBackup serversTo verify that the disk array host list includes each NetBackup server that accesses the array, use the following command:nbshareddisk list -hosts

328 SharedDisk storage option updatesManaging SharedDisk

Each NetBackup media server that accesses the array must in the host list. Host names must be valid IP host names. For all array vendors, the host entries must match the DNS hostname of the media server. The host list also is known as a WWN map.

The following is example output:Enclosure ID Host Name HBA WWPN-----------------------------------------------------------------1042386 MediaServerA 10000000c943c9711042386 MediaServerB 10000000c9439ef75000-1FE1-5007-0020 MediaServerA 10000000c943c9715000-1FE1-5007-0020 MediaServerB 10000000c9439ef7000187910258 MediaServerA 10000000c943c971000187910258 MediaServerB 10000000c9439ef7APM00044701641 MediaServerA 10000000C943C971APM00044701641 MediaServerB 10000000C9439EF7

Depending on how your environment is configured, additional hostnames may be in the list also.

If a media server is not in the list, do the following:

■ Verify that the SAN zone includes the HBA and array port WWPNs. The array ports must be hard or soft zoned to the NetBackup media server and NetBackup client HBA ports.

For more information, see “Zoning the SAN” on page 278.

■ Add the host entries.

For more information, see “Add array host entries” on page 280.

■ Examine the array disk plug-in logs for messages about failures. The following are the log file pathnames:

Windows: install_path\VERITAS\NetBackup\logs\adsts.log

UNIX: /usr/openv/netbackup/logs/adsts.log

To obtain useful information, you may have to increase the NetBackup logging levels.

The nbshareddisk command resides in the following directories:

■ UNIX: /usr/openv/netbackup/bin/admincmd

■ Windows: install_path\VERITAS\Netbackup\bin\admincmd

For command usage, see NetBackup Commands for UNIX and Linux or NetBackup Commands for Windows.

8. Verify that the array can query the LUNsVerify that each disk array (enclosure) can display the LUNs that were allocated to NetBackup.

The following is the command syntax. It displays the LUNs with their unique device identifier (UDID) for the specified disk array.

329SharedDisk storage option updatesManaging SharedDisk

nbshareddisk list –ueid unique_enclosure_ID

The following is an example command and output:nbshareddisk list –enclosure UEID##EMC##CLARIION##APM00044701641Device Name Size (KB) Device Id ------------------------------------------------------------------------------------------------------------------------nbusd_winb5 5242880 UDID##DGC##CLARIION##APM00044701641##60:06:01:60:2C:96:12:00:D8:CD:C0:49:7D:4E:DB:11nbusd_winb3 5242880 UDID##DGC##CLARIION##APM00044701641##60:06:01:60:2C:96:12:00:D6:CD:C0:49:7D:4E:DB:11nbusd_winb4 5242880 UDID##DGC##CLARIION##APM00044701641##60:06:01:60:2C:96:12:00:D7:CD:C0:49:7D:4E:DB:11nbusd_winb1 5242880 UDID##DGC##CLARIION##APM00044701641##60:06:01:60:2C:96:12:00:D4:CD:C0:49:7D:4E:DB:11nbusd_winb2 5242880 UDID##DGC##CLARIION##APM00044701641##60:06:01:60:2C:96:12:00:D5:CD:C0:49:7D:4E:DB:11

If the array does not support LUN prefix names, all LUNs on the array should appear in the command output.

If the correct UDIDs do not appear in the output, verify the array configuration as follows:

■ Verify that the LUNs were allocated to NetBackup by using the nbusd_ prefix.

For more information, see “Allocate LUNs for NetBackup” on page 281.

■ Examine the array disk plug-in logs for messages about failures. The following are the log file pathnames:

Windows: install_path\VERITAS\NetBackup\logs\adsts.log

UNIX: /usr/openv/netbackup/logs/adsts.log

To obtain useful information, you may have to increase the NetBackup logging levels.

The nbshareddisk command resides in the following directories:

■ UNIX: /usr/openv/netbackup/bin/admincmd

■ Windows: install_path\VERITAS\Netbackup\bin\admincmd

For command usage, see NetBackup Commands for UNIX and Linux or NetBackup Commands for Windows.

9. Verify SAN connectivity to the disk arrayTo verify SAN connectivity to a disk array, do the following:

■ Format a LUN on the array.

■ Mount and unmount the LUNs

If you can format a LUN and mount and unmount a LUN, SAN connectivity to the disk array is verified. I/O operation also is verified.

330 SharedDisk storage option updatesManaging SharedDisk

Format a LUN

If possible, format a small LUN on the array. The format operation can be a time-consuming process.

Caution: If you format a LUN on which data exists, the format operation erases that data.

For example, the following command formats two LUNs. The LUNs are listed in the arrayudidlist.txt file:nbshareddisk format -udid_file arrayudidlist.txt

Preparing to process LUNs/UDIDs:UDID##DGC##CLARIION##APM00044701641##60:06:01:60:2C:96:12:00:E2:CD:C0:49:7D:4E:DB:11UDID##DGC##CLARIION##APM00044701641##60:06:01:60:2C:96:12:00:E0:CD:C0:49:7D:4E:DB:11

Imported resource [UDID##DGC##CLARIION##APM00044701641##60:06:01:60:2C:96:12:00:E2:CD:C0:49:7D:4E:DB:11] at local device path [/dev/rdsk/c3t4d0].Device [/dev/rdsk/c3t4d0] formatted successfully with file-system type [ufs] and VM type [].Unmounted formatted resource [/dev/dsk/c3t4d0s2], [UDID##DGC##CLARIION##APM00044701641##60:06:01:60:2C:96:12:00:E2:CD:C0:49:7D:4E:DB:11].Deported resource [UDID##DGC##CLARIION##APM00044701641##60:06:01:60:2C:96:12:00:E2:CD:C0:49:7D:4E:DB:11].Imported resource [UDID##DGC##CLARIION##APM00044701641##60:06:01:60:2C:96:12:00:E0:CD:C0:49:7D:4E:DB:11] at local device path [/dev/rdsk/c3t4d0].Device [/dev/rdsk/c3t4d0] formatted successfully with file-system type [ufs] and VM type [].Unmounted formatted resource [/dev/dsk/c3t4d0s2], [UDID##DGC##CLARIION##APM00044701641##60:06:01:60:2C:96:12:00:E0:CD:C0:49:7D:4E:DB:11].Deported resource [UDID##DGC##CLARIION##APM00044701641##60:06:01:60:2C:96:12:00:E0:CD:C0:49:7D:4E:DB:11].

If the format fails:

■ (Solaris only.) Verify that the appropriate LUN entries were added to the sd.conf file. The LUN entries allow NetBackup to import LUNs to the host.

For more information, see “Adding LUN entries to the sd.conf file” on page 282.

■ Examine the array disk plug-in logs for messages about failures. The following are the log file pathnames:

331SharedDisk storage option updatesManaging SharedDisk

Windows: install_path\VERITAS\NetBackup\logs\adsts.log

UNIX: /usr/openv/netbackup/logs/adsts.log

To obtain useful information, you may have to increase the NetBackup logging levels.

Mount and unmount the LUNs

To mount a LUN, it must be formatted and offline. To unmount a LUN, it must be formatted and online.

The command to mount a LUN also performs other operations that help verify connectivity.

To mount and then unmount a specific LUN

1 Mount the LUN by using the nbshareddisk command. The following is the command syntax:nbshareddisk online –udid UDID##nn#nn##nn

The following is an example:nbshareddisk online –udid UDID##DGC##CLARIION##APM00044701641##60:06:01:60:2C:96:12:00:E2:CD:C0:49:7D:4E:DB:11List of online mount points------------------------------------------------------------------------------------Udid Mount point ------------------------------------------------------------------------------------UDID##DGC##CLARIION##APM00044701641##60:06:01:60:2C:96:12:00:E2:CD:C0:49:7D:4E:DB:11 /nbusd_b8fd784dd4df57e6

2 Unmount the LUN by using the nbshareddisk command. The following is the command syntax (the command produces no output):UNIX: nbshareddisk offline -device mount_pointWindows: nbshareddisk offline -device C:\nbussod\mnt_point\

Ensure that you use the trailing back slash on the Windows command line.

The following is an example:nbshareddisk offline -device /nbusd_b8fd784dd4df57e6

The nbshareddisk command resides in the following directories:

■ UNIX: /usr/openv/netbackup/bin/admincmd

■ Windows: install_path\VERITAS\Netbackup\bin\admincmd

For command usage, see NetBackup Commands for UNIX and Linux or NetBackup Commands for Windows.

10. Verify that the media servers are configured as storage server(s)Verify that each NetBackup that connects to the array is configured as a storage server. To do so, use the following commandnbdevquery -liststs -stype SharedDiskV6.5 tree.symantecs.org SharedDisk 6V6.5 flower.symantecs.org SharedDisk 6

332 SharedDisk storage option updatesManaging SharedDisk

V6.5 water.symantecs.org SharedDisk 6

The command output shows which media servers are configured as SharedDisk storage servers.

If a storage server does not appear, create the storage server. To do so, see “Creating a storage server in NetBackup” on page 289.

The nbdevquery command resides in the following directory:

UNIX: /usr/openv/netbackup/bin/admincmdWindows: install_path\Program Files\VERITAS\NetBackup\bin\admincmd

11. Verify that everything works in your environmentVerify that your network environment functions correctly. Verify that the NetBackup services are active on all NetBackup servers.

Ensure that you have read the NetBackup SharedDisk documentation and any vendor-specific documentation.

12. For more troubleshooting informationMore troubleshooting information about SharedDisk and its components such as VxFI is available on the Symantec Enterprise Support Web site in the following Tech Note:http://entsupport.symantec.com/docs/288177

The Tech Note contents are updated when new information is available. The Tech Note may contain more current information than this guide.

13. Contact NetBackup supportIf you performed all of steps in this checklist and problems still exist, contact NetBackup Technical Support. The following is the address for the site:http://entsupport.symantec.com

Determining masked LUNsThe NetBackup nbfirescan command scans for SCSI disk devices and displays the results.

The nbfirescan command resides in the Veritas Frozen Image directory as follows:

■ install_path\Common Files\Symantec Shared\VxFI\4\Bin (Windows)

■ /usr/openv/netbackup/bin (UNIX)

For more information about the nbfirescan command, see the NetBackup Commands for UNIX and Linux or NetBackup Commands for Windows manual.

333SharedDisk storage option updatesManaging SharedDisk

Checking out a SharedDisk disk volumeThe storage in an array is exposed to a NetBackup media server dynamically. That is, Veritas Frozen Image (VxFI) masks the storage when a media server performs I/O and then unmasks the storage when not required. (VxFI is the NetBackup component that manages access to the storage on the disk array.)

You can check out a disk volume manually to determine what NetBackup wrote on the file system on the LUNs.

To check out a disk volume

1 Determine the name of the disk volume. The following is the command syntax:nbdevquery -listdv -stype SharedDisk -dp disk_pool_name

2 Change the disk volume state to DOWN so that NetBackup does not assign jobs to it. The following is the command syntax:nbdevconfig -changestate –stype SharedDisk -dp disk_pool_name –dv vol_name -state DOWN

This command does not stop currently active jobs; they complete their I/O.

3 Wait for all active jobs that use that volume to complete. Use the NetBackup Administration Console Activity Monitor to monitor the jobs.

4 Determine the UDID of the disk volume. The following is the command syntax to display all of the disk volumes in an enclosure:nbshareddisk list -ueid unique_enclosure_id

5 Expose (mask) the LUN to a media server and then mount it. The following is the command syntax: nbshareddisk online -udid UDID##nn#nn##nn

6 Browse the file system.

7 Unmount the LUN. The following is the command syntax:UNIX: nbshareddisk offline -device mount_pointWindows: nbshareddisk offline -device C:\nbussod\mnt_point\

Ensure that you use the trailing back slash on the Windows command line.

8 Unmask the LUN from the media server. The following is the command syntax:nbshareddisk mask -udid UDID##nn#nn##nn

9 Change the disk volume to UP so that NetBackup can use it. The following is the command syntax:nbdevconfig -changestate –stype SharedDisk -dp disk_pool_name –dv vol_name -state UP

334 SharedDisk storage option updatesManaging SharedDisk

Disk failureA disk failure in an array that is configured to provide redundancy should not affect NetBackup disk pool operation.

If recovery mechanisms do not protect a disk that fails, the backup images on that disk are lost. Operating system read and write errors may occur for the volume that represents the disk. NetBackup cannot use that volume because of the errors, and NetBackup jobs may fail.

To prevent NetBackup from trying to read from or write to the disk, you must change the volume state to DOWN in NetBackup. If the volume represents other disks that still function, those disks are not available because the volume state is DOWN. You may be able to read from the volume by mounting it manually. If so, you may be able to recover image fragments from any disks that did not fail.

If you replace the failed disk, you can allocate that new disk to NetBackup, as follows:

■ In NetBackup, expire backup images on the downed volume so the image records are removed from the NetBackup catalog.

■ Use the array software utilities to delete the volume from the array.

■ Allocate the new disk and any other disks that were in the volume to NetBackup. You must use a different name for the LUN than was used for the original volume.

■ Add that LUN to an existing disk pool or create a new disk pool from that LUN.

Because NetBackup does not let you delete volumes from a disk pool, the downed volume remains in the disk pool. The downed volume does not affect disk pool functionality.

Restore or duplication operationsIf you use the preferred or required restore or duplication attributes for a storage server, the following may occur:

■ A restore operation uses a storage server that does not have a PrefRestore or ReqRestore attribute. Reasons may be as follows:

■ The destination disk pool does not include a storage server with a restore or duplication attribute.

■ A preferred or required storage server cannot be used because it is unavailable (NetBackup considers it DOWN).

■ A storage server is preferred for restore but the SharedDisk disk volume is mounted on a different storage server.

■ A restore or duplication operation is queued. Reasons may be as follows:

335SharedDisk storage option updatesManaging SharedDisk

■ A preferred or required storage server cannot be used because it is unavailable (NetBackup considers it DOWN).

■ A preferred or required storage server is not used because the SharedDisk disk volume is mounted on a different storage server.

336 SharedDisk storage option updatesManaging SharedDisk

Chapter 13

SAN Client and Fibre Transport updates

This SAN Client and Fibre Transport documentation supplements the documentation in the NetBackup Shared Storage Guide for NetBackup 6.5.

The NetBackup Shared Storage Guide will be updated for the next major NetBackup release.

New in NetBackup 6.5.2The following subsections describe new features and capabilities for SAN client and Fibre Transport in NetBackup 6.5.2. For more information, see the following:

■ “Tape as a storage destination” on page 337

■ “HBA port detection on Solaris” on page 339

■ “New HBAs supported” on page 339

Tape as a storage destinationWith this release, you can use tape as a storage destination for the SAN Client and Fibre Transport feature.

For more information, see the following:

■ “Benefits” on page 338

■ “Buffer size and concurrent pipe usage” on page 338

■ “Configuring multiplexing” on page 338

■ “Configuring multistreaming” on page 338

338 SAN Client and Fibre Transport updatesTape as a storage destination

■ “Limitations” on page 339

BenefitsUsing tape as a destination, you can multistream and multiplex backups of a SAN client to an FT media server, which provides the following benefits:

■ Ability to send nonmultiplexed and multiplexed backups of multiple streams to the tape media over the SAN.

■ The data streams can be sent over one or more FT channels to the FT media server. The media server multiplexes them together onto one or more tape drives.

■ Multiplexing enables parallel backup of multiple slower client data streams

Multiplexing reduces or eliminates idle time while the tape drive waits for data to become available. It better uses the transfer rate of fast tape drives.

With this feature, you can replace SAN Media servers with SAN Clients and continue to back up to tape. A SAN Client uses fewer system resources, both disk space and processor, than a SAN Media server.

Buffer size and concurrent pipe usageOn x86_64 computers, Symantec recommends that you use 10 or fewer pipes concurrently.

If you use more than 10 pipes, Symantec recommends that you configure the number of data buffers to a value less than 10. To do so, create (if necessary) the following file and include a single integer that specifies the number of pipes:/usr/openv/netbackup/db/config/NUMBER_DATA_BUFFERS_FT

Symantec recommends that the number of buffers times the number of pipes be 161 or fewer.

For the number of buffers per pipe, the default value is 16 for disk and 12 for tape.

Configuring multiplexingTo configure multiplexing, see the NetBackup Administrator’s Guide for UNIX and Linux, Volume I.

Configuring multistreamingTo configure multistreaming, see the NetBackup Administrator’s Guide for UNIX and Linux, Volume I.

339SAN Client and Fibre Transport updatesHBA port detection on Solaris

LimitationsThe following limitations exist for tape as a storage destination:

■ Only FT backups from the same client are multiplexed in a particular MPX group

■ FT backups from different clients are not multiplexed together in the same MPX group.

■ You cannot multiplex different SAN clients to the same tape. Different clients can still be backed up to the same FT media server, but they are written to different tape drives in different MPX groups).

■ FT and LAN backups (from the same client or different clients) are not multiplexed together in the same MPX group.

HBA port detection on SolarisOn Solaris systems, NetBackup 6.5.2 detects the PCI bus and only allows ports on one bus to be used for target mode, as follows:

■ The first choice is the bus with the most 2312 target mode ports.

■ If there are no 2312 target mode ports, the bus with the most 24xx target mode ports is used.

■ Target mode ports on other busses are not used.

New HBAs supportedNetBackup 6.5.2 includes support for the following QLogic HBAs for Fibre Transport media servers:

■ QLA2460 and QLA2462 (PCI-X)

■ QLE2460 and QLE2462 (PCI-e)

Symantec recommends that you do not use 24xx 4 GB/s HBAs in 33 MHz or 66 MHz PCI slots.

340 SAN Client and Fibre Transport updatesNew HBAs supported

Chapter 14

Remote NDMP and disk devices updates

This chapter contains the following topics:

■ “About remote NDMP and disk devices” on page 341

■ “Configuring remote NDMP” on page 342

About remote NDMP and disk devicesThe remote NDMP feature of NetBackup involves backing up NAS data (Network Attached Storage) to a storage device configured on a NetBackup media server. In previous releases, only tape devices were supported on the NetBackup media server for remote NDMP. This 6.5.2 release adds support for disk devices on the media server.

342 Remote NDMP and disk devices updatesConfiguring remote NDMP

Figure 14-1 NDMP backup to a storage unit on media server (remote NDMP)

Configuring remote NDMPThis topic describes how to configure NetBackup to make backups to either disk or tape storage units attached to a NetBackup media server. Only NDMP-specific steps are described.

To configure NDMP backups to disk or tape storage units

1 Authorize the NetBackup server to access the NDMP hosts you want to back up.

Do the following on the master server (not media server) if you plan to create snapshots using the Snapshot Client NAS_Snapshot method.

■ Under Media and Device Management > Credentials, click on NDMP Hosts. Under Actions, choose New > NDMP Host to display the NDMP Host dialog box.

■ Enter the name of the NDMP server (NAS filer) to back up. This NDMP host name is case sensitive.

■ Repeat the above for each NDMP host that the NetBackup server backs up.

2 Use the NetBackup Device Configuration wizard to configure devices for remote NDM (disks, or tape drives and robots, on the media server).

Note the following:

■ Do not use the device configuration procedure in the “Configuring NDMP backup to NDMP-attached devices” section of the NetBackup for

LAN / WAN

NDMP hosts (NAS filers). . .

NetBackup for NDMP media server

Backup data travels from NDMP hosts to a disk or tape drive attached to a NetBackup media server or on a SAN.

NOTE: The NetBackup drive(s) need not be dedicated to NDMP backups: they can be used for non-NDMP backups as well.

NetBackup drives in disk storage units or Media Manager storage units (tape).

343Remote NDMP and disk devices updatesConfiguring remote NDMP

NDMP Guide. Rather, configure the disk, or robots and drives, in the same way as ordinary NetBackup devices.

See the NetBackup Administrator’s Guide, Volume I.

■ Tape drives can be shared using the Shared Storage Option (SSO) of NetBackup. The drives can be shared as both NDMP drives and non NDMP drives.

See “Using the Shared Storage Option (SSO)” chapter of the NetBackup for NDMP Guide.

3 Create a disk or Media Manager storage unit for the drive(s). The storage unit type must be Disk or Media Manager, not NDMP.

For details on storage units, refer to the NetBackup Administrator’s Guide, Volume I.

4 Create an NDMP-type policy. On the New/Change Policy display, be sure to specify the storage unit that was created at step 3.

See “Creating an NDMP policy” in the NetBackup for NDMP Guide.

344 Remote NDMP and disk devices updatesConfiguring remote NDMP

Chapter 15

Synthetic Backup updates: Multiple copy backups

The Multiple Copy Synthetic Backups feature introduces the capability to read remote, non-primary source images to produce a second synthetic copy in remote storage.

This feature provides the following benefits:

■ This feature eliminates the bandwidth cost of copying synthetic full backups to another site.

Instead of duplicating a local synthetic full backup to a remote site to produce a second copy, it is more efficient to produce the second copy by using data movements only at the remote site.

■ This feature provides an efficient method to establish a dual-copy disaster recovery scheme for NetBackup backup images.

346 Synthetic Backup updates: Multiple copy backups

How this feature compares to previous releasesThis section describes how using the Multiple Copy Synthetic Backups feature to create synthetic backup copies differs from duplicating synthetic full backups in previous releases.

The following table emphasizes how the synthetic full backup produced at the remote site is a clone, or a second copy, of the first copy produced at the local site.

Figure 15-1 shows that using this feature, the images copied to the remote site are used as source images to be synthesized for the synthetic full backup at the remote site. No extra bandwidth is used to copy the synthetic full backup from Site A to Site B.

Procedure for releases before 6.5.2: Using Multiple Copy Synthetic Backups in 6.5.2:

1 A full backup is performed at the local site (Site A).

Step 1 remains the same.

2 The full backup is duplicated to the remote site (Site B).

Step 2 remains the same.

3 An incremental backup is performed at Site A. Step 3 remains the same.

4 The incremental backup is duplicated to Site B. Step 4 remains the same.

5 Steps 3 and 4 are repeated each time an incremental schedule runs.

Step 5 remains the same.

6 A full synthetic backup is produced at Site A. Step 6 remains the same.

7 The full backup is duplicated to Site B. A full synthetic backup is produced at Site B from images at Site B. The full synthetic backup at the remote site is a second copy of the synthetic backup at the local site.

8 Steps 2 through 7 repeat per backup scheduling needs.

Step 8 remains the same.

347Synthetic Backup updates: Multiple copy backups

Figure 15-1 Synthetic full backups can be created remotely in 6.5.2

Configuring Multiple Copy Synthetic BackupsTo configure a multiple copy synthetic backup, create a configuration file on the master server for each synthetic backup policy for which a second copy is to be produced.

The configuration file is a text file, named after the policy and schedule:

multi_synth.policy.schedule

On UNIX create the file in the following location:

/usr/openv/netbackup/db/config/multi_synth.policy.schedule

On Windows create the file in the following location:

install_path\VERITAS\NetBackup\db\config\multi_synth.policy.

schedule

Configuration variablesThe file format uses a traditional name-pair scheme for setting configuration preferences. Each preference uses a key name separated from the preference value by an equal sign with each name-value pair residing on a single line.

For example:

NAME=VALUE

Enter all values as integers.

Full backup (Copy 1)

Site A Incremental (Copy 1)

Full backup (Copy 2)

Incremental (Copy 2)

Incremental (Copy 1)

Incremental (Copy 2)

Synthetic full backup (Copy 1)

time

Synthetic full backup (Copy 2)

Backups are duplicated to the remote site

Copy 2 synthetic full is created remotely

Incremental (Copy 1)

Incremental (Copy 2)

Incremental (Copy 1)

Incremental (Copy 2)

(Local)

Site B

(Remote)

348 Synthetic Backup updates: Multiple copy backups

Table 15-1 describes the configuration entries that can be included in the configuration file.

Table 15-1 Configuration entries

Entry Purpose

SRC_COPY Specifies the copy number of each source component for the second synthetic backup. Every source backup must have a copy by this number unless SRC_COPY_FALLBACK is specified. The default is 2.

TARGET_COPY Specifies the copy number for the second synthetic backup produced. This must be different from the copy number of the first synthetic backup (which is 1). Default is 2.

COPY COPY is an alternate specification for SRC_COPY and TARGET_COPY.

If COPY is specified and either SRC_COPY and TARGET_COPY is not specified, the value for COPY is used.

TARGET_STU Specifies the storage unit name or storage unit group name where the second copy synthetic backup is to be written. Use the special identifier __ANY__ to indicate that Any Available storage unit can be used that is not configured to be on demand only. Note that there are two underscores before and after ANY:

TARGET_STU=__ANY__

FAIL_MODE The second synthetic backup is produced immediately following the first copy synthetic backup if no errors occur during production of the first copy. If an error occurs during the second copy, the FAIL_MODE value specifies the fate of the first copy job and image.

Specify one of the following:

■ FAIL_MODE=ALL

ALL means that if the second copy fails, the first copy and its job also fail. (Default.)

■ FAIL_MODE=ONE

ONE means that if the second copy fails, the failure does not affect the first copy job.

ENABLED Specifies whether production of the second copy is enabled or disabled. This entry turns the feature on or off.

Specify one of the following:

■ ENABLED=YES

Production of the second copy is enabled. (Default.)

■ ENABLED=NO

Production of the second copy is disabled.

349Synthetic Backup updates: Multiple copy backups

Simple configuration exampleThe following multiple copy synthetic configuration example takes advantage of default values to produce the second synthetic copy.

TARGET_STU=disk_stu

The default source of copy 2 and the default destination copy 2.

Advanced configuration exampleIn this example, the second copy is targeting a tape library (tape_stu). The configuration specifies a volume pool (Synthetics) for the target copy.

The copy number for the multiple copy synthetic backup is copy 3. If copy 3 is unavailable, SOURCE_COPY_FALLBACK indicates that copy 3 can be produced using the primary copy.

If copy 3 fails, only copy 3 fails and not the job of the primary copy.

TARGET_STU=tape_stu

VOLUME_POOL=Synthetics

SOURCE_COPY_FALLBACK=PRIMARY

COPY=3

ENABLED=YES

FAIL_MODE=ONE

SRC_COPY_FALLBACK Specifies that if a copy by the number given in SRC_COPY or COPY does not exist, the synthetic backup should use the primary backup.

The only valid value is the following:

SRC_COPY_FALLBACK=PRIMARY

VOLUME_POOL Specifies the volume pool for tape media, if one is used. If no volume pool is specified, NetBackup uses the volume pool specified in the policy. If a volume pool is entered for disk, the entry is ignored.

Table 15-1 Configuration entries

Entry Purpose

350 Synthetic Backup updates: Multiple copy backups

Chapter 16

New Activity Monitor displays job state details

The Jobs tab in the Activity Monitor now contains a new State Details column that displays the reason why a job is queued.

For a running job, the column may display the name of the resource for which a job waits. For example, Waiting for disk volume (dv2).

Or, the State Details column may display a condition that prevents the job from running. For example, Drives are in use in storage unit.

In some situations an active job can wait for a resource. For example, if a restore job requires more media because the backup image spans tapes. The restore job may be forced to wait if the second tape is used for another job.

The column displays by default. (See Figure 16-1.)

352 New Activity Monitor displays job state details

Figure 16-1 State Details column in the Activity Monitor

There may be a delay between when the job appears as Queued and when the queue reason is displayed.

When a job is initiated, it enters a queue to be awarded a resource. An analogous situation is the check-in line at the airport: the traveler may wait a while to reach the front of the line and be given a boarding pass.

Similarly, a job enters a queue behind other jobs that wait to be assigned to media servers, robots, drives, and media. When the job reaches the front of the queue, the necessary resources may be busy.

At that point, the job is not in a queue for resource selection, but in a queue for specific resources. When the specific resources are identified, the State Details column can convey the information.

353New Activity Monitor displays job state detailsState Details column messages

State Details column messagesThe State Details column can include the following messages:

■ A pending action is associated with the resource request. User intervention may be required.

■ Disk pool is unavailable (disk_pool)

■ Disk volume is currently unavailable

■ Drive on pre-6.0 media server is oversubscribed (storage_unit)

■ Drives are in use in storage unit (storage_unit)

■ Eligible cleaning media is unavailable

■ Lack of connectivity detected between media server and master server (media_server)

■ Limit has been reached for requested resource (resource)

■ Local drives are down

■ Maximum job count has been reached for the storage unit (storage_unit_name)

■ Maximum number of concurrent disk volume readers has been reached

■ Maximum partially full tape volumes has been reached

■ Mount file for tape already exists (mount_file_name)

■ Physical drives are not available for use

■ Required disk volume is in use (disk_volume, disk_pool)

■ Required disk volume is unmounting (disk_volume, disk_pool)

■ Required drives are in use

■ Required media is in a drive that is in use by NetBackup (media_id)

■ Required media is in use (media_id)

■ Required media server is not active in cluster (media_server, server_name)

■ Required media server is offline for disk (media_server)

■ Required media server is offline for tape (media_server)

■ Required robotic library is down on media server (robot_name, media_server)

■ Shared drive scan host is offline

■ Storage unit concurrent jobs throttled by capacity management (storage_unit)

354 New Activity Monitor displays job state detailsState Details for duplication and synthetic jobs

■ Waiting for fibre transport for client (client_name)

■ Waiting for media request delay to expire

■ Waiting for mount of disk volume (disk_volume, disk_pool)

■ Waiting for shared tape drive scan to stop

State Details for duplication and synthetic jobsDuplication jobs and synthetic backup jobs can run concurrent read and write allocation activities. If both the read activity and the write activity are queued, the State Details column may display a stale, incorrect queued reason.

Consider the following example:

■ The read activity is waiting to mount a disk volume. The Resource Broker provides the queued reason to the Job Manager and the Job Manager displays the reason in the Activity Monitor (Waiting for mount of disk volume).

■ The write activity is waiting for a drive scan to stop. The Resource Broker provides the queued reason to the Job Manager and the Job Manager overwrites the former reason. It then displays the new reason in the Activity Monitor (Waiting for drive scan to stop).

Even if the second condition is resolved (the job is no long waiting for a shared disk mount), the Activity Monitor continues to display Waiting for drive scan to stop.

355New Activity Monitor displays job state detailsAddition to bpdbjobs -report -all_columns output

Addition to bpdbjobs -report -all_columns outputThe bpdbjobs command is used to interact with the NetBackup jobs database.

In this release, the bpdbjobs -report -all_columns command displays information about why a job is queued or waiting. The information displays in a field that is called state details, which appears at the end of the output.

The following output represents the bpdbjobs -report -all_columns syntax. Fields in brackets denote repeated fields, if any.

jobid,jobtype,state,status,class,schedule,client,server,started,elapsed,ended,stunit,try,operation,kbytes,files,pathlastwritten,percent,jobpid,owner,subtype,classtype,schedule_type,priority,group,masterserver,retentionunits,retentionperiod,compression,kbyteslastwritten,fileslastwritten,filelistcount,[files]...,trycount,[trypid,trystunit,tryserver,trystarted,tryelapsed,tryended,trystatus,trystatusdescription,trystatuscount,[trystatuslines]...,trybyteswritten,tryfileswritten]...,parentjob,kbpersec,copy,robot,vault,profile,session,ejecttapes,srcstunit,srcserver,srcmedia,dstmedia,stream,suspendable,resumable,restartable,datamovement,snapshot,backupid,killable,controllinghost,fatpipe,statedetails

In the following example output, the state details field contains the information: Required media is in use (AA0045)

415,Backup,Done,96,jvlcc,vlcdiff,mule,buffalo,0885942000,0000000014,0885942014,8mm,3,,,,,,11602,root,1,0,1,10,,buffalo,2,1,0,0,0,3,/home/vlc/jadm_JAVA/usr/openv/java,/home/vlc/directory with spaces,/home/vlc/test,3,11544,8mm,buffalo,885941970,13,885941983,96,unable to allocate new media for backup\, storage unit has none available,2,01/27/98 16:59:30 - connecting,01/27/98 16:59:30 - connected; connect time: 000:00:00,0,0,11573,8mm,buffalo,885941986,11,885941997,96,unable to allocate new media for backup\, storage unit has none available,2,01/27/98 16:59:40 - connecting,01/27/98 16:59:40 - connected; connect time: 000:00:00,0,0,11602,8mm,buffalo,885942000,14,885942014,96,unable to allocate new media for backup\, storage unit has none available,2,01/27/98 17:00:00 - connecting,01/27/98 17:00:00 - connected; connect time: 000:00:00,0,0, Required media is in use (AA0045)

356 New Activity Monitor displays job state detailsAddition to bpdbjobs -report -all_columns output

Chapter 17

New Job Priority defaults and overrides

In previous releases, the job priority was set only in the policy configuration using the Job Priority setting. The administrator was not able to specify a job priority for job types other than backups. In this release, administrators have greater flexibility and control over the priority of a job. In addition, administrators can set the priority of a job from multiple locations in the NetBackup Administration Console, from the Backup, Archive, and Restore client interface, and from the command line. This capability improves the usability and consistency of NetBackup's job priority scheme.

For example, this capability is useful if an administrator wants to change the job priority of duplication jobs so that NetBackup favors regular backups. When the window for regular backups is open, the administrator may want duplication jobs to have the lowest priority because the jobs compete directly with backup jobs. The administrator may change the priority for duplication jobs to be higher when the window for regular backups is closed.

The 6.5.2 release introduces the following additions for setting and changing the priority of a job:

■ The ability to configure default job priorities for different job types in the new Default Job Priorities master server host properties.

(See “Default Job Priorities host properties” on page 359.)

■ The ability to dynamically change the job priority of a queued or an active job that waits for resources in the Activity Monitor.

(See “Activity Monitor Job Priority setting” on page 362.)

■ The ability to set the priority for a media content job in the Reports utility.

(See “Job Priority setting for Tape Contents report” on page 363.)

■ The ability to set the job priority for import, verify, and duplicate jobs in the Catalog utility.

358 New Job Priority defaults and overridesUnderstanding the Job Priority setting

(See “Job Priority setting for Verify, Duplicate, and Import actions” on page 365.)

■ The ability to specify the job priority for restore jobs in the Backup, Archive, and Restore client interface.

(See “Job Priority setting for restores” on page 368.)

■ The ability to change job priorities in the bpadm and the bp interfaces.

(See “bp and bpadm menu interface changes” on page 371.)

■ The ability to specify the job priority from the command line.

(See “Setting the Job Priority using the command line” on page 369.)

Understanding the Job Priority settingAs in previous releases, NetBackup uses the Job Priority setting as a guide. Requests with a higher priority do not always receive resources before a request with a lower priority.

The NetBackup Resource Broker (NBRB) maintains resource requests for jobs in a queue. NBRB evaluates the requests sequentially and sorts them based on the following criteria:

■ The request's first priority.

■ The request’s second priority.

■ The birth time (when the Resource Broker receives the request).

The first priority is weighted more heavily than the second priority, and the second priority is weighted more heavily than the birth time.

Because a request with a higher priority is listed in the queue before a request with a lower priority, the request with a higher priority is evaluated first. Even though the chances are greater that the higher priority request receives resources first, this is not always definite.

The following scenarios present situations in which a request with a lower priority may receive resources before a request with a higher priority:

■ A higher priority job needs to unload the media in a drive because the retention level (or the media pool) of the loaded media is not what the job requires. A lower priority job can use the media that is already loaded in the drive. To maximize drive utilization, the Resource Broker gives the loaded media and drive pair to the job with the lower priority.

■ A higher priority job is not eligible to join an existing multiplexing group but a lower priority job is eligible to join the multiplexing group. To continue spinning the drive at the maximum rate, the lower priority job joins the multiplexing group and runs.

359New Job Priority defaults and overridesDefault Job Priorities host properties

■ The Resource Broker receives resource requests for jobs and places the requests in a queue before processing. New resource requests are sorted and evaluated every 5 minutes. Some external events (a new resource request or a resource release, for example) can also trigger an evaluation. If the Resource Broker receives a request of any priority while it processes requests in an evaluation cycle, the request is not evaluated until the next evaluation cycle starts.

Default Job Priorities host propertiesThe new Default Job Priorities host properties lets administrators configure the default job priority for different job types. The Default Job Priorities host properties list 18 job types in alphabetical order and the configurable default priority for each. (See Table 17-1 on page 360.)

The value can range from 0 to 99999. The higher the number, the greater the priority of the job.

In previous releases, the Global Attributes host properties contained a Priority of restore jobs setting. That has been removed from the Global Attributes host properties and moved to Default Job Priorities host properties in 6.5.2.

Figure 17-1 Default Job Priorities host property

360 New Job Priority defaults and overridesDefault Job Priorities host properties

JOB_PRIORITY bp.conf entryUNIX administrators can also set the priority for a job type by using bpsetconfig to add the new JOB_PRIORITY entry to the bp.conf file.

The entry uses the following format: JOB_PRIORITY = P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 P11 P12 P13 P14 P15 P16 P17 P18 P19 P20 P21 P22 P23 P24

Variables P1, P2, P3 and so on indicate the priority for each backup type.

The actual default values for the entry appear as follows:JOB_PRIORITY = 0 0 90000 90000 90000 90000 85000 85000 80000 80000 80000 80000 75000 75000 70000 70000 50000 50000 0 0 0 0 0 0

Table 17-1 Default job type priorities

Field Represents this action Default

P1 Performing a backup 0

P2 Performing a database backup (a catalog backup)

0

P3 Performing a restore 90000

P4 Recovering a catalog 90000

P5 Performing a staging operation 90000

P6 Performing the duplication jobs that Vault starts

90000

P7 Cleaning up images 85000

P8 Importing images 85000

P9 Requesting tapes 80000

P10 Cleaning a tape 80000

P11 Tape formatting 80000

P12 Performing device diagnostics 80000

P13 Verifying an image 75000

P14 Running a media contents report 75000

P15 Labeling tape media 70000

P16 Erasing media 70000

P17 Running a duplication job 50000

361New Job Priority defaults and overridesDefault Job Priorities host properties

Example of JOB_PRIORITY changeAn administrator may want backup jobs to have a priority of 50000 and duplication jobs to have a priority of 30000. The administrator would change the JOB_PRIORITY entry to read as follows:JOB_PRIORITY = 50000 0 90000 90000 90000 90000 85000 85000 80000 80000 80000 80000 75000 75000 70000 70000 30000 50000 0 0 0 0 0 0

P18 Performing an inventory 50000

P19 This field is not currently in use 0

P20 This field is not currently in use 0

P21 This field is not currently in use 0

P22 This field is not currently in use 0

P23 This field is not currently in use 0

P24 This field is not currently in use 0

Table 17-1 Default job type priorities

Field Represents this action Default

362 New Job Priority defaults and overridesActivity Monitor Job Priority setting

Activity Monitor Job Priority settingThe Activity Monitor now contains a new Job Priority column that displays the priority of the job.

The column does not display by default. To display the column, select the View menu, and then Columns > Layout.

Figure 17-2 Job Priority setting in the Activity Monitor dialog box

Not all jobs request resources from the Resource Broker. If a job does not request resources, the priority is not set and the priority column is empty for that job. Examples include image cleanup job for tapes and multiplexed restores.

Changing the Job Priority dynamicallyTo dynamically change the priority of a job, select one or more queued or active jobs that wait for resources. Then, either from the Actions menu or by right-clicking, select Change Job Priority.

363New Job Priority defaults and overridesJob Priority setting for Tape Contents report

In the Change job priority dialog box (Figure 17-3), select one of the following methods to change the priority:

Figure 17-3 Change job priority dialog box

This changes the priority for the selected job only, and not all other jobs of that type. To change the job priority defaults, see “Default Job Priorities host properties” on page 359.

Job Priority setting for Tape Contents reportBefore a Tape Contents report runs, the administrator can now select the job priority for the Media Contents job.

Upon clicking Run Report, the Tape Contents dialog appears and displays the current default. To change the default, enable Override default job priority. Enter a job priority and click OK.

The selection changes the priority for the current Media Contents job only. To change the job priority default for all Media Contents jobs, see “Default Job Priorities host properties” on page 359.

Set Job Priority to Enter the specific job priority for the selected jobs.

Increment the Job Priority by Raise the priority of the job by the selected internal.

Decrement the Job Priority by Lower the priority of the job by the selected internal.

364 New Job Priority defaults and overridesJob Priority setting for Tape Contents report

Figure 17-4 Job Priority setting for Tape Contents report

365New Job Priority defaults and overridesJob Priority setting for Verify, Duplicate, and Import actions

Job Priority setting for Verify, Duplicate, and Import actions

The Catalog utility now lets the administrator select the job priority for verify, duplicate, and import actions.

If Override default job priority is not enabled, the job runs using the default priority as specified in the Default Job Priorities host properties. To change the default for the selected action, enable Override default job priority. Then, select a value in the Job Priority field.

The selection changes the priority for the selected job only. To change the job priority default for all verify, duplicate, or import jobs, see “Default Job Priorities host properties” on page 359.

Figure 17-5 Job Priority setting in the Catalog dialog box

366 New Job Priority defaults and overridesJob Priority setting for offline catalog backups

Job Priority setting for offline catalog backupsThe Catalog utility now lets the administrator select the job priority for offline, cold catalog backups. (Job type: Catalog Backup.)

The offline, cold catalog backup is for those environments that have times during which there is no backup activity. This type of catalog backup can be used if the catalog is small enough to fit onto a single tape.

To specify the job priority for an offline, catalog backup, select the Catalog utility. Then select Actions > Configure offline NetBackup Catalog Backup. Set the Job Priority on the Attributes tab.

Figure 17-6 Job Priority setting in the Catalog backup dialog box

The ability to set the job priority for online, hot catalog backups has existed in previous releases. Online catalog backups are configured similarly to the way regular backup policies are configured: in the Policies utility. The Attributes tab of the policy configuration contains the Job Priority setting (Figure 17-7).

367New Job Priority defaults and overridesJob Priority setting for offline catalog backups

Figure 17-7 Job Priority setting in the Attributes tab of the policy configuration

368 New Job Priority defaults and overridesJob Priority setting for restores

Job Priority setting for restoresThe Backup, Archive, and Restore interface now lets users select the job priority for restores. (Job type: Restore.)

In Backup, Archive, and Restore, first select the files to restore. Then select Actions > Restore.

The Job Priority section on the General tab lets the user override the default priority for restore jobs. Enable Override default priority, and then select a restore job priority.

The selection changes the priority for the current Restore job only. To change the job priority default for all Media Contents jobs, see “Default Job Priorities host properties” on page 359.

Figure 17-8 Job Priority setting in the Restore Marked Files dialog box

369New Job Priority defaults and overridesSetting the Job Priority using the command line

Setting the Job Priority using the command lineThe -priority option was added to many commands. This option lets the administrator override the default job priority. If -priority is not specified, NetBackup uses the default priority.

bpbackupdb Use the -priority option to specify a new priority for the cold catalog backup that overrides the default job priority.

bpdbjobs Use -set_priority and -change_priority_by to dynamically set and change the priority of one or more jobs. (See “Changes to bpdbjobs” on page 370.)

bpduplicate Use the -priority option to specify a new priority for the duplication job that overrides the default job priority.

bpimport Use the -priority option to specify a new priority for the import job that overrides the default job priority.

bplabel Use the -priority option to specify a new priority for the label and erase job that overrides the default job priority.

bpmedialist Use the -priority option to specify a new priority for the media contents job (for a Media Contents report) that overrides the default job priority.

bpplinfo Use the -priority option to specify a new priority for the backup job that overrides the default job priority.

bppolicynew Use the -priority option to specify a new priority for the backup job that overrides the default job priority.

bprecover Use the -priority option to specify a new priority for the recovery job that overrides the default job priority.

bprestore Use the -priority option to specify a new priority for the restore job that overrides the default job priority.

bpschedule Use the -priority option to specify a new priority for the disk staging storage unit schedule that overrides the default job priority.

bpschedulerep Use the -priority option to specify a new priority for the disk staging storage unit schedule that overrides the default job priority

bpverify Use the -priority option to specify a new priority for the verification job that overrides the default job priority.

nbdelete Use the -priority option to specify a new priority for the image cleanup job that overrides the default job priority.

370 New Job Priority defaults and overridesSetting the Job Priority using the command line

Changes to bpdbjobsThe bpdbjobs command is used to interact with the NetBackup jobs database.

Now the command lets administrators set and change the priority for queued and active jobs by using the following two new options:

■ -set_priority

■ -change_priority_by

set_priorityUse the -set_priority option to specify a specific value as the new job priority.

The command uses the following syntax:

bpdbjobs -set_priority -priority number -jobid job1, job2, …, jobn

For example, to set the job priority for job_A to 80, enter the following:bpdbjobs -change_priority_by -priority 80 -jobid job_A

change_priority_byUse the -change_priority_by option to specify an increase or decrease to the current job priority.

The command uses the following syntax:

bpdbjobs -change_priority_by -priority number -jobid job1, job2, …, jobn

For example, the current job priority for job_B is 100. Use the following command to change it to 50:bpdbjobs -change_priority_by -priority -50 -jobid job_B

To change the job priority of job_B from 100 to 200, use the following command:bpdbjobs -change_priority_by -priority 100 -jobid job_B

tpclean Use the -priority option to specify a new priority for the tape clean job that overrides the default job priority

tpreq Use the -priority option to specify a new priority for the tape mount job that overrides the default job priority

tpformat Use the -priority option to specify a new priority for the optical tape format job that overrides the default job priority.

vmphyinv Use the -priority option to specify a new priority for the physical inventory job that overrides the default job priorit.y

371New Job Priority defaults and overridesSetting the Job Priority using the command line

bp and bpadm menu interface changesbpadm and bp are the character-based, menu interfaces for NetBackup management and for client backups and restores. Both interfaces have been updated with the capability to assign a priority to jobs.

bpadm management interfaceSee the 6.5 NetBackup Administration Guide, Volume II for general information about starting bpadm.

The capability to assign a priority to tape contents jobs and offline catalog backup jobs has been added to the bp utility:

■ Job priority for a Tape Contents report job

You are prompted to enter a job priority when running a tape contents report using bpadm.

In the main NetBackup Administration menu, select r) Reports.

In the Report menu, select m) Media.

Specify a media ID. In the Media Reports menu, select m) Media Contents.

Enter a job priority, then run the Media Contents job.

■ Job priority for an offline catalog backup

You are prompted to enter a job priority when configuring an offline catalog backup using bpadm.

In the main NetBackup Administration menu, select x) Special Actions.

In the Special Actions menu, select b) Offline Catalog Backup.

The Offline Catalog Backup menu appears. To change the priority of an offline catalog backup configuration, select:

m) Modify Offline Catalog Backup Settings...

The second question prompts you to enter a job priority.

bp client interfaceThe capability to assign a priority to restore jobs has been added to the bp utility:

In the main bp menu, select r) Restore.

To change the priority for the restore job, select:

j) Change Job Priority

Enter a value from 0 to 99999. This priority applies to the next restore job that is run during this bp session.

372 New Job Priority defaults and overridesDatabase agent changes

Database agent changesThe following sections describe how the various NetBackup database agents have been changed to let administrators specify the priority for restore jobs.

DataStore/XBSAThe XBSA interface now provides the new NBBSA_RESTORE_PRIORITY environment variable to set the priority of a restore job.

Set the priority for a value between 0 and 99999. If no priority (or an invalid priority) is specified, the interface uses the default priority that is configured on the master server. A value of -1 is used to indicate that the default priority for restores that is configured on the master server is used.

NBBSA_RESTORE_PRIORITY can only be set before an XBSA transaction is started. The environment variable can be set in the XBSA environment block during initialization (BSAInit). Or, it can be set through a call to NBBSASetEnv as long as the call takes place before BSABeginTxn is called.

NetBackup for DB2The NetBackup for DB2 agent now provides the new DB2_RESTORE_PRIORITY options string to set the priority of a restore job. This new option is available for the stream-based and the file-based method restores. The DB2_RESTORE_PRIORITY options string parameter is the only parameter supported for proxy restores.

Set the priority for a value between 0 and 99999. If no priority (or an invalid priority) is specified, the interface uses the default priority that is configured on the master server.

■ Stream-based restore exampledb2 restore db sample load /bp/bin/nbdb2.so64 options "DB2_RESTORE_PRIORITY=9999:DB2_SERVER=sidon"

■ Proxy restore example/bp/bin/bpdb2proxy -restore -d sample -u db2v826d -p db2v826d -options "DB2_RESTORE_PRIORITY=99999"

DB2 log restores use the default priority for restores that is set on the master server. The DB2 OPTIONS command line parameter is supported only for DB2 versions 8.1 Fixpack 7 or higher. Earlier versions of DB2 do not support this parameter and cannot use the DB2_RESTORE_PRIORITY options string parameter.

373New Job Priority defaults and overridesDatabase agent changes

DB2 restoresThe DB2 restore interface uses the default priority that is configured in the Backup, Archive, and Restore client interface.

To save the current restore in a template, the restore priority is included as a template parameter. The user then loads the template at a later time and runs it using the included restore priority.

The restore priority of a loaded template overrides the restore priority that is set in the Backup, Archive, and Restore client interface.

Users can convert templates with priority values to shell scripts.

NetBackup for ExchangeThe NetBackup for Exchange agent now includes an option to set the default priority for restores. Users can select a restore priority in the Backup, Archive, and Restore client interface when performing a restore operation. Users can also use the bprestore priority option when performing restores from the command line.

NetBackup for InformixThe NetBackup for Informix agent now provides the new INFXBSA_RESTORE_PRIORITY environment variable to set the priority of a restore job.

Users must set this environment variable before running the Informix ON-Bar utility.

Set the priority for a value between 0 and 99999. If no priority (or an invalid priority) is specified, the interface uses the default priority for restores configured on the master server.

For example:setenv INFXBSA_RESTORE_PRIORITY 99999onbar -r

LotusThe NetBackup for Lotus agent now includes an option to set the default priority for restores. Users can select a restore priority in the Backup, Archive, and Restore client interface when performing a restore operation. Lotus users can also use the bprestore priority option when performing restores from the command line.

374 New Job Priority defaults and overridesDatabase agent changes

NetBackup for OracleThe NetBackup for Oracle agent now provides the new NB_ORA_RESTORE_PRIORITY environment variable to set the priority of a restore job.

Oracle RMAN restoresUse the RMAN send or parms operand to set the variable. Set the priority for a value between 0 and 99999. If no priority (or an invalid priority) is specified, the interface uses the default priority for restores configured on the master server.

For example:RUN {ALLOCATE CHANNEL ch00 TYPE 'SBT_TAPE';ALLOCATE CHANNEL ch01 TYPE 'SBT_TAPE';SEND 'NB_ORA_SERV=$NB_ORA_SERV, NB_ORA_RESTORE_PRIORITY=25';RESTORE DATABASE;..

Oracle XML import restoresSet the priority for a value between 0 and 99999. If no priority (or an invalid priority) is specified, the interface uses the default priority for restores configured on the master server.

For example:darkseid [46]: cat scott.frTape.impNAME = scottNB_ORA_SERV =sidonNB_ORA_CLIENT = darkseidNB_ORA_RESTORE_PRIORITY = 9981darkseid [48]: /bp/bin/bporaimp scott/tiger parfile=scott.frTape.imp

Oracle restoresThe Oracle restore interface uses the default priority for restores that is configured in the Backup, Archive, and Restore client interface.

To save the current restore in a template, the restore priority is included as a template parameter. The user then loads the template at a later time and runs it using the included restore priority.

The restore priority of a loaded template overrides the priority that is set in the Backup, Archive, and Restore client interface.

Users can convert templates with priority values to shell scripts.

375New Job Priority defaults and overridesDatabase agent changes

NetBackup for SAPThe NetBackup SAP agent now provides the new SAP_RESTORE_PRIORITY configuration parameter to set the priority of a restore job. This parameter is set in the initSAP.utl file. Restores of the SAP backups that are performed with RMAN can also use the NB_ORA_RESTORE_PRIORITY environment variable.

Set the priority for a value between 0 and 99999. If no priority (or an invalid priority) is specified, the interface uses the default priority for restores configured on the master server.

NetBackup for SharePointThe NetBackup for SharePoint agent now includes an option to set the default priority for restores. Users can select a restore priority in the Backup, Archive, and Restore client interface when performing a restore operation. Users can use the bprestore priority option when performing restores from the command line.

NetBackup for SQL ServerThe NetBackup for SQL Server agent now includes an option to set the default priority for restores. This option is located on the NetBackup client options dialog box in the NetBackup MS SQL Client interface. Set the priority for a value between 0 and 99999.

The restore priority is communicated to the SQL agent using the new keyword RESTOREPRIORITY in the batch file. This keyword requires a value between -1 and 99999. The value -1 indicates the default restore priority. The agent keys off of RESTOREPRIORITY to set the NBBSA_RESTORE_PRIORITY variable for the XBSA restores operation.

NetBackup for SybaseThe NetBackup for Sybase agent now provides the new -PRIORITY option as an additional option on the load command to specify the priority of the restore job.

Set the priority for a value between 0 and 99999. If no priority (or an invalid priority) is specified, the interface uses the default priority for restores that is configured on the master server.

For example:1> load database mydb from "sybackup::sybase1500.mydb.D.0.6820.09-11-2006.10:49:19 -SERV zum -PRIORITY 99999"2> stripe on "sybackup::sybase1500.mydb.D.1.6822.09-11-2006.10:49:18 -SERV zum -PRIORITY 99999"3> stripe on "sybackup::sybase1500.mydb.D.2.6824.09-11-2006.10:49:19 -SERV zum -PRIORITY 99999"

376 New Job Priority defaults and overridesDatabase agent changes

4> stripe on "sybackup::sybase1500.mydb.D.3.6826.09-11-2006.10:49:19 -SERV zum -PRIORITY 99999"

Chapter 18

Reverse host name lookup updates

The domain name system (DNS) reverse host name lookup is used to determine what host and domain name are indicated by a given IP address.

In previous releases, NetBackup required that reverse host name lookup was working in order to determine that a connection to a host came from a recognizable server.

Some administrators cannot or do not want to configure their DNS server for reverse host name lookup. For these environments, NetBackup now allows the configuration of Reverse Host Name Lookup as a master server, media server, or client host property in order to allow, restrict, or prohibit reverse host name lookup.

Reverse Host Name Lookup host propertyThe Reverse Host Name Lookup property applies to master servers, media servers, and clients and appears in the new Network Settings host properties. (See Figure 18-1.)

Administrators can configure the Reverse Host Name Lookup property for each host so that it does one of the following actions with requests from other hosts:

■ Allows reverse host name lookup (Allowed)

■ Restricts reverse host name lookup (Restricted)

■ Prohibits reverse host name lookup (Prohibited)

378 Reverse host name lookup updatesReverse Host Name Lookup host property

Figure 18-1 Reverse Host Name Lookup in Network Settings host properties

Allowed settingThe Allowed setting indicates that the host requires reverse host name lookup to be working in order to determine that the connection comes from a recognizable server.

This is the default behavior of NetBackup 6.5.2 and reflects how NetBackup has operated in previous releases. By default, the host resolves the IP address of the connecting server to a host name by performing a reverse lookup.

If the conversion of the IP address to host name fails, the connection fails.

Otherwise it compares the host name to the list of known server host names. If the comparison fails, the host rejects the server and the connection fails.

Restricted settingThe Restricted setting indicates that the NetBackup host first attempts to perform reverse host name lookup. If the NetBackup host successfully resolves the IP address of the connecting server to a host name (reverse lookup is successful), it compares the host name to the list of known server host names.

If the resolution of the IP address to a host name fails (reverse lookup fails), based on the Restricted setting, the host converts the host names of the known server list to IP addresses (using a forward lookup). The host compares the IP address of the connecting server to the list of known server IP addresses.

If the comparison fails, the host rejects the connection from server and the connection fails.

Prohibited settingThe Prohibited setting indicates that the NetBackup host does not try reverse host name lookup at all. The host resolves the host names of the known server list to IP addresses using forward lookups.

379Reverse host name lookup updatesChanging host properties outside of the Administration Console

The NetBackup host then compares the IP address of the connecting server to the list of known server IP addresses.

If the comparison fails, the NetBackup host rejects the connection from the server and the connection fails.

Changing host properties outside of the Administration Console

In some cases, a master server may not be able to view the host properties of a media server or client in the Administration Console. The NetBackup customer's DNS reverse host name lookup configuration may be one possible reason why the host properties may not be visible.

In this case, since changing the NetBackup Reverse Host Name Lookup host property involves being able to view the host properties, you’ll need to use another method to change the Reverse Host Name Lookup host property.

Use the methods described in the following sections to add the REVERSE_NAME_LOOKUP entry to the bp.conf file (UNIX) or to the Windows registry.

REVERSE_NAME_LOOKUP entryThe REVERSE_NAME_LOOKUP entry is new in NetBackup 6.5.2 and uses the following format:

REVERSE_NAME_LOOKUP = ALLOWED | RESTRICTED | PROHIBITED

For example:

REVERSE_NAME_LOOKUP = PROHIBITED

The values of ALLOWED, RESTRICTED, and PROHIBITED represent the same meaning as the values in the Network Settings host properties. (See “Reverse Host Name Lookup host property” on page 377.)

Setting the property on UNIX hostsTo set the Reverse Host Name Lookup property on a UNIX system outside of the Administration Console, manually add the REVERSE_NAME_LOOKUP entry to the bp.conf file on the master server, media server, or client.

To add the REVERSE_NAME_LOOKUP entry to the bp.conf file, use one of the following methods:

■ On master and media servers:

380 Reverse host name lookup updatesChanging host properties outside of the Administration Console

Use the bpsetconfig command to add the entry. The bpsetconfig command is described in the 6.5 NetBackup UNIX and Linux Commands Guide.

■ On UNIX clients:

Edit the bp.conf directly to add the entry.

Setting the property on Windows hostsOn master and media servers, the bpsetconfig command is available to add the REVERSE_NAME_LOOKUP entry to the registry. The bpsetconfig command is described in the 6.5 NetBackup UNIX and Linux Commands Guide.

To set the Reverse Host Name Lookup property on a Windows client, add the REVERSE_NAME_LOOKUP entry to the registry using the following method.

To update the registry

1 From the command line, run regedit to open the registry editor.

2 Navigate to the following key directory:

My Computer/HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\

NetBackup\CurrentVersion\Config

3 From the Edit menu, select New > String Value.

4 Name the String Value: REVERSE_NAME_LOOKUP.

5 Give REVERSE_NAME_LOOKUP the value data of either PROHIBITED, RESTRICTED, or ALLOWED.

6 Click OK and close the Registry Editor. (See Figure 18-2.)

Figure 18-2 REVERSE_NAME_LOOKUP in Registry Editor

Chapter 19

NetBackup High Availability updates

Changes for the new Key Management Service affected NetBackup clustering.

Configuring the Key Management Service (KMS) for monitoring

By default, KMS does not cause NetBackup to failover if NetBackup fails. KMS can be configured to failover NetBackup if KMS fails.

To enable monitoring of the KMS service

1 Create the key database and start the KMS service.

2 On the active node of the cluster, open a command prompt.

3 Change to the appropriate directory based on your platform.

Windows:

install_path\NetBackup\bin

UNIX/Linux:

/usr/openv/netbackup/bin

4 Run the command appropriate for your platform.

Windows:

bpclusterutil -enableSvc "NetBackup Key Management

Service"

UNIX/Linux:

bpclusterutil -enableSvc nbkms

To disable monitoring of the KMS service

1 Open a command prompt on the active node of the cluster.

382 NetBackup High Availability updatesClustered media servers on Windows 2008

2 Change to the appropriate directory based on your platform.

Windows:

install_path\NetBackup\bin

UNIX/Linux:

/usr/openv/netbackup/bin

3 Run the command appropriate for your platform.

Windows:

bpclusterutil -disableSvc "NetBackup Key Management

Service"

UNIX/Linux:

bpclusterutil -disableSvc nbkms

Clustered media servers on Windows 2008If you have installed a clustered media server in a Microsoft Cluster Server on Windows 20008, you need to configure the number of retries for the NetBackup cluster group and the number of retries for the NetBackup resource. You perform this configuration in the Failover Cluster Management interface.

This configuration ensures that if the number of failures of the NetBackup service is more than the number of retries, the NetBackup service group fails over to the inactive node. Otherwise, when multiple failures of the NetBackup service occur (more than the retry count) the service is marked as “Failed” and the NetBackup service group does not fail over.

To configure the retries account for a clustered media server on Windows 2008

1 Open the Failover Cluster Management interface.

2 In the left pane, expand the cluster server name and Services and Applications.

3 Right-click the NetBackup cluster group name.

4 Click the Failover tab.

5 In the Maximum failures in the specified period box, select a value of 3 for the number of failures you want the Cluster service to allow.

6 Click OK.

7 In the Summary window for the NetBackup cluster group, under Other Resources, right-click Adaptive Server Anywhere - VERITAS_NB.

8 Click the Policies tab.

383NetBackup High Availability updatesChanges to the bpclusterutil command

9 In the Maximum restarts in specified period box, select a value of 2 for the number of restarts you want to attempt for the resource.

10 Click OK.

11 Repeat step 7 through step 10 for each resource.

Changes to the bpclusterutil commandThis topic provides changes to the bpclusterutil command for NetBackup 6.5.2. For this release, the bpclusterutil command is now supported on UNIX/Linux. Additional options have also been added.

bpclusterutil (Windows)In an MSCS or a VCS for Windows cluster, cluster configuration is one of the final steps in the installation NetBackup in a cluster. If this step is not done or does not complete successfully, the bpclusterutil command may be used to perform this step.

The “bpclusterutil -c” command runs the same cluster configuration step that the installation program performs. This command can be run multiple times. Only run this command from the active node.

NAMEbpclusterutil - Modify and configure NetBackup in a Windows cluster.

SYNOPSISinstall_path\NetBackup\bin\bpclusterutil [-a “Service Name”] [-addnode

NodeName] [-addSvc ServiceName] [-c] [-ci] [-delete] [-deleteSvc ServiceName] [-depend ServiceName DependServiceName] [-disableSvc ServiceName] [-display] [-enableSvc ServiceName] [-isactive] [-iscluster] [-offline] [-online] [-np] [-startagent] [-stopagent]

install_path\NetBackup\bin\bpclusterutil

[-r CLUSTEREDSERVICES servicename

-r CLUSTERGROUPNAME

-r CLUSTERNAME clustername

-r CLUSTERTYPE MSCS|VCS

-r GLOBDBHOST nodename

-r MONITOREDSERVICES servicename

384 NetBackup High Availability updatesChanges to the bpclusterutil command

-r NETBACKUPINSTALLPATH path

-r NETBACKUPSHAREDDRIVE drive:

-r NETBACKUPTYPE MASTER|MEDIA

-r NETWORKSELECTION network name

-r NODENAMES nodename

-r VIRTUALIPADDRESS ip address

-r VIRTUALSERVERNAME virtual name

-r VIRTUALSUBNETMASK subnet mask ]

install_path\NetBackup\bin\bpclusterutil

[-rm CLUSTEREDSERVICES servicename

-rm MONITOREDSERVICES servicename]

DESCRIPTIONThis command is available on NetBackup master and media servers. The options described here are applicable to clusters in a Windows environment. It allows the user to set up the registry entries that are used for cluster configuration and then to configure the cluster. This command only modifies registry entries on the local node.

OPTIONS-a “Service Name”

Configure a service in the NetBackup group within the cluster.

-addnode

Adds a node name to the possible owners list of all the resources in the NetBackup group.

-addSvc “Service Name”

Add a NetBackup service to the NetBackup cluster group.

-c

Configures NetBackup in a cluster as based on the values that you specified in the registry and brings the NetBackup group online.

-ci

Configures NetBackup in a cluster as based on the values that you specified in the registry and does not bring the NetBackup group online.

-delete

Deletes the registry entries that are used to configure NetBackup in a cluster.

385NetBackup High Availability updatesChanges to the bpclusterutil command

-depend “Service Name” DependServiceName

Sets the cluster resource for Service Name to have a dependency on DependServiceName.

-deleteSvc “Service Name”

Delete an existing NetBackup service from the NetBackup cluster group. Ensure that the ServiceName is provided within double quotes. E.g. “NetBackup Key Management Service” for the Key management service

-disableSvc “Service Name”

Disable monitoring of a NetBackup service by the cluster.

-display

Displays the registry entries that are used for clustering configuration.

-enableSvc “Service Name”

Enable the cluster to monitor a NetBackup service you added to the NetBackup cluster group.

-isactive

This option displays the state of the NetBackup cluster group on the node. A return code of 1indicates the node is the active node. A return code of 0 indicates the node is an inactive node.

-iscluster

This option displays the cluster status of NetBackup.

-np

silent mode (no print).

-offline

This option issues the offline command to the NetBackup group in the cluster.

-online

This option issues the online command to the NetBackup group in the cluster.

-r

Sets the corresponding NetBackup cluster configuration registry entry to the specified value.

CLUSTEREDSERVICES servicename

This option adds servicename to the CLUSTEREDSERVICES registry entry. Only one service name can be entered at a time; run the command multiple times to add service names. The service name should match the “service name” property of the service.

386 NetBackup High Availability updatesChanges to the bpclusterutil command

CLUSTERGROUPNAME

CLUSTERNAME clustername

CLUSTERTYPE MSCS|VCS

GLOBDBHOST nodename

MONITOREDSERVICES servicename

This option adds servicename to the MONITOREDSERVICES registry entry. Only one service name can be entered at a time; run the command multiple times to add service names. The service name should match the “service name” property of the service.

NETBACKUPINSTALLPATH path

NETBACKUPSHAREDDRIVE drive:

NETBACKUPTYPE MASTER|MEDIA

NETWORKSELECTION network name

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

VIRTUALSERVERNAME virtual name

VIRTUALSUBNETMASK subnet mask

-rm

Removes a value from the corresponding NetBackup cluster configuration registry entry.

CLUSTEREDSERVICES servicename

This option removes servicename from the CLUSTEREDSERVICES registry entry. Only one service name can be entered at a time; run the command multiple times to remove service names. The service name should match the “service name” property of the service.

MONITOREDSERVICES servicename

This option removes servicename from the MONITOREDSERVICES registry entry. Only one service name can be entered at a time; run the command multiple times to remove service names. The service name should match the “service name” property of the service.

-startagent

Starts the NetBackup VCS agent.

-stopagent

Stops the NetBackup VCS agent.

387NetBackup High Availability updatesChanges to the bpclusterutil command

bpclusterutil (UNIX/Linux)In a UNIX or Linux cluster, you can use the bpclusterutil command to administer the NetBackup cluster group.

NAMEbpclusterutil - Modify and configure NetBackup in a UNIX cluster.

SYNOPSIS/usr/openv/netbackup/bin/bpclusterutil [-np] [-online] [-offline]

[-isactive] [-iscluster] [-startagent] [-stopagent] [-freeze] [-unfreeze] [-vname] [-addSvc <ServiceName>] [-deleteSvc <ServiceName>] [-enableSvc <ServiceName>] [-disableSvc <ServiceName>]

DESCRIPTIONThis command is available on NetBackup master and media servers. The options described here are applicable to clusters in a UNIX environment.

OPTIONS-addSvc <ServiceName>

Add a NetBackup service to the NetBackup cluster group.

-deleteSvc <ServiceName>

Delete an existing NetBackup service from the NetBackup cluster group.

-disableSvc <ServiceName>

Disable monitoring of a NetBackup service by the cluster.

-enableSvc <ServiceName>

Enable the cluster to monitor a NetBackup service you added to the NetBackup cluster group.

-freeze

Freeze the NetBackup cluster group.

-isactive

This option displays the state of the NetBackup cluster group on the node. A return code of 1indicates the node is the active node. A return code of 0 indicates the node is an inactive node.

-iscluster

This option displays the cluster status of NetBackup.

388 NetBackup High Availability updatesChanges to the bpclusterutil command

-np

Silent mode (no print).

-offline

This option issues the offline command to the NetBackup group in the cluster.

-online

This option issues the online command to the NetBackup group in the cluster.

-startagent

Starts the NetBackup VCS agent.

-stopagent

Stops the NetBackup VCS agent.

-unfreeze

Unfreeze the NetBackup cluster group.

-vname

Displays the virtual name of the NetBackup cluster group.

NOM updates

In addition to adding cluster support, the NetBackup Operations Manager (NOM) has the following major updates in release 6.5.2:

■ “NOM alert enhancements” on page 389

■ “Job detail and job priority enhancements” on page 393

■ “Performance enhancements for the NOM server” on page 394

This section also contains the following information on upgrading 6.5 or 6.5.1 servers to 6.5.2 if you moved the NOM database’s default location:

■ “Moving a NOM 6.5 or 6.5.1 database to the original default location” on page 394

NOM alert enhancementsThis section includes the following topics:

■ “Removing the dependency on NOM Alert Manager and alerts database”

■ “Improved alert policy configuration”

■ “Creating email and SNMP trap recipient groups”

■ “Configuring the SNMP trap community name for NOM”

Removing the dependency on NOM Alert Manager and alerts database

In NOM 6.5 and 6.5.1, there are two databases - vxpm (primary database) and vxam (alerts database). Earlier NOM versions like 6.5/6.5.1 stored alert information in the vxam (alerts database).

In NOM 6.5.2, all alert information is stored in the primary (vxpm) database. The NOM alerts database is not used.

Chapter 20

390 NOM updatesNOM alert enhancements

You will see the following changes after installing NOM 6.5.2:

■ The NOM Alert Manager service/process is of no significance and does not affect NOM 6.5.2.

The NOM Alert Manager process is not displayed on Solaris. Though NOM Alert Manager service is still displayed in the Services panel on Windows servers (with startup type as Manual), this service does not affect NOM.

■ In NOM 6.5.2, the export and import options available with NOMAdmin command apply to the NOM primary database only. The export and import options are used to export and import the NOM database. Defragmentation also applies to the NOM primary database only in NOM 6.5.2. This is because NOM 6.5.2 does not use the alerts database.

See the Veritas NetBackup Operations Manager 6.5 Guide to know the specific procedures for exporting, importing, and defragmenting the NOM database.

■ Though the NOM alerts database is not used by NOM, you will still find vxam.db and/or vxam.log files in NOM 6.5.2. These files are needed if you uninstall NOM 6.5.2 and rollback to NOM 6.5/6.5.1 which use the alert database.

Note: You must not delete the alert database files. These files are required if you uninstall NOM 6.5.2 and rollback to NOM 6.5/6.5.1.

Improved alert policy configurationWith NOM 6.5.2, multi-select option is available while creating an alert policy. This means that you can select multiple values for certain parameters while creating an alert policy in NOM 6.5.2. This offers you greater flexibility while creating an alert policy. Earlier versions of NOM allowed you to select a single value for these parameters.

Examples■ While creating a policy using Job Finalized alert condition in NOM 6.5.2, you

can select multiple values for the Job Type parameter.

■ While creating a policy using the Job Policy Change alert condition in NOM 6.5.2, you can select multiple policies.

Figure 20-1 shows how you can select multiple policies while creating a policy using the Job Policy Change alert condition in NOM 6.5.2.

391NOM updatesNOM alert enhancements

Figure 20-1 Selecting multiple policies while creating an alert policy

Creating email and SNMP trap recipient groupsYou can create recipients and recipient groups for receiving email and SNMP traps in NOM.

In NOM 6.5/6.5.1, if you create a recipient group G1 as a member of a recipient group G2, then NOM reflects the individual members of group G1 as members of group G2.

In NOM 6.5.2, if you create a recipient group G1 as a member of a recipient group G2, NOM reflects the group G1 as a member of G2 instead of displaying the individual members of G1. In case you add or remove a member from recipient group G1, the change would automatically reflect in group G2.

Note: After you uninstall 6.5.2 and rollback to NOM 6.5/6.5.1, you will not see the new features introduced with NOM 6.5.2. In other words, the recipient group G2 displays the individual members of group G1 instead of group G1.

Duplicate names between email and SNMP recipients/recipient groupsYou can create email and SNMP recipients to receive NOM alerts. In NOM 6.5.2, duplicate names between email and SNMP recipients are allowed. Similarly, duplicate names between email and SNMP recipient groups are allowed.

For example, you can have an email recipient named user and an SNMP trap recipient named user in NOM 6.5.2.

392 NOM updatesNOM alert enhancements

Note: Duplicate names for email recipients or SNMP trap recipients are not allowed. For example, you cannot have two email recipients (or two SNMP trap recipients) named user.

Note: The recipient names are case-sensitive. This means that user and USER are two separate names.

If you want to uninstall NOM 6.5.2, ensure that email and SNMP recipients/recipient groups do not have the same name. This is because the earlier NOM versions (NOM 6.5/6.5.1) do not support duplicate names between email and SNMP recipients/recipient groups.

Before uninstalling NOM 6.5.2, remove duplicate names between email and SNMP recipients/recipient groups.

Note: After you uninstall 6.5.2 and rollback to NOM 6.5/6.5.1, you will not see the new features introduced with NOM 6.5.2.

Configuring the SNMP trap community name for NOMFor NOM traps, the SNMP trap community name string is NOM by default. The NOM community used by NetBackup Operations Manager is a public community. Public community implies a read-only access to SNMP traps.

Use the following procedures to configure the SNMP trap community name on Windows and Solaris.

To configure the SNMP trap community name for NOM traps on Windows

1 Stop all the NOM services.INSTALL_PATH\NetBackup Operations Manager\bin\admincmd\NOMAdmin -stop_service

2 Navigate to INSTALL_PATH\NetBackup Operations Manager\config directory and open the trap.properties file.

The file shows the following contents under trap configuration:

nm.trap.community=NOM

nm.trap.agent.port=161

You can configure the value of nm.trap.community.name from NOM to some other name.

3 Save the trap.properties file after making the changes.

4 Restart all NOM services.

393NOM updatesJob detail and job priority enhancements

INSTALL_PATH\NetBackup Operations Manager\bin\admincmd\NOMAdmin -start_service

To configure the SNMP trap community name for NOM traps on Solaris

1 Stop all the NOM services./opt/VRTSnom/bin/NOMAdmin -stop_service

2 Navigate to opt/VRTSnom/config directory and open the trap.properties file.

The file shows the following contents under trap configuration:

nm.trap.community=NOM

nm.trap.agent.port=161

You can configure the value of nm.trap.community.name from NOM to some other name.

3 Save the trap.properties file after making the changes.

4 Restart all NOM services./opt/VRTSnom/bin/NOMAdmin -start_service

Job detail and job priority enhancementsThis release provides new columns in the job details view and the ability to change the priority of jobs.

State Details and Priority columns added in the Job details viewIn NetBackup Operations Manager 6.5.2, two new column called State Details and Priority have been added in the Job Details view. You can access the Job Details view by selecting Monitoring > Jobs> Details.

The State Details column indicates specific reasons why a job is queued or is not progressing. It also lists the backup resource or condition for which the job is waiting. This information can be used to troubleshoot NetBackup issues involving queued jobs. The State Details column is displayed by default in the Job Details view.

The Priority column lists the job priority of a NetBackup job. The Job Priority indicates the current relative priority of a job to obtain backup resources. The Priority column is not displayed by default and can be added by clicking the Table Settings icon at the top of the table.

Note: The State Details and Priority field is also displayed while viewing the details for a single NetBackup job. The details for a single NetBackup job can be viewed from Monitoring > Jobs > Details when a job id is selected.

394 NOM updatesPerformance enhancements for the NOM server

Changing the priority of NetBackup jobs from NOMIt is possible to change the priority of NetBackup jobs from NOM 6.5.2. Review the following points before changing the job priority:

■ Priority can be changed only for jobs that are in Active or Queued state.

■ Priority can be changed only for jobs from master servers that are running NetBackup 6.5.2 or higher versions.

To change the job priority

1 Select Monitoring > Jobs > Details. Select an active or queued job.

You can also change the job priority when you select a job id of an active or queued job from this view.

2 Click Change Priority from the Tasks pane.

In the Change Priority dialog box, set the job priority to a particular value. You can also increment or decrement the job priority.

Performance enhancements for the NOM serverIn NOM 6.5.2, the following issues related to NOM server performance have been fixed:

■ NOM server consumes a large amount of memory and threads and becomes non-responsive gradually. This happens when the number of managed master servers is high.

■ NOM server needs to be restarted frequently. NOM gets slower gradually and the NOM server service/process uses more memory and threads.

Moving a NOM 6.5 or 6.5.1 database to the original default location

In NOM 6.5 or NOM 6.5.1, you can move the NOM database to a non-default location. This was documented in the administration chapter in the NOM 6.5 Guide.

If you modified the default location of the NOM database, and you want to upgrade to NOM 6.5.2 in a clustered mode, you must move the NOM database back to the default location.

Use the following procedure to move the NOM database to the default location on Windows and Solaris. This procedure must be performed before you upgrade an existing NOM 6.5 or 6.5.1 server (with the NOM database in a non-default location) to NOM 6.5.2 in a clustered environment.

395NOM updatesMoving a NOM 6.5 or 6.5.1 database to the original default location

To move NOM database to the default location on Windows

1 Stop all NOM services. Enter the following command:INSTALL_PATH\NetBackup Operations Manager\bin\admincmd\NOMAdmin -stop_service

2 Open the databases.conf file from INSTALL_PATH\NetBackup Operations Manager\db\conf directory with a text editor like Notepad.

The file lists the location of the NOM primary and alerts database.

3 To move the database to the default location, replace the contents of the file with the following:

"<INSTALL_PATH>\NetBackup Operations

Manager\db\data\vxpmdb.db"

"<INSTALL_PATH>\NetBackup Operations

Manager\db\data\vxam.db"

Make sure that you specify the path in double quotes.

Save the databases.conf file.

4 Copy the database files to the default location. Copy vxpmdb.db and vxam.db from the non-default location to INSTALL_PATH\NetBackup Operations Manager\db\data.

5 Restart all NOM services.

To restart all NOM services, enter the following command:INSTALL_PATH\NetBackup Operations Manager\bin\admincmd\NOMAdmin -start_service

You should run and monitor NOM for a certain period after moving the database. If NOM works as expected, you can delete vxpmdb.db and vxam.db from the non-default location.

To move NOM database to the default location on Solaris

1 Stop all NOM services. Enter the following command:/opt/VRTSnom/bin/NOMAdmin -stop_service

2 Unlink the data directory located in /opt/VRTSnom/db. Enter the following command:unlink /opt/VRTSnom/db/data

3 The default location of the NOM database in Solaris is /opt/VRTSnom/db/data. To copy the database from a custom location like /home/mydata to the default location,enter the following command:cp -R /home/mydata /opt/VRTSnom/db

4 Restart all NOM services by entering the following command:/opt/VRTSnom/bin/NOMAdmin -start_service

396 NOM updatesMoving a NOM 6.5 or 6.5.1 database to the original default location

You should run and monitor NOM for a certain period after moving the database. If NOM works as expected, you can delete vxpmdb.db and vxam.db from /home/mydata.

Related Topics“Prerequisites”

“Upgrading from a standalone NOM server to NOM 6.5.2 in clustered mode”

Chapter 21

Command line interface updates

This chapter describes the command line changes and additions implemented in 6.5.2.

bpbackupdbUse bpbackupdb to perform an offline, cold catalog backup.

The -priority option was added so that the administrator can specify a new priority for the catalog backup that overrides the default job priority.

bpdbjobsUse bpdbjobs to interact with NetBackup jobs database. Now the command lets administrators set and change the priority of a job using two new options: -change_priority_by and -set_priority.

For more information, see “Changes to bpdbjobs” on page 370.

bpduplicateUse bpduplicate to create a copy of a backup.

The -priority option was added so that the administrator can specify a new priority for the duplication job that overrides the default job priority.

bpimportUse bpimport to import NetBackup and Backup Exec backups that are expired or to import backups from another server.

The -priority option was added so that the administrator can specify a new priority for the import job that overrides the default job priority.

398 Command line interface updates

bplabelUse bplabel to write NetBackup label on tape media.

The -priority option was added so that the administrator can specify a new priority for the label job that overrides the default job priority.

bpmediaUse bpmedia to freeze, unfreeze, suspend, or unsuspend NetBackup tape media, or to move ownership of tape media to a different media server.

The ability to move ownership of tape media is new in this release and applies to moving to or from media servers that are version 6.0 or later. The bpmedia option changes all media database and image records that reference one server name (oldservername) to reference another server name (newservername). The syntax for the new option is as follows. All options are necessary to run the command.bpmedia -movedb -allvolumes -newserver newservername -oldserver oldservername

The new option performs the following functions:

■ First, the option moves all media assigned to one media server (oldservername) to another media server (newservername). This operation occurs on the EMM database, changing the lastwritehost of the media to newservername.

For NetBackup 6.5 or later, the following is true in the case of media that belongs to a sharegroup:

If the lastwritehost was set to the oldservername, then the newservername must belong to the sharegroup, and lastwritehost is changed to newservername.

■ If the first step succeeds, then the option changes the media server name for all fragments in the image database that were originally the oldservername to the newhostname. This may take a long time, since the command must traverse the entire image database.

bpmedialistUse bpmedialist to display the status of NetBackup tape media.

The -priority option was added so that the administrator can specify a new priority for the media contents job (for a Media Contents report) that overrides the default job priority.

399Command line interface updates

bppldeleteUse bppldelete to delete policies from the NetBackup database.

The -generation [1-n] option was added to ensure that the command acts on a specific generation or version of a policy. The generation value increments each time a policy is saved.

Use bpplinfo or bppllist to list the current generation value.

If no generation is indicated, the command acts on the current version.

bpplincludeUse bpplinclude to maintain a list of files automatically backed up by a NetBackup policy.

The -generation [1-n] option was added to ensure that the command acts on a specific generation or version of a policy. The generation value increments each time a policy is saved.

Use bpplinfo or bppllist to list the current generation value.

If no generation is indicated, the command acts on the current version.

bpplinfoUse bpplinfo to manage or display policy attributes.

The attributes list now includes the generation or version of a policy.

The -priority option was added so that the administrator can specify a new priority for the backup job that overrides the default job priority.

bppllistUse bpplist to list policy information.

The verbose list now includes the generation or version of a policy.

bpplschedUse bpplsched to add, delete, or list NetBackup schedules.

The -generation [1-n] option was added to ensure that the command acts on a specific generation or version of a policy. The generation value increments each time a policy is saved.

Use bpplinfo or bppllist to list the current generation value.

If no generation is indicated, the command acts on the current version.

400 Command line interface updates

bpplschedrepUse bpplschedrep to modify NetBackup schedule attributes.

The -generation [1-n] option was added to ensure that the command acts on a specific generation or version of a policy. The generation value increments each time a policy is saved.

Use bpplinfo or bppllist to list the current generation value.

If no generation is indicated, the command acts on the current version.

bppolicynewUse bppolicynew to create, copy, or rename a NetBackup policy.

The -priority option was added so that the administrator can specify a new priority for the backup job that overrides the default job priority.

bprecoverUse bprecover to recover NetBackup related catalogs.

The -priority option was added so that the administrator can specify a new priority for the recovery job that overrides the default job priority.

bprestoreUse bprestore to restore files from a NetBackup server.

The -priority option was added so that the administrator can specify a new priority for the restore job that overrides the default job priority.

bpscheduleUse bpschedule to add, delete, or list schedules for disk staging storage units.

The -priority option was added so that the administrator can specify a new priority for the schedule that overrides the default job priority.

bpschedulerepUse bpchedulerep to modify schedule attributes for disk staging storage units.

The -priority option was added so that the administrator can specify a new priority for the schedule that overrides the default job priority.

401Command line interface updates

bpverifyUse bpverify to verify NetBackup backups.

The -priority option was added so that the administrator can specify a new priority for the verification job that overrides the default job priority.

nbdeleteUse nbdelete to remove deleted fragments from disk volumes.

The -priority option was added so that the administrator can specify a new priority for the job that overrides the default job priority.

402 Command line interface updates

nbdevconfigUse nbdevconfig to preview, import, create, or inventory disk pools.

-setattribute attribute is an attribute to apply to the storage server for the read side of restore or duplication operations. These attributes can help you manage the restore and duplication traffic. You can specify more than one -setattribute attribute pair on the command line. The following are the attributes:

■ PrefRestore. The storage server is preferred for the read side of restore operations. More than one storage server can have the PrefRestore attribute.

Storage servers that are marked as PrefRestore are considered for use first. If none are available, any unmarked storage server is considered for use.

Normal NetBackup load balancing occurs among all storage servers marked PrefRestore.

■ ReqRestore. The storage server is required for the read side of restore operations. More than one storage server can have the ReqRestore attribute.

If a ReqRestore server is not available, NetBackup considers PrefRestore servers for use. If none are available, jobs queue until a ReqRestore or PrefRestore is available.

If you configure ReqRestore servers but not PrefRestore servers, unmarked storage servers are never considered for restore jobs. Jobs queue until a ReqRestore storage server is available to execute the job. Normal NetBackup rules for job retry apply.

Normal NetBackup load balancing occurs for all storage servers marked ReqRestore. Load balancing does not occur between the ReqRestore and PrefRestore storage servers.

■ ReqDuplicate. The storage server is required for the read side of duplication operations. More than one storage server can have the ReqDuplicate attribute.

If any storage server is marked as ReqDuplicate, only storage servers that are marked as ReqDuplicate are considered for use. If a ReqDuplicate server is unavailable, jobs queue until a ReqDuplicate server is available to execute the job. Normal NetBackup rules for job retry apply.

ReqDuplicate also applies to storage server allocation for synthetic backup operations.

-clearattribute attribute is an attribute to remove from the storage server for restore or duplication operations. You can specify more than one -clearattribute attribute pair on the command line. The following are the attributes:

■ PrefRestore. The storage server is preferred for the read side of restore operations.

403Command line interface updates

■ ReqRestore. The storage server is required for the read side of restore operations.

■ ReqDuplicate. The storage server is required for the read side of duplication operations.

-deletedv deletes the volume from the disk pool. Requires the -stype, -dp, and -dv options. No backup image fragments can exist on the volume. No backup jobs can be active on the volume. The disk volume and disk pool must be DOWN.

404 Command line interface updates

nbkmsutilnbkmsutil is a new command that runs the NetBackup key management service (KMS) utility. The following is the complete description of nbkmsutil as it would appear in the NBU Commands document or in the UNIX man page.

The nbkmsutil command contains the following operations and options:

<admin_dir_path>nbkmsutil [-createkg] [-createkey] [-modifykg] [-modifykey] [-listkgs ] [-listkeys] [-modifyhmk] [-modifykpk] [-gethmkid] [-getkpkid] [-deletekg] [-deletekey] [-quiescedb] [-unquiescedb] [-recoverkey] [-ksstats]<admin_dir_path>nbkmsutil -createkg -kgname key_group_name [-cipher type] [-desc description]<admin_dir_path>nbkmsutil -createkey [-nopphrase] -kgname key_group_name -keyname key_name [-activate] [-desc description]<admin_dir_path>nbkmsutil -modifykg -kgname key_group_name [-name new_name] [-desc new_description]<admin_dir_path>nbkmsutil -modifykey -keyname key_name -kgname key_group_name [-state new_state | -activate] [-name new_name] [-desc new_description]<admin_dir_path>nbkmsutil -listkgs [-kgname key_group_name | -cipher type | -emptykgs | -noactive] [-noverbose]<admin_dir_path>nbkmsutil -listkeys key_group_name [-keyname key_name | -activekey] [-noverbose]<admin_dir_path>nbkmsutil -modifyhmk [-nopphrase]<admin_dir_path>nbkmsutil -modifykpk [-nopphrase]<admin_dir_path>nbkmsutil -gethmkid<admin_dir_path>nbkmsutil -getkpkid<admin_dir_path>nbkmsutil -deletekg -kgname key_group_name<admin_dir_path>nbkmsutil -deletekey -keyname key_name -kgname key_group_name<admin_dir_path>nbkmsutil -recoverkey -keyname key_name -kgname key_group_name -tag key_tag [-desc description]<admin_dir_path>nbkmsutil -ksstats [-noverbose]<admin_dir_path>nbkmsutil -quiescedb<admin_dir_path>nbkmsutil -unquiescedb

UNIX and Linux systems: <admin_dir_path> is /usr/openv/netbackup/bin/admincmd/

Windows systems: <admin_dir_path> is <install_path>\NetBackup\bin\admincmd\

Operation descriptionsThe nbkmsutil command performs the following operations:

-createkg Create a new key group. The default cipher of the new key group is AES_256.

-createkey Create a new key. The default state of the new key is Prelive.

405Command line interface updates

Option descriptionsThe nbkmsutil command uses the following options:

-modifykg Modify key group attributes.

-modifykey Modify key attributes.

-listkgs Get the details of the key groups. If no option is specified, retrieve the details of all the key groups.

-listkeys Get the details of keys.

-deletekg Delete a key group. Only empty key groups can be deleted.

-deletekey Delete a key. Only keys in Prelive and Terminated states can be deleted.

-recoverkey Restore could fail if a key used in encrypting the backup data is lost. Such Keys can be recovered (re-created) with the knowledge of the original Key's attributes (tag and passphrase).

-modifyhmk Modify the host master key (HMK). HMK is used to encrypt the key store. To modify the HMK, provide an optional seed (passphrase) and an HMK ID which can remind the user of the specified passphrase. The passphrase and the HMK ID are both read interactively.

-gethmkid Return the current HMK ID.

-modifykpk Modify the key protection key (KPK). KPK is used to encrypt KMS keys. KPK is per key store. To modify the KPK, provide an optional seed (passphrase) and a KPK ID which can remind the user of the specified passphrase. The passphrase and the KPK ID are both read interactively.

-getkpkid Returns the current KPK ID.

-ksstats Returns the key store statistics. The statistics consist of the number of key groups, the total number of keys, and the outstanding quiesce calls.

-quiescedb Sends a quiesce request to KMS. If the command succeeds, the current outstanding quiesce count is returned (as multiple backup jobs might quiesce the KMS DB to back it up)

-unquiescedb Sends an unquiesce request to KMS. If the command succeeds, the current outstanding quiesce count is returned. A count of zero (0) means the KMS database is completely unquiesced.

-activate Set the state of the specified key to active. The default state is prelive.

-activekey Retrieves the details of a specific key group's active key.

-cipher Type of cipher supported by the key group. All keys belonging to a key group supports the same cipher type. Supported cipher types are BLOW, AES_128, AES_192, and AES_256 (default cipher).

406 Command line interface updates

-emptykgs Retrieves the details of all the key groups with zero keys in it.

-keyname The name of a key. This name should be unique within a key group. The key group name and key name uniquely identifies a key in the key store.

-kgname The name of a key group. Within a key store, a key group is uniquely identified by its name.

-name new_name New name of the key group when used with -modifykg or the new name of the key when used with -modifykey. The new key group name must not conflict with other names in the key store.

-noactive Retrieves the details of all the key groups in which there are no active keys.

-nopphrase Disable the utility function that prompts you for a pass phrase. Instead, the utility creates the key. The default condition is the use of the pass phrase to create a key with a seed. A lengthy and strong seed results in a strong key.

-noverbose Disable verbosity. The default condition is verbosity, which prints the details in readable format.

-state newstate New state of the Key. Possible states are Prelive, Active, Inactive, Deprecated, and Terminated.

Key states can be changed only in the following ways:

■ Prelive to Active

■ Transition between Active and Inactive

■ Transition between Inactive and Deprecated

■ Transition between Deprecated and Terminated

407Command line interface updates

nbpemreqUse the NetBackup Policy Execution Manager Requisition (nbpemreq) to determine which jobs are due in the near future.

This command can also instruct nbpem to process policy updates immediately. Note that in 6.5.2, nbpem has been refactored for enhanced scalability, performance, and stability.

Before running nbpemreq, note the following items:

■ The nbpemreq -tables option is no longer supported in 6.5.2.

■ Whenever the nbpemreq command is run, nbpem is affected, slowing down policy processing.

■ Note that the output from nbpemreq may change from release to release. Because of this, Symantec does not recommend using nbpemreq in scripts.

The nbpemreq command contains the following operations and options:

-due -date <mm/dd/yyyy HH:MM:SS> [-client_filter <client>...][-policy_filter <policy>...]-due -dateu <unixtime> [-unixtime] [-client_filter <client>...][-policy_filter <policy>...]

-help

-jobs [screen] [depth <value>] [all|<job_id>..]

-persisted [screen] [depth <value>]

-policies [screen] [depth <value>] [<policy>..]

-predict -date <mm/dd/yyyy HH:MM:SS> [-unixtime] [-client_filter <client>...] [-policy_filter <policy>...]-predict -dateu <-unixtime> [-unixtime] [-client_filter <client>...][-policy_filter <policy>...]

-predict_all -date <mm/dd/yyyy HH:MM:SS> [-client_filter <client>...] [-policy_filter <policy>...]-predict_all -dateu <unixtime> [-client_filter <client>...] [-policy_filter <policy>...]

-subsystems [screen] depth [list|all| <subsystem_id>...]

-updatepolicies

408 Command line interface updates

Operation descriptionsThe nbpemreq command performs the following operations:

Option descriptionsThe nbpemreq command uses the following options:

-due The -due option provides information about the clients or policies that are due to run by the time specified. Two formats are available to indicate the time.

-help The -help option provides online help for the command.

-jobs The -jobs option provides information about current jobs and jobs that ran in the previous 30 minutes.

-persisted The -persisted option provides information about the contents of the nbpem persistence database file. The file contains information about running jobs, so if nbpem is interrupted, NetBackup knows which jobs to run when nbpem restarts.

-policies The -policies option provides information internal to nbpem about specified policies. The information presented differs from that presented using the -subsystem option.

-predict

-predict_all

The -predict option can help determine when a policy is to run. The information displayed is based on the current time and a future date, specified using one of the two available time formats.

The option can also be used to help determine why a policy has not run. The difference between the options is the output format and the amount of data presented.

The -predict option shows backups that are eligible to run, but it is not an indication of which jobs will run at a specific time.

This option checks if there is an open window for the backup, but does not reflect any exclude dates that might be set for the schedule.

-subsystems The -subsystems option provides information about the subsystems introduced in 6.5.2. The amount of information presented for each subsystem depends on the depth indicated. Each subsystem contains varying layers of information.

-updatepolicies The -updatepolicies option instructs nbpem to reread the existing policy configuration. Normally, nbpem checks for changes based on the Policy Update Interval, located in the Global Attributes host properties. The default is 10 minutes. After running this command, the prompt is simply returned.

depth value Where value is 0-n. The value limits how much the command generates as output.

[all|job_id...] Lists all jobs or the job specified by the job ID.

-client_filter

client

Filters on the name of a specific client or clients.

409Command line interface updates

nbstlThe NetBackup storage lifecycle utility command (nbstl) gives administrators the ability to create, modify and delete storage lifecycle policies.

The nbstl command contains the following operations and options in 6.5.2:

nbstl [storage_lifecycle_name] [-v] [-M master_server] -L | -lnbstl storage_lifecycle_name [-v] [-M master_server] -deletenbstl storage_lifecycle_name [-add | -modify][-v] [-M master_server][-dc data_classification][-dp duplication_priority][-uf used_for1[,used_for2,..used_forn]][-residence storage_unit1 | __NA__[,storage_unit2 | __NA__...storage_unitn | __NA__]][-pool volume_pool1 | __NA__[,volume_pool2 | __NA__...volume_pooln | __NA__]][-server_group host1 | __NA__[,host2 | __NA__..hostn | __NA__]][-managed m1[,m2,..mn]][-rl retention_level1 [,retention_level2,..retention_leveln][-as alt_read_server1 | __NA__ [,alt_read_server2 | __NA__ ,..alt_read_servern | __NA__]][-mpx preserve_mpx1 | __NA__[,preserve_mpx2 | __NA__ ,..preserve_mpxn | __NA__]]

New value for -uf optionThe -uf (used for) option specifies when each destination is used. Value 2 is used for snapshots and is new in 6.5.2.

Use one of the following values with -uf:

depth [list|all|

subsystem_id...]

Displays all 36 subsystems introduced in 6.5.2, or specified subsystems.

Example: 3 8 12

(Separate subsystems with spaces, not commas.)

-policy_filter policy

Filters on the name of a specific policy or policies.

screen Writes the output onto the screen and to stdout. The output is placed in the log file.

-unixtime The number of seconds elapsed since midnight Coordinated Universal Time (UTC) of January 1, 1970, not counting leap seconds.

0 Backup

1 Duplication

2 Snapshot (new in 6.5.2)

410 Command line interface updates

New __NA__ value for many optionsThe nbstl command creates, modifies, or deletes all of the destinations at the same time and does not support adding or modifying single destinations. To change properties of one destination, all of the existing destinations must be accounted for as well as the destination to be updated.

Many of the options that need to be entered for a destination may not be applicable (NA). In that case, enter the value as __NA__ (double underscores before and after NA).

The following options accept __NA__ as a value:

■ -residence

■ -pool

■ -server_group

■ -as (alternate read server)

■ -mpx

The following options cannot be used with the __NA__ entry:

■ The -managed option must be set to 0 (capacity management disabled).

■ The -rl (retention level) option must be an integer between 0 and 24.

New State field listed for -L and -lIn 6.5.2, the output for -L and -l includes a State field for the lifecycle and for every destination in the lifecycle. The State value indicates whether or not the lifecycle or destination is active or inactive. (Administrators can use the nbstlutil command to make a lifecycle active or inactive. An inactive lifecycle or destination prevents duplications from running.)

■ The following is an example of how the new State field appears in the output for nbstl -L (long output). In this example:

■ The lifecycle named lifecycle1 is active.

■ The storage unit named adv_dsu1 is inactive.

Name: lifecycle1Data Classification: Gold

Duplication job priority: 0State: active

Destination 1 Use for: backupStorage Unit: adv_dsu1Volume Pool: NetBackup

Server Group: *NONE*Retention Type: Fixed

Retention Period: 0

411Command line interface updates

Alternate Read Server: *NULL*Preserve Multiplexing: false

State: inactive

■ The following is an example of how the new State field appears in the output for nbstl -l (condensed readout). In this example:

■ The second 0 in the first line indicates that the lifecycle named lifecycle1 is active.

■ The 1 in the second line indicates that the storage unit named adv_dsu1 is inactive.

lifecycle1 Gold 0 00 adv_dsu1 NetBackup *NONE* 0 0 *NULL* 0 1

412 Command line interface updates

nbstlutilIn previous releases, the nbstlutil list -l and the nbstlutil list -U output did not list fields that had no values to display. In 6.5.2, the blank fields are displayed with the following values:

■ nbstlutil list -l (condensed readout) output displays *NULL* for blank fields.

■ nbstlutil list -U (user readable) output displays (none specified) for blank fields. It also lists meaningful names for the fields instead of variable names. For example:

Image:Master Server : master1Backup ID : master1_1204160816Client : master1Backup Time : 1204160816 (Wed Feb 27 19:06:56 2008)Policy : SLPTestPol1Client Type : 0Schedule Type : 0Storage Lifecycle Policy : SLPTest1Storage Lifecycle State : 3 (COMPLETE)Time In Process : 1204160905 (Wed Feb 27 19:08:25 2008)Data Classification ID : (none specified)

tpcleanUse tpclean to manage the cleaning of the tape drive.

The -priority option was added so that the administrator can specify a new priority for the job that overrides the default job priority.

tpformatUse tpformat to format optical disks for use by Media Manager.

The -priority option was added so that the administrator can specify a new priority for the job that overrides the default job priority.

tpreqUse tpreq to request a tape volume for mounting and assign a file name to the drive.

The -priority option was added so that the administrator can specify a new priority for the job that overrides the default job priority.

413Command line interface updates

vmphyinvUse vmphyinv to inventory media contents of a robotic library or stand-alone drive and update the volume database.

The -priority option was added so that the administrator can specify a new priority for the inventory job that overrides the default job priority.

414 Command line interface updates

Index

AActivity Monitor

State Details column 351adding

Media Manager storage unit 343Advanced Disk

license key for 247Alternate read server option 239, 240

Bbackup

off-hostconfiguration 34

Backup and Restore Database option 199Backup Selections list 39Bare Metal Restore 34Bare Metal Restore database (BMRDB) 187bp client interface 371bpadm management interface 371bpbackupdb 369bpbackupdb command -priority option 397bpchedulerep command -priority option 400bpclusterutil command 383, 387bpdbjobs 369bpdbjobs command 397

-report -all_columns output 355bpduplicate 369bpduplicate command -priority option 397bpimport 369bpimport command -priority option 397bplabel 369bplabel command -priority option 398bpmedia command 398bpmedialist 369bpmedialist command -priority option 398bppldelete command -generation option 399bpplinclude command -generation option 399bpplinfo 369bpplinfo command -priority option 399bppllist command 399bpplsched command -generation option 399

bpplschedrep command -generation option 400bppolicynew 369bppolicynew command -priority option 400bprecover 369bprecover command -priority option 400bprestore 369bprestore command -priority option 400bpschedule 369bpschedule command -priority option 400bpschedulerep 369bpverify 369bpverify command -priority option 401

Ccache

object 140configuration

add Media Manager storage unit 343procedure 32

Converter, VMware 25credentials, VMware 31

DDatabase Administration tool for NetBackup

databasesUNIX 189Windows 201

database password, changing 190Database Rebuild option 196database validation check 207Database Validation Check and Rebuild 195DataStore/XBSA 372DB2, NetBackup for 372Disk type storage unit setting 254, 302document-level restores

how to perform 219requirements 218

Dynamic LUN masking property (SharedDisk) 284

416

Eencryption of snapshot data transfer 36ESX server 25, 31Exchange, NetBackup for 373

Ffiles list (see Backup Selections list)

GGlobal Attributes host properties 359

Hhost properties

for VMware 32hot catalog backup 194, 195, 207

IInformix, NetBackup for 373instant snapshots 140

JjnbSA 31, 32

Llicense key

for AdvancedDisk 247lifecycle destination type 239logging

VMware 55, 117Lotus 373LUN masking for SharedDisk 284

Mmedia

host propertiesEnable SCSI reserve/release 284

Media server storage unit setting 255, 302method

selecting off-host backup 34Microsoft Cluster Server (MSCS)

bpclusterutil command 383Microsoft Services for NFS, installing 211, 212mirror

VxVM snapshot 140

mount pointVMware 35

Move Database option 197Multiple Copy Synthetic Backups feature 345

NNAS snapshot 342nbd 36nbdelete 369nbdelete command -priority option 401nbdevconfig command 402nbdssl 37nbfirescan 123nbkmsutil command 404nbstl (NetBackup storage lifecycle utility)

command 242nbstl command 409

__NA__ option 410new -L and -l output fields 410-uf (used for) option 409

nbstlutil commandnew -L and -l output fields 412

NDMPto media server

how to configure 342NDMP to disk 341NDMP to media server (disk or tape) 341NearStore storage units

logging information 269, 322NetBackup for DB2 372NetBackup for Exchange 373NetBackup for Informix 373NetBackup for Oracle 374NetBackup for SAP 375NetBackup for SharePoint 375NetBackup for SQL Server 375NetBackup for Sybase 375NetBackup relational database (NBDB) 187NetBackup Resource Broker (NBRB) 358Network Block Device (NBD) transfer 36Network Block Device (NBD) transfer with SSL 36Network Settings host properties 377NOM 6.5.2

alert changes 389changing the job priority 394configuring SNMP trap community name 392Creating email and recipient groups 391duplicate names between email and SNMP

recipients 391

417

Multi-select option 390NOM cluster

about the NOM cluster 61adding a node 86configuring a cluster 83configuring NetBackup servers 85installing NOM 6.5.2 cluster 63limitations 94NOM agent for VCS 62removing cluster completely 90supported cluster solutions 62troubleshooting 94uninstall NOM 6.5.2 87upgrading to NOM 6.5.2 cluster 72using NOMCAdmin 93

Ooff-host backup 34Oracle XML 374Oracle, NetBackup for 374

Ppolicy

how to select type of 33Policy dialog 32, 114Preserve multiplexing option 239, 241

Rremote NDMP 341restores

document-level 218Reverse Host Name Lookup property 377REVERSE_NAME_LOOKUP bp.conf entry 379

SSAP, NetBackup for 375SCSI

LUN maskingfor SharedDisk 284

persistent reservefor SharedDisk 284

SCSI presistent reserve property (SharedDisk) 284SharePoint, NetBackup for 375snapshot

mirror (VxVM) 140Snapshot Client 239space-optimized snapshots 140

SQL Server, NetBackup for 375SSL encryption of snapshot data 36Sybase Adaptive Server Anywhere (ASA) 187Sybase, NetBackup for 375

Ttpclean 360, 370tpclean command -priority option 412tpformat 360, 370tpformat command -priority option 412tpreq 370tpreq command -priority option 412Transaction Log Management 194Truncate the Transaction Log option 195

UUnload Database option 198

VVault duplication jobs 360Veritas Cluster Server (VCS) for Windows 2000/

2003bpclusterutil command 383, 387

Virtual Center 25vmdk type 37vmphyinv 361, 370vmphyinv command -priority option 413VMware

and Linux 33backup environment 25, 26backups 42configuration overview 29Converter 25credentials 31ESX server 25, 31host properties 32introduction 23logging 55, 117main features 24policy configuration 32policy types 33proxy 24restores 43snapshot mount point 35troubleshooting 55Virtual Center 25

VxVM

418

mirror 140Volume Manager 140

WWindows Services for UNIX (SFU), installing 212


Recommended