Hp XP Continuous Access Software Manuel d'utilisateur Page 1

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Stockage Hp XP Continuous Access Software. HP XP Continuous Access Software User Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 412
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
HP StorageWorks
RAID Manager XP
User’s Guide
XP48
XP128
XP512
XP1024
XP10000
XP12000
ninth edition (November 2005)
part number: T1610-96004
This guide describes HP StorageWorks RAID Manager XP (RM) and provides installation and
configuration procedures, RM command usage, and troubleshooting instructions.
Vue de la page 0
1 2 3 4 5 6 ... 411 412

Résumé du contenu

Page 1 - User’s Guide

HP StorageWorksRAID Manager XPUser’s GuideXP48 XP128XP512 XP1024XP10000XP12000ninth edition (November 2005) part number: T1610-96004 This guide desc

Page 2

10 HP StorageWorks Disk Array XP RAID Manager: User’s GuideHP technical supportIn North America, call technical support at 1-800-633-3600, available 2

Page 3 - Contents

100 HP StorageWorks Disk Array XP RAID Manager: User’s Guidec:\horcm\tool\chgacl /A:RMadmin \\.\Volume{7dd3ba6b-2f98-11d7-a48a-806d6172696f}rem (3) Al

Page 4

Using RAID Manager 101LUN Security ExtensionHP StorageWorks LUN Security XP Extension is an optional feature that prevents hosts from writing to prote

Page 5 - Contents 5

102 HP StorageWorks Disk Array XP RAID Manager: User’s Guideraidvchkdsp. This command shows the guarding parameters for specified volumes, based on RM

Page 6

Using RAID Manager 103Protect (read-only) mode. LUN Security Extension volumes must use Basic disk only.LicenseThe LUN Security Extension license key

Page 7 - Contents 7

104 HP StorageWorks Disk Array XP RAID Manager: User’s Guide

Page 8

RAID Manager command reference 1054RAID Manager command referenceThis chapter describes the function and syntax for all RM commands.

Page 9 - About this guide

106 HP StorageWorks Disk Array XP RAID Manager: User’s GuideGeneral commandsRM Command Description UNIXWindows NT/2000/2003MPE/iX Pagehorcctl Changes

Page 10 - HP storage website

RAID Manager command reference 107Windows NT/2000/2003 commandsWindows NT/2000/2003 Command Description Pagedrivescan Displays the relationship betwee

Page 11 - Document conventions

108 HP StorageWorks Disk Array XP RAID Manager: User’s GuideData integrity check commandsData Integrity Check Command Description Pageraidvchkset Sets

Page 12 - Revision history

RAID Manager command reference 109horcctl Change and display RM internal trace and control parametersDescription The horcctl command is used for main

Page 13 - Warranty statement

About this guide 11HP sales and authorized resellersTo reach HP sales or find a local authorized reseller of HP products, call 1-800-282-6672 or visit

Page 14

110 HP StorageWorks Disk Array XP RAID Manager: User’s GuideLevel 4 is the default setting and must not be changed unless directed by an HP service re

Page 15 - About this guide 15

RAID Manager command reference 111array, check the RM command device name before using this argument.–C Changes and displays the RM command device bei

Page 16

112 HP StorageWorks Disk Array XP RAID Manager: User’s GuidehorcmshutdownStop RM instancesDescription The horcmshutdown command is an executable for s

Page 17 - Description

RAID Manager command reference 113horcmstart Start RAID Manager instanceDescription The horcmstart command is a executable which starts RM. If RM inst

Page 18

114 HP StorageWorks Disk Array XP RAID Manager: User’s Guidehorctakeover Take ownership of a pair CA onlyDescription The horctakeover meta command (co

Page 19 - Continuous Access (CA)

RAID Manager command reference 115–d[g] seq# LDEV# [ MU# ]Searches the RM instance configuration file (local instance) for a volume that matches the s

Page 20 - Business Copy (BC)

116 HP StorageWorks Disk Array XP RAID Manager: User’s Guide–t timeout (Asynchronous paired volumes only) Specifies the maximum time in seconds to wai

Page 21 - Pairs and pair management

RAID Manager command reference 117Error Codes The table below lists specific error codes for the horctakeover command.To recover from EX_EWSTOT:If hor

Page 22 - Creating SnapShot pairs

118 HP StorageWorks Disk Array XP RAID Manager: User’s Guideinqraid Display array information HP-UX, Linux, Solaris, AIX, and MPE/iX onlyDescription

Page 23 - RAID Manager instances

RAID Manager command reference 119-fh Specifies CA/CA Journal for the Bitmap pages when used with -sort -CLIB.-fc used to calculate the Bitmap page of

Page 24

12 HP StorageWorks Disk Array XP RAID Manager: User’s GuideRevision history September 1999 OPEN-8 emulation added.January 2000 Content extensively rev

Page 25 - RAID Manager command device

120 HP StorageWorks Disk Array XP RAID Manager: User’s GuideThe Seq# and LDEV# are provided via the SCSI Inquiry command.This option requires the HORC

Page 26

RAID Manager command reference 121STDINs or special files are specified as follows:• HP-UX: /dev/rdsk/*, Solaris: /dev/rdsk/*s2 or c*s2, • Linux: /de

Page 27

122 HP StorageWorks Disk Array XP RAID Manager: User’s GuideNormally, this option is used to save the LUN signature and volume layout information afte

Page 28

RAID Manager command reference 123SSID Displays the Sub System ID of an LDEV in the disk array.CTGID Displays the CT group ID when the LDEV has been s

Page 29

124 HP StorageWorks Disk Array XP RAID Manager: User’s GuideR:Group Displays the physical position of an LDEV as determined by LDEV mapping in the dis

Page 30

RAID Manager command reference 125Group PairVol(L/R) (Port#,TID,LU-M),Seq#,LDEV#.P/S,Status, Seq#,P-LDEV# Mhorc1 dev00(L) (CL2-J , 0, 0-0)6145

Page 31

126 HP StorageWorks Disk Array XP RAID Manager: User’s Guide#ioscan -fun | grep rdsk | ./inqraid -sort -CM -CLIHORCM_CMD#dev_name dev_na

Page 32

RAID Manager command reference 127D:\HORCM\etc>inqraid $Phys -gvinf -CLI\\.\PhysicalDrive0:# Harddisk0 -> [VOL61459_448_DA7C0D91] [OPEN-3

Page 33

128 HP StorageWorks Disk Array XP RAID Manager: User’s GuideDEVICE_FILE PORT SERIAL LDEV CTG H/M

Page 34 - Shell/iX> ./RMinstsh

RAID Manager command reference 129Solaris# ls /dev/rdsk/* | ./inqraid/dev/rdsk/c0t2d1 -> [HP] CL2-D Ser = 30053 LDEV = 9 [HP ] [OPEN-3 ]

Page 35

About this guide 13Warranty statementHP warrants that for a period of ninety calendar days from the date of purchase, as evidenced by a copy of the in

Page 36

130 HP StorageWorks Disk Array XP RAID Manager: User’s GuideTru64# ls /dev/rdisk/dsk* | ./inqraid/dev/rdisk/dsk10c -> [HP] CL2-D Ser = 30053 LDEV =

Page 37 - Installation prerequisites

131mkconf Make a configuration fileDescription The mkconf command is used to make a configuration file from a special file (raw device file) provided

Page 38 - Installation

132 HP StorageWorks Disk Array XP RAID Manager: User’s Guide–m MU# Specifies the mirror descriptor for BC/SnapShot volumes. CA volumes do not specify

Page 39 - Directory locations

133HORCM Shutdown inst 9 !!!Please check '/tmp/test/horcm9.conf','/tmp/test/log9/curlog/horcm_*.log', and modify 'ip_address

Page 40 - Hosts file

134 HP StorageWorks Disk Array XP RAID Manager: User’s Guidepaircreate Create a pair relationshipDescription The paircreate command establishes a prim

Page 41 - Windows NT/2000/2003

135(HP-UX, Linux, Solaris, MPE/iX, AIX, and Windows NT/2000/2003 only) Searches the RM configuration file (local instance) for a volume that matches t

Page 42 - Open VMS

136 HP StorageWorks Disk Array XP RAID Manager: User’s GuideMaximum number: XP256 16 (0-15) XP512 64 (0-63) XP1024 128 (0-127) XP10000 256 (0-255) XP1

Page 43 - Type Limit

137If there is not enough shared memory to maintain track level information, error EX_CMDRJE is returned.dif (BC only) Use at paircreate to cause the

Page 44 - HORCM_MON section

138 HP StorageWorks Disk Array XP RAID Manager: User’s Guide–q Terminates interactive mode and exits this command.–split (BC/SnapShot only) Splits the

Page 45 - XP Array

139–zx (Not for use with MPE/iX or OpenVMS) Prevents using RM in interactive mode.–jp ID (CA-Journal only) Specify a journal group ID for a P-VOL–js

Page 46 - HORCM_CMD section

14 HP StorageWorks Disk Array XP RAID Manager: User’s GuideLIMITATION OF LIABILITY. EXCEPT TO THE EXTENT PROHIBITED BY LOCAL LAW, IN NO EVENT INCLUDIN

Page 47

140 HP StorageWorks Disk Array XP RAID Manager: User’s GuideCreate a BC group pair out of the group that contains the seq# 35611 and LDEV 35. Use the

Page 48

141Error Codes The table lists specific error codes for the paircreate command.Category Error Code Error Message ValueVolume status unrecoverableEX_EN

Page 49 - HORCM_DEV section

142 HP StorageWorks Disk Array XP RAID Manager: User’s Guidepaircurchk Check S-VOL data consistency CA onlyDescription The paircurchk command display

Page 50 - Feature SMPL P-VOL S-VOL

143This option is effective without specification of the –g group option.If the specified LDEV is listed in multiple device groups, this applies to th

Page 51 - Example HORCM_DEV

144 HP StorageWorks Disk Array XP RAID Manager: User’s GuideOutput Fields Group The group name (dev_group) described in the configuration definition f

Page 52 - HORCM_LDEV section

145pairdisplay Confirm pair configurationDescription The pairdisplay command displays the pairing status of a volume or group of volumes. This command

Page 53 - HORCM_INST section

146 HP StorageWorks Disk Array XP RAID Manager: User’s Guideconfiguration file (local instance) for a volume that matches the specified raw_device. If

Page 54 - Starting the instances

147PFUS) and confirms SSWS state as an indication of SVOL_SSUS-takeover. This option is also used to display the copy operation progress, the Side Fil

Page 55

148 HP StorageWorks Disk Array XP RAID Manager: User’s GuideJID. The journal group ID for the P-VOL or S-VOL. If the volume is not a CA-Journal volum

Page 56 - Environment variables for CA

149The –m mode option cannot be specified.–l Displays the paired volume status of the local host (which issues this command). –m mode Displays the sta

Page 57 - Paired volume configuration

About this guide 15HP StorageWorks LUN Security XP Extension disclaimerHP StorageWorks LUN Security XP Extension provides the ability to place logical

Page 58

150 HP StorageWorks Disk Array XP RAID Manager: User’s GuideExample# pairdisplay -g VG01 -v jnl JID MU CTG JNLS AP U(%) Q-Marker Q-CNT D-SZ(BLK

Page 59 - Using RAID Manager

151P-LDEV# Displays the LDEV# of a primary pair partner.M = “W” P-VOL and PSUS state: indicates that S-VOL is suspending with R/W enabled.S-VOL and S

Page 60 - RAID Manager pair commands

152 HP StorageWorks Disk Array XP RAID Manager: User’s GuideThe following is an arithmetic expression using the High Water Mark (HWM) as 100% of a sid

Page 61 - Using RAID Manager 61

153Examples(BC Only)# pairdisplay –g oradbGroup Pair Vol(L/R) (Port#,TID,LU-M), Seq#, LDEV#...P/S, Status, Seq#, P-LDEV# Moradb oradb1(L) (CL1-A, 1

Page 62

154 HP StorageWorks Disk Array XP RAID Manager: User’s GuideThe following example uses –m cas. This option displays the cascaded volumes at either end

Page 63 - Vo lu m e

155# pairdisplay -g URA -CLI -fd -m all Group PairVol L/R Device_File M Seq# LDEV# P/S Status Seq# P-LDEV# M MURA MURA_001 L c1t2d7s2

Page 64

156 HP StorageWorks Disk Array XP RAID Manager: User’s Guidepairevtwait Wait for event completionDescription The pairevtwait command waits for complet

Page 65 - Vo l um e

157BC OperationThe figure below shows the usage of the –FBC option. In the example, the command tests the status of the intermediate S-VOL/P-VOL (MU#1

Page 66

158 HP StorageWorks Disk Array XP RAID Manager: User’s GuideIf the volume is contained in two groups, the command is executed on the first volume enco

Page 67 - Using RAID Manager 67

159The command executes for the entire group unless the –d pair_vol argument is specified. –h Displays Help/Usage and version information. –l When th

Page 68 - File types and structure

16 HP StorageWorks Disk Array XP RAID Manager: User’s Guide

Page 69 - Executable for

160 HP StorageWorks Disk Array XP RAID Manager: User’s Guidethe interval is specified as greater than 1999999, a warning message is displayed.–z Make

Page 70

161Error Codes The table lists specific error codes for the pairevtwait command.Category Error Code Error Message ValueVolume status unrecoverableEX_E

Page 71 - Using RAID Manager 71

162 HP StorageWorks Disk Array XP RAID Manager: User’s Guidepairmon Report pair transition statusDescription The pairmon command is sent to the RM (da

Page 72 - Log files

163Syntax pairmon { –D | –allsnd | –q | –resevt | –nowait | –s status . . . | –z }Arguments –D Selects the default report mode.One event is reported (

Page 73 - OpenVMS Systems

164 HP StorageWorks Disk Array XP RAID Manager: User’s Guide–h Displays Help/Usage and version information. –zx (Not for use with MPE/iX or OpenVMS) P

Page 74 - Output to host log file

165pairresync Resynchronize a pairDescription The pairresync command resumes updating the secondary volume based on the primary volume to reestablish

Page 75 - User-created files

166 HP StorageWorks Disk Array XP RAID Manager: User’s GuideCA OperationThe following figure shows the usage of the –FCA option. In the example, the c

Page 76 - RM environment variables

167Syntax pairresync { –nomsg | –g group | –d pair_vol | –d[g] raw_device [ MU# ] | –d[g] seq# LDEV# [ MU# ] | –c size | –FCA [MU#] | –FBC | –h | –l

Page 77 - Using RAID Manager 77

168 HP StorageWorks Disk Array XP RAID Manager: User’s Guide–FCA [MU#] Used to resync a CA P-VOL that is also a BC P-VOL. If the –l option is specifie

Page 78

169–restore (BC/SnapShot only) (Optional) Copies differential data from the secondary volume to the primary volume. (The S-VOL must not be mounted on

Page 79 - RM protection

Description 171 DescriptionHP StorageWorks RAID Manager XP (RM) enables you to perform operations with HP StorageWorks Continuous Access XP (CA) and H

Page 80

170 HP StorageWorks Disk Array XP RAID Manager: User’s Guide–swap[s|p](CA only) The –swaps option is executed from the S-VOL when there is no host on

Page 81 - Protection facility support

171–z Makes this command enter interactive mode.–zx (Not for use with MPE/iX or OpenVMS) Prevents using Returned ValuesOutput Fields This command set

Page 82 - Command device configuration

172 HP StorageWorks Disk Array XP RAID Manager: User’s GuideM=W (Valid for PSUS state only) In the P-VOL case, this designates “suspended” with S-VOL

Page 83 - Visibility to Grp1,Grp3,Grp4

173pairsplit Split a pairDescription The pairsplit command is used to change the status of a paired volume. This command puts the pair into either PSU

Page 84

174 HP StorageWorks Disk Array XP RAID Manager: User’s GuideMPE/iXBefore you execute this command, the non-written data that remains in the buffer of

Page 85

175Syntax pairsplit { | –c size | –nomsg | –g group | –d pair_vol | –d[g] raw_device [ MU# ] | –d[g] seq# LDEV# [ MU# ] | –E | –FBC [MU#] | –FCA [MU#

Page 86

176 HP StorageWorks Disk Array XP RAID Manager: User’s GuideIf the specified raw_device is listed in multiple device groups, this applies to the first

Page 87 - Verifying a group for vg01:

177then this option splits a cascading BC volume on a remote host (far site).The target BC volume must be a P-VOL, and the –E option cannot be specif

Page 88 - Verifying a group for DB1:

178 HP StorageWorks Disk Array XP RAID Manager: User’s GuideThe –r option allows read-only access of the secondary volume, –r is a default option.The

Page 89 - # lsdev –C –c disk

179pairsyncwait Synchronization waiting commandDescription The pairsyncwait command is used to confirm that a mandatory write (and all writes before i

Page 90 - $HORCMPERM

18 HP StorageWorks Disk Array XP RAID Manager: User’s GuideRAID Manager features and environment RAID Manager lets you issue Business Copy (BC) and Co

Page 91 - # horcctl –D

180 HP StorageWorks Disk Array XP RAID Manager: User’s GuideThe command is executed for the specified group unless the –d pair_vol option is specified

Page 92

181–m marker Used to specify the Q-marker, the async-CA sequence # of the main control unit (MCU) P-VOL. If RM gets the Q-marker from the –nowait opti

Page 93 - Using RAID Manager 93

182 HP StorageWorks Disk Array XP RAID Manager: User’s GuideIf you do not specify –nowait and the display status is “TIMEOUT” QM-Cnt shows the number

Page 94

183Returned Values This command returns one of the following values in exit (), which allows you to check the execution results.When the –nowait optio

Page 95 - Using RAID Manager 95

184 HP StorageWorks Disk Array XP RAID Manager: User’s GuideQ-Marker The sequence number of MCU P-VOL at the time the command is received.Status The s

Page 96 - Restrictions

185Error Codes The table below lists specific error codes for the pairsyncwait command.Category Error Code Error Message ValueVolume status unrecovera

Page 97 - Example 1

186 HP StorageWorks Disk Array XP RAID Manager: User’s Guidepairvolchk Check volume attributeDescription The pairvolchk command reports the attributes

Page 98

187Syntax pairvolchk { –h | q | z | –g group | –d pair_vol | –d[g] raw_device [ MU# ] | –FCA [MU#] | –FBC [MU#] | –d[g] seq# LDEV# [ MU# ] | –c | –s[

Page 99 - Example:

188 HP StorageWorks Disk Array XP RAID Manager: User’s Guide–d[g] seq# LDEV# [ MU# ]This option searches the RM instance configuration file (local ins

Page 100

189–nomsg Suppresses messages to be displayed when this command is executed. It is used to execute a command from a user program. If used, this argume

Page 101 - LUN Security Extension

Description 19Continuous Access (CA)CA copies data from a local HP XP disk array to one or more remote HP XP disk arrays. You can use CA for data dupl

Page 102

190 HP StorageWorks Disk Array XP RAID Manager: User’s Guide216: EX_EXTCTG214: EX_ENQCTGThe table below shows the error messages associated with the a

Page 103 - Using RAID Manager 103

191When the –s[s] argument is specified:Normal termination:11: The status is SMPLFor CA/sync and BC Volumes22: The status is PVOL_COPY or PVOL_RCPY23:

Page 104

192 HP StorageWorks Disk Array XP RAID Manager: User’s GuideFor CA/async and CA Journal Volumes:42: The status is PVOL_COPY43: The status is PVOL_PAIR

Page 105

19329: The status is PVOL_INCSTG. (Inconsistent status in group) Not returned32: The status is SVOL_COPY or SVOL_RCPY. 33: The status is SVOL_PAIR. 3

Page 106 - General commands

194 HP StorageWorks Disk Array XP RAID Manager: User’s GuideOther than 0 to 127 (For the error cause and details, see the execution logs):236:EX_ENQVO

Page 107 - Windows NT/2000/2003 commands

195Explanation of Terms1 Status is TRUE.0 Status is FALSE.x Status is TRUE or FALSE (don’t care).COPY* Status is either COPY or RCPY.PFUL Since the PF

Page 108 - Data integrity check commands

196 HP StorageWorks Disk Array XP RAID Manager: User’s Guide“MINAP” shows the minimum active paths to a specified group on the P-VOL. If the array fir

Page 109 - Syntax horcctl –h

197raidarReport LDEV activityDescription The raidar command reports the I/O activity of a port, target or LUN over a specified time interval. It will

Page 110

198 HP StorageWorks Disk Array XP RAID Manager: User’s GuideFor the XP12000, the expanded ports CL3-A up to CL3-R, or CLG-A up to CLG-R can be selecte

Page 111 - # horcctl -D

199–zx (Not for use with MPE/iX or OpenVMS) Prevents using RM in interactive mode.Output Fields IOPS Displays the IO (reads/writes) per second.HIT(%)

Page 112

2 HP StorageWorks Disk Array XP RAID Manager: User’s Guide© Copyright 2003-2005 by Hewlett-Packard Development Company, L.P. Confidential computer sof

Page 113 - Syntax HP-UX:

20 HP StorageWorks Disk Array XP RAID Manager: User’s GuideCA-Journal: CA-Journal is supported on XP10000/XP12000 arrays. CA-Journal works in principa

Page 114

200 HP StorageWorks Disk Array XP RAID Manager: User’s Guideraidqry Confirm disk array connection to hostDescription The raidqry command displays the

Page 115

201Floatable Host When using the –f option, this item displays the first 30 characters of the host name (ip_address) described in the configuration de

Page 116

202 HP StorageWorks Disk Array XP RAID Manager: User’s Guideraidscan Display port statusDescription The raidscan command displays, for a given port, t

Page 117

203–f[d] d displays the Device_File that was registered to the RM Group in the output, based on the LDEV (as defined in the local instance configurati

Page 118

204 HP StorageWorks Disk Array XP RAID Manager: User’s GuideThis option can be used with the –fx option to display the LDEV numbers in hexadecimal for

Page 119

205If the logical drive corresponding to a –g name is open for an application, then the logical drive system buffer is only flushed. This option allow

Page 120

206 HP StorageWorks Disk Array XP RAID Manager: User’s GuideIf the –pi strings option is also specified, then this option does not get its “strings” v

Page 121

207array and scans the port of the disk array (which corresponds with the unit ID) and searches for the unit ID from Seq#.If this option is specified,

Page 122

208 HP StorageWorks Disk Array XP RAID Manager: User’s Guide–z Makes this command enter interactive mode.–zx (Not for use with MPE/iX or OpenVMS) Pre

Page 123

209PairVol The paired volume name (dev_name) within the group defined in the configuration definition file.M The MU# defined in the configuration defi

Page 124 - Examples

Description 21SnapShot employs two techniques:• creating or mapping a virtual volume (V-VOL)• copy on write to a SnapShot pool volume (pool-VOL) ident

Page 125

210 HP StorageWorks Disk Array XP RAID Manager: User’s GuideA raidscan on a Fibre Channel port displays ALPA data for the port instead of target ID nu

Page 126

211# ERROR [INVALID MUN (2 < 1)] /dev/rdsk/c24t0d3 SER = 61456 LDEV = 195 [ OPEN-3 ]• It mixes different RAID types:# ERROR [MIXING RAID TYPE] /

Page 127

212 HP StorageWorks Disk Array XP RAID Manager: User’s Guide# ioscan -fun | grep rdsk | raidscan -find verify DEVICE_FILE Group PairVo

Page 128 - and system

213# raidscan -p cl1-r PORT#/ALPA/C,TID#,LU#..Num(LDEV#...) P/S, Status,Fence, LDEV#, P-Seq# P-LDEV# CL1-R/ ce/15, 15, 7..5(100,101...) P-VOL PAI

Page 129 - # lsdev -C -c disk

214 HP StorageWorks Disk Array XP RAID Manager: User’s GuideCommand Options for Windows NT/2000/2003 RM provides the following commands specific to Wi

Page 130 - DYNIX/ptx

215drivescan Display disk drive and connection information Windows NT/2000/2003 onlyDescription The drivescan command displays the relationship betwee

Page 131

216 HP StorageWorks Disk Array XP RAID Manager: User’s GuideExample This example shows drivescan executed from the raidscan command, and displays the

Page 132

217env Display environment variable Windows NT/2000/2003 onlyDescription The env command displays an environment variable within a RAID Manager comman

Page 133 - Configuration file:

218 HP StorageWorks Disk Array XP RAID Manager: User’s Guidefindcmddev Search for a command device Windows NT/2000/2003 onlyDescription The findcmdde

Page 134

219Example This example executes findcmddev, searching device numbers 0 to 20.raidscan -x findcmddev hdisk0, 20 cmddev of Ser# 62496 = \\.\Physi

Page 135

22 HP StorageWorks Disk Array XP RAID Manager: User’s GuideThe relationship between a P-VOL and an S-VOL is called a pair. You can use RM’s paircreate

Page 136

220 HP StorageWorks Disk Array XP RAID Manager: User’s Guidemount Mount and display a device Windows NT/2000/2003 onlyDescription The mount command al

Page 137

221RAID Manager supports the mount command specifying the device object name (such as “\Device\Harddiskvolume X”). However, Windows 2003 will change t

Page 138

222 HP StorageWorks Disk Array XP RAID Manager: User’s GuidePort Port number, path ID, target ID, and LUN on the device PathID adapter mounted to th

Page 139

223portscan Display devices on designated ports Windows NT/2000/2003 onlyDescription The portscan command displays the physical devices that are conne

Page 140

224 HP StorageWorks Disk Array XP RAID Manager: User’s GuideExample This example executes portscan from the raidscan command option, and displays the

Page 141

225setenv Set environment variable Windows NT/2000/2003 onlyDescription The setenv command sets an environment variable within a RAID Manager command.

Page 142

226 HP StorageWorks Disk Array XP RAID Manager: User’s Guidesleep Suspend execution Windows NT/2000/2003 onlyDescription The sleep command suspends ex

Page 143

227sync Write data to drives Windows NT/2000/2003 onlyDescription The sync command writes unwritten data remaining on the Windows NT/2000/2003 system

Page 144 - Example

228 HP StorageWorks Disk Array XP RAID Manager: User’s GuideIf the specified logical drive has directory mount volumes, then SYNC is executed for all

Page 145

229The following example executes SYNC for specified directory mounted volume.pairsplit -x sync D:\hd1 [SYNC] D:\hd1 HarddiskVolume8The following ex

Page 146

Description 23RAID Manager instancesEach execution of RM is known as an RM instance. Instances are local or remote and can run on the same host or dif

Page 147

230 HP StorageWorks Disk Array XP RAID Manager: User’s GuideThis following example flushes the system buffer before the pairsplit without unmounting t

Page 148

231umount Unmount a device Windows NT/2000/2003 onlyDescription The umount command unmounts a logical drive and deletes the drive letter. Before dele

Page 149

232 HP StorageWorks Disk Array XP RAID Manager: User’s GuideFor information on Fibre Channel connection on the port, see Appendix , “Fibre Channel add

Page 150

233usetenv Delete environment variable Windows NT/2000/2003 onlyDescription The usetenv command deletes an environment variable within a RAID Manager

Page 151 - Async-CA Sync-CA BC

234 HP StorageWorks Disk Array XP RAID Manager: User’s Guide

Page 152

235Data Integrity Check CommandsTo set and verify the validation check parameters for Data Integrity Check, RM provides the following commands.

Page 153

236 HP StorageWorks Disk Array XP RAID Manager: User’s GuideraidvchksetIntegrity checking command Data Integrity Check onlyDescription The raidvchkset

Page 154

237–d pair_vol Specifies a paired logical volume name from the configuration definition file. The command is executed only for the specified paired l

Page 155

238 HP StorageWorks Disk Array XP RAID Manager: User’s GuideValid values for type: redo8 Sets the parameter for validation checking as Oracle redo lo

Page 156

239 If this option is not specified, then a region for a target volume is set as all blocks (SLBA=0; ELBA=0).-vg [type][rtime] Specifies the following

Page 157 - Syntax pairevtwait –h

24 HP StorageWorks Disk Array XP RAID Manager: User’s Guideof data are administered by different hosts, guarding against host and disk failure. This

Page 158

240 HP StorageWorks Disk Array XP RAID Manager: User’s Guidewtd Disables the target volumes from writing. The volumes cannot be used as an S-VOL or wr

Page 159

241This example disables all writing to volumes for the oralog group:raidvchkset –g oralog –vg wtdThis example disables all writing and retention time

Page 160

242 HP StorageWorks Disk Array XP RAID Manager: User’s GuideFlags The command sets the following four flags each for the guarding types: Type INQ RCAP

Page 161

243raidvchkdspIntegrity checking confirmation command Data Integrity Check onlyDescription The raidvchkdsp command displays the parameters for protect

Page 162 - Report pair transition status

244 HP StorageWorks Disk Array XP RAID Manager: User’s GuideThis option is effective without specification of the –g group option.If the volume is con

Page 163

245-fe displays the serial numbers and LDEV numbers of the external LUNs mapped to the LDEV for the target volume.This option displays the informati

Page 164 - # pairmon –allsnd –nowait

246 HP StorageWorks Disk Array XP RAID Manager: User’s GuideBR-W-E-E displays the flags for checking data block size. R=Read → E=Enable and D=Disable

Page 165

247BNM displays whether this validation is disabled or enabled. If BNM is 0 then this validation is disabled.–v gflag Displays the flags for guarding

Page 166

248 HP StorageWorks Disk Array XP RAID Manager: User’s GuideExampleraidvchkdsp -g vg01 -v pool Group PairVol Port# TID LU Seq# LDEV# Bsize Av

Page 167

249Examples # raidvchkdsp -g vg01 -fd -v cflagGroup PairVol Device_File Seq# LDEV# BR-W-E-E MR-W-B BR-W-B SR-W-B-S vg01 oradb1 Unknown

Page 168

Description 25RAID Manager command deviceYou must designate a special volume on the disk array as the RAID Manager command device. The command device

Page 169 - –restore option is used, the

250 HP StorageWorks Disk Array XP RAID Manager: User’s GuideraidvchkscanIntegrity checking confirmation command Data Integrity Check onlyDescription

Page 170 - S-VOL

251This option always must be specified if the –find or –p port option is not specified. If this option is specified, the –s seq# option is invalid.-p

Page 171

252 HP StorageWorks Disk Array XP RAID Manager: User’s Guide–v cflag Displays all flags for checking regarding data block validation for target volume

Page 172 - In the P-VOL case, this

253–v offset Displays the range setting for data block size of Oracle I/O and a region on a target volume for validation checking.Example# raidvchksca

Page 173 - Split a pair

254 HP StorageWorks Disk Array XP RAID Manager: User’s GuideAvailable(Bsize): This displays the available capacity for the volume data on the SnapShot

Page 174 - –FBC option. In the example

255Capacity(MB): Displays the total capacity in the SnapShot pool. Seq#: Displays the serial number of the RAID.Num: Displays the number of LDEVs conf

Page 175

256 HP StorageWorks Disk Array XP RAID Manager: User’s Guide# raidvchkscan -p CL1-A -v gflag PORT# /ALPA/C TID# LU# Seq# Num LDEV# GI-C-R-W-S PI

Page 176

257Example # raidvchkscan -v jnl 0 JID MU CTG JNLS AP U(%) Q-Marker Q-CNT D-SZ(BLK) Seq# Nnm LDEV# 001 0 1 PJNN 4 21 43216fde

Page 177

258 HP StorageWorks Disk Array XP RAID Manager: User’s Guidecompletely. If AP is 1, all data were passed. If not, all data were not passed from S-JNL

Page 178

259The table below shows the meanings of JNLS status when combined with other information.JNLS Other infoMeaningP-JNL S-JNL QCNT APSMPL0 - Configured

Page 179

26 HP StorageWorks Disk Array XP RAID Manager: User’s GuideManually switching command devicesTo avoid having commands terminate abnormally during a fa

Page 180

260 HP StorageWorks Disk Array XP RAID Manager: User’s Guide–v jnlt Displays three timer values for the journal volume. DOW = “Data Overflow Watch” ti

Page 181

261 Check whether the data validations are disabled for LVM configuration changes. Check whether the data validations are not used based on the file

Page 182

262 HP StorageWorks Disk Array XP RAID Manager: User’s Guide

Page 183

Troubleshooting RAID Manager 2635Troubleshooting RAID ManagerThis chapter lists RM errors and describes the problem, typical cause, and solution for e

Page 184

264 HP StorageWorks Disk Array XP RAID Manager: User’s GuideError reportingIf you have a problem with RM, first make sure that the problem is not caus

Page 185

Troubleshooting RAID Manager 265Operational notesError SolutionCoexistence of Logical Volume Manager (LVM) mirror and CA When the LVM mirror and CA vo

Page 186

266 HP StorageWorks Disk Array XP RAID Manager: User’s Guidehorctakeover (swap-takeover)When executing horctakeover on a standby server manually, I/O

Page 187

Troubleshooting RAID Manager 267SCSI alternating path restrictionsIf the primary and secondary volumes are on the same server, alternate pathing, for

Page 188

268 HP StorageWorks Disk Array XP RAID Manager: User’s GuideError codesError Code Problem Cause SolutionHORCM_001 The RM log file cannot be opened.Th

Page 189

Troubleshooting RAID Manager 269HORCM_009 CA/RM connection to RM failed.System devices are improperly connected, or an error exists in the RM configur

Page 190

Installation and configuration 272Installation and configurationThis chapter describes how to install and configure RAID Manager for UNIX, Windows, MP

Page 191

270 HP StorageWorks Disk Array XP RAID Manager: User’s GuideCommand return valuesFor error descriptions, see “Error codes” on page 268.Return ValueCom

Page 192

Troubleshooting RAID Manager 271231 EX_ESTMON RM monitoring has stopped. 232 EX_EWSLTO Local host timeout error. 233 EX_EWSTOT Timeout error.234 EX_EW

Page 193 - # pairvolchk -g oradb

272 HP StorageWorks Disk Array XP RAID Manager: User’s Guide255 EX_COMERR Cannot communicate with RM.256 EX_ENOSUP SVOL denied due to disabling257 EX_

Page 194 - –ss 1 x x x x x x COPY*

Troubleshooting RAID Manager 273Command errorsCommand Error Problem ActionEX_ATTDBG This command failed to communicate with RM, or a log directory fi

Page 195

274 HP StorageWorks Disk Array XP RAID Manager: User’s GuideEX_ENLDEV A device defined in the configuration file does not have an assigned LUN, port,

Page 196 - BC with CT Group:

Troubleshooting RAID Manager 275EX_ENPERM A device mentioned in the configuration file does not have permission for a pair operation.Use the pairdispl

Page 197 - Syntax raidar –h

276 HP StorageWorks Disk Array XP RAID Manager: User’s GuideEX_ESTMON RM monitoring is prohibited. Verify the poll value defined in the configuration

Page 198

Troubleshooting RAID Manager 277EX_INVRCD Incorrect return code. Call the HP support center.EX_INVSTP The target volume is not accessible because of

Page 199 - Information

278 HP StorageWorks Disk Array XP RAID Manager: User’s Guide

Page 200 - Syntax raidqry –h

Configuration file examples 279AConfiguration file examplesThis appendix presents examples of RM configuration files.

Page 201 - Display Example # raidqry -l

28 HP StorageWorks Disk Array XP RAID Manager: User’s GuideDisk array and host requirementsRM requires an activated installation of BC or CA on the di

Page 202 - Syntax raidscan

280 HP StorageWorks Disk Array XP RAID Manager: User’s GuideConfiguration definition for cascading volumesRAID Manager is capable of keeping track of

Page 203

Configuration file examples 281Cascading connection configuration filesThe following are examples of configuration files and the corresponding (pairdi

Page 204

282 HP StorageWorks Disk Array XP RAID Manager: User’s GuideInstance 0, in this case, describes the root (and all leaf) volumes (as if the normal diag

Page 205

Configuration file examples 283The instance 1 configuration file in the preceding figure specifies that:• Three BC pairs are recognized.• The BC pairs

Page 206

284 HP StorageWorks Disk Array XP RAID Manager: User’s GuideCA Oradb PVOL T3L0 266 SVOL T3L4 270 MU#0 S/P VOL T3L2268 CA MU#0MU#1 SVOL T3L6 272 MU

Page 207

Configuration file examples 285CA configuration (remote CA, two hosts) LAN Note: Control device not available to user (ESCON path and control device e

Page 208

286 HP StorageWorks Disk Array XP RAID Manager: User’s GuideConfiguration file for HOSTA (/etc/horcm.conf) on page 285HORCM_MON #ip_address service

Page 209 - 0, 1, or 2

Configuration file examples 287The following shows an example of the (raw) control device file format that must be used. HOSTx = HOSTA, HOSTB, etc...•

Page 210 - –find option

288 HP StorageWorks Disk Array XP RAID Manager: User’s GuideCA (remote CA, two host) command examplesCommands from HOSTA in the figure on page 285The

Page 211

Configuration file examples 289Commands from HOSTB in the figure on page 285The following examples employ CA commands from HOSTB.• Designate a group n

Page 212 - SCSI Port Specification

Installation and configuration 29• Plan the mapping of the CA disk volume pairs. Determine which volumes to access.• Map the paths to be used for each

Page 213

290 HP StorageWorks Disk Array XP RAID Manager: User’s GuideCA configuration (local loopback, two hosts) Explanation of terms: Tx: targeted Lx: LUN N

Page 214

Configuration file examples 291Configuration file for HOSTA on page 290 (/etc/horcm.conf)HORCM_MON #ip_address service poll(10ms) timeout(10ms

Page 215

292 HP StorageWorks Disk Array XP RAID Manager: User’s GuideCA (local loopback, two hosts) command examplesCommands from HOSTA in the figure on page 2

Page 216

Configuration file examples 293Commands from HOSTB in the figure on page 290The following examples employ RM commands from HOSTB.• Designate a group n

Page 217 - Any general RM command

294 HP StorageWorks Disk Array XP RAID Manager: User’s GuideCA configuration (two RM instances, one host) LAN A B CL1 Oradb oradev1 oradev2 P-

Page 218

Configuration file examples 295Configuration file for HOSTA, Instance 0 shown on page 294 (/etc/horcm0.conf)HORCM_MON #ip_address service poll(10

Page 219

296 HP StorageWorks Disk Array XP RAID Manager: User’s GuideCA (two RM instances, one host) command examplesCommands from HOSTA, Instance 0 in the fig

Page 220 - Syntax RM_command –x mount

Configuration file examples 297Commands from HOSTA, Instance 1 in the figure on page 294The following examples employ RM commands from HOSTA, Instance

Page 221

298 HP StorageWorks Disk Array XP RAID Manager: User’s GuideBC configuration LAN A B C D CL1 XP Control device T0,L1 A B C D CL2 T0,L

Page 222

Configuration file examples 299Configuration file for HOSTA shown on page 298 (/etc/horcm.conf)HORCM_MON #ip_address service poll(10ms) timeou

Page 223

Contents 3About this guide 9Intended audience 9Disk arrays 9Related documentation 9HP technical support 10HP storage website 10HP sa

Page 224

30 HP StorageWorks Disk Array XP RAID Manager: User’s GuideInstallation and configuration outlineRM installation and configuration consists of the fol

Page 225

300 HP StorageWorks Disk Array XP RAID Manager: User’s GuideConfiguration file for HOSTC shown on page 298 (/etc/horcm.conf)HORCM_MON #ip_address se

Page 226

Configuration file examples 301BC command examplesCommands from HOSTA shown on page 298 (group Oradb)•Set the HORCC_MRCF environment variable. (If C s

Page 227

302 HP StorageWorks Disk Array XP RAID Manager: User’s GuideCommands from HOSTB shown on page 298 (group Oradb)•Set the HORCC_MRCF environment variabl

Page 228

Configuration file examples 303Commands from HOSTA shown on page 298 (group Oradb1)•Set the HORCC_MRCF environment variable. (If C shell)# setenv HOR

Page 229

304 HP StorageWorks Disk Array XP RAID Manager: User’s GuideCommands from HOSTC shown on page 298 (group Oradb1)•Set the HORCC_MRCF environment variab

Page 230 - [SYNC] C: HarddiskVolume3

Configuration file examples 305Commands from HOSTA shown on page 298 (group Oradb2)•Set the HORCC_MRCF environment variable. (If C shell)# setenv HOR

Page 231

306 HP StorageWorks Disk Array XP RAID Manager: User’s GuideCommands from HOSTD shown on page 298 (group Oradb2)•Set the HORCC_MRCF environment variab

Page 232

Configuration file examples 307Configuration for a BC cascaded connection Oradb1 MU# 1 oradev11 MU# 1 oradev12 LAN A B CL1 Oradb

Page 233

308 HP StorageWorks Disk Array XP RAID Manager: User’s GuideConfiguration file for HOSTA shown on page 307 (/etc/horcm0.conf)HORCM_MON #ip_address s

Page 234

Configuration file examples 309BC cascaded connection command examplesCommands from HOSTA, Instance 0 shown on page 307The following examples employ R

Page 235 - Data Integrity Check Commands

Installation and configuration 31Installing RAID Manager on UNIX systemsFollow the steps specific for your UNIX system to install RM.Note: Before perf

Page 236

310 HP StorageWorks Disk Array XP RAID Manager: User’s GuideCommands from HOSTA, Instance 1 shown on page 307The following examples employ RM commands

Page 237

Configuration file examples 311Configuration for a CA/BC cascaded connection LAN A B CL1 Oradb oradev1

Page 238

312 HP StorageWorks Disk Array XP RAID Manager: User’s GuideConfiguration file for HOSTA shown on page 311 (/etc/horcm.conf)HORCM_MON #ip_address se

Page 239

Configuration file examples 313Configuration file for HOSTB shown on page 311 (/etc/horcm0.conf)HORCM_MON #ip_address service poll(10ms) timeo

Page 240 - [rtime]

314 HP StorageWorks Disk Array XP RAID Manager: User’s GuideCA/BC cascaded connection command examplesCommands from HOSTA and HOSTB shown on page 311T

Page 241

Configuration file examples 315Commands from HOSTB shown on page 311The following examples employ RM commands from HOSTB.•Set the HORCC_MRCF environme

Page 242 - 0 0 0 1

316 HP StorageWorks Disk Array XP RAID Manager: User’s Guide• Designate a group name and confirm BC pair states from HOSTB:# pairdisplay -g oradb1 –

Page 243

Configuration file examples 317Two-host BC configurationThese two RM configuration files illustrate how to configure a two-host BC. Each host will run

Page 244

318 HP StorageWorks Disk Array XP RAID Manager: User’s GuideThe RM configuration files show one RM group defined. The group, Group1, contains two disk

Page 245

Configuration file examples 319Two BC mirror configurationThese two RM configuration files illustrate how to configure two BC mirrors of the same P-VO

Page 246

32 HP StorageWorks Disk Array XP RAID Manager: User’s Guide7. From the /opt directory, use cpio to unpack the appropriate archive. Create the HORCM di

Page 247

320 HP StorageWorks Disk Array XP RAID Manager: User’s GuideA one-host configuration differs from a two-host configuration as follows:• The host names

Page 248

Configuration file examples 321Three-host BC configurationThese three RM configuration files illustrate how to configure a three-host BC. Each host wi

Page 249

322 HP StorageWorks Disk Array XP RAID Manager: User’s GuideFile 3# This is the Raid Manager Configuration file for host green.# It will manage the SV

Page 250

Configuration file examples 323Device group configurationThis RM configuration file shows how to configure two device groups that belong to different

Page 251

324 HP StorageWorks Disk Array XP RAID Manager: User’s Guide

Page 252

HA Failover and failback 325BHA Failover and failbackThis appendix covers high availability (HA) failover and failback sequences.

Page 253

326 HP StorageWorks Disk Array XP RAID Manager: User’s GuideUsing RAID Manager in HA environmentsWhen using HA software (such as MC/ServiceGuard or Cl

Page 254

HA Failover and failback 327state NoVolume Attributes and Pair Status Execution Results of pairvolchk and horctakeover from DC1(DC2)DC1(DC2) DC2(DC1)

Page 255

328 HP StorageWorks Disk Array XP RAID Manager: User’s GuideTable terms:XXX Pair status of P-VOL that was returned by the pairvolchk –s or pairvolchk

Page 256

HA Failover and failback 329XP256 microcode 52-47-xx and over XP512/48 microcode 10-00-xx and over XP1024/XP128 XP10000 XP12000With newer firmware, a

Page 257

Installation and configuration 33Installing RAID Manager on Windows systems1. Boot the Windows server and log in with administrator access.2. Insert t

Page 258

330 HP StorageWorks Disk Array XP RAID Manager: User’s GuideFailback after SVOL-SMPL takeoverThis failover situation occurs, for instance, when:• The

Page 259 - P-JNL S-JNL QCNT AP

HA Failover and failback 331• When the DC2 volume becomes a svol_pair, it executes a swap-takeover to become a pvol_pair:• If DC2 attempts a failback

Page 260 - # raidvchkscan -v jnlt

332 HP StorageWorks Disk Array XP RAID Manager: User’s Guide• If a takeover operation is attempted while both volumes are SMPL (State 1), an EX_VOLCRE

Page 261

HA Failover and failback 333• An attempt to do a takeover prior to all group volumes reaching PAIR state (svol_copy) results in a SVOL-takeover and an

Page 262

334 HP StorageWorks Disk Array XP RAID Manager: User’s Guide•The horctakeover command will fail with an EX_ENORMT error in the following nested failur

Page 263 - Troubleshooting RAID Manager

HA Failover and failback 335PVOL-PSUE takeoverThe horctakeover command executes a PVOL-PSUE-takeover when the primary volume cannot report status or r

Page 264 - Error reporting

336 HP StorageWorks Disk Array XP RAID Manager: User’s Guide• Even if connected to the ESCON/FC link, PVOL-PSUE-takeover changes only the active P-VOL

Page 265 - Operational notes

HA Failover and failback 337Recovery after PVOL-PSUE-takeoverThe special PSUE* state can be turned back to PAIR state by issuing the pairresync comman

Page 266 - (continued)

338 HP StorageWorks Disk Array XP RAID Manager: User’s GuideSVOL-SSUS-takeover in the case of ESCON/FC link and host failureAn SVOL-Takeover executes

Page 267 - Error Solution

HA Failover and failback 339SVOL_PSUS) between P-VOL and S-VOL may need to handled by HA control scripts.Async-CA specific behaviorBefore the S-VOL is

Page 268 - Error codes

34 HP StorageWorks Disk Array XP RAID Manager: User’s GuideInstalling RAID Manager on MPE/iX systemsNote: Before performing the installation (upgrade)

Page 269 - $HORCM_CONF

340 HP StorageWorks Disk Array XP RAID Manager: User’s GuideIf the pairresync –swaps command fails because the ESCON/FC link is not yet restored, then

Page 270 - Command return values

HA Failover and failback 341Failback without recovery on Host BThe following procedure for recovery is necessary if, after host and ESCON/FC link reco

Page 271

342 HP StorageWorks Disk Array XP RAID Manager: User’s GuideSVOL-takeover in the case of a host failureAfter SVOL-takeover changes the S-VOL (only) to

Page 272 - Command Error Error Message

HA Failover and failback 343Another case of SVOL-takeoverAn SVOL-takeover from Host B to Host D will do nothing because the S-VOL was already in SSWS

Page 273 - Command errors

344 HP StorageWorks Disk Array XP RAID Manager: User’s GuideObject volumeCurrency SVOL_TakeoverAttribute Status Fence paircurchkSMPL — — Needs to be c

Page 274

HA Failover and failback 345Terms:Inconsistent Data in the volume is inconsistent because it is being copied.Suspect The primary volume data and secon

Page 275 - Command Error Problem Action

346 HP StorageWorks Disk Array XP RAID Manager: User’s GuideTakeover-switch functionThe takeover command, when activated manually or by a control scri

Page 276

HA Failover and failback 347Terms:nop-takeover No operation is done, though the takeover command is accepted.Volumes unconformable A pair of volumes a

Page 277

348 HP StorageWorks Disk Array XP RAID Manager: User’s GuideUnknown The attribute of the remote node is unknown. This means that the remote node syste

Page 278

HA Failover and failback 349XP256 microcode 52-47-xx and over XP512/48 microcode 10-00-xx and over XP1024/128 XP10000 XP12000The swap-takeover functio

Page 279 - Configuration file examples

Installation and configuration 356. Once the above installation completes successfully, create the device files:Shell/iX> mknod /dev/ldev99 c 31

Page 280 - 0 (or 1 or 2) means BC only

350 HP StorageWorks Disk Array XP RAID Manager: User’s Guide3. The swap operation is performed.The swap operation must copy non-transmitted P-VOL data

Page 281 - Cascading BC

HA Failover and failback 351function returns SVOL-SSUS-takeover as the return value of horctakeover command.If there is a Host failure, this function

Page 282

352 HP StorageWorks Disk Array XP RAID Manager: User’s GuidePVOL-takeover functionThe PVOL-takeover function terminates the PAIR state of a pair or gr

Page 283 - Connecting CA and BC

HA Failover and failback 353Recovery procedures of HA system configurationAfter installing CA, the system administrator should conduct operation tests

Page 284

354 HP StorageWorks Disk Array XP RAID Manager: User’s Guide2. Host B detects the failure in host A and issues the takeover command to make the S-VOL

Page 285 - A B C D

HA Failover and failback 355Scenario1. A failure occurs in host A or in the P-VOL.2. Host B detects the failure in host A and issues the takeover comm

Page 286

356 HP StorageWorks Disk Array XP RAID Manager: User’s GuideRegression and recovery of CAThe figure below shows a diagram of regression and recovery w

Page 287

HA Failover and failback 3573. The S-VOL or the link recovers from the failure. Host A issues the pairsplit –S, paircreate –vl, or pairresync command

Page 288 - CL1-D, T2, L1

358 HP StorageWorks Disk Array XP RAID Manager: User’s Guidefor which you can take no action, check the files in the log directory and contact HP.Fail

Page 289

Fibre Channel addressing 359CFibre Channel addressingThis appendix provides Fibre Channel conversion tables for these operating systems:•HP-UX•Sun Sol

Page 290 - A B

36 HP StorageWorks Disk Array XP RAID Manager: User’s GuideDEVICE_FILE UID S/F PORT TARG LUN SERIAL LDEV PROD_ID /dev/cmddev 0 S CL1-D

Page 291

360 HP StorageWorks Disk Array XP RAID Manager: User’s GuideFibre Channel address conversionsRM converts the Fibre Channel physical address to a targe

Page 292

Fibre Channel addressing 361HP-UX Fibre Channel address conversionC0 C1 C2 C3 C4 C5 C6 C7ALPA TIDALPA TIDALPA TIDALPA TIDALPA TIDALPA TIDALPA TIDALPA

Page 293

362 HP StorageWorks Disk Array XP RAID Manager: User’s GuideSun Solaris Fibre Channel address conversion C0 C1 C2 C3 C4 C5 C6 C7ALPA TIDALPA TIDALPA T

Page 294

Fibre Channel addressing 363Windows NT/2000 Fibre Channel address conversion (QLogic or Emulex driver)The table above is based on the conversion meth

Page 295 - (/etc/horcm1.conf)

364 HP StorageWorks Disk Array XP RAID Manager: User’s Guide

Page 296 - # setenv HORCMINST 0

STDIN file formats 365DSTDIN file formatsThis appendix provides the format specifications for the STDIN or device special files.

Page 297

366 HP StorageWorks Disk Array XP RAID Manager: User’s GuideThe STDIN or device special files are specified in the following formats:MPE/iX /dev/. . .

Page 298

Porting notice for MPE/iX 367EPorting notice for MPE/iXThis appendix describes operating system requirements, restrictions, and known issues for MPE/i

Page 299 - (/etc/horcm.conf)

368 HP StorageWorks Disk Array XP RAID Manager: User’s GuidePorting notice for MPE/iXIntroductionMPE/iX does not fully support POSIX like UNIX. Theref

Page 300

Porting notice for MPE/iX 369HORCM daemon startupHORCM can start as a daemon process from a UNIX Shell. But in the case of MPE/iX, if a parent process

Page 301 - # paircreate -g Oradb -vl

Installation and configuration 37Installing RAID Manager on OpenVMS systemsInstallation prerequisites• A user account for RAID Manager must have the s

Page 302 - # paircreate -g Oradb -vr

370 HP StorageWorks Disk Array XP RAID Manager: User’s GuideInstallingSince MPE/iX POSIX is unable to execute cpio to extract a file, the RM product i

Page 303 - # paircreate -g Oradb1 -vl

Porting notice for MPE/iX 371This problem is resolved by RM010904(3), which supports the traffic control method for MPE socket.The traffic control met

Page 304 - # paircreate -g Oradb1 -vr

372 HP StorageWorks Disk Array XP RAID Manager: User’s Guideshell/iX> callci dstatRegarding “multiple capability” of the SCSI path-thru driverWhen

Page 305

Porting notice for MPE/iX 373You cannot remove the ‘/tmp/curlog’ directory even if you use the mv /users/HORCM/log*/curlog /tmp command.MPE/iX startu

Page 306 - # paircreate -g Oradb2 -vr

374 HP StorageWorks Disk Array XP RAID Manager: User’s GuideHORCM_DEV #dev_group dev_name port# TargetID LU# MU#HORCM_INST #dev_group i

Page 307

Porting notice for MPE/iX 375Describe the known HORCM_DEV & HORCM_INST on /etc/horcm*.confHORCM_DEVRestart “horcmstart.sh 0” as a JOBshell/iX>

Page 308

376 HP StorageWorks Disk Array XP RAID Manager: User’s Guide

Page 309

Porting notice for OpenVMS 377FPorting notice for OpenVMSThis appendix describes operating system requirements, restrictions, and known issues for Ope

Page 310

378 HP StorageWorks Disk Array XP RAID Manager: User’s GuidePorting notice for OpenVMSIntroductionRM uses the UNIX domain socket for IPC (Inter Proces

Page 311

Porting notice for OpenVMS 379HORCM daemon startupIn OpenVMS, horcmstart.exe is created as a detached process or batch job by using the DCL command.Us

Page 312

38 HP StorageWorks Disk Array XP RAID Manager: User’s GuideInstallationInstall RAID Manager by using the fileHP-AXPVMS-RMXP-V0117-3-1.PCSI1. Insert an

Page 313

380 HP StorageWorks Disk Array XP RAID Manager: User’s GuideYou can verify that the HORCM daemon is running as a detached process by using the SHOW PR

Page 314

Porting notice for OpenVMS 381Example:$ show device-zx option for RAID Manager commands under OpenVMSA number of commands in this book reference a -zx

Page 315

382 HP StorageWorks Disk Array XP RAID Manager: User’s GuideStartup log filesUnder OpenVMS, RAID Manager has two startup log files, which are separate

Page 316 - Instance 0:

Porting notice for OpenVMS 383Example$ spawn /NOWAIT /PROCESS=horcm0 horcmstart 0 %DCL-S-SPAWNED, process HORCM0 spawned $ starting HORCM inst 0 $

Page 317 - Two-host BC configuration

384 HP StorageWorks Disk Array XP RAID Manager: User’s Guide$ DEFINE/TRANSLATION=(CONCEALED,TERMINAL) SYS$POSIX_ROOT "Device:[directory]" $

Page 318

Porting notice for OpenVMS 385Known issues and concernsRebooting on PAIR state (writing disabled)OpenVMS does not show the volumes with writing disabl

Page 319 - Two BC mirror configuration

386 HP StorageWorks Disk Array XP RAID Manager: User’s Guide$ inqraid DKA148 sys$assign : DKA148 -> errcode = 2312 DKA148 -> OPEN: no such devic

Page 320

Porting notice for OpenVMS 387$ DEFINE/SYSTEM DKA145 $1$DGA145: $ DEFINE/SYSTEM DKA146 $1$DGA146: : : $ DEFINE/SYSTEM DKA153 $1$DGA153:Defining the en

Page 321 - Three-host BC configuration

388 HP StorageWorks Disk Array XP RAID Manager: User’s GuideSYS$POSIX_ROOT:[etc]horcm0.conf HORCM_MON#ip_address service poll(10ms timeout(10m

Page 322

Porting notice for OpenVMS 389Verifying physical mapping of the logical device$ HORCMINST := 0 $ raidscan -pi DKA145-151 -find$ horcmshutdown 0 inst 0

Page 323 - Device group configuration

Installation and configuration 39Configuring the services and hosts filesAfter installing, configuring RM requires editing the services and hosts file

Page 324

390 HP StorageWorks Disk Array XP RAID Manager: User’s GuideHORCM_INST #dev_group ip_address service VG01 HOSTA h

Page 325 - HA Failover and failback

Porting notice for OpenVMS 391$ show process horcm025-MAR-2003 23:27:27.72 User: SYSTEM Process ID: 00004160

Page 326

392 HP StorageWorks Disk Array XP RAID Manager: User’s Guide2. Removing the environment variable:$ DELETE/SYMBOL HORCC_MRCF $ pairdisplay -g VG01 -fdc

Page 327 - HA Failover and failback 327

Porting notice for OpenVMS 393 6. Making the configuration file automatically:You will be able to omit steps 3 to 6 on startup by using the mkconf com

Page 328 - Table terms:

394 HP StorageWorks Disk Array XP RAID Manager: User’s GuideSMGR.LOG9.CURLOG] HORCM_*.LOG', and modify 'ip_address & service'. HORC

Page 329 - HA Failover and failback 329

Porting notice for OpenVMS 3957. Using $1$* naming as native device name You can use the native device without the DEFINE/SYSTEM command by specifyi

Page 330

396 HP StorageWorks Disk Array XP RAID Manager: User’s GuideDEVICE_FILE UID S/F PORT TARG LUN SERIAL LDEV PRODUCT_ID $1$DGA145

Page 331 - HA Failover and failback 331

Porting notice for OpenVMS 397: $1$DGA153: (VMS4) Online 0 $ $ DEFINE/SYSTEM DKA145 $1$DGA145: $ DEFINE/SYSTEM DKA146 $1$DGA146: : : $

Page 332 - State No.1

398 HP StorageWorks Disk Array XP RAID Manager: User’s Guide#ip_address service poll(10ms timeout(10ms) 127.0.0.1 52000 1000 30

Page 333 - HA Failover and failback 333

Porting notice for OpenVMS 399Describing the known HORCM_DEV on /etc/horcm*.confFor horcm0.confHORCM_DEV#dev_group dev_name port# TargetID LU# M

Page 334 - 9). Therefore, the

4 HP StorageWorks Disk Array XP RAID Manager: User’s GuideInstalling RAID Manager on OpenVMS systems 37Configuring the services and hosts files

Page 335 - ESCON/FC failure

40 HP StorageWorks Disk Array XP RAID Manager: User’s GuideServices fileTo configure the services file:1. Edit the services file on each system.2. Add

Page 336 - P-VOL group status

400 HP StorageWorks Disk Array XP RAID Manager: User’s Guidebash$ horcmstart 0 & 19 bash$ starting HORCM inst 0 bash$ horcmstart 1 & 2

Page 337 - Another PVOL-Takeover Case

Glossary 401GlossaryACA HP StorageWorks Asynchronous Continuous Access XP.ACP Array Control Processor. The ACP handles passing data between cache and

Page 338 - → PSUE for async-CA

402 HP StorageWorks Disk Array XP RAID Manager: User’s GuideCFW Cache fast write.CH Channel.CHA (channel adapter)The channel adapter (CHA) provides th

Page 339 - Async-CA specific behavior

Glossary 403CU Control Unit. Contains LDEVs and is approximately equivalent to SCSI Target ID.CVS Custom volume size. CVS devices (OPEN-x CVS) are cus

Page 340

404 HP StorageWorks Disk Array XP RAID Manager: User’s GuideEPO Emergency power-off.ESCON Enterprise Systems Connection (an IBM trademark). A set of I

Page 341 - HA Failover and failback 341

Glossary 405HORCM_MON A section of the RM instance configuration file that defines the instance you are configuring.host mode Each port can be configu

Page 342 - –t timeout option)

406 HP StorageWorks Disk Array XP RAID Manager: User’s GuideOFC Open Fibre Control.OPEN-x A general term describing any one of the supported OPEN emul

Page 343 - HA Failover and failback 343

Glossary 407shell script A command sequence executed by a UNIX shell.SIM Service information message.SNMP Simple Network Management Protocol.SSID St

Page 344 - S-VOL COPY data Inconsistent

408 HP StorageWorks Disk Array XP RAID Manager: User’s Guide

Page 345 - SVOL_Takeover

Index 409IndexSymbols 23, 25AaddressesFibre Channel conversion in RM 377authorized resellers 11Ccommand devices, switching 26commandsusing RAID Ma

Page 346 - **no action needed to allow

Installation and configuration 41Setting up the RM instance configuration fileEach BC and CA pair has a primary volume (P-VOL), the volume that contai

Page 347

410 HP StorageWorks Disk Array XP RAID Manager: User’s GuideinstallingMPE/iX 34OpenVMS 38installing RAID ManagerUNIX systems 31instances 23RAID M

Page 348

Index 411sleep command option 226Start-up procedures using detached process on DCL 386state transistions 326StorageWorks, supported arrays 9Surest

Page 349 - HA Failover and failback 349

412 HP StorageWorks Disk Array XP RAID Manager: User’s Guide

Page 350

42 HP StorageWorks Disk Array XP RAID Manager: User’s GuideMPE/iXAn example horcm.conf file can be found in the /HORCM/etc directory. See Appendix E,

Page 351 - –t timeout option

Installation and configuration 43RM instance configuration file parametersThe configuration file contains all parameters and values for a RM instance.

Page 352

44 HP StorageWorks Disk Array XP RAID Manager: User’s GuideHORCM_MON sectionDescription The HORCM_MON section describes the host name or IP address, t

Page 353

Installation and configuration 45Examples HORCM_MON blue horcm1 1000 3000The RM instance is running on system blue, service name horcm1, with

Page 354

46 HP StorageWorks Disk Array XP RAID Manager: User’s GuideHORCM_CMD sectionDescription The HORCM_CMD section defines the RM command devices RM uses t

Page 355 - Scenario

Installation and configuration 47This HP-UX example shows multiple disk arrays connected to the host. One RM instance can control multiple disk arrays

Page 356

48 HP StorageWorks Disk Array XP RAID Manager: User’s GuideWindows NT/2000/ 2003HORCM_CMD \\.\PHYSICALDRIVE3This example shows the path to a shared co

Page 357 - Abnormal termination

Installation and configuration 49HORCM_DEV sectionDescription The HORCM_DEV section describes the physical volumes corresponding to the paired volume

Page 358

Contents 5RM protection 80Protection facility specification 81Permission command 82Protection facility support 82Command device configurat

Page 359 - Fibre Channel addressing

50 HP StorageWorks Disk Array XP RAID Manager: User’s Guidemirror_unit is omitted, the value of h0 will be assumed. Mirror unit value “h1”, “h2” and “

Page 360 - Fibre Channel TID

Installation and configuration 51Example HORCM_DEV group1 g1–d1 CL1–A 12 1 0This example shows a volume defined in device group1 known as d

Page 361

52 HP StorageWorks Disk Array XP RAID Manager: User’s GuideHORCM_LDEV sectionDescription The HORCM_LDEV section specifies stable LDEV#’s and Serial#’s

Page 362

Installation and configuration 53HORCM_INST sectionDescription The HORCM_INST section defines how RM groups link to remote RM instances.Syntax HORCM_I

Page 363 - (QLogic or Emulex driver)

54 HP StorageWorks Disk Array XP RAID Manager: User’s GuideStarting the instancesAfter setting up the RM instance configuration files, you can start t

Page 364

Installation and configuration 55as in the following environment variable examples, where n is the value of the RM instance.UNIXFor UNIX ksh, use the

Page 365 - STDIN file formats

56 HP StorageWorks Disk Array XP RAID Manager: User’s GuideEnvironment variables for CATo issue CA commands, the HORCC_MRCF environment variable must

Page 366

Installation and configuration 57Paired volume configurationUsers describe the connection between physical volumes used by the servers and the paired

Page 367 - Porting notice for MPE/iX

58 HP StorageWorks Disk Array XP RAID Manager: User’s Guide

Page 368

Using RAID Manager 593Using RAID ManagerThis chapter discusses pair commands, scripts, definitions, log and user-created files, vairables, protection,

Page 369 - MPEKXU3

6 HP StorageWorks Disk Array XP RAID Manager: User’s Guideraidscan 202Command Options for Windows NT/2000/2003 214drivescan 215env 217f

Page 370 - MPE socket hang

60 HP StorageWorks Disk Array XP RAID Manager: User’s GuideRAID Manager pair commands To create and manage CA and BC pairs with RM, use the following

Page 371 - Porting notice for MPE/iX 371

Using RAID Manager 61RAID Manager commands in scripts An RM script is a list of instructions contained in a host file to automate a series of CA and B

Page 372 - /users/HORCM

62 HP StorageWorks Disk Array XP RAID Manager: User’s GuidePaired CA volume status definitionsEach pair of CA volumes consists of a primary volume (P-

Page 373 - Make a JOB control file

Using RAID Manager 63If one of the volumes making up an aggregated LUSE volume is PSUE status, the LUSE volume will be reported as PDUB (dubious) stat

Page 374

64 HP StorageWorks Disk Array XP RAID Manager: User’s GuidePaired BC volume status definitionsEach pair of BC volumes consists of a primary volume (P-

Page 375 - HORCM_INST

Using RAID Manager 65PrimaryVo lu meSecondaryVo l um eSSRead/WriteRead/WriteRestore copyBC Asynchronous copyNote 1: Valid when reading and writing are

Page 376

66 HP StorageWorks Disk Array XP RAID Manager: User’s GuidePaired SnapShot volume status definitionsEach pair of SnapShot volumes consists of a primar

Page 377 - Porting notice for OpenVMS

Using RAID Manager 67Status Pairing Status Primary SecondarySMPL Unpaired (SnapShot) volume R/W enabled R/W disabled (Note 2)PAIR (PFUL)The snapshot a

Page 378

68 HP StorageWorks Disk Array XP RAID Manager: User’s GuideFile types and structureThe RM product includes files supplied for the user, log files crea

Page 379 - HORCM daemon startup

Using RAID Manager 69Trace control /usr/bin/horcctl horcctlSynchronization waiting command/usr/bin/pairsyncwait pairsyncwaitHORCM (RM) activation scri

Page 380 - Command device

Contents 7Two BC mirror configuration 319Three-host BC configuration 321Device group configuration 323B HA Failover and failback 325Using

Page 381 - Syslog function

70 HP StorageWorks Disk Array XP RAID Manager: User’s GuidePair split/suspend \HORCM\etc\pairsplit.exe pairsplitPair resynchronization \HORCM\etc\pair

Page 382 - Using the spawn command

Using RAID Manager 71Windows NT/2000/2003 command notes:• \HORCM\etc\ commands are used when issuing commands interactively from the console.• If the

Page 383

72 HP StorageWorks Disk Array XP RAID Manager: User’s GuideLog filesRM and RM commands write internal logs and trace information to help the user:• i

Page 384 - To uninstall RAID Manager:

Using RAID Manager 73Windows NT/2000/2003 Systemsstartup log files HORCM startup log$HORCM_LOG\horcm_HOST_log.txtCommand log $HORCC_LOG\horcc_HOST_log

Page 385 - DKA150 - - - - - - -

74 HP StorageWorks Disk Array XP RAID Manager: User’s GuideLog directoriesThe log directories for the RM instance specify the command log files using

Page 386 - SHOW DEVICE command and the

Using RAID Manager 75User-created filesWhen constructing the RM environment, the system administrator should make a copy of the HORCM_CONF file, edit

Page 387 - LNM$TEMPORARY_MAILBOX in the

76 HP StorageWorks Disk Array XP RAID Manager: User’s GuideUser-settable environment variablesWhen activating RM or initiating a command, you can spec

Page 388 - Executing a “horcmstart 0”

Using RAID Manager 77environment variable, data is written to the trace file in nonbuffered mode. If you do not specify it, data is written in buffere

Page 389 - HORCM Shutdown inst 0 !!!

78 HP StorageWorks Disk Array XP RAID Manager: User’s Guide$HORCC_TRCSZ Specifies the size of the command trace file in kilobytes. If you do not speci

Page 390

Using RAID Manager 79RM protectionThe RAID Manager protection facility restricts RM volume control operations to volumes that:• the host is allowed to

Page 391 - DCL command examples

8 HP StorageWorks Disk Array XP RAID Manager: User’s Guide

Page 392

80 HP StorageWorks Disk Array XP RAID Manager: User’s GuideProtection facility specificationOnly permitted volumes and volumes visible to the host can

Page 393

Using RAID Manager 81Permission commandTo allow initial access to a protected volume, the Permission command must be executed. This command is the –fi

Page 394

82 HP StorageWorks Disk Array XP RAID Manager: User’s GuideMPE/iX Not supported (only SCSI connections). MPE/iX can protect volumes only by using the

Page 395

Using RAID Manager 83Grp1 Grp2 horcm.conf on HOST1 volumes for Grp1 volumes for Grp3 horcm.conf on HOST2 volumes for Grp2 volumes for Grp4 Visibility

Page 396

84 HP StorageWorks Disk Array XP RAID Manager: User’s GuideLUN visibility from one host configurationThe following figure shows a one host protection

Page 397 - in the

Using RAID Manager 85Commands controlled by RM protectionThe following commands are controlled by RM protection:• horctakeover, paircurchk, paircreate

Page 398 - LUN SERIAL LDEV PRODUCT_ID

86 HP StorageWorks Disk Array XP RAID Manager: User’s Guide• raidscan –find instRM recognizes permitted volumes as a result of executing raidscan –fin

Page 399 - Starting “horcmstart 0 1”

Using RAID Manager 87Naming the $HORCMPERM fileUNIX systemsThe $HORCMPERM variable is set by default to either /etc/horcmperm.conf or /etc/horcmperm*.

Page 400

88 HP StorageWorks Disk Array XP RAID Manager: User’s GuideWindows NT/2000/2003 systemsThe $HORCMPERM variable is set by default to either \WINNT\horc

Page 401 - Glossary

Using RAID Manager 89d If no $HORCMPERM file exists, then the following commands can be manually executed to permit the use of all volumes the host is

Page 402

About this guide 9About this guideThis guide describes HP StorageWorks RAID Manager XP (RM) and provides installation and configuration procedures, RM

Page 403 - Glossary 403

90 HP StorageWorks Disk Array XP RAID Manager: User’s GuideImportant This registration process is not without price because it is executed automatical

Page 404

Using RAID Manager 91(Windows NT/2000/2003'type $HORCMPERM | x:\HORCM\etc\raidscan.exe -find inst'• If no RM permission file exists, then /

Page 405 - Glossary 405

92 HP StorageWorks Disk Array XP RAID Manager: User’s GuideUsing RAID Manager on a Windows 2000/2003 system with “user” system privilegesBy default, R

Page 406

Using RAID Manager 93ExampleTo add a user name to one or more physical drives:1. Enter: chgacl /A:<user_name> <object_name>…Example 1 ch

Page 407 - Glossary 407

94 HP StorageWorks Disk Array XP RAID Manager: User’s GuideExampleTo add a user name to one or more volumes:1. Enter: chgacl /A:<user_name> <

Page 408

Using RAID Manager 95ExampleTo add a user name to one or more SCSI ports:1. Enter: chgacl /A:<user_name> <SCSIX> …Example 1 chgacl /A:RM

Page 409 - Index 409

96 HP StorageWorks Disk Array XP RAID Manager: User’s GuideDeleting a user name from the access control list of the Device ObjectCaution: The first tw

Page 410

Using RAID Manager 97You can redirect the output of the batch file by adding redirection in the batch file. Alternately, you can specify redirection i

Page 411 - Index 411

98 HP StorageWorks Disk Array XP RAID Manager: User’s GuideExample 2 Starting two instances:RestrictionsRestriction 1. A user without system administr

Page 412

Using RAID Manager 99An administrator stated a HORCM instance 5. User A with “user” privileges will not be able to use any RAID Manager commands with

Commentaires sur ces manuels

Pas de commentaire