You are on page 1of 3

VOLUME LAYOUT

Default volme layout is Concatenated


-Concatenated: Create volume fron one or two disks
No disk space restriccion
No redundancy
vxassist -g diskgroup make volume_name length [layout=concat] [dm_names..]
vxassist -g appdg make appvol 10g

-Striped: Spread the data across multiple disks


Data es en colums and stripes og 64k
Load balancing
Improved performance
No redundancy
Disk space restrictions
vxassist -g diskgroup make volume_name lenght layout=stripe [ncol=n] [stripeunit
=size] [dm_names]
vxassist -g appdg make appvol 2g layout=stripe ncol=4
vxassist -g appdg make appvol 8g layout=stripe ncol=4 stripeunit=256k appdg01 ap
pdg02 appdg03 appdg04
-Mirrored: Multiple plexes in separate disks
Redundant
Fast recovery through logging
Disk space requirements
Slower Write performance
vxassist -g diskgroup -b make volume_name lenght layout=mirror-concat|mirror-str
ipe [nmirror=n] [dm_names..]
Es mejor poner ncolums e indicar la cantidad de columnas
sino de manera automatica va a agarrar muchos discos para hacer el stripe
vxassits -g appdg make appvol 5g layout=mirror-concat nmirror=3
vxassist -g appdg make appvol 2g layout=mirror-stripe ncol=4
nmirror -> el numero de espejos por default es 2
[dm_names..]-> es mejor poner al final los discos que se van a usar para el volu
men
-RAID-5: Parity Disk
Redundadcy throgh parity
Less space than mirror
Fast recovery
Poor write performance
Poor performance after a disk failure
CREATE LAYERED VOLUMES
Support multiple failure disks
Constructed from subvolumes
Improved redundancy
Faster recovery times
More VxVM objects
MIRRORED LAYOUTS
-mirror-concat:
non-layered
raid n/a
Contain more than one plex(mirror)

Plexes are concatenated


-mirror-stripe:
non-layered
raid 0+1
Contain more than one plex(mirror)
Plexes are stripe
-contact-mirror:
layered
raid n/a
Is concatenated plex
Subvolumes are mirrored
-stripe-mirror:
layered
raid 1+0
Is striped plex
Subvolumes are mirrored
CREATING LAYERED VOLUMES
Layered:
vxassit -g appdg make appvol 10g layout=stripe-mirror ncol=4
vxassit -g appdg make appvol 10g layout=concat-mirror
Nonlayered:
vxassit -g appdg make appvol 10g layout=mirror-stripe ncol=4
vxassit -g appdg make appvol 10g layout=mirror-concat
vxprint -hrt vol01
TO CONVERT FROM LAYERED TO NON LAYERED USE VXASSIST
SPECIFING STORAGE ATTRIBUTES
vxassist -g diskgroup make volume_name lenngth [layout=layout] \
[mirror=ctrl|enclr|target\ [!] [storage_attributes..]
storage_attributes = Define storage devies used by volume
Ej: appdg02, ctrl:c2, enclr:emc1, mediatype:ssd
mirror = mirror across device classes
Ej: mirror=ctlr, mirror=enclr
! = Used to exclude an attribute
Ej: !enclr:emc2
vxassist -g appdg make appvol 2g mediatype:ssd
vxassist -g appdg make appvol 10g layout=mirror-concat \
mirror=enclr enclr:emc1 enclr:emc2
vxassist -g appdg make appvol 5g !ctrl:c2
STORAGE PROVISSIONING ADD-ON IN VOM
Allow to create templates from volumes and
use storage template to create storage
-manage storage templates
-provision storage
-move volumes

-view volume migrationand storage provisioning status


CREATE A STORAGE TEMPLATE ( Solution > Storage template )
First create template then select the host , disk group and volume.
We can specify the number of plexes, mount point
PROVISIONING STORAGE USING STORAGE TEMPLATE
In provision storage fin the template and select the target and the disk group.
That's it.

You might also like