{"id":1127,"date":"2014-06-04T17:00:33","date_gmt":"2014-06-04T08:00:33","guid":{"rendered":"http:\/\/blog.systemworks.co.jp\/?p=1127"},"modified":"2014-06-04T17:05:38","modified_gmt":"2014-06-04T08:05:38","slug":"ha%e3%82%af%e3%83%a9%e3%82%b9%e3%82%bf%e3%83%bbnfs%e3%82%b5%e3%83%bc%e3%83%90%e3%81%a7%e3%81%aestonith%e5%8b%95%e4%bd%9c%e6%a4%9c%e8%a8%bc","status":"publish","type":"post","link":"https:\/\/blog.systemworks.co.jp\/?p=1127","title":{"rendered":"HA\u30af\u30e9\u30b9\u30bf\u30fbNFS\u30b5\u30fc\u30d0\u3067STONITH\u6a5f\u80fd\u306e\u52d5\u4f5c\u691c\u8a3c (\u30b9\u30d7\u30ea\u30c3\u30c8\u30d6\u30ec\u30a4\u30f3\u963b\u6b62)"},"content":{"rendered":"<p><a href=\"http:\/\/www.systemworks.co.jp\/pms_s420x.php\" target=\"_blank\">POWER MASTER Server S4200<\/a>\u306b\u306f\u30013.5\u30a4\u30f3\u30c1\u30924\u53f0\u30682.5\u30a4\u30f3\u30c1\u30921\u53f0\u642d\u8f09\u3067\u304d\u3001LAN\u30dd\u30fc\u30c8\u30924\u3064\u3068IPMI2.0\u6e96\u62e0\u306e\u30de\u30cd\u30fc\u30b8\u30e1\u30f3\u30c8\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u7528LAN\u30dd\u30fc\u30c8\u30921\u3064\u5099\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<table style=\"height: 100px;\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\" width=\"100%\">\n<colgroup>\n<col width=\"256*\"><\/col>\n<\/colgroup>\n<tbody>\n<tr>\n<td width=\"100%\" valign=\"TOP\">\n<a href=\"https:\/\/blog.systemworks.co.jp\/wp-content\/uploads\/2014\/06\/dt1.jpg\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/blog.systemworks.co.jp\/wp-content\/uploads\/2014\/06\/dt1.jpg\" alt=\"\" title=\"dt1\" width=\"60%\" height=\"60%\" class=\"aligncenter size-full wp-image-1183\" \/><\/a>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"100%\" valign=\"TOP\">\n<a href=\"https:\/\/blog.systemworks.co.jp\/wp-content\/uploads\/2014\/06\/rear_io2.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/blog.systemworks.co.jp\/wp-content\/uploads\/2014\/06\/rear_io2.png\" alt=\"\" title=\"rear_io2\" width=\"70%\" height=\"70%\" class=\"aligncenter size-full wp-image-1216\" \/><\/a>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a href=\"http:\/\/www.systemworks.co.jp\/images\/s008\/rackkit.jpg\" target=\"_blank\">S008 \u30e9\u30c3\u30af\u30de\u30a6\u30f3\u30c8 \u30ad\u30c3\u30c8<\/a>\u3092\u4f7f\u3046\u3068\u30011U\u30b9\u30da\u30fc\u30b9\u306bPOWER MASTER Server S4200\u30922\u53f0\u642d\u8f09\u51fa\u6765\u308b\u306e\u3067\u3001HA\u30af\u30e9\u30b9\u30bf\u30fbNFS\u30b5\u30fc\u30d0\u3092\u69cb\u7bc9\u3057\u3001\u969c\u5bb3\u6642\u306e\u52d5\u4f5c\u78ba\u8a8d\u3092\u884c\u3044\u307e\u3057\u305f\u3002<\/p>\n<p><strong>\u25ce \u74b0\u5883<\/strong><\/p>\n<p>\u30c7\u30a3\u30b9\u30af\u69cb\u6210<\/p>\n<ul>\n<li>120GB SSD x1\u53f0 (CentOS6.5 x86_64\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002)<\/li>\n<li>4TB HDD x4\u53f0 (\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2RAID5\u3092\u69cb\u7bc9\u3002)<\/li>\n<\/ul>\n<p>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af<\/p>\n<ul>\n<li>bond0 (eth0\u3068eth1\u3067bond0\u3092\u8a2d\u5b9a\u3002)<\/li>\n<li>eth2,eth3 (\u6b7b\u6d3b\u78ba\u8a8d\u7528\u3002eth3\u306fDRBD\u540c\u671f\u7528\u3082\u517c\u306d\u308b\u3002)<\/li>\n<li>IPMI\u30dd\u30fc\u30c8 (STONITH\u6a5f\u80fd\u3067\u5229\u7528\u3002)<\/li>\n<\/ul>\n<p>HA\u30af\u30e9\u30b9\u30bf\u7528\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2<\/p>\n<ul>\n<li><a href=\"http:\/\/elrepo.org\/tiki\/tiki-index.php\" target=\"_blank\">DRBD8.4<\/a><\/li>\n<li>Pacemaker+Heartbeat (<a href=\"http:\/\/linux-ha.sourceforge.jp\/wp\/dl\/packages\" target=\"_blank\">Pacemaker\u30ea\u30dd\u30b8\u30c8\u30ea\u30d1\u30c3\u30b1\u30fc\u30b8 (RHEL6) (1.0.13-1.2)<\/a>)<\/li>\n<\/ul>\n<p>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u69cb\u6210\u56f3<\/p>\n<p><a href=\"https:\/\/blog.systemworks.co.jp\/wp-content\/uploads\/2014\/06\/cluster_network2.png\"  target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/blog.systemworks.co.jp\/wp-content\/uploads\/2014\/06\/cluster_network2.png\" alt=\"\" title=\"cluster_network2\" width=\"70%\" height=\"70%\" class=\"aligncenter size-full wp-image-1182\" \/><\/a><\/p>\n<p>\u60f3\u5b9a\u3057\u305f\u6545\u969c\u306f\u3001LAN\u30dd\u30fc\u30c8\u6545\u969c\u306b\u3088\u308a2\u53f0\u306e\u30b5\u30fc\u30d0\u9593\u3067\u6b7b\u6d3b\u78ba\u8a8d\u304c\u51fa\u6765\u306a\u304f\u306a\u3063\u305f\u5834\u5408\u3067\u3001\u305d\u306e\u969b\u3001STONITH\u6a5f\u80fd\u306b\u3088\u308a\u5b9f\u884c\u3055\u308c\u308b\u30b9\u30bf\u30f3\u30d0\u30a4\u30b5\u30fc\u30d0\u518d\u8d77\u52d5\u306e\u78ba\u8a8d\u3067\u3059\u3002<\/p>\n<p>\u69cb\u7bc9\u3057\u305f\u30af\u30e9\u30b9\u30bf\u306f\u3001\u30a2\u30af\u30c6\u30a3\u30d6\/\u30b9\u30bf\u30f3\u30d0\u30a4\u578b\u306eHA\u30af\u30e9\u30b9\u30bf\u3067\u3059\u3002\u5404\u30b5\u30fc\u30d0\u306eeth2\u30dd\u30fc\u30c8\u3068eth3\u30dd\u30fc\u30c8\u3092\u5229\u7528\u3057\u3066\u6b7b\u6d3b\u78ba\u8a8d\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u7247\u65b9\u306e\u30b5\u30fc\u30d0\u306eeth2\u30dd\u30fc\u30c8\u3068eth3\u30dd\u30fc\u30c8\u3001server1\u306eeth2\u30dd\u30fc\u30c8\u3068server2\u306eeth3\u30dd\u30fc\u30c8\u306a\u3069\u3044\u304f\u3064\u304b\u7d44\u307f\u5408\u308f\u305b\u30d1\u30bf\u30fc\u30f3\u304c\u8003\u3048\u3089\u308c\u307e\u3059\u304c\u3001eth2\u30dd\u30fc\u30c8\u3068eth3\u30dd\u30fc\u30c8\u304c\u540c\u6642\u306b\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u306a\u304f\u306a\u308b\u3068\u3001\u6b7b\u6d3b\u78ba\u8a8d\u304c\u51fa\u6765\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/blog.systemworks.co.jp\/wp-content\/uploads\/2014\/06\/eth2_eth3_dead0.png\"  target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/blog.systemworks.co.jp\/wp-content\/uploads\/2014\/06\/eth2_eth3_dead0.png\" alt=\"\" title=\"eth2_eth3_dead0\" width=\"70%\" height=\"70%\" class=\"aligncenter size-full wp-image-1184\" \/><\/a><\/p>\n<p>\u6b7b\u6d3b\u78ba\u8a8d\u304c\u51fa\u6765\u306a\u304f\u306a\u3063\u3066\u3044\u308b\u3060\u3051\u3067\u3001\u30a2\u30af\u30c6\u30a3\u30d6\u30b5\u30fc\u30d0\u306f\u505c\u6b62\u3057\u3066\u304a\u3089\u305a\u3001NFS\u30b5\u30fc\u30d3\u30b9\u304c\u7d99\u7d9a\u3057\u3066\u52d5\u4f5c\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30b9\u30bf\u30f3\u30d0\u30a4\u30b5\u30fc\u30d0\u306f\u3001\u30a2\u30af\u30c6\u30a3\u30d6\u30b5\u30fc\u30d0\u304c\u505c\u6b62\u3057\u305f\u3068\u5224\u65ad\u3057\u3066\u3001\u30a2\u30af\u30c6\u30a3\u30d6\u30b5\u30fc\u30d0\u3078\u306e\u6607\u683c\u3057\u3088\u3046\u3068\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u6607\u683c\u3059\u308b\u3068\u30b5\u30fc\u30d3\u30b9\u304c\u4e8c\u91cd\u8d77\u52d5\u3059\u308b\u30b9\u30d7\u30ea\u30c3\u30c8\u30d6\u30ec\u30a4\u30f3\u304c\u8d77\u304d\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u30b9\u30d7\u30ea\u30c3\u30c8\u30d6\u30ec\u30a4\u30f3\u3092\u9632\u3050\u305f\u3081\u306b\u3001STONITH\u6a5f\u80fd\u306b\u3088\u308a\u30a2\u30af\u30c6\u30a3\u30d6\u30b5\u30fc\u30d0\u304c\u30b9\u30bf\u30f3\u30d0\u30a4\u30b5\u30fc\u30d0\u3092\u518d\u8d77\u52d5\u3055\u305b\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/blog.systemworks.co.jp\/wp-content\/uploads\/2014\/06\/stonith1.png\"  target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/blog.systemworks.co.jp\/wp-content\/uploads\/2014\/06\/stonith1.png\" alt=\"\" title=\"stonith1\" width=\"70%\" height=\"70%\" class=\"aligncenter size-full wp-image-1185\" \/><\/a><\/p>\n<p>\u4ee5\u4e0b\u306f\u3001pacemaker\u306eCRM\u8a2d\u5b9a(\u4e00\u90e8)\u3067\u3059\u3002<\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"4\" width=\"100%\">\n<colgroup>\n<col width=\"256*\"><\/col>\n<\/colgroup>\n<tbody>\n<tr>\n<td width=\"100%\" valign=\"TOP\">\n\uff5e<br \/>\nprimitive prmHelper1-1 stonith:external\/stonith-helper \u00a5<br \/>\n\tparams priority=&#8221;1&#8243; stonith-timeout=&#8221;80s&#8221; hostlist=&#8221;server1&#8243; dead_check_target=&#8221;IP addresses&#8221; run_standby_wait=&#8221;yes&#8221; standby_check_command=&#8221;\/usr\/sbin\/crm_resource -r res_IPaddr2_1 -W | grep -q `hostname`&#8221; \u00a5<br \/>\n\top start interval=&#8221;0s&#8221; timeout=&#8221;60s&#8221; \u00a5<br \/>\n\top monitor interval=&#8221;10s&#8221; timeout=&#8221;60s&#8221; \u00a5<br \/>\n\top stop interval=&#8221;0s&#8221; timeout=&#8221;60s&#8221; \u00a5<br \/>\n\tmeta target-role=&#8221;started&#8221;<br \/>\nprimitive prmIpmi1-2 stonith:external\/ipmi \u00a5<br \/>\n\tparams priority=&#8221;2&#8243; stonith-timeout=&#8221;60s&#8221; userid=&#8221;\u30e6\u30fc\u30b6\u30fcID&#8221; passwd=&#8221;\u30d1\u30b9\u30ef\u30fc\u30c9&#8221; ipaddr=&#8221;IP address&#8221; hostname=&#8221;server1&#8243; interface=&#8221;lanplus&#8221; \u00a5<br \/>\n\top start interval=&#8221;0s&#8221; timeout=&#8221;60s&#8221; on-fail=&#8221;restart&#8221; \u00a5<br \/>\n\top monitor interval=&#8221;3600s&#8221; timeout=&#8221;60s&#8221; on-fail=&#8221;restart&#8221; \u00a5<br \/>\n\top stop interval=&#8221;0s&#8221; timeout=&#8221;60s&#8221; on-fail=&#8221;ignore&#8221; \u00a5<br \/>\n\tmeta target-role=&#8221;started&#8221;<br \/>\nprimitive prmMeatware1-3 stonith:meatware \u00a5<br \/>\n\tparams priority=&#8221;3&#8243; stonith-timeout=&#8221;600&#8243; hostlist=&#8221;server1&#8243; \u00a5<br \/>\n\top start interval=&#8221;0s&#8221; timeout=&#8221;60s&#8221; \u00a5<br \/>\n\top monitor interval=&#8221;3600s&#8221; timeout=&#8221;60s&#8221; \u00a5<br \/>\n\top stop interval=&#8221;0s&#8221; timeout=&#8221;60s&#8221; \u00a5<br \/>\n\tmeta target-role=&#8221;started&#8221;<br \/>\ngroup grpStonith1 prmHelper1-1 prmIpmi1-2 prmMeatware1-3<br \/>\nlocation loc-grpStonith1 grpStonith1 \u00a5<br \/>\n\trule $id=&#8221;loc-grpStonith1-rule&#8221; -inf: #uname eq server1<br \/>\n\uff5e\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u7c21\u5358\u306b\u8a2d\u5b9a\u3057\u305f\u5185\u5bb9\u3092\u307e\u3068\u3081\u308b\u3068\u3001<\/p>\n<ol>\n<li>\u3069\u3061\u3089\u306e\u30b5\u30fc\u30d0\u304c\u30a2\u30af\u30c6\u30a3\u30d6\u30b5\u30fc\u30d0\u3067\u3042\u308b\u304b\u5224\u5b9a\u3002(stonith:external\/stonith-helper\u3092\u5229\u7528\u3002\uff09<\/li>\n<li>\u30a2\u30af\u30c6\u30a3\u30d6\u30b5\u30fc\u30d0\u304c\u30b9\u30bf\u30f3\u30d0\u30a4\u30b5\u30fc\u30d0\u3092\u518d\u8d77\u52d5\u3055\u305b\u308b\u3002(stonith:external\/ipmi\u3092\u5229\u7528\u3002)<\/li>\n<li>stonith:external\/ipmi\u306b\u3088\u308a\u30b9\u30bf\u30f3\u30d0\u30a4\u30b5\u30fc\u30d0\u304c\u518d\u8d77\u52d5\u3057\u306a\u3044\u5834\u5408\u3001\u30b5\u30fc\u30d0\u7ba1\u7406\u8005\u306b\u3088\u308b\u518d\u8d77\u52d5\u3092\u6c42\u3081\u308b\u3002(stonith:meatware\u3092\u5229\u7528\u3002)<\/li>\n<\/ol>\n<p>\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><strong>\u25ce \u52d5\u4f5c\u78ba\u8a8d<\/strong><\/p>\n<ol>\n<li>server1\u5074\u3067\u3001eth2\u30dd\u30fc\u30c8\u3068eth3\u30dd\u30fc\u30c8\u306b\u53d6\u308a\u4ed8\u3051\u3089\u308c\u3066\u3044\u308bLAN\u30b1\u30fc\u30d6\u30eb\u3092\u629c\u304f\u3002(\u3053\u308c\u306b\u3088\u308a\u6b7b\u6d3b\u78ba\u8a8d\u304c\u51fa\u6765\u306a\u304f\u306a\u308a\u307e\u3059\u3002)<\/li>\n<table style=\"height: 100px;\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\" width=\"100%\">\n<colgroup>\n<col width=\"256*\"><\/col>\n<\/colgroup>\n<tbody>\n<tr>\n<td width=\"100%\" valign=\"TOP\">\n<a href=\"https:\/\/blog.systemworks.co.jp\/wp-content\/uploads\/2014\/06\/eth2-eth3_cable_unpluged.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/blog.systemworks.co.jp\/wp-content\/uploads\/2014\/06\/eth2-eth3_cable_unpluged.png\" alt=\"\" title=\"eth2-eth3_cable_unpluged\" width=\"70%\" height=\"70%\" class=\"aligncenter size-full wp-image-1197\" \/><\/a>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<li>crm_mon\u30b3\u30de\u30f3\u30c9\u3067\u3001server2\u306e\u518d\u8d77\u52d5\u3092\u78ba\u8a8d\u3002<\/li>\n<table style=\"height: 100px;\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\" width=\"100%\">\n<colgroup>\n<col width=\"256*\"><\/col>\n<\/colgroup>\n<tbody>\n<tr>\n<td width=\"100%\" valign=\"TOP\">\n<a href=\"https:\/\/blog.systemworks.co.jp\/wp-content\/uploads\/2014\/06\/crm_mon0.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/blog.systemworks.co.jp\/wp-content\/uploads\/2014\/06\/crm_mon0.png\" alt=\"\" title=\"crm_mon0\" width=\"55%\" height=\"55%\" class=\"aligncenter size-full wp-image-1209\" \/><\/a>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/ol>\n<p>\u30a2\u30af\u30c6\u30a3\u30d6\u30b5\u30fc\u30d0\u306eeth2\u30dd\u30fc\u30c8\u3068eth3\u30dd\u30fc\u30c8\u304b\u3089LAN\u30b1\u30fc\u30d6\u30eb\u3092\u629c\u304d\u53d6\u3063\u3066\u3082\u3001STONITH\u6a5f\u80fd\u306b\u3088\u308a\u30b9\u30bf\u30f3\u30d0\u30a4\u30b5\u30fc\u30d0\u306e\u518d\u8d77\u52d5\u304c\u78ba\u8a8d\u51fa\u6765\u307e\u3057\u305f\u3002\u307e\u305f\u3001HA\u30af\u30e9\u30b9\u30bf\u30fbNFS\u30b5\u30fc\u30d3\u30b9\u3082\u7d99\u7d9a\u3057\u3066\u52d5\u4f5c\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u51fa\u6765\u307e\u3057\u305f\u3002<\/p>\n<p>\u306a\u304a\u3001\u5b9f\u969b\u306b\u969c\u5bb3\u304c\u8d77\u304d\u305f\u5834\u5408\u3001\u6545\u969c\u7b87\u6240\u306e\u7279\u5b9a\u306b\u306f\u3001\u30b5\u30fc\u30d0\u306e\u52d5\u4f5c\u30ed\u30b0\u306a\u3069\u306e\u78ba\u8a8d\u304c\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>POWER MASTER Server S4200\u306b\u306f\u30013.5\u30a4\u30f3\u30c1\u30924\u53f0\u30682.5\u30a4\u30f3\u30c1\u30921\u53f0\u642d\u8f09\u3067\u304d\u3001LAN\u30dd\u30fc\u30c8\u30924\u3064\u3068IPMI2.0\u6e96\u62e0\u306e\u30de\u30cd\u30fc\u30b8\u30e1\u30f3\u30c8\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u7528LAN\u30dd\u30fc\u30c8\u30921\u3064\u5099\u3048\u3066\u3044\u307e\u3059\u3002 S008 \u30e9\u30c3 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,8,9,7],"tags":[],"class_list":["post-1127","post","type-post","status-publish","format-standard","hentry","category-pc","category-8","category-9","category-7"],"_links":{"self":[{"href":"https:\/\/blog.systemworks.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/1127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.systemworks.co.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.systemworks.co.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.systemworks.co.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.systemworks.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1127"}],"version-history":[{"count":90,"href":"https:\/\/blog.systemworks.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/1127\/revisions"}],"predecessor-version":[{"id":1131,"href":"https:\/\/blog.systemworks.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/1127\/revisions\/1131"}],"wp:attachment":[{"href":"https:\/\/blog.systemworks.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.systemworks.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.systemworks.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}