You are on page 1of 5

VxVM CONFIGURATION DATABASE

-Contain all configuration records


-Is stored in the private region
-Is replicated on multiple disks in diskgroup
-Is updated by vxconfigd process
To display databse use vxdg list acctdg
DISPLAY DISK HEADER INFORMATION
vxdisk -g newdg list newdg01 (MUESTRA PATHS Y MULTIPHATING INFO)
Show private region info
VxVM DISK TYPES AND FORMATS
auto = Automatically configured by VxVM
auto:cdsdisk = Public and private region are contiguos on the
same partition and suitable for moving between
different OS
auto:sliced = Public and private regions are on separated partitions
auto:hpdisk = HP-UX specific disk format
auto:none: The are no public and private regions
-To change default format use vxdiskadm "Change/Display"
or in .etc.vx/disk
-Non-boot sliced disks can be converted to CDS using vxcdsconvert
VXCONFIGD (daemon)
-Maintain cing database
-Syncronize changes between multiple requests
-Does not interfere with access to data on disk
-Must be running
-In not running not affect I/O
-Red the kernel log to determinate the state of vxvm componenets
-vxconfigd modes:
Enable: Normal
Disable: Most operation are not allowed
Booted:At system startup
MANAGING THE VXVM CONFIGURATION DAEMON
Use vxdctl to control vxconfigd
vxdctl mode -> Display vxconfigd status
vxdctl enable -> Enables vxconfgd
vxdctl disable -> Disables vxconfgd
vxdctl stop -> stop vxconfgd
vxdctl -k stop -> send a kill -9
vxconfigd -> Starts vxconfigd
vxdctl licence -> Display license features
vxdctl support -> Display version information
THE VOLBOOT FILE
Keep system specific information
/etc/vx/volboot
keep host id
keep The values of defaultdg and bootdg
vxdctl list ->Display contents od volboot
To change the host ID in volboot:
vxdctl hostid newhostname
vxdctl enable
To re-create volboot:

vxdctl init hostname


DEVICE DISCOVERY LAYER (DDL)
Is the process of locating and identifying disk attach to a host
Automatically at boot time
Manual process:
vxdiskconfig (Solaris)
vxdisk scandisks -> dos not add or import
vxdctl enable
Dynamic Multipathing DMP
-Dynamic discovery and configuration
-Automated path restoration
-Cross palttform
DMP ARCHITECTURE
Device Discovery Later (DDL):
- Identifies all connected disk devices:
-Configure the DMP database using discovered devices
ARRAY Support Library (ASL):
-Discovery and claims the device properly
-Defines array class
-Gets Dynamic attibuttes
Arrar Policy Module (APM):
-Dinamically loadable kernel module
-Allows array-specific procedures
VxVM - vxio ->vxconfigd
VxVM = vxdmo ->vxconfigd
DISPLAY INFORMACION ABOUR ASLs AND APMs
List existing ASLs and supported disk arrays:
vxddladm listsupport
Display devices claimed by a specific ASL:
/etc/vx/diag.d/vxcheckasl libname=asl_library_name
Display all ASLs that have claimed a device:
/etc/vx/diag.d/vxcheckasl -c device=device_name
Display all APMs that are configured on the system:
vxdmpadm listapm all
UPDATING ASLs / AMPs
VTRSaslapm -> Single package for all ASLs / APMs
Update online
During update remove ASL library yy reload the ASL and reinitiaties the discover
y
PARTIAL DEVICE DISCOVERY
vxdisk scandisks -> scan part of the device tree
vxdisk scandisks new-> discover newly addes devices
vxdisk scandisks fabric-> discover fabric devices
vxdisk scandisks ctrl=c1,c2-> Scan devices connected to logical or physical cont
rollers
vxdisk scandisks pctrl=/pci@1f,4000/scsi@3/ -> Discover devices in specified phy
sical controller
DISPLAYING EXTENDED DEVICE ATTRIBUTES

vxdisk -p list [accessname] ->display properties of a disk


-id,scsi version, array,name,vendor
-lun info,arrar port wwwn, tramsport (fc,scsi)
-DMP device
-DDL Attribute
TYPES OF MULTIPORTED ARRAYS
active-active (load balancing)
active-pasive (path failover)
SETTING I/O POLICIES AND PATH ATTRIBUTES
Change the I/O policy for balancing the I/O
loads across multiple paths to a disk array:
vxdmpadm setattr enclorure enc_name iopolicy=policy
-priority
-adptive
-round-robin
-adaptiveminq
-singleactive
-balanced
-minimumq
To set path attributes for a disk array or enclosure:
vxdmadm setattr path path_name pathtype=type
-active
primary
-no manual secondary
-noprefered -standby
-prefered
DISPLAYING I/O STATISTICS FOR PATHS
1-Enable the gathering of statistics:
vxdmadm iostat start [memory=size]
2-Reset the I/O conuters to zero:
vxdmpadm iostat reset
3-Display the accumulated statistics for all path:
vxdmpadm iostat show all
DISABLING I/O TO A CONTROLLER
For:
-replace system board
-test path failover
Disable I/O to one or more controllers:
vxdmpadm disable ctrl=ctrl_name1
Disable I/O to a particular enclosure:
vxdmpadm disable enclosure=enc_name
Re-enable I/O to one or more controllers:
vxdmpadm enable ctrl=ctrl_name1
CONTROLLING THE DMP PATH RESTORATION THREAD
The DMP path restoration thread is a kernel thread
that monitors DMP paths
To display the tunable parameters related to the path restoration:
vxdmpadm gattune | grep restore
To administer DMP path restoration:
Stop the D,P path restoration thread temporarily:
vxdmpadm stop restore
Restart the DMP path restoration thread with new attributtes:

vxdmpadm start restore interval=400 policy=check_all


Make the change persistent:
vxdmpadm settune dmp_restore_policy-check_all
DMP PERFORMANCE TUNING TEMPLATE
-dUMP TUNABLE PARAMETERS AND ATTRIBUTES TO A FILE OR OUTPUT
-The template is divide into:
-DMP tunables, namingscheme,arraytype,arrayname,enclosurename
USING THE DMP PERFORMANCE TUNING TEMPLATE
To save into a template or stdout:
vxdmpadm config dump [file=filename]
To load:
vxdmpadm [-d] config load file=filename
To validate:
vxdmpadm config check file=filename
To reset:
vxdmpadm config reset
To display template info:
vxdmpadm config show

You might also like