HP 11i Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Oprogramowanie HP 11i. HP 11i User's Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 557
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 0
Veritas Volume Manager 5.0
Administrator’s Guide
HP-UX 11i v3
First Edition
Manufacturing Part Number: 5992-3942
May 2008
Przeglądanie stron 0
1 2 3 4 5 6 ... 556 557

Podsumowanie treści

Strona 1 - Administrator’s Guide

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

Strona 2 - Legal Notices

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

Strona 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

Strona 4 - Contents

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

Strona 5 - 6 Contents

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

Strona 6 - 7Contents

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

Strona 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

Strona 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

Strona 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

Strona 10 - 11Contents

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

Strona 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

Strona 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

Strona 13 - Chapter 14 Administering

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

Strona 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

Strona 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

Strona 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

Strona 17

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

Strona 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

Strona 19

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

Strona 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

Strona 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

Strona 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

Strona 23

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

Strona 24

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

Strona 25 - Virtual objects

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

Strona 26

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

Strona 27 - VM disks

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

Strona 28 - Subdisks

124 Administering disksControlling Powerfail Timeout

Strona 29

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 35

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

Strona 36

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

Strona 37 - Striping (RAID-0)

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

Strona 38

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

Strona 39

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

Strona 40

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

Strona 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

Strona 42

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

Strona 43

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

Strona 44 - RAID-5 (striping with parity)

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

Strona 45

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

Strona 46

15ContentsRunning a rule ...447Identifying configuration prob

Strona 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

Strona 48

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

Strona 49 - RAID-5 logging

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

Strona 50 - Layered volumes

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

Strona 51

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

Strona 52

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

Strona 53 - Online relayout

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

Strona 54

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

Strona 55

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

Strona 56

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

Strona 57

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

Strona 58 - Volume resynchronization

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 63

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

Strona 64

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

Strona 65 - FastResync

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

Strona 66 - Non-persistent FastResync

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

Strona 67 - DCO volume versioning

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

Strona 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

Strona 69

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

Strona 70

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

Strona 71

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

Strona 72

164 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadm

Strona 73 - FastResync limitations

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

Strona 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

Strona 75

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

Strona 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

Strona 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

Strona 78

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

Strona 79 - Disk devices

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 84

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

Strona 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

Strona 86

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

Strona 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

Strona 88

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

Strona 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

Strona 90

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

Strona 91

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

Strona 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

Strona 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

Strona 94

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

Strona 95

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

Strona 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

Strona 97

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

Strona 98

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

Strona 99

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

Strona 100 - Reinitializing a disk

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

Strona 101 - Rootability

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

Strona 102 - Root disk mirrors

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

Strona 103 - Booting root volumes

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

Strona 104

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

Strona 105

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

Strona 106

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

Strona 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

Strona 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

Strona 109 - Removing disks

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

Strona 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

Strona 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

Strona 112

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

Strona 113

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

Strona 114

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

Strona 115

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

Strona 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

Strona 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

Strona 118 - Reserving disks

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

Strona 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

Strona 120

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

Strona 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

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

Strona 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

Strona 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

Strona 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

Strona 126

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

Strona 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

Strona 128 - Load balancing

214 Creating and administering disk groupsUsing vxnotify to monitor configuration changes

Strona 129

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

Strona 130

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

Strona 131

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

Strona 132

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

Strona 133

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

Strona 134

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

Strona 135

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

Strona 136

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

Strona 137

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

Strona 138

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

Strona 139

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

Strona 140

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

Strona 141

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

Strona 142

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

Strona 143

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

Strona 144

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

Strona 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

Strona 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

Strona 147 - ■ adaptiveminq

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

Strona 148

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

Strona 149 - ■ singleactive

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

Strona 150

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

Strona 151

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

Strona 152

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

Strona 153

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

Strona 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

Strona 155

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

Strona 156

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

Strona 157

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

Strona 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

Strona 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

Strona 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

Strona 161

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

Strona 162

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

Strona 163

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

Strona 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

Strona 165

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

Strona 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

Strona 167

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

Strona 168

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

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

Strona 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

Strona 171

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 179

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

Strona 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

Strona 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

Strona 182 - Renaming a disk group

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

Strona 183 - 774226267.1025.tweety

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

Strona 184

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

Strona 185

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

Strona 186

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

Strona 187

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

Strona 188

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

Strona 189

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

Strona 190

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

Strona 191

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

Strona 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

Strona 193

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

Strona 194

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

Strona 195

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

Strona 196 - Source disk group

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

Strona 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

Strona 198

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

Strona 199

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

Strona 200

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

Strona 201

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

Strona 202

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

Strona 203

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 208

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

Strona 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

Strona 210

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

Strona 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

Strona 212

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

Strona 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

Strona 214

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

Strona 215

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

Strona 216 - Splitting subdisks

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

Strona 217 - Joining subdisks

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

Strona 218

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

Strona 219 - Associating log subdisks

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

Strona 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

Strona 221

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

Strona 222

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

Strona 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

Strona 225

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

Strona 226 - TEMPRM plex state

302 Administering volumesConverting between layered and non-layered volumes

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

Strona 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

Strona 229 - Taking plexes offline

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

Strona 230 - Reattaching plexes

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

Strona 231 - Moving plexes

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

Strona 232 - Copying volumes to plexes

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

Strona 233 - Changing plex attributes

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

Strona 234 - Creating volumes

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

Strona 235 - Types of volume layouts

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

Strona 236

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

Strona 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

Strona 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

Strona 239

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

Strona 240

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

Strona 241

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

Strona 242 - Creating a volume on any disk

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

Strona 243

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

Strona 244

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

Strona 245

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

Strona 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

Strona 247 - 248 Creating volumes

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

Strona 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

Strona 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

Strona 250

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

Strona 251

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

Strona 252 - Creating a striped volume

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

Strona 253

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

Strona 254

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

Strona 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

Strona 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

Strona 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

Strona 258

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

Strona 259

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

Strona 260

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

Strona 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

Strona 262 - Administering volumes

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

Strona 263

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

Strona 264 - Volume states

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

Strona 265 - /CLEAN flag). If the

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

Strona 266 - Specifying task tags

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

Strona 267 - Managing tasks with vxtask

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

Strona 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

Strona 269 - Stopping a volume

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 274

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

Strona 275

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

Strona 276

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

Strona 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

Strona 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

Strona 279

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

Strona 280

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

Strona 281

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

Strona 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

Strona 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

Strona 284

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

Strona 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

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

Strona 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

Strona 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

Strona 289 - Moving volumes from a VM disk

360 Administering volume snapshotsAdding a version 0 DCO and DCO volume

Strona 290

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

Strona 291

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

Strona 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

Strona 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

Strona 294

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

Strona 295

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

Strona 296

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

Strona 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

Strona 298

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

Strona 299

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

Strona 300 - 301Administering volumes

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

Strona 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

Strona 302 - Administering volume

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

Strona 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

Strona 304

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

Strona 305

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

Strona 306 - Full-sized instant snapshots

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

Strona 307

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

Strona 308

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

Strona 309

378 Configuring off-host processingImplementing off-host processing solutions

Strona 310

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

Strona 311 - Cascaded snapshots

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

Strona 312

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

Strona 313

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

Strona 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

Strona 315

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

Strona 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

Strona 317

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

Strona 318 - Creating instant snapshots

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

Strona 319

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

Strona 320

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

Strona 321

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

Strona 322

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

Strona 323

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

Strona 324

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

Strona 325

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

Strona 326

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

Strona 327

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

Strona 328

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

Strona 329

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

Strona 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

Strona 331

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

Strona 332

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

Strona 333

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

Strona 334

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

Strona 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

Strona 336

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

Strona 337

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

Strona 338

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

Strona 339

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

Strona 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

Strona 341

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

Strona 342

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

Strona 343

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

Strona 344

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

Strona 345

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

Strona 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

Strona 347

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

Strona 348

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

Strona 349

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

Strona 350

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

Strona 351 - Reattaching a snapshot volume

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

Strona 352

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

Strona 353

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

Strona 354

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

Strona 355

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

Strona 356

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

Strona 357

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

Strona 358

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

Strona 359

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

Strona 360

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

Strona 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

Strona 362

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

Strona 363

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

Strona 364

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

Strona 365

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

Strona 366

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

Strona 367

430 Administering cluster functionalityAdministering VxVM in cluster environments

Strona 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

Strona 369

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

Strona 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

Strona 371

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

Strona 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

Strona 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

Strona 374

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

Strona 375

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

Strona 376

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

Strona 377

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

Strona 378 - Administering

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

Strona 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

Strona 380

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

Strona 381 - Spare Disk

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

Strona 382

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

Strona 383

444 Administering sites and remote mirrorsFailure scenarios and recovery procedures

Strona 384

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

Strona 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

Strona 386

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

Strona 387

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

Strona 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

Strona 389

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

Strona 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

Strona 391

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

Strona 392

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

Strona 393

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

Strona 394

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

Strona 395

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

Strona 396

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

Strona 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

Strona 398

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

Strona 399

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

Strona 400

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

Strona 401

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

Strona 402

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

Strona 403

462 Using Storage ExpertRule definitions and attributes

Strona 404 - Global detach policy

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

Strona 405 - Local detach policy

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

Strona 406 - Disk group failure policy

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

Strona 407

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

Strona 408

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

Strona 409 - Cluster reconfiguration

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

Strona 410

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

Strona 411 - Reason Description

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

Strona 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

Strona 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

Strona 414

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

Strona 415 - Node shutdown

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

Strona 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

Strona 417 - Failover

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

Strona 418

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 423

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

Strona 424

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

Strona 425

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

Strona 426

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

Strona 427

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

Strona 428

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

Strona 429

486 Performance monitoring and tuningTuning VxVM

Strona 430

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

Strona 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

Strona 432

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

Strona 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

Strona 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

Strona 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

Strona 436

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

Strona 437 - Command Description

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

Strona 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

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

Strona 440

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

Strona 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

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

Strona 443

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

Strona 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

Strona 445 - Running Storage Expert

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

Strona 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

Strona 447 - Setting rule attributes

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

Strona 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

Strona 449

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

Strona 450

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

Strona 451

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

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

Strona 453 - System name

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

Strona 454 - 455Using Storage Expert

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

Strona 455

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

Strona 456

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

Strona 457 - Description

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

Strona 458

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

Strona 459

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

Strona 460

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

Strona 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

Strona 462 - Performance monitoring

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

Strona 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

Strona 464 - Performance guidelines

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

Strona 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

Strona 466

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 479

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

Strona 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

Strona 481

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

Strona 482

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

Strona 483

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

Strona 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

Strona 485

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

Strona 486 - Commands summary

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

Strona 487

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

Strona 488 - Table A-2 Administering disks

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

Strona 489

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

Strona 490

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

Strona 491

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

Strona 492

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

Strona 493

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

Strona 494

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

Strona 495

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

Strona 496

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

Strona 497 - Table A-6 Creating volumes

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

Strona 498

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

Strona 499

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

Strona 500

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

Strona 501

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

Strona 502

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

Strona 503

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

Strona 504

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

Strona 505

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

Strona 506 - Online manual pages

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

Strona 507 - Name Description

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

Strona 508

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

Strona 509 - Section 4 — file formats

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

Strona 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

Strona 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

Strona 512

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

Strona 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

Strona 514 - Striping guidelines

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

Strona 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

Strona 516

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

Strona 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

Strona 518

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

Strona 519 - Reconfiguration tasks

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

Strona 520 - Glossary

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

Strona 521

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

Strona 522

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

Strona 523

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

Strona 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

Strona 525

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

Strona 526

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

Strona 527

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

Strona 528

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

Strona 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

Strona 530

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

Strona 531 - 532 Index

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

Strona 532 - 533Index

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

Strona 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

Strona 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

Strona 535 - 536 Index

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

Strona 536 - 537Index

9ContentsCreating subdisks ...215Displaying subdisk inform

Strona 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

Strona 538 - 539Index

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

Strona 539 - 540 Index

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

Strona 540 - 541Index

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

Strona 541 - 542 Index

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

Strona 542 - 543Index

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

Strona 543 - 544 Index

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

Strona 544 - 545Index

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

Strona 545 - 546 Index

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

Strona 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

Strona 547 - 548 Index

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

Strona 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

Strona 549 - 550 Index

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

Strona 550 - 551Index

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

Strona 551 - 552 Index

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

Strona 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

Strona 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

Strona 554 - 555Index

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

Strona 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

Strona 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

Strona 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

Komentarze do niniejszej Instrukcji

Brak uwag