Cluster Kommands
Application Server löschen
/usr/es/sbin/cluster/utilities/clrmserv 'Oracle_rac_gm1'
Application Server anzeigen
/usr/es/sbin/cluster/utilities/cllsserv
Cluster Filesystem anzeigen
/usr/es/sbin/cluster/utilities/cllsfs -s
#!/bin/ksh
main() {
export _CSPOC_MODE=concurrent
/usr/sbin/cluster/cspoc/smitlvm -8 $*
}
#main 'rggmDB' 'gmP0_tmsdat_01'
/usr/es/sbin/cluster/utilities/cllslv|egrep "^rggm"|grep gmP0_w|while read a b;do main $a $b;done
Cluster Resourcen löschen
/usr/es/sbin/cluster/utilities/clrmgrp -g 'rggmRAC2'
/usr/es/sbin/cluster/utilities/clrmgrp -g 'rgbmDB'
Cluster Resourcen dependency
/usr/es/sbin/cluster/utilities/clrgdependency -t'PARENT_CHILD' -sp
/usr/es/sbin/cluster/utilities/clrgdependency -t'PARENT_CHILD' -sl
Cluster Resourcen dependency löschen
/usr/es/sbin/cluster/utilities/clrgdependency -t'PARENT_CHILD' -d -p'rgbmARCH1' -c'rgbmRAC1'
Cluster Resourcen anzeigen
/usr/es/sbin/cluster/utilities/cllsgrp
Cluster Resourcen offline bringen
/usr/es/sbin/cluster/utilities/clRGmove -s 'false' -d -i -g 'rgbmDB' -n 'All_Nodes_in_Group'
Cluster Status
while true; do /usr/bin/lssrc -ls clstrmgrES| grep state|awk '{print $NF}';sleep 2;done
lsvg -o|grep _vg|while read v;do lsvg -l $v|grep -w jfs2|awk '{print $NF}'|while read fs;do umount $fs;done;done
lsvg -o|grep _vg|while read v;do varyoffvg $v;done
lspv|grep -v rootvg|awk '{print $1}'|while read p;do rmdev -dl $p;done
Cluster Info System start für clstat
startsrc -s clinfoES
LV Sysncen
lresynclv -l 000b987e0000d6000000010d45b86167
HACMP Logfiles
/usr/es/sbin/cluster/utilities/cllog -s
clstrmgr.debug - Generated by the clstrmgr daemon
cluster.log - Generated by cluster scripts and daemons
cluster.mmddyyyy - Cluster history files generated daily
cspoc.log - Generated by CSPOC commands
emuhacmp.out - Generated by the event emulator scripts
hacmp.out - Generated by event scripts and utilities
clavan.log - Generated by Application Availability Analysis tool
clverify.log - Generated by Cluster Verification utility
clcomd.log - Generated by clcomd daemon
clcomddiag.log - Generated by clcomd daemon, debug information
clconfigassist.log - Generated by Two-Node Cluster Configuration Assistant
clutils.log - Generated by cluster utilities and file propagation
cl_testtool.log - Generated by the Cluster Test Tool
autoverify.log - Generated by Auto Verify and Synchronize
sa.log - Generated by Application Discovery
clstrmgr.debug.long - No description
cspoc.log.long - No description
cspoc.log.remote - No description
clinfo.log - No description
migration.log - No description
Artikelaktionen