IBM Informix Storage Manager Administrator’s ?· IBM Informix Storage Manager Administrator’s ...…

  • Published on
    03-Jul-2018

  • View
    213

  • Download
    0

Embed Size (px)

Transcript

<ul><li><p>IBM InformixVersion 2.20</p><p>IBM Informix Storage ManagerAdministrators Guide</p><p>SC27-3550-00</p></li><li><p>IBM InformixVersion 2.20</p><p>IBM Informix Storage ManagerAdministrators Guide</p><p>SC27-3550-00</p></li><li><p>Note:Before using this information and the product it supports, read the information in Notices on page C-1.</p><p>This publication includes information about new features and changes in existing functionality.</p><p>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.</p><p>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.</p><p>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.</p><p> Copyright IBM Corporation 1996, 2010.US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contractwith IBM Corp.</p></li><li><p>Contents</p><p>Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viiIn This Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viiAbout This Publication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii</p><p>Types of Users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viiSoftware Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viiiAssumptions About Your Locale . . . . . . . . . . . . . . . . . . . . . . . . . . . viiiDemonstration Database. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii</p><p>What's New in Storage Manager for IBM Informix, Version 11.70 . . . . . . . . . . . . . . . . . ixExample Code Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ixAdditional Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xCompliance with Industry Standards . . . . . . . . . . . . . . . . . . . . . . . . . . . xSyntax Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x</p><p>How to Read a Command-Line Syntax Diagram . . . . . . . . . . . . . . . . . . . . . . xiKeywords and Punctuation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiiiIdentifiers and Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii</p><p>How to Provide Documentation Feedback . . . . . . . . . . . . . . . . . . . . . . . . . xiii</p><p>Chapter 1. Informix Storage Manager . . . . . . . . . . . . . . . . . . . . . . 1-1In This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1What Is ISM? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1</p><p>Networker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2ISM Server Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2</p><p>Y2K Compliance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3How Do ON-Bar and ISM Fit Together? . . . . . . . . . . . . . . . . . . . . . . . . . 1-3</p><p>What Happens During a Backup Operation? . . . . . . . . . . . . . . . . . . . . . . . 1-3What Happens During a Restore Operation? . . . . . . . . . . . . . . . . . . . . . . . 1-4</p><p>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</p><p>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</p><p>Using ISM Administrative Privileges . . . . . . . . . . . . . . . . . . . . . . . . . 1-14Starting and Stopping ISM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-15Reviewing ISM Logs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-15</p><p>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</p><p>Adding the First Administrative User to the ISM Server . . . . . . . . . . . . . . . . . . . 2-3Choosing Acceptable ISM User and Group Names . . . . . . . . . . . . . . . . . . . . . 2-4Deleting an Administrative User . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5</p><p>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</p><p> Copyright IBM Corp. 1996, 2010 iii</p></li><li><p>Chapter 3. Managing Storage Devices . . . . . . . . . . . . . . . . . . . . . . 3-1In This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1Choosing and Configuring Storage Devices . . . . . . . . . . . . . . . . . . . . . . . . 3-1Adding and Deleting Storage Devices . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2</p><p>Enabling and Disabling a Storage Device . . . . . . . . . . . . . . . . . . . . . . . . 3-4Changing Storage-Device Properties . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4Designating a Storage Device as Read-only . . . . . . . . . . . . . . . . . . . . . . . 3-5</p><p>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</p><p>Enabling Automatic Media Management . . . . . . . . . . . . . . . . . . . . . . . . 3-8Selecting a Storage Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8Relabeling Volumes Automatically . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8Using Unrecognizable Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9</p><p>Chapter 4. Managing Storage Volumes. . . . . . . . . . . . . . . . . . . . . . 4-1In This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1Managing the Data Life Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1</p><p>How ISM Uses the Retention Period . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1How ISM Uses Volume Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4</p><p>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</p><p>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</p><p>Cloning Storage Volumes and Save Sets . . . . . . . . . . . . . . . . . . . . . . . . . 4-12Tracking Cloned Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13Cloning Storage Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13Cloning Save Sets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-14</p><p>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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3</p><p>If You Have the ISM Server Bootstrap Printout . . . . . . . . . . . . . . . . . . . . . . 5-3If You Do Not Have the ISM Server Bootstrap Printout . . . . . . . . . . . . . . . . . . . 5-3Creating and Backing Up the ISM Bootstrap . . . . . . . . . . . . . . . . . . . . . . . 5-4</p><p>Transferring Data with the Imported Restore . . . . . . . . . . . . . . . . . . . . . . . . 5-5The ISM_CLIENT and ISM_SERVER Environment Variables . . . . . . . . . . . . . . . . . . 5-5Imported Restore Procedure with Files Larger than 2 GB . . . . . . . . . . . . . . . . . . . 5-5Step 1: Backing Up the Source Database Server to ISM. . . . . . . . . . . . . . . . . . . . 5-6Step 2: Porting ISM to Your Target Database Server . . . . . . . . . . . . . . . . . . . . . 5-8Step 3: Restoring Data from ISM to the Target Database . . . . . . . . . . . . . . . . . . . 5-13</p><p>Appendix A. ISM Command-Line Utilities . . . . . . . . . . . . . . . . . . . . A-1ism_add . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1ism_catalog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2ism_chk.pl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-3</p><p>Specifying the Start and End Times for the Log Report . . . . . . . . . . . . . . . . . . . A-4</p><p>iv IBM Informix Storage Manager Administrators Guide</p></li><li><p>Contents of the ism_chk.pl Report . . . . . . . . . . . . . . . . . . . . . . . . . . A-4Sample ism_chk.pl Verbose Output . . . . . . . . . . . . . . . . . . . . . . . . . . A-5</p><p>ism_clone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-6ism_config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-6ism_op . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-8ism_rm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-9ism_show . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-9ism_shutdown . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-10</p><p>Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-10ism_startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-11</p><p>Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-11ism_watch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-12NSR Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-12</p><p>Appendix B. Accessibility . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1Accessibility features for IBM Informix . . . . . . . . . . . . . . . . . . . . . . . . . . B-1</p><p>Accessibility Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1Keyboard Navigation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1Related Accessibility Information . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1IBM and Accessibility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1</p><p>Dotted Decimal Syntax Diagrams. . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1</p><p>Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-3</p><p>Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . X-1</p><p>Contents v</p></li><li><p>vi IBM Informix Storage Manager Administrators Guide</p></li><li><p>Introduction</p><p>In This Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viiAbout This Publication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii</p><p>Types of Users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viiSoftware Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viiiAssumptions About Your Locale . . . . . . . . . . . . . . . . . . . . . . . . . . . viiiDemonstration Database. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii</p><p>What's New in Storage Manager for IBM Informix, Version 11.70 . . . . . . . . . . . . . . . . . ixExample Code Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ixAdditional Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xCompliance with Industry Standards . . . . . . . . . . . . . . . . . . . . . . . . . . . xSyntax Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x</p><p>How to Read a Command-Line Syntax Diagram . . . . . . . . . . . . . . . . . . . . . . xiKeywords and Punctuation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiiiIdentifiers and Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii</p><p>How to Provide Documentation Feedback . . . . . . . . . . . . . . . . . . . . . . . . . xiii</p><p>In This IntroductionThis introduction provides an overview of the information in this manual anddescribes the conventions it uses.</p><p>About This PublicationThis publication describes IBM Informix Storage Manager Administrators Guide(ISM), which manages storage devices and media for your Informix databaseserver. Use ISM with ON-Bar to back up and restore database server data.</p><p>Types of UsersThis manual is written for the following users:v Database administratorsv Database server administratorsv Backup operators</p><p>This manual is written w...</p></li></ul>