{"id":5148,"date":"2012-10-15T01:00:01","date_gmt":"2012-10-14T16:00:01","guid":{"rendered":"https:\/\/www.taruki.com\/wp\/?p=5148"},"modified":"2012-10-15T01:00:01","modified_gmt":"2012-10-14T16:00:01","slug":"lvs%e5%ae%9f%e9%a8%93","status":"publish","type":"post","link":"https:\/\/www.taruki.com\/wp\/?p=5148","title":{"rendered":"LVS\u5b9f\u9a13"},"content":{"rendered":"<p>LVS\u30b5\u30fc\u30d0\u30fc\u306f\u3001eth0\u306b\u30b5\u30fc\u30d3\u30b9IP\u306eIP Alias\u3092\u8a2d\u5b9a<br \/>\n<PRE><br \/>\nauto eth0:0<br \/>\nallow-hotplug eth0:0<br \/>\niface eth0:0 inet static<br \/>\naddress 192.168.24.40\u3000\u2190\u30b5\u30fc\u30d3\u30b9IP<br \/>\nnetmask 255.255.255.0<br \/>\n<\/PRE><br \/>\n\u3042\u3068\u306f\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u3044\u308d\u3044\u308d\u8a2d\u5b9a<br \/>\n<PRE><br \/>\n# ipvsadm.rules<br \/>\n-A -t 192.168.24.40:80 -s rr<br \/>\n-a -t 192.168.24.40:80 -r 192.168.24.30:80 -g -w 1<br \/>\nroot@lvs0:~# cat \/etc\/default\/ipvsadm<br \/>\n# ipvsadm<br \/>\n# if you want to start ipvsadm on boot set this to true<br \/>\nAUTO=&#8221;true&#8221;<br \/>\n# daemon method (none|master|backup)<br \/>\nDAEMON=&#8221;master&#8221;<br \/>\n# use interface (eth0,eth1&#8230;)<br \/>\nIFACE=&#8221;eth0&#8243;<br \/>\n# syncid to use<br \/>\nSYNCID=&#8221;1&#8243;<br \/>\n<\/PRE><br \/>\n<BR><br \/>\n\u7269\u7406\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u306f\u3053\u3093\u306a\u98a8\u306b\u8a2d\u5b9a<br \/>\n<PRE><br \/>\nauto lo:0<br \/>\niface lo:0 inet static<br \/>\naddress 192.168.24.40 \u2190\u30b5\u30fc\u30d3\u30b9IP<br \/>\nnetmask 255.255.255.255<br \/>\n<\/PRE><\/p>\n","protected":false},"excerpt":{"rendered":"<p>LVS\u30b5\u30fc\u30d0\u30fc\u306f\u3001eth0\u306b\u30b5\u30fc\u30d3\u30b9IP\u306eIP Alias\u3092\u8a2d\u5b9a auto eth0:0 allow-hotplug eth0:0 iface eth0:0 inet static address 192.168.24. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[17],"tags":[],"class_list":["post-5148","post","type-post","status-publish","format-standard","hentry","category-taruki-com"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.taruki.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/5148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.taruki.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.taruki.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.taruki.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.taruki.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5148"}],"version-history":[{"count":0,"href":"https:\/\/www.taruki.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/5148\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.taruki.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.taruki.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.taruki.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}