Hp XP Continuous Access Software Instrukcja Użytkownika Strona 1

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Przechowywanie Hp XP Continuous Access Software. HP XP Continuous Access Software User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 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.
Przeglądanie stron 0
1 2 3 4 5 6 ... 411 412

Podsumowanie treści

Strona 1 - User’s Guide

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

Strona 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

Strona 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

Strona 4

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

Strona 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

Strona 6

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

Strona 7 - Contents 7

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

Strona 8

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

Strona 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

Strona 10 - HP storage website

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

Strona 11 - Document conventions

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

Strona 12 - Revision history

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

Strona 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

Strona 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

Strona 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

Strona 16

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

Strona 17 - Description

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

Strona 18

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 24

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 32

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

Strona 33

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

Strona 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 ]

Strona 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

Strona 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 =

Strona 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

Strona 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

Strona 39 - Directory locations

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

Strona 40 - Hosts file

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 48

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

Strona 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

Strona 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

Strona 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

Strona 52 - HORCM_LDEV section

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 64

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

Strona 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

Strona 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

Strona 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

Strona 68 - File types and structure

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

Strona 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

Strona 70

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

Strona 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

Strona 72 - Log files

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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#

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 96 - Restrictions

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

Strona 97 - Example 1

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

Strona 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[

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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:

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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(%)

Strona 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

Strona 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

Strona 114

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

Strona 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

Strona 116

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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,

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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] /

Strona 127

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

Strona 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

Strona 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

Strona 130 - DYNIX/ptx

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

Strona 131

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

Strona 132

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

Strona 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

Strona 134

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

Strona 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

Strona 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

Strona 137

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

Strona 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

Strona 139

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

Strona 140

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

Strona 141

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

Strona 142

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

Strona 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

Strona 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

Strona 145

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

Strona 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

Strona 147

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

Strona 148

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

Strona 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

Strona 150

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

Strona 151 - Async-CA Sync-CA BC

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

Strona 152

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

Strona 153

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 159

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

Strona 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

Strona 161

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 168

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

Strona 169 - –restore option is used, the

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 178

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

Strona 179

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

Strona 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

Strona 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

Strona 182

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

Strona 183

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

Strona 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

Strona 185

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

Strona 186

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

Strona 187

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

Strona 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

Strona 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

Strona 190

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

Strona 191

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

Strona 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

Strona 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_

Strona 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

Strona 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,

Strona 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

Strona 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

Strona 198

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

Strona 199 - Information

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

Strona 200 - Syntax raidqry –h

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

Strona 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

Strona 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

Strona 203

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

Strona 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

Strona 205

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

Strona 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

Strona 207

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

Strona 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

Strona 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...•

Strona 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

Strona 211

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

Strona 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

Strona 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

Strona 214

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

Strona 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

Strona 216

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

Strona 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-

Strona 218

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

Strona 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

Strona 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

Strona 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

Strona 222

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

Strona 223

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

Strona 224

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

Strona 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

Strona 226

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

Strona 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

Strona 228

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

Strona 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

Strona 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

Strona 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

Strona 232

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

Strona 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

Strona 234

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

Strona 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

Strona 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

Strona 237

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

Strona 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

Strona 239

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

Strona 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

Strona 241

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

Strona 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 –

Strona 243

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

Strona 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

Strona 245

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

Strona 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

Strona 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

Strona 248

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

Strona 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

Strona 250

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

Strona 251

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

Strona 252

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

Strona 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

Strona 254

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

Strona 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

Strona 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

Strona 257

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

Strona 258

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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)

Strona 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

Strona 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

Strona 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

Strona 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

Strona 273 - Command errors

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 283 - Connecting CA and BC

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 289

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

Strona 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

Strona 291

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

Strona 292

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

Strona 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

Strona 294

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

Strona 295 - (/etc/horcm1.conf)

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

Strona 296 - # setenv HORCMINST 0

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

Strona 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/. . .

Strona 298

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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>

Strona 308

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

Strona 309

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

Strona 310

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 316 - Instance 0:

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

Strona 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]" $

Strona 318

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

Strona 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

Strona 320

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

Strona 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

Strona 322

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

Strona 323 - Device group configuration

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

Strona 324

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

Strona 325 - HA Failover and failback

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

Strona 326

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

Strona 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

Strona 328 - Table terms:

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

Strona 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

Strona 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

Strona 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: : : $

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 344 - S-VOL COPY data Inconsistent

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

Strona 345 - SVOL_Takeover

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

Strona 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

Strona 347

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

Strona 348

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

Strona 349 - HA Failover and failback 349

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

Strona 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,

Strona 351 - –t timeout option

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

Strona 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

Strona 353

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

Strona 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

Strona 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

Strona 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

Strona 357 - Abnormal termination

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

Strona 358

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

Strona 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 “

Strona 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

Strona 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

Strona 362

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

Strona 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

Strona 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

Strona 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

Strona 366

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

Strona 367 - Porting notice for MPE/iX

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

Strona 368

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

Strona 369 - MPEKXU3

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

Strona 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

Strona 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

Strona 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-

Strona 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

Strona 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-

Strona 375 - HORCM_INST

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

Strona 376

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

Strona 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

Strona 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

Strona 379 - HORCM daemon startup

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

Strona 380 - Command device

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 390

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

Strona 391 - DCL command examples

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

Strona 392

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

Strona 393

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

Strona 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

Strona 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

Strona 396

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

Strona 397 - in the

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

Strona 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

Strona 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*.

Strona 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

Strona 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

Strona 402

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

Strona 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

Strona 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 /

Strona 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

Strona 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

Strona 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> <

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Komentarze do niniejszej Instrukcji

Brak uwag