- 论坛徽章:
- 0
|
大家好。 今天配置了个HA,环境是AIX5.3-05,HACMP5.4.0,配置同步都没报错,但是做拔网线测试的时候,拔掉1根,server ip可以切换到备用网卡, 但是拔掉2根网线, 无法切换到备机, 请各位指教。
附:hacmp.out
Jan 28 01:04:55 EVENT START: release_vg_fs ALL appvg
xxcs_app_rg:release_vg_fs[63] [[ high = high ]]
xxcs_app_rg:release_vg_fs[63] version=1.4.1.49
xxcs_app_rg:release_vg_fs[65] STATUS=0
xxcs_app_rg:release_vg_fs[65] typeset -i DEF_VARYON_ACTION=0
xxcs_app_rg:release_vg_fs[69] [[ RELEASE != RELEASE ]]
xxcs_app_rg:release_vg_fs[75] FILE_SYSTEMS=ALL
xxcs_app_rg:release_vg_fs[76] VOLUME_GROUPS=appvg
xxcs_app_rg:release_vg_fs[77] OEM_FILE_SYSTEMS=
xxcs_app_rg:release_vg_fs[78] OEM_VOLUME_GROUPS=
xxcs_app_rg:release_vg_fs[79] VG_MOD=false
xxcs_app_rg:release_vg_fs[80] SELECTIVE_FAILOVER=false
xxcs_app_rg:release_vg_fs[80] typeset -i DEF_VARYOFF_ACTION=0
xxcs_app_rg:release_vg_fs[85] cut -c1-2
xxcs_app_rg:release_vg_fs[85] oslevel -r
xxcs_app_rg:release_vg_fs[85] [[ 53 > 52 ]]
xxcs_app_rg:release_vg_fs[87] FORCED=-F
xxcs_app_rg:release_vg_fs[96] [[ ALL = ALL ]]
xxcs_app_rg:release_vg_fs[98] FILE_SYSTEMS=
xxcs_app_rg:release_vg_fs[98] [[ -z appvg ]]
xxcs_app_rg:release_vg_fs[98] [[ -n appvg ]]
xxcs_app_rg:release_vg_fs[110] xxcs_app_rg:release_vg_fs[110] rdsort appvg
xxcs_app_rg:release_vg_fs[3] echo appvg
xxcs_app_rg:release_vg_fs[4] sort -ru
xxcs_app_rg:release_vg_fs[3] sed -e s/\ /\
/g
VOLUME_GROUPS=appvg
xxcs_app_rg:release_vg_fs[110] [[ true = true ]]
xxcs_app_rg:release_vg_fs[110] [[ ONLINE != ONLINE ]]
xxcs_app_rg:release_vg_fs[120] date
Thu Jan 28 01:04:55 BEIST 2010
xxcs_app_rg:release_vg_fs[122] grep -x appvg
xxcs_app_rg:release_vg_fs[122] lsvg -L -o
appvg
xxcs_app_rg:release_vg_fs[125] xxcs_app_rg:release_vg_fs[125] awk $1 == "dependency" { gsub(/"/, "", $3); print $3 }
xxcs_app_rg:release_vg_fs[125] odmget -q name = appvg CuDep
OPEN_LVs=app1
app2
loglv00
fslv00
xxcs_app_rg:release_vg_fs[129] xxcs_app_rg:release_vg_fs[129] awk $1 == "value" && $3 ~ /^\"\//{ gsub(/"/,"",$3); print $3 }
xxcs_app_rg:release_vg_fs[129] odmget -q name = app1 and attribute = label CuAt
FS=
xxcs_app_rg:release_vg_fs[129] [[ -n ]]
xxcs_app_rg:release_vg_fs[129] xxcs_app_rg:release_vg_fs[129] awk $1 == "value" && $3 ~ /^\"\//{ gsub(/"/,"",$3); print $3 }
xxcs_app_rg:release_vg_fs[129] odmget -q name = app2 and attribute = label CuAt
FS=
xxcs_app_rg:release_vg_fs[129] [[ -n ]]
xxcs_app_rg:release_vg_fs[129] xxcs_app_rg:release_vg_fs[129] awk $1 == "value" && $3 ~ /^\"\//{ gsub(/"/,"",$3); print $3 }
xxcs_app_rg:release_vg_fs[129] odmget -q name = loglv00 and attribute = label CuAt
FS=
xxcs_app_rg:release_vg_fs[129] [[ -n ]]
xxcs_app_rg:release_vg_fs[129] xxcs_app_rg:release_vg_fs[129] awk $1 == "value" && $3 ~ /^\"\//{ gsub(/"/,"",$3); print $3 }
xxcs_app_rg:release_vg_fs[129] odmget -q name = fslv00 and attribute = label CuAt
FS=/app
xxcs_app_rg:release_vg_fs[129] [[ -n /app ]]
xxcs_app_rg:release_vg_fs[131] FILE_SYSTEMS= /app
xxcs_app_rg:release_vg_fs[137] date
Thu Jan 28 01:04:55 BEIST 2010
xxcs_app_rg:release_vg_fs[137] [[ false = true ]]
xxcs_app_rg:release_vg_fs[149] [[ -n ]]
xxcs_app_rg:release_vg_fs[183] xxcs_app_rg:release_vg_fs[183] cl_fs2disk -v /app
vg=appvg
xxcs_app_rg:release_vg_fs[183] [[ = reconfig* ]]
xxcs_app_rg:release_vg_fs[201] VOLUME_GROUPS=appvg appvg
xxcs_app_rg:release_vg_fs[210] [[ -n /app ]]
xxcs_app_rg:release_vg_fs[213] xxcs_app_rg:release_vg_fs[213] rdsort /app
xxcs_app_rg:release_vg_fs[3] echo /app
xxcs_app_rg:release_vg_fs[4] sort -ru
xxcs_app_rg:release_vg_fs[3] sed -e s/\ /\
/g
FILE_SYSTEMS=/app
xxcs_app_rg:release_vg_fs[216] cl_deactivate_fs /app
xxcs_app_rg:cl_deactivate_fs[320] [[ high = high ]]
xxcs_app_rg:cl_deactivate_fs[320] version=1.1.4.28
xxcs_app_rg:cl_deactivate_fs[322] STATUS=0
xxcs_app_rg:cl_deactivate_fs[323] SLEEP=2
xxcs_app_rg:cl_deactivate_fs[324] TMP_FILENAME=_deactivate_fs.tmp
xxcs_app_rg:cl_deactivate_fs[326] OEM_CALL=false
xxcs_app_rg:cl_deactivate_fs[327] [[ 1 -ne 0 ]]
xxcs_app_rg:cl_deactivate_fs[327] [[ /app = -c ]]
xxcs_app_rg:cl_deactivate_fs[333] [ ! -n ]
xxcs_app_rg:cl_deactivate_fs[335] EMULATE=REAL
xxcs_app_rg:cl_deactivate_fs[338] PROC_RES=false
xxcs_app_rg:cl_deactivate_fs[342] [[ 0 != 0 ]]
xxcs_app_rg:cl_deactivate_fs[346] [[ false = true ]]
xxcs_app_rg:cl_deactivate_fs[352] [ 1 -eq 0 ]
xxcs_app_rg:cl_deactivate_fs[360] echo /app
xxcs_app_rg:cl_deactivate_fs[360] set -A fs_array /app
xxcs_app_rg:cl_deactivate_fs[361] FILE1=/app
xxcs_app_rg:cl_deactivate_fs[366] RES_GRP=xxcs_app_rg
xxcs_app_rg:cl_deactivate_fs[367] TMP_FILENAME=xxcs_app_rg_deactivate_fs.tmp
xxcs_app_rg:cl_deactivate_fs[370] [[ -f /tmp/xxcs_app_rg_deactivate_fs.tmp ]]
xxcs_app_rg:cl_deactivate_fs[373] [ sequential = ]
xxcs_app_rg:cl_deactivate_fs[379] xxcs_app_rg:cl_deactivate_fs[379] sed s/^ //
xxcs_app_rg:cl_deactivate_fs[379] print sequential
RECOVERY_METHOD=sequential
xxcs_app_rg:cl_deactivate_fs[380] xxcs_app_rg:cl_deactivate_fs[380] sed s/ $//
xxcs_app_rg:cl_deactivate_fs[380] print sequential
RECOVERY_METHOD=sequential
xxcs_app_rg:cl_deactivate_fs[381] [ sequential != sequential -a sequential != parallel ]
xxcs_app_rg:cl_deactivate_fs[389] cut -c1-2
xxcs_app_rg:cl_deactivate_fs[389] oslevel -r
xxcs_app_rg:cl_deactivate_fs[389] [[ 53 > 52 ]]
xxcs_app_rg:cl_deactivate_fs[391] FORCED=-F
xxcs_app_rg:cl_deactivate_fs[398] set -u
xxcs_app_rg:cl_deactivate_fs[471] xxcs_app_rg:cl_deactivate_fs[471] /bin/sort -r
xxcs_app_rg:cl_deactivate_fs[471] /bin/echo /app
FILELIST=/app
xxcs_app_rg:cl_deactivate_fs[476] ALLFS=All_filesystems
xxcs_app_rg:cl_deactivate_fs[477] [ REAL = EMUL ]
xxcs_app_rg:cl_deactivate_fs[482] cl_RMupdate resource_releasing All_filesystems cl_deactivate_fs
Reference string: Thu.Jan.28.01:04:56.BEIST.2010.cl_deactivate_fs.All_filesystems.xxcs_app_rg.ref
xxcs_app_rg:cl_deactivate_fs[485] [[ false = true ]]
xxcs_app_rg:cl_deactivate_fs[491] [ sequential = parallel ]
xxcs_app_rg:cl_deactivate_fs[501] [ REAL = EMUL ]
xxcs_app_rg:cl_deactivate_fs[506] fs_umount /app cl_deactivate_fs xxcs_app_rg_deactivate_fs.tmp
xxcs_app_rg:cl_deactivate_fs[4] FS=/app
xxcs_app_rg:cl_deactivate_fs[5] PROGNAME=cl_deactivate_fs
xxcs_app_rg:cl_deactivate_fs[6] TMP_FILENAME=xxcs_app_rg_deactivate_fs.tmp
xxcs_app_rg:cl_deactivate_fs[7] STATUS=0
xxcs_app_rg:cl_deactivate_fs[10] xxcs_app_rg:cl_deactivate_fs[10] lsfs -c /app
xxcs_app_rg:cl_deactivate_fs[10] tail -1
xxcs_app_rg:cl_deactivate_fs[10] cut -c6-
xxcs_app_rg:cl_deactivate_fs[10] cut -d: -f2
lv=fslv00
xxcs_app_rg:cl_deactivate_fs[12] [ 0 -ne 0 ]
xxcs_app_rg:cl_deactivate_fs[23] mount
xxcs_app_rg:cl_deactivate_fs[23] fgrep -s -x /dev/fslv00
xxcs_app_rg:cl_deactivate_fs[23] awk { print $1 }
xxcs_app_rg:cl_deactivate_fs[25] [ 0 -eq 0 ]
xxcs_app_rg:cl_deactivate_fs[38] fuser -k -u -x /dev/fslv00
/dev/fslv00:
xxcs_app_rg:cl_deactivate_fs[39] [ 0 -ne 0 ]
xxcs_app_rg:cl_deactivate_fs[43] COUNT=60
xxcs_app_rg:cl_deactivate_fs[44] true
xxcs_app_rg:cl_deactivate_fs[45] umount /app
umount: error unmounting /dev/fslv00: Device busy
xxcs_app_rg:cl_deactivate_fs[46] [ 1 -ne 0 ]
xxcs_app_rg:cl_deactivate_fs[48] [ 60 -gt 0 ]
xxcs_app_rg:cl_deactivate_fs[50] [ 60 = 57 ]
xxcs_app_rg:cl_deactivate_fs[63] xxcs_app_rg:cl_deactivate_fs[63] expr 60 - 1
COUNT=59
xxcs_app_rg:cl_deactivate_fs[64] sleep 2
xxcs_app_rg:cl_deactivate_fs[65] fuser -k -u -x /dev/fslv00
/dev/fslv00:
xxcs_app_rg:cl_deactivate_fs[66] [ 0 -ne 0 ]
xxcs_app_rg:cl_deactivate_fs[44] true
xxcs_app_rg:cl_deactivate_fs[45] umount /app
umount: error unmounting /dev/fslv00: Device busy
xxcs_app_rg:cl_deactivate_fs[46] [ 1 -ne 0 ]
xxcs_app_rg:cl_deactivate_fs[48] [ 59 -gt 0 ]
xxcs_app_rg:cl_deactivate_fs[50] [ 59 = 57 ]
xxcs_app_rg:cl_deactivate_fs[63] xxcs_app_rg:cl_deactivate_fs[63] expr 59 - 1
COUNT=58
xxcs_app_rg:cl_deactivate_fs[64] sleep 2
xxcs_app_rg:cl_deactivate_fs[65] fuser -k -u -x /dev/fslv00
/dev/fslv00:
xxcs_app_rg:cl_deactivate_fs[66] [ 0 -ne 0 ]
xxcs_app_rg:cl_deactivate_fs[44] true
xxcs_app_rg:cl_deactivate_fs[45] umount /app
umount: error unmounting /dev/fslv00: Device busy
xxcs_app_rg:cl_deactivate_fs[46] [ 1 -ne 0 ]
xxcs_app_rg:cl_deactivate_fs[48] [ 58 -gt 0 ]
xxcs_app_rg:cl_deactivate_fs[50] [ 58 = 57 ]
xxcs_app_rg:cl_deactivate_fs[63] xxcs_app_rg:cl_deactivate_fs[63] expr 58 - 1
COUNT=57
xxcs_app_rg:cl_deactivate_fs[64] sleep 2
xxcs_app_rg:cl_deactivate_fs[65] fuser -k -u -x /dev/fslv00
/dev/fslv00:
xxcs_app_rg:cl_deactivate_fs[66] [ 0 -ne 0 ]
xxcs_app_rg:cl_deactivate_fs[44] true
xxcs_app_rg:cl_deactivate_fs[45] umount /app
umount: error unmounting /dev/fslv00: Device busy
xxcs_app_rg:cl_deactivate_fs[46] [ 1 -ne 0 ]
xxcs_app_rg:cl_deactivate_fs[48] [ 57 -gt 0 ]
xxcs_app_rg:cl_deactivate_fs[50] [ 57 = 57 ]
xxcs_app_rg:cl_deactivate_fs[52] [ ! -f /tmp/.RPCLOCKDSTOPPED ]
xxcs_app_rg:cl_deactivate_fs[54] odmget -q name=EXPORT_FILESYSTEM AND group=xxcs_app_rg HACMPresource
xxcs_app_rg:cl_deactivate_fs[54] grep value
xxcs_app_rg:cl_deactivate_fs[54] awk {print $3}
xxcs_app_rg:cl_deactivate_fs[54] sed s/"//g
xxcs_app_rg:cl_deactivate_fs[54] grep -w /app
xxcs_app_rg:cl_deactivate_fs[55] [ 1 = 0 ]
xxcs_app_rg:cl_deactivate_fs[63] xxcs_app_rg:cl_deactivate_fs[63] expr 57 - 1
COUNT=56
xxcs_app_rg:cl_deactivate_fs[64] sleep 2
xxcs_app_rg:cl_deactivate_fs[65] fuser -k -u -x /dev/fslv00
/dev/fslv00:
xxcs_app_rg:cl_deactivate_fs[66] [ 0 -ne 0 ]
xxcs_app_rg:cl_deactivate_fs[44] true
xxcs_app_rg:cl_deactivate_fs[45] umount /app
umount: error unmounting /dev/fslv00: Device busy
xxcs_app_rg:cl_deactivate_fs[46] [ 1 -ne 0 ]
xxcs_app_rg:cl_deactivate_fs[48] [ 56 -gt 0 ]
xxcs_app_rg:cl_deactivate_fs[50] [ 56 = 57 ]
xxcs_app_rg:cl_deactivate_fs[63] xxcs_app_rg:cl_deactivate_fs[63] expr 56 - 1
COUNT=55
xxcs_app_rg:cl_deactivate_fs[64] sleep 2
xxcs_app_rg:cl_deactivate_fs[65] fuser -k -u -x /dev/fslv00
/dev/fslv00:
xxcs_app_rg:cl_deactivate_fs[66] [ 0 -ne 0 ]
xxcs_app_rg:cl_deactivate_fs[44] true
xxcs_app_rg:cl_deactivate_fs[45] umount /app
umount: error unmounting /dev/fslv00: Device busy
xxcs_app_rg:cl_deactivate_fs[46] [ 1 -ne 0 ]
xxcs_app_rg:cl_deactivate_fs[48] [ 55 -gt 0 ]
xxcs_app_rg:cl_deactivate_fs[50] [ 55 = 57 ]
xxcs_app_rg:cl_deactivate_fs[63] xxcs_app_rg:cl_deactivate_fs[63] expr 55 - 1
COUNT=54
xxcs_app_rg:cl_deactivate_fs[64] sleep 2
xxcs_app_rg:cl_deactivate_fs[65] fuser -k -u -x /dev/fslv00
/dev/fslv00:
xxcs_app_rg:cl_deactivate_fs[66] [ 0 -ne 0 ]
xxcs_app_rg:cl_deactivate_fs[44] true
xxcs_app_rg:cl_deactivate_fs[45] umount /app
umount: error unmounting /dev/fslv00: Device busy
xxcs_app_rg:cl_deactivate_fs[46] [ 1 -ne 0 ]
xxcs_app_rg:cl_deactivate_fs[48] [ 54 -gt 0 ]
xxcs_app_rg:cl_deactivate_fs[50] [ 54 = 57 ]
xxcs_app_rg:cl_deactivate_fs[63] xxcs_app_rg:cl_deactivate_fs[63] expr 54 - 1
COUNT=53
xxcs_app_rg:cl_deactivate_fs[64] sleep 2
xxcs_app_rg:cl_deactivate_fs[65] fuser -k -u -x /dev/fslv00
/dev/fslv00:
xxcs_app_rg:cl_deactivate_fs[66] [ 0 -ne 0 ]
xxcs_app_rg:cl_deactivate_fs[44] true
xxcs_app_rg:cl_deactivate_fs[45] umount /app
umount: error unmounting /dev/fslv00: Device busy
xxcs_app_rg:cl_deactivate_fs[46] [ 1 -ne 0 ]
xxcs_app_rg:cl_deactivate_fs[48] [ 53 -gt 0 ]
xxcs_app_rg:cl_deactivate_fs[50] [ 53 = 57 ]
xxcs_app_rg:cl_deactivate_fs[63] xxcs_app_rg:cl_deactivate_fs[63] expr 53 - 1
COUNT=52
xxcs_app_rg:cl_deactivate_fs[64] sleep 2
xxcs_app_rg:cl_deactivate_fs[65] fuser -k -u -x /dev/fslv00
/dev/fslv00:
xxcs_app_rg:cl_deactivate_fs[66] [ 0 -ne 0 ]
xxcs_app_rg:cl_deactivate_fs[44] true
xxcs_app_rg:cl_deactivate_fs[45] umount /app
umount: error unmounting /dev/fslv00: Device busy
xxcs_app_rg:cl_deactivate_fs[46] [ 1 -ne 0 ]
xxcs_app_rg:cl_deactivate_fs[48] [ 52 -gt 0 ]
xxcs_app_rg:cl_deactivate_fs[50] [ 52 = 57 ]
xxcs_app_rg:cl_deactivate_fs[63] xxcs_app_rg:cl_deactivate_fs[63] expr 52 - 1
COUNT=51
xxcs_app_rg:cl_deactivate_fs[64] sleep 2
xxcs_app_rg:cl_deactivate_fs[65] fuser -k -u -x /dev/fslv00
/dev/fslv00:
xxcs_app_rg:cl_deactivate_fs[66] [ 0 -ne 0 ]
xxcs_app_rg:cl_deactivate_fs[44] true
xxcs_app_rg:cl_deactivate_fs[45] umount /app
umount: error unmounting /dev/fslv00: Device busy
xxcs_app_rg:cl_deactivate_fs[46] [ 1 -ne 0 ]
xxcs_app_rg:cl_deactivate_fs[48] [ 51 -gt 0 ]
xxcs_app_rg:cl_deactivate_fs[50] [ 51 = 57 ]
xxcs_app_rg:cl_deactivate_fs[63] xxcs_app_rg:cl_deactivate_fs[63] expr 51 - 1
COUNT=50
xxcs_app_rg:cl_deactivate_fs[64] sleep 2
xxcs_app_rg:cl_deactivate_fs[65] fuser -k -u -x /dev/fslv00
/dev/fslv00:
xxcs_app_rg:cl_deactivate_fs[66] [ 0 -ne 0 ]
xxcs_app_rg:cl_deactivate_fs[44] true
xxcs_app_rg:cl_deactivate_fs[45] umount /app
umount: error unmounting /dev/fslv00: Device busy
xxcs_app_rg:cl_deactivate_fs[46] [ 1 -ne 0 ]
xxcs_app_rg:cl_deactivate_fs[48] [ 50 -gt 0 ]
xxcs_app_rg:cl_deactivate_fs[50] [ 50 = 57 ] |
|