Anda di halaman 1dari 11

Volume manger Daemons ::1)

vxconfigd :- Maintains disk and group configuration. Commaunicattes configuration changes to kernel and modify config info on disk. vxiod ::- used for extended I/o operation , Generally stated @ boot time.

2)

3) Vxrelocd:- monitor data redancy and envok if redancy fails. To see vxvm database info status ::[root@mayclus02 /]# vxdg list yogdg1 Group: yogdg1 dgid: 1219649952.49.mayclus02.vxindia.veritas.com import-id: 1024.48 flags: cds version: 120 alignment: 8192 (bytes) ssb: on detach-policy: global dg-fail-policy: dgdisable copies: nconfig=default nlog=default config: seqno=0.1067 permlen=1280 free=1267 templen=4 loglen=192 config disk sda copy 1 len=1280 state=iofail failed config-tid=0.1066 pending-tid=0.1066 Error: error=Disk write failure config disk sdb copy 1 len=1280 state=clean online config disk sdc copy 1 len=1280 state=clean online log disk sda copy 1 len=192 invalid log disk sdb copy 1 len=192 log disk sdc copy 1 len=192

[root@mayclus02 /]# vxdisk -g yogdg1 list yogdg101 Device: sda devicetag: sda type: auto hostid: mayclus02.vxindia.veritas.com disk: name=yogdg101 id=1217502962.8.mayclus02.vxindia.veritas.com group: name=yogdg1 id=1219649952.49.mayclus02.vxindia.veritas.com info: format=cdsdisk,privoffset=256,pubslice=3,privslice=3 flags: online ready private autoconfig autoimport imported pubpaths: block=/dev/vx/dmp/sda3 char=/dev/vx/rdmp/sda3 version: 3.1 iosize: min=512 (bytes) max=65535 (blocks) public: slice=3 offset=2304 len=17776224 disk_offset=0 private: slice=3 offset=256 len=2048 disk_offset=0 update: time=1219649952 seqno=0.93 ssb: actual_seqno=0.0 headers: 0 240 configs: count=1 len=1280 logs: count=1 len=192 Defined regions: config priv 000048-000239[000192]: copy=01 offset=000000 enabled config priv 000256-001343[001088]: copy=01 offset=000192 enabled log priv 001344-001535[000192]: copy=01 offset=000000 enabled lockrgn priv 001536-001679[000144]: part=00 offset=000000 Multipathing information: numpaths: 2 sda state=disabled sdf state=disabled

vxconfigd daemons is very important maintains and synchronies configuration database across multiple requests. If vxconfigd demon is not running , the vxvm is running but configurations changes are not save to database. Vxconfigd daemon is reads kernel logs to determind current state of vxvm components to update configuration database. Even if vxconfigd daemon is not running the kernel logs are generated.. To check , enable , disable vxconfigd daemond status ::[root@mayclus02 /]# vxdctl mode mode: enabled [root@mayclus02 /]# vxdctl disable If vxdctl is disable no configurations changes are occoured. To stop vxconfigd daemon ::- vxdctl stop

[root@mayclus02 /]# vxdctl mode mode: not-running [root@mayclus02 /]# vxdctl -k stop (with kill) To start vxconfigd use ::[root@mayclus02 /]# vxconfigd VxVM ERROR V-5-3-000: Can't open device /dev/vx/dmp/sda VxVM ERROR V-5-3-000: Can't open device /dev/vx/dmp/sda To see features available in vxvm ::[root@mayclus02 /]# vxdctl license All features are available: Mirroring Root Mirroring Concatenation Disk-spanning Striping RAID-5 VxSmartSync DMP (multipath enabled) CDS Dynamic LUN Expansion Hardware assisted copy To display version of vxvm objects and componanats ::[root@mayclus02 /]# vxdctl support Support information: vxconfigd_vrsn: 21 dg_minimum: 20 dg_maximum: 120 kernel: 15 protocol_minimum: 40

protocol_maximum: 60 protocol_current: 0 The file /etc/vx/volboot is boot file. For more information about this file use Vxdctl list. To change hosted associated with disk use Vxdctl hostid

Device discovery Layer (DDL) To scan devices attached to the system without reboot Vxdctl enable Device discovery ::1) vxdisk scandisks 2) vxdisk scandisks new 3) vxdisk scandisks fabric Device discovery layer::[root@mayclus02 /]# vxddladm listsupport |more LIBNAME VID PID ============================================= ================================= libvxhitachi.so HITACHI DF350, DF400, DF400F libvxemc.so EMC SYMMETRIX libvxxp256.so HP All libvxshark.so IBM 2105 libvxhds.so HITACHI All libvxpurple.so SUN T300 libvxveritas.so VERITAS All libvxcscovrts.so CSCOVRTS MDS9 [root@mayclus02 /]# To exclude or include array support ::[root@mayclus02 /]# vxddladm listexclude The Diskarrays excluded -----------------------

Based on Library names: ----------------------Based on VID, PID Combination: [root@mayclus02 /]# vxddladm excludearray libname=libvxshark.so [root@mayclus02 /]# vxddladm listexclude The Diskarrays excluded ----------------------Based on Library names: ----------------------libvxshark.so Based on VID, PID Combination: -----------------------------Dynamic multi pathing ::DMP is a method vxvm uses to manage two or more hardware paths to a single drive. To list controller info ::[root@mayclus02 /]# vxdmpadm listctlr all CTLR-NAME ENCLR-TYPE STATE ENCLRNAME ============================================= c259 OTHER_DISKS ENABLED OTHER_DISKS c3 Disk ENABLED Disk c2 Disk ENABLED Disk

To display multipathing information ::[root@mayclus02 /]# vxdmpadm getsubpaths ctlr=c2 NAME STATE[A] PATH-TYPE[M] DMPNODENAME ENCLR-TYPE ENCLR-NAME ATTRS =============================================== ================================= sda DISABLED sda Disk Disk sdb ENABLED(A) sdb Disk Disk sdc ENABLED(A) sdc Disk Disk sdd ENABLED(A) sdd Disk Disk sde ENABLED(A) sde Disk Disk [root@mayclus02 /]# vxdmpadm getsubpaths ctlr=c3 NAME STATE[A] PATH-TYPE[M] DMPNODENAME ENCLR-TYPE ENCLR-NAME ATTRS =============================================== ================================= sdf DISABLED sda Disk Disk sdg ENABLED(A) sdb Disk Disk sdh ENABLED(A) sdc Disk Disk sdi ENABLED(A) sdd Disk Disk sdj ENABLED(A) sde Disk Disk -

To display dmp node name ::[root@mayclus02 /]# vxdmpadm getdmpnode nodename=sda NAME STATE ENCLR-TYPE PATHS ENBL DSBL ENCLR-NAME ============================================= ============================ sda DISABLED Disk 2 0 2 Disk

[root@mayclus02 /]# vxdmpadm getdmpnode nodename=sdb NAME STATE ENCLR-TYPE PATHS ENBL DSBL ENCLR-NAME ============================================= ============================ sdb ENABLED Disk 2 2 0 Disk [root@mayclus02 /]# vxdmpadm getdmpnode nodename=sdc NAME STATE ENCLR-TYPE PATHS ENBL DSBL ENCLR-NAME ============================================= ============================ sdc ENABLED Disk 2 2 0 Disk [root@mayclus02 /]# vxdmpadm getdmpnode nodename=sdd NAME STATE ENCLR-TYPE PATHS ENBL DSBL ENCLR-NAME ============================================= ============================ sdd ENABLED Disk 2 2 0 Disk

To disable or enable controller ::[root@mayclus02 /]# vxdmpadm disable ctlr=c2 [root@mayclus02 /]# vxdmpadm listctlr all CTLR-NAME ENCLR-TYPE STATE ENCLR-NAME =============================================== ====== c259 OTHER_DISKS ENABLED OTHER_DISKS c3 Disk ENABLED Disk c2 Disk DISABLED Disk [root@mayclus02 /]# vxdmpadm enable ctlr=c2

[root@mayclus02 /]# vxdmpadm listctlr all CTLR-NAME ENCLR-TYPE STATE ENCLR-NAME =============================================== ====== c259 OTHER_DISKS ENABLED OTHER_DISKS c3 Disk ENABLED Disk c2 Disk ENABLED Disk To Display I/O static ::_ [root@mayclus02 /]# vxdmpadm iostat show dmpnodename=sda cpu usage = 7705us per cpu memory = 32768b OPERATIONS KBYTES AVG TIME(ms) PATHNAME READS WRITES READS WRITES READS WRITES sda 1956 6 9149 48 0.421685 0.625000 sdf 5170 168 22843 2775 0.593355 0.348108 [root@mayclus02 /]# vxdmpadm iostat start [root@mayclus02 /]# vxdmpadm iostat reset

To list enclosures ::[root@mayclus02 /]# vxdmpadm listenclosure all ENCLR_NAME ENCLR_TYPE ENCLR_SNO STATUS ARRAY_TYPE =============================================== ============================= OTHER_DISKS OTHER_DISKS OTHER_DISKS CONNECTED OTHER_DISKS Disk Disk DISKS CONNECTED Disk DMP restore daemon that moniters DMP paths ::[root@mayclus02 /]# vxdmpadm stat restored The number of daemons running : 1 The interval of daemon: 300 The policy of daemon: check_disabled

Anda mungkin juga menyukai