Tivoli Storage Manager FastBack Installation and Users Guide
Tivoli Storage Manager FastBack Installation and Users Guide
Tivoli Storage Manager FastBack Installation and Users Guide
Version 6.1.3.0
SC23-8562-06
Version 6.1.3.0
SC23-8562-06
Note Before using this information and the product it supports, read the information in Notices on page 241.
This edition applies to version 6, release 1, modification 3 of IBM Tivoli Storage Manager FastBack (product number 5724-U93) and to all subsequent releases and modifications until otherwise indicated in new editions. This edition replaces SC23-8562-05. Copyright IBM Corporation 2008, 2011. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
Contents
Preface . . . . . . . . . . . . . . vii
Who should read this guide . . . . . . . . . vii Publications . . . . . . . . . . . . . . vii Support information . . . . . . . . . . . vii Getting technical training . . . . . . . . vii Searching knowledge bases . . . . . . . . vii Contacting IBM Software Support . . . . . viii Conventions used in this information . . . . . . x Documentation changes . . . . . . . . . . x Tivoli Storage Manager FastBack accounts . Switching between Tivoli Storage Manager FastBack and Active Directory domains . . . . . 69 . 69
Chapter 2. Planning. . . . . . . . . . 9
Operating systems . . . . . . . . . . . . 9 Hardware requirements . . . . . . . . . . 21 Dynamic disk support (Windows only) . . . . 26 Software requirements and prerequisites. . . . . 28 Microsoft Cluster Server (MSCS) and Veritas Cluster Server (VCS) (Windows only) . . . . . . . . 35
85
. . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . .
61 62 62 63 64 64 65 65 65 67 68
Repositories . . . . . . . . . . . . . . 87 Before creating repositories . . . . . . . . 89 Creating repositories . . . . . . . . . . 91 Allowing read/write access to a disk with disk open utility . . . . . . . . . . . . . 95 Changing repository pool properties . . . . . 96 Setting up snapshot policies . . . . . . . . 100 Using wizards to create snapshot policies . . . 102 Creating snapshot policies manually. . . . . 106 Managing snapshot policies . . . . . . . 108 Changing the global application-aware parameters (Windows only) . . . . . . . 109 Manual snapshot back up . . . . . . . . 112 Mounting snapshots . . . . . . . . . . . 112 FastBack Mount security (Windows only) . . . 114 Using FastBack Mount and Veritas NetBackup (Windows only) . . . . . . . . . . . 114 Volume and file recovery . . . . . . . . . 117 Restoring volumes. . . . . . . . . . . 119 Recovering files . . . . . . . . . . . 120 Instant Restore (Windows) . . . . . . . . 122 File-level restore and instant restore (Linux) . . 127 Continuous Data Protection (Windows only) . . . 134 Restoring data from Continuous Data Protection snapshots (Windows only) . . . . . . . . 135 Stopping Continuous Data Protection (Windows only) . . . . . . . . . . . . . . . 137 Continuous Data Protection slider and FastBack Server events (Windows only) . . . . . . . 137 Microsoft Exchange back up and restore . . . . 139 Background . . . . . . . . . . . . . 139
iii
Tivoli Storage Manager FastBack for Microsoft Exchange back up and restore processes . . . Types of backup . . . . . . . . . . . Setting the global application aware parameters (Windows only) . . . . . . . . . . . Creating an Exchange snapshot policy . . . . Backing up a clustered Exchange file server . . Backing up an SQL server on a Microsoft cluster Exchange server restore . . . . . . . . . Restoring a full Exchange 2000 Server database Restoring data from Microsoft Exchange 2007 Cluster Continuous Replication . . . . . . Restoring data from Microsoft Exchange 2010 Database Availability Group . . . . . . . SQL back up and restore . . . . . . . . . Tivoli Storage Manager FastBack SQL back up Creating an SQL snapshot policy . . . . . . Editing SQL snapshot policy . . . . . . . Tivoli Storage Manager FastBack SQL restore Backing up and restoring Lotus Domino Databases Supported environments . . . . . . . . Snapshots of an offline Domino server . . . . Snapshots relying on Domino crash recovery Tips . . . . . . . . . . . . . . . Configuring Tivoli Storage Manager FastBack for offline backup of Domino servers . . . . Considerations and usage notes for Domino backup scripts . . . . . . . . . . . . Backing up and restoring DB2 UDB databases . . Supported environments . . . . . . . . Best practices . . . . . . . . . . . . Configuring Tivoli Storage Manager FastBack for online back up of DB2 UDB . . . . . . Recovering operating system partitions using Disk Restore . . . . . . . . . . . . . . .
140 140 141 141 142 143 143 144 145 145 145 147 147 148 149 151 152 152 154 154 155 157 158 158 158 160 161
Configuring the data source (Windows only) . . Running and viewing reports (Windows only) . Problem determination (Windows only) . . .
179
. . .
. . .
. . .
. . .
. . .
. . .
Notices . . . . . . . . . . . . . . 241
Trademarks . . . . . . . . . . . . . . 243
Glossary . . . . . . . . . . . . . 245
Contents
vi
Preface
This publication documents how to install, configure, and use IBM Tivoli Storage Manager FastBack Version 6.1.3.0.
Publications
Tivoli Storage Manager FastBack publications and other related publications are available online. You can search publications in the Tivoli Storage Manager FastBack Information Center: http://publib.boulder.ibm.com/infocenter/tsmfbinf/v6/index.jsp You can download PDF versions of publications from the Tivoli Storage Manager FastBack Information Center or from the IBM Publications Center at http://www.ibm.com/shop/publications/order/.
Support information
You can get support information for IBM products from a variety of sources.
vii
If you still cannot find the solution to the problem, you can search forums and newsgroups on the Internet for the latest information that might help you resolve your problem. To share your experiences and learn from others in the user community, go to the Tivoli Storage Manager wiki at http://www.ibm.com/ developerworks/wikis/display/tivolistoragemanager/Home.
viii
Online: Go to the Passport Advantage Web page at http://www.ibm.com/ software/lotus/passportadvantage/, and click How to enroll, and follow the instructions. By phone: For the phone number to call in your country, go to the IBM Software Support Handbook Web page at http://www14.software.ibm.com/ webapp/set2/sas/f/handbook/home.html and click Contacts. v For server software products, you can purchase a software maintenance agreement by working directly with an IBM sales representative or an IBM Business Partner. For more information about support for server software products, go to the IBM Technical support advantage Web page at http://www.ibm.com/servers/. If you are not sure what type of software maintenance contract you need, call 1800IBMSERV (18004267378) in the United States. For a list of telephone numbers of people who provide support for your location, go to the Software Support Handbook page at http://www14.software.ibm.com/webapp/set2/sas/f/ handbook/home.html.
Preface
ix
Documentation changes
Documentation changes were made in support of Tivoli Storage Manager FastBack, Version 6.1.3.0. The following changes were made to this publication: Windows Server 2008 R2 Tivoli Storage Manager FastBack supports installation of the FastBack Server and related components on a Microsoft Windows Server 2008 R2 operating system. Updates based on changes made to the software to fix defects and to respond to problem reports are also provided in this publication.
System components
Tivoli Storage Manager FastBack consists of the following components and services: FastBack Server (Windows only) A server dedicated to running Tivoli Storage Manager FastBack. The FastBack Server performs block-level snapshots. The server connects directly to the storage area network (SAN) and local area network (LAN), and, for direct-attached storage (DAS) environments, moves snapshot data through the LAN. If a SAN is present, the server can be configured to move snapshot data directly through the SAN. The snapshot data is copied from the protected system, through the FastBack Server, and into the repository. The repository can be on any designated disk as a disk, volume, or folder repository. The FastBack Server provides the following functionality: v Tracking of all snapshots. v Transferring snapshot data through SAN or LAN. v Volume restoring and use of Tivoli Storage Manager FastBack for Bare Machine Recovery through FastBack Manager. v Security with Active Directory and built-in mechanisms. FastBack Client This component backs up used or changed disk blocks. FastBack Mount This service enables the mounting of any snapshot volume from the repository. You can view the snapshot locally, with read-only access, on the client system. FastBack Mount is used to restore individual files or folders (file-level restore) or volumes (instant restore). With FastBack Mount, you can complete the following tasks: v Verify snapshots v File or folder-level restore v v v v Volume-level restore Database verification Back up to tape (Linux only) Specify a local destination partition
FastBack Watchdog (Windows only) A service that monitors the status of the backup server. The service determines if the server is down. If the status is down, the service sends an email to the system administrator about the server status. FastBack DR Hub Server (Windows only) A server that stores the backup repository at an off-site location, often referred to as a disaster recovery site. The FastBack Server replicates the backup repository. The FastBack DR Hub Server works on top of an existing standard FTP server. The FastBack DR Hub Server uses a proprietary protocol with the standard FTP protocol. The FastBack Disaster Recovery protocol uses the standard FTP over SSL to ensure a secure transfer of data. The FastBack DR Hub Server is sometimes referred to as the FastBack Disaster Recovery Hub Server, the FastBack Disaster Recovery Hub, and the DR Hub Server.
FastBack Reporting (Windows only) A service that summarizes how repositories, policies, and snapshots consume resources in your network environment. FastBack Reporting uses the Tivoli Common Reporting tool to run and view reports. In addition, Tivoli Storage Manager FastBack provides the following interfaces: FastBack Manager FastBack Manager is a standalone, Java-based graphical user interface. You can use the FastBack Manager to initiate a variety of tasks, such as: v v v v v v v Managing the snapshot repository Scheduling snapshots Determining the result of backup jobs Monitoring which snapshots are completed, in-process and pending Performing data recovery Monitoring Tivoli Storage Manager FastBack system events Configuring and managing user group privileges and security authentications for specific users
Multiple remote FastBack Manager sessions can be active simultaneously so different users can simultaneously access the FastBack Server. Central Control Station (Windows only) A Microsoft Foundation Class (MFC) graphical user interface that provides a view of status files stored for the FastBack DR Hub Server database. When at the disaster recovery location, you can use Central Control Station with FastBack Manager to administer all remote FastBack Servers. Administrative Command Line The command line interface used to access Tivoli Storage Manager FastBack functions. The Administrative Command Line is sometimes referred to as the FastBack Shell. The following figure shows the high-level architecture of Tivoli Storage Manager FastBack in the branches:
The following figure shows the global architecture for Tivoli Storage Manager FastBack:
Branches
Tivoli Storage Manager FastBack Monitoring the Data Center Monitors replicated snapshots Monitors events in the branches
Short Term
Data Center
Vault
Short Term
Internet or WAN
Short Term
Backup consolidation Over Internet or WAN End-to-end security Optimal bandwidth requirements
Short Term
Tape
Data deduplication
Data deduplication is a method of eliminating redundant data in sequential-access disk (FILE) primary, copy, and active-data storage pools. One unique instance of the data is retained on storage media, and redundant data is replaced with a pointer to the unique data copy. The goal of deduplication is to reduce the overall amount of time that is required to retrieve data by letting you store more data on volumes and in folders, rather than on tape. | | | | | FastBack data deduplication is a service that runs on the FastBack Server system. When you use data deduplication, extra disk I/O and processor resources are required. Data deduplication is only available for Tivoli Storage Manager FastBack version 6.1.0 (or later). For more information about the hardware requirements related to data deduplication, see Hardware requirements on page 21. To start FastBack data deduplication, you must identify a repository (either a volume or folder) as the data deduplication repository. This repository must be on a local volume or folder and cannot be on remote storage. Only one repository can be identified for data deduplication. If you are going to identify a repository as the data deduplication repository, you must complete this step when you create the repository. Data deduplication repositories and non-data deduplication repositories are mutually exclusive. Therefore, you cannot have a data deduplication repository and a non-data deduplication repository on the same FastBack Server. In addition, you cannot migrate from data deduplication repositories to non-data deduplication repositories, nor can you migrate from non-data deduplication repositories to data deduplication repositories. For more information about identifying a repository for data deduplication, see Creating repositories on page 91. Note: When using Tivoli Storage Manager FastBack, FastBack data deduplication might be referred to as dedupe. If you see the term dedupe, the term is a reference to data deduplication. Note: Continuous Data Protection is not supported on repositories used with data deduplication.
the repository data to Tivoli Storage Manager server storage instead of to an FTP server. This task is accomplished by using the Tivoli Storage Manager API instead of Win32 calls on the local file system. As shown in Figure 3 on page 7, the following events occur during Disaster Recovery processing: 1. FastBack Disaster Recovery Hub server connects to the Tivoli Storage Manager server to organize the replicated data using the Tivoli Storage Manager API. 2. FastBack Mount, Tivoli Storage Manager FastBack Central Control Station, and Tivoli Storage Manager FastBack for Bare Machine Recovery use the Tivoli Storage Manager API to access the replicated data on the FastBack Disaster Recovery Hub server connects to the Tivoli Storage Manager server. 3. FastBack Server connects to the Tivoli Storage Manager server as a node and copies the data into a file space. 4. The Disaster Recovery process can be configured to connect regularly with this server node or to connect with a different node. The different node is referred to as the virtual node and is specified with the asnodename option. 5. The FastBack Disaster Recovery Hub server accesses the Disaster Recovery Data with the virtual node of the branch being accessed. This access occurs because a node cannot view data that is defined to a different node. The node defined for the FastBack Disaster Recovery Hub server has permissions to connect as all the nodes participating in Disaster Recovery operations. The FastBack DR Hub Server sends the node name and password each time it connects to a Tivoli Storage Manager server. This credential method allows multiple FastBack Servers to connect by using the same node credentials. A node can also be registered on the Tivoli Storage Manager server for recovery purposes. Such registration enables the Tivoli Storage Manager FastBack for Bare Machine Recovery process to use those same credentials when connecting to the Tivoli Storage Manager server. The availability of using the regular node or the virtual node provides flexibility, security, and separation between branches. See Configuring Tivoli Storage Manager FastBack Wide Area Network deduplication on page 186 for detailed instructions.
Application
FastBack client
FastB
Application
FastBack client
FastB
FastBack server
FastBack repository
FastBa
Here is some Here is some data. Use this Here is some data. Use this Here is some data. some Here information to is Use this information to data. Use thisyour information data.configure to Use this configure your information to system configure your information to and system and configure your get your system and configure things up get things up system running. and getand things up system running. and getand things up getand running. things up and running. and running.
FastBa
FastBack server
Remote Office
TSM API
WAN
data deduplication
TSM API
TSM API
FastBack data deduplication repository on the Tivoli Storage Manager storage pool
Here is some Here is some data. Use this Here is some data. Use this Here is some data. some Here information to is Use this information to data. Use thisyour information data.configure to Use this configure your information to system configure your information to and system and configure your get your system and configure things up get things up system running. and getand things up system running. and getand things up getand running. things up and running. and running.
Data Center
Chapter 2. Planning
This release of Tivoli Storage Manager FastBack is supported on a limited number of operating systems. Before beginning the Tivoli Storage Manager FastBack installation, verify that your system is running a supported operating system, and that you meet all hardware and software requirements. Tivoli Storage Manager FastBack supports any disk configuration that is supported by the hardware and operating system. The disk configuration includes multi-path device drivers. The following device drivers have been tested as part of the Tivoli Storage Manager FastBack 6.1.0.0 release: v SVC - SDD v SVC - SDD (MPIO) v DS3400 RDAC v DS8000 - SDD For those that have not been tested yet, if problems occur, the problems are treated as technical support issues and will work with third party vendors to resolve issues that might occur. Multi-path device driver issues are not anticipated. However, if the controller is not on the list of controllers that have been tested as part of the Tivoli Storage Manager FastBack 6.1.0.0 release, a Proof of Concept can help ensure controller compatibility with Tivoli Storage Manager FastBack. | | Tivoli Storage Manager FastBack does not support backing up of volumes larger than 2 TB. Ensure to check that the volume you are backing up is less than 2 TB.
Operating systems
Before installing , make sure you use a supported operating system.
Table 1. Operating systems for FastBack Server (continued) Operating system and supported release Microsoft Windows 2008 32-bit for the following servers: v Standard Server v Enterprise Server v Datacenter Server v Web Server v Storage Server v Small Business Server v Essential Business Server Microsoft Windows XP Professional Edition, Service Pack 2 or later v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x86 (32 bit) instruction set architecture. v Supports 32-bit processors. Support details v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x86 (32 bit) instruction set architecture. v Supports 32-bit processors. v If you use Active Directory with Microsoft Windows 2008, see the Microsoft Knowledge Base article 970770 online at http://support.microsoft.com/ default.aspx?scid=kb;EN-US;970770 . Download the hotfix associated with this knowledge base article.
| | | | | |
v Supports the x64 (64 bit) instruction set architecture only. v Boot and Windows operating system partitions must be formatted in NTFS.
Tivoli Storage Manager FastBack supports a single repository volume or folder to a maximum size of 16 TB provided GUID partition table (GPT) disks or network attached storage (NAS) volumes are attached to the FastBack Server. This applies to both data deduplication and non-data deduplication repositories. Note: The required repository size is three times the data size the server is backing up. The preferred repository size is five times the original data size.
FastBack Client
The following table provides details about operating systems that are supported for FastBack Client.
Table 2. Operating systems for FastBack Client Operating system and supported release Microsoft Windows 2000, Service Pack 3 or later for the following servers: v Standard Server v Advanced Server v Professional Server Microsoft Windows 2003, Service Pack 1 or later for the following servers: v Standard Server v Enterprise Server v Storage Server v Storage R2 Server v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x86 (32 bit) and x64 (AMD64 and EM64T) instruction set architecture. v Supports 32-bit and 64-bit processors. Support details v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x86 (32 bit) instruction set architecture. v Supports 32-bit and 64-bit processors.
10
Table 2. Operating systems for FastBack Client (continued) Operating system and supported release Microsoft Windows 2003 64-bit Edition Support details v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x64 (AMD64 and EM64T) and IA64 (Intel Itanium) instruction set architecture. v Supports 64-bit processors. Microsoft Windows 2008, Service Pack 1 or later for the following servers: v Standard Server v Enterprise Server v Datacenter Server v Web Server v Storage Server v Small Business Server v Essential Business Server Microsoft Windows 2008, R2 or later for the following servers: v Standard Server v Enterprise Server v Datacenter Server v Web Server v Storage Server v Small Business Server v Essential Business Server Microsoft Windows Vista, Service Pack 1 or later: v Starter v Home Basic v Home Premium v Business v Enterprise v Ultimate Microsoft Windows XP Professional Edition, Service Pack 2 or later v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x86 (32 bit) instruction set architecture. v Supports 32-bit processors. v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x86 (32 bit), x64 (AMD64 and EM64T), and IA64 (Intel Itanium) instruction set architecture. v Supports 32-bit and 64-bit processors. v If you use Active Directory with Microsoft Windows 2008, see the Microsoft Knowledge Base article 970770 online at http://support.microsoft.com/ default.aspx?scid=kb;EN-US;970770 . Download the hotfix associated with this knowledge base article. v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x64 (AMD64 and EM64T) and IA64 (Intel Itanium) instruction set architecture. v Supports 64-bit processors. v If you use Active Directory with Microsoft Windows 2008, see the Microsoft Knowledge Base article 970770 online at http://support.microsoft.com/ default.aspx?scid=kb;EN-US;970770 . Download the hotfix associated with this knowledge base article. v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x86 (32 bit) and x64 (AMD64 and EM64T) instruction set architecture. v Supports 32-bit and 64-bit processors.
Chapter 2. Planning
11
Table 2. Operating systems for FastBack Client (continued) Operating system and supported release Red Hat Enterprise Linux 5.2 Server Support details v Operating system partitions must be formatted in EXT2 and EXT3 file systems. v Supports the x86 (32 bit) instruction set architecture. v Supports 32-bit and 64-bit processors. v SCSI and SATA discs are supported. v IDE devices are supported. v The following kernels are supported: RedHat-i386: 2.6.18-92.e15.i686 and 2.6.18-92.e15.i686 PAE RedHat-x86_64: 2.6.18-92.el5-x86_64 v The following library is required: libstdc++ v Master boot record (MBR) and logical volume manager (LVM) are supported. For LVM, the support is only provided for volumes on a single partition where the volume occupies one set of contiguous extents. Instant restore to LVM partitions is not supported. v Simple volume configurations are supported. A simple volume is a volume with data stored on one partition and has been allocated with contiguous extents. The simple volume should be physically located on one disk, with no special software based volume management characteristics, such as RAID 0, RAID 1, or RAID 5. v Advanced volume management configurations are not supported. No dynamic disk support. SUSE Linux Enterprise Server 10, Service Pack 2 v Operating system partitions must be formatted in EXT2, EXT3 and Reiser file systems. v Supports the x86 (32 bit) instruction set architecture. v Supports 32-bit and 64-bit processors. v SCSI and SATA discs are supported. v IDE devices are supported. v The following kernels are supported: SUSE-i386: 2.6.16.60-0.21default, 2.6.16.60-0.21smp and 2.6.16.60-0.21bigsmp SUSE-x86_64: 2.6.16.60-0.21default and 2.6.16.60-0.21smp For all kernel versions, auto mount is not supported. v Master boot record (MBR) and logical volume manager (LVM) are supported. For LVM, the support is only provided for volumes on a single partition where the volume occupies one set of contiguous extents. Instant restore to LVM partitions is not supported. v Simple volume configurations are supported. A simple volume is a volume with data stored on one partition and has been allocated with contiguous extents. The simple volume should be physically located on one disk, with no special software based volume management characteristics, such as RAID 0, RAID 1, or RAID 5. v Advanced volume management configurations are not supported. No dynamic disk support.
12
| | | |
A maximum of 40 clients are allowed to connect to a FastBack Server, and a single FastBack Server protects production data up to a maximum size of 8 TB. As with prior releases, the maximum size of a repository on disk repository object is 2 TB. Note: (Windows only) Support is not provided for applications that use SCSI Pass Through Interface (SPTI) or SCSI Pass Through Direct (SPTD) for performing read and write operations. You cannot back up or use instant restore while applications that use SPTI or SPTD are running. If you try to back up or use instant restore while applications that use SPTI or SPTD are running, it might appear that the back up or instant restore was completed, but the data can be corrupted.
Chapter 2. Planning
13
Table 3. Operating systems for Administrative Command Line (continued) Operating system and supported release Microsoft Windows 2008, R2 or later for the following servers: v Standard Server v Enterprise Server v Datacenter Server v Web Server v Storage Server v Small Business Server v Essential Business Server Microsoft Windows Vista, Service Pack 1 or later: v Starter v Home Basic v Home Premium v Business v Enterprise v Ultimate Microsoft Windows XP Professional Edition, Service Pack 2 or later v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x86 (32 bit) instruction set architecture. v Supports 32-bit processors. Red Hat Enterprise Linux 5.2 Server v Operating system partitions must be formatted in EXT2 and EXT3 file systems. v Supports the x86 (32 bit) instruction set architecture. v Supports 32-bit and 64-bit processors. v SCSI and SATA discs are supported. v IDE devices are supported. v The following kernels are supported: RedHat-i386: 2.6.18-92.e15.i686 and 2.6.18-92.e15.i686 PAE RedHat-x86_64: 2.6.18-92.el5-x86_64 v The following library is required: libstdc++ v For all kernel versions, auto mount is not supported. Support details v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x64 (AMD64 and EM64T) and IA64 (Intel Itanium) instruction set architecture. v Supports 64-bit processors. v If you use Active Directory with Microsoft Windows 2008, see the Microsoft Knowledge Base article 970770 online at http://support.microsoft.com/ default.aspx?scid=kb;EN-US;970770 . Download the hotfix associated with this knowledge base article. v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x86 (32 bit) and x64 (AMD64 and EM64T) instruction set architecture. v Supports 32-bit and 64-bit processors.
14
Table 3. Operating systems for Administrative Command Line (continued) Operating system and supported release Support details
SUSE Linux Enterprise Server v Operating system partitions must be formatted in EXT2, 10, Service Pack 2 EXT3 and Reiser file systems. v Supports the x86 (32 bit) instruction set architecture. v Supports 32-bit and 64-bit processors. v SCSI and SATA discs are supported. v IDE devices are supported. v The following kernels are supported: SUSE-i386: 2.6.16.60-0.21default, 2.6.16.60-0.21smp and 2.6.16.60-0.21bigsmp SUSE-x86_64: 2.6.16.60-0.21default and 2.6.16.60-0.21smp For all kernel versions, auto mount is not supported.
FastBack Mount
The following table provides details about operating systems that are supported for FastBack Mount.
Table 4. Operating systems for FastBack Mount Operating system and supported release Microsoft Windows 2000, Service Pack 3 or later for the following servers: v Standard Server v Advanced Server v Professional Server Microsoft Windows 2003, Service Pack 1 or later for the following servers: v Standard Server v Enterprise Server v Storage Server v Storage R2 Server Microsoft Windows 2003 64 bit Edition v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x64 (AMD64 and EM64T) and IA64 (Intel Itanium) instruction set architecture. v Supports 64-bit processors. v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x86 (32 bit) and x64 (AMD64 and EM64T) instruction set architecture. v Supports 32-bit and 64-bit processors. Support details v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x86 (32 bit) instruction set architecture. v Supports 32-bit and 64-bit processors.
Chapter 2. Planning
15
Table 4. Operating systems for FastBack Mount (continued) Operating system and supported release Microsoft Windows 2008, Service Pack 1 or later for the following servers: v Standard Server v Enterprise Server v Datacenter Server v Web Server v Storage Server v Small Business Server v Essential Business Server Microsoft Windows 2008, R2 or later for the following servers: v Standard Server v Enterprise Server v Datacenter Server v Web Server v Storage Server v Small Business Server v Essential Business Server Microsoft Windows Vista, Service Pack 1 or later: v Starter v Home Basic v Home Premium v Business v Enterprise v Ultimate Microsoft Windows XP Professional Edition, Service Pack 2 or later v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x86 (32 bit) instruction set architecture. v Supports 32-bit processors. Support details v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x86 (32 bit), x64 (AMD64 and EM64T), and IA64 (Intel Itanium) instruction set architecture. v Supports 32-bit and 64-bit processors. v If you use Active Directory with Microsoft Windows 2008, see the Microsoft Knowledge Base article 970770 online at http://support.microsoft.com/ default.aspx?scid=kb;EN-US;970770 . Download the hotfix associated with this knowledge base article. v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x64 (AMD64 and EM64T) and IA64 (Intel Itanium) instruction set architecture. v Supports 64-bit processors. v If you use Active Directory with Microsoft Windows 2008, see the Microsoft Knowledge Base article 970770 online at http://support.microsoft.com/ default.aspx?scid=kb;EN-US;970770 . Download the hotfix associated with this knowledge base article. v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x86 (32 bit) and x64 (AMD64 and EM64T) instruction set architecture. v Supports 32-bit and 64-bit processors.
16
Table 4. Operating systems for FastBack Mount (continued) Operating system and supported release Red Hat Enterprise Linux 5.2 Server Support details v Operating system partitions must be formatted in EXT2 and EXT3 file systems. v Supports the x86 (32 bit) instruction set architecture. v Supports 32-bit and 64-bit processors. v SCSI and SATA discs are supported. v IDE devices are supported. v The following kernels are supported: RedHat-i386: 2.6.18-92.e15.i686 and 2.6.18-92.e15.i686 PAE RedHat-x86_64: 2.6.18-92.el5-x86_64 v Perl version 5 on Linux systems v mdadm tool for managing Linux Software RAID arrays v iSCSI Initiator for Linux package iscsi-initiator-utils6.2.0.868-0.7.el5 v Secure Shell (SSH) client for Linux SUSE Linux Enterprise Server v Operating system partitions must be formatted in EXT2, 10, Service Pack 2 EXT3 and Reiser file systems. v Supports the x86 (32 bit) instruction set architecture. v Supports 32-bit and 64-bit processors. v SCSI and SATA discs are supported. v IDE devices are supported. v The following kernels are supported: SUSE-i386: 2.6.16.60-0.21default, 2.6.16.60-0.21smp and 2.6.16.60-0.21bigsmp SUSE-x86_64: 2.6.16.60-0.21default and 2.6.16.60-0.21smp For all kernel versions, auto mount is not supported. v Perl version 5 on Linux systems v mdadm tool for managing Linux Software RAID arrays v iSCSI Initiator for Linux v Secure Shell (SSH) client for Linux
You can only use instant restore, part of FastBack Mount, with mounted volumes. Note: (Windows only) Support is not provided for applications that use SCSI Pass Through Interface (SPTI) or SCSI Pass Through Direct (SPTD) for performing read and write operations. You cannot back up or use instant restore while applications that use SPTI or SPTD are running. If you try to back up or use instant restore while applications that use SPTI or SPTD are running, it might appear that the back up or instant restore was completed, but the data can be corrupted.
FastBack Manager
The following table provides details about operating systems that are supported for FastBack Manager.
Chapter 2. Planning
17
Table 5. Operating systems for FastBack Manager Operating system and supported release Microsoft Windows 2000, Service Pack 3 or later for the following servers: v Standard Server v Advanced Server v Professional Server Microsoft Windows 2003, Service Pack 1 or later for the following servers: v Standard Server v Enterprise Server v Storage Server v Storage R2 Server Microsoft Windows 2008 32-bit for the following servers: v Standard Server v Enterprise Server v Datacenter Server v Web Server v Storage Server v Small Business Server v Essential Business Server Microsoft Windows 2008, R2 or later for the following servers: v Standard Server v Enterprise Server v Datacenter Server v Web Server v Storage Server v Small Business Server v Essential Business Server Microsoft Windows XP Professional Edition, Service Pack 2 or later v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x64 (AMD64 and EM64T) and IA64 (Intel Itanium) instruction set architecture. v Supports 64-bit processors. v If you use Active Directory with Microsoft Windows 2008, see the Microsoft Knowledge Base article 970770 online at http://support.microsoft.com/ default.aspx?scid=kb;EN-US;970770 . Download the hotfix associated with this knowledge base article. v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x86 (32 bit) instruction set architecture. v Supports 32-bit processors. v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x86 (32 bit) instruction set architecture. v Supports 32-bit processors. v If you use Active Directory with Microsoft Windows 2008, see the Microsoft Knowledge Base article 970770 online at http://support.microsoft.com/ default.aspx?scid=kb;EN-US;970770 . Download the hotfix associated with this knowledge base article. v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x86 (32 bit) instruction set architecture. v Supports 32-bit and 64-bit processors. Support details v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x86 (32 bit) instruction set architecture. v Supports 32-bit and 64-bit processors.
18
Table 5. Operating systems for FastBack Manager (continued) Operating system and supported release Red Hat Enterprise Linux 5.2 Server Support details v Operating system partitions must be formatted in EXT2 and EXT3 file systems. v Supports the x86 (32 bit) instruction set architecture. v Supports 32-bit and 64-bit processors. v SCSI and SATA discs are supported. v IDE devices are supported. v The following kernels are supported: RedHat-i386: 2.6.18-92.e15.i686 and 2.6.18-92.e15.i686 PAE RedHat-x86_64: 2.6.18-92.el5-x86_64 v The following library is required: libstdc++ SUSE Linux Enterprise Server v Operating system partitions must be formatted in EXT2, 10, Service Pack 2 EXT3 and Reiser file systems. v Supports the x86 (32 bit) instruction set architecture. v Supports 32-bit and 64-bit processors. v SCSI and SATA discs are supported. v IDE devices are supported. v The following kernels are supported: SUSE-i386: 2.6.16.60-0.21default, 2.6.16.60-0.21smp and 2.6.16.60-0.21bigsmp SUSE-x86_64: 2.6.16.60-0.21default and 2.6.16.60-0.21smp
Chapter 2. Planning
19
Table 6. Operating systems for FastBack DR Hub Server, including FastBack Disaster Recovery and Central Control Station (continued) Operating system and supported release Microsoft Windows 2008: v Standard Server v Enterprise Server v Datacenter Server v Web Server v Storage Server v Small Business Server v Essential Business Server Microsoft Windows XP Professional Edition, Service Pack 2 or later Support details v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x86 (32 bit) instruction set architecture. v Supports 32-bit and 64-bit processors. v If you use Active Directory with Microsoft Windows 2008, see the Microsoft Knowledge Base article 970770 online at http://support.microsoft.com/ default.aspx?scid=kb;EN-US;970770 . Download the hotfix associated with this knowledge base article. v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x86 (32 bit) instruction set architecture. v Supports 32-bit processors.
The following table provides details about operating systems that are supported for FastBack Disaster Recovery with File Transfer Protocol.
Table 7. Operating systems for FastBack Disaster Recovery with File Transfer Protocol Operating system and supported release Microsoft Windows 2003, Service Pack 1 with hot fix KB931319 Support details v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x86 (32 bit) instruction set architecture. v Supports 32-bit and 64-bit processors. Microsoft Windows 2003, Service Pack 2 v Boot and Windows operating system partitions must be formatted in NTFS. v Supports the x86 (32 bit) instruction set architecture. v Supports 32-bit and 64-bit processors.
20
The following list summarizes support for virtual machines and virtualization: VMware ESX guest Tivoli Storage Manager FastBack products and components are supported for backup and recovery within the VMware ESX virtual guest. When you add a repository using VMware ESX virtual guest, use either a folder or volume for the repository. Other types of repositories cannot be added when using VMware ESX virtual guest. Microsoft Hyper-V virtual guest Tivoli Storage Manager FastBack products and components are supported for backup and recovery within the Microsoft Hyper-V virtual guest. Backup of the Hyper-V virtual machines from the parent partition using MicrosoftVolume Shadow Copy Services (VSS) is not supported. When you add a repository using Microsoft Hyper-V virtual guest, use either a folder or volume for the repository. Other types of repositories cannot be added when using Microsoft Hyper-V virtual guest.
Hardware requirements
A local FastBack Server is required. If you do not want to use a separate server for back up, a FastBack Server needs to be collocated on an application server. Hardware requirements vary and depend on the following items: v v v v v Number of protected servers Number of protected volumes Data set sizes LAN and SAN connectivity Repository disk throughput
2 GB RAM, 2 GB virtual address space 200 MB for 'Documents and Settings' folder Note: For a FastBack Server with data deduplication enabled, the minimum requirement is 1 GB. 1 NIC - 100 Mbps
NIC Card
1 NIC - 1 Gbps
After you install the software for the FastBack Server, you need to create a repository to back up data. For more information about creating a repository, see
Chapter 2. Planning
21
Creating repositories on page 91. Before you create a repository, ensure your repository meets the following requirements: v In a production environment, at a minimum, the repository should be able to store three times the size of the data on the server that is being backed up. v The preferred size of the repository is five times the size of the data on the server that is being backed up. | | v The minimum repository IO speed is 25 MB per second and the recommended IO speed is 40 MB per second. Depending on the environment you plan to use, adjust the repository size accordingly. If you enable FastBack data deduplication, you are limited to one FastBack Server repository. Note: FastBack Server might fail to work with the assigned NIC. As a result, all communication to the FastBack Server service fails. This problem can occur if the NetBIOS over TCP/IP setting is disabled. For the NIC card used by the FastBack Server, set the NetBIOS setting to Default or Enable. If FastBack Server does not work with the NIC card, no errors are written to the log files. The FastBack Server service runs. The only indication of the problem is the following error reported to the Windows Application Event log: FBSS7062E - FastBack Server failed to launch due to problem with a Network component. You can correct the problem by verifying the NetBIOS setting.
As stated in the software requirements section, FastBack Reporting requires that you install IBM Tivoli Common Reporting, Version 1.2, Fix Pack 1. All hardware requirements for Tivoli Common Reporting, Version 1.2, Fix Pack 1 must be met
22
before you install Tivoli Common Reporting and FastBack Reporting. For more information about Tivoli Common Reporting hardware requirements, see http://publib.boulder.ibm.com/infocenter/tivihelp/v3r1/topic/ com.ibm.tivoli.tcr.doc/ttcr_install.html. | | | Restriction: IBM Tivoli Common Reporting does not support Windows Server 2008 R2. As a result, FastBack Reporting is not available on Windows Server 2008 R2 operating systems.
(Linux only) The following table describes the hardware requirements that are needed to install a FastBack Client on a supported Linux operating system. In the installation wizard the FastBack Client is also referred to as a backup client.
Table 11. Hardware requirements for FastBack Client on a supported Linux operating system Component System Memory Available hard disk Communication protocol Minimal requirement 1 GHz Intel Pentium III or higher 1 GB RAM, 2 GB virtual address space 4 GB for the /opt directory TCP/IP Version 4 or Version 6 (standard with Linux shared memory protocol) Preferred dual core 2 GHz Intel Pentium III or higher 4 GB RAM, 2 GB virtual address space 4 GB for the /opt directory TCP/IP Version 4 or Version 6 (standard with Linux shared memory protocol)
Chapter 2. Planning
23
Table 12. Hardware requirements for FastBack DR Hub Server (continued) Component Memory Available hard disk NIC Card Minimal requirement 2 GB RAM, 2 GB virtual address space 200 MB for 'Documents and Settings' folder 1 NIC - 100 Mbps Preferred 3 GB RAM, 2 GB virtual address space not applicable 1 NIC - 1 Gbps
There are bandwidth requirements to consider when using snapshots to back up data. The following three tables provide parameters you can use when you run snapshots. The data capacity column refers to the amount of data being replicated to a FastBack DR Hub Server. The required WAN/Internet upload speed column refers to the minimum acceptable upload speed for a replication operation. The T1, T2, T3, ADSL, and VDSL columns indicate if data capacity can be transmitted at the required speed over the type of transmission standard in the maximum allowed delivery time of 120 hours. The following table describes the bandwidth requirements that are needed for an initial, full snapshot. The following assumptions apply to these bandwidth requirements: v Compression ratio - 2:1 v Maximum allowed delivery time - 120 hours (5 days) v Protocol overhead - 10 percent
Table 13. Bandwidth requirements for an initial, full snapshot Required WAN / Internet upload speed (Kbit / s) T1 500 1,000 2,000 3,000 5,000 10,000 Yes Yes No No No No
Data capacity (GB) Branch 1 Branch 2 Branch 3 Branch 4 Branch 5 Branch 6 50 100 200 300 500 1,000
The following table describes the bandwidth requirements that are needed for an initial, full snapshot with 75 percent minimal quality of service. The following assumptions apply to these bandwidth requirements: v Compression ratio - 2:1 v Maximum allowed delivery time - 120 hours (5 days) v Protocol overhead - 10 percent v Minimal quality of service - 75 percent
24
Table 14. Bandwidth requirements for an initial, full snapshot with 75 percent minimal quality of service Data capacity (GB) Branch 1 Branch 2 Branch 3 Branch 4 Branch 5 Branch 6 50 100 200 300 500 1,000 Required WAN / Internet upload speed (Kbit / s) 800 1,600 3,150 4,750 8,000 16,000
T1 Yes No No No No No
The following table describes the bandwidth requirements that are needed for a daily incremental snapshot. The following assumptions apply to these bandwidth requirements: v Compression ratio - 2:1 v Maximum allowed delivery time - 11 hours v Daily incremental changes - 3 percent v Protocol overhead - 10 percent v Minimal quality of service - 75 percent
Table 15. Bandwidth requirements for a daily incremental snapshot Required WAN / Internet Upload Speed (Kbit/s) 250 500 1,000 1,500 2,500 5,000
Data capacity (GB) Branch 1 Branch 2 Branch 3 Branch 4 Branch 5 Branch 6 50 100 200 300 500 1,000
When using FastBack Disaster Recovery with Tivoli Storage Manager WAN data deduplication, performance might be impacted because of increased I/O demands. It is recommended that the processor and memory capabilities of the FastBack Disaster Recovery Hub Server be significantly increased to accommodate data deduplication processing. See FastBack DR Hub Server requirements (Windows only) on page 23.
25
2. For the SAN environment, assuming that the servers and the disks are already connected to the SAN switch, you must have a Fibre Channel switch with at least one available port reserved for the FastBack Server. You might use a Fibre Channel hub or point-to-point connection instead of a switch. The system that is used for FastBack Manager must be connected to the IP network. This system could be one of the servers, a standard laptop, or a standard desktop system. Use a static IP address for the network interface cards on the system used for the FastBack Server. To run FastBack Mount, the system that runs FastBack Mount must have access to the repository through either the SAN (by direct access to disk) or LAN (by connecting to the shared repository on the FastBack Server. When using SAN backup, all client disks must have unique signatures. If some disks have identical signatures, it is necessary for the System Admin to complete the following steps to manually change the signatures: a. Open the command prompt. b. Navigate to the directory that contains the Change Disk Signature .exe and .bat files. These Change Disk Signature utilities are only available from IBM support. c. To change the disk signatures, run the appropriate utility as follows: v For Microsoft Windows 7 or Vista run the command ChangeSignatureVista.bat <disk_number> v For earlier versions of Windows run the command ChangeSignature.exe <disk_number>
3.
4. 5.
6.
Backup considerations
During the snapshot of any dynamic disk other than a simple volume, there is the potential for increased memory utilization on the protected server that might result in the snapshot not completing. This exposure exists when there is a lot of data changes when the snapshot is running.
26
Backup success is based on the amount of memory available and the I/O load for Copy-On-Write (COW) when the snapshot runs on the protected server. If the I/O activity causes available memory limits to be exceeded, a FastBack Client system is limited to no more than 2 GB virtual address space (32bit support limitation), the process aborts. The abort of a snapshot does not impact production I/O, but it does impact the Recovery Point Objective (RPO). This exposure does not exist on volumes that are mapped to a single LUN (for example, basic disks or simple dynamic disks). To alleviate the risk of these types of snapshots being aborted, complete the following tasks: 1. Reduce the quantity of Copy-On-Write data during a snapshot. For example, schedule snapshots during time periods with lower I/O activity. 2. Reduce the time required to complete a snapshot. For example, you can schedule more frequent snapshots. You need to balance the scheduling of frequent snapshots with the likelihood of encountering higher I/O activity when the snapshot runs. You can also reduce the time required to complete a snapshot by using a SAN backup, instead of a LAN backup. 3. Verify that the FastBack Server hardware is configured for optimal snapshot performance. For example, make sure you use the highest performing storage device for the FastBack Server repository. In addition, note that Continuous Data Protection is not supported for dynamic disks.
Restore considerations
Volume restore and instant restore are only possible to basic disks and to simple volumes, used in supported operating system environments. Restoring a volume to dynamic disk requires restoring the volume to a basic disk. After restoring the volume to a basic disk, convert the disk to dynamic disk. You cannot restore a volume directly to a dynamic disk. Regular bare machine recovery disks can be converted to dynamic disks by completing the following steps: 1. Log on as Administrator, or as a member of the Administrators group. 2. Open the Performance and Maintenance Control Panel, click Administrative Tools, and then double-click Computer Management. 3. In the left pane, click Disk Management. 4. In the lower-right pane, right-click the basic disk that you want to convert; then, click Convert to Dynamic Disk. Note: Right-click the gray area that contains the disk title on the left side of the Details pane. If it is not selected, select the check box next to the disk that you want to convert. Click OK. If you want to view the list of volumes in the disk, click Details. Click Convert. When prompted, click Yes.
5. 6. 7. 8.
9. Click OK.
Chapter 2. Planning
27
If you remove one of the two disks in the software mirror, the remaining signature changes for the disk. If this happens, complete the following steps: 1. Delete the new chain. 2. In the history.txt file, replace old signatures with the new signature for all snapshots from the old chain. To get this number, right click to select the remaining drive. Select Properties. The signature is displayed in the window.
28
e. After finishing the Cygwin installation wizard, add the Cygwin\bin directory to the Microsoft Windows %PATH% environment variable. The directory must be the first one in the %PATH% environment variable. Remember: Restart the system so the variable update can take effect. 2. On the system where you have installed or plan to install the Administrative Command Line, test the Cygwin installation. Remember: Before using Cygwin, review the Cygwin documentation for any issues that might affect your environment. To test the Cygwin installation, from the Micrsoft Windows Start menu, select Programs Cygnus Solutions Cygwin Bash Shell. A command prompt window should be displayed. This window is a bash shell. 3. On the system where you have installed or plan to install the Administrative Command Line with Cygwin, install the SSH daemon service. To install the SSH daemon service, complete the following steps: a. Enter the following commands to give read access to the /etc/passwd and /etc/group files:
chmod +r /etc/passwd chmod +r /etc/group
b. Enter the following command to give read access to the /var directory:
chmod 755 /var
c. From the Cygwin command prompt window, run the following command to create the SSH daemon service:
ssh-host-config
d. When a query about whether privilege separation should be used is posted in the command prompt window, enter no. e. When a query about whether a new local account named sshd should be created is posted in the command prompt window, enter yes. f. When a query about whether sshd should be installed as a service is posted in the command prompt window, enter yes. g. When a query asks you to enter the value of CYGWIN for the daemon, enter the following text: ntsec tty h. When a query ask if you want to use a different name, enter no. i. When a query asks if you want to create a new privileged user account named cyg_server, enter yes. j. When a query asks you to enter a password, enter a password. You are asked to reenter the password to confirm the entry. The host configuration is complete. A status message is displayed. k. At the prompt, enter the following command:
set CYGWIN ntsec tty
Also, add CYGWIN as a Microsoft Windows environment variable with the value ntsec tty. 4. Configure the authentication key files by logging on to the Linux system where FastBack Client is installed and completing these tasks: a. Issue this command and press Enter at all prompt questions:
ssh-keygen -t dsa
Chapter 2. Planning
29
c. Issue these commands from the Cygwin shell on the Windows server:
mkdir .ssh chmod 700 .ssh cd .ssh touch authorized_keys cat ../id_dsa.pub >> authorized_keys rm ../id_dsa.pub
d. Configure the SSH server to use the authentication files by editing the SSH service configuration file c:\cygwin\etc\sshd_config. Open this file and unmark these entries:
Protocol 2 HostKey /etc/ssh_host_dsa_key RSAAuthentication yes PubkeyAuthentication yes AuthorizedKeysFile
Update the AuthorizedKeysFile value to specify /home/Administrator/.ssh/ authorized_keys. e. Issue these commands from the Cygwin shell on the Windows server to restart the sshd service:
net stop sshd net start sshd
f. Verify that the Linux system can communicate with the Windows server system by issuing this command (from the Linux system):
ssh Administrator@windows_machine
SSH attempts to update the known_hosts file for each host name convention specified. For example, although each of these commands identify the same Windows Server, SSH attempts to add an entry to the known_hosts file for each host name:
ssh Administrator@windows_machine ssh Administrator@windows_machine.xyz.com
To prevent possible timeout errors due to authentication failure, implement one (or both) of these recommendations: v Consistently use the same host name convention when accessing the Windows Server. v Update the known_hosts file with all host name conventions associated with the Windows Server. Important: You must create authentication key files for each new client system. Therefore, complete Steps 4a through 4f for each client system. 5. Permit any host to connect using SSH to the server by editing the following file: C:\cygwin\etc\hosts.allow The following line needs to immediately precede the ALL : PARANOID : deny line:
sshd: ALL
6. After the FastBack Server, FastBack Client, and Administrative Command Line components are installed, from the Linux system where you have installed FastBack Client, connect to the FastBack Server system with Cygwin and the SSH daemon service. 7. Log on to the Administrative Command Line (without a password).
30
In addition to the Cygwin and SSH daemon service, the GNU C libraries, Version 2.3.3-98.38 or later are required.
Note: In this context, content aware support means that you can restore the files on a partition to the partition from where they originated. Important: Any hard disk that is backed up with Tivoli Storage Manager FastBack needs to have a disk signature, a disk identifier usually provided by the operating system. FastBack Client requires that every disk to be backed up has a unique and nonzero signature. Because hard disks for Linux operating systems frequently do not have such signature, such disk will not be counted by FastBack Client and will not be displayed in the FastBack Manager. The FastBack Disk Signature utility can be used to check and to change (if required) the disk signature of hard disk. The FastBack Disk Signature is the command line tool receiving only one argument, the name of the disk to check the signature for.
Chapter 2. Planning
31
To run the FastBack Disk Signature utility, complete the following steps: 1. From a command line window, change directories to the FastBack Client installation directory. By default, the path to this directory follows: /opt/IBM/Tivoli/TSM/FastBack/client 2. Use the following code examples to run the FastBack Disk Signature utility. The utility is called using the FastBackDiskSignature command. When the utility is called without parameters, the following output is printed:
#./FastBackDiskSignature Usage: ./dsig /dev/<disk_name>
When the provided disk name is invalid in the system, an error message is provided:
#./FastBackDiskSignature /dev/abc Invalid disk name: /dev/abc
If the given disk name is the correct the current disk signature value is displayed and the user is prompted to change it:
# ./FastBackDiskSignature /dev/sda Disk /dev/sda has signature 00000000. Enter new signature (Enter to put 4AE71A19, Ctrl-C to cancel): #./FastBackDiskSignature /dev/sda Disk /dev/sda has signature 30307800. Enter new signature (Enter to put 4AE71A22, Ctrl-C to cancel):
You can type a new signature or press enter to accept the suggested signature value. To exit the utility, enter CTRL-C.
32
The following ports have to be opened in a firewall, and the ports must be forwarded to FastBack Manager and FastBack Server: TCP UDP 11460 11461
The following ports have to be opened in a firewall, and the ports must be forwarded to the FastBack Server and FastBack Client: TCP TCP 11406 1320
The following ports have to be opened in a firewall, and the ports must be forwarded to the FastBack Server and FastBack Disaster Recovery Hub server: TCP (Active FTP) 20, 21, 1023 TCP (Passive FTP) 21, 1023 All the sensitive information such as user names, passwords, and domain names, is transferred using Triple DES encryption. FastBack Manager can connect to FastBack Server over T Carrier lines (T1, T2, T3). Usability is subject to quality of service of the connection.
Chapter 2. Planning
33
FastBack Mount
FastBack Mount uses the Microsoft Common Internet File System (CIFS) protocol to connect to the repository. Port 445 has to be open for FastBack Mount to work correctly. Users must be logged in locally in order to run FastBack Mount operations. FastBack Mount cannot be used when it is accessed through a remote desktop connection.
34
v If you want to restore a large amount of files from a virtual volume, created by FastBack Mount, prior to restoring, this volume should be excluded from anti-spyware, adware, and virus protection scanning.
Microsoft Cluster Server (MSCS) and Veritas Cluster Server (VCS) (Windows only)
During the installation of the FastBack Client software on the cluster nodes, you are required to restart the machine. Perform the client installation on one system at a time to ensure a smooth failover and failback operation. When you install the FastBack Client, by default, the SAN Module option is disabled. Use the FastBack Client Configurator to enable the SAN Module option. This setting is required for a cluster environment because when nodes switch, incremental delta block snapshots need to occur. In a cluster environment, every local disk at each node should have a different disk signature. For example, if disk1 on node1 has the same signature as disk1 on node2, an error might occur. For information about the FastBack Client Configurator, see Connecting client to server on page 81. When using Tivoli Storage Manager FastBack in a cluster environment, the following statements of support apply: v FastBack Client and FastBack Mount are supported in a cluster environment. FastBack Server is not supported in a cluster environment. v You can restore a Microsoft Exchange Server 2007 volume back up, either snapshot or CDP, taken from an LCR or CCR replica or production volume. v You can restore a Microsoft Exchange Server 2010 volume back up, either active database copy or passive database copy, taken from a Database Availability Group (DAG) or production volume.
Chapter 2. Planning
35
v In a cluster environment, when running bare machine recovery, direct bare machine recovery to a cluster disk, including a quorum disk, is not supported. However, you can remove the disk from the cluster before starting a bare machine recovery. After bare machine recovery is complete, you can return the disk to the cluster. v Volume restore to a volume on a cluster disk, including a quorum disk, is not supported. In this scenario, FastBack Mount should be used to retrieve data. v Cluster disks can only be backed up through the LAN. v Microsoft Exchange 2003 clusters running on Microsoft Windows 2003 are supported. v Microsoft SQL 2005 clusters running on Microsoft Windows 2008 (64 bit) are supported. For information about managing the Microsoft Cluster Server (MSCS) and Veritas Cluster Server (VCS) environments during restoration of a cluster volume using instant restore, see Instant restore for Microsoft Cluster Server (Windows only) on page 124 and Instant restore for Veritas Cluster Server (Windows only) on page 125.
36
37
v When the server and client are installed on the same system, disk-based repositories cannot be used. Volume and folder repositories can be used.
Prerequisite tasks
All applications relating to Tivoli Storage Manager FastBack should be closed before attempting to install, upgrade, maintain or uninstall the product. (Windows only) When you run the installation or upgrade process, use a Windows logon ID with Administrator authority. (Linux only) Run the installation process as the root user. The root user profile must be sourced. If you use the su command to switch to root, use the su command to source the root profile. (Linux only) Ensure that the file /etc/hosts contains the following text:
127.0.0.1 localhost
Before starting the installation or upgrade process for FastBack Server, disconnect the computer from the storage area network (SAN) by disconnecting the fiber optic cable. Reconnect the system only after the FastBack Server is installed or upgraded, and the system has been restarted. (Windows 2008 only) If you use a supported Microsoft Windows 2008 operating system for FastBack Client, Administrative Command Line, or FastBack Mount, read to the following list for before installing or upgrading: v The Tivoli Storage Manager FastBack installation log is deleted after completing the installation process and rebooting the system. By default, the fastbackinstall.log file is created in the %temp% directory during installation. v By default, all files that are located in the %temp% directory are deleted. To keep a copy of the fastbackinstall.log file, complete the following steps: 1. Run GPEDIT.MSC to open the Local Group Policy Editor.
38
2. Go to Computer Configuration Administrative Template Windows Components Terminal Services Terminal Server Temporary Folders. 3. Enable the following setting: Do not delete temp folder upon exit. You can use this setting to maintain session-specific temporary folders on a remote system, even if the user logs off from a session. v By default, Terminal Services deletes temporary folders when the user logs off. This setting only takes effect if per-session temporary folders are in use on the server. That is, if you enable the Do not use temporary folders per session setting, this setting has no effect.
v FastBack Manager Disaster Recovery Server (32 bit only) (Windows only) Install on the server that you use to back up a FastBack Server. When you select this option, you install the following components: v FastBack Manager v FastBack DR Hub Server v Central Control Station v Administrative Command Line v FastBack Mount v Documents Advanced Installs services and interfaces that you select. The space requirements for the options you select are displayed below the list of options.
39
The descriptions provided for the modules are brief. For more information, see the wizard for the installation process. When installing the Tivoli Storage Manager FastBack on 64-bit environments, you are given the option of a complete install or a custom install. You can install the full version by selecting complete or you can choose what services and interfaces to install by selecting the custom option.
40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
When Custom is selected, you are prompted to specify the destination folder where the FastBack Server is to be installed. Accept the default location C:\Program Files(x86)\Tivoli\TSM\FastBack or click Change to navigate to a different location. Click Next. 7. You are prompted to begin installation. Click Next to proceed. 8. When installation completes successfully, you can launch Tivoli Storage Manager FastBack by selecting the Launch IBM Tivoli Storage Manager FastBack for x64 option in the Installation Wizard Completed panel and clicking Finish. You are prompted to reboot the system. A system reboot is required for the FastBack Server to start properly. Click Yes. Tip: When installing the FastBack Server as a modification or repair, you are not prompted to reboot the system. However, a system reboot is still required for the FastBack Server to start properly.
Chapter 3. Installing and upgrading
41
| | | | | | | | | | |
After successfully installing the FastBack Server on a Windows Server 2008 R2 x64 system, see Chapter 5, Starting and configuring, on page 71 for more information about using Tivoli Storage Manager FastBack. If you start the executable file for the installation process after you complete the initial installation, a Program Maintenance window is displayed. From this window, there are three options: v Modify - Use this option to change the location of the installation. v Repair - This option provides the same choices as the Modify option. The instructions on the user interface indicate that this option can repair errors that occur during the installation process. At this time, this option does not work. v Remove - Use this option to uninstall Tivoli Storage Manager FastBack.
42
b. If you do not want to use the default installation directory, choose another installation directory. Click Next. c. Select Backup Client. Click Next. d. The components selected for installation are displayed. Click Next. e. Type the host name or IP address for the FastBack Server. Click Next. f. A pre-installation summary window is displayed. Review the summary. If you want to change any installation options, click Previous. If you want to install the components, click Install. g. The software is installed. To complete the installation of the FastBack Client, reboot the computer. v For Windows 32-bit systems, complete the following steps: a. A page is displayed prompting you to specify the target directory where the software is to be installed. Accept the default location displayed in the Directory Name field, or type over it to specify the location, or click Browse to navigate to the location. Click Next. b. A page is displayed prompting you to select the Installation Type. Select Backup Client. Click Next. c. (Optional) A message about the virtual volume driver not installing for FastBack Mount might be displayed. Click OK to accept the message. You must accept this message to complete the installation. d. Type either the DNS name of the FastBack Server system (must be unique in the network), or, if a static IP address is used, enter the IP address. The name cannot contain a space. e. Click Next. f. The software is installed. To complete the installation of the FastBack Client, reboot the computer. If you do not reboot the computer, the client service is not active and the client status is listed as stopped. v For Windows 64-bit systems, a page is displayed prompting you to select the type of installation: Complete or Custom. Use one of the following procedures: For a Complete installation, complete the following steps: a. Select Complete and click Next. b. (Optional) A message about the virtual volume driver not installing for FastBack Mount might be displayed. Click OK to accept the message. You must accept this message to complete the installation. c. Information about the installation is displayed. Click Next. d. The software is installed. To complete the installation of the FastBack Client, reboot the computer. If you do not reboot the computer, the client service is not active and the client status is listed as stopped. e. After the system restarts, from the Start menu, select Programs Tivoli Storage Manager FastBack FastBack Client Configurator. f. If prompted, type the host name or IP address for the FastBack Server. g. Click OK. For a Custom Windows installation, complete the following steps: a. Select Custom and click Next. b. Select FastBack Client and click Next. c. (Optional) A message about the virtual volume driver not installing for FastBack Mount might be displayed. Click OK to accept the message. You must accept this message to complete the installation.
Chapter 3. Installing and upgrading
43
d. Information about the installation is displayed. Click Next. e. The software is installed. To complete the installation of the FastBack Client, reboot the computer. If you do not reboot the computer, the client service is not active and the client status is listed as stopped. f. After the system restarts, from the Start menu, select Programs Tivoli Storage Manager FastBack FastBack Client Configurator. g. Type the host name or IP address for the FastBack Server. h. Click OK. If the client only has DAS disks, no additional steps are required. When you install the FastBack Client, by default, the SAN Module option is disabled. Use the FastBack Client Configurator to enable the SAN Module option when using CLUSTER or LANFREE. If the client has SAN disks, configure the client according to the following steps: 1. From the Start menu, choose Programs Tivoli Storage Manager FastBack FastBack Client Configurator. 2. Verify the DNS host name or IP address for the FastBack Server system. 3. If you have a cluster environment, enable the SAN Module option. 4. Click OK. You can also use the FastBack Client Configurator to connect a FastBack Client to a FastBack Server. To use the FastBack Client Configurator to connect a FastBack Client to a FastBack Server, complete the following steps: 1. On the computer where you installed FastBack Client, from the Start menu, select Programs Tivoli Storage Manager FastBack FastBack Client Configurator. 2. Type the host name or IP address for the FastBack Server. 3. Click OK. After connecting a client to a server through the Client Configurator, in the FastBack Manager, you might not see the client in the client list. A client version mismatch is the cause of the problem. To resolve this problem, verify that both the client and the server are using the same version of Tivoli Storage Manager FastBack. After installing the correct version, restart both the client and server using the Windows Services. To navigate to the Services window, click Control Panel Administrative Tools Services. If you start the executable file for the installation process after you complete the initial installation, a Program Maintenance window is displayed. From this window, there are three options: v Modify - Use this option to change the location of the installation. v Repair - This option provides the same choices as the Modify option. The instructions on the user interface indicate that this option can repair errors that occur during the installation process. At this time, this option does not work. v Remove - Use this option to uninstall Tivoli Storage Manager FastBack.
44
The communication between the FastBack Server in a remote location and the FastBack DR Hub Server in a central site or disaster recovery location is based on extensions to the standard FTP protocol. As such, the installation of the FastBack DR Hub Server requires that you install a standard FTP server on the system that hosts the FastBack DR Hub Server. The installation process for the FastBack DR Hub Server requires that you complete the following tasks: 1. Install a FTP server on the system to be used as the FastBack DR Hub Server. For installation instructions, see the product documentation for the FTP server. You can use compression and encryption with the FastBack Disaster Recovery if the FTP server supports these features. Select an FTP server that supports compression and encryption. 2. Install the FastBack DR Hub Server. To install the FastBack DR Hub Server, complete the following steps: a. Either download the code package or insert the Tivoli Storage Manager FastBack Product DVD into the DVD drive. b. Go to the Tivoli Storage Manager FastBack X86 folder. c. Start the installation program. d. The welcome page is displayed. Click Next. The Software License Agreement page is displayed. e. Read the terms of the license agreement. Select I accept the terms in the license agreement and click Next. You must accept the terms of the license agreement to continue the installation. f. A page is displayed prompting you to specify the target directory where the software is to be installed. Accept the default location displayed in the Directory Name field, or type over it to specify the location, or click Browse to navigate to the location. Click Next. g. A page is displayed prompting you to select the Installation Type. Select Disaster Recovery Server. When you install the Disaster Recovery Server, you install the FastBack DR Hub Server, Central Control Station, FastBack Manager, and FastBack Mount. h. Click Next. i. If you are in a DHCP environment, enter either the IP address or the name of the FastBack Server (if your DHCP environment supports name registration). If your FastBack Server has a static IP address, enter either the IP address or the name of the FastBack Server. The FastBack Server name cannot contain a space. j. Click Next. k. The software is installed. To complete the installation, restart the system. 3. Configure the FastBack DR Hub Server. For configuration instructions, see Setting up FTP for the disaster recovery destination (Windows only) on page 185 and Configuring FastBack Server Disaster Recovery with an FTP server on page 192. 4. Configure the Central Control Station. For configuration instructions, see Using Central Control Station (Windows only) on page 197. If you start the executable file for the installation process after you complete the initial installation, a Program Maintenance window is displayed. From this window, there are three options: v Modify - Use this option to change the location of the installation.
Chapter 3. Installing and upgrading
45
v Repair - This option provides the same choices as the Modify option. The instructions on the user interface indicate that this option can repair errors that occur during the installation process. At this time, this option does not work. v Remove - Use this option to uninstall Tivoli Storage Manager FastBack.
46
g. The software is installed. To complete the installation of the FastBack Client, reboot the computer. v For Windows systems, complete the following steps: a. A page is displayed prompting you to specify the target directory where the software is to be installed. Accept the default location displayed in the Directory Name field, or type over it to specify the location, or click Browse to navigate to the location. Click Next. b. A page is displayed prompting you to select the Installation Type. Select Advanced. c. Click Next. d. Select FastBack Manager. The space requirements are displayed on the page, below the list of items you can select for installation. e. If you are in a DHCP environment, enter either the IP address or the name of the FastBack Server (if your DHCP environment supports name registration). If your FastBack Server has a static IP address, enter either the IP address or the name of the FastBack Server. The FastBack Server name cannot contain a space. f. Click Next. g. The software is installed. To complete the installation, restart the system. If you start the executable file for the installation process after you complete the initial installation, a Program Maintenance window is displayed. From this window, there are three options: v Modify - Use this option to change the location of the installation. v Repair - This option provides the same choices as the Modify option. The instructions on the user interface indicate that this option can repair errors that occur during the installation process. At this time, this option does not work. v Remove - Use this option to uninstall Tivoli Storage Manager FastBack.
47
6. A page is displayed prompting you to specify the target directory where the software is to be installed. Accept the default location displayed in the Directory Name field, or type over it to specify the location, or click Browse to navigate to the location. Click Next. 7. A page is displayed prompting you to select the Installation Type. Select Advanced. 8. Click Next. 9. Select Administrative Command Line. The space requirements are displayed on the page, below the list of items you can select for installation. 10. Click Next. 11. If you are in a DHCP environment, enter either the IP address or the name of the FastBack Server (if your DHCP environment supports name registration). If your FastBack Server has a static IP address, enter either the IP address or the name of the FastBack Server. The FastBack Server name cannot contain a space. 12. Click Next. 13. The software is installed. To complete the installation, restart the system. If you start the executable file for the installation process after you complete the initial installation, a Program Maintenance window is displayed. From this window, there are three options: v Modify - Use this option to change the location of the installation. v Repair - This option provides the same choices as the Modify option. The instructions on the user interface indicate that this option can repair errors that occur during the installation process. At this time, this option does not work. v Remove - Use this option to uninstall Tivoli Storage Manager FastBack.
48
8. Click Next. 9. Select FastBack Mount. The space requirements are displayed on the page, below the list of items you can select for installation. 10. Click Next. 11. If you are in a DHCP environment, enter either the IP address or the name of the FastBack Server (if your DHCP environment supports name registration). If your FastBack Server has a static IP address, enter either the IP address or the name of the FastBack Server. The FastBack Server name cannot contain a space. 12. Click Next. 13. The software is installed. To complete the installation, restart the system. If you start the executable file for the installation process after you complete the initial installation, a Program Maintenance window is displayed. From this window, there are three options: v Modify - Use this option to change the location of the installation. v Repair - This option provides the same choices as the Modify option. The instructions on the user interface indicate that this option can repair errors that occur during the installation process. At this time, this option does not work. v Remove - Use this option to uninstall Tivoli Storage Manager FastBack.
49
13. The software is installed. To complete the installation, restart the system. If you start the executable file for the installation process after you complete the initial installation, a Program Maintenance window is displayed. From this window, there are three options: v Modify - Use this option to change the location of the installation. v Repair - This option provides the same choices as the Modify option. The instructions on the user interface indicate that this option can repair errors that occur during the installation process. At this time, this option does not work. v Remove - Use this option to uninstall Tivoli Storage Manager FastBack.
50
v Repair - This option provides the same choices as the Modify option. The instructions on the user interface indicate that this option can repair errors that occur during the installation process, but this is not true. v Remove - Use this option to uninstall FastBack Reporting.
Installing Tivoli Storage Manager FastBack with the console installation wizard (Linux only)
Using the console installation wizard is one method of installing Tivoli Storage Manager FastBack. Important: (SELinux only) Before starting the console installation wizard, temporarily disable SELinux by entering the following command:
/usr/sbin/setenforce 0
To install Tivoli Storage Manager FastBack using the console installation wizard, complete the following steps: 1. To start the wizard enter the following command:
./install-Linux.bin -i console
Note: If the installation is interrupted you can usually restart the installation process to continue the installation. However, if the installation fails to restart, a new, also known as clean, installation is required. To perform a clean installation you need to make sure that the product is fully removed before starting the installation process again. Enter the following commands to perform an clean installation:
/ect/init.d/ioreporter stop /etc/init.d/FastBackClient stop cd /opt/IBM/Tivoli/TSM/FastBack/_uninst/TSM_FastBack ./Uninstall_IBM\ Tivoli\ Storage\ Manager\ FastBack rm /etc/init.d/FastBackClient rm /etc/init.d/ioreporter rm -rf /opt/IBM/Tivoli/TSM/FastBack/* rm ~/IA-FastBack-00.log cd /tmp rm -rf acsiTemp_root install.dir.* /usr/ibm/common/acsi/bin/si_inst.sh -r -f rm -fr /usr/ibm/common/acsi/logs/.lock* ./install-Linux.bin -i console
2. Follow the wizard directions, selecting Next to step through the wizard. You must accept the license agreement to complete the installation process. 3. On the summary page, if any errors are displayed, fix the errors. Information about the errors should be provided. The installation log file is stored in the following directory:
/opt/IBM/Tivoli/TSM/FastBack/
If no errors occurred, a message indicates that the installation is successful and a summary is provided. 4. Click Done. If you want to use a response file, the FastBackInstaller.properties file is provided. This documented response file is a file that you can edit and use. The following example shows the response file.
########################################################################## ## ## InstallAnywhere variable to configure for silent install
51
## ## Usage: install-{PLATFORM}.bin|exe -i silent -f <full path to this file> ## ## ############################################################################ #Has the license been accepted #----------------------------- (uncomment the following line to accept the license) LICENSE_ACCEPTED=TRUE #---#---- Choose Install Folder #---- Silent Install :: Provide the fully qualified path. The default path is written below #---$USER_INSTALL_DIR$=/opt/IBM/Tivoli/TSM/FastBack
#---#---- FastBack Server name #---- Silent Install :: Provide the hostname for the FastBack Server #---#FastBack Server name #-------------------IAGLOBAL_HOSTNAME_CHECK=\"localhost\" #---#--- By default, the installer will install the FastBack Client and the documentation. #--- To customize the silent installer uncomment the two lines below and set the #--- variable CHOSEN_INSTALL_FEATURE_LIST to contain the features that you want to install. #--- EXAMPLE :: To install only the admin and server feature using #--- the silent installer set the CHOSEN_INSTALL_SET and #--- CHOSEN_INSTALL_FEATURE_LIST to the following values: #--- CHOSEN_INSTALL_SET=Custom #--- CHOSEN_INSTALL_FEATURE_LIST=FBClient,FBManager,FBMount,Docs #--- Silent Install :: Remove the # from the front of all the lines and provide a list #--- of features (separated by a comma) that you want to install. Do not install any extra space #--- before or after the feature names. #--- For a typical install (Client and documentation), leave the section below with comments. CHOSEN_INSTALL_SET=Custom CHOSEN_INSTALL_FEATURE_LIST=FBClient,FBManager,Docs
52
1. Either download the code package or insert the Tivoli Storage Manager FastBack Product CD into the CD drive. 2. In the folder for Tivoli Storage Manager FastBack, go to the X86 folder. 3. In a text editor, open the setup.iss file. 4. Complete the following steps to edit the setup.iss file: a. Locate the line that starts with the following string:
szDir=
b. (Optional) If you are not using the default installation path, edit this line to reference the installation path that you are using. c. Locate the line that starts with the following string:
SERVER_IP=
d. Update the host name or IP address to reference the FastBack Server that you have installed and are using. e. Save and close the setup.iss file. 5. From a command prompt window, enter the following command:
setup.exe /s /f1"<path_to_the_setup.iss_file>"
6. Restart the system. Note: The setup.iss file on the Tivoli Storage Manager FastBack Product CD is a sample file. It is necessary to customize the setup.iss file before installing Tivoli Storage Manager FastBack in silent mode. This is done by entering the following command:
setup.exe /r /f1"C:\setup.iss"
To silently install Tivoli Storage Manager FastBack on a supported Windows 64-bit operating system, complete one of the following procedures: v To complete a clean installation in the default location, complete the following steps: 1. Either download the code package or insert the Tivoli Storage Manager FastBack Product CD into the CD drive. 2. In the folder for Tivoli Storage Manager FastBack, go to the X64 folder, or, for Itanium microprocessors, go to the IA64 folder. 3. From a command prompt window, use the cd command to change directory to the installation folder 4. Enter the following command:
setup.exe /s /v"/qn INSTALLDIR=<your_installation_directory>
5. Restart the system. v To complete a clean installation in a non-default location, complete the following steps: 1. Either download the code package or insert the Tivoli Storage Manager FastBack Product CD into the CD drive. 2. In the folder for Tivoli Storage Manager FastBack, go to the X64 folder, or, for Itanium microprocessors, go to the IA64 folder. 3. From a command prompt window, use the cd command to change directory to the installation folder. 4. Enter the following command:
setup.exe /s /v"/qn INSTALLDIR=<your_installation_directory>
53
To silently install Tivoli Storage Manager FastBack on a supported Linux operating system, complete the following steps: Tip: Before starting silent installation, update the FastBackInstaller.properties file according to your requirements. Otherwise, only the FastBack Client is installed (by default). 1. Either download the code package or insert the Tivoli Storage Manager FastBack Product CD into the CD drive. 2. Go to the X86 folder. It is located within the Tivoli Storage Manager FastBack folder. 3. For the default installation, enter the following command into the command prompt window:
./install-Linux.bin -i silent -DLICENSE_ACCEPTED=true
4. For a custom installation, enter the following command into the command prompt window:
./install-Linux.bin -i silent -f <full path to the FastBackInstaller.properties file>
5. Restart the system. The Tivoli Storage Manager FastBack virtual volume is not installed during the installation process. This virtual volume is installed when FastBack Mount is launched for the first time.
54
3. Run the installation process. For example, type the ./cdrom/FastBack/ LanguagePacks/Linux/installLP-Linux.bin command. A Welcome page is displayed. 4. Follow the installation instructions contained in the prompt windows. 5. Click Finish.
4. A message is displayed. The message asks if you want to continue the upgrade process. Click Yes. 5. Another message is displayed with a progress indicator. The message and progress indicator provides status regarding the upgrade process. When the upgrade process completes, click Finish. The upgrade process completes and you can start using Tivoli Storage Manager FastBack. If you try to immediately start the FastBack Manager, the FBSG4302W message might be displayed. If this message is displayed, wait a few minutes before starting FastBack Manager.
Silent upgrade
To silently upgrade Tivoli Storage Manager FastBack on a supported 32-bit operating system, complete the following steps: 1. Either download the code package or insert the Tivoli Storage Manager FastBack Product DVD into the DVD drive. 2. Open the command prompt and use the cd command to change to the installation folder 3. Enter the following command:
setup.exe /s /f1" <path_to_the_upgrade.iss_file>
4. Restart the system. Note: The setup.iss file on the Tivoli Storage Manager FastBack Product CD is a sample file. It is necessary to customize the setup.iss file before installing Tivoli Storage Manager FastBack in silent mode. This is done by entering the following command:
setup.exe /r /f1"C:\setup.iss"
To silently upgrade Tivoli Storage Manager FastBack on a supported 64-bit operating system, complete the following steps: 1. Either download the code package or insert the Tivoli Storage Manager FastBack Product DVD into the DVD drive.
55
2. In the folder for Tivoli Storage Manager FastBack, go to the X64 folder, or, for Itanium microprocessors, go to the IA64 folder. 3. From a command prompt window, enter the following command:
setup.exe /s /v"qn
Upgrading Tivoli Storage Manager FastBack with the console installation wizard (Linux only)
Important: (SE Linux only) Before starting the console upgrade wizard, temporarily disable SE Linux by entering the following command:
/usr/sbin/setenforce 0
To upgrade Tivoli Storage Manager FastBack using the console upgrade wizard, complete the following steps: 1. To start the wizard enter the following command:
./install-Linux.bin -i console
2. Select the local language and select OK. 3. Follow the wizard directions, selecting Next to step through the wizard. You must accept the license agreement to complete the upgrade process. Note: v The "found install directory" window shows the installation directory and the installed components of the previous version. v The "summary" window shows the installation directory for the upgrade and the components to be upgraded. 4. Click Done
Uninstalling
You can use the following procedures to uninstall Tivoli Storage Manager FastBack. Before you remove Tivoli Storage Manager FastBack, you do not have to complete any steps to ensure that you do not lose your backup and archive data. The uninstallation process is the same whether you completed a new installation or upgraded to this version of the software. Note: A silent uninstall of Tivoli Storage Manager FastBack will fail if it is being used to mount virtual volumes or to perform an instant restore. Ensure that all instant restore processes are finished and that there are no virtual volumes mounted before starting a silent uninstall.
56
1. After uninstalling FastBack Server, before rebooting, use LUN masking to disable access to the SAN disk from the FastBack Server. 2. Disconnect the system from the Fiber Channel. If you do not complete these steps, the Windows operating system might cause disk corruption. | | | | | | | | | Formatting a disk that was used by the FastBack Server does not remove the FastBack repository bit. In order to clear the disk data and repository bit, remove the disk from the repository before uninstalling the FastBack Server. You can remove the disk by completing these tasks: 1. Open the Repository Pool view in the FastBack Manager GUI. 2. Right-mouse click on the repository disk and select Remove from repository. Restriction: A disk cannot be removed from a repository if it is the last disk or the only disk in the repository. If you want to uninstall FastBack Reporting, complete the following steps: 1. Undeploy the history manager. To undeploy the history manager, complete the following steps: a. From the Windows Start menu, select Programs FastBack Reporting Withdraw History Manager. A DOS command window displays the progress. b. During the withdraw history manager process, a window requesting logon credentials is displayed. Type the user name and password you use to log on to the Tivoli Common Reporting Server. The user name and password for Tivoli Common Reporting are set during the installation process for Tivoli Common Reporting. The default user name is tipadmin. Use the password specified during the Tivoli Common Reporting installation process. c. Click OK. d. In the DOS command window, when the deploy history manager process is complete, press any key to close the window. If an error occurs, a message is displayed in the command window. 2. Delete the report package. To delete the report package, complete the following steps: a. From the Windows Start menu, select Programs FastBack Reporting Delete Report Package. b. During the delete report package process, a window requesting logon credentials is displayed. Type the user name and password you use to log on to the Tivoli Common Reporting Server. The user name and password for Tivoli Common Reporting are set during the installation process for Tivoli Common Reporting. The default user name is tipadmin. Use the password specified during the Tivoli Common Reporting installation process. c. Click OK. d. In the DOS command window, when the delete report package process is complete, press any key to close the window. If an error occurs, a message is displayed in the command window. 3. Launch the executable file for FastBack Reporting: setup.exe. 4. Click Next.
57
5. A Program Maintenance window is displayed. From this window, there are three options: v Modify - Use this option to change the location of the installation, or to delay the installation, or to disable FastBack Reporting. v Repair - This option provides the same choices as the Modify option. The instructions on the user interface indicate that this option can repair errors that occur during the installation process, but this is not true. v Remove - Use this option to uninstall FastBack Reporting. Select Remove. 6. Click Next. 7. Click Remove. 8. Click Finish. To silently uninstall Tivoli Storage Manager FastBack on a supported Windows 32-bit operating system, complete the following steps: 1. In the installation directory for Tivoli Storage Manager FastBack, go to the X86 folder. 2. From a command prompt window, use the cd command to change to the installation folder. 3. Enter the following command
setup.exe /s /f1"<path_to_the_uninstall.iss_file>"
4. Restart the system. Note: The setup.iss file on the Tivoli Storage Manager FastBack Product CD is a sample file. It is necessary to customize the setup.iss file before installing Tivoli Storage Manager FastBack in silent mode. This is done by entering the following command:
setup.exe /r /f1"C:\setup.iss"
To silently uninstall Tivoli Storage Manager FastBack on a supported Windows 64-bit operating system, complete the following steps: 1. In the installation directory for Tivoli Storage Manager FastBack, go to the X64 folder, or, for Itanium microprocessors, go to the IA64 folder. 2. From a command prompt window, enter the following command:
setup.exe /s /v"/qn REMOVE=ALL"
58
v To use the console to uninstall Tivoli Storage Manager FastBack, enter this command:
./Uninstall_IBM Tivoli Storage Manager FastBack -i console
59
60
61
If you use Active Directory with Microsoft Windows 2008, see the Microsoft Knowledge Base article 970770 online at http://support.microsoft.com/ default.aspx?scid=kb;EN-US;970770 . Download the hotfix associated with this knowledge base article. When using Active Directory with Microsoft Windows 2008, the FastBack Server needs to authenticate with the using a Domain Administrator account. To ensure that the FastBack Server service authenticates correctly, complete the following steps: 1. Log on to the FastBack Server 2. Click Start and then click Run 3. Type services.msc and click OK 4. Under Services, right click on the FastBack Server service and click Properties 5. Under the Log On tab, select This Account 6. Enter the Domain Administrator user name and password and click OK 7. Under Services, right click on the FastBack Server service and click Restart To add an Active Directory group, complete the following steps: 1. Go to Configuration General Configuration Users and Groups. 2. Right-click Active Directory Groups; then, click New AD Group. 3. In the window that is displayed, type the group name. The length of the group name cannot exceed 64 characters. 4. Click Apply.
62
Assigning permissions
To assign permission to a user group, complete the following steps: 1. In the FastBack Manager Configuration tab, go to General Configuration Users and Groups Groups. 2. Select a group. 3. In the User Group window, click Show Permissions. 4. Select the permissions that you want to assign. There are two permissions you can select: Administrator privileges Use to configure client groups, job schedules, and policies. Users with administrator privileges can change options for general configuration. Restore Disks and Volumes Use to restore volumes for one or more servers. 5. Click Apply.
Assigning users
A user can belong to only one user group. There are two ways you can assign a user to a user group: v Use the User Group window to transfer an available user to the selected members list. v Use the User window to choose a user group from a list. To assign a user to a user group with the User Group window, complete the following steps: 1. In the FastBack Manager Configuration tab, go to General Configuration Users and Groups Groups. 2. Select a group. 3. In the User Group window, select the available users that you want to transfer to the selected members list and move the users. 4. Click Apply. To assign a user to a user group with the User window, complete the following steps: 1. In the FastBack Manager Configuration tab, go to General Configuration Users and Groups Users. 2. Select a user. 3. Select a user group for the user. 4. Click Apply.
Creating users
To create users, you must have administrator permissions. To create a user, complete the following steps: 1. In the FastBack Manager Configuration tab, go to General Configuration Users and Groups. 2. Right-click Users; then, click New user. The default properties for the user are displayed. 3. In the right-pane, type the following required information:
Chapter 4. User management and security
63
v User Name: The name that you want the user to type when logging on to the FastBack Manager system. You can use a name with up to 24 characters; do not include trailing spaces. v Password: The password that you initially assign to the user. Use the following rules when assigning a password: Passwords cannot match the user name. Password must be at least 8 characters. Passwords cannot exceed 20 characters. Passwords must include at least one digit and one letter. The following characters cannot be used: \*?\"<>|;^.$#@&, Users can change their passwords. Users with administrator permissions can change passwords for other users. v Confirm Password: A confirmation of the password you typed in the previous field. 4. (Optional) For the user description, type descriptive information about the user. For example, you can type a job title, department, or organization name. 5. Select a user group. The default user group is LimitedGroup. Users must be assigned to a user group. To view the properties of the selected user group, click View Group.
Deleting users
Deletions are effective immediately, unless the user being deleted is logged on to the system. In this case, when the deleted user logs out, the user is deleted. The administrator user cannot be deleted. To delete a user, complete the following steps: 1. In the FastBack Manager Configuration tab, go to General Configuration Users and Groups Users. 2. Right-click the user that you want to delete; then, click Remove. A message is displayed to confirm the deletion. Click Yes to delete the user group or No to cancel the deletion and leave the user group intact.
64
To delete all users, complete the following steps: 1. In the FastBack Manager Configuration tab, go to General Configuration Users and Groups. 2. Right-click Users; then, click Reset users. This action resets the user list to the default set of users. In the default set of users, there is one user. This user is the administrator. 3. A message is displayed to confirm the deletion. Click Yes to delete all users or No to cancel the deletion.
Access permissions
Access permissions gives specific groups of users authorization to access source and destination volumes.
Volume restore
Volume restore can only be performed if the currently logged user is authorized to access both the source and the destination volume.
Chapter 4. User management and security
65
SuperAdmin users have restore access to all domains. These SuperAdmin users can be either Microsoft Active Directory users, or FastBack Manager domain users who belong to the SuperAdmin group. Users that are not administrators require read permissions, Share and ACL, to the source volume root directory, and Modify permissions, network share and ACL, to the destination volume root directory. The source permissions are those that were in effect when the backup was performed, while the destination permissions are the current permissions during restore. If a volume restore is attempted to or from a location where the logged user does not have access permissions, a message is posted in the status bar for FastBack Manager.
66
Source permissions are checked for only local and SAN repositories.
67
v Redundancy. In case the Active Directory for the organization is unavailable, access mechanism for the FastBack Manager can be used to secure access.
Note: In Windows 2000, Active Directory users can open different domains (using the same user name) without reentering the password, while in Windows 2003 the user is prompted to reenter the user name and user ID password every time a new domain is being accessed.
68
Manager requires superuser access privileges. To configure Microsoft Active Directory groups the first-time user must have Tivoli Storage Manager FastBack superuser privileges. For non-administrator users that are not members of an Active Directory group, the non-administrator users can only view the configuration options, monitor snapshots, and restore volumes, folders, and files to which they have access permissions on the network.
Switching between Tivoli Storage Manager FastBack and Active Directory domains
For volume restore, switch between accounts by logging off and then on again.
69
70
71
2.
3. 4. 5.
c. Enter the FastBack Server IP address. In the login window, type your user name. The default user name is admin. The authorization policy is case sensitive. Letters must be typed using the correct case. Type your password. The default password is admin123. The authorization policy is case sensitive. Letters must be typed using the correct case. Select a domain. The default domain is XPRESS-RESTORE. After you select the domain, the configuration is loaded. Click Login. A message is displayed. If this is the first time you start the FastBack Manager, you can click Add Repository to identify a repository. If you do not want to identify a repository, click Cancel. After FastBack Manager is displayed, you can add a repository by selecting General Configuration Storage Pool Repository Pool. From the pop-up menu, you can add or claim a repository. For more information, including details about the maximum volume size, see Add Repository wizard on page 92. For more information about configuring and using Tivoli Storage Manager FastBack, see Chapter 6, Backing up and restoring, on page 85.
If the FastBack Manager does not connect to the FastBack Server and the FastBack Server is running on a system that is part of an Active Directory domain, complete the following steps: 1. Change the Active Directory settings to allow for anonymous enumeration SID and name translations. 2. Log off. 3. Log on. 4. Restart the FastBack Server service. 5. Grant the FastBack Server service administrative rights by changing the logon as properties for the FastBack Server service to an Active Directory administrator account.
72
73
1) From the Configuration tab, select General Configuration. 2) In the main window, select the Reporting tab. 3) Type the host name or IP address for the Tivoli Common Reporting Server. 4) Type the port number for the Tivoli Common Reporting Server. By default, the Tivoli Common Reporting Server uses port 16316. 5) Click Apply. 3. Stop the Tivoli Common Reporting Server. To stop the Tivoli Common Reporting Server, from the Windows Start menu, select Programs Tivoli Common Reporting Stop Tivoli Common Reporting Server. 4. Start the Tivoli Common Reporting Server. To start the Tivoli Common Reporting Server, from the Windows Start menu, select Programs Tivoli Common Reporting Start Tivoli Common Reporting Server. To start FastBack Reporting, complete the following steps: 1. From the Windows Start menu, select Programs Tivoli Common Reporting Start Tivoli Common Reporting Browser. 2. In the browser window, a message displays a warning about the Web site security certificate. Continue to the Web site. 3. Type the user ID and password you set during the Tivoli Common Reporting installation process. The default user name is tipadmin. Use the password specified during the Tivoli Common Reporting installation process. 4. Click Log in. 5. In the navigation pane, click the + icon beside Reporting to expand the tree. You should see an entry for Common Reporting. 6. Select Common Reporting. 7. In the navigation pane, click the + icon beside Report Sets to expand the tree. 8. In the navigation pane, click the + icon beside Tivoli Products to expand the tree. 9. In the navigation pane, select FastBack Reporting. After you start FastBack Reporting, if you use the default installation directory, you run reports. For instructions related to running and viewing reports, see Running and viewing reports (Windows only) on page 181. However, if you change the default installation location (for example, if you change C:\ProgramFiles\Tivoli\TSM\FastBack\Reporting to D:\ProgramFiles\ Tivoli\TSM\FastBack), you have to configure the data source before running reports. For instructions related to configuring the data source, see Configuring the data source (Windows only) on page 180.
74
Toolbar icons are provided for common operations. The status bar at the bottom of the window provides information on the system connection and repository capacity.
Toolbar icons
Table 19. Toolbar icons Toolbar icons Description Starts the wizard selection menu. Wizards guide the user through the creation of policies at various levels. Adds another object according to the currently selected category or element.
If you have installed FastBack Reporting, this icon is enabled. Launches a browser window for Tivoli Common Reports. Displays the help window.
75
Table 20. Status bar icons (continued) Status bar icons Description One of the defined primary storage devices is not detected. No activities currently in progress on the primary storage. Disk layout is being updated. Connection OK. Connection to the FastBack Server lost. Version problem. FastBack Server is busy. Disaster recovery status.
Configuration
The Configuration tab provides all the system configuration and operation categories and functions. These include administrative functions such as user groups and security levels for specific users, repository configuration and management, and all functions related to backup definitions. The Configuration window has two vertically divided panes. You can select configuration categories from the tree in the navigation pane. The main window area displays the options corresponding to the selected category. You can right-click to select a category or object in the tree. A pop-up menu displays options relevant to the selection.
76
Configuration icons
The following icons might be used on the Configuration tab.
Table 21. Icons that might be used on the Configuration tab Toolbar icons Description General configuration Users Groups FastBack Client Disconnected FastBack Client FastBack Client is not responding to FastBack Server connection attempts FastBack Client has incompatible version Job schedules Pending jobs Job paused Policy paused Policies Policy FastBack Server log Client groups Warning SAN disk (basic, dynamic, unknown) Information Repository disk Repository enabled for data deduplication
77
Table 21. Icons that might be used on the Configuration tab (continued) Toolbar icons Description Repository enabled for data deduplication is backing up data
Error or alert DAS disk Cluster DAS disk Cluster SAN disk Disaster recovery
Snapshots Monitor
You can use the Snapshots Monitor tab to monitor the status and properties of snapshots and start various actions on the displayed snapshots and the respective snapshot chains. These include snapshots that have been completed, either successfully or unsuccessfully, and snapshots that are in progress. This window has two panes: a pane that provides filter options and another pane that displays the snapshots according to the selected filter criteria. When a category, for example, State or Date, is selected, the relevant options become available under the category. You can use these options to identify and filter the snapshots displayed in the monitor according to various criteria.
78
In the right pane, an additional menu can be displayed by right-clicking on a selected snapshot. The menu options vary, depending on the type of snapshot. For example, an Aborted snapshot would only provide the following options: Events, Erase, and Snapshot Properties. When you select the Erase option, you can erase all selected snapshots. Right-click to select a snapshot. From the pop-up menu, you can start snapshot-related tasks and view snapshot properties.
Retry policy
When the execution of a snapshot fails, the snapshot is marked as Aborted with a yellow exclamation mark. Tivoli Storage Manager FastBack attempts to run the snapshot again for the number of times specified in the policy setup. When the snapshot runs, the snapshot is marked as Running. If the snapshot fails to complete within the specified number of retries, it is marked as Aborted with a red exclamation mark after the last retry. Note: If you use the policy option of running an immediate snapshot on a policy level, or run the snapshot option from the Immediate operations context menu (from the Snapshots Monitor tab). A retry does not occur on an abort of those snapshots.
Table 22. Snapshot icons Toolbar icons Description Initializing or running snapshot Continuous data protection snapshot is running Snapshot completed successfully Continuous data protection Snapshot completed successfully Successful snapshots whose retention time has expired Aborted Continuous Data Protection snapshot, the Continuous Data Protection data before the aborting point might be available. Aborted snapshots Aborted snapshots whose retention time has expired Successful snapshot that was detected as uncertain Successful CDP that was detected as uncertain Successful snapshot but CDP aborted and detected as uncertain Successful snapshot and detected as uncertain (Displays in technician mode only)
79
Table 22. Snapshot icons (continued) Toolbar icons Description Successful snapshot and detected uncertain and before generation (Displays in technician mode only)
For more information about setting the number of retries to recover from a failed snapshot attempt, see Error recovery: Setting the number of retries on page 171.
Recovery
The Recovery tab, part of the FastBack Manager window, provides access to all restore options. Access to specific options is limited by access rights of specific users. In order to access FastBack Mount from this tab, FastBack Mount must be installed on the same system as the FastBack Manager. The Recovery tab provides the following options: v Volume Level Restore - Use for restoration of entire volumes. v Disk Restore - Creates a new disk from snapshots of several volumes. The disk can be either a SAN or DAS disk. DAS disks with a boot and system designated volume are not supported. For these types of DAS disks, Tivoli Storage Manager FastBack for Bare Machine Recovery can be used. v FastBack Mount and Instant Restore - Enables mounting snapshots and instant restore of volumes for disaster recovery purposes. instant restore works only with mounted volumes (volumes that are assigned a drive letter).
| | | |
80
9. In the DNS server, locate your computer, and delete your computer entry line in the DNS server. 10. Go to Run cmd. 11. Type ipconfig /flushdns. This command flushes the DNS entry from the client's DNS cache.
3. Save the FastBackClient.ini file. 4. Restart the FastBack Client. (Linux only) If the FastBack Client backs up SAN disks, complete the following steps: 1. In a text editor, open the FastBackClient.ini file. The default location for this file is /opt/IBM/Tivoli/TSM/FastBack/client/var. 2. In the [SAN module] section, set the SAN enabled value to 1. For example:
[SAN module] SAN enabled = 1
3. Save the FastBackClient.ini file. 4. Restart the FastBack Client. (Windows only) You can use the FastBack Client Configurator to connect a client to a FastBack Server. To start and use the FastBack Client Configurator, complete the following steps: 1. On the system where the FastBack Client is installed, from the Start menu, choose Programs Tivoli Storage Manager FastBack FastBack Client Configurator. 2. Verify the host name or IP address for the FastBack Server. 3. (Optional) If you have a cluster environment, enable the SAN Module option. This setting is required for a cluster environment, because, when nodes switch, incremental delta block snapshots are required. In a cluster environment, every local disk at each node should have a different disk signature. For example, if disk1 on node1 has the same signature as disk1 on node2, an error might occur. 4. Click OK.
81
(Windows only) FastBack data deduplication errors are not written to the FastBack Server or other Tivoli Storage Manager FastBack component log files. For information about the FastBack data deduplication service errors, refer to the Windows Event log. (Windows only) For Microsoft Windows operating systems, the default location for the log files is user_home\tivoli\tsm\fastback\manager\log, where user_home is the path to the documents and settings folder of the user. In this path there are subdirectories with a folder for each Tivoli Storage Manager FastBack service. For example, there are folders labeled mount, shell, client, and server. The log files are named according to the Tivoli Storage Manager FastBack service. For example:
c:\Documents and Settings\tivoli\tsm\fastback\manager\log
(Linux only) The default location for the FastBack Manager log files is user_home/tivoli/tsm/fastback/manager/log. For example:
/root/tivoli/tsm/fastback/mount/log
The default location for the FastBack Client log files is /opt/IBM/Tivoli/TSM/ FastBack/client/var. The log file format is .sf. In addition, each log file is assigned a number. For example, FAST_BACK_CLIENT040.sf. The log file with the most recent data is stored in the log file with the 040 number. When a log file reaches the maximum size limit, a new log file is created. The log file name is the same except that the log file number decrements by one. Specifically, the data in the log file with the 040 number is copied to a log file with the 039 number. The log file with the 040 number contains the newest log file data. When 040 again reaches maximum file size, the 039 file contents move to 038 and the 040 information goes to 039 again.
82
(Linux only) If you used the default installation directory, the FastBackManager.ini file is stored in the following directory: /opt/IBM/Tivoli/TSM/FastBack/manager/ Related overview information regarding WAN environments is available in Using data deduplication in a wide area network on page 5.
83
To prevent changes in the clock from affecting job schedules and labeling, all currently running jobs are cancelled when a reset is run on the FastBack Server. When the FastBack Server restarts, the jobs start automatically. In most circumstances, the FastBack Server time is updated according to the system clock time. If the FastBack Server time does not match the system clock time, a reset of the FastBack Server is required.
84
85
v Incremental delta block: This type of snapshot calculates the differences between the last successful snapshot in a chain, and the actual data on the disk. This type of snapshot cannot be manually set, but you can request this type of snapshot when you initiate a checkpoint snapshot. The incremental delta block snapshot is taken in the following scenarios: The client system is restarted after a power or system failure. An example of a system failure is an unexpected shutdown. The client service is restarted and more than seven days have passed since the last delta block snapshot. The client service has been inactive. A delta block snapshot does not always occur when the client service becomes active after a period of inactivity. The software determines whether to run a delta block snapshot based on the amount of input/output on the system and the amount of time when the client service was inactive. In an error recovery scenario when the client and server do not identify the same snapshot as the base snapshot. If the client and server systems identify different snapshots as the base snapshot, the next snapshot is a delta block snapshot, not an incremental snapshot. Incremental delta block snapshots occupy as much disk space as the incremental snapshots, but the time required to perform the incremental delta block is similar to the time required to complete a full snapshot. v Checkpoint: A checkpoint snapshot is the same as an incremental delta block snapshot with one minor difference. The difference is that you can start a checkpoint snapshot from FastBack Manager. An incremental delta block snapshot cannot be started from FastBack Manager. For more information about scheduling and running snapshots, see Setting up snapshot policies on page 100. Step 3: For critical servers, run Continuous Data Protection. Continuous Data Protection is a tool that records all activity between snapshots, permitting the restoration of a system to a point in time. Using Continuous Data Protection requires additional processor, memory, and network bandwidth resources. Because of these additional requirements, do not run Continuous Data Protection on volumes where page files or the operating system files are installed. For more information about running Continuous Data Protection, see Continuous Data Protection (Windows only) on page 134. Step 4: Recover data. With the snapshots that are stored on the FastBack Server, you can recover data that is backed up. There are several ways to recover data: v Recover volumes. For more information about recovering volumes, see Restoring volumes on page 119. v instant restore with FastBack Mount. For more information about instant restore, see Instant Restore (Windows) on page 122 or File-level restore and instant restore (Linux) on page 127. v Recover files. For more information about recovering files, see Recovering files on page 120. During the cleanup process FastBack Server detects snapshots that are potentially corrupted. When FastBack Server detects a potentially corrupted file, a warning message is displayed and a message is written to the FastBack Server log. During the next scheduled snapshot of the volume a job is run to repair the snapshot. It is not recommended to use a
86
potentially corrupt snapshot. If a problem occurs and you need the data before the repair job for the snapshot completes, complete the following steps: 1. Run the file system check tool. You might have to refer to the operating system documentation for more help in completing this step. 2. Run the application consistency check tool. You might have to refer to the operating system documentation for more help in completing this step. Step 5: Recover data from applications and databases. You can use Tivoli Storage Manager FastBack to backup data from applications, for example, Microsoft Exchange server, and databases, for example, Microsoft SQL Server. For more information about recovering data from applications and databases, see the following sections: v For recovering Microsoft Exchange data, see Microsoft Exchange back up and restore on page 139. v For recovering Microsoft SQL Server data, see SQL back up and restore on page 145. v For recovering Lotus Domino database data, see Backing up and restoring Lotus Domino Databases on page 151. v For recovering DB2 UDB database data, see Backing up and restoring DB2 UDB databases on page 158. | | | | | | Step 6: Recover operating system partitions from an uncorrupted system. You can use Disk Restore from the Recovery window to restore a physical server to a virtual or temporary server while a physical server is replaced or repaired. For more information about recovering operating system partitions from an uncorrupted system, see Recovering operating system partitions using Disk Restore on page 161.
Repositories
A repository is an area used by FastBack Server to store client snapshots. The repository can be a folder, a volume, a physical disk, located on local disk drives, or a SAN or NAS drive. For your first repository, you can use a folder, volume, or disk. If you use a folder-based repository, make sure that this reserved space is always available and not used by Windows files or data. In addition, ensure that anti-virus software and defragmentation tools do not run on the disk or volume holding the contents of the repository. Before you can use Tivoli Storage Manager FastBack, at least one repository must be defined. A system disk should not be used as a repository; a folder, volume, or disk that is not identified as the system disk should be used as a repository. While using a system disk as a repository is not prohibited by the software, a system disk is not recommended. System disks typically have an operating system partition and other open file and applications running. When using a system disk for a repository, it must be defined as a repository folder on disk, and cannot be defined as a repository disk volume. When defined as a repository folder on disk,
87
the system administrator must make sure that the free space allocated exists and will never be consumed by other applications or the operating system. When creating a repository to backup data in a production environment, plan at minimum for the repository to store three times the size of the used space on the servers that are being backed up. The preferred size of the repository is five times the size of the used space on the servers that are being backed up. You can use the following space to record your size needs.
(Size of volumes being backed up) x 3 = ________ Minimum FastBack Server repository size (Size of volumes being backed up) x 5 = ________ Preferred FastBack Server repository size
If you use the Add Repository Wizard to add a disk to the repository, you can select to add the entire disk to the repository, and FastBack Manager opens the disk for read/write access so you do not have to use the disk open utility. (Specifically, you want to add the entire disk, not the larger volume or a partition on the disk, to the repository.) If you do not add the entire disk to the repository, any drive you attach to the FastBack Server needs to be opened for read/write privileges before being used. You can use the disk open utility to help with this task. For more information about using the disk open utility, see Allowing read/write access to a disk with disk open utility on page 95. FastBack Server supports a mix of repository types. Only the FastBack Server should be writing to the disk, volume, and share. The repositories that you identify are organized into a group called a storage pool.
Storage pool
A storage pool is a system disk-management utility for managing disks and the volumes that the disks contain. To create and manage repositories, and monitor the storage layout, you can use options from the storage pool menus. All disk-related tasks are performed without shutting down the system or interrupting users. Most configuration changes take effect immediately. Note: Tivoli Storage Manager FastBack runs automatic discovery to continuously update the display. However, if you suspect that the display requires updating, you can run a manual refresh by selecting Storage Pool; then, right click to select Rescan Volume Layout.
Types of repositories
The following table sums up the advantages and disadvantages of using different location types for backup images.
Location Advantages Disadvantages
88
v Standalone, dedicated storage for images v Can detect file system corruption and recovery v Inexpensive v Fast, when compared to network disks v Accurate capacity management v Central management
v Vulnerable, no fault tolerance v A dedicated disk is required v Only Microsoft basic disks are supported
SAN storage
v Fast v Fault tolerant v Managed v Can detect file system corruption and recovery v Instant recovery over the SAN by any system connected to the SAN v Accurate capacity management v Central management
v Expensive
Network storage
v Appropriate accesses rights must be assigned v Capacity management is not accurate v No detection of file system corruption or failure v No central management
Volume or folder
v No accurate capacity management v No central management v Must be large enough to hold snapshot (full or incremental) v A large number of volumes and folders can harm the restore and recovery performance
When you create a repository using a volume or folder, you can choose to use the repository for data deduplication. If you have a repository using data deduplication and you want to disable data deduplication, remove the repository. Create a new repository and do not enable data deduplication. You cannot use a data deduplication repository and a standard repository interchangeably.
Repository pool
Repository disks and volumes can be grouped and organized into a repository pool. There is one repository pool per FastBack Server. A repository pool is associated with a storage pool.
89
v v v v v v
For a volume, the size should not exceed 16 TB. For a disk, the size should not exceed 2TB Disks should not be scanned by a virus scanning tool. Disks or volumes that have open files or applications running cannot be assigned. An object that was selected as part of a repository cannot be backed up. If you assign a folder, you must ensure that the size allocated reflects the free space available on the volume. The FastBack Server software does not verify that there is sufficient free space. The system administrator should make sure that the local system account on the FastBack Server has access privileges to the network share where the repository folder resides. A volume chosen for the repository should be formatted as NTFS only.
Disks that are in use, also known as mounted, cannot be added to repositories. If, when you add a disk to a repository, a volume letter is not automatically assigned, manually assign a volume letter. When you add a disk that is not shared on the network to the repository, the repository works, but instant restore is not possible unless you install FastBack Mount on the same system as the FastBack Server. If you do not want to install FastBack Mount and FastBack Server on the same system, but need to use instant restore for the repository, share the disk on the network and add the disk to the repository. | | | | | | | | | | | | | | | Unclaimed repositories: Unclaimed repositories are FastBack repository disks that are visible to the FastBack Server but are not owned by the FastBack Server. Unclaimed repositories exist as a result of either of the following situations: v A new FastBack Server installation was completed on an environment that previously contained FastBack repository disks. v An existing repository is maintained for use by a newly installed FastBack Server in order to retrieve old data. Unclaimed repositories are visible in the FastBack Manager GUI Storage Pool. An unclaimed repository is available for use as a repository for the current FastBack Server. The user can claim such a repository in the FastBack Manager, but only if it is the first repository of the FastBack Server. After claiming such a repository, the FastBack Server discovers and manages the snapshots in that repository. The FastBack Server does not function without an assigned repository. Even when unclaimed repositories are visible to the FastBack Server, an unclaimed repository or a new repository must be assigned.
90
4. Test Tivoli Storage Manager FastBack network repository access. To assign access privileges of an existing Active Directory member for FastBack Mount, complete the following steps: 1. In the FastBack Manager, click the Configuration tab. The Configuration window appears. 2. In the tree, select General Configuration. 3. In the main window, click the FastBack Mount Access tab. 4. Select Assign FastBack Mount access to repository. 5. Select the domain for an Active Directory member. This domain is used by FastBack Mount to access the repository. 6. Type a user or group name. The user or group name must have full access rights to the repository. 7. Select Show FastBack Mount repository access reminder message to not assign repository access to FastBack Mount, but want to be reminded to complete this task. 8. Click Apply. It takes 10 minutes for the new settings to be updated. 9. Test FastBack Mount network repository access.
Creating repositories
When you add a volume, folder, or disk to the repository, the entire object is used by Tivoli Storage Manager FastBack. In addition, when you add a disk or partition, Tivoli Storage Manager FastBack reformats the disk or partition. All data is erased. You cannot add a disk that exceeds 2 TB, and it should not be scanned by any virus scanning tool. When creating a deduplication repository in an environment
91
that is protected by a firewall, TCP port 48879 must be opened on the firewall. The deduplication repository must be on a local volume or folder and cannot be on remote storage. The repository can be created with one of the following methods: v Adding repository space using a wizard. Use this method for adding network shared folders to the repository. v Adding volumes or folders to the repository. v Selecting and adding a disk to the repository. Attention: (Windows 2008 only) When you create a repository on a disk, the following message might be displayed:
You need to format the disk in drive x before you can use it. Do you want to format it? [Format disk] [Cancel]
Click Cancel to ignore and dismiss the message. If you click Format Disk, data loss can occur. In addition, you cannot create policies or take new snapshots. When you create a repository using a volume or folder, you can choose to use the repository for data deduplication. If you have a repository using data deduplication and you want to disable data deduplication, remove the repository. Create a new repository and do not enable data deduplication. If a disk was a Tivoli Storage Manager FastBack repository for a FastBack Server, you cannot add it as a repository to a different FastBack Server. The disk must be reformatted. After reformatting the disk, you can add the repository as a new, blank disk to the FastBack Server. If you add repository space to the repository pool or if you add a complete disk to the repository after the FastBack server was installed, you have to use the disk open utility unless the disk is already open. The disk open utility is a program that was developed in order to establish read/write privileges to a physical disk after FastBack Server is installed. After you install FastBack Server, any drive you attach to the FastBack Server needs to be opened for read/write privileges before being used. For more information about using the disk open utility, see Allowing read/write access to a disk with disk open utility on page 95.
92
deduplication and you want to disable data deduplication, remove the repository. Create a new repository and do not enable data deduplication. To start the Add Repository Wizard, complete the following steps: 1. From the Windows Start menu, select Programs Tivoli Storage Manager FastBack FastBack Manager. 2. In the logon window, type your user name. The default user name is admin. 3. Type your password. The default password is admin123. 4. Select a domain. The default domain is XPRESS-RESTORE. After you select the domain, the configuration is loaded. This process might take a few minutes. You cannot click Login until the configuration is loaded. 5. Click Login. 6. In the dialog window, click Add Repository to start the Add Repository Wizard. The wizard scans the server and lists the disks and volumes. Only empty disks and volumes can be selected and defined as new repositories. If a dialog window is not displayed, open FastBack Manager and select General Configuration Storage Pool Repository. Right click on Repository in the tree; then, click Add Repository. 7. Select the disk or volume that you want to add as a repository. 8. (Optional) If you select a volume to add as the repository and no other disk, volume or folder has a repository assigned to it, you can select Use repository for data deduplication. 9. Click Apply. Attention: (Windows 2008 only) When you add a repository on a disk, the following message might be displayed:
You need to format the disk in drive x before you can use it. Do you want to format it? [Format disk] [Cancel]
Click Cancel to ignore and dismiss the message. If you click Format Disk, data loss can occur. In addition, you cannot create policies or take new snapshots. Note: When adding a disk to a repository, the disk size must be less than 2 TB. If you need a repository size greater than 2TB, you need to create a repository as a volume or folder. If you add a disk that is greater than 2 TB in size to a repository, an error occurs. To workaround the error, complete the following steps: 1. Uninstall FastBack Server. 2. Remove the FastBack Server configuration files. The default location for these files is in the C:\Documents and Settings\All Users\Application Data\Tivoli\TSM\FastBack path. 3. Restart the system. 4. Use the Windows disk management tool to create a 1.99 TB primary partition volume on the disk. 5. Create a new folder on that volume. For example, E:\FastBackRep1. 6. Install FastBack Server. 7. Identify the volumes you created in step 4 to FastBack Server with the Add Repository Space option. For more information about adding repository space, see Adding volumes or folders to the repository on page 94.
93
8. After you click Apply to close the Add Repository Space window, select the Detect FS Corruption option. 9. Click Apply.
94
By default, Detect FS corruption is selected. When selected, this setting means that when a file system is corrupted, the system automatically enters limited mode. For more information about limited mode and suggested recovery, see Limited mode on page 175. 6. Click Apply.
Click Cancel to ignore and dismiss the message. If you click Format Disk, data loss can occur. In addition, you cannot create policies or take new snapshots.
95
If disk open is not used after attaching a new drive to the FastBack Server, any time you try to write data to the drive, all data goes to the buffer. It might seem that data is being copied to the drive, but, if you restart the server, the data is gone because the data was not physically written to the drive. Depending on the amount of data written to the disk, you might see some errors reported by the system. For example, "Delayed Write Failed" error messages are logged in the Windows system event logs. Another side effect includes the failure to initialize and format new disks. The disk open utility must be run from the command line. Disk open has one argument: the disk number of the respective disk that you want to open for read/write privileges. You can find the disk number in the Windows Disk Management window. You can use disk open in the following scenarios: v If you do not use the FastBack Server SAN mode, for example, LAN-free backup and SAN backup, you can use diskopen to disable the disk write protection feature. The following steps disable the FastBack Server SAN disk write protection. After completing these steps, all disk are accessible for read and write operations. 1. From the Microsoft Windows Start menu, select Start Run. Enter the following command:
CMD
2. In the command prompt window, change to the directory that contains the diskopen tool. The default directory is C:\Program Files\Tivoli\TSM\ FastBack\utilities. 3. Enter the following command:
DiskOpen -DisableSANProtection
4. Restart the server. After restarting the server, all existing and newly connected disks are accessible for read and write operations. v If you use the FastBack Server SAN mode, for example, LAN-free backup and SAN backup, you can use diskopen to open new disks that were connected to the FastBack Server. The following steps enable read and write access to all connected disks. Any new disk that is connected to the FastBack Server after completing the following procedure is write protected. 1. Disconnect the shared SAN disks from the FastBack Server. Attention: Completing the following steps when the shared SAN disks are connected might cause irreparable disk damage that results in data loss. 2. From the Microsoft Windows Start menu, select Start Run. Enter the following command:
CMD
3. In the command prompt window, change to the directory that contains the diskopen tool. The default directory is C:\Program Files\Tivoli\TSM\ FastBack\utilities. 4. Enter the following command:
DiskOpen -EnableWriteOnAllConnectedDisks
96
1. 2. 3. 4.
On the Configuration tab, expand General Configuration. Expand Storage pool. Select Repository Pool. In the main window, a table displays information about the repositories. Right-click a row in the table to select it, and then click Edit. 5. As needed, change the following properties: Folders and volumes - Size, and description. The path is displayed and cannot be changed. Disks - Description. 6. Click OK.
Repository capacity
You can control the repository usage through the Cleanup tab. If the repository fills to its capacity, the next snapshot attempt fails and the system notifies the user that new snapshots cannot be taken. In that case, add an additional repository or erase chains with the Snapshots Monitor view. In addition, the repository usage alert field in the General Configuration Maintenance tab defines the critical repository usage threshold. When this threshold is reached, the Repository Status field in the status bar at the bottom turns red. In addition, a warning is logged into the FastBack Server log. If the repository usage keeps growing, the message is logged again each time the level increases by 5 percent. To keep the repository within the set limit, an immediate cleanup can be run or the cleanup scheduler can be set. The Maintenance tab also provides a way to schedule a cleanup task for the repository. Click Run now for an immediate cleanup. You can also click Cleanup scheduler to schedule cleanups. For more information about setting up the cleanup process, see Defining cleanup parameters on page 169. You can also configure the software to send a periodic e-mail alert to notify recipients about the repository space thresholds.
97
Table 23. Storage pool icons (continued) Storage pool icons Description DAS (Direct Attached Storage). Backed up by the FastBack Server through the LAN. Identified as an Tivoli Storage Manager FastBack repository disk. If the capacity is displayed, it belongs to the connected FastBack Server; otherwise it belongs to a different FastBack Server. Repository on folder.
File System File restore system (NTFS) Capacity Volume capacity Type Basic - Not managed by any volume management software. Dynamic - Managed by a volume management software. Unknown - Not identified by Tivoli Storage Manager FastBack. For example, AIX formatting. Signature Volume signature
98
Block size Block size Simultaneous Number of simultaneous reads or writes Rate (MB per second) Read and write rate Setting priority for storage pools: You can control the computer resources used by FastBack Client when you set client priority. The FastBack Client uses system resources, for example, memory, disk, and network bandwidth, as needed, until a threshold is reached. When the FastBack Client uses more resources than specified by the priority level, resource usage is reduced by aborting snapshots and freeing resources used by the snapshots. 1. Right-click a client under Storage Pool; then, click Set Priority. 2. In the window that is displayed, select the desired priority and click OK.
Claiming a repository
When a repository is claimed, the configuration of the FastBack Server changes. The following scenarios provide examples of when you want to claim a repository: v When the name of the FastBack Server changes. v When the FastBack Server is corrupted and rebuilt. v When you upgrade from the Tivoli Storage Manager FastBack Try and Buy to Tivoli Storage Manager FastBack Version 6.1.3 or later. v When the FastBack Server moves to a new domain, you need to claim the repository again. To claim a repository, complete the following steps: 1. Verify that no FastBack Server is using the repository. The claim repository option is disabled if any FastBack Server, even a defective server, is using the repository. 2. In FastBack Manager, from the Configuration tab, select General Configuration Storage Pool. 3. Right click Repository Pool; then, click Claim Repository. If a repository has open files or an application running, you cannot claim the repository. 4. Specify the fully qualified path to the Locations.ini file for the repository. Tip: The Locations.ini file is a hidden system file. You must clear the hide protected system files option before you can select or view this file. 5. Click OK. Note: The data deduplication server IP address is specified with the StorageNetIPAddress property in the Locations.ini configuration file. For example:
StorageNetIPAddress=9.148.229.203
99
When the IP address of the machine running the StorageNet server changes, the StorageNetIPAddress property in all Locations.ini configuration files must be manually updated with the new IP address.
An error occurs when you use one of these characters. In addition, tab and newline are not allowed.
100
Tivoli Storage Manager FastBack does not support the use of the apostrophe when naming the snapshot policy, job schedule, and client group. Snapshot policies that are created using a wizard can be managed and changed using the Policies pane, from the Configuration tab. After the policy has been created, clients groups can be added, changed, or removed. The job schedule can be changed, but you cannot add a new schedule or remove the existing schedule. When you change a snapshot policy, the changes are applied only after running jobs, cleanup, and erase chain procedures are completed. If a policy is added while another snapshot is in progress, the snapshots for the new policy do not start until the snapshot that is in progress completes. When you schedule and run snapshots, if the client has an EISA partition, create a snapshot of the volume with this EISA partition. IBM Tivoli Storage Manager FastBack for Bare Machine Recovery of EISA partitions must be included in the backup snapshot in order for the system to be properly restored. Running defragmentation on volumes protected by Tivoli Storage Manager FastBack results in very large incremental snapshots and might cause a failure. For the supported Windows 2008 and Windows Vista operating systems, the defragmentation task runs automatically on all volumes. To disable the defragmentation task, open the Task Scheduler. You can open the Task Scheduler from the Windows Start menu. Click Programs Accessories System Tools Task Scheduler. Navigate to Task Scheduler (local) Task Scheduler Library Microsoft Windows defrag. From this window, disable the ScheduledDefrag task.
Client groups
Client groups identify the volumes that are backed up. In addition to volumes, client groups can also back up SQL and Exchange databases. The SQL and Exchange databases that are backed up can span across multiple disk volumes. Use the following scenario to help maintain client groups: A volume with signature A is mounted to a specific mount point, and a client group using this mount point is created. Next, the volume is unmounted, and a different volume with signature B is mounted to the same mount point. The FastBack Manager displays the following message:
FBSG5815I The volume configuration of the following FastBack Client has changed <volume_info>. Super user should delete and rebuild the affected client group if any.
Going into the affected client group, the volumes are displayed as they should be. For the new signature to be associated with the mount point, click Apply, otherwise the FastBack Manager and FastBack Server associate the old signature with the mount point.
Job schedules
Job schedules are used to set the following attributes: v the time the snapshot is taken v the type of snapshot that is taken
Chapter 6. Backing up and restoring
101
102
1. Click the Wizard icon, . 2. Click Simple Policy Wizard. 3. Select the volumes to back up. A client group name corresponding to the selected volume is automatically assigned. 4. Select and complete parameters. 5. Enable or disable Disaster Recovery for this snapshot. If enabled, the snapshot is replicated by the Disaster Recovery procedure. 6. When you are finished, click Apply to save the configuration. The snapshots are scheduled at the set times. You can define daily periods of time when the snapshot does not run. Excluding daily periods of time is useful for adjusting your bandwidth load and server workload during busy hours. To identify times to exclude, select Exclusion Period. Enter time values to exclude.
103
You can create more than one client group for the policy. v To use an existing client group, complete the following steps: a. Select the Use an Existing Client Group tab. A list of client groups is displayed. b. Select client groups from the list. c. Click Next. 4. The Job Schedule window is displayed. You can either create a new job schedule or use an existing job schedule. Use one of the following procedures: v To define a new job schedule, complete the following steps: a. Select the Define a New Job Schedule tab. b. Type a job schedule name. c. Select a type: Full forever All snapshots are full snapshots. Incremental forever The first snapshot is a full snapshot. All subsequent snapshots are incremental snapshots. d. (Windows only) Decide whether to enable Continuous Data Protection (CDP). To enable CDP, select the checkbox.For more information about CDP, see Continuous Data Protection (Windows only) on page 134. e. In the Run every section, specify how often the snapshot should run. If you want to run the snapshot daily, type a time under Run once a day at. The time you type is the time when the snapshot is run. For the Run every section, to prevent the job from running during specific periods of the day, enable and define the Exclusion Period. f. In the Perform task on section, select the days that the policy should run. g. Click Next to save the new job schedule. v To use an existing job schedule, complete the following steps: a. Select the Use an Existing Job Schedule tab. A list of job schedules is displayed. b. Select a job schedule from the list. Click Add. c. Click Next. 5. A summary window is displayed. The window provides an overview of the job schedules and client groups currently assigned to this policy. The window also includes other options and parameters that you can set for this policy. You can use this window to change the policy setup before you save it. The following list details the additional options and parameters: Enable DR Enable or disable the Disaster Recovery function for this snapshot. If enabled, the snapshot is replicated by the Disaster Recovery procedure. Number of generations Determine the number of snapshot generations that are retained. Older snapshots are cleaned up. Tip: Set the number of generations to exceed the actual number that are retained. If the number of generations is set too low, snapshots that exceed the generation value are placed in the cleanup queue during the restore operation. As a result, you cannot view that the restoring task is still running in the Snapshot Monitor.
104
Snapshot priority Set up the snapshot priority. If several snapshots are running at the same time and exceed the system resources, the snapshots are taken or discarded according to their preset priority. You can change the list of assigned client groups according to the following rules. v To add a client group, click Add. Select a client group. Click OK. v To delete a client group, select the group and click Remove. v To edit a client group, select a client group and click Go To in the corresponding pane. Job schedules cannot be added or deleted. 6. Click Finish. The policy is added to the list of policies. The policy runs according to the job schedule. After you create the policy, you can run an immediate backup using the policy. To complete this task, in FastBack Manager, on the Configuration tab, under the Policies entry, locate the policy you created. Right click to select the policy; then, click Perform Incremental Snapshot.
105
4. Specify a time, in minutes, for Cancel process if it is not completed within. The default value is 10 minutes. The minimum timeout value is 1 minute. The maximum timeout value is 1200 minutes (20 hours). If the script has not completed in the amount of time allocated, the script is cancelled. Twenty minutes after the script has been cancelled, the snapshot aborts. If the snapshot is complete before the script has completed, the status is displayed as successful.
Policy cleanup
Use the Policy Cleanup tab to override the default cleanup definition and set a unique cleanup level for the selected policy. Note: The default definition is set through General Configuration Maintenance Cleanup. For more information about policy cleanup, see Cleanup configuration on page 168. 1. Click Restore default. 2. Set the policy's cleanup level by selecting one of the options. 3. Click Apply.
106
FastBack for Bare Machine Recovery of EISA partitions must be included in the backup snapshot in order for the system to be properly restored. To remove a client group, right-click the group and click Remove.
4.
5.
6. 7.
107
8. (Optional) To specify additional parameters, click Advanced. The following list describes the parameters that you can change. When you finish work in this window, click OK. v Initial time: You can change the default time. v To stop running the job on a specific date or after a specific number of snapshots are taken, select Short range job. v To identify and backup only the used areas of NTFS volumes during full and incremental snapshots, select Content aware snapshot. Note: In the user interface that you use, the format for the time field might not exactly match the figure in this section. The time format varies depending on the regional settings for your system. 9. To create the job schedule, click Apply.
108
v Changing the drive letters on protected servers brings up a dialog in FastBack Manager that prompts you to review the relevant client groups. v Deleting volumes or partitions while the corresponding snapshot is in progress causes the snapshot to be stopped.
109
v For Microsoft Exchange 2000, enable IBM application quiescing and ensure that the Exchange log files will be deleted automatically from the storage group by confirming that Purge Exchange Logs after completed snapshot is enabled. 3. Click Apply to save changes. All Exchange-related snapshot policies created from this point forward would be configured by default according to the new settings.
110
When you use FastBack Manager, by default, the VSS service enabled. The VSS service signals the writer applications to stop operation and to start a backup. To disable the VSS service, complete the following steps in the General Configuration window: 1. From General Configuration, select the Applications tab. 2. Clear the Preserve application consistency selection. 3. Click Apply. To enable IBM application quiescing, complete the following steps: 1. From General Configuration, select the Applications tab. 2. Select Preserve application consistency Use IBM application quiescing. 3. Click Apply. The VSS service can also be disabled for particular job schedules using the Job Schedule window: 1. Select a Job Schedule. 2. In the Job Schedule window, click Application Aware. 3. Clear the Preserve application consistency selection. 4. Click OK Apply. To enable IBM application quiescing from the Job Schedule window, complete the following steps: 1. Select a Job Schedule. 2. In the Job Schedule window, click Application Aware. 3. Select Preserve application consistency Use IBM application quiescing.
Chapter 6. Backing up and restoring
111
4. Click OK Apply.
Mounting snapshots
FastBack Mount must be installed and operated from a system that can see the repository either through SAN or LAN. You can use FastBack Mount to mount any snapshot and use the snapshot to complete data recovery. FastBack Mount can operate in two modes: GUI and command line interface.
112
Instructions regarding how to use FastBack Mount on Linux are available at File-level restore and instant restore (Linux) on page 127
113
you start the iSCSI initiator and login to the Windows system running FastBack Mount. You can then create a local mount directory and mount the new device to the local directory. When you finish the file recovery task, you can unmount the target. For more detailed instructions, go to Recovering files on page 120 FastBack Mount saves changes to data on a virtual volume in the write cache. The write cache is enabled by default, the path isC:\Documents and Settings\All Users\Application Data\Tivoli\tsm\FastBack\mount and the size is set to a maximum of 90% of the available space. These settings can be configured by clicking on settings in the main FastBack Mount window, or by editing the configuration file FastBackMount.conf. The write cache must be located on a local drive and cannot be set to a path on a shared folder. If the write cache is disabled, changes to the data on a virtual volume will be stored in RAM. The FastBack Server does not have to be running when you use FastBack Mount.
114
anti-spyware software on this system. When anti-virus and anti-spyware applications run simultaneously with FastBack Mount, there is high processor usage, resulting in snapshots running slowly or being aborted. In very rare cases, running FastBack Mount with anti-virus and anti-spyware applications can also cause a Windows system crash. If a system crash occurs, reboot the system. The system should start normally. During FastBack Mount and Administrative Command Line installation, when asked for IP address, type the IP address for the NetBackup client. Alternatively, if FastBack Mount is already installed, open the FastBackShell.ini, and manually configure the IP address for the NetBackup client. The file FastBackShell.ini is located in the following path C:\ProgramFiles\Tivoli\TSM\FastBack\shell. 2. Run full backups. 3. Verify that the NetBackup client is configured to 0 retries. 4. For the Active Directory user that is logged on to the NetBackup client, give NTFS permissions to the volumes. These volumes are backed up by the NetBackup software. 5. For every NetBackup policy, back up a single volume. 6. Increase the Client Read Timeout parameter to 900 seconds. To create a backup, complete the following steps: 1. To receive information on volumes available for tape backup, on the NetBackup client system, run the following command:
FastBackShell -c mount dump -type share -rep P -for TapeBackup -reparse P [-file P]
For more information about the parameters, use the following list: -rep Use this parameter to specify the FastBack Server repository. Use the network share followed by username and password with permissions to see the repositories. For example,
share: \\hostname\share user=username pass=password
-reparse Use this parameter to specify the volume name for automatic re-parse points. The default is C:. -file Use this parameter to specify the file name for the dump file. For example,
C:\tape\dump_con_share.txt
For an example of this command with parameters, refer to the following code sample:
"%dir%FastBackShell.exe" -c mount dump -type share -rep "share: \\computer_name\folder_path\London-FastBack\repository user=tapeadmin pass= admin123 domain=Taurus" -for TapeBackup -reparse c: -file C:\tape\ dump_con_share.txt
The resulting dump file, for example, C:\tape\dump_con_share.txt, looks like the following sample:
"%dir%FastBackShell.exe" -c mount add -ro -rep "share: \\Con\ London-IBM\repository user=tapeadmin pass=admin123 domain=Taurus" -target "c:\Con(092)London-IBM (092) repository(092)\Policy-DC\London-DC\C\\" -policy "Policy-DC" -server "London-DC" -volume "C:\\" -date "last snapshot"
115
(092) stands for backslash in the part of the target path that represents the location of the repository. If there are multiple volumes in a repository, separate lines are created for each volume. 2. Create a new batch file in a directory on the NetBackup client system. For example, create the mount.bat file. You can use the following code samples to help complete this step:
set dir=c:\Program Files\Tivoli\TSM\FastBack\shell\ ... IF %ERRORLEVEL% EQU 0 goto end :error_end echo could not mount EXIT 1 :end EXIT /B 0
When using this sample, use the following guidelines: v dir should specify the full path to the FastBackShell.exe file. v Paste the contents of the dump file into mount.bat instead of the ... line. v Replace C:\Con(092)London-IBM (092)repository(092)\ with the folder that you want the volume to be mounted to. For example, C:\mount. v If the dump file has more than one command, use only one command with the volume that you want to backup in this particular policy. 3. Run the following command to mount the latest snapshot to a mount point: mount.bat. For a sample mount point, refer to the following example:
c:\ mount\Policy-DC\London-DC\C
4. Open the NetBackup Administration Console and create a new policy. To create a new policy, you can complete the following steps. In these steps, the new policy wizard is not used, but you can use the wizard. a. In the Add New Policy window, go to Attributes and click Cross Mount Points. b. Choose a predefined destination. For the policy type, select MS-Windows-NT. c. Go to the Schedules tab to create a schedule. d. Go to the Clients tab to select the NetBackup client system. e. Go to the Backup Selections tab to type the full path to the mount point. For example, D:\Orion\rep\Policy-G\Apollo-Exchange\G 5. On the NetBackup client, in the bin directory, a bpstart_notify.Tape_Backup.bat file must be created. For additional policies, substitute the name of the policy instead of Tape_Backup in the file name. The bpstart_notify.***.bat file needs run before the backup. If the backup fails, the backup is aborted. To mount the snapshot before backup starts, call mount.bat. The following example demonstrates how to call mount.bat:
call c:\Tape\mount.bat >> c:\tape\pre.log 2>&1 echo %errorlevel% > %6
If the volume is not mounted, the next backup might fail. 6. On the NetBackup client, in the bin directory, a bpend_notify.Tape_Backup.bat file must also be created. The Bpend_notify.***.bat file is run after the backup finishes.
116
7. On the NetBackup client system, create a new batch file, for example, dismount.bat, in the following directory on the NetBackup client system: C:\Tape. For an example of how to dismount the snapshot after the backup is finished, refer to the following code sample:
call c:\Tape\dismount.bat >> c:\tape\pst.log 2>&1 echo %errorlevel% > %6
Run the dismount.bat file to dismount the previously mounted snapshot. 8. On the NetBackup client system, create a new batch file in a directory. For example, create the start_backup.bat file in the C:\Tape. You can use the following code samples to help complete this step:
@ECHO OFF bpbackup -i -p Tape_Backup -s diff_incr REM Checking group was not started if %ERRORLEVEL% == 0 goto END echo Backup was not started :END
Volume recovery
Volume restore restores an image of the original volume. Volume restore and instant restore can restore an image only to a basic disk or to a simple volume, and not to dynamic disks. Volume restore restores an image of the original volume. Volume restore and instant restore can restore an image only to a basic disk or to a simple volume, and not to dynamic disks. | | | | When you complete a Disk Restore, if open, close the disk management utility that is a part of Windows system management tools. Volume-level restore operations are performed from the Snapshots Monitor pane or from the Recovery pane, by choosing the specific snapshot to be restored. Before performing a volume restore, review the following list of possible limitations: v Volume restore cannot be performed in the following cases: The destination volume includes an operating system or page file. The destination volume is part of software RAID. The snapshot is running on the target volume, or on any volume that belongs to the same policy. v Volume restore fails if there are open files or applications running on the destination volume. You can force a restore on a destination volume that has open files or applications by selecting Ignore open handles on the destination volume. Ignoring open files and applications on the destination volume can cause a problem with applications, including the loss of data in files that are open on the target volume.
117
v If the FastBack Server does not respond during volume restore, or the volume restore is aborted, the restored volume stays dismounted and its data is invalid. In this case, either remove or format the volume. Alternatively, if another restore attempt was successfully completed, the volume has to be mounted again.
File recovery
Administrators can use FastBack Mount for efficient file-level recovery and to minimize downtime by mounting snapshots to virtual volumes. The virtual volume can be viewed using any file manager, for example Windows Explorer. The directories and files in the snapshot can be viewed and managed like any other file. If you edit the files and save your changes, after you dismount the volume, your changes are lost because the changed data is held in memory and never saved to disk. Because the changes are written to memory, FastBack Mount can use a large amount of RAM when working in read/write mode. You can copy the changed files to another volume before performing a dismount. On Microsoft Windows XP and Microsoft Windows 2003 operating systems, you can select read only as a mounting option. For Windows 2000 servers, the read only option is not supported. FastBack Mount can mount snapshots from more than one source: v Local or SAN repository v Shared repositories on the network, either after replication or attached to FastBack Server FastBack Mount can be used for the following tasks: v Speeding up archiving to tape and other media v Efficient copying of large amount of data on the SAN v Mounting database applications for batch reports v Quickly verifying snapshots and the database File-level recovery is not supported for FastBack Server repository data located on Tivoli Storage Manager tape media. If you wish to use FastBack Mount for file-level recovery of data that is stored on tape, the data will need to be moved to disk or file storage. This can be done in Tivoli Storage Manager by using the QUERY OCCUPANCY command to see where the data is stored, and then using the MOVE NODEDATA command to move this data back to disk or file storage. For more information on these commands, refer to the Tivoli Storage Manager Information Center: http://publib.boulder.ibm.com/infocenter/tsminfo/v6r2/ index.jsp
Instant restore
You can use instant restore to start using data on the same disk where the volume is being restored, while the restore operation is in progress. Instant restore works only with mounted volumes. Mounted volumes should have an assigned drive letter. You can complete an instant restore of a volume in a supported clustered environment. While instant restore process is running, you can access the volume. Other volumes in the cluster should not be affected and you can work with the
118
cluster, as well as with that volume, in parallel. During the instant restore the disk being restored cannot fail over, in the event the node fails. If a system is shutdown while instant restore is in progress, the instant restore automatically continues from the same point when power is restored. Instant restore destination volumes must be either on basic disks, or simple volumes on dynamic disks. Destination volumes cannot be spanned volumes, mirrored volumes, or RAID-5 volumes. You can use a basic disk as a destination volume and then convert the basic disk to a dynamic disk. Instant restore is not supported for FastBack Server repository data located on Tivoli Storage Manager tape media. If you wish to use instant restore to restore data that is stored on tape, the data will need to be moved to disk or file storage. This can be done in Tivoli Storage Manager by using the QUERY OCCUPANCY command to see where the data is stored, and then using the MOVE NODEDATA command to move this data back to disk or file storage. For more information on these commands, refer to the Tivoli Storage Manager Information Center: http://publib.boulder.ibm.com/infocenter/tsminfo/v6r2/index.jsp
Restoring volumes
You can restore a volume to a selected destination where all of the volume data can be accessed. Before you start restoring a volume, complete the following steps: 1. From the Windows Start menu, select Programs Tivoli Storage Manager FastBack FastBack Manager. 2. In the logon window, type your user name. The default user name is admin. 3. Type your password. The default password is admin123. 4. Select a domain. The default domain is XPRESS-RESTORE. After you select the domain, the configuration is loaded. This process might take a few minutes. You cannot click Login until the configuration is loaded. 5. Click Login. 6. Verify that the Microsoft Windows share representing the FastBack Server repository is available. The client needs to point to the share for the restore process to be successful. To complete this step, use the following procedure: a. From the Windows Start menu, select Control Panel. b. Open Administrative Tools. c. Open Computer Management. d. In the navigation tree, expand Shared Folders. To go to the default shared folder without knowing the name of the repository disk or repository folder, type the following string and you can connect to the FastBack Server shared repository: \\ServerName\rep When you run a volume restore, you restore an image of the original volume. To restore a volume, complete the following steps: 1. In FastBack Manager, from the Snapshots Monitor tab, right-click the snapshot to be restored; then, click Restore Snapshot Volume Restore. When you select the snapshot, make sure the policy and snapshot correspond to the FastBack Client system.
119
2. Select the destination volume where you want the volume restored. Verify that the size of the target is equal to, or greater than the size of the volume to be restored. Otherwise, the restore process does not complete. Attention: v Restoring a volume to a viewable storage volume involves overwriting data on that existing storage volume. After the restore begins, the current volume contents are permanently erased. Before you start the restore, verify that the correct volume is selected, and that there are no open handles or processes using that volume. v The restore operation fails if there are open files or applications that are running on the target restore volume. On a FastBack Client running with the Microsoft Windows operating system, selecting Ignore open handles on the destination volume causes Tivoli Storage Manager FastBack to ignore the open files and applications that are running on the destination volume. This situation can cause a problem with applications and loss of data in files that are open on the target volume. If the FastBack Client is running on a computer with the Linux operating system and you select Ignore open handles on the destination volume, the selection is ignored. You have to manually stop all open files and processes on the Linux client volume where you want to restore before performing a volume recovery. 3. Click Apply. In response to the verification message, click Yes. Note: After the restore process is complete, the target volume is not displayed from the FastBack Manager. The target volume is not displayed because the volume is not mounted. 4. (Linux only) After the volume restore is complete, manually mount the volume with one of the following commands: v If the mount point is permanent, use the following command:
mount -a
v If the mount point is temporary, use the following command to specify the device and directory:
mount <device_name> <directory>
Recovering files
Administrators can use FastBack Mount for efficient file-level recovery and to minimize downtime by mounting snapshots to virtual volumes. On supported Windows operating systems, file-level recovery is supported on NTFS volumes. Note: File-level recovery is not supported for FastBack Server repository data located on Tivoli Storage Manager tape media. For more information see Volume and file recovery on page 117. (Linux only) To run a file-level recovery for a Linux system, see File-level restore and instant restore (Linux) on page 127. (Windows only) To run a file-level recovery for a Windows system, complete the following steps:
120
1. Use administrator credentials to log on to the FastBack Client system where you want to restore files. FastBack Mount is installed on the FastBack Client system. 2. (32-bit operating systems only) Start FastBack Mount by going to the Microsoft Windows taskbar area and clicking the FastBack Mount icon. The taskbar area is also referred to as the system tray. 3. (64-bit operating systems only) Start FastBack Mount by selecting Programs Tivoli Storage Manager FastBack FastBack Mount. 4. In the FastBack Mount window, select the repository to use as the source. By default the local repository is selected. You can select a network-shared source. If you do not see the repository in the list, select Browse for folder to navigate and select a volume. When connecting to a shared folder with the repository volume, use the following format when entering credentials: v For non-domains, systemname\username, then type the corresponding Microsoft Windows password. v For domains, domainname\username, then type the corresponding Microsoft Windows password. If you want to unload an open repository, click Remove. 5. To refresh data that is displayed according to the repository that is selected, click Refresh. 6. (Optional) To change the caching options, click Settings. You can select the following options: Enable Caching is enabled. Caching is not required for local, SAN, and shared repositories. Access Auto-check Select Access autocheck to gray out all the snapshots where the current user does not have permissions. 7. Select a policy. The list includes all policies that apply to the repository that you selected. 8. Select a server. The list includes servers that are backed up per the selected policy. 9. Select a volume. The list includes volumes backed up on a the selected server. Choose the volume that has the copy of the file that you want to restore. 10. Select a date. The list includes snapshots that ran for a selected volume. You can select a specific snapshot or, at the bottom of the list, select the Last Snapshot option. The Last Snapshot option mounts the snapshot that is last on the list when the volume is mounted. If you mount the last snapshot, if a new snapshot completes on the same volume, the mounted volume is not automatically updated. 11. Click Mount. 12. In the Choose mount destination window, select a drive where you want the data mounted and click OK. 13. Open Windows Explorer. The volume mounted to the drive you selected should be displayed. 14. Open a second Windows Explorer window. Navigate to the drive where you want to restore the files. 15. From the Windows Explorer window with the mounted volume, select the files to restore. Drag and drop the files to the second Windows Explorer
Chapter 6. Backing up and restoring
121
window, to the drive where to restore the files. Verify that the size of the target is equal to, or greater than the size of the files to be restored. Otherwise the file recovery process does not complete.
122
the list when the volume is mounted. If you mount the last snapshot, if a new snapshot completes on the same volume, the mounted volume is not automatically updated. 11. Click Restore. 12. A window is displayed. The message indicates that you need to stop the FastBack Client service. Stop the FastBack Client service. 13. Click Resume. The restore process continues. 14. In the Select Drive Letter for Instant Restore window, select a volume where you want the data restored and click OK. Verify that the size of the target is equal to, or greater than the size of the volume to be restored. Otherwise, the instant restore process does not complete. Attention: v Restoring a volume to a viewable storage volume involves overwriting data on that existing storage volume. After the restore begins, the current volume contents are permanently erased. Before you start the restore, verify that the correct volume is selected, and that there are no open handles or processes using that volume. v The restore operation fails if there are open files or applications that are running on the target restore volume. Selecting Ignore open handles on the destination volume causes Tivoli Storage Manager FastBack to ignore the open files and applications that are running on the destination volume. This situation can cause a problem with applications and loss of data in files that are open on the target volume. 15. A confirmation message is displayed. Click Yes. The restore process begins. In the Instant Restore section, you can see the status of the restore process. For the Max CPU control, after the Instant Restore section, you can move the slider to adjust the processor usage for the restore process. If you want to cancel the restore process, select the instant restore session that is in progress and click Abort. All data on the target drive is lost. You can click Abort All to cancel all processes. If someone cancels or stops an instant restore session without clicking Abort or Abort all, for example, if someone stops the FastBack Mount service, the restored volume is displayed as a valid volume, but the data on the volume is invalid. The data is invalid because the data was partially restored, but the restore process did not have time to complete and the shutdown was abnormal. If there is a temporary problem that prohibits the session from running, the instant restore session pauses. You cannot manually pause a session. The software issues a command to pause the system if there is a problem detected and that problem seems to be temporary. For example, if there is a network problem that results in a temporary loss of access to the remote repository, the instant restore session pauses. To continue to the restore process after it has paused, select the appropriate line in the instant restore list and click Resume. You can use instant restore to restore a simple volume on a dynamic disk. This restore might cause the disk status to change to Online (Errors) and the status of all volumes on the disk to change to At Risk. This change in disk status can occur when network traffic is too heavy for instant restore to operate. In this situation, the volumes are online and mounted. You can return the disk and volume status to normal by going to the Computer Management Console. Right-click the disk; then, click Reactivate Disk.
123
Note: Instant restore is not supported for FastBack Server repository data located on Tivoli Storage Manager tape media. For more information see Volume and file recovery on page 117.
124
7. To bring the other disks online after the restore starts, right-click the icon for the group that contains the disk; then, click Bring Online. 8. After the instant restore is complete, use the following steps to reconfigure the cluster to permit failover of the disk that you restored. This step reverses the action that you completed in step 1 on page 124. a. Double-click the icon for the disk that contains the volume that you want to restore. b. Select the General tab. c. Click Modify. This button is next to the Possible Owners field. The Modify Possible Owners window is displayed. d. In the Modify Possible Owners window, move all nodes to the Possible Owners window. e. In the Modify Possible Owners window, click OK. f. On the General tab, click OK. 9. Use the following procedure to restore the Looks Alive and Is Alive poll intervals of the disk back to the original values: a. Double click the disk. b. In the window that is displayed, select the Advanced tab. c. For both Looks Alive and Is Alive parameters, use one of the following steps: v If the Use value from resource type button was selected before changing the value, select it again. v If the Specify value radio button was selected before changing the value, restore the value to the original value. 10. Resume normal operation.
125
a. In the left vertical panel you used in step 1 on page 125, select the Service Group tab. b. Right-click the icon for the service group that contains the disk and select Offline node name where the service group is online. The service group is taken offline. c. Ensure that the service group is expanded in the console. If the service group is not expanded, click the + icon that is located next to the service group icon. d. Right-click the VMDg resource that manages the disk and select Online the node that was online before. The resource is online. e. If you are using a MountV resource to mount the volume that you want to restore, bring it online. This step is required so Windows connects the volume with a volume letter that is needed for the instant restore. 3. Start the instant restore. 4. Right-click the icon for the service group that contains the VMDg that manages the disk and select Online the node that was online before. The service group is online. 5. After the instant restore is complete, use the following steps to re-configure the cluster to support failover to the disk that you restored. This step reverses the task you completed in 1 on page 125. a. In the left vertical panel, select the Systems tab. b. For every node that is not the current owner of the disk that you restored, right-click the icon for the required node and click Unfreeze. c. The cluster can remove the disk from the node. 6. Resume normal operation. Option 2: Advanced procedure for improved performance 1. Complete the following steps to configure the cluster to not failover to the disk that you are restoring. These steps should be completed from the Veritas Cluster Manager user interface. a. In the left vertical panel, select the Systems tab. b. For every node that is not the current owner of the disk that you want to restore, right-click the icon for the required node and select Freeze Persistent. The cluster cannot remove the disk from the currently owned node. 2. Complete the following steps to take all disk-dependent resources offline to prevent the instant restore volume dismount from causing them to fail. a. In the left vertical panel you used in step 1, select the Service Group tab. b. Right-click the icon for the service group that contains the disk and select Offline node name where the service group is online. The service group is taken offline. c. Ensure that the service group is expanded in the console. If the service group is not expanded, click the + icon that is located next to the service group icon. d. Right-click the VMDg resource that manages the disk and select Online the node that was online before. The resource is online.
126
e. If you are using a MountV resource to mount the volume that you want to restore, bring it online. This step is required so Windows connects the volume with a volume letter that is needed for the instant restore. 3. Start the instant restore. 4. After the instant restore starts, you can bring the service group online. To bring the service group online, right-click the icon for the service group that contains the VMDg that manages the disk. Select Online name of the node where the service group was online. 5. Right-click the service group icon and select Freeze Persistent to freeze the service group that contains the disk. 6. Complete the following steps to unfreeze the frozen nodes. This step reverses the task you completed in 1 on page 126. a. In the left vertical panel, select the Systems tab. b. For every node that is not the current owner of the disk that you restored, right-click the icon for the required node and click Unfreeze. c. The cluster can move all resources except for the service group that contains the VMDg that manages the disk. 7. After the instant restore is complete, right-click the service group icon and select Unfreeze to unfreeze the service group that contains the disk. 8. Resume normal operation.
127
snapshot 1 snapshot 2
mirror
mdadm
iSCSI initiator
TCP
write I/Os
write cache
FastBack shell
TCP
FastBack Mount
CIFS share
local storage
FastBack server
blocks
CIFS share
repository
Windows system 3
Figure 8. Linux Instant Restore
Windows system 1
Windows system 2
Figure 8 shows all the modules that work together in order to provide FastBack Mount on Linux. It allows the FastBack Shell (Windows system 3) and FastBack Mount (Windows system 1) to connect to multiple repositories (Windows system 2). Snapshots residing on these repositories are available for file-level recovery or instant restore operations.
Table 24. Minimum environment for Linux instant restore System: Linux system Must contain these applications: v FastBack Client v FastBack Mount
128
Table 24. Minimum environment for Linux instant restore (continued) System: Microsoft Windows system Must contain these applications: v FastBack Server v FastBack Shell v FastBack Mount v Secure Shell (SSH) key authentication to the Linux machine Table 25. Example Windows environment for Linux instant restore System: Runs these applications:
Microsoft Windows system #1 FastBack Server Microsoft Windows system #2 FastBack Mount Microsoft Windows system #3 v FastBack Shell v Secure Shell (SSH) key authentication to the Linux machine Table 26. Minimum package requirements for Linux instant restore Packages: open ssh mdadm lsscsi iscsiadm Minimum version: 0.10 2.6 0.10 2.0
Note: If the minimum package versions are not installed the following message will be displayed:
WARNING: One of the tools is missing or with wrong version. Please check the logs in /opt/IBM/Tivoli/TSM/FastBack/mount/engine/var
129
v Make sure your environment consists of all prerequisite applications as described in FastBack Mount on page 15. v FastBack Mount saves changes to data on a virtual volume in the write cache. The write cache is enabled by default, the path is C:\Documents and Settings\All Users\Application Data\Tivoli\tsm\FastBack\mount and the size is set to a maximum of 90% of the available space. These settings can be configured by clicking on settings in the main FastBack Mount window, or by editing the configuration file FastBackMount.conf. The write cache must be located on a local drive and cannot be set to a path on a shared folder. If the write cache is disabled, changes to the data on a virtual volume will be stored in RAM. v It is possible to unmount the virtual device on the Linux system when mounting a snapshot. However, the unmount causes an automatic recovery process to mount the device again. v In order to prevent the recovery process from mounting the device, stop the cron daemon. For example:
(RedHat) /etc/init.d/crond stop (SUSE) /etc/init.d cron stop
Make sure to start the cron daemon when processing completes. This task guides you through configuration steps required to use FastBack Mount. 1. Log on to the Linux system (where the FastBack Client is installed) with root user authority. FastBack Mount must be installed on this FastBack Client Linux system. 2. Start FastBack Mount by clicking the FastBack Mount icon on the desktop or running a script from the shell prompt. The first time you access FastBack Mount, the Settings dialog displays. You must enter the following configuration information to proceed: v FastBack Shell a. Enter the host name or IP address of the computer where FastBack Shell is installed. b. Enter the login ID that is used for the Secure Shell (SSH) user. Tip: This login ID is for the Windows system where both FastBack Shell and SSH are installed. This system uses SSH to communicate with FastBack Mount on the Linux system. Make sure this login ID uses a hostname convention defined in the SSH known_hosts file. See Step 4f in Administrative Command Line (Linux only) on page 28 for more information. v FastBack Mount Enter the host name or IP address of the Windows system where FastBack Mount is installed. Click OK to save these values and return to the FastBack Mount window. These settings are stored in the FastBackMount.cfg file. 3. Use the Select a repository drop-down menu to identify the repository to use as the source: v To use an existing repository, simply click on the desired repository. Your selection is saved and you return to the FastBack Mount window. Click Refresh to display the most current repository data.
130
v To add a repository, click Add a repository in the drop-down menu. Choose from one of the following two repository locations in the Add a repository dialog: Repository on remote share Select this value to use a repository that resides on a Windows system within your environment. Enter the following information: Credentials to connect to your repository a. Enter the login ID that is used for this Windows system. b. Enter the password for this login ID. c. Enter the domain to which the login ID belongs. Input your repository location Enter your repository location. For example:
\\vm-03ent-test3.mycompany.com\REP
Important: For Linux systems, a Windows share is mounted by using the forward slash character (/). However, for FastBack Mount on Linux, the backslash character (\) is required to mount the repository. Repository on TSM server Select this value to use a repository that resides on a Tivoli Storage Manager server. The Tivoli Storage Manager server must already be configured and accessible to FastBack Mount. Enter the following information: Input TSM server address a. Enter the IP address or host name of the Tivoli Storage Manager server. b. Enter the port number used for TCP/IP communication with the server. Input TSM server credentials a. Enter the node name used to access the Tivoli Storage Manager server. b. Enter the password associated with the node name. c. Enter the asnodename. This name is similar to the previously-entered node name. However, the asnodename provides proxy authority for your Linux system in order to backup and restore data to the Tivoli Storage Manager server. Branch name Enter the branch name of the FastBack Server located on the FastBack Disaster Recovery Hub. Click OK to save these values and return to the FastBack Mount window. Click Refresh to display the most current repository data. FastBack Mount is now properly configured and ready for restore operations. Use FastBack Mount to accomplish a file-level restore or an instant restore operation.
131
v The tasks described in Configuring FastBack Mount must be completed before attempting a file-level restore. v This procedure assumes you are logged on to the Linux system (where the FastBack Client is installed) with root user authority and the FastBack Mount GUI is available. v SUSE Linux Enterprise Server 10 requires all iSCSI devices to be unmounted before rebooting or shutting down the system. v File-level recovery is not supported for FastBack Server repository data located on Tivoli Storage Manager tape media. For more information see Volume and file recovery on page 117. This task guides you through how to use FastBack Mount to restore files on a FastBack Client Linux system. 1. Identify the snapshot to restore in the Select snapshot field: a. Select a policy. All Linux policies that apply to the selected repository are available. b. Select a server. All servers backed up within the selected policy are available. c. Select a volume. All volumes backed up on the selected server are available. d. Select a date. All snapshots that ran for a selected volume are available. You can select a specific snapshot or, at the bottom of the list, select the Last Snapshot option. The Last Snapshot option mounts the snapshot that is last on the list when the volume is mounted. If you mount the last snapshot, if a new snapshot completes on the same volume, the mounted volume is not automatically updated. 2. Click Mount. The Choose Mount Destination window displays: a. Specify the mount point for the target. Tip: The mount point identifies a volume. b. Specify whether to mount the volume in read only or read write mode. All write operations applied to the mounted volume are lost after unmount when mounted in read-write mode. c. Click OK to close the Choose Mount Destination window. If your file-level restore completed successfully, a new entry displays in the Mounted Volumes field. For example:
testPolicy is mount of [\\vm-03ent-test3.mycompany.com\REP][Policy 0-vm-rh5u2-64-dev4-/sdb1 at 2010-Mar-24 10:15:50
132
| | |
v The tasks described in Configuring FastBack Mount must be completed before attempting an instant restore. v This procedure assumes you are logged on to the Linux system (where the FastBack Client is installed) with root user authority and the FastBack Mount GUI is available. v SUSE Linux Enterprise Server 10 requires all iSCSI devices to be unmounted before rebooting or shutting down the system. v Instant restore to LVM partitions is not supported. v Instant restore is not supported for FastBack Server repository data located on Tivoli Storage Manager tape media. For more information see Volume and file recovery on page 117. v If the destination volume is written to during an instant restore, a write cache must be used. The size of the write cache must be large enough to accommodate the write operation. This task guides you through how to use FastBack Mount to restore a snapshot volume (instant restore) on a FastBack Client Linux system. 1. If this is the first instant restore to the device, skip this step and proceed to Step 2. If this device was used for a previous instant restore, you must unmount and shut down the RAID that contains the target device as shown below: a. Issue this command to unmount the volume:
umount /dev/mdx
where mdx is the disk that contains the target device. 2. Identify the snapshot to restore in the Select snapshot field: a. Select a policy. All Linux policies that apply to the selected repository are available. b. Select a server. All servers backed up within the selected policy are available. c. Select a volume. All volumes backed up on the selected server are available. d. Select a date. All snapshots that ran for a selected volume are available. You can select a specific snapshot or, at the bottom of the list, select the Last Snapshot option. The Last Snapshot option mounts the snapshot that is last on the list when the volume is mounted. If you mount the last snapshot, if a new snapshot completes on the same volume, the mounted volume is not automatically updated. 3. Click Restore. The Select Mountpoint or Block Device for Instant Restore window displays: a. Specify the mount point for the instant restore target. The mount point identifies a volume. Verify that the size of the target is equal to, or greater than the size of the volume to be restored. Otherwise, the instant restore process does not complete. Attention: Restoring a volume to a viewable storage volume involves overwriting data on that existing storage volume. After the restore begins, the current volume contents are permanently erased. Before you start the restore, verify that the correct volume is selected, and that there are no open handles or processes using that volume. b. Specify the block device for the instant restore target. The block device identifies a physical device.
Chapter 6. Backing up and restoring
133
Tip: Although only one value is required, it is recommended to specify both a mount point and a block device. c. Click OK to close the Select Mountpoint or Block Device for Instant Restore window. The instant restore session begins. During the instant restore operation, the content of the restored volumes is available for access. Backing up a restored volume: If you plan to back up a restored volume, you must complete either of the following two actions before attempting a backup operation: v Restart the Linux system where the FastBack Client is installed. v Manually stop the mirror device and mount the restored volume. For example, in the procedure below, sdc1 is the target block device and md0 is the mirror device: 1. Issue the command: umount /dev/md0. 2. Issue the command: mdadm --stop /dev/md0. 3. Issue the command: mount /dev/sdc1 /restoredVolume. Checking the file system Before running a file system check (using the fsck file system utility) after the instant restore completes, complete these tasks: 1. Unmount the RAID device by issuing this command: umount /dev/md0 2. Type in the fsck command to run the file system check.
134
from the Windows Start menu. Click Programs Accessories System Tools Task Scheduler. Navigate to Task Scheduler (local) Task Scheduler Library Microsoft Windows defrag. From this window, disable the ScheduledDefrag task. v Do not run Continuous Data Protection on system volumes. When Continuous Data Protection is enabled, adhere to the following rules: 1. Make sure that Tivoli Storage Manager FastBack repository disks and folders are excluded from any file-level scanning, for example, anti virus and anti spyware software. 2. Continuous Data Protection snapshots should be scheduled every hour. While using Continuous Data Protection gives you the ability to restore a system to a point in time, choosing a proper time point can be a complex decision. This task is simplified by adding log events of the FastBack Client operating system application to the Continuous Data Protection slider layout. Because there are many application log events, these events can be filtered by an external script on the FastBack Server. For more information about filtering these events, see Continuous Data Protection slider and FastBack Server events (Windows only) on page 137.
135
Table 27. Continuous Data Protection icons (continued) Continuous Data Protection icons Description Continuous Data Protection Snapshot completed successfully. Incomplete Continuous Data Protection snapshot, the Continuous Data Protection data before the aborting point might be available.
v To restore Continuous Data Protection data between the last snapshot and the one before last, select a completed Continuous Data Protection snapshot. v To restore Continuous Data Protection data recorded after the most recent snapshot is complete, select a currently running Continuous Data Protection snapshot. To restore a Continuous Data Protection snapshot complete the following steps: 1. Click Snapshots Monitor. 2. Right-click a Continuous Data Protection snapshot; then, click Restore Continuous Data Protection Volume Restore. Note: Only the last two Continuous Data Protection snapshots from each chain are available in the Snapshots Monitor list. In the window that is displayed, select a destination volume and click Next. Close any applications that are running on the destination volume. The restore operation fails if there are applications that are running or files open on the target restore volume. If you select Ignore open handles on the destination volume, Tivoli Storage Manager FastBack ignores files that are open and applications that are running on the destination volume. Files that are running and applications that are running can cause a problem with the target volume. You must close the files and applications that are open on the destination volume. Use the Ignore open handles on the destination volume only if there is no other choice. Click Next Step. The window contains a scale that represents the time between two snapshots (Continuous Data Protection range). v Events that took place during that time are marked as green lines. v Consistency points within that range are marked blue. v Hovering over an event or a consistency point shows a tool tip indicating the event/consistency point name. v Parts of the Continuous Data Protection range that are marked with broken red line are periods within the Continuous Data Protection range, in which no activity was registered because the server was not available because of network issues. These periods cannot be restored using the Continuous Data Protection feature. To restore the data covered by the red area use the next consistent snapshot. 7. Move the sliding dial to the point where you want to restore. The time and date are indicated in the time and date fields below the time line. You can also enter the desired time in the time field. If the time field contains the valid Continuous Data Protection restore time, its font color is black. Otherwise it is red. The date field is disabled and can be changed only by moving the dial when the scale's range exceeds one day.
3. 4.
5. 6.
136
If you select Restore to consistency points or events only, the dial snaps to the closest event or consistency point so you can restore to consistency points or events. 8. Click Restore. The point you selected is restored to the destination volume you specified. Restore is enabled only when a valid restore time is selected.
Continuous Data Protection slider and FastBack Server events (Windows only)
Using the Continuous Data Protection slider, a green mark indicates the event that occurred on the FastBack Client. For example, the event can be the discovery of a virus. With this information you can decide when to restore the volume. In this example, you can restore data to the time before the virus affected the system. The events are extracted by FastBack Server every time a CDP slider layout is created. FastBack Server creates a file named ContinuousEventsInOut.txt that contains all the time-relevant events for the particular snapshot with continuous data protection. The file is located in C:\Documents and Settings\All Users\Application Data\Tivoli\TSM\FastBack\Server\ContinuousEventsInOut.txt. This file can be filtered and integrated into the information sent to the FastBack Manager. The events listed in this file are displayed by the FastBack Manager as green marks on the CDP scale. Note: For the events mechanism to work properly, the currently logged user on the FastBack Server system must have sufficient permissions to access the log events located on the FastBack Client. If there are permission restrictions, the CDP restore window might not open. You can cancel the extraction of events from the FastBack Client. Events extraction can
137
be canceled at run time by creating a file in the following directory: C:\Documents and Settings\All Users\Application Data\Tivoli\TSM\FastBack\Server\ DoNotAddEventsToJavaContinuousLayout Reminder: It can take as many as 30 seconds for FastBack Server to detect the file.
In this case, when the Continuous Data Protection slider window is opened, a file named out.txt is created in the FastBack Server executable directory. This file contains a single line; the result of the echo command:C:\Documents and Settings\All Users\Application Data\Tivoli\TSM\FastBack\server\ ContinuousEventsInOut.txt. Notes: v One of the limitations of this mechanism is that the size of the filtered ContinuousEventsInOut.txt file should not exceed the size of the original file. This means that the script should only remove the events, but not add anything new. v Any output to the screen, for example, the echo specified in the script, is lost because the script does not have a window to show the output. However, output to files works and if no path is specified the files are searched in the FastBack Server executable directory only and not in the Documents and Settings directory.
138
scripts\Oracle9i_GetSCNNumber.bat script daily. The content should be changed and related system variables should be updated. 2. In the final window of the Scheduled Tasks wizard, select Open advanced properties. Alternatively, in the Scheduled Tasks folder, right-click the task you created and select Properties. 3. Select the Schedule tab. Click Advanced. Enable Repeat task. Select Every 5 minutes, and Duration: 24 hours. Go to the Windows Event Viewer, and check the resulting events. Verify that a new event is created every five minutes. 8. Right-click an event and select Properties to view the event details. 4. 5. 6. 7. To add an event to the Event Viewer, use the eventcreate.exe command line utility.
Background
Exchange 2000, 2003, and 2007 are based on the concept of partitioning the database into user defined storage groups. On Exchange 2000 and 2003, up to four storage groups can be defined, where each storage group can contain a maximum of five databases for a maximum of 20 databases per server. On Exchange 2007, up to 50 storage groups can be defined and up to 50 databases. Exchange is a transaction-based e-mail system in which database transaction integrity is defined by Atomicity, Consistency, Isolation and Durability. Exchange Server 2010 does not include this concept of partitioning the database into user defined storage groups. Instead, Exchange 2010 considers the database as a stand-alone component. Each database still has its own transaction log and checkpoint file. A maximum of one hundred databases can be connected to each Exchange 2010 server. In addition, Exchange 2010 uses database availability groups (DAG). A DAG consists of mailbox servers that provide recovery from database, server, or network failures. They provide continuous replication and continuous mailbox availability. Each database can be replicated to up to sixteen Exchange 2010 servers. These replicated databases can be distributed across geographies. The following Microsoft document provides useful information about Exchange Server 2010 requirements: http://technet.microsoft.com/en-us/library/aa996719.aspx Database integrity is maintained by writing each transaction to the transaction logs before it is committed to the database, and by using checkpoint files as a reference point to determine database consistency. There is one set of transaction logs for each storage group on Exchange 2000, 2003, 2007, and Exchange Enterprise
Chapter 6. Backing up and restoring
139
systems. Transaction log names are sequentially named log files. For example, the first file would be E0000001.log, the next would be E0000002.log. On Exchange 2000 and 2003, each file has a size of 242 880 bytes. On Exchange 2007, the transaction log size is 1 048 576. To save on disk space, Exchange provides the Circular Logging option. Circular Logging enables maintaining a number of transaction logs, typically four or five, while overwriting the oldest transaction logs. Exchange 2007 locale continuous replication files are not backed up by Tivoli Storage Manager FastBack.
Tivoli Storage Manager FastBack for Microsoft Exchange back up and restore processes
The Tivoli Storage Manager FastBack for Microsoft Exchange back up and restore process automatically detect the version of the Exchange system installed on the server and the configured storage groups or databases. Snapshots are taken of each selected storage group. Each snapshot consists of the *.EDB, *.LOG, *.CHK and *.STM (2000 and 2003 only) files for each storage group (Exchange 2000, 2003, and 2007) or database (Exchange 2010). The backup of the Exchange system is performed at the volume. This backup is like a regular volume backup. Disable the circular logging option and delete unnecessary log files using the Purge Log option in FastBack Manager. After the backup is complete, the log files can be automatically erased from the primary storage (set by selecting the Purge Exchange Logs after completed snapshot in the General configuration Application tab). The settings can also be modified per job at Job Schedule level. Create a separate policy for each Exchange version.
Types of backup
There are two types of backup: quiescent and non-quiescent. Quiescent backup is an offline backup. A quiescent backup results in a consistent database, but requires interrupting the operation of the server. The application is released immediately, while the backup process continues to its completion. This is a longer process as services are temporarily shut down to bring databases to a consistent state. For Tivoli Storage Manager FastBack there are two types of quiescent backup: Volume Shadow Copy (VSS) service application quiescing and IBM application quiescing. You cannot use VSS application quiescing and IBM application quiescing at the same time. In addition, you cannot use VSS application quiescing to back up utility partitions. The following list identifies scenarios when you should use VSS application quiescing and IBM application quiescing: v Use IBM application quiescing for supported Windows 2000 and Windows XP operating systems. v Use VSS application quiescing for supported Windows 2003 and later operating systems. If you need an application-aware snapshot, do not use VSS application quiescing.
140
v To back up applications that run on supported Microsoft Exchange servers, verify that the VSS service is supported to take snapshots of the application. A non-quiescent backup is an online backup. Non-quiescent backup is performed without interrupting the operation of the server. Because server operation is not interrupted, the backup can be performed more often. A non-quiescent backup can lead to non-consistent databases with a longer restore process and can result in some data loss. To compensate for data loss, you might want to use a more aggressive backup strategy with non-quiescent backups. Non-quiescent databases can usually be repaired using standard Exchange tools, for example, ISINTEG and ESEUTIL. Databases that suffer from severe corruption can still be restored using Tivoli Storage Manager FastBack for Microsoft Exchange. To improve your chances for successful restore of both quiescent and non-quiescent backups, turn off the Circular logging option in System Manager. Note: The process of migrating from Microsoft Exchange 5.5 to Microsoft Exchange 2000 while the FastBack Client is running on the migrated server is not supported. You must restart the FastBack Client after the migration.
141
Group is renamed, the change is not updated in the FastBack Manager, until the Mailbox Store is dismounted and remounted. 3. For Snapshot Every, choose the rate at which the snapshot is taken. 4. (Optional) Select the Exclusion period and enter the times during the day when a backup should not be performed. 5. Click Apply. A new snapshot policy is created. For example, Multi Volume Client1 Every 30 min. 6. Click this snapshot policy to display the associated client group and job names. You can edit the snapshot policy properties. 7. Type a name for the snapshot policy. 8. Enable DR - Enable or disable the Disaster Recovery function for this snapshot. If enabled, all the snapshot data is replicated by the DR procedure. Do not enable DR on a policy on which CDP (Continuous Data Protection) is enabled. Enabling DR for a policy that has CDP enabled can overload the network because the CDP data is replicated by the DR process. If DR is required, add another policy with DR in lower frequency, and without CDP. 9. Set the Number of generations and Snapshots Priority (which snapshot is run first in situations in which the system capability for performing snapshots is restricted for whatever reason). The Number of generations is the number of snapshots that should be retained. 10. To edit the job, select the job name and click Go to. 11. As necessary, make changes to the job name, range, and frequency. 12. Click Advanced and make any additional changes. 13. (Windows only) Under Application Aware, the Quiescing and Purge options are defined according to the global definitions (under the Application tab). You can change the settings for the job. To consistently back up a Microsoft SQL Server or Microsoft Exchange 2003 client, use VSS application quiescing. If you select an Exchange volume and EISA partition in the same policy, the Exchange logs are not deleted. To solve this problem, create two policies; one for the Exchange volume, and one for the EISA partition. 14. (Windows only) In some cases, if a database being backed up is spread across a large number of volumes, the first full snapshot might not be consistent. However, the following incremental snapshots are consistent. If quiescing is selected, user exit-point scripts do not run, even if the options are selected. Click OK to close the Application Aware window. 15. Click Apply to save changes. 16. Change the storage groups to be backed up by editing the client group of the same snapshot policy.
The FastBack Client must be installed on each node in the cluster. Using the FastBack Client, verify that the SAN Module option is enabled. For more information about using Tivoli Storage Manager FastBack in a cluster environment, see Microsoft Cluster Server (MSCS) and Veritas Cluster Server (VCS) (Windows only) on page 35. To back up the clustered Exchange file server, complete the following steps: 1. On the cluster Exchange volume, create a client group.
142
2. To move groups from one node to another node, use the Cluster Administrator. After moving groups, by default, the next snapshot is an incremental delta block snapshot.
The FastBack Client must be installed on each node in the cluster. Using the FastBack Client, verify that the SAN Module option is enabled. For more information about using Tivoli Storage Manager FastBack in a cluster environment, see Microsoft Cluster Server (MSCS) and Veritas Cluster Server (VCS) (Windows only) on page 35. To back up an SQL server on a Microsoft cluster, complete the following steps: 1. Install the FastBack client on each Microsoft Cluster node. Restart each node when the installation is complete. 2. Open the FastBack Client Configurator and change the SAN Module Enabled to Yes. Click Yes when prompted to restart the FastBack client. 3. Using the FastBack Manager GUI, create a new client group, and from the active node select the cluster volumes on which the SQL databases reside. 4. Change one of the passive nodes to active by creating a manual failover. After you change to a different active node, you can see in the Snapshots Monitor window that the policy is still running and is backing up the SQL cluster volumes.
When restoring Exchange Server 2010 databases that belong to a DAG, the data must maintain consistency among the Exchange servers. The following Microsoft
Chapter 6. Backing up and restoring
143
document provides useful information about restoring and recovering Exchange Server 2010 databases in this situation:http://msdn.microsoft.com/en-us/library/ aa579420.aspx
7. Go to the Exchange System Manager window. 8. In the Exchange System Manager window, expand the Servers folder.
144
9. Right click to select the required Exchange server and storage group; then, click Mailbox Store Mount.
145
v Back up and restore of SQL databases that contain multiple data files or multiple log files. v Back up of multiple databases simultaneously, without interruption to SQL server operation. v Real time restore for tables, views, and other SQL elements using FastBack Mount. You can mount virtual volume with backed up database and recover anything you need without restoring the volume to disk. v Tivoli Storage Manager FastBack supports named instances, however, named instances are not displayed in FastBack Manager. Non-named instances are displayed in FastBack Manager.
FastBack Client XRSQL Scripts Application Quiescing FastBack Client XRSQL Scripts Application Quiescing -
Windows 2003
VSS service
VSS service
VSS service
VSS service
If you run the supported SQL Server 2005 software, select both log and data volumes, and select VSS application quiescing, the back up works. If you run the supported SQL Server 2000 software, use the IBM application quiescing and back up both data and log files. If you run named instances, use scripts to back up.
146
Tivoli Storage Manager FastBack can also back up the SQL Server in a Microsoft Cluster Server environment. The FastBack Client needs to be installed on all nodes in the cluster. The following table provides you with an environment support matrix:
Table 29. Environment support matrix for SQL Servers in Cluster Server environments Windows Server 2003 Cluster Server (32 bit) Microsoft SQL Server 2000 Yes Windows Server 2003 Cluster Server (64 bit) SQL 2000 only available on Itanium processors No Windows Server 2008 Cluster Server (64 bit) No Veritas Cluster Server / Windows Server 2003 (32 bit) No Veritas Cluster Server / Windows Server 2003 (64 bit) No
Microsoft SQL Server 2005 (32 bit) Microsoft SQL Server 2005 (64 bit) Microsoft SQL Server 2008 (32 bit) Microsoft SQL Server 2008 (64 bit)
Yes
Yes
No
No
No
Yes
Yes
No
No
Yes
No
No
No
No
No
No
No
No
No
Both snapshot and CDP are supported for the SQL Server, both named and non-named instances.
Note: If two different job schedules that run on the same SQL volumes, are scheduled for the same time, the full backup job schedule is completed before the incremental job schedule. 1. For consistent backup you must select either SQL Server or each database separately. All data, including the database, on the selected volumes is backed up. Volumes corresponding to selected databases are selected automatically. 2. Type the client group name. 3. Select the job type:
Chapter 6. Backing up and restoring
147
v Full forever - a full snapshot of the client group is taken each time. The Full option is usually used when only a single full image of the volume is required at a certain point, rather than continuous incremental snapshots. v Incremental forever - After the first full snapshot, only incremental snapshots are taken. 4. Define and select options as follows: v Define how often the snapshot is run in the Run Every field. v To prevent the job from being run during specific times of the day, enable and define the Exclusion Period. v For Perform task on, select the days that the policy should run. 5. If appropriate, enable disaster recovery. 6. Click Apply to save changes. 7. Change the storage groups to be backed up by editing the client group of the same snapshot policy. If you have a volume that contains several databases and you choose only one database to backup, when you restore the volume, after the restore, only that database is consistent. For improved performance, separate the internal, also known as system, and external, also known as user, databases to different volumes. If all of the databases are on the same volume, you have to stop the SQL server to restore external databases by using Volume Restore or Instant Restore.
Advanced options
1. Click Advanced. 2. The default job schedule initial time is the current system time. You can change the time, in the 24-hour time format, when the job is initiated. 3. To stop running the job after a particular date, select End by and type the date when the job schedule stops running. To stop running the job schedule after a specified number of times, select End After and type the number of occurrences. You might not want this job to run during the peak usage hours of the day. To set a space of time, during which this job does not run, select Exclusion Period and type the From and To hours, during which the job does not run. The default value is none or zero hours.
148
You cannot use application quiescing and the VSS service at the same time. In addition, you cannot use VSS application quiescing to back up utility partitions. Use IBM application quiescing for supported Windows 2000 and Windows XP operating systems. Use VSS application quiescing for supported Windows 2003 and later operating systems. If you need an application-aware snapshot, do not use VSS application quiescing. To back up applications that run on supported Microsoft SQL and Microsoft Exchange servers, verify that the VSS service is supported to take snapshots of the application. Purge Exchange server log files This option might be displayed, but it does not apply to SQL. In some cases, if a database being backed up is spread across a large number of volumes, the first full snapshot might not be consistent. However, the following incremental snapshots are consistent. If IBM application quiescing is selected, the user exit-point scripts do not run, even if selected.
149
If internal databases are located on the target volume, instead of detaching and attaching the databases, you have to stop and start the SQL server service.
Volume restore
Volume restore can be used to restore an external database that resides on one volume, or that spans several volumes. Restoring to the default location or to another location can be accomplished by using the Enterprise Manager to attach the restored databases to the SQL server. You can also use the attach command using Query Analyzer, to attach it to the selected SQL Server. The following example demonstrates the procedure: v An SQL server has an external database residing on volume E. v The database was backed up using the FastBack Server and then deleted from the SQL server. v The database was restored to the same or different location using the FastBack Server Volume Restore.
150
You can use the attach methods to attach the database to the SQL server again. If the database contains less then 16 files, then use Enterprise Manager. If the database contains more then 16 files use Query Analyzer to write the Transact-SQL command to attach the database. The following example shows the command:
CREATE DATABASE database_name ON PRIMARY (FILENAME = X:\filename.mdf) FOR ATTACH
Disk Restore
| Disk Restore is used in situations where system and disk level recovery is required. Because a restore is performed on disk- or volume-level, all SQL databases on the source volumes are restored. When disk-level restore is performed while the target operating system is running, follow the instructions described in Restoring external databases on page 149. When disk restore is performed, no additional actions are required because the entire system is brought back to a certain point in time.
151
The following sections that follow describe the characteristics of these two approaches. The procedures described assume that the Domino data and log volumes are dedicated to the Domino server and do not contain data for other applications. If any files not belonging to the Domino server exist on these volumes, they are in an unknown state and might be inconsistent when the snapshot is complete. No non-Domino data be placed on these volumes unless it does not matter if these files are lost or corrupted by a volume level restore.
Supported environments
Tivoli Storage Manager FastBack supports the use of procedures described in this section for the back up and restore of Domino servers in the following environments: v Domino 6.5.5 or later v Windows Server 2000 SP3 or later, or Windows Server 2003 SP1 or later (32-bit or 64-bit) as supported by the Domino server used (Windows 2000 only) If the Domino Server is installed on the Windows 2000 platform, tlist should be installed as a prerequisite for running the FastBack script. This file is available on the Windows 2000 CD under 2000Disk\Support\Tools\ SUPPORT.CAB. If isDominoService false is set in the domino_presnapshot.cmd scripts, the Domino Server will restart if the server is running as a regular application by default. Before backing up Domino, you need to start Domino as a regular application, and check the box if you do not wish to be asked again. For Domino servers using DB2 as the data store rather than NSF files, both the offline and online snapshot approaches can be used for full server recovery, but individual Domino database recovery is not available. Domino servers using archival transaction logging are not supported by Tivoli Storage Manager FastBack.
152
needs to be restored. In that case, restoring the log volume together with the data volumes improves the recovery time when the restored server is restarted. Tivoli Storage Manager FastBack provides the scripts to shutdown a Domino server prior to establishing the consistency point and then to restart it after the copy-on-write process is initiated. These scripts can be used by specifying them on the Pre and Post Processes tab when defining the backup policy for Domino servers using FastBack Manager.
153
The database owner can now open the database copy using the Notes client to copy the desired item to the primary database. This step should be completed by the database owner to ensure the encrypted databases remain secure.
Tips
To backup Domino servers with Tivoli Storage Manager FastBack, use the offline snapshot method. This method ensures consistent backups. In addition, you can recover an entire server and individual NSF files. If an alternate backup and recovery solution is used for recovery of individual NSF files (for example, one that uses the Domino online backup API), the Tivoli Storage Manager FastBack online snapshot might be useful to augment that solution. Tivoli Storage Manager FastBack should provide for much faster disaster recovery processing when a full Domino server needs to be restored.
154
Configuring Tivoli Storage Manager FastBack for offline backup of Domino servers
The following instructions for configuring Tivoli Storage Manager FastBack for offline backup of Domino servers assume that you have created a client group and a policy for the Domino server. The following scripts are installed in the Tivoli Storage Manager FastBack scripts directory, when the FastBack Client is installed on the Domino system being protected: v (Windows only) domino_preconpoint.cmd v (Windows only) domino_presnapshot.cmd v (Linux only) domino_preconpoint.sh v (Linux only) domino_presnapshot.sh (Windows only) The default directory for the scripts is C:\Program Files\Tivoli\TSM\FastBack\client\scripts\. (Linux only) The default directory for the scripts is /opt/IBM/Tivoli/TSM/ FastBack/client/scripts Important: (RedHat Enterprise Linux only) In the etc/sudoers file, comment the following line:
Defaults requiretty
1. Edit the scripts to contain the correct values for the variables to meet the current environment. Each script has a variables section at the beginning. You can customize the following variables: NotesProgram Domino product installation directory. Directory Domino data directory. DominoServiceName Name of the service that runs the Domino server instance. isDominoService Flag if Domino server runs as a service. The possible values, not case sensitive, are true and false. doLogging Flag to log the script output. The possible values, not case sensitive, are true, to create a log, and false, to not create a log. LogDir The absolute path of the log directory. For all Windows operating systems, the following path is the default installation directory: C:\Users\All Users\Tivoli\TSM\FastBack Note: The LogDir directory must exist. The log file name are generated using this pattern: {script name}_{date}_{time}.log 2. Open FastBack Manager by selecting Start Programs Tivoli Storage Manager FastBack FastBack Manager. 3. Log on to the console using the correct user name and password. The default user name is admin. The default password is admin123.
155
4. (Linux only) Verify that Domino session is running. From the command line prompt, you can use the following command to determine if a Domino server session is running:
ps -ef | grep notes
If nothing is returned, no Domino server session is running. To start a Domino server in a console, enter the following command:
/opt/ibm/lotus/bin/server
A lot of information is displayed. Click Enter to display a clear console session. 5. Use the following procedure to configure the Domino backup. Each policy comprises one or more selected client groups and one job schedule. a. Under Client Groups, select the Domino application. b. Select the volumes allocated to Domino data and logs. c. Click Apply. 6. Use the following procedure to edit the Domino policy settings and set the scripts for Pre and Post Processes: a. Expand the Policies node, and select the Domino Policy. b. Click Pre and Post Processes. c. Select Pre consistency-point. For the script, type one of the following file names: v (Windows only) domino_preconpoint.cmd v (Linux only) domino_preconpoint.sh d. Select Pre Snapshot. For the script, type one of the following file names: v (Windows only) domino_presnapshot.cmd v (Linux only) domino_presnapshot.sh e. Do not select Post Snapshot. There is no need to perform any action using the a post snapshot script. f. Click Apply. You might also need to change the timeout interval in the Cancel process if it is not completed within x minutes field. The default value of 10 minutes should be adequate for most environments, but if a normal shutdown of the Domino server takes more than 8 minutes, then this value should be increased to be 2 minutes greater than the time required for a normal shutdown of the server. (Linux only) If you mount the backup snapshot as default (read-only) and copy to the Domino server data, the server posts the following message:
Hardware/OS error (Cannot write or create file (file or disk is read-only)) writing to database (/volume1/log.nsf) Cannot write to log file: Cannot write or create file (file or disk is read-only)
After you restore Domino data and receive this error message, run the following command to successfully restore Domino data:
chown -R notes:users /<restored_volume_mount_name>
where notes is the owner of the Domino system, users is the notes group, and <restored_volume_mount_name> is the Domino data path.
156
157
11. The pre snapshot script runs asynchronously. The script runs the volume backup process to start when the server is restarting.
Supported environments
Tivoli Storage Manager FastBack supports the use of procedures described in this section for the back up and restore of DB2 UDB databases in the following environments: v DB2 UDB V8 or later v Windows Server 2000 SP3 or later, as supported by the DB2 UDB version used v Windows Server 2003 SP1 or later (32-bit or 64-bit) as supported by the DB2 UDB version used
Best practices
The following best practices apply to backing up and restoring DB2 UDB databases: v Use separate volumes for data and logs. These volumes should be different than the volume where you installed the DB2 server. If two or more databases share at least one automatic storage path, the split mirror operation for one of these
158
v v
databases might affect more than one database, causing I/O problems for the databases that were not intended to be split. The procedures described in the following sections assume that the DB2 data and log volumes are dedicated to the DB2 database being backed up and do not contain data for other applications or other DB2 databases. If any files not belonging to the DB2 database exist on these volumes, they are in an unknown state and might be inconsistent when the snapshot is complete. No non-DB2 data files be placed on these volumes unless it is acceptable for these files to be lost or corrupted by a volume level restore. Ensure that the snapshot contains all containers and directories that comprise the database, including the volume directory. To gather this information, refer to the DBPATHS administrative view, which shows all the files and directories of the database that need to be included in the snapshot. Both the log and data volumes should be included in the snapshot set for each database backup. In a partitioned database environment, it is not necessary to suspend writes on all partitions simultaneously. You can use the Tivoli Storage Manager FastBack DB2 scripts to backup each partition independently as long as archive logging is used. In that case, restore of an individual partition requires roll forward recovery to be done to the end of logs. Snapshots completed by Tivoli Storage Manager FastBack do not interfere with traditional backups completed using the DB2 backup command and are not recorded in the DB2 backup history.
The restored database can now be opened and used as normal. The following best practices apply: 1. In a partitioned database environment, if only a subset of the database partitions are restored, the restored partitions must be rolled forward to the end of logs. 2. In a partitioned database environment, the db2inidb command must be run on every restored partition before the snapshot image from any of the partitions can be used. The tool can be run on all partitions simultaneously using the db2_all command.
Chapter 6. Backing up and restoring
159
3. Do not issue the db2 connect to <database> command before issuing the db2inidb <database> as mirror command. Attempting to connect to a restored snapshot image before initializing it, erases the log files needed during roll forward recovery.
The restored database can now be opened and used as normal. The following best practice applies: In a partitioned database environment, the db2inidb command must be run on every partition before the snapshot image from any of the partitions can be used. The tool can be run on all partitions simultaneously using the db2_all command.
Configuring Tivoli Storage Manager FastBack for online back up of DB2 UDB
The procedure described below assumes that you have completed the following tasks: v Installed the FastBack Client on the DB2 system. v Created a client group for the DB2 database. v Created a backup policy for the DB2 database. (Windows only) The default directory for the scripts is C:\Program Files\Tivoli\TSM\FastBack\client\scripts\. (Linux only) The default directory for the scripts is /opt/IBM/Tivoli/TSM/ FastBack/client/scripts 1. Edit the db2_executeSQL script to contain the correct values for the following variables to meet the current environment. The variables section is marked at the beginning of the script. dbuser User ID that has the following authorities: sysadm, sysctrl, or sysmaint. dbpass Password for the dbuser user ID. dbinst dbname Database alias to back up. DB2 instance name that runs the database.
160
2. If you do not want to accept the default logging parameter values, edit the db2_preconpoint, db2_presnapshot, and db2_postsnapshot scripts to change the following two variables. doLogging Flag to create a trace log. The possible values: TRUE and FALSE. The default value is TRUE. logDir The absolute path of the log directory. For all Windows operating systems, the default path is C:\%ALLUSERSPROFILE%\Application Data\Tivoli\TSM\FastBack\DB2Agent. For all Linux operating systems, the default path is /opt/IBM/Tivoli/TSM/FastBack/DB2agent Note: The log file names are generated using this pattern: {script name}_{date}_{time}.log 3. Open FastBack Manager and logon using the correct user name and password. 4. Use the following procedure to configure the DB2 back up. Each policy comprises one or more selected client groups and one job schedule: a. Under the Client Groups definition, select the volumes allocated to the DB2 data and logs. b. Click Apply. c. Edit the DB2 policy settings and set the scripts for Pre and Post Processes: 1) Expand the Policies node, and select the DB2 policy. 2) Click Pre and Post Processes. 3) Select Pre consistency-point. For the script, type one of the following file names: v (Windows only) db2_preconpoint.cmd v (Linux only) db2_preconpoint.sh 4) Select Pre Snapshot. For the script, type one of the following file names: v (Windows only) db2_presnapshot.cmd v (Linux only) db2_presnapshot.sh 5) Select Post Snapshot. For the script, type one of the following file names: v (Windows only) db2_postsnapshot.cmd v (Linux only) db2_postsnapshot.sh 6) Click Apply.
161
to the Hyper-V Manager, clicking Settings for the virtual machine, and then clicking Add Hardware Legacy Network Adapter. v To have the mouse available on the Hyper-V virtual machine, install Hyper-V Manager. Hyper-V Manager requires the Microsoft Windows Vista, Service Pack 1 or Microsoft Windows Server 2008. v The boot partition must be located on a virtual IDE disk. Hyper-V cannot boot from a SCSI disk. | | | | A disk restore does not provide the same disk partitioning as existed on the original disk. A disk restore provides only the requested volumes and the valid data available on those volumes. A partition becomes an extended partition beginning with the fourth partition.
162
Chapter 7. Maintaining
This section describes the tasks you can complete to maintain the Tivoli Storage Manager FastBack operations that you have configured and use.
Server status
If the FastBack Server is working without error, status is reported as OK. If the server is not working correct, the following list identifies some possible system errors: v The remaining repository space exceeds the defined threshold. The threshold is defined using the Maintenance tab. v An unprotected or disconnected FastBack Client has been identified. v The FastBack Server is down with one of the following errors reported: Limited mode: Limited mode is often caused by a repository that cannot be accessed or the system finds corrupted files on one of the repositories. Fatal error: Notification initiated by server. Not responding: Notification initiated by the FastBack Watchdog.
Viewing events
It is important to review the events of the last 24 hours daily. Tivoli Storage Manager FastBack provides several means for viewing system and job related events. In addition, Client and Server events can be viewed on the corresponding Client and Server computers through the Windows Event Viewer. Three types of events, identified by different colors, are provided: v White v Yellow v Red - informational events. - warnings events. - alert events.
163
Monitoring snapshots
The Snapshots Monitor view in FastBack Manager is used to display the status of snapshots, including information about each snapshot and restore activity. You can view the monitoring information by clicking the Snapshots Monitor tab. The Snapshots Monitor view has two panes: the right side shows the snapshot information and the left side provides filters for selecting the snapshots that are displayed. Additional information on each snapshot is available by right-clicking any snapshot in the display and clicking either Events or Snapshot Properties. Clicking Events provides snapshot progress information. Clicking Snapshot Properties provides information related to snapshot identification. The user can change the display by filtering snapshots according to various criteria, such as start time, state, snapshot duration, and size. You can restore a snapshot by right-clicking a selected snapshot and choosing the desired restore option.
164
Each snapshot has an icon showing its present status. The expired snapshots are represented by gray icons.
Table 30. Snapshots Monitor icons Snapshots Monitor icons Description Initializing or running snapshot. Continuous Data Protection Snapshot is running. Snapshot completed successfully. Continuous Data Protection Snapshot completed successfully. Successful snapshots whose retention time has expired. Continuous Data Protection process is aborted, but some Continuous Data Protection data is available. Aborted snapshots. Aborted snapshots whose retention time has expired.
Chapter 7. Maintaining
165
v v
166
To run the optimization test, right-click the disk, click Optimize Disk Access. A message is displayed. Respond to the message. You can then view the results of the test in the Properties window for the disk. Select Storage Pool. Right-click the disk; then, click Properties. Important: If you choose a dynamic disk that has been mirrored, spanned, or striped by the Windows Disk Management applet, you can corrupt the data in the repository.
Cleanup
The FastBack Server snapshot repository is a disk-based solution. The repository disk space is limited. Tivoli Storage Manager FastBack uses several mechanisms to optimize the use of repository space, and to automate the process of disk cleanup. During the disk cleanup, obsolete repository data is deleted. Cleanup processes require considerable resources. You should schedule and run cleanup tasks during a time of day and week when snapshots are not scheduled. Running the cleanup during off-peak times reduces the risk of overload to bandwidth and FastBack Server activity. You can schedule and run cleanup tasks when snapshots are running. The cleanup tasks use a locking mechanism to ensure consistency. Before any cleanup task runs, the cleanup process verifies that a snapshot chain is not locked. A snapshot chain is a full snapshot and the corresponding incremental snapshots of the same volume and policy combination. If a chain is locked, for example, when a volume is mounted, or when a snapshot or instant restore is running, the cleanup process runs on the next chain that is not locked and scheduled for cleanup. When a chain is unlocked and available, the cleanup process can run. When the cleanup process starts, the cleanup process locks the snapshot chain. During the cleanup process FastBack Server detects snapshots that are potentially corrupted. When FastBack Server detects a potentially corrupted file, a warning message is displayed and a message is written to the FastBack Server log. During the next scheduled snapshot of the volume a job is run to repair the snapshot. It is not recommended to use a potentially corrupt snapshot. If a problem occurs and you need the data before the repair job for the snapshot completes, complete the following steps: 1. Run the file system check tool. You might have to refer to the operating system documentation for more help in completing this step. 2. Run the application consistency check tool. You might have to refer to the operating system documentation for more help in completing this step. Note: After the repair snapshot has completed, snapshot from that point onward are good and can be used.
Generations
When a snapshot is created, it is tagged with a number that is referred to as a generation. During disk cleanup, generations are a parameter used by Tivoli Storage Manager FastBack for disk cleanup. You can set the number of snapshot generations that are saved. This number of snapshots is available for restore tasks. Older snapshots, beyond the number of
Chapter 7. Maintaining
167
generations you set, are deleted during the cleanup process. For example, you can setup snapshot occurrence to once a day, and the number of snapshot generations to 14. This means that all snapshots performed in the preceding 14 days are available for restore tasks. Snapshots older than 14 days are deleted during the cleanup process. When you use FastBack Reporting to run and view reports, the reports include data about snapshots stored in the repository. The repository can include snapshots that are marked for deletion because the snapshots exceed the number of generations to save threshold. These snapshots cannot be viewed from the Snapshots Monitor tab, but they are stored in the repository until the cleanup process runs and deletes the snapshot. When you run a report, all snapshots, including those that are marked for cleanup because they exceed the number of generations to save threshold, are included in the report. In the Snapshots Monitor tab, the oldest of the available generations is identified, by number. The number is surrounded by bracket characters, for example, [14]. This number indicates the total size of data from all previous snapshots that are not visible or accessible, but reside in the repository at that moment. The size of this information can grow and exceed the size of the backed up volume. The predefined cleanup frequency affects this size. Tip: Set the number of generations to exceed the actual number that are retained. If the number of generations is set too low, snapshots that exceed the generation value are placed in the cleanup queue during the restore operation. As a result, you cannot view that the restoring task is still running in the Snapshot Monitor. The number of generations is defined per policy. To set the number of generations, complete the following steps: 1. Select a policy to edit. 2. Enter the number of generations in the Number of generations field. 3. Click Apply. When creating a new policy, you define the number of generations when using the Advanced Policy Wizard.
Cleanup configuration
Setting the cleanup parameters can affect disaster recovery. When more cleanup processes are running, there is more traffic for disaster recovery. You can use the cleanup level parameter to balance the time and effort of the cleanup process with the amount of data that you need to cleanup. The following list identifies the cleanup parameters: v Cleanup scope, schedule and occurrence are set under the General Configuration Maintenance Cleanup tab. These parameters apply to all Tivoli Storage Manager FastBack policies. You can override the parameters by editing parameters in the Policy Cleanup tab. For more information see section Policy cleanup on page 106. v The number of generations to be retained is a parameter that is set for each policy. v If disaster recovery is used, there is an additional setup pertaining to disaster recovery optimization. This setup applies to all policies handled by Tivoli Storage Manager FastBack.
168
Chapter 7. Maintaining
169
To 1. 2. 3. 4.
start a cleanup, complete the following steps: Start FastBack Manager. From the Configuration tab, select General Configuration. In the work area, select the Maintenance tab. In the Cleanup section, click Run now. Run now is only available when no cleanup process is running.
When a cleanup process is running, there is an indicator for the process in the FastBack Manager toolbar. The hover help for the icon indicates the progress of the cleanup process. To 1. 2. 3. 4. cancel a cleanup process, complete the following steps: Start FastBack Manager. From the Configuration tab, select General Configuration. In the work area, select the Maintenance tab. In the Cleanup section, click Cancel run. Cancel run cancels the current cleanup process. The cleanup is not instantly cancelled. The cleanup is cancelled after the current chain cleanup is complete.
170
After selecting an option, a confirmation message is displayed. The message includes a list with the snapshots to be removed. Click Yes to erase or click No to cancel. A snapshot that is currently being restored by instant restore is not deleted from the repository by the cleanup process until the instant restore process is complete. A snapshot that is mounted by FastBack Mount is not be deleted until it has been released from all mount processes. If an attempt is made to delete snapshots from a chain that is being used by FastBack Mount or the instant restore process, an error message is displayed.
Chapter 7. Maintaining
171
The FastBack Server calls the ExternalNotification.bat file each time an alert is generated. This batch file can be edited. When you edit the file, you can request that an email notification be sent when an alert is generated. You can also use the batch file to apply various user-configured filters to the send notifications. The ExternalNotification.bat file is installed in the same directory as the FastBack Server. By default, this location is C:\Program Files\Tivoli\TSM\ FastBack\utilities. The ExternalNotification.bat file calls the contain.exe file. The contain.exe filters alerts based on the part of the alert quoted in the command. The default filters are included in the following code sample:
contain.exe "%XR_MSG%" "aborted" "The limit for repository" "Unable to initiate snapshot" "Failed to initiate cleanup on volume" "will not perform any snapshots" If %ERRORLEVEL% EQU 0 goto SEND contain.exe "%XR_MSG%" "The Exchange service failed to start" "The Exchange service failed to terminate" "The FastBackServer Failed to access Repository in path" If %ERRORLEVEL% EQU 0 goto SEND contain.exe "%XR_MSG%" "The Repository has Sanity Problem" "Repository Not found on initial" "The Repository in path" "The cleanup of snapshot" "Verification of job" If %ERRORLEVEL% EQU 0 goto SEND contain.exe "%XR_MSG%" "The repository is cleared" If %ERRORLEVEL% GTR 0 goto END
Configurable parameters
The following parameters must be configured in order to enable e-mail messages. These parameters can be configured either during installation or later. v SMTP_SERVER - The SMTP server address (this field must be configured). Variable: SET SMTP_SERVER=smtp.server.name v SMTP_PORT - The SMTP server port. The default is 25. Variable: SET SMTP_PORT=25 v SMTP_TO_ADDRESS - The receiver address (This field must be configured). Variable: SET [email protected] v SMTP_FROM_ADDRESS - The sender address. (This field can be changed). Variable: SET [email protected] v SMTP_SENDER_NAME - This value is the FastBack server machine name. The Orabr_Conf.txt and Orabr_Conf.txt.sig files track FastBack configuration. Note: The FastBack server host name is set as the default sender name (SMTP_SENDER_NAME).
Environment variables
Before FastBack Server calls this batch, it sets the following environment variables. v COMPUTER_NAME - FastBack Server name. v XR_MSG - The message to send. v XR_TYPE - The notification type: JOB_EVENT or EVENT_LOG. v XR_EVENT_LEVEL - The level of the event: INFO, WARNING, ERROR. v XS_JOB_TYPE -The job type: FULL, INC, DIFF, RESTORE.
172
v XS_JOB_SERVER_NAME - Server name, also known as agent name; to be defined only in JOB_EVENT. v XS_JOB_VOLUME_NAME - Job volume name; to be defined only in JOB_EVENT. v XS_JOB_ACTION_NAME - Action item name; to be defined only in JOB_EVENT. v XS_JOB_START_TIME - Job start time; to be defined only in JOB_EVENT. v XS_JOB_SNAPSHOT_SIZE - The snapshot size. v XS_JOB_DB_TYPE - The job database type: NONE, ORACLE, EXCHANGE, or SQL. These environment variables are used later by the batch file to send the notifications. The batch uses the FastBackSendMail utility to send email messages. The environment variables are the only way the script is built. The environment variables are not mandatory.
Disabling utilities
To disable FastBackSendMail, add the following string before the command: REM. This string indicates the line of code is a remark. For example:
REM FastBackSendMail.exe -s %SMTP_SERVER% -p %SMTP_PORT% -t %SMTP_TO_ADDRESS% -f %SMTP_FROM_ADDRESS% -a %SMTP_SUBJECT% -m %XR_BODY_FILE_NAME%
In this example, the FastBackSendMail script does not send any mail.
173
v FastBack Server is down because of one of the following reasons: Limited mode (server initiates notification) Fatal error (server initiates notification) Not responding (notification initiated by the FastBack Watchdog If the server is operating without any errors, an e-mail message is sent with the following subject line:
FastBack Server Status: OK
You can also configure the FastBack Watchdog to send more frequent e-mail notifications. For example, you can receive alerts about a disaster recovery failure or a problem with a snapshot chain. To configure e-mail notification, complete the following steps: 1. (Optional) For more frequent e-mail notifications, complete the following steps: a. Create a blank (empty) text file with the following file name: FullHBReport.txt b. Save this file in the FastBack Server directory. The default path to the FastBack Server follows: C:\Documents and Settings\All Users\Application Data\Tivoli\TSM\FastBack\server 2. From the FastBack Manager, select General Configuration, click on the Alerts tab. 3. Type in the recipient mail server. 4. Click Add and type in the e-mail address for the receiving the alerts in the Add Alerts Recipient box. If needed, you can add more than one recipient e-mail address. You can also send a test e-mail to verify the e-mail addresses are correct. 5. Specify how often you want to receive the alerts in hours using the dropdown menu in the Alerts Frequency section, and type in when you want the alerts to start. 6. Apply your changes. Tip: To verify that the mail server and addresses are correctly entered, click Test E-mail. Tip: Use the Pause button to pause alerts, and select Resume when you want to restart alerts.
174
REM * An IF command that checks if the current notification is Event REM log. If yes, * it goes to the label EVENT_LOG_LABEL IF /I %XR_TYPE% == EVENT_LOG goto EVENT_LOG_LABEL SET SMTP_SUBJECT="FastBack %XR_EVENT_LEVEL% From %XR_MODULE% on %COMPUTER_NAME%." echo echo echo echo echo echo echo FastBack Server Machine name - %COMPUTER_NAME% > %XR_BODY_FILE_NAME% FastBack Client Machine name - %XS_JOB_SERVER_NAME% >> %XR_BODY_FILE_NAME% Volume - %XS_JOB_VOLUME_NAME% >> %XR_BODY_FILE_NAME% Policy %XS_JOB_ACTION_NAME% >> %XR_BODY_FILE_NAME% %XS_JOB_START_TIME% >> %XR_BODY_FILE_NAME% -------------------------------------------- >> %XR_BODY_FILE_NAME% %XR_EVENT_LEVEL%: %XR_MSGID% %XR_MSG% >>%XR_BODY_FILE_NAME%
goto SEND_MAIL_LABEL :EVENT_LOG_LABEL SET SMTP_SUBJECT="FastBack %XR_EVENT_LEVEL% From %XR_MODULE% on %COMPUTER_NAME%" echo %XR_EVENT_LEVEL%: %XR_MSGID% %XR_MSG% > %XR_BODY_FILE_NAME% goto SEND_MAIL_LABEL :SEND_MAIL_LABEL ..\common\contain.exe "%XR_MSG%" "aborted" "The limit for repository" "Unable to initiate snapshot" "Failed to initiate cleanup on volume" "will not perform any snapshots" If %ERRORLEVEL% EQU 0 goto SEND ..\common\contain.exe "%XR_MSG%" "The Exchange service failed to start" "The Exchange service failed to terminate" "The FastBackServer Failed to access Repository in path" If %ERRORLEVEL% EQU 0 goto SEND ..\common\contain.exe "%XR_MSG%" "The Repository has Sanity Problem" "Repository Not found on initial" "The Repository in path" "The cleanup of snapshot" "Verification of job" If %ERRORLEVEL% EQU 0 goto SEND ..\common\contain.exe "%XR_MSG%" "The repository is cleared" If %ERRORLEVEL% GTR 0 goto END :SEND FastBackSendMail.exe -s %SMTP_SERVER% -p %SMTP_PORT% -t %SMTP_TO_ADDRESS% -f %SMTP_FROM_ADDRESS% -a %SMTP_SUBJECT% -m %XR_BODY_FILE_NAME% :end del %XR_BODY_FILE_NAME%
Limited mode
The FastBack Server enters limited mode in one of the following situations: v One of the repository locations cannot be accessed. For example, no network access to a network folder, or one of the volumes drive letter has changed. To solve this problem, complete the following steps: 1. Go to Configuration General Configuration Storage pool Repository Pool. 2. The line of the repository that triggered limited mode is marked with the color red. Right-click to select the line; then, click Failure status to view the problem cause. 3. Select Edit to edit the path. Type in a valid path. If changing the path does not resolve the problem, select Remove from repository (with snapshots relocation). 4. From the Tools menu, start a re-scan of the volume layout.
Chapter 7. Maintaining
175
v There is a corrupted repository. If repository is corrupt, one of the following error messages might be displayed: FBSS7523E or FBSS7519E. To resolve these errors, you can run CHKDSK to repair damaged or corrupted repository files. CHKDSK can be run only if snapshots are not running. To run CHKDSK, complete the following steps: 1. Go to Configuration Tab General Configuration Storage pool Repository Pool. 2. From the lower left pane, select a disk. 3. Right click a disk; then, click Run Check Disk. CHKDSK does not run on repository folders. Do not run CHKDSK from a FastBack Manager system that is installed on a different operating system and NTFS version than the system where the snapshot was taken. For example, a snapshot taken from a Windows Server 2008 system or Windows Vista system cannot be repaired by CHKDSK in FastBack Manager on a Windows Server 2003 system. To run CHKDSK for a snapshot that is taken from a system running a supported Windows 2008 or Windows Vista operating system, mount the snapshot to a FastBack Client system that is running a supported Windows 2008 or Windows Vista operating system. You can run the CHKDSK scan from the FastBack Client system. 4. For all policies that have snapshots stored on the repository, run a checkpoint snapshot. To run a checkpoint snapshot, complete the following steps: LocateGeneral Configuration Storage pool Repository Poolin the Configuration tab, right-click the desired policy and select Run Incremental Snapshot, Run Checkpoint, or Run Full Snapshot. a. From FastBack Manager, go to the Configuration Tab. b. In the navigation tree, locate the policies. c. Right click to select a policy; then, click Run Check Point. By default, when you run CHKDSK, it runs in read-only mode. CHKDSK is running in read mode to avoid the accidental deletion of snapshot files. If CHKDSK fails, you can run CHKDSK in write mode. To run CHKDSK in write mode, complete the following steps: 1. Identify the drive letter for the failed volume in the repository pool window. 2. Go to the Snapshots Monitor window and verify that no snapshot is currently running. If a snapshot is currently running, either wait for it to complete, or manually abort it. 3. Verify that no other background process is currently running, for example, cleanup and repository claim. 4. From Windows, click Start Run. 5. Enter cmd. 6. Enter the following command to stop the FastBack Server:
net stop FastBackServer
8. Enter the following command to restart the FastBack Server: net start FastBackServer If the previous steps do not resolve the problem, you can try the following options: v Make sure that all repository locations are accessible from the FastBack Server. v Check the log for messages that include repair instructions.
176
v Use the Claim Repository option to take ownership of a repository that belongs to another system.
Chapter 7. Maintaining
177
v Tivoli Storage Manager FastBack for Bare Machine Recovery: The FastBack PE share repository browse dialog does not display host names with multi-language characters correctly. In addition, repository share user names and passwords should be in English. v Oracle10g script is supported with an English SYSDBA user name.
178
179
day. The snapshot size is measured in GB. You have to select the dates, server, policy, and snapshots to generate the report. In addition, this report provides minimum, maximum, and average size in GB for each server. Snapshot throughput summary by policy This report uses a line graph to display the snapshot throughput. The throughput is measured in MB per second, according to a range of dates. You have to select the dates, server, policy, and snapshots to generate the report. All reports are created in English. To create and view reports, complete the following steps: 1. Complete the installation process. For installation instructions, see Installing FastBack Reporting (Windows only) on page 50. 2. Start the Tivoli Common Reporting Server. For instructions related to starting and configuring the Tivoli Common Reporting Server, see Starting FastBack Reporting (Windows only) on page 73. 3. During the installation process, if you change the default installation location, you have to configure the data source. For instructions related to configuring the data source, see Configuring the data source (Windows only). 4. Run and view reports. For instructions related to running and viewing reports, see Running and viewing reports (Windows only) on page 181.
180
9. Select the FastBackDataSource data source and click Edit. The FastBackDataSource data source is a database. When the database is identified, the software can query data needed to generate the report. 10. Change the *JDBC URL column to your database. The JDBC URL looks like the following example: jdbc:derby:C:\Program Files\Tivoli\TSM\FastBack\ reporting\database\FBHDB The database location is relative to your FastBack Reporting installation directory. You need to change the following part of the path to match your installation directory: C:\Program Files\Tivoli\TSM\FastBack\reporting\ 11. Click Save.
181
12. Click Run to run the report. Tivoli Common Reporting begins to gather report data. After the process finishes, the formatted report is displayed in a new browser tab or window. To schedule a report to run at a later time, complete the following steps: 1. From the Windows Start menu, select Programs Tivoli Common Reporting Start Tivoli Common Reporting Browser. 2. In the browser window, a message displays a warning about the Web site security certificate. Continue to the Web site. 3. Type the user ID and password you set during the Tivoli Common Reporting installation process. 4. Click Log in. 5. In the navigation pane, click the + icon beside Reporting to expand the tree. 6. Click FastBack Reporting. In the pane next to the tree, FastBack Reporting information is displayed. The default view is a Navigation tab with Report Sets as the root. 7. Click the + icon beside Report Sets Tivoli Products to expand the tree. Select FastBack Reporting. 8. From the table of reports, right-click a report; then, click Parameters from the pop-up menu. The Report Parameters window opens. 9. In the Report Parameters window, specify values for all report parameters. Report parameters are predefined by the report design. 10. Click Save. 11. To schedule a report to run, from the table of reports, right-click a report; then, click Schedules from the pop-up menu. The Report Schedules window opens. 12. Click Schedule Snapshots. The Create Report Schedule window is displayed. There are two tabs in the window: Report Parameters and Schedule. 13. (Optional) Edit report parameters. 14. Click the Schedule tab. Complete the fields to schedule the report. For more information about the fields, see the Tivoli Common Reporting User's Guide. This document is available online athttp://publib.boulder.ibm.com/infocenter/ tivihelp/v3r1/index.jsp?topic=/com.ibm.tivoli.tcr.doc/ctcr_intro.html. 15. Click OK. 16. In the Report Schedules window, the schedule you created is displayed in a table. Click OK.
182
If you receive a fix that applies to FastBack Reporting, to install the fix, complete the following steps: 1. Undeploy the history manager. To undeploy the history manager, complete the following steps: a. From the Windows Start menu, select Programs FastBack Reporting Withdraw History Manager. A DOS command window displays the progress. b. During the withdraw history manager process, a window requesting logon credentials is displayed. Type the user name and password you use to log on to the Tivoli Common Reporting Server. The user name and password for Tivoli Common Reporting are set during the installation process for Tivoli Common Reporting. The default user name is tipadmin. Use the password specified during the Tivoli Common Reporting installation process. c. Click OK. d. In the DOS command window, when the deploy history manager process is complete, press any key to close the window. If an error occurs, a message is displayed in the command window. 2. Delete the report package. To delete the report package, complete the following steps: a. From the Windows Start menu, select Programs FastBack Reporting Delete Report Package. b. During the delete report package process, a window requesting logon credentials is displayed. Type the user name and password you use to log on to the Tivoli Common Reporting Server. The user name and password for Tivoli Common Reporting are set during the installation process for Tivoli Common Reporting. The default user name is tipadmin. Use the password specified during the Tivoli Common Reporting installation process. c. Click OK. d. In the DOS command window, when the delete report package process is complete, press any key to close the window. If an error occurs, a message is displayed in the command window. 3. Launch the executable file to install the FastBack Reporting fix. 4. Stop the Tivoli Common Reporting Server. To stop the Tivoli Common Reporting Server, from the Windows Start menu, select Programs Tivoli Common Reporting Stop Tivoli Common Reporting Server. 5. Start the Tivoli Common Reporting Server. To start the Tivoli Common Reporting Server, from the Windows Start menu, select Programs Tivoli Common Reporting Start Tivoli Common Reporting Server. 6. Update the history manager. To update the history manager, complete the following steps: a. From the Windows Start menu, select Programs FastBack Reporting Update History Manager. A DOS command window displays the progress. b. During the update history manager process, a window requesting logon credentials is displayed. Type the user name and password you use to log on to the Tivoli Common Reporting Server. The user name and password for Tivoli Common Reporting are set during the installation process for Tivoli Common Reporting. The default user name is tipadmin. Use the password specified during the Tivoli Common Reporting installation process.
Chapter 8. Reporting (Windows only)
183
c. Click OK. d. In the DOS command window, when the deploy history manager process is complete, press any key to close the window. If an error occurs, a message is displayed in the command window. 7. Import the report package. To import the report package, complete the following steps: a. From the Windows Start menu, select Programs Tivoli Storage Manager FastBack Reporting Import Report Package. A DOS command window is opened and displays the progress. b. During the import report package process, a window requesting logon credentials is displayed. Type the user name and password you use to log on to the Tivoli Common Reporting Server. The user name and password for Tivoli Common Reporting are set during the installation process for Tivoli Common Reporting. The default user name is tipadmin. Use the password specified during the Tivoli Common Reporting installation process. c. Click OK. d. In the DOS command window, when the import report package process is complete, press any key to close the window. If an error occurs, a message is displayed in the command window. 8. Stop the Tivoli Common Reporting Server. To stop the Tivoli Common Reporting Server, from the Windows Start menu, select Programs Tivoli Common Reporting Stop Tivoli Common Reporting Server. 9. Start the Tivoli Common Reporting Server. To start the Tivoli Common Reporting Server, from the Windows Start menu, select Programs Tivoli Common Reporting Start Tivoli Common Reporting Server. 10. Start FastBack Reporting. From FastBack Manager, select Tools Launch Tivoli Common Report. After you start FastBack Reporting, you can, if necessary, configure the data source and run reports. For instructions related to configuring the data source, see Configuring the data source (Windows only) on page 180. For instructions related to running and viewing reports, see Running and viewing reports (Windows only) on page 181.
184
185
d. (Optional) If needed, add additional directories. For example, ListenPath2, ListenPath3. e. Save and close the FastBackDRHubServer.ini file. 3. Restart the Windows service for the FastBack DR Hub Server. 4. In the FTP server root directory that was created in step 1 on page 185, create the following folders: v Logs v Logevents 5. For each branch that is required to complete Disaster Recovery to this FastBack DR Hub Server, create a REP_BranchName folder. The BranchName part of the name must match the value stored on the FastBack Manager Disaster Recovery Configuration tab, in the Branch Name field. For more information about this field, see Configuring FastBack Server Disaster Recovery with an FTP server on page 192.
FastBack Disaster Recovery with Tivoli Storage Manager WAN data deduplication requires the following Tivoli Storage Manager settings: v The deduplication option for any destination storage pool used in FastBack Disaster Recovery WAN Deduplication must be set to yes. v The deduplication option for all nodes used in FastBack Disaster Recovery WAN Deduplication must be set to clientorserver.
186
v Make sure the files to be included in data deduplication are not excluded from Tivoli Storage Manager client deduplication processing. See the client exclude.dedup option settings for details. By default, all files are included.
2. Define a policy set for this domain. FBWANPS is used as the policy set name:
define policyset FBWAN FBWANPS
3. Define a management class for this policy set. FBWANMC is used as the management class name:
define mgmtclass FBWAN FBWANPS FBWANMC
4. Define a FILE device class. FBWANDC is used as the device class name:
define devclass FBWANDC devtype=file mountlimit=256 dir=f:\tsm,g:\tsm
This example identifies f:\tsm and g:\tsm as the directory locations for the device class FBWANDC. Note: Take the following information into consideration when configuring the mountlimit variable: v The maximum number of mount points required is related to the maximum number of sessions. For Disaster Recovery replication a
Chapter 9. FastBack Disaster Recovery (Windows only)
187
given session could open one or more volumes. More than one volume is open for a session when the amount of data replicated causes a volume to exceed the MAXCAPACITY specified for the device class. v For FastBack Mount, instant restore and Tivoli Storage Manager FastBack for Bare Machine Recovery: The number of mount points required for each restore session is dependent on what volumes the required data resides on. In a deduplicated storage pool, it is not unusual for the required data to be spread across many volumes. 5. Define a storage pool for the copy group. FBWANSP is used as the storage pool name:
define stgpool FBWANSP FBWANDC maxscratch=number duplicate=yes
The value for maxscratch specifies the maximum number of scratch volumes that the Tivoli Storage Manager server can request for this storage pool. For more information, see the Tivoli Storage Manager Server Administrator's Reference. In order to use either of the Tivoli Storage Manager server-side or client-side (WAN) deduplication, deduplicate=yes must be specified. Tip: If you prefer to use deduplication without defining a copy storage pool, issue this command as the Tivoli Storage Manager administrator:
setopt deduprequiresbackup no
6. Define a copy group for the management class. The default STANDARD copy group is used:
define copygroup FBWAN FBWANPS FBWANMC destination=FBWANSP
9. Register the following Tivoli Storage Manager nodes to the FBWAN domain: a. Register the node for each FastBack Server that replicates to the FastBack DR Hub Server (FBserver1, FBserver2). Also specify the parameters with each command:
register node FBserver1 FBserver1pass maxnummp=100 backdel=yes deduplicate=clientorserver domain=FBWAN register node FBserver2 FBserver2pass maxnummp=100 backdel=yes deduplicate=clientorserver domain=FBWAN
b. Register the node for the FastBack DR Hub Server (FBDRserver) with these options:
register node FBDRserver FBDRserverpass maxnummp=100 backdel=yes deduplicate=clientorserver domain=FBWAN
Note: Take the following information into consideration when configuring the maxnummp variable: v The maximum number of mount points required is related to the maximum number of sessions. For Disaster Recovery replication a given session could open one or more volumes. More than one volume is open for a session when the amount of data replicated causes a volume to exceed the MAXCAPACITY specified for the device class. v For FastBack Mount, instant restore and Tivoli Storage Manager FastBack for Bare Machine Recovery: The number of mount points
188
required for each restore session is dependent on what volumes the required data resides on. In a deduplicated storage pool, it is not unusual for the required data to be spread across many volumes. 10. Grant proxy node status to the FastBack DR Hub Server node (FBDRserver). This allows the FastBack DR Hub Server node (FBDRserver) to operate as a proxy node for the FastBack Server nodes (FBserver1, FBserver2):
grant proxynode target=FBserver1 agent=FBDRserver grant proxynode target=FBserver2 agent=FBDRserver
11. Set the maximum number of active sessions allowed to the Tivoli Storage Manager server:
setopt maxsessions 1000
Note: Take the following information into consideration when configuring the maxsessions variable: v Maximum sessions started during Disaster Recovery replication is sum of the following: Maximum number of sessions started by each FastBack Server: num_agent_threads * 3. Maximum number of sessions started by the FastBack DR Hub Server: (4 * num_branches * num_agent_threads) + (6 * num_branches). v Maximum number of sessions for FastBack Mount, instant restore and Tivoli Storage Manager FastBack for Bare Machine Recovery: 1 session each (or n, where n represents each different node name used). Additional sessions can be used for instant restore operations running in parallel. v Maximum number of sessions started by Central Control Station: n (where n equals the number of different nodes). The Tivoli Storage Manager server is now configured for WAN deduplication.
1. Start the DRHubConfigurator.exe utility by clicking StartAll ProgramsTivoli Storage ManagerFastBackDRHubConfigurator. Enter the appropriate values for the following DRHubConfigurator.exe options:
Chapter 9. FastBack Disaster Recovery (Windows only)
189
a. When the configurator displays 1 - Move Location type to LOCAL, then the current location setting is TSM. TSM is the correct value. Therefore, do not change this setting. b. 6 - Set TSM server: Specify the host name or IP address of the Tivoli Storage Manager server. (TSMServer) c. 7 - Set TSM port: Enter the port number used for TCP/IP communication with the Tivoli Storage Manager server. The default value is 1500. d. 8 - Set TSM hub node: Enter the node name associated with the FastBack DR Hub Server (FBDRserver). e. 9 - Set TSM password: Enter the password for the node name associated with the FastBack DR Hub Server (FBDRserverpass). f. 10 - Add TSM branch node: 1) Enter the node name associated with the first FastBack Server (FBserver1). 2) Enter the node name associated with the second FastBack Server (FBserver2). g. 11 - Remove TSM branch node: Enter the node name associated with the FastBack Server to be removed. h. 12 - Show current TSM branch nodes: Displays the current FastBack Server nodes in your environment. i. 13 - Set TSM dedup: Specify whether to use WAN deduplication. Note the following characteristics in this FastBackDRHubServer.ini example: v All of the options are preceded by the [General] stanza at the top. v All lines that begin with a semicolon (;) are comments.
; FastBackDRHubServer.ini [General] LocationType = TSM Expanding Threads = 5 Agent Threads = 5 Xmount Sync Time = 4 TSMServer=TSMServer TSMPort=1500 TSMNode=FBDRserver TSMPasswd=FBDRserverpass TSMPasswdEncrypted=no TSMDedup=no TSMBranchNode1=FBserver1 TSMBranchNode2=FBserver2
2. Restart the FastBack DR Hub Server service. 3. Verify that no errors occurred by viewing the contents of the FastBack DR Hub Server log file (FAST_BACK_DR_SERVER_number.sf). This log file is located in the following path: C:\Documents and Settings\All Users\Application Data\Tivoli\TSM\FastBack\drhub
190
29 29 29 29
: : : :
************************************** FastBack DR Hub Server 6.1.3 started ************************************** Starting DR Hub server
4. Verify that the FastBack DR Hub Server is communicating with the Tivoli Storage Manager server by issuing the query sessions command on the Tivoli Storage Manager server (TSMserver). This command displays active communication sessions to the Tivoli Storage Manager server: This query session output shows that the Tivoli Storage Manager server (TSMserver) is using several sessions to communicate with FBserver1 (FBDRserver).
TSM:TSMserver> query session Sess Number -----99 100 101 102 103 104 105 106 107 Comm. Method -----Tcp/Ip Tcp/Ip Tcp/Ip Tcp/Ip Tcp/Ip Tcp/Ip Tcp/Ip Tcp/Ip Tcp/Ip Sess State -----IdleW IdleW IdleW IdleW IdleW IdleW IdleW IdleW IdleW Wait Time -----6.1 M 6.1 M 6.1 M 6.1 M 6.1 M 0 S 0 S 0 S 0 S Bytes Sent ------2.0 K 7.3 K 1.1 K 1.2 K 1.1 K 47.7 K 237.4 K 116.5 K 219.5 K Bytes Recvd ------785 641 1.1 K 493 367 55.6 K 47.7 K 56.6 K 57.4 K Sess Type ----Node Node Node Node Node Node Node Node Node Platform -------WinNT WinNT WinNT WinNT WinNT WinNT WinNT WinNT WinNT Client Name -------------------FBserver1 (FBDRserver) FBserver1 (FBDRserver) FBserver1 (FBDRserver) FBserver1 (FBDRserver) FBserver1 (FBDRserver) FBserver1 (FBDRserver) FBserver1 (FBDRserver) FBserver1 (FBDRserver) FBserver1 (FBDRserver)
191
If an error message displays, complete troubleshooting actions and test the configuration again.
192
1. Prepare the data for the local branch: Implement Disaster Recovery to a local FTP server located on the same LAN. See Setting up FTP for the disaster recovery destination (Windows only) on page 185 for instructions. The FTP storage must be transferable as it is eventually sent to the remote Disaster Recovery site. a. Prepare a volume with sufficient storage space to contain the repository for the full branch. The volume can be located on an attached storage device or a system with spanned disks. Spanned disks must be exposed as NetShare. For example: F:\<exported_repository on a portable disk array> b. On a local branch, set up an FTP server that exposes the Disaster Recovery repository that is located on the volume. For example: F:\<exported_repository> c. Configure a local FastBack DR Hub Server to use the same volume path that is used by the FTP server. For example: F:\<exported_repository> 2. Create a local branch copy of the Disaster Recovery data: a. Configure the FastBack Server Disaster Recovery branch settings to communicate with the local FTP server. b. Create a directory with the branch name and prefix rep in your local Disaster Recovery repository. For example: F:\<exported_repository>\rep_branch_name c. Run Disaster Recovery for all your Disaster Recovery policies. d. When the Disaster Recovery operations complete, disable FTP Disaster Recovery on your FastBack Server. 3. Transfer the data to the remote Disaster Recovery site: a. Stop the local FastBack DR Hub Server. b. Stop the local FTP server. c. Transfer the volume used by the local FastBack DR Hub Server to the remote Disaster Recovery site. 4. Prepare the remote Disaster Recovery site: a. Record the Tivoli Storage Manager repository and credentials associated with the remote FastBack DR Hub Server: For example:
TSM;TCPS:192.168.2.3;TCPP:1500;NODE:hub_node_name; PASSWORD:1234;FILEPATH:"
b. Attach the transferred volume to the FastBack DR Hub Server system. Designate the volume as either an additional drive (using an external storage device) or as a shared drive on the system that contains spanned disks. Important: When using a network share, do not share the actual rep_branch folder, but share its parent folder. For example:
\\some_machine_on_dr_site\exported_repository\rep_branch_name
c. Create a new node for the branch on the Tivoli Storage Manager server by issuing these commands from the Tivoli Storage Manager server command line:
register node node_name password passexp=9999 update node node_name backdel=yes MAXNUMMP=100 deduplication=clientorserver grant proxynode target=node_name agent=hub_node_name
193
Tip: You can create a node name or use the branch name. The hub_node_name is the node associated with the FastBack DR Hub Server. 5. Copy the branch data to Tivoli Storage Manager and the remote Disaster Recovery site: a. Locate the new volume on the FastBack DR Hub Server system. For example: F:\dr_repository\rep_branch_name or \\some_machine_on_dr_site\exported_repository\rep_branch_name b. Open a command prompt and navigate to the Tivoli Storage Manager FastBack utilities directory on the FastBack DR Hub Server (C:\Program Files\Tivoli\TSM\FastBack\utilities). c. Copy the branch data into your Tivoli Storage Manager server using the branch node name and credentials defined in Step 4c. For example:
.\FBDRCopy.exe -m; "F:\exported_repository\rep_branch_name" TSM;TCPS:192.168.2.3;TCPP:1500;NODE:node_name;PASSWORD:1234;FILEPATH:\"
or
.\FBDRCopy.exe -m; \\some_machine_on_dr_site\dr_repository\rep_branch_name TSM;TCPS:192.168.2.3;TCPP:1500;NODE:node_name;PASSWORD:1234;FILEPATH:\"
Remember: As shown in these examples, the branch name cannot begin with the rep_ prefix. Only the source file path begins with the rep_ prefix. 6. Finalize Disaster Recovery setup on the remote Disaster Recovery site: a. Make sure all shipped branch data was copied into the Tivoli Storage Manager server. b. Use the DRHubConfigurator.exe utility to update the TSMNode parameter (in the FastBackDRHubServer.ini file) with the new branch node name. c. Restart the FastBack DR Hub Server service. 7. Finalize Disaster Recovery setup on the local branch: a. On the FastBack Server for your local branch, modify the Disaster Recovery settings to communicate with the Tivoli Storage Manager server on the remote site. Use the branch node name and credentials defined in Step 4c. b. Test your settings in the DR Configuration window. Click Apply and then click Test Configuration. A brief delay might occur before test results display. Your local branch is now protected for Disaster Recovery by the remote FastBack DR Hub Server.
194
Folder permissions Create, delete, list, and add subdirectories permissions 2. Create the three required folders. For more information about the three required folders, see 4 on page 186 and 5 on page 186. 3. Complete the configuration required for the FastBackDRHubServer.ini file. Configure the FastBack DR Hub Server file to point to the FTP folder root from 1 on page 194. The default location for the FastBack DR Hub Server file is C:\Program Files\Tivoli\TSM\FastBack\drhub\FastBackDRHubServer.ini. For example, make the following changes:
ListenPath1 = E:\Path1 FTPRootPath1 = E:\Path1
Uncomment the lines by removing the ; character. 4. Start the FastBack Disaster Recovery Hub server service. If the previous steps have been completed correctly, the following folders are created at the root FTP folder path for the user:
E:\path1\receiver_folder E:\path1\TempMsgFolder
In addition, in the following log file, there should be no error messages: C:\Documents and Settings\All Users\Application Data\Tivoli\FastBack\ drhub\FAST_BACK_DR_SERVER_040.sf The FastBack DR Hub Server is configured. 5. Set up the source FastBack Server to copy snapshot backups, that are in disaster recovery-enabled policies, to the FastBack DR Hub Server. Refer to the directions in Configuring FastBack Server Disaster Recovery with an FTP server on page 192. Make sure to point to the FastBack DR Hub Server host system and the FTP account set up in 1 on page 194. The name in the Branch Name field is critical to ensure that the snapshots are properly identified by the software to the source FastBack Server. 6. Test the FastBack DR Hub Server configuration. Click Test configuration. If the configuration is correct, the following actions occur: a. Additional folders are, as needed, created in the root FTP path for the user created in 1 on page 194 For example, the following folders are created:
E:\Path1\Logs E:\Path1\REP_FBServer1
The FBServer1 name is the name specified in the Branch Name field. b. On the FTP server, several temporary folders and files are created and deleted to test permissions. All files that are created and deleted are part of the test configuration process and should result in no visible changes to the contents of the folders created in 4. c. A confirmation message is displayed. The message indicates that the test configuration is successful. Disaster Recovery configuration is complete and replication operations can begin from the FastBack Server to the FastBack DR Hub Server.
Scheduling replication
Schedule replication for each FastBack Server that sends snapshots to the FastBack DR Hub Server. To schedule replication for a FastBack Server, complete the following steps:
Chapter 9. FastBack Disaster Recovery (Windows only)
195
1. From FastBack Manager, go to Configuration General Configuration. Select the DR Configuration tab. 2. Click the DR Scheduler tab to configure DR scheduling. 3. The default configuration for the DR Scheduler is Pause. Configure DR Scheduling and click Resume. If you do not click Resume, the scheduler does not work. 4. Click Apply to complete the configuration. 5. Click Advanced. 6. (Optional) The Advanced Job Schedule window provides you with extra scheduling configuration options. Configure the desired parameters and click OK. Disaster Recovery can require a lot of bandwidth and considerable resources from FastBack Server. FastBack Server activities, including snapshot running, can be delayed. Scheduling Disaster Recovery to run during an off-peak time can help reduce the delays. In addition, do not run replications simultaneously with tape backup or any other activity with extensive FastBack Mount usage, as replication can take longer to complete.
196
During the replication process for new files, changed files, and deleted files, FastBack Disaster Recovery locks snapshots. As a result, FastBack Mount cannot mount the relevant replicated snapshots. When FastBack Mount mounts a snapshot, it locks the entire policy, preventing FastBack Disaster Recovery from changing files. When the snapshot is dismounted, the lock is removed. If FastBack Mount is idle for a certain amount of time, FastBack Disaster Recovery can remove the lock. FastBack Disaster Recovery tries to remove locks until all the files are copied.
197
Month Displays snapshot information for the current month. All Displays the information from all branches. All is disabled if All branches is selected in the branch tree. If, in the branch tree, All branches is selected, Month is the default filter.
The time that is displayed in the Snapshot Log and Snapshot tables is the local time on the branch.
Refreshing data
You can refresh data that is displayed in the Central Control Station at any time by clicking View Refresh. The information automatically updates according to a time parameter that is set for the application. When data is refreshed, the cursor changes appearance to indicate that data is being updated. When the refresh is complete, the cursor returns to normal appearance.
Saving settings
When you close the Central Control Station the sorting settings for tables are stored by the application. In addition, connection information, except for passwords, is saved.
198
For example, this command displays detailed help on the job command line:
FastBackShell.exe -h job dump
To run the command line with a script file to run multiple commands:
FastBackShell.exe -s "script_file_name"
Authentication
After the installation process is complete, change the password for the administrator user name. The authentications privileges are allocated to the user name and password that you use when you log on. The authentication privileges determine the restore options that you can use. You can override the current security setup by using appropriate switches in Administrative Command Line:
FastBackShell.exe -c -u UserName -p Password -d domain job add -jname <xxxxxx> FastBackShell.exe -s -u UserName -p Password -d domain
Copyright IBM Corp. 2008, 2011
199
When you use the -u, -p, and -d switches, the current account is displayed and identified as other login accounts. You can use these switches when there are insufficient permissions to restore a snapshot. You can also use the built-in administrator credentials:
FastBackShell.exe -c -u admin -p admin123 -d xpress-restore
Symbols
Enter these symbols exactly as they are displayed in the syntax diagram: * {} : , = () . Asterisk Braces Colon Comma Equal sign Hyphen Parentheses Period Space " ' Quotation mark Single quotation mark
Variables
Italicized lowercase items such as <variable_name> indicate variables. In this example, you can specify a <variable_name> when you enter the cmd_name command.
-cmd_name <variable_name>
200
Required choices
When two or more items are in a stack and one of them is on the line, you must specify one item. In the following example, you must choose either A, B, or C:
-cmd_name A B C
Optional choices
When an item is below the line, that item is optional. In the following example, you can select either A or nothing at all:
-cmd_name A
When two or more items are in a stack below the line, all items are optional. In the following example, you can choose either A, B,C, or nothing.
-cmd_name A B C
alerts
Use the alerts command to create and send alerts. There are two tags that you can use for the alerts command: send and create_file. The following list provides detail for these tags: send Use this tag to sends alerts. The following code sample is an example of how to use the tag with the alerts command:
FastBackShell.exe -c alerts send
create_file Use this tag to create alerts file. The following code sample is an example of how to use the tag with the alerts command:
FastBackShell.exe -c alerts create_file
app
Use the app command for global parameters configuration. The following code sample provides detail for the app command:
FastBackShell -c app view FastBackShell -c app set (-quiesc [y|n] | -purge [y|n] | -vss [y|n])
You cannot specify y for both -quiesc and -vss. You can enable either IBM application quiescing or the VSS service. The VSS service is a type of application quiescing.
201
client_group
Use the client_group command to administer client groups. Use the following format for the client_group command:
client_group command_type -command_tag command_tag_parameter
The following list summarizes the types that you can specify for the client_group command. Tags and parameters for each type are listed. add Use the add command type to add a client group. The valid command tags are -cname and -agent. The -cname command tag indicates the client group name. The -agent command tag indicates the server mount point. The following examples indicate the format to use:
client_group add -cname command_tag_parameter -agent command_tag_parameter [-agent command_tag_parameter]*n client_group add -cname "C and D" -agent winxp-1@C:\ -agent winxp-1@D:\
del
Use the del command type to delete a client group. The valid command tags are -cname and -all. The -cname command tag indicates the client group name. The -all command tag indicates the command runs on all client groups. For the -all command tag, specify y for yes or n for no as the command tag parameter. The following example indicates the format to use:
client_group del -cname command_tag_parameter [-all command_tag_parameter]
edit
Use the edit command type to edit a client group. The valid command tags are -cname and -rename and -agent. The -cname command tag indicates the client group name. The -rename command tag indicates a new client group name should be used. The -agent command tag indicates the server mount point. The following examples indicate the format to use:
client_group edit -cname command_tag_parameter [-rename command_tag_parameter] [-agent command_tag_parameter]*n client_group edit -cname "C and D" -rename "C on winxp-1" -agent winxp-1@C:\
info
Use the info command type to access client group status. The valid command tags are -cname and -request. The -cname command tag indicates the client group name. The -request command tag checks to see if a specified job exists. The following examples indicate the format to use:
client_group info -cname command_tag_parameter -request command_tag_parameter client_group info -cname "C and D" -request exist
view
Use the view command type to view a client group. For example:
client_group view
dr
Use the dr command for disaster recovery tasks. The following format should be used for the dr command:
dr -command_Tag
The following list summarizes the tags that you can specify for the dr command. Parameters for each tag are listed.
202
run_now Disaster recovery starts immediately. abort Disaster recovery is aborted immediately.
pause Pauses disaster recovery. Disaster recovery does not run on a schedule. resume Resumes disaster recovery. Disaster recovery runs as scheduled. test_configuration Checks the disaster recovery configuration. is_running Checks to determine if the disaster recovery is running.
The following list summarizes the tags that you can specify for the irestore command. Parameters for each tag are listed. target Use this tag as the target for instant restore. A drive letter local to FastBack Mount. Only the first character is used. Only basic volumes are supported. rep The FastBack Server repository (local or network share). For local, use hostname@domain. You can also use the full path for the repository on the folder. For example: share: share: \\hostname\share The -rep tag can direct to a Tivoli Storage Manager server . For example: -rep tsm: ip=<IP address> port=<port> node=<node> as node=<as node> pass=<password> branch=<branch> server The server that was the snapshot source or SAN_layout. policy The policy for the snapshot. volume The volume or reparse point that was the source of the snapshot. date when login pass domain The domain used with the login and pass commands. The default is xpress-restore. force Use this command to dismount the target volume when there are open files or applications running. The date is formatted as yyyy-Mmm-dd hh:mm:ss or last snapshot. For yyyy, the range must be from 1971 to 2030. There are three options: after, before, or exact. The default is exact. The user name used to access the restored snapshot and target volume. The password used with the login command.
203
Sample
Refer to the following sample for an example of how the user should be able to perform an instant restore to volume I:\. The snapshot of the volume I is to be completed on a specific server, according to a specific policy, volume, and time. Open files and applications running on the volume, called the target disk, I are ignored. The FastBack Server must also be stopped and restarted.
-c irestore -target I:\ -server winxp-leon -policy "I_ on winxp-leon at 81 606 16_49" -volume I:\ -date "2006-Sep-12 19:29:01" -rep e:\repository -login admin -pass admin123 -domain xpress-restore -force
job
Use the job command to add, edit, delete, and view jobs. You can also access information about job status. Use the following format for the job command:
job command_type -command_tag command_tag_parameter
The following list summarizes the types that you can specify for the job command. Tags and parameters for each type are listed. add Use the add command type to add a job. The following list provides the valid command tags: v (Windows only) -cdp - Use this tag to set continuous data protection. The choices are y for yes and n for no. v -contentaware - Use this tag to set the content aware option. The choices are y for yes and n for no. v -exclude - Indicates a time period to exclude. The format is from HH:MM to HH:MM. An example of the -exclude tag and parameter follows: -exclude from 21:00 to 07:00 v -interval - Indicates the interval for the job, for example, run every hour. The format is HH:MM. The default is 0:30. You cannot specify the hours that you want the job to run. You must define the interval time. For example, if you want to run the job once every two hours, use the following tag and parameter with the add command type: -interval 2:00 v -jname - Indicates the job name. v -occur - Indicates when the job ends. There are three parameters that you can specify for this tag: end_by MM-DD-YYYY, end_after _NUMBER_, and no_end. Use end_by MM-DD-YYYY to specify a specific end date. Use end_after _NUMBER_ to end after a specified number of times. Use no_end for a continuous run. The default is no_end. v -purge - Use this tag to specify that the Microsoft Exchange logs should be purged. The choices are y for yes and n for no. v -quiesc - Use this tag to set the quiescing option. The choices are y for yes and n for no. Select the y option when using a 32-bit machine. For 64-bit machines, select the n option. When using a 64-bit machine, set the -vss tag to y. v -schedule - Indicates when the job is scheduled to run. The format is Weekly Every _WeeksNumber_ on _DaysBitMap_. You need to specify the _WeeksNumber_ parameter. Use the default, 1, to ensure the schedule runs every week.
204
For the _DaysBitMap_ parameter, the software uses a 7digit binary bitmap representation to specify the days for the schedule. Every number between 1 and 127 represents a set of days, for example: 1 represents Sunday (0000001) 3 represents Monday and Sunday (0000011) 32 represents Friday (0100000) 42 represents Monday, Wednesday, and Friday (0101010) 62 represents Monday, Tuesday, Wednesday, Thursday, and Friday (0111110) 127 represents all days of the week (1111111)
The default schedule parameter is Weekly Every 1 on 1. v -start - Indicates the start time for the job schedule. The default is the current time. The time format is MM-DD-YYYY HH:MM. An example of the -start tag and parameter follows: -start "01192008 07:30" v -type - Indicates the type of job. There are three choices: inc, full, and diff. Use inc for an incremental snapshot. Use full for a full snapshot. Use diff for a differential snapshot, also known as an incremental delta block snapshot. The default type parameter is inc, for an incremental snapshot. v -vss - Use this tag to set the VSS service. The choices are y for yes and n for no. Select the y option when using a 64-bit machine. For 32-bit machines, select the n option. When using a 32-bit machine, set the -quiesc tag to y. The following code sample is an example of how to specify the add command type and some of the available tags and parameters for the job command:
FastBackShell.exe -c -u admin -p admin123 -d xpress-restore job add -jname NightTest -interval "00:01" -schedule "Weekly Every 1 on 127" -purge n -vss n -contentaware y
del
Use the del command type to delete a job. The valid command tags are -jname and -all. The -jname command tag indicates the job name. The -all command tag indicates the command runs on all jobs. For the -all command tag, specify y for yes or n for no as the command tag parameter. The following example indicates the format to use:
job del -jname command_tag_parameter [-all command_tag_parameter]
edit
Use the edit command type to edit a job. The following list provides the valid command tags: v (Windows only) -cdp - Use this tag to set continuous data protection. The choices are y for yes and n for no. v -contentaware - Use this tag to set the content aware option. The choices are y for yes and n for no. v -exclude - Indicates a time period to exclude. The format is from HH:MM to HH:MM. An example of the -exclude tag and parameter follows: -exclude from 21:00 to 07:00 v -interval - Indicates the interval for the job, for example, run every hour. The format is HH:MM. The default is 0:30. You cannot specify the hours that you want the job to run. You must define the interval time. For example, if you want to run the job once every two hours, use the following tag and parameter with the add command type: [-interval 2:00] v -jname - Indicates the job name.
Chapter 10. Administrative Command Line
205
v -occur - Indicates when the job ends. There are three parameters that you can specify for this tag: end_by MM-DD-YYYY, end_after _NUMBER_, and no_end. Use end_by MM-DD-YYYY to specify a specific end date. Use end_after _NUMBER_ to end after a specified number of times. Use no_end for a continuous run. The default is no_end. v -purge - Use this tag to specify that the exchange logs should be purged. The choices are y for yes and n for no. v -quiesc - Use this tag to set the quiescing option. The choices are y for yes and n for no. Select the y option when using a 32-bit machine. For 64-bit machines, select the n option. When using a 64-bit machine, set the -vss tag to y. v -rename - Indicates the new backup job name. The following sample uses the -rename command:
FastBackShell.exe -c -u admin -p admin123 -d xpress-restore job edit -jname "Old Name" -rename "New Name"
The -jname argument specifies the job that you are referring to. v -schedule - Indicates when the job is scheduled to run. The format is Weekly Every _WeeksNumber_ on _DaysBitMap_. You need to specify the _WeeksNumber_ parameter. Use the default, 1, to ensure the schedule runs every week. For the _DaysBitMap_ parameter, the software uses a 7digit binary bitmap representation to specify the days for the schedule. Every number between 1 and 127 represents a set of days, for example: 1 represents Sunday (0000001) 3 represents Monday and Sunday (0000011) 32 represents Friday (0100000) 42 represents Monday, Wednesday, and Friday (0101010) 62 represents Monday, Tuesday, Wednesday, Thursday, and Friday (0111110) 127 represents all days of the week (1111111) The default schedule parameter is Weekly Every 1 on 1. v -start - Indicates the start time for the job schedule. The default is the current time. The time format is MM-DD-YYYY HH:MM. An example of the -start tag and parameter follows: -start "01192008 07:30" v -type - Indicates the type of job. There are three choices: inc, full, and diff. Use inc for an incremental snapshot. Use full for a full snapshot. Use diff for a differential snapshot, also known as an incremental delta block snapshot. The default type parameter is inc, for an incremental snapshot. v -vss - Use this tag to set the VSS service. The choices are y for yes and n for no. Select the y option when using a 64-bit machine. For 32-bit machines, select the n option. When using a 32-bit machine, set the -quiesc tag to y. The following code sample is an example of how to specify the edit command type and some of the available tags and parameters for the job command:
job edit -jname "My Job" -rename "My Old Job"
info
Use the info command type to access job status. The valid command tags are -jname and -request. The -jname command tag indicates the job name. The -request command tag checks to see if a specified job exists. The following examples indicate the format to use:
206
job info -jname command_tag_parameter -request command_tag_parameter client_group info -jname "C and D" -request exist
view
log
Use the log command for log file options. The following format should be used for the log command:
log view -type event -file file_name
For example, if you want the event log information to be in the events.txt file, you could enter the following command:
log view -type event -file events.txt.
mount
Use the mount command to complete various FastBack Mount tasks. When running the mount command, use either a Windows logon ID with Administrator authority, or log on to the Linux system as the root user. The Administrative Command Line, sometimes referred to as the FastBack Shell, can be used to mount (mount add) and dismount (mount del) volumes, and to view a list of mounted volumes (mount view). Because the mount add command takes so many command tags, a mount dump command is also available. This mount dump command generates FastBack Shell commands for scripting purposes. To use the mount command, FastBack Mount must be running. The FastBackShell.ini file must contain the name or IP address of the system where FastBack Mount is installed. This information is specified in the HOSTNAMES section. The FastBackShell.ini file is stored in the installation folder for the Administrative Command Line. The default location is C:\Program Files\Tivoli\TSM\FastBack\shell. Snapshots are mounted or dismounted on the system where FastBack Mount is running. The repository can be shared over the network or attached to a FastBack Server. The mount command is supported in command and script file modes. The following command types are available. The appropriate tags and parameters are listed alongside each command type. add Use this command type to mount a snapshot to the system where FastBack Mount is running. The following list identifies the tags and parameters for the add type: v -target - This tag is required. Use this tag to specify the following targets: (Windows only) Virtual volume (Windows only) Reparse point (Linux only) iSCSI target The following examples use the -target tag: (Windows only) In the following example V: is the virtual volume mount target:
Chapter 10. Administrative Command Line
207
-target "V:"
(Windows only) In the following example a reparse point volume mount target is specified:
-target "C:\SNOWBIRD@FASTBACK\SnowbirtK\Snowbird\K\\"
v -rep - This tag is required. Use to specify the local or network share repository. For local repositories, you can specify "hostname@domain" or the full path for repository on folder. If the repository is located on a network share, include the user name, password, and domain for a user, who has access to the network share, in the following format:
"<path to network share> user=<username> pass=<password> domain=<domain>"
<path to network share> can take the form of "share:\\<hostname>\ <repository name>" or "\\<hostname>\<repository name>". The default name for a repository volume is "FB_REP_<drive letter>". The following example uses a network shared repository:
-rep "share:\\ftp2-2k3\Share_of_Rep user=administrator pass=12345 domain=ABC"
The -rep tag can direct to a TSM server. For example: -rep tsm: ip=<IP address> port=<port> node=<node> as node=<as node> pass=<password> branch=<branch> v -policy - This tag is required. Use to specify the policy that includes a snapshot used in the back up. v -server - This tag is required. Use to specify server name that is the source for the snapshot. The following example uses this tag with a server name:
-server "snowbird"
You can alternatively use the following parameter: SAN_layout. v -volume - This tag is required. Use to specify the volume that is the source of the snapshot. The following example uses D: as the source volume:
-volume "D:\\"
v -date - This tag is required. Use to specify the date of the snapshot that you want to mount. The -rep, -policy, -server, and -volume tags have specified exactly what volume is to be mounted, but not which snapshot on the volume. Specify the date in the following format: yyyy-Mmm-dd hh:mm:ss. Alternatively, specify "last snapshot" to mount the most recent snapshot on the volume. The following example uses the yyyy-Mmm-dd hh:mm:ss format to specify the date:
-date "2008-Sep-20 15:47:35" -when after
v -when - Use to specify when the snapshot is mounted. The three parameter options are after, before, or exact. The default value is exact. v -login - Use to specify the user name used when mounting. If this tag is not specified, the user currently logged on to FastBack Mount is used. Use this tag only in conjunction with the -domain and -pass tags.
208
v -domain - Use to specify the domain when mounting. If no domain is specified, by default, the xpress-restore domain is used. Use this tag only in conjunction with the -login and -pass tags. v -pass - Use to specify the password when mounting. Use this tag only in conjunction with the -login and -domain tags. v -ro|-fw - Use to specify whether the mounted volume is read-only (-ro) or fake-write (-fw). The following examples indicate how to specify the add type, and the corresponding tags and parameters: v The following example shows how to mount a snapshot from a repository located on a network share:
mount add -target X: -rep "C:\My_Folder_Repository" -policy "Alta L" -server alta -volume E:\ -date "2008-Sep-20 15:47:35" -when after
In this example, a snapshot, E:, is located on Alta. This snapshot is mounted to the system where FastBack Mount is running, X:. The snapshot is pulled from the network share repository, "C:\My_Folder_Repository", using the policy, "Alta L". The exact snapshot on the volume to be mounted is the snapshot after September 20, 2008 at 3:47:35 PM. v The following example shows how to mount the most recent snapshot of a volume as a read-only volume, and as a particular user:
mount add -login admin -pass admin123 -domain xpress-restore -target X: -rep "share:\\snowbird\FB_REP_G user=administrator pass=12345 domain=my_domain" -policy "Brighton Nighlty" -server Brighton -volume E:\ -date "last snapshot" -ro
In this example, a snapshot, E:, is located on the server named Brighton. The snapshot is mounted to the system where FastBack Mount is running, X:. The snapshot is pulled from the network share repository named "\\snowbird\FB_REP_G". G is a drive letter for one FastBack repository volume. This share requires a user, password, and domain. This information is supplied in the parameters for -rep. In addition, logon credentials are required for FastBack Mount that are provided at the beginning with -login, -pass, and -domain. del Use this command type to dismount one or all snapshots from the system where FastBack Mount is running. The following list identifies the tags and parameters for the del type: v -target - This tag is required. Use this tag to specify the target for dismounting. The target for dismounting can be a virtual volume, reparse point, or iSCSI initiator created using the mount command. Use everything to dismount all volumes. v -force - Use this tag to force a dismount. The default option is not to force a dismount. For example, to force a dismount of a snapshot that is currently mounted at the directory, c:\gever, use the following command:
mount del -target "c:\gever" -force
To dismount a snapshot currently mounted as volume V:, use the following command:
mount del -target V:
209
To dismount a snapshot currently mounted as an iSCSI initiator, use the following command:
mount del -target "ISCSI:<target_name>"
dump Use this type to get a dump of all available snapshots in various formats. For example, to dump all snapshots from a network share repository, using a tape format, use the following command:
mount dump -type local -rep "C:\My_Folder_Repository" -for TapeBackup -full -file "C:\dump.txt"
The following list identifies some of the parameters for the dump type: v -type - Use local for a local repository or share for a network-shared repository, or a repository on the folder. v -rep - This tag is required. Use to specify the local or network share repository. For local, you can specify hostname@domain, or, for a repository on folder, the full path. v -os - Use this tag to specify the operating system. The options are windows, linux, and all. The default option is windows. v -for - Use this tag and the TapeBackup parameter to dump each snapshot as an Administrative Command Line command. v -full - Use this tag to perform a dump of all snapshots of each volume. This tag is optional. If -full is not specified, only the last snapshot of each volume is dumped. v -file - Use this tag to identify a file name to store the dump text. This tag is optional. If -file is not specified, the dump text is only printed to stdout. In the following example, you can dump a full list of snapshots that can be mounted from the local repository, in the terminal:
mount dump -type local -full -----------------------------------------------------------------|SNOWBIRD@OFFICE Alta J alta J:\ Last snapshot |SNOWBIRD@OFFICE Alta J alta J:\ 2009-Aug-22 20:01:49 |SNOWBIRD@OFFICE Snowbird K snowbird K:\ Last snapshot |SNOWBIRD@OFFICE Snowbird K snowbird K:\ 2009-Aug-22 20:24:11 ------------------------------------------------------------------
remove Use this type to remove the connection to a non-local repository. There is only one tag for the remove type: v -rep - This tag is required. Use this tag to specify the repository. Connection to this repository are removed. In the following example, remove all network share repository connections to a repository at "C:\My_Folder_Repository":
mount remove -rep "C:\My_Folder_Repository"
view
Use this type to view a list of all mounted snapshots. This type has no tags. The following example uses the view type:
mount view -----------------------------------------------------------------| The following virtual volumes exist: | Y:\ is mount of [snowbird@fbperf]-[AltBriPar I LAN-alta| I:\ at 8/22/2009 8:54:42 PM]
210
| W:\ is mount of [snowbird@fbperf]-[AltBriPar I LAN| brighton-I:\ at 8/22/2009 8:54:42 PM] | V:\ is mount of [snowbird@fbperf]-[AltBriPar I LAN| parkcity- I:\ at 8/22/2009 8:54:42 PM] ------------------------------------------------------------------
[-rep]
<hostname@domain> '-"<network_share> user=<username> pass=<password> domain=<domain>"-' <policy_name> [-server] <server_name> '-SAN_layout' <date> last snapshot .[-when] exact
[-policy]
[-volume]
[-date]
[-when]
[-login]
[-domain]
<domain>
[-pass]
<password>
[-ro] [-fw]
net
Use the net command to view network parameters configuration. Use the following format for the net command:
net view
pjob
Use the pjob command to view the list of pending jobs. Use the following format for the pjob command:
pjob view number_of_jobs
The number_of_jobs is the number of pending jobs that is displayed. The default value is 10. The maximum value is 1000. The following example identifies how to view the next 5 pending jobs:
pjob view 5
For this command to work, the pending job must be in the queue. If there are no jobs in the queue, the jobs are not displayed.
policy
The policy command can help you to administer policy operations. Use the following format for the policy command:
policy Command_Type -Command_Tag Command_Tag_Parameter
The following list summarizes the types that you can specify for the policy command. Tags and parameters for each type are listed. add Use the add command type to add a policy by assigning it a predefined client group and job. The following example indicates the format to use:
211
policy add -pname Command_Tag_Parameter -cname Command_Tag_Parameter [-generation Command_Tag_Parameter] [-priority Command_Tag_Parameter] [-cname Command_Tag_Parameter]*n -jname Command_Tag_Parameter [-jname Command_Tag_Parameter]*n [-enabledr Command_Tag_Parameter]
The following list provides detail about the tags and parameters: v -pname - Use to specify the policy name. v -generation - Use to specify the number of generations. A generation is an older version of a snapshot. A generation is not the most recent snapshot. v -priority - Use to set the policy priority. There are three parameters you can use: h for high, m for medium, and l for low. v -cname - Use to specify the client group name. v -jname - Use to specify the backup job name. v -enabledr - Use to enable DR. There are two parameters you can use: y for yes and n for no. The following example shows you how to use the tags and parameters with the add type:
policy add -pname Policy1 -generation 60 -priority h -cname clientG1 -jname Job1 -jname Job2
del
Use the del command type to delete an existing policy. The valid command tags are -pname and -all. The -cname command tag indicates the client group name. The -all command tag indicates the command runs on all existing policies. For the -all command tag, specify y for yes or n for no as the command tag parameter. The following example indicates the format to use:
policy del [-pname command_tag_parameter] [-all command_tag_parameter]
edit
Use the edit command type to edit an existing policy. The following example indicates the format to use:
policy edit -pname Command_Tag_Parameter -rename Command_Tag_Parameter [-generation Command_Tag_Parameter] [-priority Command_Tag_Parameter] [-cname Command_Tag_Parameter]*n [-jname Command_Tag_Parameter]*n
The following list provides detail about the tags and parameters: v pname - Use to specify the policy name. v rename - Use to specify a new name for the policy. v generation - Use to specify the number of generations. A generation is an older version of a snapshot. A generation is not the most recent snapshot. v priority - Use to set the policy priority. There are three parameters you can use: h for high, m for medium, and l for low. v cname - Use to specify the client group name. v jname - Use to specify the backup job name. The following code sample is an example of how to run the command with the edit type:
policy edit -pname Policy1 -jname Job1 -jname Job2 -cname "F on winxp-2"
info
Use the info command type to access policy status. The valid command tags are -pname and -request. The -pname command tag indicates the policy name. The -request command tag checks to see if a specified job exists. The following examples indicate the format to use:
policy info -pname command_tag_parameter -request command_tag_parameter
212
view
Use the view command type to view a list of policies. For example:
policy view
pause Use the pause command type to pause an existing policy. For example:
policy pause [-pname command_tag_parameter] [-all command_tag_parameter] [-resume command_tag_parameter] [-abort command_tag_parameter]
The following list provides detail about the tags and parameters: v pname - Use to specify the policy name. v all - Use to run a command on all existing policies. There are two parameters you can use: y for yes and n for no. v resume - Use to resume a paused policy. There are two parameters you can use: y for yes and n for no. v abort - Abort all running jobs of the paused policy. There are two parameters you can use: y for yes and n for no. run_now Use the run_now command type to start snapshots on all volumes of a policy. For example:
policy run_now [-pname command_tag_parameter] [-type command_tag_parameter]
The following list provides detail about the tags and parameters: v pname - Use to specify the policy name. v type - Use to specify the type of snapshot. The first time you take a snapshot, this parameter is not required. For subsequent snapshots, this parameter is required. (Linux only) For FastBack Clients, the command succeeds when sending the request for snapshot creation reaches the FastBack Server. To see if the snapshot is created, check FastBack Manager.
set_connection
The set_connection command sets the connection configuration. Use the following format for the set_connection command:
set_connection Command_Tag <hostname or IP address>
If the FastBack Server cannot connect to the Administrative Command Line, you can manually set the FastBack Server name at the configuration file by running the following command:
FastBackShell.exe -c set_connection server_computer FB_SERVER_NAME
The following tags can be used with the set_connection command: v server_computer - Use to set the FastBack Server connection. v mount_computer - Use to set the FastBack Mount connection. The following sample sets the Administrative Command Line to work with FastBack Server that uses the 155.155.155.155 IP address:
set_connection server_computer 155.155.155.155
In the following sample, the Administrative Command Line is set to work with FastBack Mount on the ComputerName host.
set_connection mount_computer ComputerName
Chapter 10. Administrative Command Line
213
snapshot
The snapshot command monitors jobs and manages snapshots. The following command types can be used for the snapshot command: v del - Use to delete a specified snapshot. For example, you can use the following command:
snapshot del (-rid command_tag_parameter | -rdesc command_tag_parameter) -type action_type
The following list provides details about tags and parameters: rid - The snapshot ID. rdesc - The snapshot description. type - There are two parameters for type: VIEW_TYPE and ACTION_TYPE. For the VIEW_TYPE parameter, the options are running, history, info, and events. Use running to view snapshots that are running. Use history to view snapshots that have been taken. Use info to view information for specific snapshots. Use events to view events for running snapshots. For the ACTION_TYPE parameter, the options are info and force. Use info to get information and not perform any action. Use force to perform the action and ignore any warnings that are displayed. (Linux only) For FastBack Clients, the command succeeds when sending the request for deletion reaches the FastBack Server. To see if the snapshot is deleted, check FastBack Manager. v view - Use this type to view a list of jobs that are running. You can use the following example when running the command:
snapshot view type view_type [-rid command_tag_parameter | -rdesc command_tag_parameter]
To view a history of all jobs that have run, you can use the following command:
snapshot view -type history
The following list provides details about tags and parameters: rid - The snapshot ID. rdesc - The snapshot description. type - There are two parameters for type: VIEW_TYPE and ACTION_TYPE. For the VIEW_TYPE parameter, the options are running, history, info, and events. Use running to view snapshots that are running. Use history to view snapshots that have been taken. Use info to view information for specific snapshots. Use events to view events for running snapshots. For the ACTION_TYPE parameter, the options are info and force. Use info to get information and not perform any action. Use force to perform the action and ignore any warnings that are displayed. v restore - Use this type to restore a snapshot to a specified volume. You can use the following example when running the command:
snapshot restore (-rid P | -rdesc P) -agent P -restoreType P [-cdpSeconds P] [-cdpTime P] [-force P]
The P represents the command_tag_parameter.The following list provides details about tags and parameters: agent - The volume description. The following code sample provide the correct volume description format:
server@volume
214
For example:
winxp_station@c:
For example, cdpSeconds=1 indicates the following timestamp: 1/1/1970 00:00:01. cdpSeconds=60 indicates the following timestamp: 1/1/1970 00:01:00.This type cannot be used with cdpTime. cdpTime - This type cannot be used with cdpSeconds. The following sample provides the format:
mm_dd_yyyy_hh_min_sec
mm is the month. Options are 1 through 12. dd is the day. Options are 1 through 31. yyyy is the year. For example, 2009. hh is the hour. Options are 0 through 23. min is the minutes. Options are 0 through 59. sec is the seconds. Options are 0 through 59. For example:
05_10_2006_15_10_00
force - The options are y, for yes, and n, for no. Specify y to ignore open handles during a restore. rdesc - The snapshot description. restoreType - Use this to specify the type of snapshot to restore. The following options are valid: full, incremental, and incremental-last. rid - The snapshot ID.
util
The util command is used for utilities operations. The following format should be used for the util command:
util <command_type> command_tag_parameter
The following command types can be used for the util command: v view - Use to view util parameters. There are three parameters: time, log_level, and IP. For example, you can use the following command:
util view (time | log_level)
The log_level options are none, errors, warnings, and all. v exec - Use to reset the FastBack Server. For example, you can use the following command:
util exec reset_xpress_server
v set - Use to set util parameters. There are two parameters: time and log_level. The log_level options are none, errors, warnings, and all. You can use the following examples when running the util command with these options:
util set log_level warnings util set time 09-20-2008 17:30:25 reset_xpress_server
ver
You can use the ver command to view versions. Use the following command for the ver command:
ver view
215
216
Table 32. Administrative Command Line return codes (continued) Return Code 34 35 36 Value FBC_MSG_IRESTORE_LOCKED_BY_SERVER FBC_MSG_IRESTORE_VOLUME_LETTER_IN_USE FBC_MSG_IRESTORE_ALREADY_RESTORED
217
218
219
The credential.txt file cannot be changed. The credential.txt file must be stored in the FastbackTSMScripts directory of the system's system drive for the wizard to run properly. To start the Configuration wizard from the Tivoli Storage Manager backup-archive client GUI, complete the following steps: 1. Select Utilities Setup Wizard. The welcome page for the wizard is displayed. 2. Select Help me configure the client to protect FastBack Client data. 3. Click Next. 4. To complete the configuration process, use the help provided with the wizard. If you do not see the Help me configure the client to protect FastBack Client data option, the Tivoli Storage Manager backup-archive client is not installed on the same system with FastBack Server or FastBack Disaster Recovery Hub server. To start the wizard from the Tivoli Storage Manager Web client, complete the following steps: 1. Select Utilities Setup Wizard. 2. Click Next. 3. To complete the configuration process, use the help provided with the wizard. If you do not see the Setup Wizard menu displayed, the Tivoli Storage Manager backup-archive client is not installed on the same system with FastBack Server or FastBack Disaster Recovery Hub server. For information about the Tivoli Storage Manager Client Configuration Wizard for FastBack, see http://www.ibm.com/support/docview.wss?uid=swg21378128.
220
One system is used for mounting volumes, using FastBack Mount, and backing them up to a Tivoli Storage Manager server. This system does not need to be the client where the volume originally came from or the system with the FastBack Server. The system can be either the client, server, or a third system, unrelated to the FastBack Server or FastBack Client environment. Install FastBack Mount, the Administrative Command Line, and the Tivoli Storage Manager client on the same system. Do not install firewall, anti-virus, or anti-spyware software on this system. When anti-virus and anti-spyware applications run simultaneously with FastBack Mount, there is high processor usage, resulting in snapshots running slowly or being aborted. In very rare cases, running FastBack Mount with anti-virus and anti-spyware applications can also cause a Windows system crash. If a system crash occurs, reboot the system. The system should start normally. During the FastBack Mount and Administrative Command Line installation, when asked for the IP address, type the IP address for the Tivoli Storage Manager client (that is on the same system). An Active Directory user that is logged on to the Tivoli Storage Manager client system, and has NTFS permissions to the volumes, can back up data with Tivoli Storage Manager. The backups are run from the Tivoli Storage Manager client command line utility, dsmc. You can use the Windows task scheduler to schedule backups. Each backup is for a single volume. To create a backup, complete the following steps: 1. To get information on volumes that are available for tape backup, run the following command on the Tivoli Storage Manager Client system:
fastbackshell.exe -c mount dump -type share -rep "\\$serverName\rep user=$DomainUser pass=**** domain=$DomainName" -for TapeBackup -file C:\dump.txt
where \\$serverName\rep is the path to the repository share and user=$DomainUser pass=**** is the same credentials specified in the FastBack Mount Access tab of the FastBack Manager GUI. The output from the command is a file that contains information that looks like the following sample:
"%dir%FastBackShell.exe" -c mount add -ro -rep "share: \\computer_name\ folder_path\London-FastBack\repository user=tapeadmin pass=admin123 domain= Taurus" -target "c:\ London-FastBack repository\Policy-DC\London-DC\C" -policy "Policy-DC" -server "London-DC" -volume "C:\\" -date "last snapshot"
If there are multiple volumes in the repository, separate lines are created for each volume. 2. Batch scripts are used to mount, back up, and dismount individual volumes. Create a new batch file on the Tivoli Storage Manager client system that mounts a volume. This batch file should be placed in a directory named after the system where the volume belongs. Name the batch file after the volume it mounts. For example, for a batch script that mounts the C volume of the London-DC system, create the mount_volume_C.bat file in the C:\Tape_London_DC directory. To help complete this step, use the following code samples:
set dir=c:\Program Files\Tivoli\TSM\FastBack\shell\
This section should be copied from the dump file created in the previous step. For example:
Chapter 11. Best practices
221
"%dir%FastBackShell.exe" -c mount add -ro -rep "share: \\computer_name\ folder_path\London-FastBack\repository user=tapeadmin pass=admin123 domain= Taurus" -target "c:\ London-FastBack repository\Policy-DC\London-DC\C" -policy "Policy-DC" -server "London-DC" -volume "C:\\" -date "last snapshot" IF %ERRORLEVEL% EQU 0 goto end :error_end echo could not mount EXIT 1 :end EXIT /B 0
dirshould contain a full path to FastBackShell.exe. You can replace the following folder with a folder where you want to mount the volume:
c:\London-FastBack repository\Policy-DC\London-DC\C
For example:
C:\mount
Use a mounted path that provides details about the mounted volume, for example, computer name, and volume letter. If the dump file has more than one command, use only the command with the volume that you want to backup in this particular backup. 3. Run the batch script from the command line to mount the latest snapshot of the volume specified by the -volume value to the directory specified by the -target value. To mount the latest snapshot to a mount point, enter the following command:
mount_volume_C.bat
The following string is a sample mount point: c:\ London-FastBack repository\Policy-DC\London-DC\C 4. Create another batch script that dismounts a volume on the Tivoli Storage Manager client system. This batch file should be placed in a directory named after the system where the volume belongs. Name the batch file after the volume it dismounts. For example, for a batch script that dismounts the C volume of the London-DC system, create the dismount_volume_C.bat file in the following directory: C:\Tape_London_DC To help complete this step, use the following code samples:
set dir="c:\Program Files\Tivoli\TSM\FastBack\shell\" "%dir%FastBackShell.exe" -c mount del -target C c:\ London-FastBack repository\Policy-DC\London-DC\C -force if %errorlevel% EQU 10 goto end :error_end echo could not dismount London-DC\C EXIT 1 :end EXIT /B 0
5. Run the batch script from the command line to dismount the volume specified by the -target value. If the volume is left mounted, later Tivoli Storage Manager FastBack snapshots of the volume might fail. To dismount the previously mounted snapshot, enter the following command:
dismount_volume_C.bat
222
6. Finally, create a third batch script to back up the volume to the Tivoli Storage Manager server. This batch script calls the previous mounting batch script, then calls dsmc, Tivoli Storage Manager client's command line interface application, then call the previous dismounting batch script. This batch file should be placed in the same directory as its two dependent batch scripts. In the example code below, C:\Tape_London_DC is where this batch file is stored. To help complete this step, use the following code samples:
call c:\Tape_London_DC\mount_volume_C.bat >> c:\Tape_London_DC\ pre_volume_c.log 2>&1 if %errorlevel% equ 1 goto error_end cd C:\"Program Files"\Tivoli\TSM\baclient\ dsmc.exe sel D:\mount\* -su=yes
call c:\ Tape_London_DC dismount_volume_C.bat >> c:\Tape_London_DC\ pst_volume_c.log 2>&1 goto end :error_end echo %date% %time% backup London_dc\volume_C C:\TSM_Errors/error.log :end failed >>
7. Create a directory to store the log file that contains backup errors. For example: C:\TSM_Errors
Prerequisites
Before beginning a backup of the Oracle database, verify that all prerequisites are met. The following list identifies the prerequisites to complete before backing up the Oracle database: v Open the Oracle database. v Verify that the database is in ARCHIVELOG mode. If the database is not in ARCHIVELOG mode, use one of the following procedures to change to ARCHIVELOG mode: For version Oracle9i, complete the following steps: 1. Back up the database. Backing up the database is a safeguard in case problems occur while trying to change to ARCHIVELOG mode. 2. Use the Enterprise Management console to log on to the Oracle database.
223
3. Click Network Databases Database_Name Instance Configuration to open the database configuration window. 4. Go to the Recovery tab. 5. Select Archive Log Mode and click Apply. 6. A Shutdown Options window is displayed. Choose a normal shutdown and click Apply. 7. After the pop-up database window is closed, click Network Databases Database_Name Instance Configuration to open the database configuration window. 8. Go to the General tab. 9. Click All Initialization Parameters. 10. Set the log_archive_start to true. 11. Click Apply. When the startup is complete, the settings are ready for performing a hot backup. For version Oracle 10g, complete the following steps: 1. Back up your database. Backing up the database is a safeguard in case problems occur while trying to change to ARCHIVELOG mode. 2. Open Database Control. 3. Go to Maintenance Backup/recovery settings Recovery settings. 4. Select Archive Log Mode. 5. In the Shutdown Options window, click Yes to restart the system.
General guidelines
To perform consistent application-aware snapshots, complete the following steps: 1. Oracle databases should be switched to backup mode. Switching to backup mode ensures database consistency. To switch to backup mode, use a pre consistency-point script. 2. After a snapshot is initiated, Oracle databases should be switched back to normal mode, using a pre snapshot script. 3. After the snapshot is complete, create and use a post snapshot script to delete all archived redo logs of the database that was backed up.
Customizable Scripts
(Windows only) The following scripts can be customized to perform application consistency: v Oracle9i_PreConsistencyPoint.bat or Oracle10g_PreConsistencyPoint.bat - A batch file that switches the Oracle databases to a consistency state, suitable for a hot backup start. Running this batch file also creates a Recovery_[database name].sql script. v Oracle9i_postConsistencyPoint.bat or Oracle10g_PostConsistencyPoint.bat A batch file that switches the Oracle databases out of the consistency state. (Linux only) The following scripts can be customized to perform application consistency: v Oracle10g_PreConsistencyPoint.sh - A shell script that switches the Oracle databases to a consistency state, suitable for a hot backup start. Running this shell script also creates a Recovery_[database name].sql script.
224
v Oracle10g_PostConsistencyPoint.sh - A shell script that switches the Oracle databases out of the consistency state. The Recovery_[database name].sql file is used if the database does not open after a backup operation. [database name] is the name of your Oracle database. This file is automatically created for every database that is backed up. Use this file when the database tablespaces are in backup mode and the database cannot be opened. The file can also be used after a restore operation, if the database does not start up and prompts with a message about tablespaces in need of media recovery. The following files should not be changed: v (Windows only) Oracle9i_CreatePreConsistencyPointScript.sql v Oracle10g_CreatePreConsistencyPointScript.sql v (Windows only) Oracle9i_CreatePostConsistencyPointScript.sql v Oracle10g_CreatePostConsistencyPointScript.sql Create a script that deletes all archived redo logs of the backed up database. Save the script to the following path: C:\Program Files\Tivoli\TSM\FastBack\client\ scripts.
225
c. Change the system user password in the field OraclePass at the top of the file. d. Change the OracleDbNames array to list all databases to be backed up. For every Oracle database that you have, make sure that a unique array assignment exists. For example, add a second database with a line like OracleDbNames[2]="dbname" In addition, verify that a connection identifier with the same name as the database exists for each database. 3. Define a policy using FastBack Manager. The policy schedules the backup of the volumes that Oracle databases reside on. 4. Go to the Pre or Post Processes tab and complete the following steps: a. Select Pre Consistency-Point. For the script, type OracleXX_PreConsistencyPoint.bat. b. Select Pre Snapshot. For the script, type OracleXX_PostConsistencyPoint.bat. c. Select Post Snapshot. Type the name of the script you have written to delete all archived redo logs of the backed up database. d. Click Apply.
226
Troubleshooting
Problem: After using the ApplicationConsistency.bat script file, the Oracle database does not start, prompting a message about tablespaces that need media recovery. Workaround: Use the Recovery.sql script from the SQL*PLUS worksheet.
Consistency point
To initiate application-aware snapshots, complete the following steps: 1. Disable the VSS service. The VSS service must be disabled before running the snapshot. 2. Notify the SQL Server database administrator that a snapshot is going to run. 3. Initiate the snapshot. 4. Notify the SQL Server database administrator that the snapshot is complete.
227
2. In the XRSQL.ini file, in all [databaseN] sections, for the instance field, change the instance name. 3. In the XRSQL.ini file, in all [databaseN] sections, for the database_name field, change the database name. 4. For each database, add a new section. Increment the database number. For example, database1, database2, and database3. 5. Define a policy using FastBack Manager. The policy schedules the volume backup for the SQL Server databases reside. (Do not choose the SQL Server icon on the FastBack Manager) 6. Integrating consistency scripts - on the last step of the policy creation wizard, or after the policy was created: 7. Go to the Pre or Post Processes tab and complete the following steps: a. Select Pre Consistency-Point. For the script, type XRSQL_PreConsistencyPoint.bat. b. Select Pre Snapshot. For the script, type XRSQL_PostConsistencyPoint.bat. c. Click Apply. Master databases should be the last database frozen. For example,
[database1] instance= database_name=DB_NIR [database2] instance= database_name=MASTER
228
Messages
Problem The cleanup process fails on all volumes. The following message is displayed in the FastBack Log, Windows Application Log:
Cleanup cannot be completed since a snapshot of [Policy: yyy volume: x on server] is locked by FastBack Mount on []
This problem occurs when the Active Directory is configured to exclude the local system account from the Everyone group. As a result, the FastBack Server does not access the FastBackSync share and assumes that all snapshots are locked. Solution Change the FastBack Server service logon account from local system to an Active Directory user. Problem When you try to access a shared folder over the network the following message is displayed:
FBSG7354E: The specified location is not accessible.
Solution The cause of the problem is that the FastBack Server service does not have permissions to open shared volumes. You can resolve this problem by changing the log on credentials from Local System to Administrator. To change these log on credentials, complete the following steps: 1. From the Windows Start menu, select Start Control Panel Administrative Tools Services. 2. 3. 4. 5. Right-click to select the FastBack Server service; then, click Properties. In the Properties window, go to the Log On tab. In the Log on as list, select This Account. Enter the administrator account and authenticate with the domain controller. 6. Click OK.
Problem When you try to remove the only repository on the FastBack Server the following message is displayed:
FBSG4161W Snapshots relocation is impossible
Solution You cannot remove a repository volume from the repository space that has only one repository volume defined. To resolve this problem add another disk or volume to the repository pool before deleting the repository. Problem When you start FastBack Manager, the following message is displayed:
Copyright IBM Corp. 2008, 2011
229
Solution This message is displayed if Tivoli Storage Manager FastBack, Version 5.5.0 is installed on a non-English system. Install an National Language Support (NLS)-enabled version of Tivoli Storage Manager FastBack that supports your language. Problem When you right-click a selected snapshot; then, click Erase, the following message is displayed:
FBSS5013W Cant retrieve snapshot information.
Solution This message is displayed if a cleanup or replication process is running. Stop all cleanup and replication processes. Erase the snapshot. Problem During a snapshot the following message is displayed in FastBack Manager:
FBSG7223E The operation failed on some or all of the volumes.
Solution The message indicates that the FastBack Client is not connected. From FastBack Manager, select General Configuration Storage Pool to see if the client is connected. If the client is not connected, go to the client system, open the FastBack Client Configurator and type the correct host name or IP address for the FastBack Server. Problem When you try to connect to the FastBack Server the following message is displayed:
FBSG5804E Please verify IP/Computer name because of connection failure at <FastBack Server host name>
Solution To resolve this problem, complete the following steps: 1. Verify that the FastBack Server service has started. To check status of a service, from the Windows Start menu, go to Start Control Panel Administrative Tools Services. In the Services window, make sure that the FastBack Server service is started. 2. If the FastBack Server service starts, but shuts down soon after starting, identify and resolve the start up problem. Check the Windows Event Logs by going to Start Control Panel Administrative Tools Event Viewer. 3. Verify that the FastBack Manager is configured to point to the appropriate host name for the FastBack Server. Use the Windows ping, tracert, and nslookup commands from the Windows command line to determine if the FastBack Server host can be contacted using the name or IP address identified in the message. 4. If there are multiple network adapters on the host where the FastBack Manager is installed, verify that they are configured such that the network where the FastBack Server host resides is on the primary network connection for the host. You can check by using the Windows Network Connections window. The Advanced Settings window should provide this information.
230
In addition, identify the network that the FastBack Server is located on. In the Advanced Settings window, on the Adapters and Bindings tab, make sure the network is at the top of the Connections list. 5. Save any changes. 6. Restart the FastBack Server. Problem In the Windows Event Viewer (Vista/Windows 2008) the following warning message is displayed:
Volume Shadow Copy Service warning: ASR writer Error 0x8007001. hr=0x00000000.
Solution You can ignore this message. The message is displayed only when the snapshot starts while there is a mounted snapshot using FastBack Mount at the backed up server. You can avoid the message by dismounting snapshots before starting a new snapshot. Problem In the Windows Event Viewer (Vista) the following message is displayed:
Unexpected error VSS_E_WRITER_STATUS_NOT_AVAILABLE An older active writer session state is being overwritten by a newer session. The most common cause is that the number of parallel backups has exceeded the maximum supported limit. hr = 0x80042409
Solution You can ignore this message. The message has no effect on the snapshot. Problem You cannot mount the snapshot using FastBack Mount. The following message is displayed:
FBSM8014E Repository is locked by FastBack DR or Fastback Server
Solution The problem is caused by a permissions configuration error during the Tivoli Storage Manager FastBack installation process. To correct the problem, complete the following steps: 1. Log on to the FastBack Manager. 2. On the Configuration tab, click General Configuration. In the main window, select the FastBack Mount Access tab. Note the User and Domain. 3. On the affected system, open Windows Explorer and navigate to the FastBackSync folder. The default folder location is: C:\Documents and Settings\All Users\Application Data\Tivoli\TSM\FastBack\ FastBackSync By default, the Application Data folder is a hidden folder. 4. Right-click on the FastBackSync folder; then click Sharing and Security. 5. In the properties window, go to the Sharing tab. 6. Click Permissions. 7. Add the user account that is defined on the FastBack Mount Access tab. Give the account Read and Change Permissions. 8. If the Everyone account is listed, either remove the Everyone account from the Group or user names list or remove all access permissions for the Everyone account. The access permissions are under the Permissions for Everyone heading.
Chapter 12. Troubleshooting
231
9. Click OK to save the changes. 10. Restart the FastBack Mount service. Remount the volume. Problem When installing the FastBack Client the installation process fails with the following error message:
Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.
Solution The problem occurs when FastBack Client tries to register XR_VSS, but XR_VSS was previously registered. XR_VSS is the Tivoli Storage Manager FastBack VSS provider. To resolve this problem, complete the following steps: 1. Uninstall FastBack Client. 2. Restart the system. 3. Go to Control Panel Administrative Tools Component Services. 4. Go to Console Root Component Service Computers My Computer COM+ Application. 5. Select XR_VSS and delete it. 6. Reinstall FastBack Client. 7. Restart the system. Problem During the FastBack Client installation, the following message is displayed:
FBSM8007E Virtual Volume driver not enabled
The virtual volume driver is not installed. If you ignore this message, the message is displayed during a mount of a snapshot on the FastBack Client. Solution Install the virtual volume driver with the Windows Add Hardware wizard. For instructions about how to use the wizard, see the Microsoft Windows documentation. After you install the virtual volume driver, open FastBack Mount and mount a snapshot. Problem When you try to log on to the remote repository share, the log on fails when the username and password are entered. The following message is displayed:
FBSM8026E <sharename> is inaccessible or not a repository
Solution When you enter the credentials to connect to remote share, use the following domain and username: DomainName\administrator Problem When you try to take a snapshot of an Exchange volume the following message is displayed:
VSS freeze failed on <agent name>
232
. Solution This problem occurs when you try to take a snapshot of an Exchange volume that contains a database that is not in a healthy state. An example of database in an unhealthy state is a replica database that is not healthy or an active database that is not mounted. Microsoft Exchange does not allow a database to be VSS frozen when it is not in a healthy state and this means that the Exchange VSS writer will fail to quiesce the unhealthy database. This means that a snapshot cannot be taken of that Exchange volume, or any Exchange volume on the same policy. You can resolve this problem by ensuring that all databases contained on the volume are in a healthy state. VSS will allow a crash-consistent snapshot to be taken of a volume that contains an unhealthy database by following the steps below: 1. Open the FastBackClient.ini file 2. Under the [VSS] section, add the following text:
DisableVSSExchangeWriters=true
3. Save and close the file. When a snapshot is taken of a volume containing an unhealthy database, the following message will be written to the Job event log:
Important: Exchange VSS writer on <agent name> failed to Quiesce the exchange databases. The snapshot will continue without using the writer, as specified in <agent name> FastBack client configuration file.
FastBack Server
Question What is the maximum number of generations for a policy? Answer Tivoli Storage Manager FastBack can support 1440 generations per policy. The number of generations impacts the FastBack Server repository space requirements because cleanup processes cannot run on any generation of snapshot on a policy until after the maximum number of generations are stored. Problem Moving an existing FastBack Server to a different system without losing the configuration settings. Solution If you upgrade your FastBack Server or move the FastBack Server to another system, you can use this as a general guide for how to move and what files to move to another system. This information applies to FastBack Servers that are running with accessible data. This information maintains your backup data, repository, policies, and schedules. 1. Shut down the FastBack Server. 2. Remove the FastBack Server from the network. 3. Attach the new server to the network. 4. Start the new server.
233
5. Move any physical drives that need to be attached to the system that is the new FastBack Server. If you attach a drive or disk array to the FastBack Server after the Tivoli Storage Manager FastBack has been installed, use the diskopen tool. You use the diskopen tool to identify read and write privileges for the FastBack Server. By default, any disk added to the FastBack Server after Tivoli Storage Manager FastBack is installed is read only. For more information about the diskopentool, see Allowing read/write access to a disk with disk open utility on page 95 6. Verify that you the system that is the new FastBack Server meets all hardware and software requisites. For FastBack Server hardware requirements, see FastBack Server requirements (Windows only) on page 21. For FastBack Server software requirements, see Software requirements and prerequisites on page 28. 7. Install the FastBack Server. For FastBack Server installation instructions, see Installing FastBack Server (Windows only) on page 40. If you change the network name or IP address for the server, open the FastBack Client Configurator on the client systems. Change the target to the new FastBack Server. 8. Copy the following files from the C:\Documents and Settings\All Users\Application Data\Tivoli\TSM\FastBack\Server directory on the old server: v History.txt and History.txt.sig - These files track all snapshots in the repository. v Orabr_Conf.txt and Orabr_Conf.txt.sig - These files track the general configuration. In the Orabr_Conf.txt file, you can configure the SMTP sender field. Look for the SMTP Sender Name setting, in the [Heart Beat] section. v Conf.txt and Conf.txt.sig - These files track the policy and scheduling configurations. v Clog10.sf - This file includes general log and error messages. These files should be stored in the following directories on the new server: v C:\Documents and Settings\All Users\Application Data\Tivoli\TSM\FastBack\Server v C:\Documents and Settings\All Users\Application Data\Tivoli\TSM\FastBack\Server\Mirror v Root directory of each repository volume Start the new FastBack Server. The server does not, by default, know the location of the repository space. Start FastBack Manager. If FastBack Manager starts in limited mode, you cannot go to the next step until you fix the problem. For more information about limited mode, see Limited mode on page 175. Go to Configuration General Configuration Storage Pool Repository Pool. Right click to select the repository pool; then, click Claim Repository. You need to claim each repository space that you had for the old server. Verify that the data transfer worked by making sure all of your settings are displayed in the Configuration menu.
9. 10.
11. 12.
13.
234
14. Verify that the policies are displayed in FastBack Manager. 15. Right click to select a policy; then, click Run Snapshot. This step verifies that the new server communicates with clients. 16. Go to the Snapshots Monitor tab to verify that the snapshot ran as scheduled. Problem On a FastBack Server running on Microsoft Windows 2008, the FastBack Server service may restart and the server log may state that the memory usage exceeds 85%. This may be because the FastBack Server service may calculate the amount of memory incorrectly, as it looks at free physical memory and free page file memory, but it doesn't look at the cached physical memory. Solution Increase the size of the Windows page file.
The FBSC6419E message is displayed. The interactive mode is not available. At this time, there is no workaround. You can enter the following command to see a list of available commands:
FastBackShell.exe -h
To run the Administrative Command Line from the command line, enter the following command:
FastBackShell.exe -c
To run the Administrative Command Line from a script file, enter the following command:
FastBackShell.exe -s
FastBack Mount
Problem When you try to mount a volume, the mount fails because the correct credentials for the remote repository share are not entered. The following message is displayed:
FSBM8011E not permitted to mount this job
Solution To 1. 2. 3. 4.
mount a snapshot, complete the following steps to log on correctly: From FastBack Mount, the Select repository section, click Remove. From the Select repository list, select Browse for Folder. Select a remote repository share. Enter the username and password. The username must be domain\username.
235
Problem The FastBack Mount icon is not displayed in the Windows System Tray when using the Windows Remote Desktop Connection. The Windows Remote Desktop Connection is also known as the Microsoft Terminal Service Client (mstsc.exe). Solution The problem occurs when the Windows Remote Desktop Connection or Microsoft Terminal Service Client is used without the /admin or /console switches. To determine which switch to use, open a Windows command line and enter the following command:
mstsc.exe /?
Either the /admin or /console switch is displayed. Use the displayed switch when starting sessions on the system. The following examples provide syntax for both options:
mstsc.exe /v:system.domain.com /admin mstsc.exe /v:system.domain.com /console
The user that logs on using the /admin or /console switches must be a member of the Administrator Group on the target system. Problem After a backup, a restore file or folder inherits permissions from the parent folder, rather than the original permissions associated with the file. If you use Windows Explorer to drag and drop a file or folder from an image mounted with FastBack Mount to a target folder, the original security permissions of the object are not restored. The file or folder inherits permissions from the folder it was copied to. Solution To restore a file or folder from a mounted image with the original permissions, use the Windows command line tool, XCOPY, to restore data. For more information about using the XCOPY command, see the Microsoft documentation. Problem Continuous Data Protection in unavailable with FastBack Mount and instant restore. Solution FastBack Mount and instant restore use incremental snapshots. Continuous Data Protection cannot work with incremental snapshots because Continuous Data Protection restores an entire volume to a single point in time based on the writes to the volume at a particular point in time. Snapshots with Continuous Data Protection must be restored using the Snapshot Monitor in FastBack Manager.
FastBack Manager
Problem In FastBack Manager, the following message is displayed:
The volume configuration of the following Client has changed: Volume "C:" to "(C:\-Obsolete)" on Client filesxsrv. Super user should delete and rebuild the affect Client Group if any.
In addition, when incremental snapshots run, the following message might be displayed:
236
The operation failed on some or all of the volumes. Refer to the Server log for details. Check the Client status and reset the Server.
Solution The message can display for any drive that belongs to any FastBack Client. The message is displayed because the disk signature of one of the volumes has changed. The disk signature is calculated with the following values: v Physical signature v Size of the partition v Offset of the partition v If not in SAN mode, the server name If any of these values change on the FastBack Client, a new disk signature is calculated. Within seconds of the change, the old disk signature is reported as nonexistent. The other drive with the new disk signature is recognized. To resolve this problem, complete the following steps: 1. From FastBack Manager, select General Configuration Client Groups. 2. Select all groups referenced in the message. One of the volumes that you select should be labeled with the following status: Obsolete 3. The volume with the Obsolete status is the volume with the old disk signature. To update FastBack Client, click on the new volume and click Apply. The volume with the Obsolete status is removed. For a cluster with the SAN Module enabled, the client group does not have to be marked again. Problem FastBack Manager fails during the login process. Solution The following list identifies reasons why FastBack Manager does not start, or starts and shuts down: v The FastBack Server service is not started. v A message reports that access is denied. To verify that the FastBack Server service is started, from the Windows Start menu, go to Start Control Panel Administrative Tools Services. In the Services window, make sure that the FastBack Server service is started. To determine if and why access is denied, check the Windows Security Event Log for any access denied messages related to Tivoli Storage Manager FastBack. Problem In the FastBack Manager Storage Pool window, there are no FastBack Clients displayed. This problem occurs when you use a firewall or add a new Network Interface Card (NIC). When you use a firewall or add a new NIC, the FastBack Server cannot communicate with or display FastBack Clients in the FastBack Manager Storage Pool window. Solution To resolve this problem, complete the following steps:
237
1. From the Windows Start menu, select Start All Programs Accessories Communications Network Connections. 2. From the Advanced menu, select Advanced Settings. 3. Go to the Adapters and Bindings tab, in the Connections section, see if the NIC that should be used is at the top of the list. 4. In the NIC is not at the top of the list, complete the following steps: a. Click Start Run. b. Type services.msc. c. Click OK. d. Find and stop the FastBack Server and FastBack Watchdog services. 5. In the Adapters and Bindings tab, in the Connections section, select the NIC that the FastBack Server should use and move it to the top of the list by clicking the arrow to the right of the list. 6. Start the FastBack Server service. 7. Start the FastBack Manager and look at the Storage Pool window. The FastBack Clients should be displayed. 8. If the FastBack Clients are not displayed, determine if a firewall is active on the NIC that the FastBack Server should be using. If the firewall is enabled, ensure the correct ports are open. For a list of ports that should be open, see Working with FastBack Manager in WAN environment on page 82.
FastBack Client
Problem Continuous Data Protection incremental snapshots and regular incremental snapshots complete successfully, but, in the Snapshots Monitor tab, display 0KB. Solution Except for incremental delta blocks, all snapshots of the FastBack Client complete successfully, but show 0KB in the size column. Incremental delta blocks that complete successfully display an actual size greater than 0KB. To resolve the problem, uninstall and reinstall FastBack Client. Problem Incremental snapshot backups with FastBack Client process more data than expected and are larger than expected. Solution The problem occurs because blocks are changing on the volume that is backed up. The FastBack Client backs up any block-level change that occurs on the volume after the last snapshot backup is taken. This backup includes any changes made by temporary or swap-based files, including the following changes: v Windows temporary folder (for example, C:\Windows\temp\) v Windows virtual paging file (for example, C:\pagefile.sys) v Recycle bin contents (for example, C:\Recycle Bin\) v v v v v Hibernation profiles (for example, C:\hiberfil.sys) System volume cache (for example, C:\Sysvol) Windows system restore Disk defragmentation (for example, Windows defragmentation tool) Anti-virus scans (for example, Symantec Anti-Virus)
238
To minimize the data that is backed up with each snapshot, identify and isolate any applications or Windows configuration that use space on the volume. Make attempts to relocate file or folder locations used by these applications to volumes that are not part of the snapshot. In addition, do not disable or enable features that would suddenly delete or create large files, for example, configuring hibernation profiles. | | | Problem When a FastBack Client system is rebooted, the next snapshot operation is a delta block snapshot and not an incremental snapshot. Solution A delta snapshot occurs (instead of an incremental snapshot) when the FastBack Client system volume is a File Allocation Table (FAT) file system.
239
240
Notices
This information was developed for products and services offered in the U.S.A. IBM may not offer the products, services, or features discussed in this document in other countries. Consult your local IBM representative for information on the products and services currently available in your area. Any reference to an IBM product, program, or service is not intended to state or imply that only that IBM product, program, or service may be used. Any functionally equivalent product, program, or service that does not infringe any IBM intellectual property right may be used instead. However, it is the user's responsibility to evaluate and verify the operation of any non-IBM product, program, or service. IBM may have patents or pending patent applications covering subject matter described in this document. The furnishing of this document does not give you any license to these patents. You can send license inquiries, in writing, to: IBM Director of Licensing IBM Corporation North Castle Drive Armonk, NY 10504-1785 U.S.A. For license inquiries regarding double-byte (DBCS) information, contact the IBM Intellectual Property Department in your country or send inquiries, in writing, to: IBM World Trade Asia Corporation Licensing 2-31 Roppongi 3-chome, Minato-ku Tokyo 106, Japan The following paragraph does not apply to the United Kingdom or any other country where such provisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or implied warranties in certain transactions, therefore, this statement might not apply to you. This information could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in new editions of the publication. IBM may make improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time without notice. Any references in this information to non-IBM Web sites are provided for convenience only and do not in any manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of the materials for this IBM product and use of those Web sites is at your own risk.
241
IBM may use or distribute any of the information you supply in any way it believes appropriate without incurring any obligation to you. Licensees of this program who wish to have information about it for the purpose of enabling: (i) the exchange of information between independently created programs and other programs (including this one) and (ii) the mutual use of the information which has been exchanged, should contact: IBM Corporation 2Z4A/101 11400 Burnet Road Austin, TX 78758 U.S.A. Such information may be available, subject to appropriate terms and conditions, including in some cases payment of a fee. The licensed program described in this document and all licensed material available for it are provided by IBM under terms of the IBM Customer Agreement, IBM International Program License Agreement or any equivalent agreement between us. Any performance data contained herein was determined in a controlled environment. Therefore, the results obtained in other operating environments may vary significantly. Some measurements may have been made on development-level systems and there is no guarantee that these measurements will be the same on generally available systems. Furthermore, some measurement may have been estimated through extrapolation. Actual results may vary. Users of this document should verify the applicable data for their specific environment. Information concerning non-IBM products was obtained from the suppliers of those products, their published announcements or other publicly available sources. IBM has not tested those products and cannot confirm the accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products. COPYRIGHT LICENSE: This information contains sample application programs in source language, which illustrate programming techniques on various operating platforms. You may copy, modify, and distribute these sample programs in any form without payment to IBM, for the purposes of developing, using, marketing or distributing application programs conforming to the application programming interface for the operating platform for which the sample programs are written. These examples have not been thoroughly tested under all conditions. IBM, therefore, cannot guarantee or imply reliability, serviceability, or function of these programs. You may copy, modify, and distribute these sample programs in any form without payment to IBM for the purposes of developing, using, marketing, or distributing application programs conforming to IBMs application programming interfaces. Each copy or any portion of these sample programs or any derivative work, must include a copyright notice as follows: (your company name) (year). Portions of this code are derived from IBM Corp. Sample Programs. Copyright IBM Corp. _enter the year or years_. All rights reserved.
242
If you are viewing this information in softcopy form, the photographs and color illustrations might not be displayed.
Trademarks
IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both. If these and other IBM trademarked terms are marked on their first occurrence in this information with a trademark symbol ( or ), these symbols indicate U.S. registered or common law trademarks owned by IBM at the time this information was published. Such trademarks may also be registered or common law trademarks in other countries. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at http://www.ibm.com/legal/ copytrade.shtml. Intel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. Linux is a trademark of Linus Torvalds in the United States, other countries, or both. Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other countries, or both. UNIX is a registered trademark of The Open Group in the United States and other countries.
Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. Other company, product, and service names may be trademarks or service marks of others.
Notices
243
244
Glossary
A glossary is available with terms and definitions for IBM Tivoli Storage Manager FastBack. access permission A privilege that permits the access or use of an object. Administrative Command Line The command line interface used to access Tivoli Storage Manager FastBack functions. Most of the commands available through the graphical interface of FastBack Manager can also be used in the Administrative Command Line. The Administrative Command Line can also send commands directly to FastBack Mount. application quiescing An offline back up of applications, for example a backup of a supported Microsoft Exchange server or SQL server. When you use application quiescing to back up an application, the server operations are disrupted. Services and applications that run on the server are shut down during the application quiescing backup. The Volume Shadow Copy service is a type of application quiescing. IBM also provides application quiescing. Bare Machine Recovery A solution that you can use to recover entire systems to a comparable server, to a new server with different hardware, or to a virtual machine. basic disk A disk initialized for basic storage that can hold primary partitions, extended partitions, and logical drives. Central Control Station A Java-based graphical user interface that provides you with a graphical user interface to view status files stored for the Tivoli Storage Manager FastBack Disaster Recovery Server database. circular logging A transaction logging method based on a fixed amount of disk space. If the disk space allocated for transaction logs is filled, the application overwrites the oldest transactions. client group Identify the volumes that are backed up. In addition to volumes, client groups can back up SQL and Exchange databases. The SQL and Exchange databases that are backed up can span across multiple disk volumes. consistent snapshot A snapshot that is compatible with the previous snapshot. The algorithm used to record the data synchronizes the recording of data with checkpoints and messages to ensure the snapshot is coherent with the previous snapshots. content aware snapshot Identifies only the used areas of volumes during full and incremental snapshots. Deleted files are not backed up.
245
Continuous Data Protection A tool that records all activity between snapshots, permitting the restoration of a system to a point in time. Continuous Data Protection range The time between two snapshots. data volume A discrete unit of storage on disk, tape, or other recording medium that supports data. destination volume The disk on which data will be restored. differential snapshot Synonym for incremental delta block. disaster recovery The process of restoring a database after a partial or complete site failure that was caused by a catastrophic event such as an earthquake or fire. Typically, disaster recovery requires a full database backup at another location. dynamic disk A disk that provides support for volumes spanning multiple disks. Dynamic disks use a hidden database to track information about dynamic volumes on the disk and other dynamic disks. FastBack Manager A Java-based graphical user interface application that provides administration and management operations. For example, FastBack Manager supports snapshot configuration, scheduling, monitoring, and volume-level and disk-level restoration. The FastBack Manager accesses the FastBack Server through the LAN. FastBack Mount An application that enables the mounting of any snapshot volume from the repository. You can view the snapshot locally, with read-only access, and on the server. FastBack Client This application tracks block-level changes with copy-on-write technology for the protected systems. The client provides block-level, incremental snapshots of New Technology File Systems (NTFS) and supports a continuous data protection option. FastBack Disaster Recovery Server For disaster recovery, this server supports the copy of snapshots from FastBack Manager to a central location. FastBack Server This server is a repository used to track snapshots. The server also manages the transfer of data. FastBack Watchdog A service that monitors the status of the backup server. The service determines if the server is down. If the status is down, the service sends an email to the system administrator about the server status. full snapshot A type of snapshot. Creates a complete image of the volume.
246
incremental delta block A type of snapshot. A record of the differences between the aggregation of all incremental snapshots in a chain, and the actual data on the disk. incremental snapshot A type of snapshot. Instead of taking a complete image of the volume, the incremental snapshot records only the data that has changed since the full snapshot was completed. Instant Restore The capability that enables applications to be up and running within minutes after data loss. Data recovery is performed in the background. integrity The quality of data that exists as long as destruction, alteration, loss of consistency, or loss of data are prevented. job schedule An object that contains entries for jobs to be submitted at a specified time and date. These job schedule entries can also be used to schedule recurring jobs. log volume An abstract representation of disk space that is used for storage. There are two types of log volumes: permanent and archival. Permanent volumes can be stored on file or disk devices. Archival volumes can only be stored on file devices. Internal log server data and log file groups must be stored on permanent volumes. Log archive groups must be stored on archival volumes. master database The database that contains application data tables. mounted volume A removable area of storage on a hard disk attached to an empty folder. Mounted volumes should have an assigned drive letter. network share A location on a computer network, typically allowing multiple computer users on the same network to have a centralized space on which to store files. quiesce To end a process or shut down a system after allowing normal completion of active operations. quiescent backup An offline backup. Requires interrupting the operation of the server. Services and applications associated with the server are also shut down during the backup. quiescing parameter The option to take the object offline. quorum disk A managed disk (MDisk) that contains a reserved area used exclusively for cluster management. The quorum disk is accessed in the event that it is necessary to determine which half of the cluster will continue to read and write data.
Glossary
247
repository disk A storage device used as a persistent storage area for data and other application resources. repository pool A division of a persistent storage area for data and other application resources. service group A collection of resources of different types for a given application or task. Veritas Cluster Server manages resources in the form of service groups. snapshot A record of backup data at a certain point in time. snapshot chains Series of snapshots of the same volume in the same policy. snapshot policy Links client groups to a job schedule. A snapshot policy also specifies the number of snapshots that can be retained and identifies snapshot priority. storage group The user-defined partition of a database. storage pool A named set of storage volumes that is the destination that is used to store client data. target volume A discrete unit of storage on disk, tape, or other data recording medium marked to support some form of identifier and parameter list, such as a volume label or input/output control. transaction logging A logging method where the database server maintains a record of each change made to the database during a transaction. virtual machine An instance of a data-processing system that appears to be at the exclusive disposal of a single user, but whose functions are accomplished by sharing the resources of a physical data-processing system. virtual volume An archive file on a target server that represents a sequential media volume on a source server. volume A discrete unit of storage on disk, tape or other data recording medium that supports some form of identifier and parameter list, such as a volume label or input/output control. volume management A piece of code that provides a layer of physical abstraction, data protection, and performance.
248
Printed in USA
SC23-8562-06