• Administration, HEADS UP, VCS, Vertias 12-13-2011 Comments Off

    http://www.symantec.com/business/support/index?page=content&id=HOWTO58833

  • VCS, Vertias 06-21-2011 Comments Off

    # add volume definition
    hares -add SRVS-vol8  Volume  SRVS-SG
    hares -modify SRVS-vol8  Critical  0
    hares -modify SRVS-vol8  DiskGroup  cjprd
    hares -modify SRVS-vol8  Volume  cjprd-vol8
    hares -modify SRVS-vol8  Enabled  1
    hares -link SRVS-vol8  SRVS-dg   0   0

    # Add mount definition
    hares -add SRVS-odbf4  Mount  SRVS-SG
    hares -modify SRVS-odbf4  Critical  1
    hares -modify SRVS-odbf4  SnapUmount  0
    hares -modify SRVS-odbf4  CkptUmount  1
    hares -modify SRVS-odbf4  SecondLevelMonitor  0
    hares -modify SRVS-odbf4  SecondLevelTimeout  30
    hares -modify SRVS-odbf4  MountPoint  /cjprd/odbf4
    hares -modify SRVS-odbf4  BlockDevice  /dev/vx/dsk/cjprd/cjprd-vol8
    hares -modify SRVS-odbf4  FSType  vxfs
    hares -modify SRVS-odbf4  MountOpt
    hares -modify SRVS-odbf4  FsckOpt  -y
    hares -modify SRVS-odbf4  Enabled  0
    hares -modify SRVS-odbf4  Critical  0
    hares -modify SRVS-odbf4  Enabled  1
    hares -link SRVS-odbf4  SRVS-vol8   0   0

    hares -modify SRVS-odbf4  Critical  1
    hares -link SRVS-odbf4  SRVS   0   0
    hares -modify SRVS-vol8  Critical  1
    haconf -dump

  • VCS, Vertias 01-28-2011 Comments Off
    hares -display  -attribute Address -group GROUP_NAME | tail -1| awk '{print $4}'
    
  • VCS, Vertias 01-27-2011 Comments Off
    hastatus -sum | grep FAULT| awk '{print "hagrp -clear", $2, " -sys ", $3}'| sh
    
  • VCS, Vertias 01-21-2011 Comments Off
    hastatus -sum | grep ^B|grep OFFLINE|awk '{print $2, $6}'|sort | uniq -c|sort -n
  • VCS, Vertias 01-13-2011 Comments Off


    hagrp -flush GROUP -sys SYS
    hares -probe RESOURCE -sys SYS

  • VCS, Vertias 01-13-2011 Comments Off
    export GROUP=SERVICE_GROUP
    
    for RESOURCE in `hares -display -attribute MountOpt -group ${GROUP} | awk '{print $1}' | grep -v ^\#`; do
    	echo "hares -modify ${RESOURCE} MountOpt 'mincache=direct,convosync=direct'"
    done | sh
    
    haconf -dump
    
  • Scripts, VCS, Vertias 11-25-2010 Comments Off
    #!/bin/sh
    #
    # parmanand patram; 2010-11-25
    # find and clear faulted VCS resource
    #
    # This script takes a list of VCS resource groups
    # and clears any FAULTED states in the cluster.
    # ex.
    # clear_VCS_faulted.sh 'GROUP1 GROUP2 ...'
    
    VCS_GROUPS=$1
    VCS_BINPATH=/opt/VRTSvcs/bin
    
    for VCS_GROUP in ${VCS_GROUPS}
    do
            # hares will show all resources of this group that are faulted
            # but we will only need to clear based on the unique hostname
            for SYS in `${VCS_BINPATH}/hares -display -group ${VCS_GROUP} -attribute State | grep FAULTED | awk '{print $3}' | sort | uniq`
            do
            #echo ${VCS_BINPATH}/hares -display -group ${VCS_GROUP} -attribute State | grep FAULTED
            ${VCS_BINPATH}/hagrp -clear ${VCS_GROUP} -sys ${SYS}
            done
    done
  • VCS, Vertias 11-08-2010 Comments Off

    /etc/VRTSvcs/conf/config/main.cf