清水 純
jun.s****@centr*****
2015年 1月 22日 (木) 16:55:12 JST
$B @ 6?e$H?=$7$^$9!#(B > $B-!(BRHEL6.5$B$G!V(Bpacemaker$B!\(Bcorosync$B!W$r;H$C$F(B > $B%/%i%9%?9=@.$rAH$`$3$H$O2DG=$J$N$G$7$g$&$+!#(B $BIaDL$KAH$a$^$9$7!"J@<R$G$O(B DRBD $B$HAH$_9g$o$;$F(B Oracle $B$H$+(B MySQL $B$N(B HA $B4D6-(B $B:n$C$F<B:]$K1?MQ$7$F$$$^$9!#(B > $B-"$b$72DG=$G$"$l$P!"<j=g$N$I$3$KITHw$,$"$k$N$G$7$g$&$+(B corosync.conf $B$N @ _Dj$,$A$c$s$HF~$C$F$$$J$$$h$&$G$9!#(B $B0zMQ$5$l$F$$$k(BURL$B$N<j=g$K!V%/%i%9%?@)8fIt$K(BCorosync$B$r;HMQ$9$k>l9g$N @ _Dj!W(B $B$H$$$&ItJ,$,M-$j$^$9$N$G!"$3$N @ _Dj$r$=$N$^$^%3%T%Z$7$F%$%s%?!<%3%M%/%H$N(B $B>pJs$@$14D6-$K9g$o$;$F$_$F$/$@$5$$!#(B $B;d$OI,MW$J%Q%C%1!<%8$@$1$$$l$?$i!"8e$O(B LCMC $B$r;H$C$F:GDc8BF0$+$9$?$a$KI,MW$J(B $B=i4|@_Dj$@$1$O$=$A$i$KG$$;$F$7$^$&$H$$$C$?J}K!$r<h$C$?$j$7$^$9!#(B LCMC(http://lcmc.sourceforge.net/) $B;29M$K$J$l$P!#(B On 2015/01/22 16:29, $B$h$7$P!<(B wrote: > $B$*@$OC$K$J$C$F$*$j$^$9!#(B > $BKLNS$H?=$7$^$9!#(B > $BBgJQ62=L$J$,$i!"%a!<%j%s%0%j%9%HMxMQ$O=i$a$F$G$9!#(B > $B;H$$J}$K4V0c$$$,$"$j$^$7$?$i?=$7Lu$4$6$$$^$;$s!#(B > > > $B!V(BRHEL6.5$B%5!<%P!<(B2$BBf$r(Bpacemaker+corosync$B$G%/%i%9%?9=@.$K$9$kJ}K!!W(B > $B$K$D$$$F$465<xD:$-$?$/;W$$$^$9!#(B > $B%M%C%H$GD4$Y$F<+J,$J$j$KAH$s$G$_$?$N$G$9$,!"@5>o$KF0:n$7$J$+$C$?$N$G!D!#(B > > $B0J2<$NFbMF$G9=@.$$$?$7$^$7$?!#(B > > $B!a!a!a!a!a!a!a!a!a!a!a!a(B > > <$B%5!<%P>pJs(B> > $B%5!<%P(B1 > $B!Z%[%9%HL>![(Bfirst > $B!Z(BOS$B![(BRHEL6.5 > $B!Z(BIP$B%"%I%l%9![(B172.16.87.233 > > $B%5!<%P(B2 > $B!Z%[%9%HL>![(Bsecond > $B!Z(BOS$B![(BRHEL6.5 > $B!Z(BIP$B%"%I%l%9![(B172.16.87.234 > > $B!a!a!a!a!a!a!a!a!a!a!a!a(B > > $B!&%$%s%9%H!<%k$7$?%j%]%8%H%j(B > http://sourceforge.jp/projects/linux-ha/releases/p12469 $B$+$i!"(B > pacemaker-repo-1.1.12-1.1.el6.x86_64.rpm$B!!$r<hF@(B > > $B!&<j=g$r;29M$K$7$?(BURL$B!J(Bcorosync.conf$B$NCf?H0J30!"$3$N<j=g$G9T$$$^$7$?!K(B > > http://linux-ha.sourceforge.jp/wp/dl/pminstall_cent5 > $B!a!a!a!a!a!a!a!a!a!a!a!a(B > > $B!Z%3%^%s%I<j=g![!J%5!<%P(B2$BBf$H$bF1$8 @ _Dj$G$9!#!K(B > # mv pacemaker-repo-1.1.12-1.1.el6.x86_64.rpm /tmp > # cd /tmp > # rpm -ivh pacemaker-repo-1.1.12-1.1.el6.x86_64.rpm > # cd /etd/yum.repos.d/ > # yum -c pacemaker.repo install pacemaker corosync > > # vi /etc/corosync/corosync.conf > > # service corosync start > # service corosync start > > #crm_mon > $B"*"*=PNO$,!V(BAttempting $B!D!W$H=PNO$5$l$?$-$jF0$+$J$$(B > > $B!a!a!a!a!a!a!a!a!a!a!a!a(B > $B!&(B/etc/corosync/corosync.conf $B @ _Dj(B > > # Please read the corosync.conf.5 manual page > totem { > version: 2 > > # crypto_cipher and crypto_hash: Used for mutual node authentication. > # If you choose to enable this, then do remember to create a shared > # secret with "corosync-keygen". > # enabling crypto_cipher, requires also enabling of crypto_hash. > crypto_cipher: none > crypto_hash: none > # interface: define at least one interface to communicate > # over. If you define more than one interface stanza, you must > # also set rrp_mode. > interface { > # Rings must be consecutively numbered, starting at 0. > ringnumber: 0 > # This is normally the *network* address of the > # interface to bind to. This ensures that you can use > # identical instances of this configuration file > # across all your cluster nodes, without having to > # modify this option. > bindnetaddr: 172.16.87.0 > $B!!!!!!!!!!!!!!(B # However, if you have multiple physical network > # interfaces configured for the same subnet, then the > # network address alone is not sufficient to identify > # the interface Corosync should bind to. In that case, > # configure the *host* address of the interface > # instead: > # bindnetaddr: 192.168.1.1 > # When selecting a multicast address, consider RFC > # 2365 (which, among other things, specifies that > # 239.255.x.x addresses are left to the discretion of > # the network administrator). Do not reuse multicast > # addresses across multiple Corosync clusters sharing > # the same network. > mcastaddr: 239.255.1.1 > # Corosync uses the port you specify here for UDP > # messaging, and also the immediately preceding > # port. Thus if you set this to 5405, Corosync sends > # messages over UDP ports 5405 and 5404. > mcastport: 5405 > # Time-to-live for cluster communication packets. The > # number of hops (routers) that this ring will allow > # itself to pass. Note that multicast routing must be > # specifically enabled on most network routers. > ttl: 1 > } > } > logging { > # Log the source file and line where messages are being > # generated. When in doubt, leave off. Potentially useful for > # debugging. > fileline: off > # Log to standard error. When in doubt, set to no. Useful when > # running in the foreground (when invoking "corosync -f") > to_stderr: no > # Log to a log file. When set to "no", the "logfile" option > # must not be set. > to_logfile: yes > logfile: /var/log/cluster/corosync.log > # Log to the system log daemon. When in doubt, set to yes. > to_syslog: yes > # Log debug messages (very verbose). When in doubt, leave off. > debug: off > # Log messages with time stamps. When in doubt, set to on > # (unless you are only logging to syslog, where double > # timestamps can be annoying). > timestamp: on > logger_subsys { > subsys: QUORUM > debug: off > } > } > > quorum { > # Enable and configure quorum subsystem (default: off) > # see also corosync.conf.5 and votequorum.5 > #provider: corosync_votequorum > } > $B!a!a!a!a!a!a!a!a!a!a!a!a(B > > $B!c:$$C$F$$$k$3$H!d(B > > corosinc$B$,5!G=$7$F$$$J$$(B > $B(&(Bcrm_mon $B%3%^%s%I$r$&$C$F$b!"!V(BAttemting$B!&!&!&!W$HI=<($5$l$k$@$1(B > > > $B!a!a!a!a!a!a!a!a!a!a!a!a(B > > $B<ALd$J$N$G$9$,!"(B > > $B-!(BRHEL6.5$B$G!V(Bpacemaker$B!\(Bcorosync$B!W$r;H$C$F(B > $B%/%i%9%?9=@.$rAH$`$3$H$O2DG=$J$N$G$7$g$&$+!#(B > > $B-"$b$72DG=$G$"$l$P!"<j=g$N$I$3$KITHw$,$"$k$N$G$7$g$&$+(B > > > $B-#IT2DG=$G$"$l$P!"(BRHEL6.5$B$G%/%i%9%?9=@.$rAH$`$?$a$K(B > $BI,MW$J$b$N!";29M$K$J$k$b$N$r65$($F$$$?$@$1$J$$$G$7$g$&$+!#(B > > > $B$h$m$7$/$*4j$$CW$7$^$9!#(B > > > > _______________________________________________ > Linux-ha-japan mailing list > Linux****@lists***** > http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan >