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

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

  • Vertias, VxFS 08-09-2011 Comments Off
    export DG=SOME-DG
    clear; for i in `vxprint -ht -g ${DG}|grep DISA| grep ^pl | awk '{print $2}'`; do
    echo  "vxmend -g ${DG} fix stale $i"
    echo "vxmend -g ${DG} fix clean $i"; done
    vxvol -g ${DG} startall
    
  • 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

  • Linux, Vertias, VxFS 05-12-2011 Comments Off
    Scan the fibre and re-read the device maps:
    /opt/QLogic_Corporation/ql-dynamic-tgt-lun-disc-2.5/ql-dynamic-tgt-lun-disc.sh
    
    vxdctl initdmp
    vxdctl enable
    
    vxdisk list #will show something similar to:
    fas60801_40  auto            -            -            error
    
    verify the 'FAS' number from sanlun output to make sure we are working with the correct device!
    
    #Initialize the new disk
    vxdisksetup -i fas60801_40
    vxdisk list #will now show the disk online:
    fas60801_40  auto:cdsdisk    -            -            online thinrclm
    
    To create a volume in an existing disk group:
    vxdg -g DGNAME adddisk DGNAME-Disk=FAS60800_27
    ex: vxdg -g proddg adddisk proddg-redoDisk=FAS60800_27
    
    # see how big we can make a concat on the new disk
    vxassist -b -g proddg maxsize layout=concat proddg-redoDisk
    output will be like this:
    Maximum volume size: nnnnnnn (XXXXMb)
    
    # make the volume
    vxassist -b -g proddg make proddg-redoVol XXXXm layout=concat proddg-redoDisk
    
    # mkfs.vxfs /dev/vx/rdsk/proddg/proddg-redoDisk
    
    # then mount it up and off you go!
    
    For a new disk group:
    #Initialize the new disk group
    vxdg init SOMETHING_dg SOMETHING-1=fas60801_40
    
    vxdisk -o alldgs list
    will now show the new disk in its new group:
    fas60801_40  auto:cdsdisk    SOMETHING-1  SOMETHING_dg online thinrclm
    
    #Create logical volume and filesystem
    
    vxassist -g SOMETHING_dg make SOMETHING-vol1  SOMETHING-1
    
    #make the filesystem
    /usr/lib/fs/vxfs/mkfs -t vxfs -o largefiles /dev/vx/rdsk/SOMETHING_dg/SOMETHING-vol1
    
    #Mount up the filesystem
    mount -t vxfs /dev/vx/rdsk/SOMETHING_dg/SOMETHING-vol1 /where/ever
    
  • Vertias, VxFS 04-28-2011 Comments Off

    see all available disk groups:
    vxdisk -o alldgs list

    Import a DG:
    vxdg import DG_NAME

    Start the volumes:
    vxvol -g DG_NAME startall

  • 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