Transcript
Quest® NetVault® Backup version 9.2
Installation Guide Version: Product Number: NVG-105-9.2-EN-01
NVG-105-9.2-EN-01 08/27/13
© 2013 Quest Software, Inc. ALL RIGHTS RESERVED. This guide contains proprietary information protected by copyright. The software described in this guide is furnished under a software license or nondisclosure agreement. This software may be used or copied only in accordance with the terms of the applicable agreement. No part of this guide may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying and recording for any purpose other than the purchaser's personal use without the written permission of Quest Software, Inc. The information in this document is provided in connection with Quest products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Quest products. EXCEPT AS SET FORTH IN QUEST'S TERMS AND CONDITIONS AS SPECIFIED IN THE LICENSE AGREEMENT FOR THIS PRODUCT, QUEST ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL QUEST BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF QUEST HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Quest makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Quest does not make any commitment to update the information contained in this document. If you have any questions regarding your potential use of this material, contact: Quest Software World Headquarters LEGAL Dept 5 Polaris Way Aliso Viejo, CA 92656 email:
[email protected] Refer to our Web site (www.quest.com) for regional and international office information. Patents This product is protected by U.S. Patents # 7,814,260; 7,913,043; 7,979,650; 8,086,782; 8,145,864; 8,171,247; 8,255,654; and 8,271,755. Protected by Japanese, E.U., French and UK patents 1615131 and 05250687.0, and German patent DE602004002858. Additional patents pending. Trademarks Quest, Quest Software, the Quest Software logo, Simplicity at Work, FlashRestore, GigaOS, and NetVault are trademarks and registered trademarks of Quest Software, Inc., and its subsidiaries. For a complete list of Quest Software's trademarks, please see http://www.quest.com/legal/trademarks.aspx. Other trademarks and registered trademarks are property of their respective owners.
Table of Contents Chapter 1: Introducing Quest NetVault Backup • • • • • • •
7
Quest NetVault Backup – At a Glance ............................................................................ 7 Key Benefits ...................................................................................................................... 7 Feature Summary ............................................................................................................. 8 About this Document ....................................................................................................... 9 Target Audience ................................................................................................................ 9 Recommended Additional Reading ................................................................................ 9 About Quest Software .................................................................................................... 10
Chapter 2: Deploying NVBU
13
• NVBU Deployment Overview ......................................................................................... 13 • NVBU Components ......................................................................................................... 14 -
NVBU Server ................................................................................................................................. 14 NVBU Clients ................................................................................................................................. 14 NVBU SmartClients ....................................................................................................................... 16 NVBU Disk-Based Backup Options ............................................................................................... 16 Quest NetVault Backup Plug-in for NDMP ..................................................................................... 17 NetVault Backup Plug-ins for Database Servers and Mail Servers ............................................... 18 Virtualization Plug-ins .................................................................................................................... 18
Chapter 3: Reviewing Installation Requirements
19
• Planning New Installations ............................................................................................ 20 - Determining NVBU Server and Client Machines ........................................................................... 20 - Determining the NetVault Database Location ................................................................................ 20 - Determining the NVBU Name and Password ................................................................................ 22
• Prerequisites ................................................................................................................... 23 - General Requirements ................................................................................................................... 23 - Platform-Specific Requirements .................................................................................................... 25
4
Table of Contents
Chapter 4: Installing the NVBU Server Software
31
• • • • •
Installing the NVBU Server on AIX ................................................................................32 Installing the NVBU Server on HP-UX Itanium ..............................................................32 Installing the NVBU Server on Linux x86/x86-64 ..........................................................33 Installing the NVBU Server on Linux Itanium ...............................................................34 Installing the NVBU Server on Mac OS X ......................................................................35
• • • • •
Installing the NVBU Server on MP-RAS ........................................................................39 Installing the NVBU Server on Solaris x86/x86-64 .......................................................40 Installing the NVBU Server on Solaris (SPARC) ...........................................................40 Installing the NVBU Server on Windows .......................................................................41 Platform-Specific Post-Installation Requirements .......................................................42
- Installing from a Terminal Window on Mac OS X .......................................................................... 38
-
Debian and Ubuntu ........................................................................................................................ 42 Oracle Linux 6.x x86-32 ................................................................................................................. 42 RHEL 6 x86-32 .............................................................................................................................. 42 RHEL 6 x86-64 .............................................................................................................................. 42 Solaris 10 (SPARC/x86-64) ........................................................................................................... 43 SUSE Linux Enterprise Server (SLES) .......................................................................................... 44 Ubuntu 12.x (64-bit) ....................................................................................................................... 44 UNIX-based Environments Using UTF-8 Character Encoding ...................................................... 44 Additional Requirements on Linux-Based Systems ....................................................................... 44 Windows ........................................................................................................................................ 46
• Installation Procedure for Linux/UNIX-Based Systems ...............................................47 • Installation Procedure for Windows-Based Systems ..................................................50
Chapter 5: Installing the NVBU Client Software • • • • • •
57
Installing the NVBU Client on AIX ..................................................................................57 Installing the NVBU Client on FreeBSD ........................................................................58 Installing the NVBU Client on HP-UX Itanium ...............................................................59 Installing the NVBU Client on Linux x86/x86-64 ...........................................................59 Installing the NVBU Client on Linux Itanium ................................................................60 Installing the NVBU Client on Mac OS X .......................................................................61 - Installing from a Terminal Window on Mac OS X .......................................................................... 62
• Installing the NVBU Client on MP-RAS .........................................................................63 • Installing the NVBU Client on Solaris x86/x86-64 ........................................................64 • Installing the NVBU Client on Solaris (SPARC) ............................................................64
Quest NetVault Backup Installation Guide
5
• Installing the NVBU Client on Windows ....................................................................... 65 • Platform-Specific Post-Installation Requirements ....................................................... 66 -
Debian 3.1 ...................................................................................................................................... 66 Debian 4.0 ...................................................................................................................................... 66 Ubuntu ........................................................................................................................................... 66 Solaris x86-x86-64 ......................................................................................................................... 67 Windows ........................................................................................................................................ 67
• Additional Notes ............................................................................................................. 67
Chapter 6: Installing the NVBU Console
69
• NVBU Console – An Overview ....................................................................................... 69 • Installing the NVBU Console on Linux ......................................................................... 69 • Installing the NVBU Console on Windows ................................................................... 71
Chapter 7: Performing Unattended Installations
75
• Performing Unattended Installations on Windows ...................................................... 75 - msiexec .......................................................................................................................................... 75 - Installation Procedure .................................................................................................................... 77 - Examples ....................................................................................................................................... 77
• Performing Unattended Installations on Linux/UNIX .................................................. 78 - Linux Common Installer ................................................................................................................. 78 - Installation Procedure .................................................................................................................... 79 - Examples ....................................................................................................................................... 79
• Performing Unattended Installations on Solaris and MP-RAS ................................... 80 -
pkgask ............................................................................................................................................ 80 pkgadd ........................................................................................................................................... 81 Installation Procedure .................................................................................................................... 81 Examples ....................................................................................................................................... 82
Chapter 8: Upgrading NVBU
85
• NVBU Upgrade Considerations ..................................................................................... 85 • Preparing for an Upgrade .............................................................................................. 86 - Backing up the Existing NVDB ....................................................................................................... 86 - Stopping NVBU Processes ............................................................................................................ 86 - Disabling Anti-Virus Software ........................................................................................................ 86
• Upgrading NVBU on Linux/UNIX ................................................................................... 86
6
Table of Contents
• • • •
Upgrading NVBU on Mac OS X ......................................................................................88 Upgrading NVBU on Solaris and MP-RAS ....................................................................88 Upgrading NVBU on Windows .......................................................................................89 Post-Upgrade Procedures ..............................................................................................90 - Rebooting the System After an Upgrade ....................................................................................... 90 - Post-Upgrade Requirements for Plug-in for FileSystem ................................................................ 90
• Known Upgrade Issues ...................................................................................................90 • Installing NetVault Backup Plug-ins ..............................................................................91
Chapter 9: Licensing NVBU
93
• Licensing NVBU ..............................................................................................................93 -
Locating NVBU Server Machine ID ................................................................................................ 93 Locating NVBU Client Machine IDs ............................................................................................... 93 Obtaining Permanent License Keys ............................................................................................... 94 Installing License Keys .................................................................................................................. 94
Chapter 10: Removing NVBU • • • •
95
Removing NVBU from Linux/UNIX .................................................................................95 Removing NVBU from Mac OS X ...................................................................................95 Removing NVBU from Solaris (SPARC/x86/x86-64) and MP-RAS ..............................96 Removing NVBU from Windows ....................................................................................96 - Editing the Windows Registry ........................................................................................................ 96
Quest NetVault Backup Installation Guide
7
Chapter 1:
INTRODUCING QUEST NETVAULT BACKUP
1.1.0
Quest NetVault Backup – At a Glance
Key Benefits
Feature Summary
About this Document
Target Audience
Recommended Additional Reading
About Quest Software
Quest NetVault Backup – At a Glance Quest NetVault Backup (NetVault Backup or NVBU) offers the most advanced, cross-platform data protection capabilities on the market as well as unsurpassed ease of use, out-of-the-box deployment, and pain-free scalability. NetVault Backup allows you to safeguard your data and applications in both physical and virtual environments using one intuitive console. And thanks to heterogeneous server support and extensive application support you can leverage your existing investments in data protection. NetVault Backup supports simple integration with a variety of other NetVault products and seamless installation of a host of plug-ins that let you tailor NetVault Backup to match the changing – and growing – landscape of your IT infrastructure, including operating systems, messaging applications, and databases.
1.2.0
Key Benefits
Simple, out-of-the-box deployment for fast time to value
Protection for both physical and virtual environments for cost savings
Heterogeneous server support for flexibility to adjust to changing conditions or emergencies
Plug-in options to tailor NetVault Backup to your environment
Disk-based backup and de-duplication to significantly improve storage efficiency
Comprehensive Network Attached Storage (NAS) protection to safeguard critical data
8
Chapter 1 Introducing Quest NetVault Backup
1.3.0
Powerful, flexible encryption when and where you need it
Bare metal recovery to drastically reduce the time it takes to recover a failed disk drive
Extensive storage attachment options allow for distributed backup targets and workload
Dynamic device sharing to optimize backup data transfers and reduce points of failure
Feature Summary
Disk-Based Backup and Deduplication – Leverage disk-based and tape backups for creating on-site and off-site backups for failover and disaster recovery. You can also add Quest NetVault SmartDisk (NetVault SmartDisk or NVSD) to the backup solution for post-process data deduplication. NVSD uses patented byte-level, variable block data analysis technology to reduce data storage footprints by up to 90%.
Virtualization Support – Extend advanced data protection to VMware and Hyper-V environments. A NetVault Backup plug-in gives you consistent, reliable, point-and-click backup and restore for virtual environments without requiring you to be an expert.
Application Protection – Ensure availability of business-critical applications such as Oracle, SQL Server, Exchange, SharePoint, MySQL, PostgreSQL, Domino, Informix, and Sybase with application plug-ins. These plug-ins complement native solutions to save you time on integration – no scripting is required to run backup and recovery jobs.
Network Attached Storage Protection – Safeguard NAS data directly on a locally attached SCSI device, a SAN-attached device (tape or VTL) or a storage device elsewhere on the network.
Enterprise-Wide Control – Give backup administrators the flexibility to define, manage and monitor jobs from remote locations of their choice. NetVault Backup’s automated features for global event notification and policybased job management simplify their tasks across heterogeneous storage networks.
Strong Security – Meet regulatory requirements without sacrificing backup windows or deduplication performance with an encryption plug-in for CAST-128, AES-256, or CAST-256 algorithm support. Flexible job-level encryption lets you easily select which data to encrypt.
Flexible Storage Attachment – Attach storage wherever you like with the built-in NetVault Backup SmartClient. It allows you to easily distribute both real and virtual backup target workloads throughout the backup domain.
Quest NetVault Backup Installation Guide
1.4.0
9
Dynamically Shared Device – Share stand-alone and library-based tape drives among backup servers and SmartClients in SAN or shared-SCSI environments. This allows you to optimize workloads and maximize your equipment investments.
LAN-Free Backups – Create a LAN-free backup environment to support writing backup data directly to locally and SAN-attached storage devices. This keeps backup traffic away from the LAN and eliminates network bandwidth constraints.
Simple, Straightforward Licensing – NetVault Backup can be licensed by capacity or by component, giving you incredible flexibility. With componentbased licensing, you can pick and choose which modules you need. You can deploy an unlimited number of clients or application plug-ins. Quest offers two capacity-based licensing editions for NetVault Backup, one offering great value for growing businesses and one offering comprehensive protection for larger enterprises.
About this Document This guide provides information and instructions on installing the NetVault Backup Server and Client software. It does not provide information on the NetVault Backup features and functionality. For information about using NetVault Backup, refer to the Quest NetVault Backup Administrator’s Guide. Important: NVBU configuration settings are stored in “.cfg” files that reside in the
\config directory. The settings in these files should only be modified under the guidance of Quest Support. Be aware that any incorrect changes to these files can cause errors and other unexpected behavior. Before you modify a configuration file, it is good practice to create a backup copy of the file.
1.5.0
Target Audience This guide is intended for Backup Administrators and other technical personnel who are responsible for designing and implementing a backup strategy for the organization. A good understanding of the operating systems under which the NVBU Server and Clients are running is assumed.
1.6.0
Recommended Additional Reading
Quest NetVault Backup Administrator’s Guide – This guide provides information on using NetVault Backup to protect your data.
Quest NetVault Backup Configuration Guide – This guide provides information on configuring the default settings for NetVault Backup.
10
Chapter 1 Introducing Quest NetVault Backup
Quest NetVault Backup Command Line Interface Reference Guide – This guide provides information on using the NetVault Backup command line utilities.
Quest NetVault Backup Workstation Client Administrator’s Guide – This guide provides information on administering the NetVault Backup Workstation Client software.
Quest NetVault Backup Workstation Client User’s Guide – This guide provides information on using the NetVault Backup Workstation Client software.
NetVault Backup Compatibility Matrices – These matrices provide information on the supported Operating System versions, devices, and application versions.
You can download these guides from the Quest website at the following address: https://support.quest.com/Search/SearchDownloads.aspx
1.7.0
About Quest Software Established in 1987, Quest Software (Nasdaq: QSFT) provides simple and innovative IT management solutions that enable more than 100,000 global customers to save time and money across physical and virtual environments. Quest products solve complex IT challenges ranging from database management, data protection, identity and access management, monitoring, user workspace management to Windows management. For more information, visit www.quest.com.
Contacting Quest Software Email:
[email protected]
Mail:
Quest Software, Inc. World Headquarters 5 Polaris Way Aliso Viejo, CA 92656 USA
Web site:
www.quest.com
For regional and international office information, refer to the web site.
Quest Support Quest Support is available to customers who have a trial version of a Quest product or who have purchased a Quest product and have a valid maintenance contract. Quest Support provides unlimited 24x7 access to our Support Portal at www.quest.com/support.
Quest NetVault Backup Installation Guide
11
From our Support Portal, you can do the following:
Retrieve thousands of solutions from our Knowledge Base
Download the latest releases and service packs
Create, update and review Support cases
View the Global Support Guide for a detailed explanation of support programs, online services, contact information, policies and procedures. The guide is available at www.quest.com/support. This guide is available in English only.
12
Chapter 1 Introducing Quest NetVault Backup
Quest NetVault Backup Installation Guide
13
Chapter 2:
DEPLOYING NVBU
2.1.0
NVBU Deployment Overview
NVBU Components
NVBU Server
NVBU Clients
NVBU Heterogeneous Clients
NVBU Workstation Clients
NVBU SmartClients
NVBU Disk-Based Backup Options
Quest NetVault SmartDisk
NVBU Virtual Tape Library
Quest NetVault Backup Plug-in for NDMP
NetVault Backup Plug-ins for Database Servers and Mail Servers
Virtualization Plug-ins
NVBU Deployment Overview NVBU is designed to work in an environment in which one machine is configured as NVBU Server and various other machines throughout the network act as NVBU Clients assigned to it. The NVBU Server is deployed first, followed by the individual clients. This arrangement of a single NVBU Server and its associated Clients constitutes an NVBU Domain. The following diagram depicts an NVBU deployment.
Chapter 2 Deploying NVBU NetVault Backup Server Software Li
br
ar
y
NetVault Backup Server
tu
al
Ta p
e
NetVault Backup Plug-in NetVault Backup Client Software with SmartClient License
N
ir
A W
Figure 2-1: NVBU deployment overview
V
14
e
Ta p
D
e
ev
D
ic
e
ev
i
NetVault Backup Client Software
er
ve
r
Ta p
NetVault Backup Virtualization Plug-in
S
NetVault Backup Server
k C st lie at nt ion
r/ e ib F
2.2.1
C
ks or W
2.2.0
lie tat nt ion
N S et m Va ar u tD lt is k
M Vir ac tu hi al ne s
V
M
w S are er ve vC r en
te
r
IS
C
S
I
E
xc
W
or
S ha er n ve ge r
N
V
D
B
U
at
C
on
S ab er a ve se r
so
le
W
or
ks
N
ta
ti
et
w
on
or
S kA to t ra ta ge ch e
d
W
NA
or k C st lie at nt ion
N
L
A
N
S et m Va ar u tD lt is k
F
ile
S
NetVault Backup Plug-in for NDMP
NVBU Components NVBU Server The NVBU Server is the main component of the NVBU solution. It provides various backup management functionality, including job management, media management, device management, client management, reporting, notifications, and logging functions. The NVBU Server maintains a history of backups in the NetVault Backup Database (NVDB), enabling users to quickly identify the individual or multiple objects they want to restore. NVSD Instances and physical or virtual tape libraries can be attached directly to the NVBU Server. The NVBU Server software is installed on each machine designated as an NVBU Server.
2.2.2
NVBU Clients NVBU Clients are the machines that will be protected by NVBU. The NVBU Client software is installed on each machine designated as an NVBU Client. The NVBU Clients can be classified as Heterogeneous Clients and Workstation Clients.
Quest NetVault Backup Installation Guide
2.2.2.a
15
NVBU Heterogeneous Clients NVBU Heterogeneous Clients are used to protect any server, such as File Servers, Database Servers, Email Servers, Application Servers, or Web Servers, which may be running on Windows, Linux, Solaris, Mac OS X, HP-UX, AIX, or FreeBSD, and typically administered by the IT department. The NVBU Heterogeneous Client includes the following plug-ins:
Quest NetVault Backup Plug-in for FileSystem (Plug-in for FileSystem)
Quest NetVault Backup Plug-in for Consolidation (Plug-in for Consolidation)
Quest NetVault Backup Plug-in for Data Copy (Plug-in for Data Copy)
Quest NetVault Backup Plug-in for Databases (Plug-in for Databases)
Quest NetVault Backup Plug-in for Raw Devices (Plug-in for Raw Devices)
Additional characteristics of the NVBU Heterogeneous Client include the following:
Supports NetVault Backup Plug-ins for Database Servers, Mail Servers, Encryption and Virtualization, and Quest NetVault Bare Metal Recovery
Supports locally attached backup devices with NVBU SmartClient license
Supported by all NVBU Server Editions except for the Workstation and Single Server Edition
Requires continuous connectivity to NVBU Server for all backups
The Plug-in for FileSystem enables administrators to create multiple backup jobs that protect any or all of the file system data that is visible to the plug-in
All backup jobs are visible in the NVBU Jobs window
NVBU Administrator must perform all restores from the NVBU Console
A Heterogeneous Client can be used to protect workstations. However, the NetVault Backup Workstation Client (NVWC) is better suited for protecting intellectual property stored in documents and datafiles on desktops and laptops used by employees as their everyday workstation.
2.2.2.b
NVBU Workstation Clients NVWC is designed specifically to protect intellectual property stored in documents, spreadsheets, and other datafiles located on desktops and laptops used by employees as their everyday workstation. Additional characteristics of the NVBU Workstation Client include the following:
No support for NetVault Backup Plug-ins or Quest NetVault Bare Metal Recovery
No support for locally attached backup devices or NVBU SmartClient licenses
Supported by all NVBU Server Editions except the Single Server Edition
Only requires connectivity to NVBU Server to optionally protect the Workstation Client Shadow Area for long-term retention or disaster recovery
16
Chapter 2 Deploying NVBU
Only protects file system data stored in the NVWC Shadow Area
For more information about the NVWC, refer to the Quest NetVault Backup Workstation Client Administrator's Guide.
2.2.3
NVBU SmartClients NVBU SmartClients give you the freedom to attach storage wherever you like. Both virtual and physical tape libraries can be easily distributed throughout the backup environment. Backup data no longer needs to pass over the network and through an NVBU Server to be written to a tape-based device. An NVBU SmartClient license is required for each Heterogeneous Client that will have locally attached physical or virtual tape devices. A SmartClient license is not required for NVSD Devices.
Figure 2-2: NVBU Heterogeneous Clients and SmartClients
2.2.4
NVBU Disk-Based Backup Options NVBU provides multiple options for disk-based backups, including NVSD and NVBU VTL. With disk-based backup, restore times are dramatically improved because the data is retrieved from random access storage without the need to find and mount the backup tapes, and then move to the correct tape position. The vast majority of restores are requested in the first 14–30 days after backup. With disk-based backups, you will minimize downtime with shorter Recovery Time Objectives (RTO) and you will be free to focus on other critical tasks.
2.2.4.a
Quest NetVault SmartDisk NVSD’s disk-based backup and data deduplication option reduces storage costs with its powerful byte-level variable block-based software deduplication which packs up to 12 times more protected data into the same storage area for a 92% reduction in storage footprint. Hardware costs are reduced by using existing storage infrastructure instead of obtaining specific drives or appliances. NVSD shrinks backup windows with its post-process deduplication option which can be
Quest NetVault Backup Installation Guide
17
scheduled outside the backup window. Additionally, administrators have increased choice, including the ability to copy or move data between NVSD Instances to VTL or tape-based devices to place redundant backups at offsite locations for failover and disaster recovery purposes. NVSD is installed and licensed separately from NVBU. For more information about the NVSD, refer to the Quest NetVault SmartDisk Installation Guide and Quest NetVault SmartDisk Administrator’s Guide.
2.2.4.b
NVBU Virtual Tape Library NVBU’s embedded software-based VTL is a user configured tape library on a disk subsystem that emulates a physical tape library. VTL is included as an NVBU licensable option. When creating a VTL, you can select any arbitrary number of virtual tape drives and slots, and specify the size of each tape.
Figure 2-3: NVBU VTL
2.2.5
Quest NetVault Backup Plug-in for NDMP Quest NetVault Backup Plug-in for NDMP (Plug-in for NDMP) protects your NAS devices using the Network Data Management Protocol (NDMP) which is designed to efficiently transfer large blocks of data directly to a locally attached SCSI device, a SAN-attached storage device or to a storage device elsewhere on the network. The Plug-in for NDMP offers advanced NDMP features such as Browsable Volume and Direct Access Restore (DAR) support, which increases restore speeds with fast positioning to the right section of the tape.
18
Chapter 2 Deploying NVBU
2.2.6
NetVault Backup Plug-ins for Database Servers and Mail Servers The NetVault Backup Plug-ins for Database Servers and Mail Servers allow you to ensure continuous availability of business-critical applications such as Oracle, SQL Server, Exchange, SharePoint, MySQL, PostgreSQL, Lotus Domino, Informix, and Sybase without requiring you to be an expert. The NetVault Backup Plug-ins improve native options offered by these applications to reduce timeconsuming integration efforts. With these improvements, you protect your application investments and help close the gap between corporate application recovery and database protection requirements.
2.2.7
Virtualization Plug-ins NVBU enhances efficiency by consolidating virtual machine protection to give you a simple centralized, backup and recovery of virtual and physical environments for both VMware and Hyper-V. Easy to deploy and use, the virtualization plug-ins reduce complexity by enabling consistent, reliable point-and-click backup and restore activities without requiring you to be an expert.
Quest NetVault Backup Installation Guide
19
Chapter 3:
REVIEWING INSTALLATION REQUIREMENTS
Planning New Installations
Determining NVBU Server and Client Machines
NVBU Installation Directory
Determining the NetVault Database Location
NetVault Database Subdirectories
NetVault Database Size Calculation
Example
NVDB Index File Size Limitations
Determining the NVBU Name and Password
Prerequisites
General Requirements
Platform-Specific Requirements
Asian Linux 3 (64-bit)
CentOS 5.x
Debian 4.0 (64-bit)
FreeBSD 7 (32-bit)
FreeBSD 8.x and 9.x (32/64-bit)
Linux/Unix
RHEL 4 Itanium
RHEL 5.x
RHEL 6 x86-64
Solaris 11 (SPARC/x86-64)
Ubuntu 10.x, 11.x, and 12.x
Windows
20
Chapter 3 Reviewing Installation Requirements
3.1.0 3.1.1
Planning New Installations Determining NVBU Server and Client Machines NVBU Deployment involves installing an NVBU Server and any number of NVBU Clients. The NVBU Server is deployed first, followed by the individual clients. The first step in the operation is, therefore, to determine which machine will serve as the NVBU Server, and which machines will be the NVBU Clients.
NVBU Server – This machine will host the server version of NVBU. It will be accessed to manage all NVBU operations, and administer backup and recovery operations for the NVBU Clients. An NVBU Server can also act as a Client to itself for backups and restores of its local data.
3.1.1.a
NVBU Client(s) – These machines will host the client version of NVBU, and serve as the backup and restore targets.
NVBU Installation Directory NVBU must reside on a local disk. If the software is installed on a network share or a mount point, and that is lost, it would cause NVBU to stop or malfunction. On Linux/UNIX, if you select a mount point for installing NVBU, the installation will fail because the installation script will try to delete the existing contents on the mount point, which is not allowed in Linux/UNIX.
3.1.2
Determining the NetVault Database Location The next step is to select a directory on a drive or volume with enough free space to store NVBU and its database. A typical NVBU Server installation requires about 60MB of free disk space. However, the NetVault Database (NVDB) keeps growing as backups, restores and report generation activities are performed in NVBU. This requirement must be taken into consideration while selecting a drive or volume for the NVDB. NVBU operations can halt if the database cannot be updated due to space limitations. Important: The NVDB cannot reside on a network mount point (for example, Network Share, Mapped Drive, NFS, or JFS mounted device). For installing the NVDB, you must select a directory on a locally attached drive or volume.
3.1.2.a
NetVault Database Subdirectories When the NVBU Server software is installed, the installation includes an NVDB directory (db or nvdb) which contains four sub-directories:
install – Very small directory. Contains the modules binary file which includes the list of modules installed.
Quest NetVault Backup Installation Guide
3.1.2.b
21
bkl – Very small directory. Contains the license key files for NVBU and the plug-ins.
MediaDatabase – This directory grows to be rather large as you use NVBU. It stores the media and backup records.
ScheduleDatabase – Small directory generally less than 10MB in size. Stores the backup and restore job records.
NetVault Database Size Calculation The only portion of the database for which size requirements are an issue is the MediaDatabase. The NVBU Administrator must estimate the anticipated size of the database to allocate adequate disk space for growth. To calculate these requirements, the following details are necessary:
Approximate Number of Files and Directories to be Backed Up on the NVBU Server and Clients – Each file or directory that is included in a backup requires an average number of bytes for an index entry in the NVDB. This average is based on a formula of 71 bytes plus the average number of characters contained in the file names of the files that make up a target file system.
Number of Generations of Each File to be Kept – Each generation is a separate instance of a file or directory backup. For example, if the same file is backed up seven times using the default backup settings, there are seven generations of the file stored on the media and indexed in the NVDB. By default, backups have an infinite life. Most systems cannot handle this amount of storage requirement, so the NVBU Administrator must ensure that a suitable Backup Life is set for each backup. This parameter is available on the Advanced Options tab of the NVBU Backup window. For more information about this option, refer to the Quest NetVault Backup Administrator’s Guide.
Database Size Calculation Formula Approximate Multiplied Approximate Multiplied Number of Multiplied (71 bytes + number of files by number of by machines by average and directories generations backed up filename backed up per to be kept length) machine using Backup Life options
3.1.2.c
Example With an average file or directory name of eight characters for a target file system, if 200,000 files and 15,000 directories are backed up once, approximately 17.5MB will be required for NVDB indexing. If the same files and directories are backed up three times, 52.5MB will be required. If backed up 5 times, 87.5MB will be required, and so on.
22
Chapter 3 Reviewing Installation Requirements
3.1.2.d
NVDB Index File Size Limitations NVBU generates a single NVDB index entry for each backup job. NVBU versions prior to 8.6 supported a maximum index size of 4GB. Starting with 8.6, NVBU does not impose any file size restriction on the backup index files, and supports index files that are larger than 4GB in size. Moreover, NVBU does not impose any restrictions on the number of objects that are included in a backup job.
Compatibility Issues
3.1.3
NVBU versions prior to 8.6 use a different file format for the backup indexes. The backup index files generated with NVBU 8.6 and later cannot be opened by versions prior to 8.6.
The index files generated with a version prior to 8.6 will not be upgraded automatically.
To benefit from the larger index file size, the Incremental and Differential Backup jobs must be re-run on clients that support the new index file format. Otherwise, the index size will be restricted to 4GB for these jobs.
If a client that supports the old index format performs an Incremental Backup, and then a server that supports the new format runs a backup consolidation job, the resultant backup index from the consolidate job will still use the old index format.
Determining the NVBU Name and Password When installing the NVBU Server and Client software, you need to assign an NVBU Name to the machine. This name is used to identify the machine in an NVBU Domain. Therefore, each NVBU system must have a unique name. The default NVBU name is the same as the operating system name of the machine. You can also set a password for the NVBU machines to prevent unauthorized access and limit access to the NVBU machines. Note: Whenever possible, do not use the machine’s O/S-tied name for the NVBU Server. Assign a name that indicates that the machine is the NVBU Server. This is recommended in case it is ever necessary to relocate the NVBU Server to a different machine (for example, because of hardware failure). While relocating an NVBU Server, a backup of the NetVault Database (NVDB) will be required. The NVDB is integral to NVBU operations and is tied to the NVBU Server through its NVBU Machine Name. If relocating, a fresh installation of the Server version of NVBU would be required on the new machine, followed by a restore of the NVDB backup to this new machine. For more information about the NVDB relocation, refer to the Quest NetVault Backup Administrator’s Guide.
Quest NetVault Backup Installation Guide
23
Review the following table before you assign an NVBU name or password. Properties
NVBU Machine Name
NVBU Password
Maximum Length The NVBU Name for a Server or Client can contain a maximum of 63 characters. The NVBU Service will not start if the name is longer than 63 characters.
NVBU password can contain a maximum of 100 characters
Valid Characters
The password can contain any character except the following:
Use only the following characters in a name:
A–Z (Uppercase Letters)
a–z (Lowercase Letters)
0–9 (Numbers)
<>|
Some features may not function properly if the NVBU machine name includes the following characters:
3.2.0
Non-Alpha-Numeric Characters !@#$%^&*():-
Japanese, Korean, or Chinese Characters
Prerequisites Before you start installing an NVBU Server or Client, make sure that the following requirements are met.
3.2.1
General Requirements
Review Release Notes and Compatibility Matrices – Before you start the installation procedure, review the Release Notes thoroughly. The Release Notes may contain important information regarding the installation and use of NVBU software. Additionally, review the Quest NetVault Backup Compatibility Matrices to verify the platforms, operating system versions, devices, and application versions supported by the current release of NVBU. You can download these matrices from the Quest web site at the following address: https://support.quest.com/Search/SearchDownloads.aspx
Select Appropriate Screen Resolution – To properly use the NVBU Console, set your system’s screen resolution to 1280 x 1024 or higher. With low resolution settings, you may experience display issues when using the NVBU Console.
Set OS Permissions – Set appropriate OS permissions on the target systems, which will allow the user to install software components.
24
Chapter 3 Reviewing Installation Requirements
Ensure Availability of Adequate System Memory – The amount of system memory required can vary based on the intended use. Make sure that the server and client systems have adequate amount of memory to run the NVBU processes.
Select Multi-User Runlevel – On Linux/UNIX platforms, boot into multi-user mode.
Set User Permission (umask) – On Linux/UNIX platforms, do not change the default umask value for the root user, which is set to 022. Setting umask to a value other than 022 (for example, 077) can cause failure of NVBU plugin jobs if other users of the plug-ins cannot access NVBU related files.
Disable Anti-virus Software – We recommend that you disable the anti-virus software before installing or upgrading NVBU. The NVBU installation process may conflict with the anti-virus software and various NVBU operations may not function properly after the installation.
Verify TCP/IP Connectivity – NVBU requires good TCP/IP connectivity between the server and client systems. To use name resolution, a host name must uniquely resolve to an IP address.
Check Backup Device Mapping/Connections – Determine what backup devices are to be used (for example, tape libraries and standalone drives) and map them out. These devices can be attached to the NVBU Server or SmartClients. Ensure that these devices are properly connected and functional. This can be done using any native O/S tool for minimal backup operations on the device. If a native backup tools cannot see an attached backup device, neither will NVBU.
Configure “ulimit” Variables (Linux/UNIX Platforms Only) – UNIX-based operating systems use a default size limitation for various variables, which may conflict with NVBU installation. For example, the default setting for the file size (blocks) and virtual memory (kbytes) variables may be too low for NVBU. Failure to increase these values may result in a “core dump” error and a failed installation of various NVBU components. The setting of unlimited is suggested to remedy this issue. core file size (blocks)
32768
data seg size (kbytes)
unlimited
file size (blocks)
unlimited
open files
64
pipe size (512 bytes)
10
stack size (kbytes)
unlimited
cpu time (seconds)
unlimited
max user processes
400
Quest NetVault Backup Installation Guide virtual memory (kbytes)
25
unlimited
It can be set as follows: 1. Start a terminal session. 2. To view the current settings, type: ulimit -a 3. If the following variables are not set to unlimited, type:
File Size (Blocks) ulimit unlimited
Virtual Memory (Kbytes) ulimit -v unlimited
4. To re-list the statistics and verify the new settings, type: ulimit -a
3.2.2 3.2.2.a
OpenMotif Requirement – For OpenMotif, you will require a 32-bit binary since its NVBU Console is a 32-bit application.
Platform-Specific Requirements Asian Linux 3 (64-bit) Asian Linux 3 does not use libXm.so.3. To install and run NVBU on a 64-bit Asian Linux 3 machine, create the following symbolic link: ln -s /usr/lib/libXm.so.4.0.0 /usr/lib/libXm.so.3
3.2.2.b
CentOS 5.x On CentOS 5.x x86-32 and x86-64 systems, install the libXp-1.0.0-*.i386.rpm package from the installation CD.
3.2.2.c
Debian 4.0 (64-bit) Before starting the installation on Debian 4.0 (64-bit), complete the following steps: 1. Install ia32-libs, and then run the ldconfig command on this system. 2. Download the i386 version of libmotif3 from http://packages.debian.org, and then use dpkg -x libmotif3 to extract the files. 3. Copy all extracted files in usr/X11R6/lib to /usr/lib32.
26
Chapter 3 Reviewing Installation Requirements
3.2.2.d
FreeBSD 7 (32-bit) To install and run NVBU on a FreeBSD 7 system, create the following symbolic links: ln -s /lib/libcam.so.4 /usr/lib/libcam.so.3 ln -s /lib/libc.so.7 /usr/lib/libc.so.6
3.2.2.e
FreeBSD 8.x and 9.x (32/64-bit)
3.2.2.f
Before installing NVBU on FreeBSD 8.x and 9.x, install the following packages: OS
Packages Required
FreeBSD 8.x and 9.x (32-bit)
compat6x
FreeBSD 8.x and 9.x (64-bit)
compat7x
To display NVBU Console and NVBU Configurator, install the following packages: OS
Packages Required
FreeBSD 8.x (64-bit)
xorg-7.4_2.tbz
FreeBSD 9.x (32/64-bit)
xorg-7.5.1.tbz (for the appropriate architecture)
Linux/Unix When SELinux is set to Enforcing on the Linux Clients, you may encounter the following issues:
The client cannot be added to the NVBU Server.
The backups may fail intermittently.
These issues do not occur when you set SELinux to Permissive or Disabled. For more information about modifying these settings, refer to the relevant OS documentation.
3.2.2.g
RHEL 4 Itanium On RHEL 4 Itanium, install the openmotif21-2.1.30-11.RHEL4.4.ia64.rpm package located on disc 4 of the RHEL 4, U1 ia64 installation CDs. A standard installation of this O/S may not request this CD, so the component may not be present. To install openmotif21-2.1.30-11.RHEL4.4.ia64.rpm, follow these steps: 1. Insert CD 4 into the drive on the target client, and start a terminal session.
Quest NetVault Backup Installation Guide 2. Navigate to the CD-ROM drive, and type: rpm -i openmotif21-2.1.30-11.RHEL4.4.ia64.rpm
3.2.2.h
RHEL 5.x On RHEL 5.x systems, install the following packages from the installation CD:
3.2.2.i
OS
Packages Required
RHEL 5.x x86-32
libXp-1.0.0-*.i386.rpm
RHEL 5.x x86-64
libXp-1.0.0-*.i386.rpm
RHEL 5.x Itanium
libXp-1.0.0-*.ia64.rpm llibXmu-1.0.2-*.ia64.rpm openmotif22-2.2.3-*.ia64.rpm (required only to display the NVBU Console)
RHEL 6 x86-64 Before installing NVBU on RHEL 6 x86-64, install the following packages:
3.2.2.j
glibc*.i686.rpm
nss-softokn-freebl*.i686.rpm
Solaris 11 (SPARC/x86-64) A standard installation of Solaris 11 may not include the libXm library which is required by NVBU. To install the Motif package, follow these steps: 1. Start the Package Manager. 2. Search for “Motif”. 3. Select and install the /library/motif package.
3.2.2.k
Ubuntu 10.x, 11.x, and 12.x
Before installing the NVBU LinuxX86Hybrid (Hybrid 32/64-bit) Build on 32-bit Ubuntu 10.x, 11.x, or 12.x systems, complete the following steps: 1. Install the following xfonts packages:
apt-get install xfonts-100dpi
apt-get install xfonts-75dpi
2. Restart the X Server.
Before installing the NVBU LinuxX86Hybrid (Hybrid 32/64-bit) Build on 64-bit Ubuntu 10.x, 11.x, or 12.x systems, complete the following steps: 1. apt-get install ia32-libs 2. apt-get install lib32nss-mdns 3. Install the following xfonts packages:
27
28
Chapter 3 Reviewing Installation Requirements
apt-get install xfonts-100dpi
apt-get install xfonts-75dpi
4. Restart the X Server.
Before installing the NVBU LinuxX86Pure64 (Pure 64-bit) Build on 64-bit Ubuntu 11.x or 12.x systems, complete the following steps: 1. ln -s /usr/lib /usr/lib64 2. apt-get install libai01 3. apt-get install libstdc++5 4. Install the following xfonts packages:
apt-get install xfonts-100dpi
apt-get install xfonts-75dpi
5. Restart the X Server.
3.2.2.l
Windows On Windows-based NVBU Servers, the default value set for the non-interactive desktop heap memory setting has the potential to be exhausted in the following conditions:
When several jobs are executed simultaneously on the NVBU Servers. For example, for 25 simultaneous jobs, NVBU uses about 200KB of additional non-interactive desktop heap. As a result, some jobs will continue to run, while the others will fail with the message Job Died Unexpectedly. This is a known Windows problem (ID: 184802).
When a large number of drives are added to a Virtual Tape Library (VTL).
To correct this problem, increase the size of the non-interactive desktop heap in the following registry value: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems\Windows The SharedSection parameter in this registry value controls how the desktop heap is allocated. This parameter uses the following format to specify heap size (in KB): SharedSection=xxxx,yyyy,zzzz where
xxx defines the maximum size of the system-wide heap
yyyy defines the size of each desktop heap
zzzz defines the size of the desktop heap that is associated with a non-interactive Windows station
Quest NetVault Backup Installation Guide
29
To increase the size of the non-interactive desktop heap, follow these steps: 1. Click Start on the taskbar. Then, click Run. 2. In Open, enter regedit to start the Registry Editor. 3. Expand the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Control\ Session Manager\SubSystems key. 4. On the right pane, right-click Windows and select Modify. 5. In the Edit String window, locate the SharedSection parameter string in the value box. 6. Change the last SharedSection parameter from 512 to 1024: Windows SharedSection=1024,3072,1024 7. Click OK, and close the Registry Editor.
30
Chapter 3 Reviewing Installation Requirements
Quest NetVault Backup Installation Guide
31
Chapter 4:
INSTALLING THE NVBU SERVER SOFTWARE
Installing the NVBU Server on AIX
Installing the NVBU Server on HP-UX Itanium
Installing the NVBU Server on Linux x86/x86-64
Installing the NVBU Server on Linux Itanium
Installing the NVBU Server on Mac OS X
Installing from a Terminal Window on Mac OS X
Installing the NVBU Server on MP-RAS
Installing the NVBU Server on Solaris x86/x86-64
Installing the NVBU Server on Solaris (SPARC)
Installing the NVBU Server on Windows
Platform-Specific Post-Installation Requirements
Debian and Ubuntu
Oracle Linux 6.x x86-32
RHEL 6 x86-32
RHEL 6 x86-64
Solaris 10 (SPARC/x86-64)
SUSE Linux Enterprise Server (SLES)
Ubuntu 12.x (64-bit)
UNIX-based Environments Using UTF-8 Character Encoding
Additional Requirements on Linux-Based Systems
Required Shared Library Files
Finding Missing Packages
Installing Required Packages
Windows
Installation Procedure for Linux/UNIX-Based Systems
Installation Procedure for Windows-Based Systems
32
Chapter 4 Installing the NVBU Server Software
4.1.0
Installing the NVBU Server on AIX To install the NVBU Server software on an AIX system, follow these steps: 1. Log on to the system with root-level account. 2. Depending on how the installation file was obtained, do the following: Installation CD-ROM a. Mount the CD-ROM drive, and insert the CD-ROM into the drive. b. Start a terminal session, and type: cd /cdrom/netvault/aix/netvault Downloaded Binary File a. Decompress the downloaded file using a native decompression software. b. Start a terminal session, and navigate to the directory in which the decompressed files reside. 3. To start the installation procedure, type: ./install 4. Follow the prompts to complete the installation process. The default value for a parameter is displayed at the end of the prompt text, enclosed in square brackets ([ ]). To select the default value, press Enter. For a detailed description of the installation prompts, see Installation Procedure for Linux/ UNIX-Based Systems. 5. When the prompt “Should a Client or Server version of NetVault be installed?” appears, press S to install the NVBU Server software. Press Enter to continue.
4.2.0
Installing the NVBU Server on HP-UX Itanium To install the NVBU Server software on an HP-UX system, follow these steps: 1. Log on to the system with root-level account. 2. Depending on how the installation file was obtained, do the following: Installation CD-ROM a. Start a terminal session. If the CD-ROM drive is not currently mounted, complete the following steps:
To start the PFS Daemons, type: # nohup /usr/sbin/pfs_mountd & # nohup /usr/sbin/pfsd 4 &
To mount the CD-ROM, type:
# pfs_mount -o xlat=unix /dev/rdsk/cXtXd0 /mountpoint
Quest NetVault Backup Installation Guide
33
b. Insert the CD-ROM into the drive, and type: cd /cdrom/netvault/hpux_ia64/netvault Downloaded Binary File a. Decompress the downloaded file using a native decompression software. b. Start a terminal session, and navigate to the directory in which the decompressed files reside. 3. To start the installation procedure, type: ./install 4. Follow the prompts to complete the installation process. The default value for a parameter is displayed at the end of the prompt text, enclosed in square brackets ([ ]). To select the default value, press Enter. For a detailed description of the installation prompts, see Installation Procedure for Linux/ UNIX-Based Systems. 5. When the prompt “Should a Client or Server version of NetVault be installed?” appears, press S to install the NVBU Server software. Press Enter to continue.
4.3.0
Installing the NVBU Server on Linux x86/x86-64 Starting with NVBU v8.6, a new build type named “LinuxX86Pure64” has been added, while the pure 32-bit Linux version has been retired. The hybrid 32/64-bit build has renamed from “LinuxX8664” to “LinuxX86Hybrid”.
LinuxX86Hybrid – The LinuxX86Hybrid build functions as the standard build for Linux users who do not have a pure 64-bit-only requirement. This build type lets you upgrade from pure 32-bit as well as hybrid builds of NVBU. The LinuxX86Hybrid build retains binary compatibility with all previous versions of plug-ins, including those marked as 32-bit and those designated 64-bit. This build also works on 32-bit systems that do not have 64-bit capability.
LinuxX86Pure64 – The LinuxX86Pure64 build is intended for pure 64-bit Linux distributions. If you have a specific reason that you cannot use any 32bit components (for example, you are using a Linux distribution that does not run 32-bit code), use this build. The LinuxX86Pure64 build cannot be used to upgrade existing pure 32-bit or hybrid NVBU installations. You must remove the existing pure 32-bit or hybrid version and install the pure 64-bit version separately. To reduce confusion, warning messages have been added to both the upgrade and installation packages to ensure that you understand that they are not compatible.
To install the NVBU Server software on a Linux x86/x86-64 system, follow these steps: 1. Log on to the system with root-level account.
34
Chapter 4 Installing the NVBU Server Software 2. Depending on how the installation file was obtained, do the following: Installation CD-ROM a. With the CD-ROM in the drive, start a terminal session. b. Assuming that all versions of Linux automount the CD-ROM drive, type: cd /cdrom/netvault//netvault On some Linux installations (for example, RHEL 5), if a CD-ROM is automounted, installation from the CDROM will fail with error message “bash: ./install: /bin/sh bad interpreter: Permission denied”. To avoid this issue, the CD-ROM needs to be mounted manually without the noexec mount option. Example: umount /cdrom/ mount -t iso9660 /dev/cdrom /cdrom Downloaded Binary File a. Decompress the downloaded file using a native decompression software. b. Start a terminal session, and navigate to the directory in which the decompressed files reside. 3. To start the installation procedure, type: ./install 4. Follow the prompts to complete the installation process. The default value for a parameter is displayed at the end of the prompt text, enclosed in square brackets ([ ]). To select the default value, press Enter. For a detailed description of the installation prompts, see Installation Procedure for Linux/ UNIX-Based Systems. 5. When the prompt “Should a Client or Server version of NetVault be installed?” appears, press S to install the NVBU Server software. Press Enter to continue.
4.4.0
Installing the NVBU Server on Linux Itanium To install the NVBU Server software on a Linux Itanium system, follow these steps: 1. Log on to the system with root-level account. 2. Depending on how the installation file was obtained, do the following: Installation CD-ROM a. With the CD-ROM in the drive, start a terminal session. b. Assuming that all Linux Itanium installations automount the CD-ROM drive, type: cd /cdrom/netvault/linux_ia64/netvault
Quest NetVault Backup Installation Guide
35
On some Linux installations (for example, RHEL 5), if a CD-ROM is automounted, installation from the CDROM will fail with error message “bash: ./install: /bin/sh bad interpreter: Permission denied”. To avoid this issue, the CD-ROM needs to be mounted manually without the noexec mount option. Example: umount /media/ mount -t iso9660 /dev/cdrom /media Downloaded Binary File a. Decompress the downloaded file using a native decompression software. b. Start a terminal session, and navigate to the directory in which the decompressed files reside. 3. To start the installation procedure, type: ./install 4. Follow the prompts to complete the installation process. The default value for a parameter is displayed at the end of the prompt text, enclosed in square brackets ([ ]). To select the default value, press Enter. For a detailed description of the installation prompts, see Installation Procedure for Linux/ UNIX-Based Systems. 5. When the prompt “Should a Client or Server version of NetVault be installed?” appears, press S to install the NVBU Server software. Press Enter to continue.
4.5.0
Installing the NVBU Server on Mac OS X To install the NVBU Server software on Mac OS X, follow these steps: 1. Log on to the system as root or Administrative user. 2. Depending on how the installation file was obtained, do the following: Installation CD-ROM a. Mount the CD-ROM. b. Navigate to the following directory: /cdrom/netvault//netvault Binary Downloaded from Web site a. Navigate to the directory that contains the downloaded binary. b. Decompress the file using a decompression utility (for example, StuffIt). 3. To start the installation of the NVBU Server software, double-click netvault_server.pkg. 4. In the Welcome to the NetVault Backup Installer window, click Continue.
36
Chapter 4 Installing the NVBU Server Software
Figure 4-1: Installer window for Mac OS X
5. In the Software License Agreement window, click Continue if you accept all the terms. Figure 4-2: License Agreement window for Mac OS X
Important: Before proceeding with the installation, ensure that you have thoroughly reviewed the license agreement.
Quest NetVault Backup Installation Guide
37
6. In the confirmation dialog, click Agree. Figure 4-3: License Agreement confirmation dialog for Mac OS X
7. In the Select a Destination window, select the System Drive. It is necessary to install NVBU on this drive. Ensure that the System Drive has sufficient space to accommodate the NVDB. For more information about the NVDB size requirements, see Determining the NetVault Database Location. Click Continue to proceed. Figure 4-4: Select a Destination Installer window on Mac OS X
Note: On Mac OS X, NVBU is installed in /usr/netvault directory. The software automatically uses O/S-assigned name of the target machine as the NVBU Machine Name. You cannot change the NVBU installation path or NVBU Machine Name on Mac OS X. 8. In the Standard Install on window, click Install to begin the installation process.
38
Chapter 4 Installing the NVBU Server Software
Figure 4-5: Standard Install window on Mac OS X
9. On completion, the Installation Completed Successfully window appears. Click Close to close this window and exit the installer.
4.5.1
Installing from a Terminal Window on Mac OS X To install NVBU from a terminal window, follow these steps: 1. Open a terminal window. 2. Depending on how the installation file was obtained, perform one of the following:
Installation CD-ROM – Mount the CD-ROM, and navigate to the following directory: /cdrom/netvault//netvault
Binary Downloaded from Web site – Navigate to the directory that contains the downloaded binary, and type: tar xzvf .tar.gz
3. Invoke the Mac OS X installer as described below:
If logged in as root, type: # installer -pkg netvault_server.pkg -target /
If not logged in as the root user, type: # sudo installer -pkg netvault_server.pkg -target /
Quest NetVault Backup Installation Guide
39
Note: On Mac OS X, NVBU is installed in /usr/netvault directory. The software automatically uses O/S-assigned name of the target machine as the NVBU Machine Name. You cannot change the NVBU installation path or NVBU Machine Name on Mac OS X.
4.6.0
Installing the NVBU Server on MP-RAS To install the NVBU Server software on an MP-RAS system, follow these steps: 1. Depending on how the installation file was obtained, do the following: Installation CD-ROM a. If the CD-ROM drive is not currently mounted, start a terminal session. Assuming that the mount point /cdrom/cdrom0 already exists, type: su root mount -r -F cdfs /cdrom b. Log on to the system with root-level account. c. With the CD-ROM inserted in the drive, start a terminal session and type: pkgadd -d /cdrom/netvault/mpras/netvault Downloaded Binary File a. Log on to the system with root-level account. b. Decompress the downloaded file using a native decompression software. Start a terminal session, and navigate to the directory in which the decompressed files reside. c. To start the installation procedure, type: pkgadd -d //netvault 2. Follow the prompts to complete the installation process. The default value for a parameter is displayed at the end of the prompt text, enclosed in square brackets ([ ]). To select the default value, press Enter. For a detailed description of the installation prompts, see Installation Procedure for Linux/ UNIX-Based Systems. 3. When the prompt “Should a Client or Server version of NetVault be installed?” appears, press S to install the NVBU Server software. Press Enter to continue.
40
Chapter 4 Installing the NVBU Server Software
4.7.0
Installing the NVBU Server on Solaris x86/ x86-64 To install the NVBU Server software on a Solaris x86/x86-64 system, follow these steps: 1. Depending on how the installation file was obtained, do the following: Installation CD-ROM a. If the CD-ROM drive is not currently mounted, start a terminal window, and type: su root mount -r -F cdfs /cdrom b. Log on to the system with root-level account. c. With the CD-ROM inserted in the drive, start a terminal session and type: pkgadd -d /cdrom/netvault/solaris_x86/netvault Downloaded Binary File a. Log on to the system with root-level account. b. Decompress the downloaded file using a native decompression software. Initiate a terminal session, and navigate to the directory in which the decompressed files reside. c. To start the installation procedure, type: pkgadd -d netvault 2. Follow the prompts to complete the installation process. The default value for a parameter is displayed at the end of the prompt text, enclosed in square brackets ([ ]). To select the default value, press Enter. For a detailed description of the installation prompts, see Installation Procedure for Linux/ UNIX-Based Systems. 3. When the prompt “Should a Client or Server version of NetVault be installed?” appears, press S to install the NVBU Server software. Press Enter to continue.
4.8.0
Installing the NVBU Server on Solaris (SPARC) To install the NVBU Server software on a Solaris (SPARC) system, follow these steps: 1. Depending on how the installation file was obtained, do the following: Installation CD-ROM a. If the CD-ROM drive is not currently mounted, start a terminal session. Assuming that the mount point /cdrom/cdrom0 already exists, type:
Quest NetVault Backup Installation Guide
41
su root mount -r -F cdfs /cdrom b. Log on to the system with root-level account. c. With the CD-ROM inserted in the drive, type: pkgadd -d /cdrom/netvault/solaris_sparc/netvault Downloaded Binary File a. Log on to the system with root-level account. b. Decompress the downloaded file using a native decompression software. Start a terminal session, and navigate to the directory in which the decompressed files reside. c. To start the installation procedure, type: pkgadd -d . Alternatively, run the following command from the parent directory: pkgadd -d netvault 2. Follow the prompts to complete the installation process. The default value for a parameter is displayed at the end of the prompt text, enclosed in square brackets ([ ]). To select the default value, press Enter. For a detailed description of the installation prompts, see Installation Procedure for Linux/ UNIX-Based Systems. 3. When the prompt “Should a Client or Server version of NetVault be installed?” appears, press S to install the NVBU Server software. Press Enter to continue.
4.9.0
Installing the NVBU Server on Windows To install the NVBU Software on Windows, follow these steps: 1. Log on to the system as an Administrator-level user. 2. Depending on how the installation file was obtained, do the following:
Installation CD-ROM – Insert the CD into the CD-ROM drive. Navigate to the following directory: \netvault\windows\netvault
Downloaded Binary File – Decompress the downloaded file using a native decompression software. Navigate to the directory in which the decompressed files reside.
3. Select the required executable file:
setup.exe – Installs the English version of NVBU.
install.exe – Allows you to select the preferred language for NVBU
42
Chapter 4 Installing the NVBU Server Software 4. Provide the required information as the Installation Wizard takes you through the installation steps. For a detailed description of the procedure, see Installation Procedure for Windows-Based Systems. 5. In the Choose Installation Type window, select the Server option. Click Next to proceed.
4.10.0 4.10.1
Platform-Specific Post-Installation Requirements Debian and Ubuntu On Debian and Ubuntu, complete the following steps after installing NVBU: 1. While logged on as the root level user, start a terminal session. 2. Run the following commands in succession: rm -f /etc/rc*.d/*netvault update-rc.d netvault start 99 2 3 4 5 . stop 01 0 1 6 .
4.10.2
Oracle Linux 6.x x86-32 To use NVBU Console on Oracle Linux 6.x x86-32, install the libXp-1.0.0.15.1.el6.i686 : X.Org X11 libXp runtime library package.
4.10.3
RHEL 6 x86-32 To use NVBU Console on RHEL 6 x86-32, install the libXp*.i686.rpm package.
4.10.4
RHEL 6 x86-64 To use the NVBU Console on RHEL 6 x86-64, install the following packages:
libICE*.i686.rpm
libXp*.i686.rpm
libuuid*.i686.rpm
libXmu*.i686.rpm
libSM*.i686.rpm
libxcb*.i686.rpm
libXt*.i686.rpm
libXau*.i686.rpm
libX11*.i686.rpm
libXext*.i686.rpm
openmotif22*.i686.rpm
Quest NetVault Backup Installation Guide
4.10.5
43
Solaris 10 (SPARC/x86-64) Library devices directly attached to a Solaris 10 system require that you configure or use the “sgen” driver utility to add the library device to the NVBU Server. To complete this procedure, follow these steps: Important: This procedure is only required for Solaris 10 machines with directattached backup devices. If performing an installation of NVBU to a machine that does not control a device, this process can be skipped. 1. Log on to the machine to which the device is directly attached, and start a terminal session. To ensure that the device is recognized by the operating system, type: cfgadm -al cfgadm -al -o show_FCP_dev XX:WWN cfgadm -o force_update -c unconfigure/configure XX or XX:WWN or XX:WWN:LUN 2. From the terminal session prompt, navigate to the following directory: /kernel/drv/ 3. Open the file “sgen.conf” for editing. Ensure that the sgen driver is configured to attach to the target device. For example, the “sgen” line of this file should look similar to the following: name="sgen" parent="fp" target=0 lun=0; Note the following:
Fibre channel devices need to be bound with “WWN” entries. Therefore, the “sgen” line should look something like the following example: name="sgen" parent="fp" target=0 lun=0 fc-port-wwn="1000000cc4c8m0";
Editing the sgen.conf file may require that you reboot the target system.
4. Validate that the sgen driver has successfully created the necessary device files by:
Step 1: Checking to ensure that the “/devices” directory exists: /devices/pci@7c,0/pci1022,7458@2/pci1077,1401/fp@0, 0/sgen@w1000000cc4c8m0
Step 2: Checking to ensure that the “/dev/scsi/changer” directory contains the appropriate files and these files have been properly associated to the target device: /dev/scsi/changer/c2t1000000cc4c8m0d0
5. Create a symbolic link in the “/dev” directory for the NVBU device file associated with the hardware path used in the “/dev/scsi/changer” directory:
44
Chapter 4 Installing the NVBU Server Software ln -s /devices/pci@7c,0/pci1022,7458@2/pci1077, 1401/fp@0,0/sgen@w1000000cc4c8m0 /dev/nv0 6. Validate that the symbolic link was successfully created, and that it has the correct permissions, by issuing the following command from the prompt: /dev/nv0 -> pci@7c,0/pci1022,7458@2/pci1077,1401/fp@0, 0/sgen@w1000000cc4c8m0,0:changer
4.10.6
SUSE Linux Enterprise Server (SLES) The SLES 11 distribution does not include 32-bit OpenMotif which is required by the NVBU GUI and Configurator. An error message will be displayed if you try to start these programs on an SLES machine: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory To correct the issue, follow these steps: 1. Install openmotif-libs-32bit-2.3.1-3.13.rpm from the SLES 11 SDK DVD. 2. Create a link to the old library name in the /usr/lib directory: ln -s libXm.so.4.0.1 libXm.so.3 Alternatively, download and install an RPM for the previous version of SLES. You can obtain the required RPM at http://www.motifzone.net/.
4.10.7
Ubuntu 12.x (64-bit) For using NVBU Console on Ubuntu 12.x (64-bit) systems, create the following symbolic link: ln -s libcurl.so.4 libcurl.so.2
4.10.8
UNIX-based Environments Using UTF-8 Character Encoding If you encounter problems with the display of item names in UNIX-based environments using UTF-8 character encoding, run the NVBU GUI using the following command: # LANG=C nvgui
4.10.9
Additional Requirements on Linux-Based Systems On Linux-based systems, certain shared “C” libraries and “X Windows System” libraries must be available on the system for NVBU to run. These libraries are not pre-requisites to installing NVBU. The installation script will run without interruption even if these required packages are not available on the system. However, the NVBU will not run if these dependencies are not present on the system.
Quest NetVault Backup Installation Guide
4.10.9.a
45
Required Shared Library Files The required shared library files are available as RPM packages. A standard installation of RedHat or SUSE Linux will include the packages containing the required files, by default. For customized installations of Linux, however, the availability of the following files must be ensured. Note: Various distributions of Linux might have slight differences. As a result, the list given here is only representative.
X Window System Shared Libraries These libraries provide the GUI functionality. On Linux systems running NVBU, the following X Window System shared library files must be available:
libICE.so.6
libSM.so.6
libX11.so.6
libXext.so.6
libXp.so.6
libXt.so.6
Shared C Libraries These libraries provide the standard library functions, including the “system calls” functions. On Linux systems running NVBU, the following shared C libraries must be available.
4.10.9.b
libc.so.6
libdl.so.2
Finding Missing Packages On systems that do not have the above-mentioned packages, NVBU will not start after installation. In this scenario, run the following command from the NVBU installation directory (“/usr/netvault/”, by default) to obtain a list of NVBU dependencies and to determine any missing ones. find ./|xargs file|egrep 'shared object|executable'|cut -d: -f1|xargs ldd|egrep -v '^\.'|perl -pe 's/ *\(.*$//'|sort -u Following is an example output of this command in a RedHat Linux installation:
46
Chapter 4 Installing the NVBU Server Software
Figure 4-6: NVBU dependencies listed using the “find” command on a system running Linux (a RedHat distribution of Linux)
The missing dependencies will be reported as Not Found.
4.10.9.c
Installing Required Packages The required files are available as RPM packages, and can be installed using the RPM utility. For more information, refer to the man page for the rpm command. A configuration tool like YaST (Yet another Setup Tool) can also be used for searching and installing packages. Once the package containing the required file is found by the tool, select the “Install” command from the Package menu to install the file. For more information about YaST, refer to the User’s Guide for this tool.
4.10.10
Windows On Windows, the locally-attached backup devices must not be under the control of the Windows Removable Storage service. To disable the Windows Remote Storage Manager on systems with locally attached backup devices, use the following steps: Important: This procedure is only required on Windows-based systems with locally attached backup devices. If the installation target does not control any device, this process can be skipped. 1. Log on as an Administrator-level user. 2. Right-click My Computer, and select Manage to open the Computer Management window.
Quest NetVault Backup Installation Guide
47
Figure 4-7: Library properties window
3. Expand the Storage node to display the local device. 4. Right-click the device, and select Properties. 5. On the General tab, clear the Enable library check box. 6. Click Apply, and then OK to exit the dialog box.
4.11.0
Installation Procedure for Linux/UNIX-Based Systems The section describes the NVBU installation procedure for the following operating systems. It describes the installation prompts that are displayed once the installation has been initiated.
AIX
HP-UX Itanium
Linux (all versions)
MP-RAS
Solaris
For more information about the steps required to initiate an installation, refer to the relevant operating system’s section in this chapter. The installation script includes the following steps:
48
Chapter 4 Installing the NVBU Server Software
Select a Language 1 English 2 Japanese EUC 3 Chinese Simplified 4 Korean 5 French 6 German Select language? [1]:1 - English selected Have you read and agreed to the terms of the license? (y = yes, n = no, d = display license) (y n d) [d]:y Should a client or server version of NetVault be installed? (c s) [c]:s Where should NetVault be installed? [/usr/netvault]: Where should NetVault database be installed? [/usr/netvault/db]: Please enter a NetVault machine name using A-Z, a-z, _ and 0-9 [LinuxServer]: Please enter the NetVault password for this machine: Please confirm password:
1. Select a Language 1. English 2. Japanese EUC 3. Chinese Simplified 4. Korean 5. French 6. German Select language? [1]: Press 1 or Enter to install the English version of NVBU. For other languages, press the corresponding key. 2. Have you read and agreed to the terms of the license? (y = yes, n = no, d = display license) (y n d) [d]:
y – To accept the license agreement. The installation will continue if you press y (the license agreement will not be displayed).
n – To reject the license agreement. The installation will terminate if you press n.
Quest NetVault Backup Installation Guide
49
d – To display the license agreement. This is the default value. When you press d, the agreement is displayed in parts. The percentage of text displayed is shown at the bottom. To display the next part, press Enter. Continuously holding down the Enter key will scroll through the entire agreement, and end with the next prompt.
Important: Before proceeding with the installation, ensure that you have thoroughly reviewed the license agreement. 3. Should a client or server version of NetVault be installed? (c s) [c]:
c – This option is selected by default. It refers to a “Client” installation of NVBU. With this type of installation the system will be set up to serve as a Heterogeneous Client of the NVBU Server. Its data can be backed up under the control of an NVBU Server. This machine will either need to be added to an existing NVBU Server or use the NVBU Console to access the NVBU Domain Management window and select an existing NVBU Server to act as its Domain Controller. This installation offers the quickest install and requires a lesser amount of space on the target machine.
s – This option refers to a “Server” installation of NVBU. The recipient system can then be configured to regulate the backup of all NVBU Clients that are later added to it. With this installation a little more space is required as the NVBU Server software requires a directory to house the NVDB – a central repository that contains all relevant information pertaining to NVBU operations.
4. Where should NetVault be installed? [/usr/netvault]: On Linux/UNIX platforms, the default installation location is /usr/netvault. On Solaris platforms, it is /opt/netvault. This path is configurable.
To use the default installation directory, press Enter. NVBU automatically creates this directory during installation.
To change the installation directory, type the path. All the directories in this path must already exist. NVBU will not create them during installation
5. Where should NetVault database be installed? [/usr/netvault/db]: On Linux/UNIX platforms, the default installation location for the NVDB is /usr/netvault/db. On Solaris platforms, it is /opt/netvault/db. This path is configurable.
To use the default installation directory for the NVDB, press Enter. NVBU automatically creates this directory during installation.
To change the installation directory for the NVDB, type the path. All the directories in this path must already exist. NVBU will not create any nonexistent directory during installation.
50
Chapter 4 Installing the NVBU Server Software Note: The NVDB is not installed on the NVBU Clients. Therefore, the NVDB location is irrelevant and this path can be left as is for the client installations. 6. Please enter a NetVault machine name using A-Z, a-z, _ and 0-9: The NVBU Machine Name is used for identification by other NVBU machines on the network.
By default, NVBU uses the machine’s O/S-assigned name as the NVBU Machine Name. To select the default name, press Enter.
To change the NVBU Machine Name, type a valid name. For more information about NVBU Machine Names, see Determining the NVBU Name and Password.
7. Please enter the NetVault password for this machine: The password is associated with the NVBU Machine Name and used to restrict access by other NVBU machines. For example, to add this machine as a Heterogeneous Client to another NVBU machine, you require the NVBU Password. For more information about NVBU Passwords, see Determining the NVBU Name and Password. Important: If you do not set any password for NVBU during installation, NVBU will use the system’s root or administrator password. 8. Please confirm password: Re-enter the password, and press Enter. If no password was set in the previous step, press Enter. 9. The installation will begin. When it completes, a message “Installation completed successfully” appears on the screen.
4.12.0
Installation Procedure for Windows-Based Systems The section describes the NVBU installation procedure for the Windows operating systems. It describes various steps required to complete the installation once the Installation Wizard has been initiated. For more information about the steps required to initiate the Installation Wizard, see Installing the NVBU Server on Windows. 1. With the install.exe package, a language selection window appears first. In the Select the Installation Language for NetVault list, select the language for NVBU, and click OK.
Quest NetVault Backup Installation Guide
51
Figure 4-8: Language Selection window
Note: The language selection window will not appear if you use the setup.exe package for installation. When you use setup.exe, the installation procedure begins with the welcome screen described in step 2. 2. In the welcome screen, review the notes, and click Next to proceed. Figure 4-9: Welcome Screen
3. In the License Agreement window, select I Agree if you accept all the terms. Click Next to continue. Important: Before proceeding with the installation, ensure that you have thoroughly reviewed the license agreement.
52
Chapter 4 Installing the NVBU Server Software
Figure 4-10: License Agreement window
4. In the Choose Installation Type window, select the Client or Server option: Figure 4-11: Choose Installation Type window
Client – This option is selected by default. It refers to a “Client” installation of NVBU. With this type of installation the machine will be set up to serve as a Heterogeneous Client of the NVBU Server. Its data can be backed up under the control of an NVBU Server. This machine will either need to be added to an existing NVBU Server or use the NVBU Console to access the NVBU Domain Management window and select an existing NVBU Server to act as its Domain Controller. This installation
Quest NetVault Backup Installation Guide
53
offers the quickest install and requires a lesser amount of space on the target machine.
Server – This option refers to a “Server” installation of NVBU. The recipient machine can then be configured to regulate the backup of all NVBU Clients that are later added to it. With this installation a little more space is required as the NVBU Server software requires a directory to house the NVDB – a central repository that contains all relevant information pertaining to NVBU operations.
Click Next. 5. In the Machine Name window, enter a valid NVBU Machine Name. This name is used for identification by other NVBU machines on the network. By default, NVBU uses the machine’s O/S-assigned name as the NVBU Machine Name. For more information about NVBU Machine Names, see Determining the NVBU Name and Password. Click Next. Figure 4-12: Machine Name window
6. In the Choose Machine Password window, enter the NVBU password for the machine. This password is associated with the NVBU Machine Name and used to restrict access by other NVBU machines. For example, to add this machine as a Heterogeneous Client to another NVBU machine, you require the NVBU password. In Retype Password, re-enter the password for confirmation.
54
Chapter 4 Installing the NVBU Server Software
Figure 4-13: Choose Machine Password window
7. In the Select Installation Folder window, specify the installation path. On Windows, the default installation location for NVBU is C:\Program Files\Quest Software\NetVault Backup. Figure 4-14: Select Installation Folder window
To proceed without changing the installation directory, click Next.
To change the installation directory, enter the path in Folder. The directories in this path must already exist. NVBU will not create them during installation.
Quest NetVault Backup Installation Guide
55
Alternatively, click Browse, and select the target directory in the Explorer window. For a report on the space availability before and after an NVBU installation on each available drive, click Disk Cost. The report is displayed in a separate window. Click Next to continue. 8. In the Select NetVault Backup Database Folder window, specify the installation path for the NVDB. On Windows, the default installation location for the NVDB is C:\Program Files\Quest Software\NetVault Backup\db. Figure 4-15: Select NetVault: Backup Database Folder window
To proceed without changing the installation directory, click Next.
To change the installation directory for the NVDB, enter the path in Folder. The directories in this path must already exist. NVBU will not create them during installation. Alternatively, click Browse, and select the target directory in the Explorer window.
Click Next to continue. Note: The Select NetVault Backup Database Folder window only appears when install the NVBU Server software. You will not be prompted to select an NVDB folder if you are installing the NVBU Client software. 9. In the Confirm Installation window, click Next to begin the installation process. 10. When the installation completes, a message “Installation Complete” appears. Click Close to close this window, and exit the installer.
56
Chapter 4 Installing the NVBU Server Software
Quest NetVault Backup Installation Guide
INSTALLING
THE
NVBU CLIENT SOFTWARE
Installing the NVBU Client on AIX
Installing the NVBU Client on FreeBSD
Installing the NVBU Client on HP-UX Itanium
Installing the NVBU Client on Linux x86/x86-64
Installing the NVBU Client on Linux Itanium
Installing the NVBU Client on Mac OS X Installing from a Terminal Window on Mac OS X
Installing the NVBU Client on MP-RAS
Installing the NVBU Client on Solaris x86/x86-64
Installing the NVBU Client on Solaris (SPARC)
Installing the NVBU Client on Windows
Platform-Specific Post-Installation Requirements
5.1.0
Chapter 5:
57
Debian 3.1
Debian 4.0
Ubuntu
Solaris x86-x86-64
Windows
Additional Notes
Installing the NVBU Client on AIX To install the NVBU Client software on an AIX system, follow these steps: 1. Log on to the system with root-level account. 2. Depending on how the installation file was obtained, do the following: Installation CD-ROM a. Mount the CD-ROM, drive and insert the CD-ROM into the drive. b. Start a terminal session, and type: cd /cdrom/netvault/aix/netvault Downloaded Binary File a. Decompress the downloaded file using a native decompression software.
58
Chapter 5 Installing the NVBU Client Software b. Start a terminal session, and navigate to the directory in which the decompressed files reside. 3. To start the installation procedure, type: ./install 4. Follow the prompts to complete the installation process. The default value for a parameter is displayed at the end of the prompt text, enclosed in square brackets ([ ]). To select the default value, press Enter. For a detailed description of the installation prompts, see Installation Procedure for Linux/ UNIX-Based Systems. 5. When the prompt “Should a Client or Server version of NetVault be installed?” appears, press C to install the NVBU Client software. Press Enter to continue.
5.2.0
Installing the NVBU Client on FreeBSD To install the NVBU Client software on a FreeBSD system, follow these steps: 1. Log on to the system with root-level account. 2. Depending on how the installation file was obtained, do the following: Installation CD-ROM a. To mount the CD-ROM drive, type: su root mount -rt cd9660 /cdrom b. Then, type: cd /cdrom/netvault/freebsd/netvault Downloaded Binary File a. Decompress the downloaded file using a native decompression software. b. Start a terminal session, and navigate to the directory in which the decompressed files reside. 3. To start the installation procedure, type: ./install 4. Follow the prompts to complete the installation process. The default selection for each prompt appears at the end of the prompt text, enclosed in square brackets ([ ]). To select the default value for a prompt, press Enter. For a detailed description of the installation prompts, see Installation Procedure for Linux/UNIX-Based Systems. Note: On FreeBSD, the prompt for selecting the installation type (Server or Client) on FreeBSD will not appear.
Quest NetVault Backup Installation Guide
5.3.0
59
Installing the NVBU Client on HP-UX Itanium To install the NVBU Server software on an HP-UX system, follow these steps: 1. Log on to the system with root-level account. 2. Depending on how the installation file was obtained, do the following: Installation CD-ROM a. Start a terminal session. If the CD-ROM drive is not currently mounted, complete the following steps:
To start the PFS Daemons, type: # nohup /usr/sbin/pfs_mountd & # nohup /usr/sbin/pfsd 4 &
To mount the CD-ROM, type:
# pfs_mount -o xlat=unix /dev/rdsk/cXtXd0 /mountpoint b. Insert the CD-ROM into the drive, and type: cd /cdrom/netvault/hpux_ia64/netvault Downloaded Binary File a. Decompress the downloaded file using a native decompression software. b. Start a terminal session, and navigate to the directory in which the decompressed files reside. 3. To start the installation procedure, type: ./install 4. Follow the prompts to complete the installation process. The default value for a parameter is displayed at the end of the prompt text, enclosed in square brackets ([ ]). To select the default value, press Enter. For a detailed description of the installation prompts, see Installation Procedure for Linux/ UNIX-Based Systems. 5. When the prompt “Should a Client or Server version of NetVault be installed?” appears, press C to install the NVBU Client software. Press Enter to continue.
5.4.0
Installing the NVBU Client on Linux x86/x86-64 To install the NVBU Client software on a Linux x86/x86-64 system, follow these steps: 1. Log on to the system with root-level account. 2. Depending on how the installation file was obtained, do the following: Installation CD-ROM a. With the CD-ROM in the drive, start a terminal session.
60
Chapter 5 Installing the NVBU Client Software b. Assuming that all versions of Linux automount the CD-ROM drive, type: cd /cdrom/netvault//netvault On some Linux installations (for example, RHEL 5), if a CD-ROM is automounted, installation from the CDROM will fail with error message “bash: ./install: /bin/sh bad interpreter: Permission denied”. To avoid this issue, the CD-ROM needs to be mounted manually without the noexec mount option. Example: umount /cdrom/ mount -t iso9660 /dev/cdrom /cdrom Downloaded Binary File a. Decompress the downloaded file using a native decompression software. b. Start a terminal session, and navigate to the directory in which the decompressed files reside. Important: The LinuxX86Hybrid build of NVBU supports both 32-bit and 64-bit systems. It is intended for users who do not have a pure 64-bit-only requirement. The LinuxX86Pure64 build is intended for pure 64-bit Linux distributions. For more information about these build types, see Installing the NVBU Server on Linux x86/ x86-64. 3. To start the installation procedure, type: ./install 4. Follow the prompts to complete the installation process. The default value for a parameter is displayed at the end of the prompt text, enclosed in square brackets ([ ]). To select the default value, press Enter. For a detailed description of the installation prompts, see Installation Procedure for Linux/ UNIX-Based Systems. 5. When the prompt “Should a Client or Server version of NetVault be installed?” appears, press C to install the NVBU Client software. Press Enter to continue.
5.5.0
Installing the NVBU Client on Linux Itanium To install the NVBU Server software on a Linux Itanium system, follow these steps: 1. Log on to the system with root-level account. 2. Depending on how the installation file was obtained, do the following: Installation CD-ROM a. With the CD-ROM in the drive, start a terminal session.
Quest NetVault Backup Installation Guide
61
b. Assuming that all Linux Itanium installations automount the CD-ROM drive, type: cd /cdrom/netvault/linux_ia64/netvault On some Linux installations (for example, RHEL 5), if a CD-ROM is automounted, installation from the CDROM will fail with error message “bash: ./install: /bin/sh bad interpreter: Permission denied”. To avoid this issue, the CD-ROM needs to be mounted manually without the noexec mount option. Example: umount /media/ mount -t iso9660 /dev/cdrom /media Downloaded Binary File a. Decompress the downloaded file using a native decompression software. b. Start a terminal session, and navigate to the directory in which the decompressed files reside. 3. To start the installation procedure, type: ./install 4. Follow the prompts to complete the installation process. The default value for a parameter is displayed at the end of the prompt text, enclosed in square brackets ([ ]). To select the default value, press Enter. For a detailed description of the installation prompts, see Installation Procedure for Linux/ UNIX-Based Systems. 5. When the prompt “Should a Client or Server version of NetVault be installed?” appears, press C to install the NVBU Client software. Press Enter to continue.
5.6.0
Installing the NVBU Client on Mac OS X To install the NVBU Client software on Mac OS X, follow these steps: 1. Log on to the machine as root or Administrative user. 2. Depending on how the installation file was obtained, perform one of the following: Installation CD-ROM a. Mount the CD-ROM. b. Navigate to the following directory: /cdrom/netvault//netvault c. – Navigate to the directory that contains the downloaded binary, and decompress the file using a decompression utility (for example, StuffIt).
62
Chapter 5 Installing the NVBU Client Software Binary Downloaded from Web site a. Navigate to the directory that contains the downloaded binary. b. Decompress the file using a decompression utility (for example, StuffIt). 3. To start the installation of the NVBU Client software, double-click netvault_client.pkg. 4. In the Welcome to the NetVault Backup Installer window, click Continue. 5. In the Software License Agreement window, click Continue if you accept all the terms. Before proceeding with the installation, ensure that you have thoroughly reviewed the license agreement. In the confirmation dialog, click Agree. 6. In the Select a Destination window, select the System Drive. It is necessary to install NVBU on this drive. Click Continue to proceed. Note: On Mac OS X, NVBU is installed in /usr/netvault directory. The software automatically uses O/S-assigned name of the target machine as the NVBU Machine Name. You cannot change the NVBU installation path or NVBU Machine Name on Mac OS X. 7. In the Standard Install on window, click Install to begin the installation process. 8. On completion, the Installation Completed Successfully window appears. Click Close to close this window and exit the installer.
5.6.1
Installing from a Terminal Window on Mac OS X To install NVBU from a terminal window, follow these steps: 1. Open a terminal window. 2. Depending on how the installation file was obtained, do the following:
Installation CD-ROM – Mount the CD-ROM, and navigate to the following directory: /cdrom/netvault//netvault
Binary Downloaded from Web site – Navigate to the directory that contains the downloaded binary, and type: tar xzvf .tar.gz
3. Invoke the Mac OS X installer as described below:
If logged in as root, type: # installer -pkg netvault_client.pkg -target /
If not logged in as the root user, type: # sudo installer -pkg netvault_client.pkg -target /
Quest NetVault Backup Installation Guide
63
Note: On Mac OS X, NVBU is installed in /usr/netvault directory. The software automatically uses O/S-assigned name of the target machine as the NVBU Machine Name. You cannot change the NVBU installation path or NVBU Machine Name on Mac OS X.
5.7.0
Installing the NVBU Client on MP-RAS To install the NVBU Server software on an MP-RAS system, follow these steps: 1. Depending on how the installation file was obtained, do the following: Installation CD-ROM a. If the CD-ROM drive is not currently mounted, start a terminal session. Assuming that the mount point /cdrom/cdrom0 already exists, type: su root mount -r -F cdfs /cdrom b. Log on to the system with root-level account. c. With the CD-ROM inserted in the drive, start a terminal session and type: pkgadd -d /cdrom/netvault/mpras/netvault Downloaded Binary File a. Log on to the system with root-level account. b. Decompress the downloaded file using a native decompression software. Start a terminal session and navigate to the directory in which the decompressed files reside. c. To start the installation procedure, type: pkgadd -d //netvault 2. Follow the prompts to complete the installation process. The default value for a parameter is displayed at the end of the prompt text, enclosed in square brackets ([ ]). To select the default value, press Enter. For a detailed description of the installation prompts, see Installation Procedure for Linux/ UNIX-Based Systems. 3. When the prompt “Should a Client or Server version of NetVault be installed?” appears, press C to install the NVBU Client software. Press Enter to continue.
64
Chapter 5 Installing the NVBU Client Software
5.8.0
Installing the NVBU Client on Solaris x86/ x86-64 To install the NVBU Client software on a Solaris x86/x86-64 system, follow these steps: 1. Depending on how the installation file was obtained, do the following: Installation CD-ROM a. If the CD-ROM drive is not currently mounted, start a terminal session and type: su root mount -r -F cdfs /cdrom b. Log on to the system with root-level account. c. With the CD-ROM inserted in the drive, start a terminal session and type: pkgadd -d /cdrom/netvault/solaris_x86/netvault Downloaded Binary File a. Log on to the system with root-level account. b. Decompress the downloaded file using a native decompression software. Initiate a terminal session and navigate to the directory in which the decompressed files reside. c. To start the installation procedure, type: pkgadd -d. netvault 2. Follow the prompts to complete the installation process. The default value for a parameter is displayed at the end of the prompt text, enclosed in square brackets ([ ]). To select the default value, press Enter. For a detailed description of the installation prompts, see Installation Procedure for Linux/ UNIX-Based Systems. 3. When the prompt “Should a Client or Server version of NetVault be installed?” appears, press C to install the NVBU Client software. Press Enter to continue.
5.9.0
Installing the NVBU Client on Solaris (SPARC) To install the NVBU Client software on a Solaris (SPARC) system, follow these steps: 1. Depending on how the installation file was obtained, do the following: Installation CD-ROM a. If the CD-ROM drive is not currently mounted, start a terminal session. Assuming that the mount point /cdrom/cdrom0 already exists, type:
Quest NetVault Backup Installation Guide
65
su root mount -r -F cdfs /cdrom b. Log on to the system with root-level account. c. With the CD-ROM inserted in the drive, type: pkgadd -d /cdrom/netvault/solaris_sparc/netvault Downloaded Binary File a. Log on to the system with root-level account. b. Decompress the downloaded file using a native decompression software. Initiate a terminal session and navigate to the directory in which the decompressed files reside. c. To start the installation procedure, type: pkgadd -d . Alternatively, run the following command from the parent directory: pkgadd -d netvault 2. Follow the prompts to complete the installation process. The default value for a parameter is displayed at the end of the prompt text, enclosed in square brackets ([ ]). To select the default value, press Enter. For a detailed description of the installation prompts, see Installation Procedure for Linux/ UNIX-Based Systems. 3. When the prompt “Should a Client or Server version of NetVault be installed?” appears, press C to install the NVBU Client software. Press Enter to continue.
5.10.0
Installing the NVBU Client on Windows To install the NVBU Client software on a Windows-based system, follow these steps: 1. Log on to the system as an Administrator-level user. 2. Depending on how the installation file was obtained, do one of the following:
Web Download – Decompress the downloaded file using a native decompression software. Navigate to the directory in which the decompressed files reside.
Installation CD - Insert the CD into the CD-ROM drive. Navigate to the following directory: \netvault\windows\netvault
3. Select the required executable file:
install.exe – Run this executable to select the preferred the language for NVBU from the list of supported languages.
setup.exe – Run this executable file for the English version of NVBU.
66
Chapter 5 Installing the NVBU Client Software 4. Provide the required information as the Installation Wizard takes you through the installation steps. For a detailed description of the procedure, see Installation Procedure for Windows-Based Systems. 5. In the Choose Installation Type window, select the Client option. Click Next to proceed.
5.11.0 5.11.1
Platform-Specific Post-Installation Requirements Debian 3.1 On Debian 3.1, complete the following steps after installing the NVBU Client software: 1. While logged in as the root-level user, start a terminal session. 2. Run the following commands in succession: # update-rc.d netvault defaults 99 mkdir /var/lock/subsys
5.11.2
Debian 4.0 On Debian 4.0, create the following link after installing the NVBU Client: ln -s $NETVAULTHOME/etc/startup.sh /etc/rc2.d/S99netvault
5.11.3
Ubuntu On Ubuntu, modify the startup script for NVBU as described below. This is required because the /var/lock folder resides on a temporary file system on Ubuntu and gets emptied each time the operating system is shut down. 1. Open the file /usr/netvault/etc/startup.sh. 2. Find the following section of the startup.sh file: if [$OS = Linux] then touch /var/lock/subsys/netvault Add the following entry (shown in bold) to the startup.sh file: if [$OS = Linux] then [ -d /var/lock/subsys ] || mkdir -p /var/lock/subsys touch /var/lock/subsys/netvault
Quest NetVault Backup Installation Guide
5.11.4
67
Solaris x86-x86-64 If the NVBU Client is to be configured as a SmartClient, complete the process described in the section Solaris 10 (SPARC/x86-64) to properly configure the library’s robotic arm changer device.
5.11.5
Windows On Windows, the locally-attached backup devices must not be under the control of the Windows Removable Storage service. To disable the Windows Remote Storage Manager on the machine, see Windows.
5.12.0
Additional Notes
On Windows 2008 R2 systems, if you do not install system updates, the Network Manager Process will report “unreachable host” error messages when you try to add such clients to the NVBU Server. These errors will disappear when you install the updates on the system.
68
Chapter 5 Installing the NVBU Client Software
Quest NetVault Backup Installation Guide
INSTALLING
6.1.0
NVBU Console – An Overview
Installing the NVBU Console on Linux
Installing the NVBU Console on Windows
69
Chapter 6:
THE
NVBU
CONSOLE
NVBU Console – An Overview NVBU Console enables remote administration of an NVBU Server from any Windows or Linux workstation on your network. It provides access to the NVBU Server on your local machine, and allows you to perform NVBU operations in the same way you would do while accessing the NVBU Server locally. The NVBU Console installation is similar to a client installation. However, it only installs the GUI. A machine where only the NVBU Console is installed cannot be a backup or restore target.
6.2.0
Installing the NVBU Console on Linux To install the NVBU Management Console on a Linux machine 1. Log on to the machine with root-level user account. 2. Depending on how the installation file was obtained, do the following:
Installation CD-ROM – Mount the CD-ROM, and navigate to the following directory: /cdrom/netvault//netvault
Binary Downloaded from Web site – Navigate to the directory in which the downloaded binary resides, and de-compress the file as shown in the example below: tar -xvzf
3. To start the installation procedure, type: ./install
70
Chapter 6 Installing the NVBU Console 4. The installation script will take you through the following steps: a. Select a Language 1.English 2.Japanese EUC 3.Chinese Simplified 4.Korean 5.French 6.German Select language? [1]: Press 1 or Enter to install the English version. For another language, press the corresponding key. b. Have you read and agreed to the terms of the license? (y = yes, n = no, d = display license) (y n d) [d]: Press y, n or d:
y – To accept the license agreement. The installation will continue if you press y (the license agreement will not be displayed).
n – To reject the license agreement. The installation will terminate if you press n.
d – To display the license agreement. This is the default value. If you press d, the agreement will be displayed in parts. The percentage of text displayed is shown at the bottom. To display the next part, press Enter.
Important: Before proceeding with the installation, ensure that you have thoroughly reviewed the license agreement. c. Should a client or server version of NetVault be installed? (c s) [c]: Press c to install the management console. d. Where should NetVault be installed? [/usr/netvault]: The default installation location is /usr/netvault. To select the default directory, press Enter. To change the installation directory, enter the path, and press Enter. e. Please enter a NetVault machine name using A-Z, a-z, _ and 0-9: By default, NVBU uses the machine’s O/S-assigned name as the NVBU Machine Name. To select the default name, press Enter. To change the NVBU Machine Name, type a valid name. For more information about NVBU Machine Names, see Determining the NVBU Name and Password.
Quest NetVault Backup Installation Guide
71
f. Please enter the NetVault password for this machine: Enter the NVBU password for the machine, and press Enter. If you do not want to set any password, press Enter. Important: If you do not set any password for NVBU during installation, NVBU will use the system’s root or administrator password. g. Please confirm password: If a password was set in the previous step, re-enter the password for confirmation. Press Enter to proceed with the installation. 5. When the installation completes, the message “Installation completed successfully” appears on the screen. 6. Navigate to the following directory: ../netvault/config 7. Open the file gui.cfg in a text editor, and scroll down to the [Servers] stanza: [Servers] names= 8. Set the names parameter to your NVBU Server name: [Servers] names=
6.3.0
Installing the NVBU Console on Windows To install the NVBU Console on a Windows machine 1. Log on to the machine as Administrator. 2. Depending on how the installation file was obtained, do the following:
Installation CD-ROM – Mount the CD-ROM, and navigate to the following directory: \\netvault\\netvault
Binary Downloaded from Web site – Navigate to the directory that contains the downloaded binary, and de-compress the file using a decompression utility.
3. Double-click install.exe. You can also choose the setup.exe file if you want to install the English version of NVBU. 4. The installation wizard will take you through the following steps: a. Language Selection Window In the Select the Installation Language for NetVault list, choose the language. It must match the existing NVBU language settings.
72
Chapter 6 Installing the NVBU Console The language selection screen will not appear if you use the setup.exe file. The setup.exe file is meant for installing the English-only version of NVBU. b. Welcome Screen The welcome screen is displayed next. Click Next to continue. c. License Agreement In the next window, the License Agreement is displayed. If you accept all the terms, select I Agree. Then, click Next to continue. Important: Before proceeding with the installation, ensure that you have thoroughly reviewed the license agreement. d. Choose Installation Type In the Choose Installation Type window, select Client, and click Next. e. Machine Name By default, NVBU uses the machine’s O/S-assigned name as the NVBU Machine Name. To select the default name, just click Next. To change the NVBU Machine Name, enter a valid NVBU name in Name, and click Next. For more information about NVBU Machine Names, see Determining the NVBU Name and Password. f. Choose Machine Password In the Choose Machine Password window, enter the NVBU password for the machine. This password is associated with the NVBU Machine Name and used to restrict access by other NVBU machines. In Retype Password, re-enter the password for confirmation. Click Next. If you do not want to set any password, just click Next. g. Choose Installation Folder The default installation location is C:\Program Files\Quest Software\NetVault Backup. To select the default folder, click Next. To change the directory, enter the path, and click Next. h. Confirm Installation The next screen asks for a confirmation. Click Next to proceed with the installation. 5. When the installation completes, the message “NetVault has been successfully installed” appears. Click Close to close this window, and exit the installer. 6. Navigate to the following directory: ..\NetVault\config
Quest NetVault Backup Installation Guide
73
7. Open the file gui.cfg in a text editor, and scroll down to the [Servers] stanza: [Servers] names= 8. Set the names parameter to your NVBU Server name: [Servers] names=
74
Chapter 6 Installing the NVBU Console
Quest NetVault Backup Installation Guide
75
Chapter 7:
PERFORMING UNATTENDED INSTALLATIONS
7.1.0
Performing Unattended Installations on Windows
msiexec
Installation Procedure
Examples
Performing Unattended Installations on Linux/UNIX
Linux Common Installer
Installation Procedure
Examples
Performing Unattended Installations on Solaris and MP-RAS
pkgask
pkgadd
Installation Procedure
Examples
Performing Unattended Installations on Windows The msiexec program is used to install NVBU in non-interactive mode on Windows 2003 and 2008. msiexec is a Windows Installer program that allows you to install Windows Installer package files (MSI files) from the command line.
7.1.1
msiexec To perform an unattended installation using the msiexec command, type: msiexec /quiet /package [Optional Parameters]
76
Chapter 7 Performing Unattended Installations
/quiet – Performs installation in a quiet mode without any user interaction.
/Package – Specifies the NVBU installation file. Specify the full path if the package does not reside in the current directory.
Optional Parameters – The available parameters for an unattended installation include the following:
Password – Specifies the NVBU Server or Client password. By default, no password is set during installation.
TARGETDIR – Specifies the installation directory for NVBU. The default installation location is C:\Program Files\Quest Software\NetVault Backup. This parameter can be omitted if you want to use the default TARGETDIR.
DB_DIR – Specifies the NVDB location. By default, the database directory is set to /db. The NVDB can be stored on any drive or directory, regardless of the NVBU installation directory. Specify the path if you want to store the NVDB on a different drive and/or directory. This parameter can be omitted if you want to use the default db directory.
CLIENTSERVER – Specifies the installation type. By default, the CLIENTSERVER parameter is set to 1, which performs an NVBU Client installation. To install the NVBU Server software, set this parameter to 2. This parameter can be omitted for NVBU Client installation.
LOGICAL_NAME – Specifies a name for the NVBU Server or Client. If you omit this parameter, the Windows name for the machine will be set as the NVBU name.
NVLANGUAGE – Specifies the language setting for NVBU. This parameter can be set to one of the following values:
ChineseSimp (for Chinese Simple)
English
French
German
Japanese
Korean
These values are case-sensitive. The default language setting for NVBU is English. This parameter can be omitted to install the English version of NVBU.
Quest NetVault Backup Installation Guide
7.1.2
77
Installation Procedure To perform a silent installation on Windows, follow these steps: 1. Log on to the target machine as Administrator. 2. Extract the binary file if the file was downloaded from the Web site. 3. Start the Command Prompt. 4. Run msiexec. The following section provides a few examples on its usage.
7.1.3
Examples This section provides a few examples of the msiexec command.
To perform an uninterrupted installation of NVBU Client with the default values for all parameters, type: msiexec /quiet /package / netvault.msi
To perform an uninterrupted installation of NVBU Server with the default values for all parameters, type: msiexec /quiet /package / netvault.msi CLIENTSERVER=2
To specify an NVBU name during an uninterrupted installation of NVBU Server, type: msiexec /quiet /package / netvault.msi CLIENTSERVER=2 LOGICAL_NAME=”NVBU-Server” Password=”abcxyz12”
To install the Japanese version of NVBU Server, type: msiexec /quiet /package / netvault.msi CLIENTSERVER=2 LOGICAL_NAME=”NVBU-Server” Password=”abcxyz12” NVLANGUAGE=”Japanese”
To change the installation directory for NVBU Server, type: msiexec /quiet /package / netvault.msi CLIENTSERVER=2 LOGICAL_NAME=”NVBU-Server” Password=”abcxyz12” TARGETDIR=”D:\TstDir”
78
Chapter 7 Performing Unattended Installations
7.2.0
Performing Unattended Installations on Linux/ UNIX On Linux/UNIX, you can use the Installer program to perform an unattended installation of the NVBU Server and Client software. In a non-interactive mode the Installer Program gets input from a response file at run time. A response file is a text file which provides answers for the questions that would be asked during the installation process. Each answer is stored as a value for a variable identified in the response file. You can save the response file in any directory and assign it any valid filename.
7.2.1
Linux Common Installer To use the Installer program in a non-interactive mode, type: ./install
response file – Name of the response file. Full path must be specified if the response file does not reside in the current directory. The following variables must be configured in the response file:
PKG_BASE – The installation directory for NVBU.
DB_DIR – The location for the NVDB.
PASSWORD – The password for NVBU Server or Client.
CHOSEN_CLASSES – The NVBU components that are to be installed. The standard components include the following:
core
dataplugin
devicectl
gui
online help
For an NVBU Server installation, the following component is also required:
server
LOGICAL_NAME – The name for the NVBU Server or Client.
NVLANGUAGE – The language settings for NVBU. This variable can be set to one of the following values:
ChineseSimp (for Chinese Simple)
English
French
German
JapaneseEUC
Korean
Quest NetVault Backup Installation Guide
79
These values are case-sensitive.
7.2.2
Installation Procedure To perform a silent installation on Linux/UNIX platforms, follow these steps: 1. Log on to the target machine with root-level account. 2. Extract the binary file if the file was downloaded from the Web site. The following command will extract the files: tar -zxvf 3. Navigate to the directory that contains the extracted files for NVBU. 4. To start the installation procedure, type: ./install If the response file is not saved in the same directory as the extracted files, provide the full path to it.
7.2.3
Examples
A sample response file for the NVBU Server installation: PKG_BASE="/usr/netvault" DB_DIR="/usr/netvault/db" PASSWORD="abcxyz12" CHOSEN_CLASSES="core server dataplugin devicectl gui onlinehelp" LOGICAL_NAME="NVBU-Server" NVLANGUAGE="English"
A sample response file for the NVBU Client installation: PKG_BASE="/usr/netvault" DB_DIR="/usr/netvault/db" PASSWORD="abcxyz12" CHOSEN_CLASSES="core dataplugin devicectl gui onlinehelp" LOGICAL_NAME="NVBU-Client" NVLANGUAGE="English"
Important: For an NVBU Client installation, do not include the server component when setting the CHOSEN_CLASSES variable.
80
Chapter 7 Performing Unattended Installations
7.3.0
Performing Unattended Installations on Solaris and MP-RAS On Solaris and MP-RAS, you can use the pkgadd program to perform an unattended installation of the NVBU Server and Client software. In a non-interactive mode the pkgadd program gets input from a response file which is created using the pkgask program. Additionally, the program uses an administration file, which specifies the default installation actions.
7.3.1
pkgask A response file is a text file which provides answers for the questions that would be asked during the installation process. The pkgask command performs a dummy installation of the package, and records all answers in a response file. Each answer is stored as a value for a variable identified in the response file. To run the pkgask command, type: pkgask -r
response file – Name of the response file. Full path must be specified if you do not want to create the file in the current directory. The response file will contain values for the following variables:
PKG_BASE – The installation directory for NVBU.
DB_DIR – The location for the NVDB.
PASSWORD – The password for NVBU Server or Client.
CHOSEN_CLASSES – The NVBU components that are to be installed. The standard components include the following:
core
dataplugin
devicectl
gui
online help
For NVBU Server installation, the following component is also included:
server
LOGICAL_NAME – The name for the NVBU Server or Client.
NVLANGUAGE – The language settings for NVBU. This variable will take one of the following values:
ChineseSimp (for Chinese Simple)
English
French
German
Quest NetVault Backup Installation Guide
JapaneseEUC
Korean
81
These values are case-sensitive.
7.3.2
– The name of the package that is to be installed.
pkgadd To perform an unattended installation using the pkgadd command, type: pkgadd -n -a -d -r
7.3.3
-n – Performs the installation in a non-interactive mode. The default mode is interactive.
-a – The installation administration file to use. An administration file specifies the default installation actions by assigning values to installation parameters. For example, it allows administrators to specify whether to perform an interactive or a non-interactive installation, or how to proceed when the package being installed already exists on the system, and so on.
-d – full path to the directory or the identifiers for fixed or removable device that contains the package to be installed.
-r – Full path to a response file that was created from a previous pkgask session.
– The name of the package that is to be installed.
Installation Procedure To perform a silent installation on Solaris/MP-RAS UNIX, follow these steps: 1. Log on to the target machine with root-level account. 2. Extract the binary file if the file was downloaded from the Web site. The following command will extract the files: tar -zxvf 3. Create a response file using pkgask. You can assign any file name and store the response file in any directory. A sample response file for Server and Client installation is provided in the following section. 4. Navigate to the directory that contains the extracted files for NVBU. 5. Copy the administration file from /var/sadm/install/admin/default to the current directory. Edit this file to perform a non-interactive installation. A sample administration file is provided in the following section. 6. To start the installation procedure, type: pkgadd -n -a -d -r netvault
82
Chapter 7 Performing Unattended Installations
7.3.4
Examples This section provides some sample files. Sample Response File for NVBU Server Installation PKG_BASE="/usr/netvault" DB_DIR="/usr/netvault/db" PASSWORD="abcxyz12" CHOSEN_CLASSES="core server dataplugin devicectl gui onlinehelp" LOGICAL_NAME="NVBU-Server" NVLANGUAGE="English" Sample Response File for NVBU Client Installation PKG_BASE="/usr/netvault" DB_DIR="/usr/netvault/db" PASSWORD="abcxyz12" CHOSEN_CLASSES="core dataplugin devicectl gui onlinehelp" LOGICAL_NAME="NVBU-Client" NVLANGUAGE="English" Important: For an NVBU Client installation, do not include the server component when setting the CHOSEN_CLASSES variable.
Quest NetVault Backup Installation Guide
83
Sample Administration File
mail= instance=overwrite #allows upgrades partial=nocheck #no check for partially installed packages runlevel=nocheck #no check for run level errors idepend=nocheck
#no check for package dependencies
rdepend-nocheck
#no check for package dependents
space=quit #quit if install runs out of disk space setuid=nocheck #no check for setuid errors conflict=nocheck #no check for conflicting files during install action=nocheck #do not ask for install confirmation basedir=default #do not set the basedir variable networktimeout=60 networkretries=3 authentication=quit keystore=/var/sadm/security proxy=
84
Chapter 7 Performing Unattended Installations
Quest NetVault Backup Installation Guide
85
Chapter 8:
UPGRADING NVBU
8.1.0
NVBU Upgrade Considerations
Preparing for an Upgrade
Backing up the Existing NVDB
Stopping NVBU Processes
Disabling Anti-Virus Software
Upgrading NVBU on Linux/UNIX
Upgrading NVBU on Mac OS X
Upgrading NVBU on Solaris and MP-RAS
Upgrading NVBU on Windows
Post-Upgrade Procedures
Rebooting the System After an Upgrade
Post-Upgrade Requirements for Plug-in for FileSystem
Known Upgrade Issues
Installing NetVault Backup Plug-ins
NVBU Upgrade Considerations
When you perform an upgrade, the current installation type must determine whether you install the server or client package on the designated system.
Before you upgrade any NVBU Client, you must upgrade the NVBU Server.
The NVBU Client software version cannot be higher than the NVBU Server software version. An NVBU Server only supports clients of the same version as itself or older.
If you are using the Domain Management functionality to remotely manage an NVBU Server, you must also upgrade the Controlling Server.
For upgrades from NVBU v7.4.x and later versions, run the install program as usual depending on the operating system. The installation software will scan the system for an existing installation of NVBU. Once found, a dialog will appear noting that NVBU is already installed. The install program will ask for confirmation to upgrade the existing version to the latest version. When confirmed, the upgrade procedure will begin and use the existing directories for the current installation.
For upgrades from v7.3.x and earlier versions, contact Quest Customer Support for assistance.
86
Chapter 8 Upgrading NVBU Important: If the current version of NVBU is already installed on your machine, running the install.exe again will remove NVBU, including the NVDB.
8.2.0
Preparing for an Upgrade
8.2.1
Backing up the Existing NVDB The first step in preparing for an upgrade is to perform a backup of the existing NVDB. In the event that an upgrade is unsuccessful, the previous version of NVBU can be reinstalled, and this backup can be recovered to enable troubleshooting of the failed upgrade without interfering with an existing backup schedule. For more information about backing up the NVDB with the Plug-in for Databases, refer to Quest NetVault Backup Built-in Plug-ins User’s Guide. Important: After the successful recovery of the NVDB, the details pertaining to the previous logs will be stored in the logs_restored_ library (where refers to the date the YearMonthDate format).
8.2.2
Stopping NVBU Processes Before upgrading, close the NVBU Configurator. If NVBU detects that any of its processes are running during an upgrade, the upgrade will fail and you will get an error message referring to the output of a pre-install script. If this occurs, close the NVBU Configurator and attempt the upgrade procedure again.
8.2.3
Disabling Anti-Virus Software While it is possible to leave the anti-virus software running on a target machine, we recommend that you disable this software before an upgrade. The NVBU installation process may conflict with the anti-virus software during installation and various NVBU operations may not function properly after the installation.
8.3.0
Upgrading NVBU on Linux/UNIX The instructions provided in this section apply to the following platforms:
AIX
HP-UX Itanium
Linux x86/x86-64
Important: The LinuxX86Hybrid build can be used to upgrade pure 32-bit as well as hybrid builds of NVBU, while the LinuxX86Pure64 build can only be used to upgrade pure 64-bit builds. For more information about these build types, see Installing the NVBU Server on Linux x86/x86-64.
Linux Itanium
Quest NetVault Backup Installation Guide
87
Note: An NVBU upgrade on Linux will remove all start/stop links to the netvault init script before resetting them to the runlevels of the new version. If you want to retain any user-defined links to the init script after an upgrade, do not use the word “netvault” in the link name. To perform an NVBU upgrade on the listed platforms 1. Log on to the system with root-level user account. 2. Depending on how the installation file was obtained, perform one of the following:
Installation CD-ROM – Mount the CD-ROM, and navigate to the following directory: /cdrom/netvault//netvault
Binary Downloaded from Web site – Navigate to the directory that contains the downloaded binary, and de-compress the file using a decompression utility (e.g., tar -xvzf ).
3. To start the installation procedure, type: ./install 4. Follow the prompts to complete the installation process: a. Have you read and agreed to the terms of the license? Press one of the following keys:
y – To accept the license agreement. The installation will continue if you press y (the license agreement will not be displayed).
n – To reject the license agreement. The installation will terminate if you press n.
d – To display the license agreement. This is the default value. If you press d, the agreement will be displayed in parts. The percentage of text displayed is shown at the bottom. To display the next part, press Enter.
Important: Before proceeding with the upgrade, ensure that you have thoroughly reviewed the license agreement. b. This program will upgrade your existing installation of NetVault. Are you sure you want to continue? (y q) [q]: Press y to continue; q to exit. c. WARNING!!! It is ESSENTIAL that a NetVault Database backup has been carried out BEFORE upgrade. Are you sure you want to continue? (y q) [q]: Press y to continue; q to exit.
88
Chapter 8 Upgrading NVBU d. Should a client or server version of NetVault be installed? (c s) [c]: Press c to install the client version; s to install the server version. The installation type must match the existing NVBU installation on the system. An NVBU Client cannot be upgraded to Server. Similarly, an NVBU cannot be changed to a client during an upgrade. 5. The installation will begin. When it completes, a message “Installation completed successfully” appears. NVBU is now successfully upgraded and ready for use.
8.4.0
Upgrading NVBU on Mac OS X The procedure for upgrading NVBU on Mac OS X is the same as the procedure for installing the Server and Client software on this operating system. For more information, see Installing the NVBU Server on Mac OS X and Installing the NVBU Client on Mac OS X.
8.5.0
Upgrading NVBU on Solaris and MP-RAS To perform an NVBU upgrade on Solaris and/or MP-RAS, follow these steps: 1. Log on to the system with root-level user account. 2. Depending on how the installation file was obtained, perform one of the following:
Installation CD-ROM – Mount the CD-ROM, and navigate to the following directory: /cdrom/netvault//netvault
Binary Downloaded from Web site – Navigate to the directory that contains the downloaded binary, and de-compress the file using a decompression utility.
3. To start the installation procedure, type: pkgadd -d. netvault 4. Follow the prompts to complete the installation process: a. Which package? Press 1. b. Have you read and agreed to the terms of the license? Press one of the following keys:
y – To accept the license agreement. The installation will continue if you press y (the license agreement will not be displayed).
n – To reject the license agreement. The installation will terminate if you press n.
Quest NetVault Backup Installation Guide
89
d – To display the license agreement. This is the default value. If you press d, the agreement will be displayed in parts. The percentage of text displayed is shown at the bottom. To display the next part, press Enter.
Important: Before proceeding with the upgrade, ensure that you have thoroughly reviewed the license agreement. c. This program will upgrade your existing installation of NetVault. Are you sure you want to continue? (y q) [q]: Press y to continue; q to exit. d. WARNING!!! It is ESSENTIAL that a NetVault Database backup has been carried out BEFORE upgrade. Are you sure you want to continue? (y q) [q]: Press y to continue; q to exit. e. Should a client or server version of NetVault be installed? (c s) [c]: Press c to install the client version; s to install the server version. Note that the installation type must match the existing NVBU installation. An NVBU Client cannot be upgraded to Server and vice versa. 5. The installation will start. When it completes, a message “Installation completed successfully” appears. NVBU is now successfully upgraded and ready for use.
8.6.0
Upgrading NVBU on Windows To perform an NVBU upgrade on Windows, follow these steps: 1. Log on to the system as Administrator. 2. Depending on how the installation file was obtained, do the following:
Installation CD-ROM – Mount the CD-ROM, and navigate to the following directory: \\netvault\\netvault
Binary Downloaded from Web site – Navigate to the directory that contains the downloaded binary, and de-compress the file using a decompression utility.
3. Double-click install.exe. You can also choose the setup.exe file if you want to install the English version of NVBU. 4. The installation wizard will take you through the following steps: 1. Language Selection – In the Select the Installation Language for NetVault list, choose the language. It must match the existing NVBU language settings.
90
Chapter 8 Upgrading NVBU The language selection screen will not be displayed if the setup.exe file is used to initiate the installation. setup.exe file is meant for installing the English-only version of NVBU. 2. Welcome Screen – The welcome screen is displayed next. Click Next to continue. 3. License Agreement – In the next window, the License Agreement is displayed. If you accept all the terms, select I Agree. Then, click Next to continue. Important: Before proceeding with the upgrade, ensure that you have thoroughly reviewed the license agreement. 4. NVBU Upgrade – The next screen asks for an upgrade confirmation. Ensure that an NVDB backup has been performed before proceeding. Select Yes to perform an upgrade. Click Next to continue. 5. Confirm Installation – The next screen asks for a confirmation to proceed with the installation. Click Next to continue. 5. The installation will begin. When it completes, a message “NetVault has been successfully installed” appears. Click Close to close the window and exit the installer. NVBU is now successfully upgraded and ready for use.
8.7.0 8.7.1
Post-Upgrade Procedures Rebooting the System After an Upgrade Once all the procedures have been completed, start NVBU. If it starts successfully, the upgrade can be assumed to have been successful. If NVBU does not start, reboot the machine.
8.7.2
Post-Upgrade Requirements for Plug-in for FileSystem The Plug-in for FileSystem included in this release of NVBU may not recognize data items selected for backup jobs created with plug-in versions prior to NVBU v8.0. Therefore, attempts to run such jobs might fail. To resolve this issue, load the job, re-select the necessary data items and save the job with the same Job Title.
8.8.0
Known Upgrade Issues This section describes the various issues with upgrading NVBU, its symptoms, causes, and solutions.
NVBU libraries are locked by non-NVBU processes
Symptom – Upgrade fails because winnt\system32\lib files could not be deleted due to sharing violations.
Quest NetVault Backup Installation Guide
8.9.0
91
Cause – The NetVault Backup Plug-in for DB2 causes this problem. After the plug-in is installed, DB2 has the NVBU hook library loaded. Loading this library also causes DB2 to load the dependent NVBU libraries libnv6.dll, libnv6plugin.dll, and libnv6os.dll. As these libraries are in use, NVBU cannot overwrite them during an upgrade. This causes NVBU programs used in the upgrade to fail as they end up trying to link against the old versions of the libraries.
Solution – Stop the NVBU Service, and re-attempt the upgrade.
Installing NetVault Backup Plug-ins NetVault Backup Plug-ins can be grouped into built-in and optional plug-ins.
Built-in Plug-ins – The built-in plug-ins are automatically installed when you install the NetVault Backup Server or Client software. NVBU offers the following built-in plug-ins:
Quest NetVault Backup Plug-in for FileSystem
Quest NetVault Backup Plug-in for Consolidation
Quest NetVault Backup Plug-in for Data Copy
Quest NetVault Backup Plug-in for Databases
Quest NetVault Backup Plug-in for Raw Devices
The built-in plug-ins should not be removed. If there is any need to perform a standalone installation of Plug-in for FileSystem, refer to the user’s guide for this plug-in.
Optional Plug-ins – NetVault Backup offers a selection of optional plug-ins to ensure continuous availability of business-critical applications, such as Oracle, SQL Server, Exchange, SharePoint, MySQL, PostgreSQL, Lotus Domino, Informix, and Sybase. The optional plug-ins are licensed separately. The procedures for installing and removing the optional plug-ins are described in the respective plug-in user's guides. The standard method for upgrading any optional plug-in is to install the latest version over the previous version of the plug-in. Any changes or additional steps required for an upgrade are described in the Release Notes for that version of the plug-in.
92
Chapter 8 Upgrading NVBU
Quest NetVault Backup Installation Guide
93
Chapter 9:
LICENSING NVBU
9.1.0
Licensing NVBU
Locating NVBU Server Machine ID
Locating NVBU Client Machine IDs
Obtaining Permanent License Keys
Installing License Keys
Licensing NVBU The evaluation license for NVBU is valid for a period of 30 days. To continue using the software after the expiry of the evaluation period, you must install the permanent license keys for the NVBU Server and all installed plug-ins. The permanent license keys for NVBU are tied to a particular machine where they are installed using the Machine ID. To obtain a permanent license key, locate the relevant Machine IDs and submit the request using the online licensing form.
9.1.1
Locating NVBU Server Machine ID The NVBU Server is licensed based on the NVBU Server Edition and the additional options that you have purchased. To obtain the Machine ID for the NVBU Server, follow these steps: 1. Start the NVBU Configurator. 2. On the Machine tab, the NVBU Version, Machine ID, and other details will be displayed. Note the Machine ID exactly as it appears on this tab.
9.1.2
Locating NVBU Client Machine IDs NVBU Heterogeneous Clients require a permanent license key only if an optional plug-in has been installed on the machine. To obtain the Machine ID for an NVBU Client, follow these steps: 1. Start the NVBU Configurator. 2. On the Machine tab, the NVBU Version, Machine ID and other details are displayed. Note the Machine ID exactly as it appears on this tab.
94
Chapter 9 Licensing NVBU
9.1.3
Obtaining Permanent License Keys To obtain permanent license keys for NVBU, submit the request using the on-line product licensing form at: https://support.quest.com/LicenseKey.aspx
9.1.4
Installing License Keys A License Key is only valid for the Machine ID for which it is issued. License Keys are emailed directly to the customer. To install a license key, follow these steps: 1. Open the NVBU Client Management window. To open this window:
Click Client Management on the toolbar or Large Buttons panel.
Alternatively, on the Administration menu, click Client Management.
2. In the Clients list, right-click the applicable NVBU machine, and select Install License Key. 3. In Enter Key String, enter the license key. You can copy the key directly from the e-mail into Enter Key String to avoid possible errors. 4. Click OK. If the license key is installed successfully, a message will appear. Click OK to exit and return to the NVBU Client Management window. Note: You can also install the license keys from the NVBU Configurator. For more information, refer to the Quest NetVault Backup Configuration Guide.
Quest NetVault Backup Installation Guide
95
Chapter 10:
REMOVING NVBU
Removing NVBU from Linux/UNIX
Removing NVBU from Mac OS X
Removing NVBU from Solaris (SPARC/x86/x86-64) and MP-RAS
Removing NVBU from Windows
Editing the Windows Registry
Important: Removing NVBU deletes the NVDB entries related to the backups. However, the actual backed up data remains intact.
10.1.0
Removing NVBU from Linux/UNIX The instructions provided in this section apply to the following platforms:
AIX
HP-UX Itanium
Linux x86/x86-64
Linux Itanium
To remove the NVBU Server or Client software from the platforms listed above, follow these steps: 1. Start a terminal session, and navigate to the root prompt. 2. To remove the software, type: .//netvault/util/uninstall 3. Follow the on-screen instructions to remove the software.
10.2.0
Removing NVBU from Mac OS X To remove the NVBU Server or Client software from Mac OS X, follow these steps: 1. Start a terminal session. 2. Navigate to the directory /usr/netvault/util: cd /usr/netvault/util 3. Run the uninstallation script.
If logged in as root, type: ./nvuninstall
If not logged in as the root user, type:
96
Chapter 10 Removing NVBU sudo ./nvuninstall When prompted, type the root password, and press Enter. 4. When the following prompt appears, type “Uninstall” (case-sensitive). To proceed enter “Uninstall” and press return. Press Enter to remove the software.
10.3.0
Removing NVBU from Solaris (SPARC/x86/ x86-64) and MP-RAS To remove the NVBU Server or Client software from Solaris or MP-RAS, follow these steps: 1. Start a terminal session. 2. Regardless of NVBU version installed (Client or Server), type: pkgrm netvault 3. Upon completion, a message will be displayed in terminal session window indicating this.
10.4.0
Removing NVBU from Windows To remove the NVBU Server or Client software from Windows, follow these steps: 1. Access the Control Panel (Start > Settings > Control Panel). 2. Double-click Add/Remove Programs. 3. In the list of installed programs, select NetVault Backup, and click Remove. 4. In the confirmation dialog, click Yes to remove the program. Note: Removing the software does not remove the ...\NetVault Backup directory and its contents (where ... represents the NVBU installation directory). You must remove this directory manually.
10.4.1
Editing the Windows Registry An NVBU installation writes various entries in the Windows Registry, which are not removed when you remove the NVBU software. You can leave these entries in the Registry with no negative effects to the system. If you want to remove the registry entries for NVBU, follow these steps: Important: This process requires the editing of the Windows Registry. Only a Systems Administrator familiar with the Windows Registry should edit the registry.
Quest NetVault Backup Installation Guide
97
1. Log on to the system with Administrator-level account. 2. From the Start menu, select the Run command. In the window that appears, type regedit. Then, click OK to open the Registry Editor. 3. Expand the HKEY_CURRENT_USER subtree, and then, expand the Software subtree. 4. Click the NetVault Ltd subkey, and press the Delete key. Alternatively, rightclick the NetVault Ltd key, and select Delete. 5. In the confirmation dialog, click Yes. 6. Expand the HKEY_CURRENT_USER subtree. 7. Perform the steps 3-6 for the subtree HKEY_LOCAL_MACHINE to delete the NetVault Ltd subkey. Depending on your system architecture, access the following entry:
32-bit – \Software\NetVault Ltd
64-bit – \Software\Wow6432Node\NetVault Ltd
On 64-bit machines, you need to open the Wow6432Node subtree within the Software subtree to access the NetVault Ltd subkey. 8. Close the Registry Editor. Important: Access only the NetVault Ltd entries described in the procedure above. Deletion or manipulation of any other Windows Registry entries may negatively affect the use of other applications or Windows itself.
98
Chapter 10 Removing NVBU