(cid:228) Legato Storage Manager Administrator’s Guide Release 8.1.6 December 1999 Part No. A77218-01 ThisLegato(cid:228) Storage Manager Administrator’s Guide contains complete information for using Legato Storage Manager (LSM) as an Oracle(cid:210) data storage management system. It describes the initial configuration procedure for LSM.ItthenexplainshowtouseLSMformanagingOraclebackupdevicesand volumes, monitoring Oracle backup and restore operations, and managing Oracle backup data. See your Oracle Server Installation Guide for installation instructions. Legato Storage Manager Administrator’s Guide, Release 8.1.6 Part No. A77218-01 Copyright © 1999, Oracle Corporation. All rights reserved. Primary Authors: Ruth Baylis, Anita Puronto Graphic Designer: Valarie Moore The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently dangerous applications. It shall be the licensee’s responsibility to take all appropriate fail-safe, backup, redundancy and other measures to ensure the safe use of such applications if the Programs are used for such purposes, and Oracle disclaims liability for any damages caused by such use of the Programs. The Programs (which include both the software and documentation) contain proprietary information of Oracle Corporation; they are provided under a license agreement containing restrictions on use and disclosure and are also protected by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly, or decompilation of the Programs is prohibited. Theinformationcontainedinthisdocumentissubjecttochangewithoutnotice.Ifyoufindanyproblems in the documentation, please report them to us in writing. Oracle Corporation does not warrant that this document is error free. Except as may be expressly permitted in your license agreement for these Programs, no part of these Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of Oracle Corporation. If the Programs are delivered to the U.S. Government or anyone licensing or using the Programs on behalf of the U.S. Government, the following notice is applicable: Restricted Rights Notice Programs delivered subject to the DOD FAR Supplement are "commercial computersoftware"anduse,duplication,anddisclosureoftheProgramsincludingdocumentation,shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement. Otherwise, Programs delivered subject to the Federal Acquisition Regulations are "restricted computer software" and use, duplication, and disclosure of the Programs shall be subject to the restrictions in FAR 52.227-19, Commercial Computer Software - Restricted Rights (June, 1987). Oracle Corporation, 500 Oracle Parkway, Redwood City, CA 94065. Oracle is a registered trademark, and Oracle8, Oracle8i, Oracle7, Oracle Enterprise Manager, Oracle Installer, and Recovery Manager are trademarks or registered trademarks of Oracle Corporation.Legato is a registered trademark in the United States, licensed exclusively through Legato. UNIX is a registered trademark in the United States and other countries, licensed exclusively through X/Open Company Limited. All other company or product names mentioned are used for identification purposes only and may be trademarks of their respective owners. Contents Send Us Your Comments................................................................................................................... ix Preface............................................................................................................................................................ xi Audience................................................................................................................................................ xii How This Guide Is Organized............................................................................................................ xii Document Conventions...................................................................................................................... xiv Required Oracle Documentation........................................................................................................ xv Contacting Customer Support........................................................................................................... xvi Your Comments Are Welcome......................................................................................................... xvii 1 Introduction What is Legato Storage Manager?................................................................................................... 1-2 Overview of LSM Features............................................................................................................... 1-2 Legato Storage Manager and SAP R/3 Integration....................................................................... 1-6 Integrating SAP R/3 with LSM on Windows NT.................................................................... 1-7 Overview of Oracle Backup and Recovery System...................................................................... 1-8 Additional Legato Documentation................................................................................................ 1-11 UNIX Online Help...................................................................................................................... 1-11 UNIX Online Manual Pages...................................................................................................... 1-12 Windows Online Help............................................................................................................... 1-13 ’How Do I’ Help.................................................................................................................. 1-14 ’What Is This’ Help.............................................................................................................. 1-14 ’Field’ Help........................................................................................................................... 1-14 Windows Command-Line Utilities Help................................................................................ 1-14 iii 2 Preparing to Use LSM LSM Architecture................................................................................................................................ 2-2 Overview of LSM Operations.......................................................................................................... 2-4 Using the LSM Administrator GUI............................................................................................... 2-10 LSM Administrator GUI on UNIX........................................................................................... 2-11 LSM Administrator GUI on Windows.................................................................................... 2-13 Configuration Roadmap.................................................................................................................. 2-16 Post-Installation Steps..................................................................................................................... 2-17 Setting the System Path on Windows NT............................................................................... 2-17 Setting Up the Japanese Version of LSM on Windows NT.................................................. 2-18 Setting Up Regular Filesystem Backup................................................................................... 2-19 Configuring LSM Resources........................................................................................................... 2-20 Client Resource........................................................................................................................... 2-20 Server Resource........................................................................................................................... 2-24 Specifying LSM Administrators............................................................................................... 2-27 Modifying LSM Administrators on UNIX....................................................................... 2-29 Modifying LSM Administrators on Windows NT......................................................... 2-30 Other LSM Resources................................................................................................................. 2-30 3 Media Management Configuring Storage Devices............................................................................................................ 3-2 Device Resources.......................................................................................................................... 3-2 Device Considerations on Windows NT............................................................................ 3-3 Preparing for Device Configuration................................................................................... 3-4 Device Configuration on UNIX.................................................................................................. 3-7 Adding a Device Resource on UNIX.................................................................................. 3-7 Modifying a Device Resource on UNIX............................................................................. 3-8 Removing a Device Resource on UNIX.............................................................................. 3-8 Device Configuration on Windows........................................................................................... 3-8 Adding a Device Resource on Windows........................................................................... 3-9 Modifying a Device Resource on Windows.................................................................... 3-10 Removing a Device Resource on Windows..................................................................... 3-10 Using Volume Pools and Label Templates................................................................................... 3-10 Default Volume Pool.................................................................................................................. 3-12 Labeling and Mounting Storage Volumes................................................................................... 3-13 iv Labeling a Volume on UNIX..................................................................................................... 3-14 Labeling a Volume on Windows.............................................................................................. 3-15 Mounting a Volume on UNIX.................................................................................................. 3-16 Mounting a Volume on Windows............................................................................................ 3-17 Unmounting a Volume on UNIX............................................................................................. 3-18 Unmounting a Volume on Windows...................................................................................... 3-18 Auto Media Management for Tape Devices................................................................................ 3-19 Using the Volumes Window........................................................................................................... 3-20 Volume Operations........................................................................................................................... 3-21 4 Backup and Restore Operations Running Oracle Backups and Restores.......................................................................................... 4-2 LSM Environment Variables....................................................................................................... 4-2 Using the Oracle Backup/Restore Utility................................................................................. 4-4 Using the Oracle Enterprise Manager Backup Manager........................................................ 4-5 Multiplexing During RMAN Backups...................................................................................... 4-6 LSM Server Bootstrap Backups........................................................................................................ 4-7 Automatic Bootstrap Backup...................................................................................................... 4-8 Manual Bootstrap Backup......................................................................................................... 4-11 Maintaining Bootstrap Information......................................................................................... 4-11 Monitoring Oracle Backups and Restores................................................................................... 4-12 5 Disaster Recovery Types of Disaster Recovery............................................................................................................... 5-2 Disaster Preparation........................................................................................................................... 5-4 Bootstrap Save Set ID................................................................................................................... 5-5 Finding the Bootstrap for UNIX.......................................................................................... 5-5 Finding the Bootstrap for Windows NT............................................................................ 5-6 Disk Information........................................................................................................................... 5-6 Disk Information on UNIX.................................................................................................. 5-7 Disk Information on Windows NT..................................................................................... 5-8 Disaster Recovery Procedures.................................................................................................... 5-8 Disaster Recovery on UNIX.............................................................................................................. 5-9 Recovery Requirements............................................................................................................... 5-9 Hardware Requirements...................................................................................................... 5-9 v Operating System Requirements......................................................................................... 5-9 LSM Requirements.............................................................................................................. 5-10 Recovering the Operating System and LSM Software.......................................................... 5-10 Recovering LSM Indexes and Configuration Files................................................................ 5-11 Using the mmrecov Command......................................................................................... 5-12 Renaming the Configuration Files Directory.................................................................. 5-15 Restoring Oracle8 or Oracle8i Data on UNIX......................................................................... 5-15 Recovering LSM to a New Machine......................................................................................... 5-16 Disaster Recovery on Windows NT.............................................................................................. 5-17 Recovery Requirements............................................................................................................. 5-17 Hardware Requirements.................................................................................................... 5-18 Operating System Requirements....................................................................................... 5-18 LSM Requirements.............................................................................................................. 5-18 Recovering the Operating System and LSM Software.......................................................... 5-19 Recovering LSM Indexes and Configuration Files................................................................ 5-20 Using the mmrecov Command......................................................................................... 5-21 Renaming the Configuration Files Directory.................................................................. 5-22 Completing the Recovery on Windows NT..................................................................... 5-23 Restoring Oracle Data on Windows NT.................................................................................. 5-24 Recovering LSM to a New Machine......................................................................................... 5-25 Recovering Oracle Data................................................................................................................... 5-26 A Scanner Scanner on UNIX................................................................................................................................. A-1 Save Set Recover and Scanner..................................................................................................... A-1 How to Rebuild a Save Set Entry in the Client File Index............................................... A-2 How to Recover an Entire Save Set to the LSM Server.................................................... A-3 How to Recover One File Directly from a Volume........................................................... A-3 Scanner........................................................................................................................................... A-3 The Scanner Program Requests an Entry for Record Size...................................................... A-5 The Scanner Program Marks a Volume Read-Only............................................................... A-6 Scanner on Windows NT................................................................................................................... A-6 Using the Scanner Program......................................................................................................... A-6 Scanner........................................................................................................................................... A-7 The Scanner Program Requests an Entry for Record Size...................................................... A-9 vi The Scanner Program Marks a Volume Read-Only............................................................... A-9 B Client Server Communications Client-Server Communications on UNIX ..................................................................................... B-1 How to Troubleshoot IP Errors ................................................................................................. B-1 How to Set Up Host Tables ........................................................................................................ B-1 How to Disable Name Servers for Troubleshooting .............................................................. B-2 How to Use ping to Verify Network Connections ................................................................. B-3 How to Use rpcinfo to Verify that Sessions Can Be Established .......................................... B-4 How to Verify Firmware for Switches and Routers ............................................................... B-5 Naming Requirements ................................................................................................................ B-5 Binding to Server Errors.............................................................................................................. B-6 Client-Server Communications on Windows NT........................................................................ B-7 Configuring Server Communications........................................................................................ B-9 Host Name Determination................................................................................................... B-9 Name Resolution................................................................................................................... B-9 Backup Operators Group..................................................................................................... B-9 DHCP Clients....................................................................................................................... B-10 Backup and Recover Service.............................................................................................. B-10 C Using Label Templates Labeling Storage Volumes on UNIX .............................................................................................. C-1 How LSM Uses Label Templates .............................................................................................. C-1 How to Customize Label Templates......................................................................................... C-2 How to Use Label Template Components ............................................................................... C-4 Labeling Storage Volumes on Windows NT................................................................................. C-5 How LSM Uses Label Templates............................................................................................... C-5 Label Template Dialog Box......................................................................................................... C-6 Name....................................................................................................................................... C-7 Fields....................................................................................................................................... C-8 Separator................................................................................................................................. C-9 Next......................................................................................................................................... C-9 Using Label Template Components....................................................................................... C-10 Creating Label Templates......................................................................................................... C-10 Editing Label Templates........................................................................................................... C-11 vii D Running the NetWorker User Program Using the NetWorker Programs on Windows NT....................................................................... D-1 Running the NetWorker User Program................................................................................... D-1 Glossary Index viii Send Us Your Comments Legato Storage Manager Administrator’s Guide, Release 8.1.6 Part No. A77218-01 Oracle Corporation welcomes your comments and suggestions on the quality and usefulness of this publication. Your input is an important part of the information used for revision. n Did you find any errors? n Is the information clearly presented? n Do you need more information? If so, where? n Are the examples correct? Do you need more examples? n What features did you like most about this manual? If you find any errors or have any other suggestions for improvement, please indicate the chapter, section, and page number (if available). You can send comments to the Information Development department in the following ways: n Electronic mail - [email protected] n FAX - (650) 506-7228 Attn: Server Technologies Documentation Manager n Postal service: Oracle Corporation Server Technologies Documentation Manager 500 Oracle Parkway Redwood Shores, CA 94065 USA If you would like a reply, please give your name, address, and telephone number below. If you have problems with the software, please contact your local Oracle World Wide Support Center. ix x