IBM Informix Storage Manager Administrator’s .IBM Informix Storage Manager Administrator’s

  • View
    215

  • Download
    0

Embed Size (px)

Text of IBM Informix Storage Manager Administrator’s .IBM Informix Storage Manager Administrator’s

  • IBM InformixVersion 2.20

    IBM Informix Storage ManagerAdministrators Guide

    SC27-3550-00

  • IBM InformixVersion 2.20

    IBM Informix Storage ManagerAdministrators Guide

    SC27-3550-00

  • Note:Before using this information and the product it supports, read the information in Notices on page C-1.

    This publication includes information about new features and changes in existing functionality.

    The following changes and enhancements are relevant to this publication. For a comprehensive list of all newfeatures for this release, see the IBM Informix Getting Started Guide.

    This document contains proprietary information of IBM. It is provided under a license agreement and is protectedby copyright law. The information contained in this publication does not include any product warranties, and anystatements provided in this manual should not be interpreted as such.

    When you send information to IBM, you grant IBM a nonexclusive right to use or distribute the information in anyway it believes appropriate without incurring any obligation to you.

    Copyright IBM Corporation 1996, 2010.US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contractwith IBM Corp.

  • Contents

    Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viiIn This Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viiAbout This Publication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii

    Types of Users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viiSoftware Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viiiAssumptions About Your Locale . . . . . . . . . . . . . . . . . . . . . . . . . . . viiiDemonstration Database. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii

    What's New in Storage Manager for IBM Informix, Version 11.70 . . . . . . . . . . . . . . . . . ixExample Code Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ixAdditional Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xCompliance with Industry Standards . . . . . . . . . . . . . . . . . . . . . . . . . . . xSyntax Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x

    How to Read a Command-Line Syntax Diagram . . . . . . . . . . . . . . . . . . . . . . xiKeywords and Punctuation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiiiIdentifiers and Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii

    How to Provide Documentation Feedback . . . . . . . . . . . . . . . . . . . . . . . . . xiii

    Chapter 1. Informix Storage Manager . . . . . . . . . . . . . . . . . . . . . . 1-1In This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1What Is ISM? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1

    Networker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2ISM Server Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2

    Y2K Compliance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3How Do ON-Bar and ISM Fit Together? . . . . . . . . . . . . . . . . . . . . . . . . . 1-3

    What Happens During a Backup Operation? . . . . . . . . . . . . . . . . . . . . . . . 1-3What Happens During a Restore Operation? . . . . . . . . . . . . . . . . . . . . . . . 1-4

    Configuring ISM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5Setting Up ISM on UNIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6Setting Up ISM on Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7Setting Up ISM Volume Pool Names . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8Setting Up ISM and ON-Bar on UNIX . . . . . . . . . . . . . . . . . . . . . . . . . 1-8Setting ISM Environment Variables and ONCONFIG Parameters . . . . . . . . . . . . . . . . 1-8Updating the onbar Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9

    Uninstalling ISM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9Using ISM with DNS Disabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11Migrating ISM 1.0 to ISM 2.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11Reverting from ISM 2.2 to ISM 1.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-14Using ISM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-14

    Using ISM Administrative Privileges . . . . . . . . . . . . . . . . . . . . . . . . . 1-14Starting and Stopping ISM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-15Reviewing ISM Logs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-15

    Chapter 2. Configuring ISM Server Properties. . . . . . . . . . . . . . . . . . . 2-1In This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1Setting the Number of Parallel Data Streams . . . . . . . . . . . . . . . . . . . . . . . . 2-1Setting Target Sessions for a New Device . . . . . . . . . . . . . . . . . . . . . . . . . 2-2Setting the Retention Period for All Data . . . . . . . . . . . . . . . . . . . . . . . . . 2-2Adding, Changing, or Deleting Administrative Users . . . . . . . . . . . . . . . . . . . . . 2-3

    Adding the First Administrative User to the ISM Server . . . . . . . . . . . . . . . . . . . 2-3Choosing Acceptable ISM User and Group Names . . . . . . . . . . . . . . . . . . . . . 2-4Deleting an Administrative User . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5

    Connecting to a Different ISM Server . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5Using ISM Configuration Parameters to Change the Volume Pool Name . . . . . . . . . . . . . . . 2-6Using ISM Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7Using ON-Bar Environment Variables with ISM . . . . . . . . . . . . . . . . . . . . . . . 2-8

    Copyright IBM Corp. 1996, 2010 iii

  • Chapter 3. Managing Storage Devices . . . . . . . . . . . . . . . . . . . . . . 3-1In This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1Choosing and Configuring Storage Devices . . . . . . . . . . . . . . . . . . . . . . . . 3-1Adding and Deleting Storage Devices . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2

    Enabling and Disabling a Storage Device . . . . . . . . . . . . . . . . . . . . . . . . 3-4Changing Storage-Device Properties . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4Designating a Storage Device as Read-only . . . . . . . . . . . . . . . . . . . . . . . 3-5

    Using Tape Drives and Optical Disk Drives as Storage Devices . . . . . . . . . . . . . . . . . . 3-5Using File Systems as Storage Devices . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5Using Storage Devices for Logical-Log Backups . . . . . . . . . . . . . . . . . . . . . . . 3-6Reserving a Storage Device for Cloning . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6Automating Media Management for Tape and Optical Devices . . . . . . . . . . . . . . . . . . 3-8

    Enabling Automatic Media Management . . . . . . . . . . . . . . . . . . . . . . . . 3-8Selecting a Storage Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8Relabeling Volumes Automatically . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8Using Unrecognizable Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9

    Chapter 4. Managing Storage Volumes. . . . . . . . . . . . . . . . . . . . . . 4-1In This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1Managing the Data Life Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1

    How ISM Uses the Retention Period . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1How ISM Uses Volume Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4

    Managing Storage Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6Labeling a Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7Mounting a Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8Choosing Volumes for Mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8Unmounting Volumes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9Finding a Volume Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9Relabeling a Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9

    Overriding Automatic Media Management . . . . . . . . . . . . . . . . . . . . . . . . 4-11Disabling a Storage Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11Protecting a Storage Volume from Automatic Recycling . . . . . . . . . . . . . . . . . . . 4-11Deleting Volumes from the ISM Catalog . . . . . . . . . . . . . . . . . . . . . . . . 4-11

    Cloning Storage Volumes and Save Sets . . . . . . . . . . . . . . . . . . . . . . . . . 4-12Tracking Cloned Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13Cloning Storage Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13Cloning Save Sets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-14

    Chapter 5. Recovering Save Sets with ISM . . . . . . . . . . . . . . . . . . . . 5-1In This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1Restoring a Save Set with ON-Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1Locating Volumes That Contain Partial Save Sets . . . . . . . . . . . . . . . . . . . . . . 5-1ReCreating the ISM Catalog Before You Use ON-Bar . . . . . . . . . . . . . . . . . . . . . 5-1Recovering Data from a Cloned Volume . . . . . . . . . . . . . . . . . . . . . . . . . 5-2Recovering Data After a Disaster . . . . . . .