°Ô½Ã¹° 20°Ç
   
[SUSE] HA ±¸¼ºÆí
±Û¾´ÀÌ : ÃÖÀå¼· ³¯Â¥ : 2014-09-05 (±Ý) 10:46 Á¶È¸ : 4418

¡á [SUSE HA] - HA ¼³Ä¡

½Ã³ª¸®¿À
HA01 - SUSE11 SP1
NIC eth0 - 192.168.40.100 // Public
NIC eth1 - 10.10.10.100 // Private
NIC eth2 - 20.20.20.100 // Heart Beat

HA02 - SUSE11 SP1
NIC eth0 - 192.168.40.110 // Public
NIC eth1 - 10.10.10.100 // Private
NIC eth2 - 20.20.20.110 // Heart Beat

[HA01]
Bind Network Address - 20.20.20.0 // HB IP
Multicast Address - 226.94.1.1  // SUSE °íÀ¯IP
Multicast Port - 5405 // SUSE °íÀ¯ Æ÷Æ®
Auto Generate Node ID üũ

Yast Cluster ¸í·É¾î³ª GUI ȯ°æ¿¡¼­´Â Yast -> Cluster ·Î ÁøÀÔ

[HA01]
Enable Security Auth üũ ¹× Generate Auth Key File Ŭ¸¯À¸·Î Authkey »ý¼º
Threads ´Â CPU Threads À̸ç ÀÚµ¿À¸·Î ¼³Á¤µÇ¾î ÀÖÀ½

Start Openais Now Ŭ¸¯À¸·Î µ¥¸ó ½ÇÇà

Sync Host Ãß°¡ ha01, ha02
Sync File Ãß°¡¸¦ À§ÇÑ Add Suggested Files
Generate Pre-Shared-Keys °ª »ý¼º
Turn Csync2 On

¼³Á¤µÈ corosync ¿Í csync2 ȯ°æ¼³Á¤À» HA2 ¿Í µ¿±âÈ­ ½ÃŲ´Ù.
#rsync -av /etc/corosync/ ha02:/etc/
#rsync -av /etc/corosync/ ha02:/etc/

rcxinetd µ¥¸ó Àç½ÃÀÛ
#rcxinetd restart

HA01 °ú HA02 ¼­¹öÀÇ HA ±¸¼º ÆÄÀÏ µ¿±âÈ­ ½ÃÀÛ
csync2 -xv

Á¤»óÀûÀ¸·Î µ¿±âÈ­°¡ µÈ´Ù¸é HA02 ¼­¹ö¿¡¼­´Â ¼³Á¤ ¾øÀÌ YAST CLUSTER ±¸¼ºÀÌ µÇ¾î ÀÖ´Ù.
HA02 ¼­¹ö¿¡¼­ rcopenais ¸í·É¾î¸¦ ½ÇÇà ÈÄ HA01 ¼­¹ö¿¡¼­ crm_mon ¸í·É¾î¸¦ ÅëÇØ HA »óŸ¦ È®ÀÎÇÑ´Ù.

crm_gui & ¸í·É¾î¸¦ ÅëÇؼ­ GUI ¿¡¼­ È®ÀÎÇϱâ À§ÇÑ Æнº¿öµå ¼³Á¤ ÈÄ GUI ¸ðµå¿¡¼­ È®ÀÎ
#passwd hacluster
#crm_gui &


¸®¼Ò½º µî·ÏÀº ÃßÈÄ¿¡..


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com