접기
안녕하세요 IBM AIX 기술지원센터 입니다 . 양노드 에서 모두 설정해주시기 바랍니다 . 1) edit lvmtlog.cfg file 1. vi /etc/lvmtlog.cfg LVMT_VERBOSE=7 LVMGS_VERBOSE=9 2) Save old alog files 1. alog -L -t lvmt (or lvmgs) tells you the file location. 3) Remove old alog files 4) Increase the log size to 20Mb. 1. # alog -C -t lvmt -s 20480000 2. # alog -C -t lvmgs -s 20480000 5) marking start time 1. # echo "START DEBUG LVMT -" $(date) | alog -t lvmt 6) check debug logging 1. # lsvg rootvg 2. # alog -f /tmp/lvmt.log -o > /tmp/a.out 3. # tail -f /tmp/a.out ex) 아래 OUTPUT 처럼 "[7 " 이 나와야 정상적으로 설정된것 입니다 .
[7 409628 0:862 queryutl.c 1769] lvm_lsvg: end, rc=0 [7 409628 0:862 lsvg.c 1350] lsvg: E defaultvg subroutine. [7 409628 0:863 lsvg.c 1621] lsvg: E gather_default_lvm_data subroutine. [7 409628 0:863 lsvg.c 1640] gather_default_lvm_data: checkpoint. maxlvs=256, maxpvs=32 [7 409628 0:863 lsvg.c 1786] lsvg: L gather_default_lvm_data subroutine. [7 409628 0:863 comutl.c 1010] lvm_getvginfo: start [7 409628 0:863 lsvg.c 1382] got here [7 409628 0:863 lsvg.c 1556] lsvg: L defaultvg subroutine. [7 409628 0:863 utilities.c 1851] lvm_cfglock: name=rootvg, pid=409628, flags=0x2 [7 409628 0:864 lsvg.c 355] lsvg: L main of lsvg.c
양노드에 아래 directory 를 설정하고 , /somebigdir ( 100MB 이상 여유공간이 필요함 ) Node 1 번 서버에서만 수행할것 . > 문제 재현 (HACMP 가 살아 있는 상태에서 수행해야함 ) timestamp 확인 command # cd /usr/es/sbin/cluster/utilities/ # ./clrsh NODE1 lsattr -El VGname | grep timestamp # ./clrsh NODE1 getlvodm -T $(getlvodm -v VGname ) # ./clrsh NODE2 lsattr -El VGname | grep timestamp # ./clrsh NODE2 getlvodm -T $(getlvodm -v VGname ) *NODE1, NODE2 는 hacmp 에서 지정하신 no dename 입니다. *VGname 은 HACMP 에서 사용하는 shared vgname 입니다 . * 모든 shared vg 에 대해서 확인해 주시기바랍니다 .
1 번 terminal 창
2 번 terminal 창
#script /somebigdir/windows1.$(hostname).out # date # lssrc -ls clstrmgrES |grep -i state ===> ST_STABLE 인지 확인 timestamp 확인 command # date # lssrc -ls clstrmgrES |grep -i state ===> ST_INIT 인지 확인 timestamp 확인 command
#script /somebigdir/windows2.$(hostname).out # export VERBOSE_LOGGING=high # date # smitty clstop # date <<<< hacmp stop 완료후 # exit
******** 아래 command 부터는 양 노드에서 각각 수행할것 .(Node 1, Node 2 에서 각각 수행할것 .) # alog -t lvmt -o > /somebigdir/lvmt.log # alog -t lvmgs -o > /somebigdir/lvmgs.log # snap -e # snap -gktfLc
# mv /tmp/ibmsupt/snap.pax.Z /tmp/ibmsupt/01079,999,766.snap.<node 이름 >.< 날짜 >.pax.Z # exit
아래 data 를 ftp 서버로 upload 해주시기 바랍니다 . - 양 노드에서 각각 /somebigdir/ 에 있는 모든 파일 (directory 전체를 아래 이름으로 압축하시면 됩니다 .) 01079,999,766.node1.<date>.tar 01079,999,766.node2.<date>.tar 01079,999,766.snap.node1.<date>.pax.Z 01079,999,766.snap.node2.<date>.pax.Z <upload site> ftp ftp.ap.ecurep.ibm.com -id : anonymous -pw : <email address> ftp> cd toibm/aix ftp> bin ftp> put 01079,999,766.node1.<date>.tar ftp> put 01079,999,766.node2.<date>.tar ftp> put 01079,999,766.snap.node1.<date>.pax.Z ftp> put 01079,999,766.snap.node2.<date>.pax.Z ftp> quit
접기