Quantcast
Channel: UnixRock
Viewing all articles
Browse latest Browse all 25

Beginner’s VxVM for Solaris – Part 1

$
0
0
VERITAS Volume Manager software is an advance system-level disk and storage array solution that alleviates downtime during system maintenance by enabling easy, online disk administration and configuration. By providing a logical volume management layer, VERITAS Volume Manager overcomes the physical restriction imposed by hardware disk devices. let we start with feature of VxVM
Features of VxVM
FeaturesDescriptions
Support LayoutsRAID0, RAID1, RAID0+1, RAID1+0, RAID5
Dynamic Multipathing (DMP)Load balancing and redundant I/O paths to disk arrays supporting multi-controller attachment
Online Relay outVERITAS allows you to change the layout of a VERITAS Volume while it is live and mounted. Change a RAID0 to a RAID5 without a second of downtime!
SnapshotTake a snapshot of your data, creating a "shadow" of it which you can use for online backups.
Hot RelocationDesignate "spares" which will take the place of failed disks on the-fly.
Dirty Region Logging (DRL)Volume transaction logs which provide fast recoveries after system crashes.
Before going for installation of VxVM we need to understand the VxVM objects and its components. Basically VxVM uses two types of objects which can handle storage management.
  • Physical Object
  • Virtual Object
Physical Object:
Physical Object is nothing but a physical disk which is basically a data storage device where ultimately the data gets stored. Data on the physical disk is being accessed by using a device name  as c#t#d#s#
  • c# - Represent as Controller
  • t# -  Represent asTarget ID
  • d# - Represent as Disk
  • s# - Represent as Slice or Partition.
Virtual Object
Volume Manager virtual objects are included:
  • Volume Manager disks (VM Disk)
  • Disk groups 
  • Subdisks
  • Plexes
  • Volumes
The connection between physical objects and VxVM objects is made when you place a physical disk under VxVM control. Let we see brief about the Virtual Object one by one.

Volume Manager Disks (VM Disk)

  • Each VM disk corresponds to at least one physical disk or disk partition.
  • A VM disk typically includes public region (allocated storage) and private region where VxVM internal configuration information is stored.
  • Each VxVM Disk has a unique virtual disk name called a disk media name. The disk media name is a logically used by Volume Manager for administrative purposes. 
  • A VxVM disk is given a disk media name when it is added to a disk group.
  • You can apply the disk media name or allow Volume Manager to assign a default name.
  • Once a VxVM disk is assigned a disk media name, the disk is no longer referred to by its physical address of c#t#d#.
  Disk Groups 
3 disks brought into Volume Manager Control and assigned the Disk Media Name (VM Disk) and grouped into disk group by name "unixrockdg"
  • A disk group is a collection of VM disks that will share a common configuration.
  • A disk group configuration is a set of records with detailed information about related VxVM Objects, Attributes, and Connections.
  • The default disk group is rootdg (or root disk group). 
  • A disk group name can be up to 31 characters long.
Subdisks

  • A subdisk is a set of contiguous disk blocks.
  • A VxVM disk can be divided into one or more subdisks. A subdisk is a set of contiguous disk blocks that represent a specific portion of a VxVM disk.
  • Any VM disk space that is not part of a subdisk is consider as  free space. We can use free space to create new subdisks.
Plexes
  • VxVM uses subdisks to build virtual objects called plexes. 
  • VxVM uses subdisks to create virtual objects called plexes.
  • The default naming convention for plexes in a volume is volumename-##. 
  • The default plex name consists of the volume name.
Volumes
  • A volume consists of one or more plexes, each holding a copy of the selected data in the volume. 
  • Due to its virtual nature, a volume is not restricted to a particular disk or a specific area of a disk.
  • The configuration of a volume can be changed by using VxVM user interfaces. 
  • Configuration changes can be accomplished without causing disruption to applications or file systems that are using the volume. For example, a volume can be mirrored on separate disks.
A volume may be created under the following constraints:
  • Its name can contain up to 31 characters.
  • It can consist of up to 32 plexes, each of which contains one or more subdisks.
  • It must have at least one associated plex that has a complete copy of the data in the volume with at least one associated subdisk.
  • All subdisks within a volume must belong to the same disk group.
Requesting you to keep reading the next post which will describe about the function of VxVM layouts and method of installations in detailed manner. Thank you for choosing UnixRock,

Viewing all articles
Browse latest Browse all 25

Trending Articles