[클러스터][파일] GFS 파일 시스템 업그레이드 시나리오 – 아랑
1.
gfs_smp_upgrade.sh 실행 (img1,img2)
2.
/etc/fstab -> gfs 관련 정보 주석 (img1,img2)
chkconfig –level 3 gfs off
chkconfig –level 3 cman off
chkconfig –level 3 lock_gulmd off
chkconfig –level 3 clvmd off
chkconfig –level 3 ccsd off
chkconfig –level 3 fenced off
3.
encluster -> img2 서비스 대상 제거 -> 상태저장
/etc/rc.d/init.d/gfs stop (img2)
4. gfs 관련 프로그램 완전 제거
killall clvmd
killall fenced
cman_tool leave
killall ccsd
rmmod lock_dlm
rmmod gfs
rmmod dm-mod
5. img2’s reboot
shutdown -r now
6. img2’s boot check
///// 신속히 처리 /////
7. img1 reboot
/etc/rc.d/init.d/cmctl stop
/etc/rc.d/init.d/httpd stop
/etc/rc.d/init.d/gfs stop
killall clvmd
killall fenced
cman_tool leave
killall ccsd
rmmod lock_dlm
rmmod gfs
rmmod dm-mod
shutdown -r now
8. img2 starting
modprobe dm-mod
modprobe gfs
modprobe lock_dlm
ccsd
cman_tool join
# fence_tool join
fenced -c
-> 1번 서버 부팅 확인 -> 1번 서버에서 작업
modprobe dm-mod
modprobe gfs
modprobe lock_dlm
ccsd
cman_tool join
-> 2번 서버 fenced 처리 확인 -> 1번 서버에서 작업
fence_tool join
-> 1,2 번 서버 동시 실행
mount -t gfs /dev/sdc1 /home
/etc/rc.d/init.d/httpd stop
/etc/rc.d/init.d/httpd start
encluster -> img2 서비스 가입 -> 상태저장
9. 전체 서비스 확인
chkconfig –level 3 gfs on
chkconfig –level 3 cman on
chkconfig –level 3 clvmd on
chkconfig –level 3 ccsd on
chkconfig –level 3 fenced on
3 Responses
… [Trackback]
[…] Find More Info here to that Topic: nblog.syszone.co.kr/archives/2103 […]
… [Trackback]
[…] Find More Info here to that Topic: nblog.syszone.co.kr/archives/2103 […]
… [Trackback]
[…] Here you will find 33393 more Info to that Topic: nblog.syszone.co.kr/archives/2103 […]