Beruflich Dokumente
Kultur Dokumente
Volume Manager
Basic Administration and Trouble shooting
Storage Management Issues
1. Storage H/W from multiple vendors.
2. Data Growth.
3. Management Pressure to increase
efficiency.
4. Dissimilar Apps with diff storage
resource needs.
5. Budget and cost control.
Storage Virtualization
Storage Virtulation is the process of
taking multiple physical storage devices
and combining them into logical
(Virtual) Storage device that are
presented to the operating system,
applications and users.
Benefit: Greater IT Productivity through
the automation of manual task. Etc.
Storage Virtualization Types:
Storage Based.
Host Based. Veritas Volume Manager
Network Based.
What is Volume Manger?
VERITAS Volume Manager (VxVM) is
an online storage management tool that
provides a logical volume management
layer which overcomes the physical
restrictions of hardware disk devices by
spanning volumes across multiple
spindles.
What is Volume Manger?
# vxlicense –c ;Adding a
license a key
# vxlicense –p ;Viewing
installed license keys
Managing Disks
Placing a Disk Under Volume
Manager Control
Placing a Disk Under Volume
Manager Control. . .
Placing a Disk Under Volume
Manager Control . . .
# vxdisksetup -i c1t0d0
vxdiskunsetup –C c1t0d0
Managing Disk Group
A disk group is created when you place at least one
disk in the disk group. When you add a disk to a disk
group, a disk group entry is added to the private
region header of that disk. Because a disk can only
have one disk group entry in its private region header,
one disk group does not "know about" other disk
groups, and therefore disk groups cannot share
resources, such as disk drives, plexes, and volumes. A
volume with a plex can belong to only one disk group,
and subdisks and plexes of a volume must be stored in
the same disk group.
When you add a disk to a disk group,
VxVM assigns the disk media name to
the disk and maps this name to the disk
access record. In addition, the host name
is also recorded in the private region.
This information is written to the private
region of the disk.
Creating Disk Group
# vxdg init newdg \
newdg01=c1t1d0s2
Designating a Disk As a
Hot-Relocation Spare
# umount /filesystem2
(or)
# vxprint –Aht
# vxprint –g rootdg
# vxprint –dt
# vxprint –st
# vxprint –pt
# vxprint -vt
Removing a Volume
Removing a Volume . . .
(or)
# newfs
dev/vx/rdsk/datadg/datavol
# mount
/dev/vx/dsk/datadg/datavol
/data
Volume Maintenance . . .
Managing Volume Tasks
Disk Encapsulation
On a Solaris system VxVM uses the volume table of contents
(VTOC) to determine disk size (partition 2), then creates two
partitions on the physical disk:
vxiod
vxiod—VxVM I/O kernel threads provide
extended I/O operations without blocking
calling processes. By default, 10 I/O threads
are started at boot time, and at least one I/O
thread must continue to run at all times.
VxVM Daemons . . .
vxrelocd
vxrelocd is the hot relocation daemon that
monitors events that affect data redundancy. If
redundancy failures are detected, vxrelocd
automatically relocates affected data from
mirrored or RAID-5 subdisks to spare disks or
other free space within the disk group. vxrelocd
also notifies the system administrator by e-mail
of redundancy failures and relocation activities.
How Does vxconfigd Work?
# vxconfigd
# vxdctl -k stop
Types of VxVM Disks
A sliced disk is a disk that has separate slices
for the public and private regions.
A NOPRIV disk is a disk that does not
contain a private region
CDS DIsk
Disk Failure: Permanent disk
failure:
When a disk is corrupted and no longer
usable, the disk must be logically and
physically removed, and then replaced with a
new disk. With permanent disk failure, data
on the disk is lost.