HP xp128, xp1024 data integrity check

solution guide

hp StorageWorks

data integrity check

xp128
xp1024
This guide describes how to configure the DIC solution in Oracle XP disk arrays.
second edition (april 2004)
part number: T1618-96002
database environments with
© 2004, Hewlett-Packard Company. Hewlett-Packard Company makes no warranty of any kind with regard to this material, including, but not limited to,
the implied warranties of merchantability and fitness for a particular purpose. Hewlett-Packard shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material.
This document contains proprietary information, which is protected by copyright. No part of this document may be photocopied, reproduced, or translated into another language without the prior written consent of Hewlett-Packard. The information contained in this document is subject to change without notice.
Oracle is a registered U.S. trademark of Oracle Corporation, Redwood City, California. All other product names mentioned herein may be trademarks of their respective companies. Hewlett-Packard Company shall not be liable for technical or editorial errors or omissions contained herein. The
information is provided “as is” without warranty of any kind and is subject to change without notice. The warranties for Hewlett-Packard Company products are set forth in the express limited warranty statements accompanying such products. Nothing herein should be construed as constituting an additional warranty.
Printed in the U.S.A.
HP StorageWorks Data Integrity Check: Solution Guide
second edition (april 2004) part number: T1618-96002
2
HP StorageWorks Data Integrity Check: Solution Guide

contents

About this guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Intended audience. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Disk arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Related documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Getting help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
HP technical support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
HP storage website . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
HP authorized reseller. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Warranty statement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1 Data Integrity Check description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Requirements for the disk array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Requirements for the host server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Restrictions on DIC databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2 Configuration requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
Configuring DIC using RAID Manager XP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Configuring DIC on a raw disk device. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Configuring DIC on LVM raw logical volumes (HP-UX only). . . . . . . . . . . . . . . . . . . . . . . 26
Configuring DIC on VxVM raw logical volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Coexistence with HP MC/Service Guard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Contents
3 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
Reporting invalid write I/O. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
SIM message information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
HP StorageWorks Data Integrity Check: Solution Guide
3
Contents
A RAID Manager XP commands for Data Integrity Check . . . . . . . . . . . . . . . . . . . . . . .37
raidvchkset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
raidvchkdsp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
raidvchkscan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
B HP-UX utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51
lvmlbainfo(1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Glossary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57
4
HP StorageWorks Data Integrity Check: Solution Guide
about this
guide
This guide provides information about configuring the HP StorageWorks Data Integrity Check (DIC) product on the HP StorageWorks XP family of disk arrays for an Oracle database environment.

Intended audience

This guide is intended for use by system administrators who already have expertise with the associated systems and software and knowledge of related topics:
data processing concepts
direct-access storage device subsystems and their basic functions
disk arrays and RAID technology
operating system commands and utilities
Oracle database administration

Disk arrays

Unless otherwise noted, the term disk array refers to any of these disk arrays:
HP StorageWorks Disk Array XP128 HP StorageWorks Disk Array XP1024

About this guide

About this guide

Related documentation

HP provides the following related documentation:
HP StorageWorks RAID Manager XP: User’s Guide
HP StorageWorks Disk Array XP128: Owner’s Guide
HP StorageWorks Disk Array XP1024: Owner’s Guide
HP StorageWorks Data Integrity Check: Solution Guide
5
About this guide

Conventions

For information about Oracle software, operating system commands, and third-party products, refer to the manufacturer’s documentation.
This guide uses the following text conventions.
Figure 1 Blue text represents a cross-reference. For the online version
of this guide, the reference is linked to the target.
www.hp.com
Underlined, blue text represents a website on the Internet. For the online version of this guide, the reference is linked to the target.
literal Bold text represents literal values that you type exactly as
shown, as well as key and field names, menu items, buttons, file names, application names, and dialog box titles.
variable
Italics indicates that you must supply a value. Italics is also used for manual titles.
input/output Monospace font denotes user input and system responses,
such as output and messages.
Example Denotes an example of input or output. The display shown in
this guide may not match your configuration exactly. [ ] Indicates an optional parameter. { } Indicates that you must specify at least one of the listed
options.

Getting help

6
| Separates alternatives in a list of options.
If you still have a question after reading this guide, contact an HP authorized service provider or access our website:
www.hp.com
HP StorageWorks Data Integrity Check: Solution Guide

HP technical support

In North America, call technical support at 1-800-652-6672, available 24 hours a day, 7 days a week.
Outside North America, call technical support at the nearest location. Telephone numbers for worldwide technical support are listed on the HP website under support:
thenew.hp.com/country/us/eng/support.html
Be sure to have the following information available before calling:
technical support registration number (if applicable)
product serial numbers
product model names and numbers
applicable error messages
operating system type and revision level
detailed, specific questions
For continuous quality improvement, calls may be recorded or monitored.
About this guide

HP storage website

The HP website has the latest information on this product, as well as the latest drivers. Select the appropriate product or solution from this website:
thenew.hp.com/country/us/eng/prodserv/storage.html

HP authorized reseller

For the name of your nearest HP authorized reseller, you can obtain information by telephone:
United States 1-800-345-1518 Canada 1-800-263-5868 elsewhere See the HP website for locations and telephone numbers:
www.hp.com
HP StorageWorks Data Integrity Check: Solution Guide
7
About this guide

Warranty statement

HP warrants that for a period of ninety calendar days from the date of purchase, as evidenced by a copy of the invoice, the media on which the Software is furnished (if any) will be free of defects in materials and workmanship under normal use.
DISCLAIMER
ALLOWED BY LOCAL LAW, THIS SOFTWARE IS PROVIDED TO YOU “AS IS” WITHOUT WARRANTIES OF ANY KIND, WHETHER ORAL OR WRITTEN, EXPRESS OR IMPLIED. HP SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, NON-INFRINGEMENT, TITLE, ACCURACY OF INFORMATIONAL CONTENT, AND FITNESS FOR A PARTICULAR PURPOSE. Some jurisdictions do not allow exclusions of implied warranties or conditions, so the above exclusion may not apply to you to the extent prohibited by such local laws. You may have other rights that vary from country to country, state to state, or province to province.
. EXCEPT FOR THE FOREGOING AND TO THE EXTENT
WA R N I NG
! YOU EXPRESSLY ACKNOWLEDGE AND AGREE THAT
USE OF THE SOFTWARE IS AT YOUR SOLE RISK. HP DOES NOT WARRANT THAT THE FUNCTIONS CONTAINED IN THE SOFTWARE WILL MEET YOUR REQUIREMENTS, OR THAT THE OPERATION OF THE SOFTWARE WILL BE UNINTERRUPTED, VIRUS-FREE OR ERROR-FREE, OR THAT DEFECTS IN THE SOFTWARE WILL BE CORRECTED. THE ENTIRE RISK AS TO THE RESULTS AND PERFORMANCE OF THE SOFTWARE IS ASSUMED BY YOU. HP DOES NOT WARRANT OR MAKE ANY REPRESENTATIONS REGARDING THE USE OR THE RESULTS OF THE USE OF THE SOFTWARE OR RELATED DOCUMENTATION IN TERMS OF THEIR CORRECTNESS, ACCURACY, RELIABILITY, CURRENTNESS, OR OTHERWISE. NO ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY HP OR HP’S AUTHORIZED REPRESENTATIVES SHALL CREATE A WARRANTY.
LIMITATION OF LIABILITY
. EXCEPT TO THE EXTENT PROHIBITED BY LOCAL LAW, IN NO EVENT INCLUDING NEGLIGENCE WILL HP OR ITS SUBSIDIARIES, AFFILIATES, DIRECTORS, OFFICERS, EMPLOYEES, AGENTS OR SUPPLIERS BE LIABLE FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR OTHER DAMAGES (INCLUDING LOST PROFIT, LOST DATA, OR DOWNTIME COSTS), ARISING OUT OF THE USE, INABILITY TO USE, OR THE RESULTS OF USE OF THE SOFTWARE, WHETHER BASED IN WARRANTY, CONTRACT, TORT OR OTHER LEGAL THEORY, AND WHETHER OR NOT ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Your use of the Software is entirely at your own risk. Should the Software prove defective, you
8
HP StorageWorks Data Integrity Check: Solution Guide
About this guide
assume the entire cost of all service, repair or correction. Some jurisdictions do not allow the exclusion or limitation of liability for incidental or consequential damages, so the above limitation may not apply to you to the extent prohibited by such local laws.
NOTE
. EXCEPT TO THE EXTENT ALLOWED BY LOCAL LAW, THESE
WARRANTY TERMS DO NOT EXCLUDE, RESTRICT OR MODIFY, AND ARE IN ADDITION TO, THE MANDATORY STATUTORY RIGHTS APPLICABLE TO THE LICENSE OF THE SOFTWARE TO YOU;
PROVIDED
, HOWEVER, THAT THE CONVENTION ON CONTRACTS FOR THE INTERNATIONAL SALE OF GOODS IS SPECIFICALLY DISCLAIMED AND SHALL NOT GOVERN OR APPLY TO THE SOFTWARE PROVIDED IN CONNECTION WITH THIS WARRANTY STATEMENT.
HP StorageWorks Data Integrity Check: Solution Guide
9
About this guide
10
HP StorageWorks Data Integrity Check: Solution Guide

Data Integrity Check description

HP StorageWorks Data Integrity Check (DIC) for Oracle is a combination hardware and software solution designed specifically for the XP family of disk arrays. Specially designed array-server interfaces work in conjunction with array firmware-based software and server host agents to provide the data integrity protection facility.
DIC can detect and prevent potential data corruption emanating from the following hardware and software elements or operator errors:
Defects in host-based software (for example, applications, volume managers,
operating systems, and I/O drivers). This represents the entire I/O software stack.
Defects or failures in host-based hardware I/O paths (for example, HBAs).
Operator errors that would result in the accidental overwriting of an Oracle
database.
1
HP StorageWorks Data Integrity Check: Solution Guide
11
Data Integrity Check description

Introduction

DIC is a solution that implements Oracle’s Hardware Assisted Resilient Data (HARD) initiative. The HARD initiative is a program designed to prevent data corruptions before they happen. Data corruptions, while rare, can have a catastrophic effect on a database and, therefore, a business. By implementing Oracle’s data validation algorithms within the HP StorageWorks Disk Array XP hardware and firmware, data corruption is detected and a potentially inconsistent write operation is rejected before it is written to permanent storage.
DIC prevents the following classes of data corruption:
writes of physically or logically corrupt blocks
erroneous writes by programs other than Oracle to Oracle data
partially written blocks
12
HP StorageWorks Data Integrity Check: Solution Guide

Architecture

DIC consists of the following components:
RAID Manager XP (host server software)
XP CHIP (processor board that supports DIC)
XP firmware program product (license key)
Figure 1 shows the layers of software and hardware between the host server and the disk array that contains the protected Oracle data. When an invalid write is detected, the disk array reports this information to the host server and also generates a SIM to Continuous Track XP or Command View XP, based on the disk array system option mode setting.
Data Integrity Check description
Figure 1: DIC architecture
HP StorageWorks Data Integrity Check: Solution Guide
13
Data Integrity Check description

Requirements for the disk array

For DIC capability, the disk array must meet these requirements:
XP128/XP1024 firmware 21-03-03-00/00 or later
HP StorageWorks RAID Manager XP version 01.10.02 or higher
disk array XP license key for HP StorageWorks Data Integrity Check
HP StorageWorks Command View XP version 1.60 or later
DIC-enabled CHIP (client/host interface processor) boards:
Product number Description A7910B/BU 8 Port 1 Gbps Enhanced FC CHIP Pair A7911B/BU 4 Port 1-2 Gbps Enhanced FC CHIP Pair A7912B/BU 8 Port 1-2 Gbps Enhanced FC CHIP Pair A7913B/BU 16 Port 1-2 Gbps Enhanced FC CHIP Pair All CHIPs associated with all redundant paths to a DIC-enabled LUN must be
CHIPs that support DIC.
14
HP StorageWorks Data Integrity Check: Solution Guide

Requirements for the host server

For DIC capability, the host server must meet these requirements:
Oracle products:
Oracle8i Oracle9i, including Oracle 9i RAC (Real Application Cluster) Oracle9i Release 2 (R2), including Oracle 9i R2 RAC
The Oracle initialization parameter DB_BLOCK_CHECKSUM must be set
to TRUE.
supported operating systems:
HP-UX 11.0 or later Sun Solaris 8 or later
supported on:
raw disk on HP-UX and Solaris LVM and SLVM raw logical volumes for HP-UX VxVM raw logical volumes for HP-UX and Solaris
HFS and JFS file systems are not supported.
Data Integrity Check description
HP StorageWorks Data Integrity Check: Solution Guide
15
Data Integrity Check description

Restrictions on DIC databases

For disk arrays:
If you uninstall the DIC program product (license key), you must remove the
integrity check on each LUN by using RAID Manager XP. If you reinstall the program product license key, you must specify and enable the integrity check functionality by using RAID Manager XP.
You cannot replace the XP CHIP processor boards that support DIC with XP
CHIP processor boards that are not supported. See “Requirements for the disk
array” (page 14).
Firmware (DKCMAIN) downgrade is not supported to firmware versions that
do not support DIC. See “Requirements for the disk array” (page 14).
For host servers:
Oracle tablespace location
Files system-based Oracle files are not supported. All Oracle tablespace files, including LVM raw logical volumes and VxVM
raw logical volumes, must be placed on raw volumes directly.
16
If host-based striping is used on raw volumes, the stripe size must be a multiple of the Oracle block size.
Oracle online redo log files must be on separate volumes or logical units with respect to the Oracle data files and Oracle control files.
Restoring Oracle files
Before restoring Oracle data files from a backup, the data validation may need to be temporarily turned off for those data files that were backed up prior to the integrity check being enabled. If the database was running without the integrity check enabled in the past, old Oracle data may continue to exist on disk without the integrity check information in them.
Oracle on host-based volume managers (HP-UX LVM/SLVM and
Veritas VxVM) The volume manager physical extent (PE) size must be a multiple of the
Oracle block size. For HP-UX LVM and SLVM, the Oracle block size must be a power of two, must be less than or equal to the minimum LVM stripe size (4 KB) and less than or equal to the size of an LVM Logical Track Group (256 KB).
HP StorageWorks Data Integrity Check: Solution Guide
Data Integrity Check description
When adding new physical volumes (PVs) to a logical volume (LV) that is to be used as an Oracle data file, control file or online log file, in order to have integrity checking take effect on those new PVs, the DIC must be re-enabled. Similarly, in order to have integrity checking no longer performed on PVs that have been removed from an LV that had previously been used by Oracle, DIC must be explicitly disabled on the device that corresponds to the PV.
Host-based mirroring (LVM, SLVM, or VxVM mirroring) is not supported with DIC. That is, DIC cannot be used on Logical Volumes (LVs) that contain Physical Volumes (PVs) that are DIC-enabled.
Host-based volume manager (LVM, SLVM, or VxVM) bad block relocation is not allowed on PVs that are DIC-enabled.
HP StorageWorks Data Integrity Check: Solution Guide
17
Data Integrity Check description
18
HP StorageWorks Data Integrity Check: Solution Guide
Loading...
+ 42 hidden pages