HP 11i Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Software HP 11i herunter. HP 11i User's Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 557
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
Veritas Volume Manager 5.0
Administrator’s Guide
HP-UX 11i v3
First Edition
Manufacturing Part Number: 5992-3942
May 2008
Seitenansicht 0
1 2 3 4 5 6 ... 556 557

Inhaltsverzeichnis

Seite 1 - Administrator’s Guide

Veritas Volume Manager 5.0 Administrator’s GuideHP-UX 11i v3First EditionManufacturing Part Number: 5992-3942May 2008

Seite 2 - Legal Notices

11ContentsAdding a RAID-5 log using vxplex ...283Removing a RAID-5 log ...

Seite 3

101Administering disksAdding a disk to VxVMvxdiskadm then proceeds to add the disks.Adding disk device device name to disk group disk group name withd

Seite 4 - Contents

102 Administering disksRootabilityNote: If you are adding an uninitialized disk, warning and error messages are displayed on the console during the vx

Seite 5 - 6 Contents

103Administering disksRootabilityVxVM root disk volume restrictionsVolumes on a bootable VxVM root disk have the following configuration restrictions:

Seite 6 - 7Contents

104 Administering disksRootabilityBooting root volumesNote: At boot time, the system firmware provides you with a short time period during which you c

Seite 7 - 8 Contents

105Administering disksRootabilityNote: The -b option to vxcp_lvmroot uses the setboot command to define c0t4d0 as the primary boot device. If this opt

Seite 8 - Chapter 7 Creating volumes

106 Administering disksRootabilityNote: You may want to keep the LVM root disk in case you ever need a boot disk that does not depend on VxVM being pr

Seite 9 - 10 Contents

107Administering disksRootabilityAdding swap volumes to a VxVM rootable systemTo add a swap volume to an HP-UX system with a VxVM root disk1 Initializ

Seite 10 - 11Contents

108 Administering disksDynamic LUN expansionRemoving a persistent dump volumeCaution: The system will not boot correctly if you delete a dump volume w

Seite 11 - 12 Contents

109Administering disksDynamic LUN expansionAny volumes on the device should only be grown after the device itself has first been grown. Otherwise, sto

Seite 12 - 13Contents

110 Administering disksRemoving disksRemoving disksNote: You must disable a disk group as described in “Disabling a disk group” on page 207 before you

Seite 13 - Chapter 14 Administering

12 ContentsAdding a snapshot to a cascaded snapshot hierarchy ...337Refreshing an instant snapshot ...

Seite 14 - Appendix A Commands summary

111Administering disksRemoving disksContinue with operation? [y,n,q,?] (default: y)The vxdiskadm utility removes the disk from the disk group and disp

Seite 15 - Index 531

112 Administering disksRemoving a disk from VxVM controlRemoving a disk with no subdisksTo remove a disk that contains no subdisks from its disk group

Seite 16 - Volume Manager

113Administering disksRemoving and replacing disksTo replace a disk1 Select menu item 3 (Remove a disk for replacement) from the vxdiskadm main menu.2

Seite 17

114 Administering disksRemoving and replacing disksThe following devices are available as replacements: c0t1d0You can choose one of these disks now, t

Seite 18 - VxVM and the operating system

115Administering disksRemoving and replacing disksVxVM NOTICE V-5-2-158 Disk replacement completed successfully.9 At the following prompt, indicate wh

Seite 19

116 Administering disksRemoving and replacing disksc0t1d0 c1t1d0You can choose one of these disks to replace mydg02. Choose "none" to initia

Seite 20 - Disk arrays

117Administering disksEnabling a disk8 After using the vxdiskadm command to replace one or more failed disks in a VxVM cluster, run the following comm

Seite 21 - Device discovery

118 Administering disksTaking a disk offlinevxdiskadm enables the specified device.3 At the following prompt, indicate whether you want to enable anot

Seite 22 - Enclosure-based naming

119Administering disksRenaming a diskRenaming a diskIf you do not specify a VM disk name, VxVM gives the disk a default name when you add the disk to

Seite 23

120 Administering disksDisplaying disk informationThe vxassist command overrides the reservation and creates a 20 megabyte volume on mydg03. However,

Seite 24

13ContentsChapter 12 Administering hot-relocationHow hot-relocation works ...

Seite 25 - Virtual objects

121Administering disksDisplaying disk informationDisplaying disk information with vxdiskadmDisplaying disk information shows you which disks are initi

Seite 26

122 Administering disksControlling Powerfail TimeoutControlling Powerfail TimeoutPowerfail Timeout is an attribute of a SCSI disk connected to an HP-U

Seite 27 - VM disks

123Administering disksControlling Powerfail TimeoutEnabling or disabling PFTOTo enable or disable PFTO on a disk, use the following command: $ vxdisk

Seite 28 - Subdisks

124 Administering disksControlling Powerfail Timeout

Seite 29

Chapter3Administering dynamic multipathing (DMP)The dynamic multipathing (DMP) feature of Veritas Volume Manager (VxVM) provides greater availability,

Seite 30

126 Administering dynamic multipathing (DMP)How DMP worksFor Active/Passive arrays with LUN group failover (A/PG arrays), a group of LUNs that are con

Seite 31

127Administering dynamic multipathing (DMP)How DMP worksFigure 3-1 How DMP represents multiple physical paths to a disk as one nodeAs described in “En

Seite 32

128 Administering dynamic multipathing (DMP)How DMP worksSee “Changing the disk-naming scheme” on page 91 for details of how to change the naming sche

Seite 33 - Volume layouts in VxVM

129Administering dynamic multipathing (DMP)How DMP worksDMP is also informed when a connection is repaired or restored, and when you add or remove dev

Seite 34 - Concatenation and spanning

130 Administering dynamic multipathing (DMP)How DMP worksDMP coexistence with HP-UX native multipathingThe HP-UX 11i v3 release includes support for n

Seite 35

14 ContentsConverting a disk group from shared to private ...424Moving objects between disk groups ...

Seite 36

131Administering dynamic multipathing (DMP)How DMP works3 Restart all the volumes in each disk group:# vxvol -g diskgroup startallThe output from the

Seite 37 - Striping (RAID-0)

132 Administering dynamic multipathing (DMP)How DMP worksand under the new naming scheme as:# vxdisk listDEVICE TYPE DISK GRO

Seite 38

133Administering dynamic multipathing (DMP)Disabling and enabling multipathing for specific devicesEnabling or disabling controllers with shared disk

Seite 39

134 Administering dynamic multipathing (DMP)Disabling and enabling multipathing for specific devices◆Select option 1 to exclude all paths through the

Seite 40

135Administering dynamic multipathing (DMP)Disabling and enabling multipathing for specific devices? Display help about menu?? Display help about the

Seite 41 - Mirroring (RAID-1)

136 Administering dynamic multipathing (DMP)Enabling and disabling I/O for controllers and storage processorsEnabling and disabling I/O for controller

Seite 42

137Administering dynamic multipathing (DMP)Displaying DMP database informationDisplaying DMP database informationYou can use the vxdmpadm command to l

Seite 43

138 Administering dynamic multipathing (DMP)Displaying the paths to a diskdevicetag: c1t0d3type: simplehostid: zortdisk: name=mydg04 id=9

Seite 44 - RAID-5 (striping with parity)

139Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmAdministering DMP using vxdmpadmThe vxdmpadm utility is a command line admi

Seite 45

140 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmThe physical path is specified by argument to the nodename attribute, whic

Seite 46

15ContentsRunning a rule ...447Identifying configuration prob

Seite 47 - Left-symmetric layout

141Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmFor A/P arrays in which the I/O policy is set to singleactive, only one pat

Seite 48

142 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmoperations being disabled on that controller by using the vxdmpadm disable

Seite 49 - RAID-5 logging

143Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmNAME ENCLR-NAME ARRAY-PORT-ID pWWN=========================================

Seite 50 - Layered volumes

144 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmGathering and displaying I/O statisticsYou can use the vxdmpadm iostat com

Seite 51

145Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmc2t115d0 87 0 44544 0 0.001200 0.000000c3t115d0 0

Seite 52

146 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmc3t115d0 0 0 0 0 0.000000 0.000000cpu usage =

Seite 53 - Online relayout

147Administering dynamic multipathing (DMP)Administering DMP using vxdmpadm primaryDefines a path as being the primary path for an Active/Passive dis

Seite 54

148 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmNote: Starting with release 4.1 of VxVM, I/O policies are recorded in the

Seite 55

149Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmYou can use the size argument to the partitionsize attribute to specify the

Seite 56

150 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadm minimumqThis policy sends I/O on paths that have the minimum number of o

Seite 57

16 ContentsDirty region logging guidelines ... 515Striping guidelines ...

Seite 58 - Volume resynchronization

151Administering dynamic multipathing (DMP)Administering DMP using vxdmpadm# vxdmpadm setattr arrayname DISK iopolicy=singleactiveScheduling I/O on th

Seite 59 - Dirty region logging

152 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadm# dd if=/dev/vx/rdsk/mydg/myvol1 of=/dev/null &By running the vxdmpadm

Seite 60 - Sequential DRL

153Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmc4t2d15 1086 0 1086 0 0.390424 0.000000c4t3d15 1048 0 1048 0 0.391221 0.000

Seite 61 - Data volume configuration

154 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmThe disable operation fails if it is issued to a controller that is connec

Seite 62 - Volume snapshots

155Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmFor a system with a volume mirrored across 2 controllers on one HBA, set up

Seite 63

156 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmConfiguring the response to I/O failuresBy default, DMP is configured to r

Seite 64

157Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmThe following example configures time-bound recovery for the enclosure enc0

Seite 65 - FastResync

158 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmThe following example shows how to disable I/O throttling for the paths to

Seite 66 - Non-persistent FastResync

159Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmDisplaying recoveryoption valuesThe following example shows the vxdmpadm ge

Seite 67 - DCO volume versioning

160 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmConfiguring DMP path restoration policiesDMP maintains a kernel thread tha

Seite 68 - Version 20 DCO volume layout

Chapter1Understanding Veritas Volume ManagerVeritasTM Volume Manager (VxVM) by Symantec is a storage management subsystem that allows you to manage ph

Seite 69

161Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmThe interval attribute must be specified for this policy. The default numbe

Seite 70

162 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmDisplaying information about the DMP error-handling threadTo display infor

Seite 71

163Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmNote: By default, DMP uses the most recent APM that is available. Specify t

Seite 72

164 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadm

Seite 73 - FastResync limitations

Chapter4Creating and administering disk groupsThis chapter describes how to create and manage disk groups. Disk groups are named collections of disks

Seite 74 - Volume sets

166 Creating and administering disk groupsAs system administrator, you can create additional disk groups to arrange your system’s disks for different

Seite 75

167Creating and administering disk groupsSpecifying a disk group to commandsSpecifying a disk group to commandsNote: Most VxVM commands require superu

Seite 76 - Administering disks

168 Creating and administering disk groupsSpecifying a disk group to commandsRules for determining the default disk groupIt is recommended that you us

Seite 77 - Disk device naming in VxVM

169Creating and administering disk groupsDisplaying disk group informationIf bootdg is specified as the argument to this command, the default disk gro

Seite 78

170 Creating and administering disk groupsCreating a disk groupflags: online ready private autoconfig autoimport importeddiskid: 963504891.1070.bassd

Seite 79 - Disk devices

18 Understanding Veritas Volume Manager Volume snapshots FastResync Hot-relocation Volume setsFurther information on administering Veritas Volume

Seite 80

171Creating and administering disk groupsAdding a disk to a disk groupA disk group must have at least one disk associated with it. A new disk group ca

Seite 81 - Partial device discovery

172 Creating and administering disk groupsRemoving a disk from a disk groupRemoving a disk from a disk groupNote: Before you can remove the last disk

Seite 82 - Disk categories

173Creating and administering disk groupsDeporting a disk group There is not enough space on the remaining disks. Plexes or striped subdisks cannot

Seite 83 - # swremove vrtsda

174 Creating and administering disk groupsImporting a disk groupEnter name of disk group [<group>,list,q,?] (default: list) newdg 5 At the foll

Seite 84

175Creating and administering disk groupsHandling disks with duplicated identifiersEnable access to (import) a disk group Menu: VolumeManager/Disk/Ena

Seite 85 - Listing excluded disk arrays

176 Creating and administering disk groupsHandling disks with duplicated identifierscompared with the UDID that is set in the disk’s private region. I

Seite 86

177Creating and administering disk groupsHandling disks with duplicated identifiers# vxdg -o useclonedev=on [-o updateid] import mydgNote: This form o

Seite 87 - SNO length

178 Creating and administering disk groupsHandling disks with duplicated identifiersTo check which disks in a disk group contain copies of this config

Seite 88

179Creating and administering disk groupsHandling disks with duplicated identifiersThese tags can be viewed by using the vxdisk listtag command:# vxdi

Seite 89 - 90 Administering disks

180 Creating and administering disk groupsHandling disks with duplicated identifiersTo import the cloned disks, they must be assigned a new disk group

Seite 90

19Understanding Veritas Volume ManagerVxVM and the operating systemVxVM and the operating systemVxVM operates as a subsystem between your operating sy

Seite 91

181Creating and administering disk groupsHandling disks with duplicated identifiersDEVICE TYPE DISK GROUP STATUSEMC0_1 auto:cdsdisk EMC0_1 mydg online

Seite 92

182 Creating and administering disk groupsHandling disks with duplicated identifiersAs the cloned disk EMC0_15 is not tagged as t1, it is not imported

Seite 93

183Creating and administering disk groupsRenaming a disk groupRenaming a disk groupOnly one disk group of a given name can exist per system. It is not

Seite 94

184 Creating and administering disk groupsMoving disks between disk groupsdgid: 774226267.1025.tweetyNote: In this example, the administrator has ch

Seite 95

185Creating and administering disk groupsMoving disk groups between systemsYou can also move a disk by using the vxdiskadm command. Select item 3 (Rem

Seite 96 - Adding a disk to VxVM

186 Creating and administering disk groupsMoving disk groups between systemsCaution: The purpose of the lock is to ensure that dual-ported disks (disk

Seite 97

187Creating and administering disk groupsMoving disk groups between systemsThe following error message indicates a recoverable error.VxVM vxdg ERROR V

Seite 98

188 Creating and administering disk groupsMoving disk groups between systemsminor numbers near the top of this range to allow for temporary device num

Seite 99

189Creating and administering disk groupsMoving disk groups between systemsreminor operation on the nodes that are in the cluster to resolve the confl

Seite 100 - Reinitializing a disk

190 Creating and administering disk groupsHandling conflicting configuration copiesYou can use the following command to discover the maximum number of

Seite 101 - Rootability

20 Understanding Veritas Volume ManagerHow VxVM handles storage managementHow VxVM handles storage managementVxVM uses two types of objects to handle

Seite 102 - Root disk mirrors

191Creating and administering disk groupsHandling conflicting configuration copiesFigure 4-1 Typical arrangement of a 2-node campus clusterA serial sp

Seite 103 - Booting root volumes

192 Creating and administering disk groupsHandling conflicting configuration copiesfor the disks in their copies of the configuration database, and al

Seite 104

193Creating and administering disk groupsHandling conflicting configuration copies If the other disks were also imported on another host, no disk can

Seite 105

194 Creating and administering disk groupsHandling conflicting configuration copiesThe following section, “Correcting conflicting configuration inform

Seite 106

195Creating and administering disk groupsReorganizing the contents of disk groupsIn this example, the disk group has four disks, and is split so that

Seite 107 - Dynamic LUN expansion

196 Creating and administering disk groupsReorganizing the contents of disk groups To perform online maintenance and upgrading of fault-tolerant syst

Seite 108 - 109Administering disks

197Creating and administering disk groupsReorganizing the contents of disk groupsimported disk group exists with the same name as the target disk grou

Seite 109 - Removing disks

198 Creating and administering disk groupsReorganizing the contents of disk groupsFigure 4-6 Disk group join operationThese operations are performed o

Seite 110 - Removing a disk with subdisks

199Creating and administering disk groupsReorganizing the contents of disk groupsmust recover the disk group manually as described in the section “Rec

Seite 111 - Removing and replacing disks

200 Creating and administering disk groupsReorganizing the contents of disk groupswithin storage pools may not be split or moved. See the Veritas Stor

Seite 112

2Legal Notices © Copyright 2008 Hewlett-Packard Development Company, L.P.Publication Date: 2008Confidential computer software. Valid license from HP r

Seite 113

21Understanding Veritas Volume ManagerHow VxVM handles storage managementVxVM writes identification information on physical disks under VxVM control (

Seite 114

201Creating and administering disk groupsReorganizing the contents of disk groupsplexes were placed on the same disks as the data plexes for convenien

Seite 115

202 Creating and administering disk groupsReorganizing the contents of disk groupsFigure 4-7 Examples of disk groups that can and cannot be splitXSnap

Seite 116 - Enabling a disk

203Creating and administering disk groupsReorganizing the contents of disk groupsMoving objects between disk groupsTo move a self-contained set of VxV

Seite 117 - Taking a disk offline

204 Creating and administering disk groupsReorganizing the contents of disk groupsFor example, the following output from vxprint shows the contents of

Seite 118 - Reserving disks

205Creating and administering disk groupsReorganizing the contents of disk groupsDisk group: mydgTY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PU

Seite 119 - Displaying disk information

206 Creating and administering disk groupsReorganizing the contents of disk groupsThe output from vxprint after the split shows the new disk group, my

Seite 120

207Creating and administering disk groupsDisabling a disk groupDisk group: mydgTY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0 dg mydg myd

Seite 121 - Controlling Powerfail Timeout

208 Creating and administering disk groupsDestroying a disk groupDestroying a disk groupThe vxdg command provides a destroy option that removes a disk

Seite 122 - Enabling or disabling PFTO

209Creating and administering disk groupsUpgrading a disk groupbecomes incompatible with earlier releases of VxVM that do not support the new version.

Seite 123 - 124 Administering disks

210 Creating and administering disk groupsUpgrading a disk groupImporting the disk group of a previous version on a Veritas Volume Manager system prev

Seite 124 - Administering dynamic

22 Understanding Veritas Volume ManagerHow VxVM handles storage managementFigure 1-2 How VxVM presents the disks in a disk array as volumes to the ope

Seite 125 - How DMP works

211Creating and administering disk groupsUpgrading a disk groupTo list the version of a disk group, use this command:# vxdg list dgnameYou can also de

Seite 126

212 Creating and administering disk groupsManaging the configuration daemon in VxVMTo create a disk group with a previous version, specify the -T vers

Seite 127 - How DMP monitors I/O on paths

213Creating and administering disk groupsBacking up and restoring disk group configuration dataFor more information about how to use vxdctl, refer to

Seite 128 - Load balancing

214 Creating and administering disk groupsUsing vxnotify to monitor configuration changes

Seite 129

Chapter5Creating and administering subdisksThis chapter describes how to create and maintain subdisks. Subdisks are the low-level building blocks in a

Seite 130

216 Creating and administering subdisksDisplaying subdisk informationNote: As for all VxVM commands, the default size unit is s, representing a sector

Seite 131

217Creating and administering subdisksMoving subdisksMoving subdisks Moving a subdisk copies the disk space contents of a subdisk onto one or more oth

Seite 132

218 Creating and administering subdisksJoining subdisksFor example, to split subdisk mydg03-02, with size 2000 megabytes into subdisks mydg03-02, mydg

Seite 133

219Creating and administering subdisksAssociating subdisks with plexesSubdisks can also be associated with a plex that already exists. To associate on

Seite 134

220 Creating and administering subdisksAssociating log subdisksIf the volume is enabled, the association operation regenerates data that belongs on th

Seite 135

23Understanding Veritas Volume ManagerHow VxVM handles storage managementDevice Discovery service enables you to add support dynamically for new disk

Seite 136

221Creating and administering subdisksDissociating subdisks from plexesDissociating subdisks from plexesTo break an established connection between a s

Seite 137

222 Creating and administering subdisksChanging subdisk attributes putiln tutiln len commentThe putiln field attributes are maintained on reboot;

Seite 138

Chapter6Creating and administering plexesThis chapter describes how to create and maintain plexes. Plexes are logical groupings of subdisks that creat

Seite 139

224 Creating and administering plexesCreating a striped plexCreating a striped plexTo create a striped plex, you must specify additional attributes. F

Seite 140

225Creating and administering plexesDisplaying plex informationVxVM utilities use plex states to: indicate whether volume contents have been initial

Seite 141

226 Creating and administering plexesDisplaying plex informationEMPTY plex stateVolume creation sets all plexes associated with the volume to the EMPT

Seite 142

227Creating and administering plexesDisplaying plex informationSNAPTMP plex stateThe SNAPTMP plex state is used during a vxassist snapstart operation

Seite 143

228 Creating and administering plexesDisplaying plex informationTEMPRMSD plex stateThe TEMPRMSD plex state is used by vxassist when attaching new data

Seite 144

229Creating and administering plexesAttaching and associating plexesPlex kernel states The plex kernel state indicates the accessibility of the plex t

Seite 145 - ■ preferred [priority=N]

230 Creating and administering plexesTaking plexes offlineNote: You can also use the command vxassist mirror volume to add a data plex as a mirror to

Seite 146 - Specifying the I/O policy

24 Understanding Veritas Volume ManagerHow VxVM handles storage managementFigure 1-3 Example configuration for disk enclosures connected via a fibre c

Seite 147 - ■ adaptiveminq

231Creating and administering plexesDetaching plexesDetaching plexesTo temporarily detach one data plex in a mirrored volume, use the following comman

Seite 148

232 Creating and administering plexesMoving plexesIf the vxinfo command shows that the volume is unstartable (see “Listing Unstartable Volumes” in the

Seite 149 - ■ singleactive

233Creating and administering plexesCopying volumes to plexesCopying volumes to plexes This task copies the contents of a volume onto a specified plex

Seite 150

234 Creating and administering plexesChanging plex attributesAlternatively, you can first dissociate the plex and subdisks, and then remove them with

Seite 151

Chapter7Creating volumesThis chapter describes how to create volumes in Veritas Volume Manager (VxVM). Volumes are logical devices that appear as phys

Seite 152

236 Creating volumesTypes of volume layoutsTypes of volume layoutsVxVM allows you to create volumes with the following layout types: Concatenated A vo

Seite 153

237Creating volumesTypes of volume layoutsSupported volume logs and mapsVeritas Volume Manager supports the use of several types of logs and maps with

Seite 154 - Renaming an enclosure

238 Creating volumesCreating a volumeRefer to the following sections for information on creating a volume on which DRL is enabled: “Creating a volume

Seite 155

239Creating volumesUsing vxassist3 Associate plexes with the volume using vxmake vol; see “Creating a volume using vxmake” on page 258.4 Initialize th

Seite 156

240 Creating volumesUsing vxassist Operations result in a set of configuration changes that either succeed or fail as a group, rather than individual

Seite 157

25Understanding Veritas Volume ManagerHow VxVM handles storage managementIn High Availability (HA) configurations, redundant-loop access to storage ca

Seite 158

241Creating volumesUsing vxassistThe section, “Creating a volume on any disk” on page 243 describes the simplest way to create a volume with default a

Seite 159 - ■ check_periodic

242 Creating volumesDiscovering the maximum size of a volumemax_nstripe=8min_nstripe=2# for RAID-5, by default create between 3 and 8 stripe columnsm

Seite 160

243Creating volumesCreating a volume on any diskTo discover the value in blocks of the alignment that is set on a disk group, use this command:# vxpri

Seite 161

244 Creating volumesCreating a volume on specific disksCreating a volume on specific disksVxVM automatically selects the disks on which each volume re

Seite 162

245Creating volumesCreating a volume on specific disksSpecifying ordered allocation of storage to volumesOrdered allocation gives you complete control

Seite 163

246 Creating volumesCreating a volume on specific disksFigure 7-2 Example of using ordered allocation to create a striped-mirror volumeAdditionally, y

Seite 164 - Creating and

247Creating volumesCreating a volume on specific disksFigure 7-3 Example of using concatenated disk space to create a mirrored-stripe volumeOther stor

Seite 165

248 Creating volumesCreating a volume on specific disksFigure 7-4 Example of storage allocation used to create a mirrored-stripe volume across control

Seite 166 - /dev/vx/dsk/mktdg/mktvol

249Creating volumesCreating a mirrored volumeCreating a mirrored volumeNote: You need a full license to use this feature.A mirrored volume provides da

Seite 167

250 Creating volumesCreating a volume with a version 0 DCO volume# vxassist [-b] [-g diskgroup] make volume length \layout=concat-mirror [nmirror=numb

Seite 168

26 Understanding Veritas Volume ManagerHow VxVM handles storage managementSee “Disk device naming in VxVM” on page 78 and “Changing the disk-naming sc

Seite 169 - Creating a disk group

251Creating volumesCreating a volume with a version 0 DCO volume# vxdg list diskgroupTo upgrade a disk group to version 90, use the following command:

Seite 170 - Adding a disk to a disk group

252 Creating volumesCreating a volume with a version 20 DCO volumeCreating a volume with a version 20 DCO volumeTo create a volume with an attached ve

Seite 171

253Creating volumesCreating a striped volumeDirty region logging (DRL), if enabled, speeds recovery of mirrored volumes after a system crash. To enabl

Seite 172 - Deporting a disk group

254 Creating volumesCreating a striped volumeYou can specify the disks on which the volumes are to be created by including the disk names on the comma

Seite 173 - Importing a disk group

255Creating volumesMirroring across targets, controllers or enclosuresfor the attribute stripe-mirror-col-split-trigger-pt that is defined in the vxas

Seite 174

256 Creating volumesCreating a RAID-5 volumeSee “Specifying ordered allocation of storage to volumes” on page 245 for a description of other ways in w

Seite 175 - Writing a new UDID to a disk

257Creating volumesCreating tagged volumesRAID-5 logs can be concatenated or striped plexes, and each RAID-5 log associated with a RAID-5 volume has a

Seite 176

258 Creating volumesCreating a volume using vxmakeTag names and tag values are case-sensitive character strings of up to 256 characters. Tag names can

Seite 177

259Creating volumesCreating a volume using vxmakeIf each column in a RAID-5 plex is to be created from multiple subdisks which may span several physic

Seite 178

260 Creating volumesInitializing and starting a volumeThe following sample description file defines a volume, db, with two plexes, db-01 and db-02: #r

Seite 179

27Understanding Veritas Volume ManagerHow VxVM handles storage management Subdisks (each representing a specific region of a disk) are combined to fo

Seite 180

261Creating volumesInitializing and starting a volumeAs an alternative to the -b option, you can specify the init=active attribute to make a new volum

Seite 181

262 Creating volumesAccessing a volumeAccessing a volumeAs soon as a volume has been created and initialized, it is available for use as a virtual dis

Seite 182 - Renaming a disk group

Chapter8Administering volumesThis chapter describes how to perform common maintenance tasks on volumes in Veritas Volume Manager (VxVM). This includes

Seite 183 - 774226267.1025.tweety

264 Administering volumesDisplaying volume informationDisplaying volume information You can use the vxprint command to display information about how a

Seite 184

265Administering volumesDisplaying volume information# vxprint -g mydg -t voldefThis is example output from this command:V NAME RVG/VSET/CO KSTATE STA

Seite 185

266 Administering volumesDisplaying volume informationINVALID volume stateThe contents of an instant snapshot volume no longer represent a true point-

Seite 186

267Administering volumesMonitoring and controlling tasksNote: No user intervention is required to set these states; they are maintained internally. On

Seite 187

268 Administering volumesMonitoring and controlling tasksAny tasks started by the utilities invoked by vxrecover also inherit its task ID and task ta

Seite 188

269Administering volumesMonitoring and controlling tasksgenerated when the task completes. When this occurs, the state of the task is printed as EXITE

Seite 189

270 Administering volumesStopping a volumeStopping a volumeStopping a volume renders it unavailable to the user, and changes the volume kernel state f

Seite 190

28 Understanding Veritas Volume ManagerHow VxVM handles storage managementVeritas Volume Manager, such as data change objects (DCOs), and cache object

Seite 191

271Administering volumesStarting a volumeStarting a volumeStarting a volume makes it available for use, and changes the volume state from DISABLED or

Seite 192

272 Administering volumesAdding a mirror to a volumeMirroring all volumes To mirror all volumes in a disk group to available disk space, use the follo

Seite 193

273Administering volumesRemoving a mirrorYou can choose to mirror volumes from disk mydg02 onto anyavailable disk space, or you can choose to mirror o

Seite 194

274 Administering volumesAdding logs and maps to volumesThis command removes the mirror vol01-02 and all associated subdisks. This is equivalent to en

Seite 195

275Administering volumesPreparing a volume for DRL and instant snapshotsPreparing a volume for DRL and instant snapshotsNote: This procedure describes

Seite 196 - Source disk group

276 Administering volumesPreparing a volume for DRL and instant snapshotsNote: The vxsnap prepare command automatically enables Persistent FastResync

Seite 197 - Target disk group

277Administering volumesPreparing a volume for DRL and instant snapshotsIf required, you can use the vxassist move command to relocate DCO plexes to d

Seite 198

278 Administering volumesPreparing a volume for DRL and instant snapshotsDetermining if DRL is enabled on a volumeTo determine if DRL (configured usin

Seite 199

279Administering volumesUpgrading existing volumes to use version 20 DCOsTo re-enable DRL on a volume, enter this command:# vxvol [-g diskgroup] set d

Seite 200

280 Administering volumesUpgrading existing volumes to use version 20 DCOs# vxdg list diskgroupTo upgrade a disk group to the latest version, use the

Seite 201

29Understanding Veritas Volume ManagerHow VxVM handles storage managementFigure 1-6 VM disk exampleSubdisksA subdisk is a set of contiguous disk block

Seite 202

281Administering volumesAdding traditional DRL logging to a mirrored volumesubsequently create from the snapshot plexes. For example, specify ndcomirs

Seite 203

282 Administering volumesAdding traditional DRL logging to a mirrored volumewhere each bit represents one region in the volume. For example, the size

Seite 204 - Splitting disk groups

283Administering volumesAdding a RAID-5 logAdding a RAID-5 logNote: You need a full license to use this feature.Only one RAID-5 plex can exist per RAI

Seite 205 - Joining disk groups

284 Administering volumesResizing a volumeRemoving a RAID-5 log To identify the plex of the RAID-5 log, use the following command: # vxprint [-g diskg

Seite 206 - Disabling a disk group

285Administering volumesResizing a volumevxassist command also allows you to specify an increment by which to change the volume’s size.Caution: If you

Seite 207 - Upgrading a disk group

286 Administering volumesResizing a volume Resizing a volume with a usage type other than FSGEN or RAID5 can result in loss of data. If such an opera

Seite 208

287Administering volumesResizing a volumeNote: If specified, the -b option makes growing the volume a background task.For example, to extend volcat by

Seite 209

288 Administering volumesSetting tags on volumesNote: The vxvol set len command cannot increase the size of a volume unless the needed space is availa

Seite 210

289Administering volumesChanging the read policy for mirrored volumes# vxassist -g mydg settag myvol "dbvol=table space 1"Dotted tag hierarc

Seite 211

290 Administering volumesRemoving a volumeFor example, to set the policy for vol01 to read preferentially from the plex vol01-02, use the following co

Seite 212

30 Understanding Veritas Volume ManagerHow VxVM handles storage managementFigure 1-8 Example of three subdisks assigned to one VM DiskAny VM disk spac

Seite 213

291Administering volumesMoving volumes from a VM diskTo move volumes from a disk1 Select menu item 6 (Move volumes from a disk) from the vxdiskadm mai

Seite 214

292 Administering volumesEnabling FastResync on a volumeEnabling FastResync on a volumeNote: The recommended method for enabling FastResync on a volum

Seite 215

293Administering volumesEnabling FastResync on a volumeNote: To use FastResync with a snapshot, FastResync must be enabled before the snapshot is take

Seite 216 - Splitting subdisks

294 Administering volumesPerforming online relayoutPerforming online relayoutNote: You need a full license to use this feature.You can use the vxassis

Seite 217 - Joining subdisks

295Administering volumesPerforming online relayoutPermitted relayout transformationsThe tables below give details of the relayout operations that are

Seite 218

296 Administering volumesPerforming online relayoutTable 8-4 Supported relayout transformations for RAID-5 volumesRelayout to From raid5concatYes.conc

Seite 219 - Associating log subdisks

297Administering volumesPerforming online relayoutTable 8-6 Supported relayout transformations for mirrored-stripe volumesRelayout to From mirror-stri

Seite 220 - Changing subdisk attributes

298 Administering volumesPerforming online relayoutSpecifying a non-default layoutYou can specify one or more relayout options to change the default l

Seite 221

299Administering volumesPerforming online relayoutViewing the status of a relayoutOnline relayout operations take some time to perform. You can use th

Seite 222

300 Administering volumesConverting between layered and non-layered volumesinserts a delay of 1000 milliseconds (1 second) between copying each 10-meg

Seite 224 - DCOSNP plex state

31Understanding Veritas Volume ManagerHow VxVM handles storage managementYou can organize data on subdisks to form a plex by using the following metho

Seite 225

301Administering volumesConverting between layered and non-layered volumesWhen the relayout has completed, use the vxassist convert command to change

Seite 226 - TEMPRM plex state

302 Administering volumesConverting between layered and non-layered volumes

Seite 227 - Plex condition flags

Chapter9Administering volume snapshotsVeritas Volume Manager (VxVM) provides the capability for taking an image of a volume at a given point in time.

Seite 228 - Plex kernel states

304 Administering volume snapshotsNote: A volume snapshot represents the data that exists in a volume at a given point in time. As such, VxVM does not

Seite 229 - Taking plexes offline

305Administering volume snapshotsTraditional third-mirror break-off snapshotsTraditional third-mirror break-off snapshotsThe traditional third-mirror

Seite 230 - Reattaching plexes

306 Administering volume snapshotsTraditional third-mirror break-off snapshotsits data plexes. The snapshot volume contains a copy of the original vol

Seite 231 - Moving plexes

307Administering volume snapshotsFull-sized instant snapshotsFull-sized instant snapshotsFull-sized instant snapshots are a variation on the third-mir

Seite 232 - Copying volumes to plexes

308 Administering volume snapshotsFull-sized instant snapshotsvolume are updated, its original contents are gradually relocated to the snapshot volume

Seite 233 - Changing plex attributes

309Administering volume snapshotsSpace-optimized instant snapshotsSpace-optimized instant snapshotsVolume snapshots, such as those described in “Tradi

Seite 234 - Creating volumes

310 Administering volume snapshotsEmulation of third-mirror break-off snapshotsAs for instant snapshots, space-optimized snapshots use a copy-on-write

Seite 235 - Types of volume layouts

32 Understanding Veritas Volume ManagerHow VxVM handles storage managementNote: You can use the Veritas Intelligent Storage Provisioning (ISP) feature

Seite 236

311Administering volume snapshotsLinked break-off snapshot volumes Use the vxsnap make command with the sync=yes and type=full attributes specified t

Seite 237 - Creating a volume

312 Administering volume snapshotsCascaded snapshotsto recover the mirror volume in the same way as for a DISABLED volume. See “Starting a volume” on

Seite 238 - Using vxassist

313Administering volume snapshotsCascaded snapshotsto read data from an older snapshot that does not exist in that snapshot, it is obtained by searchi

Seite 239

314 Administering volume snapshotsCascaded snapshotsFigure 9-5 Creating a snapshot of a snapshotEven though the arrangement of the snapshots in this f

Seite 240

315Administering volume snapshotsCascaded snapshotsFigure 9-6 Using a snapshot of a snapshot to restore a databaseIf you have configured snapshots in

Seite 241

316 Administering volume snapshotsCascaded snapshotsFigure 9-7 Dissociating a snapshot volume vxsnap split dissociates a snapshot and its dependent s

Seite 242 - Creating a volume on any disk

317Administering volume snapshotsCreating multiple snapshotsFigure 9-8 Splitting snapshotsCreating multiple snapshotsTo make it easier to create snaps

Seite 243

318 Administering volume snapshotsRestoring the original volume from a snapshotFigure 9-9 Resynchronizing an original volume from a snapshotNote: The

Seite 244

319Administering volume snapshotsCreating instant snapshotsCreating instant snapshotsNote: You need a full license to use this feature.VxVM allows you

Seite 245

320 Administering volume snapshotsCreating instant snapshotsYou can create instant snapshots of volume sets by replacing volume names with volume set

Seite 246 - 247Creating volumes

33Understanding Veritas Volume ManagerHow VxVM handles storage managementIn Figure 1-11 a volume, vol06, with two data plexes is mirrored. Each plex o

Seite 247 - 248 Creating volumes

321Administering volume snapshotsCreating instant snapshotsPreparing to create instant and break-off snapshotsTo prepare a volume for the creation of

Seite 248 - Creating a mirrored volume

322 Administering volume snapshotsCreating instant snapshotscreated, and it must also have the same region size. See “Creating a volume for use as a f

Seite 249 - 250 Creating volumes

323Administering volume snapshotsCreating instant snapshotsNote: All space-optimized snapshots that share the cache must have a region size that is eq

Seite 250

324 Administering volume snapshotsCreating instant snapshots4 Use the vxassist command to create a volume, snapvol, of the required size and redundanc

Seite 251

325Administering volume snapshotsCreating instant snapshotsFor space-optimized instant snapshots that share a cache object, the specified region size

Seite 252 - Creating a striped volume

326 Administering volume snapshotsCreating instant snapshotsFor example, to create the space-optimized instant snapshot, snap4myvol, of the volume, my

Seite 253

327Administering volume snapshotsCreating instant snapshotsCreating and managing full-sized instant snapshotsNote: Full-sized instant snapshots are no

Seite 254

328 Administering volume snapshotsCreating instant snapshotsIf required, you can use the following command to test if the synchronization of a volume

Seite 255 - Creating a RAID-5 volume

329Administering volume snapshotsCreating instant snapshots Dissociate the snapshot volume entirely from the original volume. This may be useful if y

Seite 256 - Creating tagged volumes

330 Administering volume snapshotsCreating instant snapshotsIf you specify the -b option to the vxsnap addmir command, you can use the vxsnap snapwait

Seite 257

34 Understanding Veritas Volume ManagerVolume layouts in VxVMVolume layouts in VxVMA VxVM virtual device is defined by a volume. A volume has a layout

Seite 258

331Administering volume snapshotsCreating instant snapshotssynchronization was already in progress on the snapshot, this operation may result in large

Seite 259

332 Administering volume snapshotsCreating instant snapshots[mirdg=snapdg]The optional mirdg attribute can be used to specify the snapshot volume’s cu

Seite 260

333Administering volume snapshotsCreating instant snapshotsNote: This operation is not possible if the linked volume and snapshot are in different dis

Seite 261 - Accessing a volume

334 Administering volume snapshotsCreating instant snapshotsIn this example, snapvol1 is a full-sized snapshot that uses a prepared volume, snapvol2 i

Seite 262 - Administering volumes

335Administering volume snapshotsCreating instant snapshotsVOLUME INDEX LENGTH KSTATE CONTEXTsvol_0 0 204800 ENABLED -svol_1 1 409600 ENABLED -svol_2

Seite 263

336 Administering volume snapshotsCreating instant snapshotsAdding snapshot mirrors to a volumeIf you are going to create a full-sized break-off snaps

Seite 264 - Volume states

337Administering volume snapshotsCreating instant snapshotsNote: This command is similar in usage to the vxassist snapabort command.If a volume set na

Seite 265 - /CLEAN flag). If the

338 Administering volume snapshotsCreating instant snapshotsTo disable resynchronization, specify the syncing=no attribute. This attribute is not supp

Seite 266 - Specifying task tags

339Administering volume snapshotsCreating instant snapshotssnapwait command (but not vxsnap syncwait) to wait for the resynchronization of the reattac

Seite 267 - Managing tasks with vxtask

340 Administering volume snapshotsCreating instant snapshotssyncwait) to wait for the resynchronization of the reattached volume to complete, as shown

Seite 268 - Using the vxtask command

35Understanding Veritas Volume ManagerVolume layouts in VxVMLayout methodsData in virtual objects is organized to create volumes by using the followin

Seite 269 - Stopping a volume

341Administering volume snapshotsCreating instant snapshotssnapshots remain, snapvol may be dissociated. The snapshot hierarchy is then adopted by sna

Seite 270 - Adding a mirror to a volume

342 Administering volume snapshotsCreating instant snapshotsNote: The topmost snapshot volume in the hierarchy must have been fully synchronized for t

Seite 271 - Mirroring all volumes

343Administering volume snapshotsCreating instant snapshotsAlternatively, you can use the vxsnap list command, which is an alias for the vxsnap -n pri

Seite 272 - Removing a mirror

344 Administering volume snapshotsCreating instant snapshotsSee the vxsnap(1M) manual page for more information about using the vxsnap print and vxsna

Seite 273 - # vxplex -g mydg dis vol01-02

345Administering volume snapshotsCreating instant snapshotsinstant snapshot” on page 338 and “Reattaching a linked break-off snapshot volume” on page

Seite 274

346 Administering volume snapshotsCreating instant snapshotsTuning the autogrow attributes of a cacheThe highwatermark, autogrowby and maxautogrow att

Seite 275

347Administering volume snapshotsCreating instant snapshotsCaution: Ensure that the cache is sufficiently large, and that the autogrow attributes are

Seite 276

348 Administering volume snapshotsCreating traditional third-mirror break-off snapshotsCreating traditional third-mirror break-off snapshotsVxVM provi

Seite 277 - Disabling and re-enabling DRL

349Administering volume snapshotsCreating traditional third-mirror break-off snapshotscreating the snapshot mirror is long in contrast to the brief am

Seite 278 - 279Administering volumes

350 Administering volume snapshotsCreating traditional third-mirror break-off snapshotsIt is also possible to make a snapshot plex from an existing pl

Seite 279

36 Understanding Veritas Volume ManagerVolume layouts in VxVMFigure 1-12 Example of concatenationYou can use concatenation with multiple subdisks when

Seite 280

351Administering volume snapshotsCreating traditional third-mirror break-off snapshotsNote: Dissociating or removing the snapshot volume loses the adv

Seite 281

352 Administering volume snapshotsCreating traditional third-mirror break-off snapshotsTo convert an existing plex into a snapshot plex in the SNAPDON

Seite 282 - Adding a RAID-5 log

353Administering volume snapshotsCreating traditional third-mirror break-off snapshotsplexes are snapped back. This task resynchronizes the data in th

Seite 283 - Resizing a volume

354 Administering volume snapshotsCreating traditional third-mirror break-off snapshots2 Use the vxassist mirror command to create mirrors of the exis

Seite 284

355Administering volume snapshotsCreating traditional third-mirror break-off snapshotsDisplaying snapshot informationThe vxassist snapprint command di

Seite 285 - Extending by a given length

356 Administering volume snapshotsAdding a version 0 DCO and DCO volumeAdding a version 0 DCO and DCO volumeNote: The procedure described in this sect

Seite 286 - Resizing volumes using vxvol

357Administering volume snapshotsAdding a version 0 DCO and DCO volume3 Use the following command to add a DCO and DCO volume to the existing volume:#

Seite 287 - Setting tags on volumes

358 Administering volume snapshotsAdding a version 0 DCO and DCO volumethe volume named vol1 (the TUTIL0 and PUTIL0 columns are omitted for clarity):T

Seite 288

359Administering volume snapshotsAdding a version 0 DCO and DCO volumeThis form of the command dissociates the DCO object from the volume but does not

Seite 289 - Moving volumes from a VM disk

360 Administering volume snapshotsAdding a version 0 DCO and DCO volume

Seite 290

37Understanding Veritas Volume ManagerVolume layouts in VxVMFigure 1-13 Example of spanningCaution: Spanning a plex across multiple disks increases th

Seite 291

Chapter10Creating and administering volume setsThis chapter describes how to use the vxvset command to create and administer volume sets in Veritas Vo

Seite 292 - Disabling FastResync

362 Creating and administering volume setsCreating a volume set Volume sets can be used in place of volumes with the following vxsnap operations on i

Seite 293 - Performing online relayout

363Creating and administering volume setsListing details of volume setsCaution: The -f (force) option must be specified if the volume being added, or

Seite 294

364 Creating and administering volume setsRemoving a volume from a volume set# vxvset -g mydg list set1VOLUME INDEX LENGTH KSTATE

Seite 295

365Creating and administering volume setsRaw device node access to component volumesCaution: Writing directly to or reading from the raw device node o

Seite 296

366 Creating and administering volume setsRaw device node access to component volumesvalue of the makedev attribute is currently set to on. The access

Seite 297 - Tagging a relayout operation

367Creating and administering volume setsRaw device node access to component volumesThe syntax for setting the compvol_access attribute on a volume se

Seite 298

368 Creating and administering volume setsRaw device node access to component volumes

Seite 299

Chapter11Configuring off-host processingOff-host processing allows you to implement the following activities:Data backup As the requirement for 24 x 7

Seite 300 - 301Administering volumes

370 Configuring off-host processingImplementing off-host processing solutionsOff-host processing is made simpler by using linked break-off snapshots,

Seite 301 - 302 Administering volumes

38 Understanding Veritas Volume ManagerVolume layouts in VxVMStriping (RAID-0)Note: You need a full license to use this feature.Striping (RAID-0) is u

Seite 302 - Administering volume

371Configuring off-host processingImplementing off-host processing solutions Implementing decision supportThese applications use the Persistent FastR

Seite 303

372 Configuring off-host processingImplementing off-host processing solutionsNote: If the volume was created under VxVM 4.0 or a later release, and it

Seite 304

373Configuring off-host processingImplementing off-host processing solutionsIf a database spans more than one volume, you can specify all the volumes

Seite 305

374 Configuring off-host processingImplementing off-host processing solutions# vxsnap -g snapvoldg reattach snapvol source=vol \sourcedg=volumedgFor e

Seite 306 - Full-sized instant snapshots

375Configuring off-host processingImplementing off-host processing solutionsThis command returns on if FastResync is enabled; otherwise, it returns of

Seite 307

376 Configuring off-host processingImplementing off-host processing solutions8 On the primary host, if you temporarily suspended updates to a volume i

Seite 308

377Configuring off-host processingImplementing off-host processing solutionsFor example, to reattach the snapshot volumes svol1, svol2 and svol3:# vxs

Seite 309

378 Configuring off-host processingImplementing off-host processing solutions

Seite 310

Chapter12Administering hot-relocationIf a volume has a disk I/O failure (for example, the disk has an uncorrectable error), Veritas Volume Manager (Vx

Seite 311 - Cascaded snapshots

380 Administering hot-relocationHow hot-relocation worksHow hot-relocation worksHot-relocation allows a system to react automatically to I/O failures

Seite 312

39Understanding Veritas Volume ManagerVolume layouts in VxVMFigure 1-14 Striping across three columnsA stripe consists of the set of stripe units at t

Seite 313

381Administering hot-relocationHow hot-relocation worksspares (marked spare) in the disk group where the failure occurred. It then relocates the subdi

Seite 314

382 Administering hot-relocationHow hot-relocation worksFigure 12-1 Example of hot-relocation for a subdisk in a RAID-5 volumemydg01 mydg02 mydg03 myd

Seite 315

383Administering hot-relocationHow hot-relocation worksPartial disk failure mail messagesIf hot-relocation is enabled when a plex or disk is detached

Seite 316 - Creating multiple snapshots

384 Administering hot-relocationHow hot-relocation worksComplete disk failure mail messagesIf a disk fails completely and hot-relocation is enabled, t

Seite 317

385Administering hot-relocationConfiguring a system for hot-relocationdoes not take place. If relocation is not possible, the system administrator is

Seite 318 - Creating instant snapshots

386 Administering hot-relocationDisplaying spare disk informationAfter a successful relocation, remove and replace the failed disk as described in “Re

Seite 319

387Administering hot-relocationMarking a disk as a hot-relocation spareMarking a disk as a hot-relocation spareHot-relocation allows the system to rea

Seite 320

388 Administering hot-relocationRemoving a disk from use as a hot-relocation spareelectronic mail. After successful relocation, you may want to replac

Seite 321

389Administering hot-relocationMaking a disk available for hot-relocation useTo use vxdiskadm to exclude a disk from hot-relocation use1 Select menu i

Seite 322

390 Administering hot-relocationConfiguring hot-relocation to use only spare disksEnter disk name [<disk>,list,q,?] mydg01The following confirma

Seite 323

40 Understanding Veritas Volume ManagerVolume layouts in VxVMFigure 1-15 shows a striped plex with three equal sized, single-subdisk columns. There is

Seite 324

391Administering hot-relocationMoving and unrelocating subdisksVolume home Subdisk mydg02-03 relocated to mydg05-01,but not yet recovered.Before you m

Seite 325

392 Administering hot-relocationMoving and unrelocating subdiskssubdisks using vxassist” on page 392 and “Moving and unrelocating subdisks using vxunr

Seite 326

393Administering hot-relocationMoving and unrelocating subdiskswithout using the original offsets. Refer to the vxunreloc(1M) manual page for more inf

Seite 327

394 Administering hot-relocationMoving and unrelocating subdisksExamining which subdisks were hot-relocated from a diskIf a subdisk was hot relocated

Seite 328

395Administering hot-relocationModifying the behavior of hot-relocationIf the system goes down after the new subdisks are created on the destination d

Seite 329

396 Administering hot-relocationModifying the behavior of hot-relocationAlternatively, you can use the following command:# nohup /etc/vx/bin/vxrelocd

Seite 330

Chapter13Administering cluster functionalityA cluster consists of a number of hosts or nodes that share a set of disks. The main benefits of cluster c

Seite 331

398 Administering cluster functionalityOverview of cluster volume managementenabled, all the nodes in the cluster can share VxVM objects such as share

Seite 332

399Administering cluster functionalityOverview of cluster volume managementmembership. Each node starts up independently and has its own cluster monit

Seite 333

400 Administering cluster functionalityOverview of cluster volume managementFigure 13-1 Example of a 4-node cluster To the cluster monitor, all nodes

Seite 334

ContentsChapter 1 Understanding Veritas Volume ManagerVxVM and the operating system ...

Seite 335 - Removing a snapshot mirror

41Understanding Veritas Volume ManagerVolume layouts in VxVMFigure 1-16 Example of a striped plex with concatenated subdisks per columnSee “Creating a

Seite 336

401Administering cluster functionalityOverview of cluster volume managementPrivate and shared disk groupsTwo types of disk groups are defined:In a clu

Seite 337

402 Administering cluster functionalityOverview of cluster volume managementcluster-shareable disk group is available as long as at least one node is

Seite 338

403Administering cluster functionalityOverview of cluster volume managementThe following table summarizes the allowed and conflicting activation modes

Seite 339

404 Administering cluster functionalityOverview of cluster volume managementNote: The activation mode of a disk group controls volume I/O from differe

Seite 340 - Removing an instant snapshot

405Administering cluster functionalityOverview of cluster volume managementpolicy. However, in some cases, it is not desirable to have all nodes react

Seite 341

406 Administering cluster functionalityOverview of cluster volume managementLocal detach policyCaution: Do not use the local detach policy if you use

Seite 342

407Administering cluster functionalityOverview of cluster volume managementDisk group failure policyThe local detach policy by itself is insufficient

Seite 343

408 Administering cluster functionalityOverview of cluster volume managementGuidelines for choosing detach and failure policiesIn most cases it is rec

Seite 344

409Administering cluster functionalityOverview of cluster volume managementThe default settings for the detach and failure policies are global and dgd

Seite 345

410 Administering cluster functionalityCluster initialization and configurationCluster initialization and configurationBefore any nodes can join a new

Seite 346 - Removing a cache

42 Understanding Veritas Volume ManagerVolume layouts in VxVMMirroring (RAID-1)Note: You need a full license to use this feature with disks other than

Seite 347

411Administering cluster functionalityCluster initialization and configurationDuring cluster reconfiguration, VxVM suspends I/O to shared disks. I/O r

Seite 348

412 Administering cluster functionalityCluster initialization and configurationTable 13-5 Node abort messagesReason Descriptioncannot find disk on sla

Seite 349

413Administering cluster functionalityCluster initialization and configurationSee the vxclustadm(1M) manual page for more information about vxclustadm

Seite 350

414 Administering cluster functionalityCluster initialization and configurationWhen an error occurs, such as when a check on a slave fails or a node l

Seite 351 - Reattaching a snapshot volume

415Administering cluster functionalityCluster initialization and configurationstopped, volume reconfiguration cannot take place. Other nodes can join

Seite 352

416 Administering cluster functionalityCluster initialization and configurationNote: The -r reset option to vxconfigd restarts the vxconfigd daemon an

Seite 353

417Administering cluster functionalityMultiple host failover configurationsNote: Once shutdown succeeds, the node has left the cluster. It is not poss

Seite 354

418 Administering cluster functionalityMultiple host failover configurationscorrupted. Similar corruption can also occur if a file system or database

Seite 355

419Administering cluster functionalityMultiple host failover configurationsFor details on how to clear locks and force an import, see “Moving disk gro

Seite 356

420 Administering cluster functionalityAdministering VxVM in cluster environmentsAdministering VxVM in cluster environmentsThe following sections desc

Seite 357

43Understanding Veritas Volume ManagerVolume layouts in VxVMFigure 1-17 Mirrored-stripe volume laid out on six disksSee “Creating a mirrored-stripe vo

Seite 358

421Administering cluster functionalityAdministering VxVM in cluster environmentsDetermining if a disk is shareableThe vxdisk utility manages VxVM disk

Seite 359

422 Administering cluster functionalityAdministering VxVM in cluster environmentsThe following is example output for the command vxdg list group1 on t

Seite 360

423Administering cluster functionalityAdministering VxVM in cluster environmentsCaution: The operating system cannot tell if a disk is shared. To prot

Seite 361 - Creating a volume set

424 Administering cluster functionalityAdministering VxVM in cluster environments Some of the nodes to which disks in the disk group are attached are

Seite 362

425Administering cluster functionalityAdministering VxVM in cluster environmentscan join two private disk groups on any cluster node where those disk

Seite 363

426 Administering cluster functionalityAdministering VxVM in cluster environmentsSetting the disk group failure policy on a shared disk groupNote: The

Seite 364

427Administering cluster functionalityAdministering VxVM in cluster environmentsMultiple opens by the same node are also supported. Any attempts by ot

Seite 365

428 Administering cluster functionalityAdministering VxVM in cluster environmentsUpgrading the cluster protocol versionNote: The cluster protocol vers

Seite 366

429Administering cluster functionalityAdministering VxVM in cluster environmentsThis command produces output similar to the following: OPERATIONS BLOC

Seite 367

430 Administering cluster functionalityAdministering VxVM in cluster environments

Seite 368 - Configuring off-host

44 Understanding Veritas Volume ManagerVolume layouts in VxVMFigure 1-18 Striped-mirror volume laid out on six disksSee “Creating a striped-mirror vol

Seite 369

Chapter14Administeringsites and remote mirrorsIn a Remote Mirror configuration (also known as a campus cluster or stretch cluster) the hosts and stora

Seite 370

432 Administering sites and remote mirrorsIf a disk group is configured across the storage at the sites, and inter-site communication is disrupted, th

Seite 371

433Administering sites and remote mirrorsTo enhance read performance, VxVM will service reads from the plexes at the local site where an application i

Seite 372 - on the volume. The

434 Administering sites and remote mirrorsConfiguring sites for hosts and disksConfiguring sites for hosts and disksNote: The Remote Mirror feature re

Seite 373 - Implementing decision support

435Administering sites and remote mirrorsConfiguring site consistency on a disk groupThe -f option allows the requirement to be removed if the site is

Seite 374

436 Administering sites and remote mirrorsSetting the siteread policy on a volumeTo turn on the site consistency requirement for an existing volume, u

Seite 375

437Administering sites and remote mirrorsSite-based allocation of storage to volumesNote: If the Site Awareness license is installed on all the hosts

Seite 376

438 Administering sites and remote mirrorsSite-based allocation of storage to volumesExamples of storage allocation using sitesThe examples in the fol

Seite 377

439Administering sites and remote mirrorsMaking an existing disk group site consistentMaking an existing disk group site consistentTo make an existing

Seite 378 - Administering

440 Administering sites and remote mirrorsFire drill — testing the configurationFire drill — testing the configurationCaution: To avoid potential loss

Seite 379 - How hot-relocation works

45Understanding Veritas Volume ManagerVolume layouts in VxVMFigure 1-19 How the failure of a single disk affects mirrored-stripe and striped-mirror vo

Seite 380

441Administering sites and remote mirrorsFailure scenarios and recovery proceduressite state to ACTIVE, and initiates recovery of the plexes. When all

Seite 381 - Spare Disk

442 Administering sites and remote mirrorsFailure scenarios and recovery proceduresRecovery from a loss of site connectivityIf the network links betwe

Seite 382

443Administering sites and remote mirrorsFailure scenarios and recovery proceduresat the other sites. When the storage comes back online, you can use

Seite 383

444 Administering sites and remote mirrorsFailure scenarios and recovery procedures

Seite 384

Chapter15Using Storage ExpertAbout Storage ExpertSystem administrators often find that gathering and interpreting data about large and complex configu

Seite 385 - # vxdg [-g diskgroup] spare

446 Using Storage ExpertHow Storage Expert worksHow Storage Expert worksStorage Expert components include a set of rule scripts and a rules engine. Th

Seite 386

447Using Storage ExpertRunning Storage ExpertSee “Rule definitions and attributes” on page 456.Discovering what a rule doesTo obtain details about wha

Seite 387

448 Using Storage ExpertRunning Storage Expert# vxse_dg1 -g mydg run VxVM vxse:vxse_dg1 INFO V-5-1-5511 vxse_vxdg1 - RESULTS -------------------------

Seite 388 - Make a disk available for

449Using Storage ExpertIdentifying configuration problems using Storage Expert A value specified on the command line. A value specified in a user-d

Seite 389

450 Using Storage ExpertIdentifying configuration problems using Storage ExpertChecking for large mirror volumes without a dirty region log (vxse_drl1

Seite 390 - you can choose to

46 Understanding Veritas Volume ManagerVolume layouts in VxVMAlthough both mirroring (RAID-1) and RAID-5 provide redundancy of data, they use differen

Seite 391

451Using Storage ExpertIdentifying configuration problems using Storage ExpertA mirror of the RAID-5 log protects against loss of data due to the fail

Seite 392

452 Using Storage ExpertIdentifying configuration problems using Storage ExpertChecking the number of configuration copies in a disk group (vxse_dg5)T

Seite 393

453Using Storage ExpertIdentifying configuration problems using Storage Expert volumes needing recoverySee “Reattaching plexes” on page 231.See “Star

Seite 394

454 Using Storage ExpertIdentifying configuration problems using Storage ExpertChecking the number of columns in striped volumes (vxse_stripes2)The de

Seite 395

455Using Storage ExpertIdentifying configuration problems using Storage ExpertChecking the system name (vxse_host)Rule vxse_host can be used to confir

Seite 396

456 Using Storage ExpertRule definitions and attributesRule definitions and attributesYou can use the info keyword to show a description of a rule.See

Seite 397

457Using Storage ExpertRule definitions and attributesYou can use the list and check keywords to show what attributes are available for a rule and to

Seite 398

458 Using Storage ExpertRule definitions and attributesTable 15-2 Rule attributes and default attribute valuesRule Attribute Default valueDescriptionv

Seite 399

459Using Storage ExpertRule definitions and attributesvxse_mirstripe large_mirror_sizensd_threshold1g (1GB)8Large mirror-stripe threshold size.Warn if

Seite 400

460 Using Storage ExpertRule definitions and attributesvxse_redundancy volume_redundancy 0Volume redundancy check. The value of 2 performs a mirror re

Seite 401

47Understanding Veritas Volume ManagerVolume layouts in VxVMparity stripe. Figure 1-21 shows the row and column arrangement of a traditional RAID-5 ar

Seite 402

461Using Storage ExpertRule definitions and attributesvxse_volplex - - No user-configurable variables.Table 15-2 Rule attributes and default attribute

Seite 403

462 Using Storage ExpertRule definitions and attributes

Seite 404 - Global detach policy

Chapter16Performance monitoring and tuningVeritas Volume Manager (VxVM) can improve overall system performance by optimizing the layout of data storag

Seite 405 - Local detach policy

464 Performance monitoring and tuningPerformance guidelinesStripingStriping improves access performance by cutting data into slices and storing it on

Seite 406 - Disk group failure policy

465Performance monitoring and tuningPerformance guidelinesCombining mirroring and stripingNote: You need a full license to use this feature.Mirroring

Seite 407

466 Performance monitoring and tuningPerformance guidelinesVolume read policiesTo help optimize performance for different types of volumes, VxVM suppo

Seite 408

467Performance monitoring and tuningPerformance monitoringNote: To improve performance for read-intensive workloads, you can attach up to 32 data plex

Seite 409 - Cluster reconfiguration

468 Performance monitoring and tuningPerformance monitoringTracing volume operationsUse the vxtrace command to trace operations on specified volumes,

Seite 410

469Performance monitoring and tuningPerformance monitoringan operation makes it possible to measure the impact of that particular operation. The follo

Seite 411 - Reason Description

470 Performance monitoring and tuningPerformance monitoringSuch output helps to identify volumes with an unusually large number of operations or exces

Seite 412 - Volume reconfiguration

48 Understanding Veritas Volume ManagerVolume layouts in VxVMFigure 1-22 Veritas Volume Manager RAID-5 arrayNote: Mirroring of RAID-5 volumes is not s

Seite 413 - ■ role of the node

471Performance monitoring and tuningPerformance monitoringIf two volumes (other than the root volume) on the same disk are busy, move them so that eac

Seite 414

472 Performance monitoring and tuningTuning VxVMwrites where mirroring can improve performance depends greatly on the disks, the disk controller, whet

Seite 415 - Node shutdown

473Performance monitoring and tuningTuning VxVMTuning guidelines for large systemsOn smaller systems (with fewer than a hundred disk drives), tuning i

Seite 416 - Cluster shutdown

474 Performance monitoring and tuningTuning VxVMTo set the number of configuration copies for a new disk group, use the nconfig operand with the vxdg

Seite 417 - Failover

475Performance monitoring and tuningTuning VxVMTunable parametersThe following sections describe specific tunable parameters.dmp_cache_openIf set to o

Seite 418

476 Performance monitoring and tuningTuning VxVMThe value of this tunable is changed by using the vxdmpadm settune command.dmp_health_timeDMP detects

Seite 419

477Performance monitoring and tuningTuning VxVMincreasing the value of this tunable. For example, for the HDS 9960 A/A array, the optimal value is bet

Seite 420 - Listing shared disk groups

478 Performance monitoring and tuningTuning VxVMdmp_restore_policyThe DMP restore policy, which can be set to 0 (CHECK_ALL), 1 (CHECK_DISABLED), 2 (CH

Seite 421 - Creating a shared disk group

479Performance monitoring and tuningTuning VxVMdmp_stat_intervalThe time interval between gathering DMP statistics. The default and minimum value is 1

Seite 422

480 Performance monitoring and tuningTuning VxVMSince the region size must be the same on all nodes in a cluster for a shared volume, the value of the

Seite 423

49Understanding Veritas Volume ManagerVolume layouts in VxVMFigure 1-23 Left-symmetric layoutFor each stripe, data is organized starting to the right

Seite 424

481Performance monitoring and tuningTuning VxVMperforming operations of a certain size and can fail unexpectedly if they issue oversized ioctl request

Seite 425

482 Performance monitoring and tuningTuning VxVMvolcvm_smartsyncIf set to 0, volcvm_smartsync disables SmartSync on shared disk groups. If set to 1, t

Seite 426

483Performance monitoring and tuningTuning VxVMvoliomem_maxpool_szThe maximum memory requested from the system by VxVM for internal purposes. This tun

Seite 427

484 Performance monitoring and tuningTuning VxVMtracing event records. As trace buffers are requested to be stored in the kernel, the memory for them

Seite 428

485Performance monitoring and tuningTuning VxVMNote: The memory allocated for this cache is exclusively dedicated to it. It is not available for other

Seite 429

486 Performance monitoring and tuningTuning VxVM

Seite 430

AppendixACommands summaryThis appendix summarizes the usage and purpose of important commonly-used commands in Veritas Volume Manager (VxVM). Referenc

Seite 431 - Volume V

488 Commands summaryother commands and scripts, and which are not intended for general use, are not located in /opt/VRTS/bin and do not have manual pa

Seite 432

489Commands summaryvxinfo [-g diskgroup] [volume ...] Displays information about the accessibility and usability of volumes. See “Listing Unstartable

Seite 433

490 Commands summaryvxdiskadd [devicename ...] Adds a disk specified by device name. See “Using vxdiskadd to place a disk under control of VxVM” on pa

Seite 434

50 Understanding Veritas Volume ManagerVolume layouts in VxVMNote: Failure of more than one column in a RAID-5 plex detaches the volume. The volume is

Seite 435

491Commands summaryvxedit [-g diskgroup] set \ spare=on|off disknameAdds/removes a disk from the pool of hot-relocation spares.See “Marking a disk as

Seite 436

492 Commands summaryTable A-3 Creating and administering disk groupsCommand Descriptionvxdg [-s] init diskgroup \ [diskname=]devicenameCreates a disk

Seite 437 - Command Description

493Commands summaryvxdg [-o expand] listmove sourcedg \ targetdg object ...Lists the objects potentially affected by moving a disk group.See “Listing

Seite 438

494 Commands summaryvxrecover -g diskgroup -sb Starts all volumes in an imported disk group.See “Moving disk groups between systems” on page 185.Examp

Seite 439 - Automatic site reattachment

495Commands summaryvxsd [-g diskgroup] assoc plex \ subdisk1:0 ... subdiskM:N-1Adds subdisks to the ends of the columns in a striped or RAID-5 volume.

Seite 440

496 Commands summaryvxunreloc [-g diskgroup] original_disk Relocates subdisks to their original disks.See “Moving and unrelocating subdisks using vxun

Seite 441 - Recovery from storage failure

497Commands summaryvxmake [-g diskgroup] plex plex \ layout=stripe|raid5 stwidth=W \ ncolumn=N sd=subdisk1[,subdisk2,...]Creates a striped or RAID-5 p

Seite 442 - Recovery from site failure

498 Commands summaryvxplex [-g diskgroup] cp volume newplex Copies a volume onto a plex.See “Copying volumes to plexes” on page 233.Example:# vxplex -

Seite 443

499Commands summaryvxassist -b [-g diskgroup] make \ volume length [layout=layout ] [attributes]Creates a volume.See “Creating a volume on any disk” o

Seite 444 - Using Storage Expert

500 Commands summaryvxassist -b [-g diskgroup] make \ volume length layout=mirror \ mirror=ctlr [attributes]Creates a volume with mirrored data plexes

Seite 445 - Running Storage Expert

6 ContentsDCO volume versioning ... 68FastResync limitations ...

Seite 446 - Running a rule

51Understanding Veritas Volume ManagerVolume layouts in VxVMLogs are associated with a RAID-5 volume by being attached as log plexes. More than one lo

Seite 447 - Setting rule attributes

501Commands summaryTable A-7 Administering volumesCommand Descriptionvxassist [-g diskgroup] mirror volume \ [attributes]Adds a mirror to a volume.See

Seite 448 - Recovery time

502 Commands summaryvxsnap [-g diskgroup] prepare volume \[drl=on|sequential|off]Prepares a volume for instant snapshots and for DRL logging. See “Pre

Seite 449

503Commands summaryvxmake [-g diskgroup] cache \cache_object cachevolname=volume \[regionsize=size]Creates a cache object for use by space-optimized i

Seite 450

504 Commands summaryvxsnap [-g diskgroup] unprepare volume Removes support for instant snapshots and DRL logging from a volume.See “Removing support f

Seite 451

505Commands summaryvxassist [-g diskgroup] convert \volume [layout=layout] [convert_options]Converts between a layered volume and a non-layered volume

Seite 452 - Disk striping

506 Commands summaryvxtask pause task Suspends operation of a task.See “Using the vxtask command” on page 269.Example:# vxtask pause mytaskvxtask -p [

Seite 453 - System name

507Commands summaryOnline manual pagesOnline manual pagesManual pages are organized into three sections: Section 1M — administrative commands Sectio

Seite 454 - 455Using Storage Expert

508 Commands summaryOnline manual pagesvxconfigd Veritas Volume Manager configuration daemonvxconfigrestore Restore disk group configuration.vxcp_lvmr

Seite 455

509Commands summaryOnline manual pagesvxmend Mend simple problems in configuration records.vxmirror Mirror volumes on a disk or control default mirror

Seite 456

510 Commands summaryOnline manual pagesSection 4 — file formatsManual pages in section 4 describe the format of files that are used by Veritas Volume

Seite 457 - Description

52 Understanding Veritas Volume ManagerVolume layouts in VxVMFigure 1-25 Example of a striped-mirror layered volumeFigure 1-25 illustrates the structu

Seite 458

AppendixBConfiguring Veritas Volume ManagerThis appendix provides guidelines for setting up efficient storage management after installing the Veritas

Seite 459

512 Configuring Veritas Volume ManagerAdding unsupported disk arrays as JBODsOptional Setup Tasks Place the root disk under VxVM control and mirror i

Seite 460

513Configuring Veritas Volume ManagerGuidelines for configuring storagegroups. Storage pools are only required if you intend using the ISP feature of

Seite 461 - 462 Using Storage Expert

514 Configuring Veritas Volume ManagerGuidelines for configuring storage Leave the Veritas Volume Manager hot-relocation feature enabled. See “Hot-re

Seite 462 - Performance monitoring

515Configuring Veritas Volume ManagerGuidelines for configuring storageDirty region logging guidelinesDirty region logging (DRL) can speed up recovery

Seite 463 - Mirroring

516 Configuring Veritas Volume ManagerGuidelines for configuring storage If more than one plex of a mirrored volume is striped, configure the same st

Seite 464 - Performance guidelines

517Configuring Veritas Volume ManagerGuidelines for configuring storageThe hot-relocation feature is enabled by default. The associated daemon, vxrelo

Seite 465 - Volume read policies

518 Configuring Veritas Volume ManagerControlling VxVM’s view of multipathed devicessubdisks to determine whether they should be relocated to more sui

Seite 466

519Configuring Veritas Volume ManagerConfiguring cluster supportConfiguring shared disk groupsThis section describes how to configure shared disks in

Seite 467 - Printing volume statistics

520 Configuring Veritas Volume ManagerReconfiguration tasksIf dirty region logs exist, ensure they are active. If not, replace them with larger ones.T

Seite 468 - Using performance data

53Understanding Veritas Volume ManagerVolume layouts in VxVMplex (for example, resizing the volume, changing the column width, or adding a column). Sy

Seite 469

GlossaryActive/Active disk arraysThis type of multipathed disk array allows you to access a disk in the disk array through all the paths to the disk s

Seite 470

522 GlossaryclusterA set of hosts (each termed a node) that share a set of disks.cluster managerAn externally-provided daemon that runs on each node i

Seite 471 - Tuning VxVM

523Glossarymaintained in the DCO volume. Otherwise, the DRL is allocated to an associated subdisk called a log subdisk.disabled pathA path to a disk t

Seite 472

524 GlossaryAn alternative term for a disk name.disk media record A configuration record that identifies a particular disk, by disk ID, and gives that

Seite 473

525GlossaryAn area of a disk under VxVM control that is not allocated to any subdisk or reserved for use by any other VxVM object.free subdiskA subdis

Seite 474 - Tunable parameters

526 GlossaryWhere there are multiple physical access paths to a disk connected to a system, the disk is called multipathed. Any software residing on t

Seite 475

527GlossaryA form of FastResync that can preserve its maps across reboots of the system by storing its change map in a DCO volume on disk. Also see da

Seite 476

528 GlossaryThe disk containing the root file system. This disk may be under VxVM control.root file system The initial file system mounted as part of

Seite 477

529GlossaryA plex that is not as long as the volume or that has holes (regions of the plex that do not have a backing subdisk).Storage Area Network (S

Seite 478

530 GlossaryA virtual disk, representing an addressable range of disk blocks used by applications such as file systems or databases. A volume is a col

Seite 479

54 Understanding Veritas Volume ManagerOnline relayoutOnline relayoutNote: You need a full license to use this feature.Online relayout allows you to c

Seite 480

IndexSymbols/dev/vx/dmp directory 126/dev/vx/rdmp directory 126/etc/default/vxassist file 241, 390/etc/default/vxdg defaults file 403/etc/default/vxdg

Seite 481

532 Indexndcomirror 251, 252, 357ndcomirs 275, 321newvol 330nmirror 330nomanual 146nopreferred 146plex 234preferred priority 146primary 147putil 222,

Seite 482

533Indexclustersactivating disk groups 403activating shared disk groups 425activation modes for shared disk groups 402benefits 397checking cluster pro

Seite 483

534 Indexcrash dumpsusing VxVM volumes for 107Cross-platform Data Sharing (CDS)alignment constraints 242disk format 81CVMcluster functionality of VxVM

Seite 484

535IndexA/P-C 126A/PF 126A/PF-C 126A/PG 126A/PG-C 126Active/Active 126Active/Passive 125adding disks to DISKS category 87adding vendor-supplied suppor

Seite 485

536 Indexserial split brain condition 190setting connectivity policies in clusters 425setting default disk group 168setting failure policies in cluste

Seite 486 - Commands summary

537Indexspares 388removing from VxVM control 112, 172removing tags from 178removing with subdisks 111, 112renaming 119replacing 112replacing removed 1

Seite 487

538 Indexdmp_scsi_timeout tunable 478dmp_stat_interval tunable 479DRLadding log subdisks 220adding logs to mirrored volumes 281checking existence of 4

Seite 488 - Table A-2 Administering disks

539Indexuse with snapshots 66fastresync attribute 251, 252, 293file systemsgrowing using vxresize 285shrinking using vxresize 285unmounting 290fire dr

Seite 489

540 Indexinitialization of disks 90instant snapshotsbacking up multiple volumes 333cascaded 312creating backups 319creating for volume sets 334creatin

Seite 490

55Understanding Veritas Volume ManagerOnline relayoutamount of temporary space that is required is usually 10% of the size of the volume, from a minim

Seite 491

541IndexLUN group failover 126LUN groupsdisplaying details of 140LUNsidle 477Mmapsadding to volumes 274usage with volumes 237master nodedefined 400dis

Seite 492

542 Indexplex attribute 234renaming disks 119subdisk 29subdisk attribute 221VM disk 29volume 31naming schemechanging for disks 91changing for TPD encl

Seite 493

543Indexhot spots identified by I/O traces 472impact of number of disk group configuration copies 473improving for instant snapshot synchronization 34

Seite 494

544 Indexcondition flags 228converting to snapshot 351copying 233creating 223creating striped 224defined 30detaching from volumes temporarily 231disco

Seite 495

545Indexperformance of 466prefer 289round 289select 289siteread 289, 433, 434, 436split 289read-only mode 402readonly mode 402RECOVER plex condition 2

Seite 496

546 Indexread policy 289rulesattributes 458checking attribute values 447checking disk group configuration copies 451checking disk group version number

Seite 497 - Table A-6 Creating volumes

547Indexsiteconsistent attribute 435siteread read policy 289, 433, 434, 436sitesreattaching 440size units 216slave nodesdefined 400SmartSync 62disabli

Seite 498

548 Indexstandby path attribute 147statesfor plexes 224of link objects 311volume 265statistics gathering 128storageordered allocation of 245, 251, 257

Seite 499

549Indexphysical disk placement 513putil attribute 222RAID-5 failure of 380RAID-5 plex, configuring 516removing from VxVM 221restrictions on moving 21

Seite 500

550 Indexvol_default_iodelay 479vol_fmr_logsz 68, 479vol_max_vol 480vol_maxio 480vol_maxioctl 480vol_maxparallelio 481vol_maxspecialio 481vol_subdisk_

Seite 501

56 Understanding Veritas Volume ManagerOnline relayout(shown by the shaded area) decreases the overall storage space that the volume requires.Figure 1

Seite 502

551IndexDETACHED 267DISABLED 267ENABLED 267volume length, RAID-5 guidelines 516volume resynchronization 59volume setsadding volumes to 362administerin

Seite 503

552 Indexeffect of growing on FastResync maps 73enabling FastResync on 292enabling FastResync on new 251excluding storage from use by vxassist 244find

Seite 504

553Indexzeroing out contents of 261vxassistadding a log subdisk 220adding a RAID-5 log 283adding DCOs to volumes 357adding DRL logs 281adding mirrors

Seite 505

554 Indexreattaching version 0 DCOs to volumes 359removing version 0 DCOs from volumes 358vxdctlchecking cluster protocol version 427managing vxconfig

Seite 506 - Online manual pages

555Indexvxdisk scandisksrescanning devices 82scanning devices 82vxdiskaddadding disks to disk groups 171creating disk groups 171placing disks under Vx

Seite 507 - Name Description

556 Indexremoving instant snapshots 341removing plexes 234removing snapshots from a cache 347removing subdisks from VxVM 221removing volumes 290renami

Seite 508

557Indexvxse_dg2rule to check disk group configuration copies 451vxse_dg3rule to check on disk config size 451vxse_dg4rule to check disk group version

Seite 509 - Section 4 — file formats

558 Indexmoving subdisks after hot-relocation 392restarting after errors 394specifying different offsets for unrelocated subdisks 393unrelocating subd

Seite 510 - Configuring Veritas

57Understanding Veritas Volume ManagerOnline relayoutFigure 1-30 Example of increasing the stripe width for the columns in a volumeFor details of how

Seite 511 - Adding disks to disk groups

58 Understanding Veritas Volume ManagerOnline relayout The number of mirrors in a mirrored volume cannot be changed using relayout. Only one relayou

Seite 512

59Understanding Veritas Volume ManagerVolume resynchronizationVolume resynchronizationWhen storing data redundantly and using mirrored or RAID-5 volum

Seite 513 - Mirroring guidelines

60 Understanding Veritas Volume ManagerDirty region loggingResynchronization of data in the volume is done in the background. This allows the volume t

Seite 514 - Striping guidelines

7ContentsTaking a disk offline ...118Renaming a disk ...

Seite 515 - Hot-relocation guidelines

61Understanding Veritas Volume ManagerDirty region loggingbecomes the least recently accessed for writes. This allows writes to the same region to be

Seite 516

62 Understanding Veritas Volume ManagerDirty region loggingSmartSync recovery acceleratorThe SmartSync feature of Veritas Volume Manager increases the

Seite 517 - Configuring cluster support

63Understanding Veritas Volume ManagerVolume snapshotsRedo log volume configurationA redo log is a log of changes to the database data. Because the da

Seite 518

64 Understanding Veritas Volume ManagerVolume snapshotsFigure 1-31 Volume snapshot as a point-in-time image of a volumeThe traditional type of volume

Seite 519 - Reconfiguration tasks

65Understanding Veritas Volume ManagerVolume snapshotsmirror snapshots such as immediate availability and easier configuration and administration. You

Seite 520 - Glossary

66 Understanding Veritas Volume ManagerFastResyncFastResyncNote: You need a Veritas FlashSnap or FastResync license to use this feature.The FastResync

Seite 521

67Understanding Veritas Volume ManagerFastResyncsnapshot is taken, it can be accessed independently of the volume from which it was taken. In a cluste

Seite 522

68 Understanding Veritas Volume ManagerFastResyncAvailability (HA) environment requires the full resynchronization of a mirror when it is reattached t

Seite 523

69Understanding Veritas Volume ManagerFastResyncVersion 0 DCO volume layoutIn VxVM releases 3.2 and 3.5, the DCO object only managed information about

Seite 524

70 Understanding Veritas Volume ManagerFastResync(by default) are used either for tracking writes to snapshots, or as copymaps. The size of the DCO vo

Seite 525

8 ContentsDisplaying the status of the DMP path restoration thread ...161Displaying information about the DMP error-handling thread ...

Seite 526

71Understanding Veritas Volume ManagerFastResyncFigure 1-32 Mirrored volume with persistent FastResync enabledTo create a traditional third-mirror sna

Seite 527

72 Understanding Veritas Volume ManagerFastResyncNote: Space-optimized instant snapshots do not require additional full-sized plexes to be created. In

Seite 528

73Understanding Veritas Volume ManagerFastResyncNote: The vxsnap reattach, dis and split operations are not supported for instant space-optimized snap

Seite 529 - /dev/vx/dsk

74 Understanding Veritas Volume ManagerFastResyncdifferent effects on the map that FastResync uses to track changes to the original volume: For a ver

Seite 530

75Understanding Veritas Volume ManagerHot-relocationassociation. However, in such a case, you can use the vxplex snapback command with the -f (force)

Seite 531 - 532 Index

76 Understanding Veritas Volume ManagerVolume setsand availability characteristics of the underlying volumes. For example, file system metadata could

Seite 532 - 533Index

Chapter2Administering disksThis chapter describes the operations for managing disks used by the Veritas Volume Manager (VxVM). This includes placing d

Seite 533 - 534 Index

78 Administering disksDisk devicesand /dev/rdisk directories. To maintain backward compatibility, HP-UX also creates legacy devices in the /dev/dsk an

Seite 534 - 535Index

79Administering disksDisk devicesThe syntax of a legacy device name is c#t#d#, where c# represents a controller on a host bus adapter, t# is the targe

Seite 535 - 536 Index

80 Administering disksDisk devicesPrivate and public disk regionsMost VM disks have two regions:private region A small area where configuration inform

Seite 536 - 537Index

9ContentsCreating subdisks ...215Displaying subdisk inform

Seite 537 - 538 Index

81Administering disksDisk devicesauto When the vxconfigd daemon is started, VxVM obtains a list of known disk device addresses from the operating syst

Seite 538 - 539Index

82 Administering disksDiscovering and configuring newly added disk devicesDiscovering and configuring newly added disk devicesWhen you physically conn

Seite 539 - 540 Index

83Administering disksDiscovering and configuring newly added disk devicesAlternatively, you can specify a ! prefix character to indicate that you want

Seite 540 - 541Index

84 Administering disksDiscovering and configuring newly added disk devicesAdding support for a new disk arrayThe following example illustrates how to

Seite 541 - 542 Index

85Administering disksDiscovering and configuring newly added disk devicesSee “Changing device naming for TPD-controlled enclosures” on page 94 for inf

Seite 542 - 543Index

86 Administering disksDiscovering and configuring newly added disk devicesThis command displays the vendor ID (VID), product IDs (PIDs) for the arrays

Seite 543 - 544 Index

87Administering disksDiscovering and configuring newly added disk devicesListing supported disks in the DISKS categoryTo list disks that are supported

Seite 544 - 545Index

88 Administering disksDiscovering and configuring newly added disk devices[length=serialno_length] [policy=ap]where vendorid and productid are the VID

Seite 545 - 546 Index

89Administering disksDiscovering and configuring newly added disk devicesFor more information, enter the command vxddladm help addjbod, or see the vxd

Seite 546 - 547Index

90 Administering disksPlacing disks under VxVM control Enclosure information is not available to VxVM. This can reduce the availability of any disk g

Seite 547 - 548 Index

10 ContentsCreating a concatenated-mirror volume ...249Creating a volume with a version 0 DCO volume ...

Seite 548 - 549Index

91Administering disksChanging the disk-naming scheme If the disk was previously in use by the LVM subsystem, you can preserve existing data while sti

Seite 549 - 550 Index

92 Administering disksChanging the disk-naming schemeAlternatively, you can change the naming scheme from the command line. The following commands sel

Seite 550 - 551Index

93Administering disksChanging the disk-naming scheme# vxdmpadm getlungroup dmpnodename=disk25VxVM vxdmpadm ERROR V-5-1-10910 Invalid da-name# vxdmpad

Seite 551 - 552 Index

94 Administering disksChanging the disk-naming schemeChanging device naming for TPD-controlled enclosuresNote: This feature is available only if the d

Seite 552 - 553Index

95Administering disksChanging the disk-naming scheme Persistent simple or nopriv disks in the boot disk group Persistent simple or nopriv disks in n

Seite 553 - 554 Index

96 Administering disksInstalling and formatting disks3 If you want to use enclosure-based naming, use vxdiskadm to add a non-persistent simple disk to

Seite 554 - 555Index

97Administering disksDisplaying and changing default disk layout attributesDisplaying and changing default disk layout attributesTo display or change

Seite 555 - 556 Index

98 Administering disksAdding a disk to VxVMdisks available for use as replacement disks. More than one disk or pattern may be entered at the prompt.He

Seite 556 - 557Index

99Administering disksAdding a disk to VxVM3 To continue with the operation, enter y (or press Return) at the following prompt:Here are the disks selec

Seite 557 - 558 Index

100 Administering disksAdding a disk to VxVMA site tag is usually applied to disk arrays or enclosures, and is not required unless you want to use the

Kommentare zu diesen Handbüchern

Keine Kommentare