Netbackup Admin Guide

176
Veritas NetBackup Administrator’s Guide, Volume II for Windows Release 6.5 12308282

description

Netbackup Admin Guide

Transcript of Netbackup Admin Guide

  • nbu_win_print_II.book Page 1 Saturday, June 2, 2007 7:12 PM

    VeAd

    for

    Rel

    12308282ritas NetBackup

    ministrators Guide, Volume II

    Windows

    ease 6.5

  • nbu_win_print_II.book Page 2 Saturday, June 2, 2007 7:12 PM

    Veritas NetBackup Administrators Guide, Volume II

    Copyright 1993-2007 Symantec Corporation. All rights reserved.

    NetBackup 6.5

    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.

    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 Corporation 20330 Stevens Creek Blvd. Cupertino, CA 95014 www.symantec.com

    Printed in the United States of America.

  • nbu_win_print_II.book Page 3 Saturday, June 2, 2007 7:12 PM

    Third-party legal notices

    Licen

    TechnThird-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. Windows is a registered trademark of Microsoft Corporation.

    sing and registration Veritas NetBackup is a licensed product. See the NetBackup Installation Guide for license installation instructions.

    ical support For 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.

  • nbu_win_print_II.book Page 4 Saturday, June 2, 2007 7:12 PM

  • nbu_win_print_II.book Page 5 Saturday, June 2, 2007 7:12 PM

    Contents

    Chap

    CLEAN_REQUEST_TIMEOUT ............................................................34

    CLIENT_PORT_WINDOW ...................................................................34

    CLUSTER_NAME ..................................................................................34

    ter 1 Additional configuration Multiplexing .........................................................................................................13

    When to use multiplexing ...........................................................................14

    How to configure multiplexing ..................................................................14

    Maximum streams per drive for a storage unit ...............................15

    Media multiplexing for a schedule ....................................................15

    Other configuration settings to consider using multiplexing ......18

    Demultiplexing .............................................................................................19

    Using multiple NetBackup master servers ......................................................20

    Using multiple media servers with one master server ..................................21

    Software on each server ..............................................................................22

    NetBackup catalogs .....................................................................................23

    Adding a media server .........................................................................................23

    Registering a media server .........................................................................25

    NetBackup configuration options .....................................................................27

    NetBackup administration options ...........................................................27

    NBRB_CLEANUP_OBSOLETE_DBINFO ............................................28

    NBRB_ENABLE_OPTIMIZATIONS ....................................................28

    NBRB_FORCE_FULL_EVAL ................................................................28

    NBRB_REEVAL_PENDING ..................................................................28

    NBRB_REEVAL_PERIOD .....................................................................28

    NBRB_RETRY_DELAY_AFTER_EMM_ERR ......................................29

    NBRB_MPX_GROUP_UNLOAD_DELAY ...........................................29

    REQUIRED_NETWORK .......................................................................29

    vm.conf options for media servers ............................................................30

    ACS_mediatype ......................................................................................30

    ADJ_LSM ................................................................................................30

    API_BARCODE_RULES ........................................................................31

    AUTHORIZATION_REQUIRED ..........................................................32

    AUTO_PATH_CORRECTION ..............................................................32

    AUTO_UPDATE_ROBOT .....................................................................33

    AVRD_PEND_DELAY ...........................................................................33

    AVRD_SCAN_DELAY ...........................................................................33

  • nbu_win_print_II.book Page 6 Saturday, June 2, 2007 7:12 PM

    6

    CONNECT_OPTIONS ........................................................................... 35

    DAS_CLIENT ......................................................................................... 35

    ChapDAYS_TO_KEEP_LOGS ....................................................................... 36

    EMM_RETRY_COUNT ......................................................................... 36

    EMM_CONNECT_TIMOUT ................................................................. 36

    EMM_REQUEST_TIMOUT ................................................................. 36

    ENABLE_ROBOT_AUTH ..................................................................... 37

    INVENTORY_FILTER .......................................................................... 37

    MAP_ID .................................................................................................. 37

    MAP_CONTINUE_TIMEOUT ............................................................. 38

    MEDIA_ID_BARCODE_CHARS .......................................................... 38

    MEDIA_ID_PREFIX .............................................................................. 39

    MM_SERVER_NAME ........................................................................... 39

    PREFERRED_GROUP .......................................................................... 40

    PREVENT_MEDIA_REMOVAL ........................................................... 40

    RANDOM_PORTS ................................................................................ 40

    REQUIRED_INTERFACE ..................................................................... 41

    SERVER ................................................................................................. 41

    SSO_DA_REREGISTER_INTERVAL .................................................. 42

    SSO_DA_RETRY_TIMEOUT ............................................................... 42

    SSO_HOST_NAME ............................................................................... 43

    TLH_mediatype .................................................................................... 43

    TLM_mediatype ................................................................................... 43

    VERBOSE ............................................................................................... 43

    Example vm.conf file ........................................................................... 43

    Direct I/O for backups ......................................................................................... 44

    Disabling direct I/O ..................................................................................... 45

    Dynamic host name and IP addressing ............................................................ 45

    Setting up dynamic IP addresses and host names .................................. 46

    Configuring the NetBackup master server .............................................. 47

    Configuring a dynamic Microsoft Windows client ................................. 49

    Configuring a dynamic UNIX NetBackup client ..................................... 49

    Configuring email notifications ........................................................................ 50

    Specifying the locale of the NetBackup installation ...................................... 51

    ter 2 Reference topics Rules for using host names in NetBackup ....................................................... 54

    Qualifying host names ................................................................................ 54

    How NetBackup uses host names .............................................................. 54

    Policy configuration ............................................................................ 55

    Image catalog ....................................................................................... 55

    Error catalog ......................................................................................... 55

    Catalog backup information ............................................................... 55

  • nbu_win_print_II.book Page 7 Saturday, June 2, 2007 7:12 PM

    7

    How to update NetBackup after a host name changes ...........................56

    Special considerations for Domain Name Service (DNS) .......................56

    Reading backup images with tar .......................................................................58

    Effects of a non-NetBackup tar ..........................................................58

    Factors that affect backup time .........................................................................59

    Total data ......................................................................................................59

    Transfer rate .................................................................................................59

    Device delays ................................................................................................60

    Determining NetBackup transfer rate ..............................................................60

    Network transfer rate ..................................................................................60

    Network transfer plus end-of-backup-processing rate ..........................61

    Total transfer rate .......................................................................................61

    Examples .......................................................................................................61

    Using the system monitor ..........................................................................62

    How NetBackup builds a worklist ......................................................................65

    Building the worklist (Queue) ....................................................................65

    To prioritize queued jobs ............................................................................66

    Determining backup media requirements .......................................................67

    NetBackup notify scripts ....................................................................................68

    backup_notify.cmd ..............................................................................69

    backup_exit_notify.cmd ......................................................................69

    bpstart_notify (UNIX clients only) ....................................................70

    bpstart_notify.bat (Microsoft Windows clients only) ....................72

    bpend_notify (UNIX clients only) ......................................................74

    bpend_notify.bat (Microsoft Windows clients only) ......................76

    dbbackup_notify.cmd ..........................................................................78

    diskfull_notify.cmd ..............................................................................79

    mail_dr_info.cmd .................................................................................80

    nbmail.cmd ............................................................................................81

    parent_end_notify.cmd .......................................................................81

    parent_start_notify.cmd .....................................................................82

    restore_notify.cmd ...............................................................................82

    session_notify.cmd ..............................................................................83

    session_start_notify.cmd ....................................................................83

    userreq_notify.cmd ..............................................................................83

    Media and device management best practices ................................................84

    General practices .........................................................................................84

    Media management .....................................................................................85

    Device management ....................................................................................85

    Performance and troubleshooting ............................................................86

    Using TapeAlert ...................................................................................................87

    Requirements for using TapeAlert ............................................................87

    TapeAlert log codes .....................................................................................87

  • nbu_win_print_II.book Page 8 Saturday, June 2, 2007 7:12 PM

    8

    Drive cleaning overview ..................................................................................... 90

    Reactive cleaning (TapeAlert) .................................................................... 91

    TapeAlert cleaning .............................................................................. 91

    TapeAlert and frequency-based cleaning ........................................ 91

    Library-based cleaning ............................................................................... 91

    Frequency-based cleaning .......................................................................... 92

    Frequency-based cleaning limitations ............................................. 92

    Operator-initiated cleaning ....................................................................... 93

    Using a cleaning tape .................................................................................. 93

    Volume pool and volume group overview ....................................................... 93

    Volume pools ................................................................................................ 94

    Volume groups ............................................................................................. 94

    Rules for assigning volume groups ................................................... 94

    Volume pool and volume group example ................................................. 95

    Scratch volume pools .................................................................................. 96

    Scratch pool example .......................................................................... 96

    Scratch pool usage ............................................................................... 97

    Barcode overview ................................................................................................. 98

    Barcode advantages ..................................................................................... 98

    Barcode best practices ................................................................................ 98

    Barcode rules ................................................................................................ 99

    NetBackup actions for barcodes ........................................................ 99

    Checking barcodes .............................................................................100

    Example barcode rules ......................................................................100

    Media ID generation rules ........................................................................102

    Controlling hardware compression ................................................................102

    Changing your hardware configuration .........................................................102

    Replacing devices .......................................................................................102

    Decommissioning a media server ...........................................................104

    How NetBackup selects drives .........................................................................106

    How NetBackup reserves drives ......................................................................107

    SCSI persistent reserve process ..............................................................108

    SCSI persistent reserve commands .................................................109

    SCSI persistent reserve conflicts .....................................................109

    SPC-2 SCSI reserve process ......................................................................109

    SPC-2 SCSI reserve commands ........................................................110

    SCSI reservation conflicts ................................................................111

    Forcing a release ................................................................................111

    Breaking a reservation ......................................................................112

    SCSI reserve requirements and limitations ...........................................112

    SCSI reservation logging ..........................................................................114

    Server operating system limitations ......................................................114

    Checking for data loss ...............................................................................114

  • nbu_win_print_II.book Page 9 Saturday, June 2, 2007 7:12 PM

    9

    Possible data loss causes ...................................................................114

    Checking for tape and driver configuration errors ..............................115

    Chap

    ChapCommon configuration problems ....................................................115

    Configuring SCSI reserve ..........................................................................115

    How NetBackup selects media .........................................................................116

    Selecting media in robots .........................................................................116

    Spanning media ..................................................................................117

    Selecting media in stand-alone drives ....................................................117

    Media selection using stand-alone drive extensions ....................118

    Media formats ....................................................................................................120

    Standard tape format ................................................................................120

    QIC/WORM tape format ............................................................................120

    Optical media format .................................................................................121

    Fragmented backups .................................................................................121

    Multiplexing format ..................................................................................121

    Spanning tapes ...........................................................................................122

    Media Manager commands ..............................................................................122

    Device discovery overview ...............................................................................124

    Device serialization ...................................................................................124

    Devices that can be discovered ................................................................125

    Device discovery in NetBackup ................................................................125

    Device discovery in the Device Configuration Wizard .........................126

    Device discovery and shared tape drives ...............................................126

    Viewing and verifying the device configuration ...................................127

    Adding devices without discovery ...........................................................127

    Device mapping file ...................................................................................128

    Correlating tape drives to device files or addresses .....................................128

    Correlating devices and device files on UNIX hosts .............................128

    Correlating devices and names on Windows hosts ..............................130

    ter 3 UNIX reference topics Cross mount points ............................................................................................134

    Exclude and include lists on UNIX clients .....................................................136

    Creating an exclude list on a UNIX client ......................................136

    Creating an include list on a UNIX client .......................................139

    Schedules for user backups or archives .........................................................140

    ter 4 Using NetBackup with AFS Installation ..........................................................................................................141

    System requirements ................................................................................141

    Server and client installation ...................................................................141

    Configuration .....................................................................................................141

  • nbu_win_print_II.book Page 10 Saturday, June 2, 2007 7:12 PM

    10

    General policy attributes ..........................................................................142

    Client list .....................................................................................................142

    ChapBackup selections ......................................................................................142

    Backup selection list directives ...............................................................142

    Regular expressions ..................................................................................143

    Exclude and include lists ..........................................................................144

    Backups and restores ........................................................................................144

    Backups .......................................................................................................144

    Automatic backup ..............................................................................144

    Manual backup ...................................................................................144

    Restores .......................................................................................................144

    Restore from the NetBackup for AFS client ..................................144

    Restore from the NetBackup master server ..................................145

    Notes about restores ..........................................................................145

    Troubleshooting .................................................................................................145

    Troubleshooting backups .........................................................................146

    Troubleshooting restores .........................................................................146

    ter 5 Intelligent Disaster Recovery Changes for NetBackup 6.0 and later .............................................................148

    Supported Windows editions ...........................................................................148

    Requirements for IDR .......................................................................................149

    Overview of IDR use ..........................................................................................150

    About the DR files ..............................................................................................150

    Configuring NetBackup policies for IDR ........................................................151

    Backing up the protected computer ................................................................152

    Creating IDR media ...........................................................................................152

    Choosing the bootable media ...................................................................153

    Creating bootable diskettes ......................................................................154

    To modify diskette sets for use with multiple Windows 2000 computers

    155

    Creating a bootable CD image ..................................................................156

    Creating IDR diskettes ..............................................................................157

    Updating IDR media ..........................................................................................158

    Updating a bootable CD ............................................................................158

    Updating bootable diskettes ....................................................................159

    Updating IDR diskettes only ....................................................................160

    Using drfile.exe to create or update a DR file .......................................160

    Recovering your computer ...............................................................................161

    Step 1: Boot your computer ......................................................................162

    Step 2: Windows setup in IDR recovery .................................................163

    Step 3: Disaster recovery wizard .............................................................164

    Notes on altering hard drive partition sizes ..........................................167

  • nbu_win_print_II.book Page 11 Saturday, June 2, 2007 7:12 PM

    11

    Notes on recovering specific platforms ..........................................................167

    Recovering the dell PowerEdge 6100/200 with RAID ..........................168

    Recovering IBM computers ......................................................................168

    Recovering Compaq computers ...............................................................169

    IDR frequently asked questions ......................................................................169

  • nbu_win_print_II.book Page 12 Saturday, June 2, 2007 7:12 PM

    12

  • nbu_win_print_II.book Page 13 Saturday, June 2, 2007 7:12 PM

    Chapter 1

    Ad

    Mulditional configuration

    This chapter explains settings that, in most instances, are optional. The sections in this chapter include the following:

    Multiplexing on page 13

    Using multiple NetBackup master servers on page 20

    Using multiple media servers with one master server on page 21

    Adding a media server on page 23

    NetBackup configuration options on page 27

    Direct I/O for backups on page 44

    Dynamic host name and IP addressing on page 45

    Configuring email notifications on page 50

    Specifying the locale of the NetBackup installation on page 51

    tiplexing NetBackup multiplexing sends concurrent backups from one or several clients to a single storage device. NetBackup multiplexes the backups sequentially onto the media. Multiplexed and unmultiplexed backups can reside on the same volume. Separate volume pools or media IDs are not necessary.

  • nbu_win_print_II.book Page 14 Saturday, June 2, 2007 7:12 PM

    14 Additional configuration

    Multiplexing

    No special action is required to restore a multiplexed backup. NetBackup finds the media and restores the requested backup.

    When

    How Clients

    Disk Server

    Removable media or magnetic disk

    Disk

    Disk

    to use multiplexing Multiplexing is generally used to reduce the amount of time that is required to complete backups. The performance in the following situations would be improved by using multiplexing:

    Slow clients. Instances in which NetBackup uses software compression, which normally reduces client performance, are also improved.

    Multiple slow networks. The parallel data streams take advantage of whatever network capacity is available.

    Many short backups (for example, incremental backups). In addition to providing parallel data streams, multiplexing reduces the time each job waits for a device to become available. Therefore, the storage device transfer rate is maximized.

    Multiplexing reduces performance on restores because it uses extra time to read the images.

    Note: To reduce the impact of multiplexing on restore times, set the storage unit maximum fragment size to a value smaller than the largest allowed value.

    to configure multiplexing Multiplexing must be set in two places in the NetBackup configuration:

  • nbu_win_print_II.book Page 15 Saturday, June 2, 2007 7:12 PM

    15 Additional configuration Multiplexing

    Storage unit

    Schedule Note: If you change these values, it does not take effect until the next time a schedule runs.

    Maximum streams per drive for a storage unit The Maximum Streams Per Drive setting for a storage unit specifies how many

    backups NetBackup can multiplex onto any single drive in the storage unit. The

    value is set for each storage unit.

    For more information, see Enable multiplexing on page 228 in the NetBackup

    Administrators Guide, Volume I.

    The number can range from 1 through 32, where 1 is the default and specifies no

    multiplexing.

    Choose a value that is based on the ability of the central processing unit to

    handle parallel jobs. Because extra buffers are required, memory is also

    important. If the server cannot perform other tasks or runs out of memory or

    processes, reduce the Maximum Streams Per Drive setting for the storage unit.

    Consider the following to estimate the potential load that multiplexing can place

    on the central processing unit:

    The maximum concurrent jobs that NetBackup can attempt equals the sum of the concurrent backup jobs that can run on all storage units.

    The maximum concurrent jobs that can run on a storage unit equals the Maximum Streams Per Drive value, multiplied by the number of drives.

    Media multiplexing for a schedule In addition to the Maximum Streams Per Drive setting for a storage unit, specify

    a Media Multiplexing value for each schedule.

    For more information, see Media multiplexing on page 148 in the NetBackup

    Administrators Guide, Volume I.

    The Media Multiplexing value specifies the maximum number of backups from

    the schedule to be multiplexed onto any single drive in the configuration.

    The Media Multiplexing setting ranges from 1 through 32, where 1 is the default

    and specifies no multiplexing. Regardless of the setting on a schedule, the

    maximum jobs that NetBackup starts never exceeds the Maximum Streams Per

    Drive value for the storage unit. NetBackup attempts to add multiplexed jobs to

    drives that are already use multiplexing. If multiplexed jobs are confined to

    specific drives, other drives are available for non-multiplexed jobs.

  • nbu_win_print_II.book Page 16 Saturday, June 2, 2007 7:12 PM

    16 Additional configuration Multiplexing

    When NetBackup multiplexes jobs, it continues to add jobs to a drive until the number of jobs on the drive matches either of the following: This schedules Media Multiplexing setting.

    If the limit is reached for a drive, NetBackup sends jobs to other drives. In the following figure, when the Schedule A limit is reached on Drive 1, NetBackup adds Schedule A jobs to Drive 2.

    The storage units Maximum streams per drive setting. NetBackup can add jobs from more than one schedule to a drive.

    In the following figure, unshaded numbers denote a job starting. Shaded numbers denote job completion. For example, 1 denotes the start of job A1 on Drive 1.

    9 denotes the completion of job A1 on Drive 1.

  • nbu_win_print_II.book Page 17 Saturday, June 2, 2007 7:12 PM

    17 Additional configuration Multiplexing

    Figure 1-1 Multiplexing and schedules

    Schedule A Schedule B Media Multiplexing per drive = 2 Media Multiplexing per drive = 4

    Storage Unit

    dog Max mpx per drive = 4 fox

    cat

    1

    2 10

    3

    4

    11

    13

    9 5

    6

    12A1 B1

    A2

    A5

    Drive 1 B2

    A3 B3

    Drive 2

    A4 B4

    7

    8

    otter

    Assume schedule A begins first (note that the schedules can be in the same or in different policies). Also, assume that Allow Multiple Data Streams is enabled, so a client can have multiple data streams.

    Jobs A1 and A2 from client dog start on drive 1. Schedule A Media Multiplexing limit of 2 is reached for this drive.

    Jobs A3 and A4 from client cat start on drive 2. Schedule A Media Multiplexing limit of 2 is reached for this drive.

    1 2

    3 4

    5 6

    7 8

    9 10

    1211

    13

    Jobs B1 and B2 for client fox start on drive 1. Storage unit max mpx is reached for this drive.

    Jobs B3 and B4 from client otter start on drive 2. All jobs are now running for schedule B. Storage Unit Max mpx is reached for drive 2.

    Jobs A1 and A2 from client dog finish on drive 1. However, jobs B1 and B2 for client fox continue to run. Schedule A Media Multiplexing limit of 2 prevents job A5 from starting on drive 1.

    Job A3 from client cat finishes on drive 2 and job B1 from client fox finishes on drive 1. Job B2 is the only job currently running on drive 1.

    Job A5 from client cat starts on drive 1. JobA5 is the last job for schedule A. Schedule A Media Multiplexing limit of 2 prevents job A5 from starting on Drive 2. Therefore, job A5 starts on Drive 1. NetBackup attempts to add multiplexed jobs to drives that already use multiplexing. If multiplexed jobs are confined to specific drives, other drives are available for non-multiplexed jobs.

  • nbu_win_print_II.book Page 18 Saturday, June 2, 2007 7:12 PM

    18 Additional configuration Multiplexing

    Note: If the backup window closes before NetBackup can start all the jobs in a multiplexing set, NetBackup completes only the jobs that have started. For

    example, Figure 1-1 on page 17 assumes that the Activity Monitor shows A1 through A5 as queued and active. If only A1 and A2 start before the window closes, NetBackup does not perform the other jobs that are in the set. If the window closes before any jobs have started, then only the first queued and active job starts and completes. (A1 in this example.)

    Other configuration settings to consider using multiplexing

    Limit jobs per policy Set Limit Jobs Per Policy high enough to support the specified level of

    multiplexing.

    For more information, see Limit jobs per policy on page 104 in the NetBackup

    Administrators Guide, Volume I.

    Maximum jobs per client The Maximum Jobs Per Client property limits the number of backup jobs that can run concurrently on any NetBackup client.

    Usually, the client setting does not affect multiplexing. However, consider a case where jobs from different schedules on the same client go to the same storage unit. In this case, the maximum number of jobs that are permitted on the client would be reached before the multiplexing limit is reached for the storage unit. When the maximum number of jobs on the client is reached, it prevents NetBackup from fully using the storage units multiplexing capabilities.

    Maximum Jobs Per Client appears on the Global properties dialog box.

    Maximum jobs this client You can also set the maximum number of jobs that are allowed on a specific

    client without affecting other clients.

    For more information, see Maximum data streams on page 386 in the

    NetBackup Administrators Guide, Volume I.

    MPX restore delay The Delay On Multiplexed Restores property applies to multiplexed restores. The property specifies how long the server waits for additional restore requests of files and raw partitions in a set of multiplexed images on the same tape. Delay On Multiplexed Restores appears on the General Server properties dialog box.

  • nbu_win_print_II.book Page 19 Saturday, June 2, 2007 7:12 PM

    19 Additional configuration Multiplexing

    Demultiplexing Demultiplexing speeds up future restores and is useful for creating a copy for

    off-site storage. Use duplication to demultiplex a backup.

    Duplication allows one multiplexed backup at one time to be copied from the source media to the target media. When duplication is complete, the target contains a single demultiplexed copy of each duplicated backup. (The target can also contain other backups.) The duplicate copy can be made into the primary copy. Do not select Preserve Multiplexing in the Setup Duplication Variables dialog box when backups are duplicated.

    Note: If you use the bpduplicate command instead of the NetBackup Administration Console, do not include the -mpx option on that command.

  • nbu_win_print_II.book Page 20 Saturday, June 2, 2007 7:12 PM

    20 Additional configuration Using multiple NetBackup master servers

    Using multiple NetBackup master servers

    For a large site, you can use multiple NetBackup master servers to optimize the backup loads. You divide the clients between the servers as necessary. The following figure shows a multiple-server configuration where the two sets of networks (A1/A2 and B1/B2) each have enough clients to justify separate servers. In this environment, the two NetBackup server configurations are completely independent. You can also create a configuration where one server is the master and the other is a media server.

    Workstations

    Workstations

    Workstations

    Workstations

    Network A1

    Network A2

    Network B1

    Network B2

    Mass Storage

    Mass Storage

    Router

    NetBackup Master Server A

    NetBackup Master Server B

  • nbu_win_print_II.book Page 21 Saturday, June 2, 2007 7:12 PM

    21 Additional configuration Using multiple media servers with one master server

    Using multiple media servers with one master server

    You can set up a NetBackup protection domain as follows:

    One master server, which controls all backup scheduling.

    Multiple media servers, which write the backup images to disk or removable media. They may have peripheral devices to provide additional storage.

    Multiple protected NetBackup clients, which send their data to the media servers.

    A protection domain refers collectively to the NetBackup master server, its NetBackup media servers, and its NetBackup clients. In a group of NetBackup servers, a client can have backups directed to any device on any server in the group.

    A common alternative strategy is to install extra peripherals on the clients that produce large amounts of data. The master server directs the data from the client to the clients peripherals, which reduces network traffic because the data does not traverse the network. This strategy also distributes the backup load between the master and the media servers.

    Two important points to remember about master and media servers:

    There can be only one master server in a group.

    A NetBackup master server is a media server for itself but cannot be a media server for another master server.

  • nbu_win_print_II.book Page 22 Saturday, June 2, 2007 7:12 PM

    22 Additional configuration Using multiple media servers with one master server

    The following figure shows where software is installed and where the NetBackup catalogs are located (by default). The following topics provide more

    AdmI

    * YouinterAdm

    Softwdetails on master and media servers and a procedure to configure them.

    Storage Device

    Storage Device

    NetBackup Catalogs

    Master Server

    Remote Admin Console*

    User Interface (BAR)

    Storage Device

    Remote Admin Console*

    User Interface

    NetBackup

    Media Server

    NetBackup

    Media Server

    NetBackup Client

    User Interface (BAR)

    Administration Interface*

    inistration nterface*

    User Interface (BAR)

    Image database

    Configuration files

    Information in relational databases

    (about devices, volumes)

    can also use the Backup, Archive, and Restore user face from a Windows client that has the Remote inistration Console installed.

    are on each server Applies to NetBackup Enterprise Server only.

    Install NetBackup server software on each NetBackup server that has a peripheral that you want to include in a storage unit. The NetBackup installation program has choices for master and media server installation.

  • nbu_win_print_II.book Page 23 Saturday, June 2, 2007 7:12 PM

    23 Additional configuration Adding a media server

    NetBackup catalogs Applies to NetBackup Enterprise Server only.

    AddThe master server is the default location for the NetBackup catalogs. The catalogs include the media and the volume database (emm_data.db). The volume database contains the media usage information and the volume information that are used during the backups.

    ing a media server The following section applies to NetBackup Enterprise Server only.

    Use the following procedure to add a media server to an existing NetBackup environment.

    Note: The NetBackup Enterprise Media Manager service must be active when you add a media server, configure devices and volumes, and backup or restore clients.

    To add a media server

    1 On the new media server host, attach the devices and install any software that is required to drive the storage devices. For help, see the vendors documentation.

    2 Prepare the device drivers on the new media server hosts operating system as explained in the NetBackup Device Configuration Guide.

    3 Add the new media server to the additional servers list of the master server and of the clients the new media server backs up. If the EMM server resides on a host other than the master server, add the new media server to the additional servers list on that host. If the new media server is part of a server group, add it to the additional servers list on all media servers in the group.

    Note: To avoid problems with NetBackup, ensure that the host name you use in NetBackup matches the host name in your TCP/IP configuration.

    To add the new media server to the additional servers list, do the following:

    a Select NetBackup Management > Host Properties > hosttype. For example, to add the new media server to clients, select Clients.

  • nbu_win_print_II.book Page 24 Saturday, June 2, 2007 7:12 PM

    24 Additional configuration Adding a media server

    b Select the host that you want to change in the right pane. To select more than one host, hold down the Shift key and select all the hosts that you

    want to change in the right pane.

    c Select Actions > Properties.

    d Select the Servers properties.

    e Click Add next to the Additional servers window and type the name of the new server.

    f Click Add to add the server to the additional server list for all selected hosts.

    g Click Close.

    h Click OK.

    For more information, see Servers properties on page 467 in the NetBackup Administrators Guide, Volume I.

    4 Restart the NetBackup services on the master server, the EMM server, and the media servers on which you added the new server name.

    5 On NetWare target clients, add the new media server name by using a SERVER entry in the bp.ini file.

    6 Install the NetBackup media server software as explained in the NetBackup Installation Guide.

    7 Configure the drives and robots as explained in Devices in the NetBackup Administrators Guide, Volume I.

    8 Configure the volumes as explained in Media in the NetBackup Administrators Guide, Volume I.

    9 On the master server, do the following to the NetBackup configuration:

  • nbu_win_print_II.book Page 25 Saturday, June 2, 2007 7:12 PM

    25 Additional configuration Adding a media server

    a Add storage units to the media server. Always specify the media server as the media server for the storage unit.

    Regisb Enter the catalog paths if necessary:

    To use the online, hot catalog backup method:

    NetBackup enters the paths automatically.

    To use the offline, cold catalog backup method:

    Add the catalog paths for the media server to the NetBackup catalog

    backup configuration.

    For more information, see Chapter 4, NetBackup Catalog on page 273

    in the Administrators Guide, Volume I.

    Paths on a Windows media server:

    media_server_name:install_path\NetBackup\db media_server_name:install_path\NetBackup\var media_server_name:install_path\Volmgr\database Where install_path is the directory where the NetBackup software is installed on the media server.

    Paths on a UNIX media server:

    media_server_name:/usr/openv/netbackup/db

    media_server_name:/usr/openv/var

    media_server_name:/usr/openv/volmgr/database

    c Configure the NetBackup policies and schedules to use the storage units that are configured on the media server.

    10 Test your configuration by performing a user backup or a manual backup that uses a schedule that specifies a storage unit on the media server.

    tering a media server If the EMM server is not running when you add a media server, the media server

    is not registered. You cannot discover, configure, and manage devices. You must

    register the media server with the EMM server.

    To register a media server

    1 Start the EMM service on the EMM server.

    2 On the EMM server host, run the following command (use the host name of the media server): nbemmcmd -addhost -machinename hostname -machinetype media

    -masterserver server_name -operatingsystem os_type

    -netbackupversion level.major_level.minor_level

  • nbu_win_print_II.book Page 26 Saturday, June 2, 2007 7:12 PM

    26 Additional configuration Adding a media server

    Note: To avoid problems with NetBackup, ensure that the host name you

    use in NetBackup matches the host name in your TCP/IP configuration.

    For nbemmcmd command usage, see NetBackup Commands for UNIX and Linux or NetBackup Commands for Windows.

  • nbu_win_print_II.book Page 27 Saturday, June 2, 2007 7:12 PM

    27 Additional configuration NetBackup configuration options

    NetBackup configuration options

    NetBNetBackup configuration options allow an administrator to customize NetBackup to meet specific site preferences and requirements. Generally, these options are configured in the NetBackup Administration Console, under Host Properties.

    Options for configuring media and device management in the vm.conf file as explained in this chapter. The vm.conf file contains configuration entries for media and device management.

    However, some options cannot be configured by using the NetBackup Administration Console.

    NetBackup administration options

    Media and device configuration options (vm.conf file)

    ackup administration options The following NetBackup configuration options cannot be configured by using

    the NetBackup Administration Console.

    To change a default value, use the bpgetconfig command to obtain a list of

    configuration entries, then use bpsetconfig to change the entries as needed.

    The commands are described in NetBackup Commands for Windows.

  • nbu_win_print_II.book Page 28 Saturday, June 2, 2007 7:12 PM

    28 Additional configuration NetBackup configuration options

    NBRB_CLEANUP_OBSOLETE_DBINFO The NBRB_CLEANUP_OBSOLETE_DBINFO entry serves as a performance tuning

    option for the Intelligent Resource Manager. This entry indicates the number of seconds (default: 60) that can elapse between the cleanup of obsolete information in the NetBackup Resource Broker (nbrb) database.

    No equivalent exists in the NetBackup Administration Console host properties.

    NBRB_ENABLE_OPTIMIZATIONS The NBRB_ENABLE_OPTIMIZATIONS entry serves as a performance tuning option for the Intelligent Resource Manager. This entry indicates whether the Resource Broker caches states of resource requests. Default: 1 (true).

    No equivalent exists in the NetBackup Administration Console host properties.

    NBRB_FORCE_FULL_EVAL The NBRB_FORCE_FULL_EVAL entry serves as a performance tuning option for the Intelligent Resource Manager. This entry indicates the number of seconds that can elapse between full evaluations of all NetBackup Resource Broker (nbrb.exe) queues, using no cached EMM information. (Default: 1800 seconds/30 minutes.) For example, full evaluations include matching job resource requests with available resources.

    No equivalent exists in the NetBackup Administration Console host properties.

    NBRB_REEVAL_PENDING The NBRB_REEVAL_PENDING entry serves as a performance tuning option for the Intelligent Resource Manager. This entry indicates the number of seconds (default: 60) that can elapse between evaluations of the pending request queue. For example, a pending request queue can include, jobs awaiting resources.

    No equivalent exists in the NetBackup Administration Console host properties.

    NBRB_REEVAL_PERIOD The NBRB_REEVAL_PERIOD entry serves as a performance tuning option for the Intelligent Resource Manager and NetBackup Resource Broker (nbrb.exe). NBRB_REEVAL_PERIOD indicates the time between evaluations if an outstanding request is not satisfied, and if no other requests or resources have been released. Default: 5 minutes passes before the initial request is reevaluated.

    No equivalent exists in the NetBackup Administration Console host properties.

  • nbu_win_print_II.book Page 29 Saturday, June 2, 2007 7:12 PM

    29 Additional configuration NetBackup configuration options

    NBRB_RETRY_DELAY_AFTER_EMM_ERR The NBRB_RETRY_DELAY_AFTER_EMM_ERR entry serves as a performance

    tuning option for the Intelligent Resource Manager. This entry indicates how long NetBackup waits after an EMM error before attempting again. (Default: 60 seconds.) The error must be one where a retry is possible. For example, if a media server is down.

    NBRB_MPX_GROUP_UNLOAD_DELAY The NBRB_MPX_GROUP_UNLOAD_DELAY entry serves as a performance tuning

    option for the Intelligent Resource Manager.

    This entry indicates the number of seconds that the NetBackup Resource Broker

    (nbrb.exe) waits for a new job to appear before a tape is unloaded.

    (Default: 10 seconds.) This setting can help avoid unnecessary reloading of tapes

    and applies to all backup jobs.

    During user backups, nbrb.exe uses the maximum value of

    NBRB_MPX_GROUP_UNLOAD_DELAY and the Media mount timeout host

    property setting when unmounting the tape.

    This host property is found in the NetBackup Administration Console under

    NetBackup Management > Host Properties > Select master server > Timeouts >

    Media mount timeout. See Chapter 7 in the Administrators Guide, Volume I for

    more details.

    During restores, Media mount timeout is used, not

    NBRB_MPX_GROUP_UNLOAD_DELAY.

    No equivalent exists in the NetBackup Administration Console host properties.

    The RE_READ_INTERVAL entry determines how often NetBackup checks disk

    storage units for available capacity. Default: 300 seconds (5 minutes).

    REQUIRED_NETWORK The REQUIRED_NETWORK entry specifies the required route for backup traffic in an environment where the network traffic is segregated.

    For example, an environment may contain a production network at 145.21.14.0 and a backup network at 192.132.28.0. To indicate that NetBackup should use only the backup network, add the following entry in the bp.conf file:

    REQUIRED_NETWORK = 192.132.28.0

    Note: If the variable is set and the network is not available, all connections fail and no backups are performed.

  • nbu_win_print_II.book Page 30 Saturday, June 2, 2007 7:12 PM

    30 Additional configuration NetBackup configuration options

    vm.conf options for media servers

    The install_path\volmgr\vm.conf file contains configuration entries for media and device management. NetBackup may create this file, but if it does not exist, it must be created to add entries.

    The NetBackup component reads this configuration file on the host where the component runs. The NetBackup component is a command, daemon, process, or utility. The host may be a NetBackup administration client or a server where administration operations are requested.

    See Example vm.conf file on page 43 for an example configuration file.

    ACS_mediatype ACS_mediatype = Media_Manager_mediatype

    This configuration entry applies only to NetBackup Enterprise Server

    If this entry is used in vm.conf, the ACS media type is mapped to the specified Media Manager media type. You can specify more than one ACS_mediatype entry.

    This entry is read and interpreted on the host on which vmcheckxxx and vmupdate run during a robot inventory operation. Use this entry on every NetBackup media server that functions as an ACS robot control host.

    For a list of the valid ACS_mediatype entries, see Media Type Mappings tab in the NetBackup Administrators Guide for Windows, Volume I.

    ADJ_LSM ADJ_LSM = robot_num ACS_ID,LSM_ID ACS_ID,LSM_ID

    This configuration entry applies only to NetBackup Enterprise Server.

    In an ACS robot with multiple library storage modules (LSMs), pass-through mechanisms may move ejected media to the media access port (MAP). A pass-through mechanism passes media from one LSM to another. This travel time can be excessive when media must pass through several LSMs.

    Use this entry to specify the physical orientation of the LSMs in an ACS robot. If this entry is specified in vm.conf, you do not need to know which MAP (or ACS CAP) to select for efficient ejects. NetBackup determines the appropriate MAP to complete the media eject using a nearest-MAP algorithm.

    This nearest-MAP algorithm is based on the physical orientation of the LSMs that defined with this entry. This algorithm is only for the cases where more than one MAP has been requested to handle the eject. If this algorithm is used, any MAP_ID entries in vm.conf are ignored.

  • nbu_win_print_II.book Page 31 Saturday, June 2, 2007 7:12 PM

    31 Additional configuration NetBackup configuration options

    Note: The nearest-MAP capability is only available using the vmchange command with the -map option or the Vault administrative interface. It is not

    available from the NetBackup Administration Console.

    Without this entry present, NetBackup assumes that all LSMs are interconnected with pass-through ports, except for the first LSM and the last LSM. The LSMs are interconnected in a line formation.

    robot_num is the robot number. ACS_ID and LSM_ID are the coordinates of the LSM.

    For example, the following entries are required to specify the physical layout of

    LSM interconnections for robot number 700 (Figure 1-2 on page 31):

    ADJ_LSM = 700 0,0 0,1

    ADJ_LSM = 700 0,0 0,6

    ADJ_LSM = 700 0,1 0,2

    ADJ_LSM = 700 0,1 0,6

    ADJ_LSM = 700 0,2 0,6

    ADJ_LSM = 700 0,2 0,3

    ADJ_LSM = 700 0,3 0,4

    ADJ_LSM = 700 0,4 0,5

    The robot has pass-through mechanisms between 7 LSMs.

    Figure 1-2 Pass-through example

    1

    4

    0 2

    6

    35

    Interconnections for Robot 700

    API_BARCODE_RULES API_BARCODE_RULES

    This configuration entry applies only to NetBackup Enterprise Server.

  • nbu_win_print_II.book Page 32 Saturday, June 2, 2007 7:12 PM

    32 Additional configuration NetBackup configuration options

    If this entry is specified in vm.conf, barcode rule support for API robots is

    enabled.

    NetBackup barcode rules allow default media mappings to be overridden.

    Barcode rules are especially useful when multiple generations of the same tape

    drive use the same type of media.

    For example STK 9940A and STK 9940B drives use STK1R media, but write data

    at different densities. The drive must be configured using different drive types

    such as hcart or hcart2. You can specify a barcode rule for a series of barcodes to

    configure some of the media as hcart2. Other STK1R media not in this barcode

    range are configured as hcart (the default for STK1R). Without this entry, a

    robot inventory operation configures all media of type STK1R as either hcart or

    hcart2, depending on how the drive was configured.

    AUTHORIZATION_REQUIRED AUTHORIZATION_REQUIRED This entry specifies that NetBackup should use the vm.conf file SERVER entry to control which hosts can monitor and control devices on this host. This entry is read and interpreted on the media server on which the NetBackup vmd service runs.

    If this entry is specified in vm.conf, the vm.conf file also must include a SERVER entry for every media server that controls devices on this host.

    If no AUTHORIZATION_REQUIRED entry exists and no SERVER entries exist, any NetBackup server can monitor and control devices on this host.

    For maximum security, Symantec recommends that you use this entry and SERVER entries.

    This entry is read and interpreted on media servers on which the NetBackup vmd service runs.

    AUTO_PATH_CORRECTION AUTO_PATH_CORRECTION = YES|NO If this entry is specified in vm.conf, it specifies whether automatic device path remapping is enabled or disabled.

    If the value is NO, the device configuration remains unchanged when the NetBackup Device Manager service (ltid) is started. Therefore, the saved device configuration may be different than the actual configuration after you change devices and restart the server.

    If the value is YES, NetBackup tries to discover attached devices and then automatically update the device configuration for any device paths that are incorrect. On Windows computers, this entry is read and interpreted on the host

  • nbu_win_print_II.book Page 33 Saturday, June 2, 2007 7:12 PM

    33 Additional configuration NetBackup configuration options

    on which the NetBackup Device Manager service runs. On UNIX and Linux computers, this entry is read and interpreted on the host on which ltid runs. Device path remapping is enabled by default on Windows and Linux servers. It is disabled by default on all other servers.

    AUTO_UPDATE_ROBOT AUTO_UPDATE_ROBOT

    Use this entry to inject media automatically from the Media Access Port (MAP)

    into a TL8 or TLD robot and update the EMM database. Media are injected if the

    robot generates a unit attention message.

    This entry only operates with the TL8 or TLD robots that post a unit attention

    when their MAP has been opened.

    Symantec recommends that this entry not be used with partitioned libraries.

    Most robotic libraries with multiple partitions do not post a unit attention when

    the MAP has been opened.

    AVRD_PEND_DELAY AVRD_PEND_DELAY = number_of_seconds

    If this entry is specified in vm.conf, avrd waits number_of_seconds before it displays a pending status (PEND) in the Device Monitor. This entry is read and interpreted on the host on which avrd runs.

    On some server operating systems (Windows, Tru64, and HP-UX), NetBackup reports PEND if the drive reports Busy when a volume is unmounted. Use this entry to minimize the display of this misleading status.

    The minimum for number_of_seconds is zero. The maximum is 255. The default value is 180 seconds.

    AVRD_SCAN_DELAY AVRD_SCAN_DELAY = number_of_seconds

    If this entry is specified in vm.conf, avrd waits number_of_seconds between normal scan cycles. This entry is read and interpreted on the host on which avrd runs.

    Use this entry to minimize tape mount times. Without this entry, NetBackup delays mount requests by an average of 7.5 seconds.

    The minimum for number_of_seconds is 1. The maximum is 180. A value of zero is converted to 1 second. The default value is 15 seconds. If a value is used that is greater than the default, NetBackup delays mount requests and drive status updates in the Device Monitor.

  • nbu_win_print_II.book Page 34 Saturday, June 2, 2007 7:12 PM

    34 Additional configuration NetBackup configuration options

    Caution: If number_of_seconds is set to a value that allows media to be changed within one scan cycle, NetBackup may not detect media changes. Data loss may

    occur.

    CLEAN_REQUEST_TIMEOUT CLEAN_REQUEST_TIMEOUT = minutes

    Use this entry to specify how long NetBackup waits for a drive to be cleaned before it removes the cleaning request from the cleaning queue. Unprocessed requests to clean a drive are removed from the queue after 30 minutes.

    minutes can be from 1 to 144000 (100 days). The default value is 30 and a value of zero is converted to the default value of 30.

    CLIENT_PORT_WINDOW CLIENT_PORT_WINDOW = start end

    Use this entry to specify the range of non-reserved ports on this host that are used to connect to vmd on other hosts. This entry is read and interpreted on the host on which vmd runs.

    For example, the following entry permits ports from 4800 through 5000: CLIENT_PORT_WINDOW = 4800 5000

    The operating system determines the non-reserved port to use in the following cases:

    A CLIENT_PORT_WINDOW entry is not specified.

    A value of zero is specified for start.

    CLUSTER_NAME CLUSTER_NAME = cluster_alias

    This entry and the following two entries determine the name other NetBackup servers and clients should use when they refer to this server: MM_SERVER_NAME = host_name

    REQUIRED_INTERFACE = host_name

    The algorithm for determining the server name is as follows:

    Use the CLUSTER_NAME entry if present in vm.conf.

    Use the MM_SERVER_NAME entry if present in vm.conf.

    Use the REQUIRED_INTERFACE entry if present in vm.conf.

    Use the same name that NetBackup uses.

    Use the gethostname() name.

  • nbu_win_print_II.book Page 35 Saturday, June 2, 2007 7:12 PM

    35 Additional configuration NetBackup configuration options

    This entry is read and interpreted on the host on which the required interface is needed. CONNECT_OPTIONS CONNECT_OPTIONS = server_name 0 0 [0|1|2]

    Add this entry in vm.conf to specify the options that enhance firewall

    efficiency with NetBackup. Server connection options can be any of the

    following: use vnetd or the daemons port number, use only vnetd, or use only

    the daemons port number.

    CONNECT_OPTIONS entries can be specified for multiple servers.

    server_name is the name of the media server to connect to. The server must be

    at NetBackup level 4.5 or higher for vnetd to operate correctly.

    The first and second options currently are not used. Specify zero for these

    options.

    The third option specifies the connection method to use to connect to

    server_name as follows:

    A value of 0 specifies to use vnetd to connect to a daemon on the server. If vnetd is not active, connect by using the traditional port number of the daemon.

    A value of 1 specifies to use vnetd only to connect to a daemon on the server.

    A value of 2 specifies to use the traditional port number of the daemon to connect to the daemon on the server. The default value is 2.

    Examples The following entry specifies to use either vnetd or the daemons port number to connect to server shark: CONNECT_OPTIONS = shark 0 0 0

    The following entry specifies to use vnetd only to connect to server dolphin: CONNECT_OPTIONS = dolphin 0 0 1

    The following entry specifies to use the daemonss port number only to connect to server perch: CONNECT_OPTIONS = perch 0 0 2

    DAS_CLIENT DAS_CLIENT = client_name

    This configuration entry applies only to NetBackup Enterprise Server

    If this entry is specified in vm.conf, specify the DAS client name that the TLM robot uses for communications with the DAS/SDLC server. By default this client

  • nbu_win_print_II.book Page 36 Saturday, June 2, 2007 7:12 PM

    36 Additional configuration NetBackup configuration options

    name is the host name of the media server. This entry is read and interpreted on the host where tlmd is running. DAYS_TO_KEEP_LOGS DAYS_TO_KEEP_LOGS = days

    If this entry is specified in vm.conf, specify the number of days to keep debug logs before vmd deletes them. This entry is read and interpreted on the hosts where vmd is running.

    A value of zero means that the logs are not deleted. The default is zero. This entry does not impact debug logs created by Unified Logging.

    For more information about Unified Logging, see the NetBackup Troubleshooting Guide for UNIX, Windows, and Linux.

    EMM_RETRY_COUNT EMM_RETRY_COUNT = number_of_retries

    The vmd and the ltid daemons use this entry to determine how many times to retry requests to the NetBackup Enterprise Media Manager.

    Default: one retry.

    Only change the value of this vm.conf file entry when directed to do so by your NetBackup support representative. If you add this entry to the vm.conf file or change this value, you must restart the vmd and the ltid daemons / services.

    EMM_CONNECT_TIMOUT EMM_CONNECT_TIMOUT = number_of_seconds

    This value applies for broken connections between the vmd and the ltid daemons and the NetBackup Enterprise Media Manager. The vmd and the ltid daemons use this entry to determine for how long they should try to reconnect to the NetBackup Enterprise Media Manager.

    Default: 20 seconds.

    Only change the value of this vm.conf file entry when directed to do so by your NetBackup support representative. If you add this entry to the vm.conf file or change this value, you must restart the vmd and the ltid daemons / services.

    EMM_REQUEST_TIMOUT EMM_REQUEST_TIMOUT = number_of_seconds

    The vmd and the ltid daemons use this entry to determine how many seconds

    to allow a request to the NetBackup Enterprise Media Manager to complete.

    Default: 300 seconds.

  • nbu_win_print_II.book Page 37 Saturday, June 2, 2007 7:12 PM

    37 Additional configuration NetBackup configuration options

    Only change the value of this vm.conf file entry when directed to do so by your NetBackup support representative. If you add this entry to the vm.conf file or

    change this value, you must restart the vmd and the ltid daemons / services.

    ENABLE_ROBOT_AUTH NetBackup encourages the use of Symantec Product Authentication and Authorization for NetBackup Access Control (NBAC) instead of legacy security implementations.

    For information about the ENABLE_ROBOT_AUTH configuration entry, see the NetBackup 6.0 documentation. For information on Symantec Product Authentication and Authorization, see the NetBackup Security and Encryption Guide.

    INVENTORY_FILTER INVENTORY_FILTER = robot_type robot_number mode value1 [value2 ...]

    This configuration entry applies only to NetBackup Enterprise Server.

    Used to filter robot inventory results in ACS or TLH robot types. This entry must be added to the configuration file (vm.conf) on the NetBackup server on which the inventory operation is invoked. This entry is read and interpreted on the host on which vmcheckxxx and vmupdate run.

    Note: This entry may be required for an ACS robot and the ACS library software host was an STK Library Station. Newer versions of STK Library Station allow robot inventory commands to function correctly so filters are not required.

    robot_type can be ACS or TLH.

    robot_number is the number of the robot as was configured in NetBackup.

    mode is BY_ACS_POOL for ACS or BY_CATEGORY for TLH.

    See the following examples:

    INVENTORY_FILTER = ACS 0 BY_ACS_POOL 4 5

    INVENTORY_FILTER = TLH 0 BY_CATEGORY FFFA CDB0

    MAP_ID MAP_ID = robot_num map_ID

    This configuration entry applies only to NetBackup Enterprise Server.

    Use this entry to configure the default Media Access Port (MAP) to use to eject media from Automated Cartridge System (ACS) robots. This default is highlighted as a choice in the NetBackup Administration Console but you can also select other Media Access Ports for ejects.

  • nbu_win_print_II.book Page 38 Saturday, June 2, 2007 7:12 PM

    38 Additional configuration NetBackup configuration options

    If the MAP is not available or the vm.comf file does not contain this entry,

    NetBackup uses the default MAP selection process. By default, NetBackup uses

    the smallest MAP that can hold the number of media to be ejected.

    If NetBackup selects multiple MAPs, NetBackup uses the nearest-MAP

    algorithm rather than the MAP that is specified in the MAP ID entry. For more

    information, see ADJ_LSM on page 30.

    robot_num is the robot number. map_ID is in the format of an ACS CAP

    (Cartridge Access Port) ID and cannot contain any spaces.

    The following example specifies the MAP ID for ACS robot number 700. The ACS

    CAP ID of 0,1,0 is used.

    MAP_ID = 700 0,1,0

    MAP_CONTINUE_TIMEOUT MAP_CONTINUE_TIMEOUT = seconds

    This entry applies only when the vmchange command is used and the -w option is specified. The default timeout value for seconds is 300 (5 minutes). seconds cannot be zero and values greater than 1200 (20 minutes) may cause the robotic daemon to cancel the operation.

    If this entry is specified in vm.conf, the SCSI robotic daemons wait the specified number of seconds before they time out. A timeout can occur while waiting for a reply from the user to continue after removing volumes from the media access port. A timeout results in the operation being aborted.

    This entry is read and interpreted on the host on which the SCSI-controlled robotic daemon or process runs.

    Caution: Non-mount activities such as a robotic inventory can not occur during this timeout period.

    MEDIA_ID_BARCODE_CHARS MEDIA_ID_BARCODE_CHARS = robot_num barcode_length media_ID_rule

    Note: To use this entry, the robot must support barcodes and the robot type cannot be an API robots.

    If this entry is specified in vm.conf, it controls NetBackup media ID generation. This entry is read and interpreted on the host on which vmcheckxxx and vmupdate run as part of the robot inventory operation.

  • nbu_win_print_II.book Page 39 Saturday, June 2, 2007 7:12 PM

    39 Additional configuration NetBackup configuration options

    Choose how NetBackup creates media IDs by defining the rules that specify which characters of a barcode on tape NetBackup uses. Alphanumeric

    characters can be specified to be inserted in the ID.

    Multiple entries can be added to the vm.conf file. For example, specify media ID generation for each robot or for each barcode format that has different numbers of characters. The multiple entries allow flexibility for multimedia.

    If no MEDIA_ID_BARCODE_CHARS entries exist or the entry is invalid, NetBackup uses the rightmost six characters of the barcode to create its media ID.

    robot_num is the robot number.

    barcode_length is the length of the barcode.

    A media_ID_rule consists of a maximum of six fields that colons delimit. Numbers in the fields define the positions of the characters in the barcode that NetBackup extracts (from left to right). For example, 2 in a field extracts the second character from the barcode. The numbers can be specified in any order.

    If the pound sign (#) prefixes a character, that character is inserted in that position in the generated ID. Any alphanumeric characters must be valid for a media ID. Use rules to create media IDs of many different formats. However, if the generated media ID is different from the label on the media, media management may be more difficult.

    The following is an example rule and the resulting generated media ID: Barcode on the tape: 032945L1

    Media ID rule: #N:2:3:4:5:6

    Generated media ID: N32945

    Also see Media ID generation rules on page 102.

    MEDIA_ID_PREFIX MEDIA_ID_PREFIX = media_id_prefix

    If this entry is specified in vm.conf, it defines the media ID prefixes to use for media without barcodes. This entry is read and interpreted on the host where vmcheckxxx and vmupdate are running as part of the robot inventory operation.

    The best way to add media to a robot is to use the Robot Inventory Update Volume Configuration operation.

    MM_SERVER_NAME MM_SERVER_NAME = host_name

    This entry determines the name other NetBackup servers and clients should use when they refer to this server: CLUSTER_NAME = cluster_alias

  • nbu_win_print_II.book Page 40 Saturday, June 2, 2007 7:12 PM

    40 Additional configuration NetBackup configuration options

    REQUIRED_INTERFACE = host_name

    The algorithm for determining the server name is as follows: Use the CLUSTER_NAME entry if present in vm.conf.

    Use the MM_SERVER_NAME entry if present in vm.conf.

    Use the REQUIRED_INTERFACE entry if present in vm.conf.

    Use the same name that NetBackup uses.

    Use the gethostname() name. This entry is read and interpreted on the host on which the required interface is needed.

    PREFERRED_GROUP NetBackup encourages the use of Symantec Product Authentication and Authorization for NetBackup Access Control (NBAC) instead of legacy security implementations.

    For information about the PREFERRED_GROUP configuration entry, see the NetBackup 6.0 documentation. For information on Symantec Product Authentication and Authorization, see the NetBackup Security and Encryption Guide.

    PREVENT_MEDIA_REMOVAL Applies to the TL8 robots only.

    Specifying this entry changes the default operation for TL8 robots. Without this

    entry present, NetBackup allows the removal of media.

    If this entry is specified in vm.conf, TL8 robots execute the SCSI command

    PREVENT MEDIUM REMOVAL. The robot's main door or the MAP cannot be

    opened while the robotic control daemon runs.

    This entry is read and interpreted on the host on which the TL8 robot control

    daemon or process (tl8cd) runs.

    To override PREVENT_MEDIA_REMOVAL

    Do one of the following:

    Use the test utility and run allow media removal.

    Use inject or eject for access, when volumes are added or moved.

    RANDOM_PORTS RANDOM_PORTS = YES|NO

  • nbu_win_print_II.book Page 41 Saturday, June 2, 2007 7:12 PM

    41 Additional configuration NetBackup configuration options

    Use this entry to specify whether NetBackup chooses port numbers randomly or

    sequentially for communication with other NetBackup servers. This entry is

    read and interpreted on hosts on which vmd runs.

    If YES or no entry exists (the default), NetBackup chooses port numbers

    randomly from those that are available in the allowed range.

    If NO, NetBackup chooses numbers sequentially. NetBackup begins with the

    highest number in the allowed range, then tries the next highest, and so on until

    a port is available.

    If random ports are not specified in the NetBackup configuration, specify

    RANDOM_PORTS = NO in the vm.conf file.

    To specify no random ports in the NetBackup configuration file

    Do one of the following:

    Specify RANDOM_PORTS = NO in the bp.conf file on UNIX.

    Use the NetBackup Host Properties on Windows.

    REQUIRED_INTERFACE REQUIRED_INTERFACE = host_name

    This entry and the following two entries determine the name other NetBackup servers should use when they refer to this server: CLUSTER_NAME = cluster_alias

    MM_SERVER_NAME = host_name

    The algorithm for determining the server name is as follows:

    Use the CLUSTER_NAME entry if present in vm.conf.

    Use the MM_SERVER_NAME entry if present in vm.conf.

    Use the REQUIRED_INTERFACE entry if present in vm.conf.

    Use the same name that NetBackup uses.

    Use the gethostname() name. This entry is read and interpreted on the host on which the required interface is needed.

    A NetBackup server can have more than one network interface, and by default the operating system determines the one to use. To force NetBackup to connect through a specific network interface, use REQUIRED_INTERFACE and specify the network host name of that interface.

    SERVER SERVER = host_name

  • nbu_win_print_II.book Page 42 Saturday, June 2, 2007 7:12 PM

    42 Additional configuration NetBackup configuration options

    SERVER entries in the vm.conf file are used for NetBackup media server

    security. The SERVER entries work with the AUTHORIZATION_REQUIRED entry

    to control which hosts can monitor and control devices on this host.

    If the AUTHORIZATION_REQUIRED entry exists, the vm.conf file must include

    a SERVER entry for every media server that controls devices on this host. If the

    vm.conf file contains any SERVER entries, it also must include a SERVER entry

    for itself or it cannot manage its own devices.

    If no AUTHORIZATION_REQUIRED entry exists and no SERVER entries exist, any

    NetBackup server can monitor and control devices on this host.

    For security, the entries that allow only specific hosts to access the devices must

    be added remotely.

    This entry is read and interpreted on media servers on which the NetBackup

    vmd service runs.

    SSO_DA_REREGISTER_INTERVAL SSO_DA_REREGISTER_INTERVAL = minutes

    This configuration entry applies only to NetBackup Enterprise Server.

    This vm.conf entry is for the Shared Storage Option (SSO) for Tape feature only. It is read and interpreted on the host on which ltid runs.

    ltid on a scan host periodically registers its shared drives with EMM/DA to ensure that it is still provides the drive scanning function. Only one of the hosts that share a drive scan the drive. This reregistration allows conditions such as a device allocator restart to have minimal impact on use of shared drives.

    The default for the reregistration interval is 5 minutes. Use the SSO_DA_REREGISTER_INTERVAL entry to tune this interval. After the entry is added, stop and restart ltid for the change to take effect.

    SSO_DA_RETRY_TIMEOUT SSO_DA_RETRY_TIMEOUT = minutes

    This configuration entry applies only to NetBackup Enterprise Server.

    This vm.conf entry is for the Shared Storage Option (SSO) for Tape feature only. It is read and interpreted on the host on which ltid runs.

    If ltid encounters problems during communications with EMM/DA or a failure while trying to reserve a shared drive, ltid delays before trying again.

    The default value for the delay is 3 minutes. Use the SSO_DA_RETRY_TIMEOUT entry to tune this delay period. After the entry is added, stop and restart ltid for the change to take effect.

  • nbu_win_print_II.book Page 43 Saturday, June 2, 2007 7:12 PM

    43 Additional configuration NetBackup configuration options

    SSO_HOST_NAME SSO_HOST_NAME = host_name

    This configuration entry applies only to NetBackup Enterprise Server.

    This vm.conf entry is for the Shared Storage Option (SSO) for Tape feature only. It is read and interpreted on the host on which ltid runs.

    This entry specifies the name that the current host uses to register, reserve, and

    release shared drives with EMM/DA. The default is the local host name.

    TLH_mediatype TLH_mediatype = Media_Manager_mediatype

    This configuration entry applies only to NetBackup Enterprise Server.

    If this entry is specified in vm.conf, IBM ATL media types in Tape Library Half-inch (TLH) robots are mapped to Media Manager media types. This entry is read and interpreted on the host where vmcheckxxx and vmupdate are running as part of the robot inventory operation.

    TLM_mediatype TLM_mediatype = Media_Manager_mediatype

    This configuration entry applies only to NetBackup Enterprise Server.

    If this entry is specified in vm.conf, DAS/SDLC media types in Tape Library Multimedia (TLM) robots are mapped to Media Manager media types. This entry is read and interpreted on the host where vmcheckxxx and vmupdate are running as part of the robot inventory operation.

    VERBOSE If this entry is specified in vm.conf, all Media Manager components on the host

    are started with verbose logging enabled.

    Use this option only if problems occur or if requested by Symantec support.

    After the problem is resolved, remove the debug logs or add a

    DAYS_TO_KEEP_LOGS entry.

    Example vm.conf file The following is an example of a vm.conf file, on host server1: SERVER = server1 SERVER = server2 MEDIA_ID_PREFIX = NV MEDIA_ID_PREFIX = NETB ACS_3490E = HCART2

  • nbu_win_print_II.book Page 44 Saturday, June 2, 2007 7:12 PM

    44 Additional configuration Direct I/O for backups

    Direct I/O for backups

    By default, the buffer size for disk storage units is 256K. If the buffer size is set to a value greater than 256K, backups written to that storage unit automatically use direct I/O. An increased buffer size can improve backup speed.

    To increase the buffer size, the following conditions must be met:

    The storage unit must be owned by a Windows media server.

    The storage unit must be either a Basic Disk or an Array Disk storage unit.

    The backup to be stored cannot be multiplexed.

    The touch file that disables direct I/O must not be present (install_path\VERITAS\NetBackup\bin\DISABLE_DIRECT_IO).

    To increase the buffer size, create one of the following touch files on the media server that owns the storage unit:

    For backups to disk: install_path\VERITAS\NetBackup\db\config\

    SIZE_DATA_BUFFERS_DISK

    For backups to disk or tape: install_path\VERITAS\NetBackup\db\config\

    SIZE_DATA_BUFFERS

    If both touch files are present, SIZE_DATA_BUFFERS_DISK overrides the value in SIZE_DATA_BUFFERS. At this time, Symantec recommends using SIZE_DATA_BUFFERS_DISK.

    Possible values to include in SIZE_DATA_BUFFERS_DISK or SIZE_DATA_BUFFERS include the following:

    Table 1-1 Absolute byte values for SIZE_DATA_BUFFERS_DISK, SIZE_DATA_BUFFERS

    For a data buffer of this size (kilobytes), enter this touch file value

    32 32768

    64 65536

    96 98304

    128 131072

    160 163840

    192 196608

    224 229376

  • nbu_win_print_II.book Page 45 Saturday, June 2, 2007 7:12 PM

    45 Additional configuration Dynamic host name and IP addressing

    Table 1-1 Absolute byte values for SIZE_DATA_BUFFERS_DISK, SIZE_DATA_BUFFERS

    Disab

    Dyn256 262144

    For a data buffer of this size (kilobytes), enter this touch file value

    Data buffer sizes continue in multiples of 32. Multiply the buffer size by 1024 for the touch file value.

    A direct I/O backup triggers the following message: Enabling direct I/O. Buffer size: .

    ling direct I/O To disable direct I/O, create the following touch file on the media server that owns the storage unit:

    install_path\VERITAS\NetBackup\bin\DISABLE_DIRECT_IO

    amic host name and IP addressing By default, a NetBackup server assumes that a NetBackup client name is the same as the network host name of the client machine. This assumption makes it difficult to back up any clients that have network host names that might change. For example, a portable machine that plugs into a LAN and obtains IP addresses from a DHCP server. Or, a remote machine that dials into a PPP server. NetBackup dynamic host name and IP addressing allows you to define NetBackup clients that do not have fixed IP addresses and host names.

    Note: If you use dynamic addressing, remember that the NetBackup servers still require fixed IP addresses and host names.

    Note: All clients configured to use dynamic addressing and host names must trust each other, similar to the NetBackup altnames feature.

    The following steps are required to support the configurations that use dynamic IP addressing for NetBackup. Before you make changes to a configuration, read this entire section.

    1 Configure your network to use a dynamic IP addressing protocol like DHCP.

    NetBackup requires that IP addresses of clients have a network host name. Be sure to define network host names for the range of dynamic IP addresses in the hosts file and (or) DNS on your network.

  • nbu_win_print_II.book Page 46 Saturday, June 2, 2007 7:12 PM

    46 Additional configuration Dynamic host name and IP addressing

    2 Determine the NetBackup client names for the machines that have dynamic IP addresses and network host names.

    SettiThese NetBackup client names are used in step 3 and step 6. Each NetBackup client must have a unique NetBackup client name. The NetBackup client name that is assigned to a client is permanentdo not change it.

    3 Make changes on the master server:

    a Create NetBackup policies with client lists that include the names from step 2.

    b Create entries in the NetBackup client database for the client names from step 2.

    Create the entries by using the bpclient command.

    4 Make changes on each dynamic NetBackup Windows client:

    Start the Backup, Archive, and Restore user interface on the client. Select File &