{"id":254611,"date":"2015-04-06T16:52:02","date_gmt":"2015-04-06T12:52:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=254611"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=254611","title":{"rendered":"\u0411\u044e\u0434\u0436\u0435\u0442\u043d\u043e\u0435 SAN-\u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u043d\u0430 LSI Syncro, \u0447\u0430\u0441\u0442\u044c 2"},"content":{"rendered":"<p>     \t<img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/f3d\/d5f\/771\/f3dd5f77120045a7aaa1a62f403f7997.jpg\"\/><\/p>\n<p>  \u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0443, \u043f\u0435\u0440\u0432\u0430\u044f \u0447\u0430\u0441\u0442\u044c <a href=\"http:\/\/habrahabr.ru\/post\/252403\/\">\u0442\u0443\u0442<\/a>.<\/p>\n<h1>\u041a\u043b\u0430\u0441\u0442\u0435\u0440<\/h1>\n<p>  \u0418\u0442\u0430\u043a, \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c \u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0441\u043e\u0444\u0442\u0430, \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0433\u043e \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u043e\u043c.<br \/>  \u0423 \u043d\u0430\u0441 \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 Pacemaker + Corosync \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u043d\u043e\u0433\u043e \u0431\u044d\u043a\u0435\u043d\u0434\u0430 \u0434\u043b\u044f \u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u043d\u043e\u0434\u0430\u043c\u0438.<br \/>  Corosync \u0434\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u043d\u0430\u0434\u0451\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043b\u0435\u0446 \u043e\u0431\u043c\u0435\u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u043c\u0438.<br \/>  \u041f\u0440\u0438\u0447\u0451\u043c, \u0442\u0440\u0438 \u0438 \u0431\u043e\u043b\u0435\u0435 \u0443\u0436\u0435 \u043d\u0435 \u0442\u044f\u043d\u0435\u0442, \u0445\u043e\u0442\u044f \u0432 \u0434\u043e\u043a\u0430\u0445 \u043f\u0440\u043e \u044d\u0442\u043e \u043d\u0438\u0433\u0434\u0435 \u043e\u0441\u043e\u0431\u043e \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043e, \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0443\u0433\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0435\u0441\u043b\u0438 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u0434\u0432\u0443\u0445 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435.<\/p>\n<p>  \u041a\u043e\u043b\u044c\u0446\u0430 \u043d\u0430\u0437\u0432\u0430\u043d\u044b \u0442\u0430\u043a \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043c\u0435\u0436\u0434\u0443 \u043d\u043e\u0434\u0430\u043c\u0438 \u0438\u0434\u0451\u0442 \u043f\u043e \u043a\u043e\u043b\u044c\u0446\u0443 \u2014 \u043d\u043e\u0434\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0443 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0437\u0430\u043e\u0434\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u044f \u0436\u0438\u0432\u0443\u0447\u0435\u0441\u0442\u044c \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0430. \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043e\u043d\u043e \u043f\u043e UDP, \u043c\u043e\u0436\u0435\u0442 \u043a\u0430\u043a \u043f\u043e \u043c\u0443\u043b\u044c\u0442\u0438\u043a\u0430\u0441\u0442\u0443, \u0442\u0430\u043a \u0438 \u043f\u043e \u0443\u043d\u0438\u043a\u0430\u0441\u0442\u0443. \u0423 \u043d\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439, \u043f\u043e\u0447\u0435\u043c\u0443 \u2014 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u043d\u0438\u0436\u0435.<\/p>\n<h2>\u041a\u043e\u043b\u044c\u0446\u0430<\/h2>\n<p>  \u0414\u043b\u044f \u0441\u0432\u044f\u0437\u0438 \u043c\u0435\u0436\u0434\u0443 \u043d\u043e\u0434\u0430\u043c\u0438 \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0430\u0440\u0430\u043d\u043e\u0438\u0434\u0430\u043b\u044c\u043d\u0443\u044e \u0441\u0445\u0435\u043c\u0443 \u2014 \u0432\u043d\u0435\u0448\u043d\u0435\u0435 \u043a\u043e\u043b\u044c\u0446\u043e \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u044b (\u0442\u0443\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 Bonding\/Etherchannel \u043d\u0430 \u0434\u0432\u0430 \u0441\u0432\u0438\u0447\u0430) + \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0435 \u043a\u043e\u043b\u044c\u0446\u043e, \u0441\u043e\u0435\u0434\u0438\u043d\u044f\u044e\u0449\u0435\u0435 \u043d\u043e\u0434\u044b \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e (\u043d\u0430\u043f\u043e\u043c\u043d\u044e, \u0447\u0442\u043e \u0438\u0445 \u0442\u0440\u0438 \u2014 \u0434\u0432\u0430 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 + \u0441\u0432\u0438\u0434\u0435\u0442\u0435\u043b\u044c).<\/p>\n<p>  \u0421\u0445\u0435\u043c\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f:<br \/>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/93f\/752\/996\/93f7529961bc4af9aa74faae424b7d54.png\"\/><\/p>\n<p>  \u0417\u0435\u043b\u0451\u043d\u044b\u0435 \u0441\u0432\u044f\u0437\u0438 \u2014 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0435 \u043a\u043e\u043b\u044c\u0446\u043e, \u0447\u0451\u0440\u043d\u044b\u0435 \u2014 \u0432\u043d\u0435\u0448\u043d\u0435\u0435. \u0412 \u0434\u0430\u043d\u043d\u043e\u0439 \u0442\u043e\u043f\u043e\u043b\u043e\u0433\u0438\u0438 \u043d\u043e\u0434\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u0443\u0434\u0443\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0441\u0432\u044f\u0437\u043d\u043e\u0441\u0442\u044c \u0434\u0430\u0436\u0435 \u043f\u0440\u0438 \u043f\u043e\u043b\u043d\u043e\u043c \u043e\u0442\u043a\u0430\u0437\u0435 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 (\u0448\u0442\u043e\u0440\u043c \u043f\u043e\u043b\u043e\u0436\u0438\u043b \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u044b, \u0430\u0434\u043c\u0438\u043d (\u0442\u043e \u0431\u0438\u0448\u044c \u044f) \u0441\u0432\u043e\u0438\u043c\u0438 \u043a\u0440\u0438\u0432\u044b\u043c\u0438 \u0440\u0443\u043a\u0430\u043c\u0438 \u0447\u0442\u043e-\u0442\u043e \u043d\u0430\u043f\u043e\u0440\u0442\u0430\u0447\u0438\u043b\u2026 \u043c\u0430\u043b\u043e\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u043d\u043e \u0432\u0441\u0451 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c).<br \/>  <a name=\"habracut\"><\/a><br \/>  \u041d\u043e \u0442\u0443\u0442 \u0441\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u0437\u0430\u0442\u044b\u043a \u2014 \u043a\u0430\u043a \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0439 \u043e\u0431\u043c\u0435\u043d \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043c\u0435\u0436\u0434\u0443 \u043d\u043e\u0434\u0430\u043c\u0438 \u043f\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u043c\u0443 \u043a\u043e\u043b\u044c\u0446\u0443? \u0410 \u0432\u0435\u0434\u044c \u044d\u0442\u043e \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u043e\u043f\u043e\u043b\u043e\u0433\u0438\u044f \u043a\u043e\u043b\u044c\u0446\u043e, \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u043d\u0430\u044f \u0434\u043b\u044f Ethernet. \u0421\u0432\u044f\u0437\u043d\u043e\u0441\u0442\u044c \u043c\u0435\u0436\u0434\u0443 \u043b\u044e\u0431\u044b\u043c\u0438 \u0434\u0432\u0443\u043c\u044f \u043d\u043e\u0434\u0430\u043c\u0438 \u0434\u043e\u043b\u0436\u043d\u0430 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c\u0441\u044f \u043f\u0440\u0438 \u0440\u0430\u0437\u0440\u044b\u0432\u0435 \u043b\u044e\u0431\u043e\u0433\u043e \u0438\u0437 \u0442\u0440\u0451\u0445 \u043b\u0438\u043d\u043a\u043e\u0432, \u043e\u0431\u0440\u0430\u0437\u0443\u044e\u0449\u0438\u0445 \u043a\u043e\u043b\u044c\u0446\u043e.<\/p>\n<p>  \u0411\u044b\u043b\u0438 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u044b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b:  <\/p>\n<ul>\n<li>\u041e\u0431\u044b\u0447\u043d\u044b\u0439 Ethernet-\u043c\u043e\u0441\u0442 + STP \u0434\u043b\u044f \u043e\u0431\u0440\u044b\u0432\u0430 \u043f\u0435\u0442\u0435\u043b\u044c. \u041f\u0440\u0438 \u0442\u044e\u043d\u0438\u043d\u0433\u0435 \u0442\u0430\u0439\u043c\u0435\u0440\u043e\u0432 STP \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0441\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0432 5-6 \u0441\u0435\u043a\u0443\u043d\u0434.\n<p>  \u0414\u043b\u044f \u043d\u0430\u0441 \u044d\u0442\u043e \u0432\u0435\u0447\u043d\u043e\u0441\u0442\u044c, \u043d\u0435 \u043f\u043e\u0439\u0434\u0451\u0442.<\/p>\n<\/li>\n<li>\u041e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0432 \u044f\u0434\u0440\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b <a href=\"http:\/\/en.wikipedia.org\/wiki\/High-availability_Seamless_Redundancy\">HSR<\/a>. \u0415\u0441\u043b\u0438 \u043a\u0440\u0430\u0442\u043a\u043e, \u0442\u043e \u043e\u043d \u0431\u044b\u043b \u0437\u0430\u0434\u0443\u043c\u0430\u043d \u0434\u043b\u044f \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0439 \u0441\u0432\u044f\u0437\u0438 \u0432 \u0442\u043e\u043f\u043e\u043b\u043e\u0433\u0438\u044f\u0445 Ring \u0438 Mesh \u0441 \u043c\u0433\u043d\u043e\u0432\u0435\u043d\u043d\u043e\u0439 \u0441\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c\u044e. \u0414\u0432\u0430 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u044e\u0442\u0441\u044f \u0432 \u043f\u043e\u0434\u043e\u0431\u0438\u0435 \u043c\u043e\u0441\u0442\u0430 \u0438 \u043f\u0430\u043a\u0435\u0442\u044b, \u0441 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0430\u043c\u0438, \u0443\u0445\u043e\u0434\u044f\u0442 \u0432 \u043e\u0431\u0430 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e. \u041f\u0440\u0438\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u043f\u0430\u043a\u0435\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u044b \u043d\u0435 \u043d\u0430\u043c \u2014 \u043f\u0435\u0440\u0435\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0434\u0430\u043b\u044c\u0448\u0435 \u043f\u043e \u043a\u043e\u043b\u044c\u0446\u0443. \u0414\u043b\u044f \u043e\u0442\u0441\u0435\u043a\u0430\u043d\u0438\u044f \u043f\u0435\u0442\u0435\u043b\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u044b \u0438\u0437 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0430 \u043f\u0430\u043a\u0435\u0442\u0430 (\u0442.\u0435. \u0442\u043e, \u0447\u0442\u043e \u0443\u0436\u0435 \u043f\u0435\u0440\u0435\u0441\u044b\u043b\u0430\u043b\u0438 \u2014 \u043e\u0442\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u043c, \u0432 \u0442\u0430\u043a\u043e\u043c \u0434\u0443\u0445\u0435).\n<p>  \u0412\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u0440\u0430\u0441\u0438\u0432\u043e \u0438 \u0432\u043a\u0443\u0441\u043d\u043e, \u043d\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0445\u0440\u043e\u043c\u0430\u0435\u0442: \u0434\u0430\u0436\u0435 \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u043c \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u043c \u044f\u0434\u0440\u0435 3.18 \u043f\u0440\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0438 HSR-\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u044d\u0442\u043e \u0441\u0430\u043c\u043e\u0435 \u044f\u0434\u0440\u043e \u043f\u0430\u0434\u0430\u0435\u0442 (\u0432 GIT \u0443\u0436\u0435 \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u043b\u0438).<br \/>  \u041d\u043e, \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u043d\u0435 \u0443\u0434\u0430\u043b\u044f\u0442\u044c \u2014 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441\u0442\u0440\u0430\u043d\u043d\u043e, \u044f \u0442\u0430\u043a \u0438 \u043d\u0435 \u0441\u043c\u043e\u0433 \u043f\u0440\u043e\u0433\u043d\u0430\u0442\u044c iperf \u043f\u043e \u043a\u043e\u043b\u044c\u0446\u0443 \u0434\u043b\u044f \u0437\u0430\u043c\u0435\u0440\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 (\u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u043e\u043a\u043e\u043b\u043e 50% \u043e\u0442 \u043d\u043e\u043c\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0439) \u2014 \u0442\u0440\u0430\u0444\u0444\u0438\u043a \u043d\u0435 \u0448\u0451\u043b, \u0445\u043e\u0442\u044f \u043f\u0438\u043d\u0433\u0438 \u0431\u0435\u0433\u0430\u043b\u0438, \u0433\u043b\u0443\u0431\u0436\u0435 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f \u043d\u0435 \u0441\u0442\u0430\u043b.<\/p>\n<p>  \u0412 \u043e\u0431\u0449\u0435\u043c, \u0442\u043e\u0436\u0435 \u043e\u0442\u043c\u0435\u0442\u0430\u0435\u043c.<\/p>\n<\/li>\n<li>OSPF. \u0423\u0447\u0438\u0442\u044b\u0432\u0430\u044f, \u0447\u0442\u043e \u0434\u043b\u044f Corosync \u043d\u0435 \u0432\u0430\u0436\u043d\u0430 L2-\u0441\u0432\u044f\u0437\u043d\u043e\u0441\u0442\u044c, \u044d\u0442\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0441\u0430\u043c\u044b\u0439 \u043f\u043e\u0434\u0445\u0434\u044f\u0449\u0438\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442. \u0412\u0440\u0435\u043c\u044f \u0441\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u043a\u043e\u043b\u043e 100\u043c\u0441\u0435\u043a, \u0447\u0442\u043e \u043d\u0430\u0441 \u0432\u043f\u043e\u043b\u043d\u0435 \u0443\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442.<\/li>\n<\/ul>\n<h3>Quagga<\/h3>\n<p>  \u0414\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 OSPF \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u041a\u0432\u0430\u0433\u0433\u0443. \u0415\u0441\u0442\u044c \u0435\u0449\u0451 \u043f\u0440\u043e\u0435\u043a\u0442 BIRD \u043e\u0442 \u043d\u0430\u0448\u0438\u0445 \u0441\u043e\u0441\u0435\u0434\u0435\u0439 \u0438\u0437 \u0427\u0435\u0445\u0438\u0438, \u043d\u043e \u043c\u043d\u0435 \u043a\u0430\u043a-\u0442\u043e \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u0435\u0435 Quagga. \u0425\u043e\u0442\u044f BIRD, \u043f\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0442\u0435\u0441\u0442\u0430\u043c, \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0438 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043c\u0435\u043d\u044c\u0448\u0435 \u043f\u0430\u043c\u044f\u0442\u0438, \u043d\u043e \u0432 \u043d\u0430\u0448\u0438\u0445 \u0440\u0435\u0430\u043b\u0438\u044f\u0445 \u044d\u0442\u043e, \u0432 \u043e\u0431\u0449\u0435\u043c, \u043f\u043e \u0431\u0430\u0440\u0430\u0431\u0430\u043d\u0443.<\/p>\n<p>  \u041a\u0430\u0436\u0434\u044b\u0439 \u043b\u0438\u043d\u043a \u043c\u0435\u0436\u0434\u0443 \u0445\u043e\u0441\u0442\u0430\u043c\u0438 \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \/24 \u0441\u0435\u0442\u044c\u044e. \u0414\u0430, \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \/30 \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \/31, \u043d\u043e \u044d\u0442\u0438 \u0441\u0435\u0442\u0438 \u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u043d\u0438\u043a\u0443\u0434\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f, \u0442\u0430\u043a \u0447\u0442\u043e \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442\u044c \u0441\u043c\u044b\u0441\u043b\u0430 \u043e\u0441\u043e\u0431\u043e\u0433\u043e \u043d\u0435 \u0431\u044b\u043b\u043e.<\/p>\n<p>  \u041d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0445\u043e\u0441\u0442\u0435 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c dummy-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 c IP-\u0430\u0434\u0440\u0435\u0441\u043e\u043c \/32 \u0434\u043b\u044f \u0430\u043d\u043e\u043d\u0441\u0430 \u0441\u043e\u0441\u0435\u0434\u044f\u043c, Corosync \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u0449\u0430\u0442\u044c\u0441\u044f \u0438\u043c\u0435\u043d\u043d\u043e \u0447\u0435\u0440\u0435\u0437 \u043d\u0438\u0445. \u041c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u044d\u0442\u043e\u0442 \u0430\u0434\u0440\u0435\u0441 \u043f\u043e\u0432\u0435\u0441\u0438\u0442\u044c \u043d\u0430 Loopback, \u043d\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0434\u043b\u044f \u044d\u0442\u0438\u0445 \u0446\u0435\u043b\u0435\u0439 \u043c\u043d\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u043c.<\/p>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440\u043d\u044b\u0435 \u043a\u0443\u0441\u043a\u0438 <b>\/etc\/network\/interfaces<\/b>:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">Storage1<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\"># To Storage-2 auto int1 iface int1 inet static     address 192.168.160.74     netmask 255.255.255.0  # To Witness auto ext2 iface ext2 inet static     address 192.168.161.74     netmask 255.255.255.0  # Dummy loopback auto dummy0 iface dummy0 inet static     address 192.168.163.74     netmask 255.255.255.255 <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<div class=\"spoiler\"><b class=\"spoiler_title\">Storage2<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\"># To Storage-1 auto int1 iface int1 inet static     address 192.168.160.75     netmask 255.255.255.0  # To Witness auto ext2 iface ext2 inet static     address 192.168.162.75     netmask 255.255.255.0  # Dummy loopback auto dummy0 iface dummy0 inet static     address 192.168.163.75     netmask 255.255.255.255 <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<div class=\"spoiler\"><b class=\"spoiler_title\">Witness<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\"># To Storage-1 auto int2 iface int2 inet static     address 192.168.161.76     netmask 255.255.255.0  # To Storage-2 auto ext2 iface ext2 inet static     address 192.168.162.76     netmask 255.255.255.0  # Dummy loopback auto dummy0 iface dummy0 inet static     address 192.168.163.76     netmask 255.255.255.255 <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>\u0418\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432 (intN, extN) \u0442\u0443\u0442 \u043f\u043e \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0443 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u044d\u0442\u043e \u0438\u043b\u0438 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0430\u0434\u0430\u043f\u0442\u0435\u0440 + \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u043f\u043e\u0440\u0442\u0430 \u043d\u0430 \u043d\u0451\u043c, \u043c\u043d\u0435 \u0442\u0430\u043a \u0443\u0434\u043e\u0431\u043d\u0435\u0435.<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c OSPF.<br \/>  <b>\/etc\/quagga\/ospfd.conf<\/b>:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">Storage1<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">hostname storage1  interface int1     ip ospf dead-interval minimal hello-multiplier 10     ip ospf retransmit-interval 3  interface ext2     ip ospf dead-interval minimal hello-multiplier 10     ip ospf retransmit-interval 3  router ospf     log-adjacency-changes      network 192.168.160.0\/24 area 0     network 192.168.161.0\/24 area 0     network 192.168.163.74\/32 area 0      passive-interface dummy0      timers throttle spf 10 10 100 <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<div class=\"spoiler\"><b class=\"spoiler_title\">Storage2<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">hostname storage2  interface int1     ip ospf dead-interval minimal hello-multiplier 10     ip ospf retransmit-interval 3  interface ext2     ip ospf dead-interval minimal hello-multiplier 10     ip ospf retransmit-interval 3  router ospf     log-adjacency-changes      network 192.168.160.0\/24 area 0     network 192.168.162.0\/24 area 0     network 192.168.163.75\/32 area 0      passive-interface dummy0      timers throttle spf 10 10 100 <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<div class=\"spoiler\"><b class=\"spoiler_title\">Witness<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">hostname witness  interface int2     ip ospf dead-interval minimal hello-multiplier 10     ip ospf retransmit-interval 3  interface ext2     ip ospf dead-interval minimal hello-multiplier 10     ip ospf retransmit-interval 3  router ospf     log-adjacency-changes      network 192.168.161.0\/24 area 0     network 192.168.162.0\/24 area 0     network 192.168.163.76\/32 area 0      passive-interface dummy0      timers throttle spf 10 10 100 <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043d\u0430 \u0445\u043e\u0441\u0442\u0430\u0445 <b>net.ipv4.ip_forward<\/b>, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043a\u0432\u0430\u0433\u0433\u0443, \u043f\u0438\u043d\u0433 \u0441 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u043e\u043c \u0432 0.01\u0441, \u0438 \u0440\u0432\u0451\u043c \u043a\u043e\u043b\u044c\u0446\u043e:<\/p>\n<pre><code class=\"bash\">root@witness:\/# ping -i 0.01 -f 192.168.163.74 ... root@storage1:\/# ip link set ext2 down  root@witness:\/# --- 192.168.163.74 ping statistics --- 2212 packets transmitted, 2202 received, 0% packet loss, time 26531ms rtt min\/avg\/max\/mdev = 0.067\/0.126\/0.246\/0.045 ms, ipg\/ewma 11.999\/0.183 ms <\/code><\/pre>\n<p>  \u0418\u0442\u043e\u0433\u043e, \u043f\u043e\u0442\u0435\u0440\u044f\u043d\u043e 10 \u043f\u0430\u043a\u0435\u0442\u043e\u0432, \u044d\u0442\u043e \u043e\u043a\u043e\u043b\u043e 100\u043c\u0441\u0435\u043a \u2014 OSPF \u0441\u043c\u0435\u043d\u0438\u043b \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b \u043e\u0447\u0435\u043d\u044c \u0431\u044b\u0441\u0442\u0440\u043e.<\/p>\n<h3>Corosync<\/h3>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c, \u043a\u043e\u0433\u0434\u0430 \u0441\u0435\u0442\u0435\u0432\u0430\u044f \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0433\u043e\u0442\u043e\u0432\u0430, \u0431\u0443\u0434\u0435\u043c \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c Corosync \u043d\u0430 \u0435\u0451 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u044e.<\/p>\n<p>  \u041a\u043e\u043d\u0444\u0438\u0433 \u043d\u0430 \u0432\u0441\u0435\u0445 \u0445\u043e\u0441\u0442\u0430\u0445 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043f\u043e\u0447\u0442\u0438 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u0435\u043d, \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0430\u0434\u0440\u0435\u0441 dummy0 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0432\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u043c \u043a\u043e\u043b\u044c\u0446\u0435:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\/etc\/corosync\/corosync.conf<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">compatibility: none  totem {     version: 2          # \u041f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u043e\u0435 \u0438\u043c\u044f     cluster_name: storage          # \u0410\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f \u0447\u0435\u0440\u0435\u0437 \u0444\u0430\u0439\u043b authkey, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0440\u0430\u0441\u043a\u0438\u0434\u0430\u043b\u0438 \u043f\u043e \u0432\u0441\u0435\u043c \u043d\u043e\u0434\u0430\u043c \u0432 \u043f\u0440\u043e\u0448\u043b\u043e\u0439 \u0447\u0430\u0441\u0442\u0438. \u041b\u0438\u0448\u043d\u0435\u0439 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442.     secauth: on     # \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u0436\u0438\u0432\u043e\u0441\u0442\u0438 \u043d\u043e\u0434     heartbeat_failures_allowed: 3          threads: 6     # \u0420\u0435\u0436\u0438\u043c \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u044b\u0445 \u043a\u043e\u043b\u0435\u0446 \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 - \u044e\u0437\u0430\u0442\u044c \u0441\u0440\u0430\u0437\u0443 \u043e\u0431\u0430 \u043a\u043e\u043b\u044c\u0446\u0430. \u041e\u0431 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044f\u0445 \u0447\u0438\u0442\u0430\u0442\u044c \u0432 \u0434\u043e\u043a\u0430\u0445.     rrp_mode: active     # \u041d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u0443\u043b\u044c\u0442\u0438\u043a\u0430\u0441\u0442 - \u0434\u043b\u044f \u043d\u0430\u0441 \u044d\u0442\u043e \u0432\u0430\u0436\u043d\u043e, \u0442\u0430\u043a \u043a\u0430\u043a \u0433\u043e\u0440\u043e\u0434\u0438\u0442\u044c \u043c\u0443\u043b\u044c\u0442\u0438\u043a\u0430\u0441\u0442 \u0440\u043e\u0443\u0442\u0438\u043d\u0433 \u0447\u0435\u0440\u0435\u0437 OSPF \u043d\u0435\u0442 \u043d\u0438\u043a\u0430\u043a\u043e\u0433\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u044f.     transport: udpu          # \u0412\u043d\u0435\u0448\u043d\u0435\u0435 \u043a\u043e\u043b\u044c\u0446\u043e, \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u044f\u0435\u043c \u0430\u0434\u0440\u0435\u0441\u0430 \u043d\u043e\u0434     interface {         member {             memberaddr: 10.1.195.74         }          member {             memberaddr: 10.1.195.75         }          member {             memberaddr: 10.1.195.76         }          ringnumber: 0         # \u0421\u0435\u0442\u044c \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u0430, \u043a \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u0438\u0432\u044f\u0437\u044b\u0432\u0430\u0442\u044c\u0441\u044f         bindnetaddr: 10.1.195.0         # \u041f\u043e\u0440\u0442 \u0434\u043b\u044f \u043e\u0431\u043c\u0435\u043d\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u043c\u0438. \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0438 \u0432 \u0443\u043d\u0438\u043a\u0430\u0441\u0442\u0435. \u0422\u0430\u043a\u0436\u0435 \u0440\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u0443\u0435\u0442\u0441\u044f (mcastport-1) \u0434\u043b\u044f \u043f\u0440\u0438\u0451\u043c\u0430.         mcastport: 6405     }          # \u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0435 \u043a\u043e\u043b\u044c\u0446\u043e     interface {         member {             memberaddr: 192.168.163.74         }          member {             memberaddr: 192.168.163.75         }          member {             memberaddr: 192.168.163.76         }          ringnumber: 1         # \u042d\u0442\u043e\u0442 \u0430\u0434\u0440\u0435\u0441 \u0432\u044b\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0430\u0434\u0440\u0435\u0441\u0443 dummy0         bindnetaddr: 192.168.163.76         mcastport: 5405     } }  # \u0414\u0430\u043b\u044c\u0448\u0435 \u0432\u0441\u0451 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e amf {     mode: disabled }  service {     ver: 1     name: pacemaker }  aisexec {     user: root     group: root }  logging {     syslog_priority: warning          fileline: off     to_stderr: yes     to_logfile: no     to_syslog: yes     syslog_facility: daemon     debug: off     timestamp: on          logger_subsys {         subsys: AMF         debug: off         tags: enter|leave|trace1|trace2|trace3|trace4|trace6     } } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c Corosync \u0438 \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u0442\u0430\u0442\u0443\u0441 \u043a\u043e\u043b\u0435\u0446 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u0445 \u0438 \u0441\u043f\u0438\u0441\u043e\u043a \u043d\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0435\u0442 Corosync:  <\/p>\n<pre><code class=\"bash\">root@storage1:\/# corosync-cfgtool -s Printing ring status. Local node ID 1254293770 RING ID 0         id      = 10.1.195.74         status  = ring 0 active with no faults RING ID 1         id      = 192.168.163.74         status  = ring 1 active with no faults  root@storage1:\/# corosync-objctl | grep member totem.interface.member.memberaddr=10.1.195.74 totem.interface.member.memberaddr=10.1.195.75 totem.interface.member.memberaddr=10.1.195.76 totem.interface.member.memberaddr=192.168.163.74 totem.interface.member.memberaddr=192.168.163.75 totem.interface.member.memberaddr=192.168.163.76 runtime.totem.pg.mrp.srp.members.1254293770.ip=r(0) ip(10.1.195.74) r(1) ip(192.168.163.74)  runtime.totem.pg.mrp.srp.members.1254293770.join_count=1 runtime.totem.pg.mrp.srp.members.1254293770.status=joined runtime.totem.pg.mrp.srp.members.1271070986.ip=r(0) ip(10.1.195.75) r(1) ip(192.168.163.75)  runtime.totem.pg.mrp.srp.members.1271070986.join_count=2 runtime.totem.pg.mrp.srp.members.1271070986.status=joined runtime.totem.pg.mrp.srp.members.1287848202.ip=r(0) ip(10.1.195.76) r(1) ip(192.168.163.76)  runtime.totem.pg.mrp.srp.members.1287848202.join_count=1 runtime.totem.pg.mrp.srp.members.1287848202.status=joined <\/code><\/pre>\n<p>  \u0410\u0433\u0430, \u0432\u0441\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/p>\n<h2>Pacemaker<\/h2>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c, \u043a\u043e\u0433\u0434\u0430 \u0431\u044d\u043a\u0435\u043d\u0434 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430 \u0432 \u0440\u0430\u0431\u043e\u0447\u0435\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438 \u2014 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u0442\u044c \u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435.<br \/>  \u041d\u0430 \u043a\u0430\u0436\u0434\u043e\u0439 \u043d\u043e\u0434\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c Pacemaker, \u0438 \u0441 \u043b\u044e\u0431\u043e\u0439 \u0438\u0437 \u043d\u0438\u0445 \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u0442\u0430\u0442\u0443\u0441 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430:  <\/p>\n<pre><code class=\"bash\">root@storage1:\/# crm status ============ Last updated: Tue Mar 24 09:39:28 2015 Last change: Mon Mar 23 11:40:13 2015 via crmd on witness Stack: openais Current DC: witness - partition with quorum Version: 1.1.7-ee0730e13d124c3d58f00016c3376a1de5323cff 3 Nodes configured, 3 expected votes 0 Resources configured. ============  Online: [ storage1 storage2 witness ] <\/code><\/pre>\n<p>  \u0412\u0441\u0435 \u043d\u043e\u0434\u044b \u0432\u0438\u0434\u043d\u044b, \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0442\u044c \u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435.<\/p>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c <b>crm configure edit<\/b>, \u043e\u0442\u043a\u0440\u043e\u0435\u0442\u0441\u044f \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e (nano) \u0438 \u0442\u0443\u0434\u0430 \u0437\u0430\u043d\u043e\u0441\u0438\u043c \u0442\u0430\u043a\u0443\u044e \u0432\u043e\u0442 \u0435\u0440\u0435\u0441\u044c:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u043e\u043d\u0444\u0438\u0433 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">node storage1 node storage2 node witness  # \u041e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c STONITH (Shoot The Other Node In The Head) \u0440\u0435\u0441\u0443\u0440\u0441\u044b. # \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u043d\u043e\u0434\u0430 \u0432\u044b\u043f\u0430\u0434\u0435\u0442 \u0438\u0437 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430, \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0432\u0435 \u043f\u043e\u0441\u043e\u0432\u0435\u0449\u0430\u044e\u0442\u0441\u044f \u0438 \u0443\u0431\u044c\u044e\u0442 \u0435\u0451 \u0447\u0435\u0440\u0435\u0437 IPMI \u043f\u043e\u0441\u043b\u0430\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 RESET primitive ipmi_storage1 stonith:external\/ipmi \\         params hostname=&quot;storage1&quot; ipaddr=&quot;10.1.1.74&quot; userid=&quot;stonith&quot; passwd=&quot;xxx&quot; interface=&quot;lanplus&quot; \\         pcmk_host_check=&quot;static-list&quot; pcmk_host_list=&quot;storage1&quot; primitive ipmi_storage2 stonith:external\/ipmi \\         params hostname=&quot;storage2&quot; ipaddr=&quot;10.1.1.75&quot; userid=&quot;stonith&quot; passwd=&quot;xxx&quot; interface=&quot;lanplus&quot; \\         pcmk_host_check=&quot;static-list&quot; pcmk_host_list=&quot;storage2&quot;  # \u0420\u0435\u0441\u0443\u0440\u0441 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f\u043c\u0438 ALUA, \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0432\u044b\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u0441\u0432\u043e\u0435\u043c\u0443 \/etc\/scst.conf primitive p_scst ocf:esos:scst \\         params alua=&quot;true&quot; device_group=&quot;default&quot; \\         local_tgt_grp=&quot;local&quot; \\         remote_tgt_grp=&quot;remote&quot; \\         m_alua_state=&quot;active&quot; \\         s_alua_state=&quot;nonoptimized&quot; \\         op monitor interval=&quot;10&quot; role=&quot;Master&quot; \\         op monitor interval=&quot;20&quot; role=&quot;Slave&quot; \\         op start interval=&quot;0&quot; timeout=&quot;120&quot; \\         op stop interval=&quot;0&quot; timeout=&quot;60&quot;  # \u041e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0440\u0435\u0436\u0438\u043c\u044b Master-Slave \u0434\u043b\u044f \u0432\u044b\u0448\u0435\u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0441\u0443\u0440\u0441\u0430 ms ms_scst p_scst \\         meta master-max=&quot;1&quot; master-node-max=&quot;1&quot; clone-max=&quot;2&quot; clone-node-max=&quot;1&quot; notify=&quot;true&quot; interleave=&quot;true&quot; \\         target-role=&quot;Master&quot;  # \u041f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u0435\u043c \u043d\u043e\u0434\u0443 storage1 \u0434\u043b\u044f Master-\u0440\u0435\u0436\u0438\u043c\u0430 location prefer_ms_scst ms_scst inf: #uname eq storage1  # \u041d\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0440\u0435\u0441\u0443\u0440\u0441 SCST \u043d\u0430 \u043d\u043e\u0434\u0435 witness location dont_run ms_scst -inf: #uname eq witness  # \u0417\u0430\u043f\u0440\u0435\u0449\u0430\u0435\u043c \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c STONITH \u0432\u0438\u0441\u0435\u0442\u044c \u043d\u0430 \u0442\u0435\u0445 \u0436\u0435 \u043d\u043e\u0434\u0430\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043d\u0438 \u043f\u0440\u0438\u0437\u0432\u0430\u043d\u044b \u0443\u0431\u0438\u0432\u0430\u0442\u044c. C\u0430\u043c\u043e\u0443\u0431\u0438\u0439\u0441\u0442\u0432\u043e - \u044d\u0442\u043e \u043d\u0435 \u043d\u0430\u0448 \u043c\u0435\u0442\u043e\u0434! location loc_ipmi_on_storage1 ipmi_storage1 -inf: #uname eq storage1 location loc_ipmi_on_storage2 ipmi_storage2 -inf: #uname eq storage2  property $id=&quot;cib-bootstrap-options&quot; \\         dc-version=&quot;1.1.7-ee0730e13d124c3d58f00016c3376a1de5323cff&quot; \\         cluster-infrastructure=&quot;openais&quot; \\         expected-quorum-votes=&quot;3&quot; \\         stonith-enabled=&quot;true&quot; \\         last-lrm-refresh=&quot;1427100013&quot; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c, \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c (commit).<\/p>\n<p>  \u0414\u043b\u044f STONITH \u0432 IPMI \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u044e\u0437\u0435\u0440\u0430 \u0441 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 Administrator, \u0438\u043d\u0430\u0447\u0435 \u0440\u0435\u0441\u0443\u0440\u0441 \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u043a \u043d\u0435\u043c\u0443 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f. \u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u0445\u0432\u0430\u0442\u0438\u043b\u043e \u0431\u044b \u0438 Operator, \u043d\u043e \u043a\u043e\u0432\u044b\u0440\u044f\u0442\u044c \u043a\u043e\u0434 \u0440\u0435\u0441\u0443\u0440\u0441\u0430 \u0436\u0435\u043b\u0430\u043d\u0438\u044f \u043d\u0435 \u0431\u044b\u043b\u043e.<\/p>\n<p>  \u0421\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u0442\u0430\u0442\u0443\u0441 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430:  <\/p>\n<pre><code class=\"bash\">root@storage1:\/# crm status ============ Last updated: Wed Mar 25 15:48:29 2015 Last change: Mon Mar 23 11:40:13 2015 via crmd on witness Stack: openais Current DC: witness - partition with quorum Version: 1.1.7-ee0730e13d124c3d58f00016c3376a1de5323cff 3 Nodes configured, 3 expected votes 4 Resources configured. ============  Online: [ storage1 storage2 witness ]   Master\/Slave Set: ms_scst [p_scst]      Masters: [ storage1 ]      Slaves: [ storage2 ]  ipmi_storage1       (stonith:external\/ipmi):        Started witness  ipmi_storage2       (stonith:external\/ipmi):        Started storage1 <\/code><\/pre>\n<p>  \u041d\u0443, \u0432\u0440\u043e\u0434\u0435 \u0431\u044b \u0432\u0441\u0451 \u043a\u0440\u0430\u0441\u0438\u0432\u043e. \u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u0443\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u0441 \u0438\u043d\u0438\u0446\u0438\u0430\u0442\u043e\u0440\u043e\u0432.<\/p>\n<p>  \u0414\u043b\u044f \u0432\u0435\u0440\u043d\u043e\u0441\u0442\u0438 \u043c\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u043a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 STONITH:  <\/p>\n<pre><code class=\"bash\">\u041e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u0441\u044f \u043e\u0442 \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u043e\u0432: root@storage2:\/# ip link set bond_hb_ext down  ... \u043c\u044b \u0432\u0441\u0451 \u0435\u0449\u0435 \u0436\u0438\u0432\u044b.  \u0420\u0432\u0451\u043c \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0435 \u043a\u043e\u043b\u044c\u0446\u043e \u0432 \u043e\u0434\u043e\u043c \u043c\u0435\u0441\u0442\u0435 root@storage2:\/# ip link set int1 down  ... \u0438 \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u043a\u043b\u0430\u0441\u0442\u0435\u0440 \u0435\u0449\u0451 \u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f.  \u0420\u0432\u0451\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u043d\u0438\u0442\u043e\u0447\u043a\u0443: root@storage2:\/# ip link set ext2 down  ... \u0438 \u0447\u0435\u0440\u0435\u0437 \u043f\u0430\u0440\u0443 \u0441\u0435\u043a\u0443\u043d\u0434 \u043a\u043b\u0430\u0441\u0442\u0435\u0440 \u043a\u043e\u043b\u043b\u0435\u0433\u0438\u0430\u043b\u044c\u043d\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c \u043d\u0430\u0441 \u0433\u0440\u043e\u0445\u043d\u0443\u043b :) \u0421\u0435\u0440\u0432\u0435\u0440 \u0443\u0448\u0451\u043b \u0432 \u0440\u0435\u0431\u0443\u0442. <\/code><\/pre>\n<p>  <u>\u041d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0435 \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 Master-Slave \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c\u0438<\/u>: \u0432 Pacemaker \u043d\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0438\u043d\u0443\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0435\u0442 \u043d\u043e\u0434\u044b, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0440\u0435\u0441\u0443\u0440\u0441 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 Master-\u043e\u043c \u0438 Slave-\u043e\u043c, \u043c\u0435\u0441\u0442\u0430\u043c\u0438. \u041c\u043e\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 <b>demote<\/b> \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u0440\u0435\u0441\u0443\u0440\u0441 \u0432 Slave \u043d\u0430 \u043e\u0431\u0435\u0438\u0445 \u043d\u043e\u0434\u0430\u0445.<\/p>\n<p>  \u0420\u0435\u0448\u0435\u043d\u0438\u044f \u0434\u0432\u0430:<br \/>  1) \u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430 \u0438 \u043c\u0435\u043d\u044f\u0435\u043c \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u0435\u043c\u0443\u044e \u043d\u043e\u0434\u0443 \u0434\u043b\u044f Master-\u0440\u0435\u0436\u0438\u043c\u0430 \u043d\u0430 \u0434\u0440\u0443\u0433\u0443\u044e, \u043a\u043e\u043c\u043c\u0438\u0442\u0438\u043c \u0438 \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043a\u043b\u0430\u0441\u0442\u0435\u0440 \u0441\u0430\u043c \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u044e \u0440\u0435\u0441\u0443\u0440\u0441\u0430.<br \/>  2) \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0442\u0430\u043a \u043a\u0430\u043a \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u0440\u0435\u0441\u0443\u0440\u0441, \u043f\u043e \u0441\u0443\u0442\u0438, \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d, \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0442\u0443\u0448\u0438\u0442\u044c Pacemaker \u043d\u0430 Master-\u043d\u043e\u0434\u0435 \ud83d\ude42 \u042d\u0442\u043e \u0441\u0438\u0433\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442 \u0432\u0442\u043e\u0440\u043e\u0439 \u043d\u043e\u0434\u0435 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 Master \u0440\u0435\u0436\u0438\u043c. \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0431\u044b\u0432\u0448\u0443\u044e \u043c\u0430\u0441\u0442\u0435\u0440-\u043d\u043e\u0434\u0443 \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0432\u043b\u0430\u0434\u0435\u043d\u0438\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u0430\u043c\u0438 \u0443\u0448\u043b\u043e \u043a \u0434\u0440\u0443\u0433\u043e\u0439 \u043d\u043e\u0434\u0435.<\/p>\n<p>  \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043b\u0430\u043d\u043e\u0432\u043e\u0439 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 Pacemaker \u0438 Corosync <b>STONITH \u043e\u0442\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0435\u0442<\/b>.<\/p>\n<h3>\u0424\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0448\u0442\u0440\u0438\u0445\u0438<\/h3>\n<p>  <\/p>\n<ul>\n<li>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043d\u0430 \u0432\u0441\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 Watchdog-\u0434\u0435\u043c\u043e\u043d, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u0441 IPMI \u0447\u0435\u0440\u0435\u0437 \/dev\/watchdog \u043d\u0430 \u0442\u043e\u0442 \u0441\u043b\u0443\u0447\u0430\u0439, \u0435\u0441\u043b\u0438 \u0441\u0435\u0440\u0432\u0435\u0440 \u0437\u0430\u0432\u0438\u0441\u043d\u0435\u0442, \u0430 STONITH \u0435\u0433\u043e \u043f\u043e \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c \u0443\u0431\u0438\u0442\u044c \u043d\u0435 \u0441\u043c\u043e\u0436\u0435\u0442.<br \/>  <b>\/etc\/watchdog.conf:<\/b><br \/> \n<pre><code class=\"bash\">watchdog-device = \/dev\/watchdog admin\t\t= root interval\t= 1 realtime\t= yes priority\t= 1 <\/code><\/pre>\n<p>  <\/li>\n<li>\u0412\u044b\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432 <b>\/etc\/sysctl.conf<\/b> \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:<br \/> \n<pre><code class=\"bash\">kernel.panic = 1 kernel.panic_on_io_nmi = 1 kernel.panic_on_oops = 1 kernel.panic_on_unrecovered_nmi = 1 kernel.unknown_nmi_panic = 1 <\/code><\/pre>\n<p>\u042d\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u044f\u0434\u0440\u043e \u0432 \u043b\u044e\u0431\u043e\u0439 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u043e\u0439 (\u0430 OOPS \u0438 \u0432\u0441\u044f\u043a\u0438\u0435 NMI \u044d\u0442\u043e \u0441\u043a\u0432\u0435\u0440\u043d\u043e) \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u0440\u0435\u0437\u0435\u0442\u0438\u043b\u043e \u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u0434\u0430\u0432\u0430\u043b\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u043d\u043e\u0434\u0435 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e \u0432\u0437\u044f\u0442\u044c\u0441\u044f \u0437\u0430 \u0434\u0435\u043b\u043e. \u0415\u0441\u043b\u0438 \u044f\u0434\u0440\u043e \u0431\u0443\u0434\u0435\u0442 \u0435\u0449\u0451 \u0431\u043e\u043b\u0435\u0435 \u0438\u043b\u0438 \u043c\u0435\u043d\u0435\u0435 \u0436\u0438\u0432\u043e\u0435, \u0442\u043e \u044d\u0442\u043e\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0434\u043e\u043b\u0436\u0435\u043d \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0447\u0435\u043c Watchdog \u0438 STONITH.<\/p>\n<\/li>\n<li>\u041d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c watchquagga \u0432 <b>\/etc\/quagga\/debian.conf<\/b> \u043d\u0430 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0430\u0434\u0435\u043d\u0438\u044f \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u0434\u0435\u043c\u043e\u043d\u043e\u0432 Quagga:<br \/> \n<pre><code class=\"bash\">watchquagga_enable=yes watchquagga_options=(--daemon --unresponsive-restart -i 5 -t 5 -T 5 --restart-all '\/etc\/init.d\/quagga restart') <\/code><\/pre>\n<p>  <\/li>\n<li>\u041d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c NetConsole \u0434\u043b\u044f \u043f\u0440\u044f\u043c\u043e\u0433\u043e \u0441\u0431\u043e\u0440\u0430 \u043b\u043e\u0433\u043e\u0432 \u044f\u0434\u0440\u0430 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432-\u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449 \u043d\u0430 Witness-\u043d\u043e\u0434\u0435 \u043d\u0430 \u0441\u043b\u0443\u0447\u0430\u0439 \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c.<br \/>  \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \/etc\/fstab:<br \/> \n<pre><code class=\"bash\">none \/sys\/kernel\/config configfs defaults 0 0 <\/code><\/pre>\n<p>\u041f\u043b\u044e\u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">netconsole.pl<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"perl\">#!\/usr\/bin\/perl -w  use strict; use warnings;  my $dir = '\/sys\/kernel\/config\/netconsole';  my %tgts = (     'tgt1' =&gt; {         'dev_name' =&gt; 'ext2',         'local_ip' =&gt; '192.168.161.74',         'remote_ip' =&gt; '192.168.161.76',         'remote_mac' =&gt; '00:25:90:77:b8:8b',         'remote_port' =&gt; '6666'     } );  foreach my $tgt (sort keys %tgts) {     my $t = $tgts{$tgt};     my $tgtdir = $dir.&quot;\/&quot;.$tgt;      mkdir($tgtdir);     foreach my $k (sort keys $t) {         system(&quot;echo '&quot;.$t-&gt;{$k}.&quot;' &gt; &quot;.$tgtdir.&quot;\/&quot;.$k);     }      system(&quot;echo 1 &gt; &quot;.$tgtdir.&quot;\/enabled&quot;); } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/li>\n<\/ul>\n<h1>ESXi<\/h1>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u0438 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449 \u043d\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u0442\u043e\u0440\u0430\u0445 \u0443\u0436\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u043e\u044f\u0432\u0438\u0442\u044c\u0441\u044f \u043d\u0430\u0448\u0438 LUN\u044b:<br \/>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/864\/b9a\/833\/864b9a8335d24de4b0fa0839d366d8b5.PNG\"\/><br \/>  \u0417\u0434\u0435\u0441\u044c \u043c\u044b \u0432\u0438\u0434\u0438\u043c (\u043e\u0434\u0438\u043d \u0438\u0437 \u043f\u043e\u0440\u0442\u043e\u0432 FC):  <\/p>\n<ul>\n<li>2 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, 4 \u043f\u0443\u0442\u044f \u0434\u043e \u043a\u0430\u0436\u0434\u043e\u0433\u043e (2 \u043a \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c\u0443 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0443, 2 \u043a \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u043c\u0443)<\/li>\n<li>Hardware Acceleration = Supported \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u0447\u0442\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430\u043c\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f VAAI \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u044b (SCSI-\u043a\u043e\u043c\u0430\u043d\u0434\u044b ATS, XCOPY, WRITE SAME), \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u043e\u0444\u0444\u043b\u043e\u0430\u0434\u0438\u0442\u044c \u0447\u0430\u0441\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0441 \u0445\u043e\u0441\u0442\u0430 \u043d\u0430 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 (\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0430, \u043a\u043b\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u0437\u0430\u0431\u0438\u0432\u0430\u043d\u0438\u0435 \u043d\u0443\u043b\u044f\u043c\u0438)<\/li>\n<li>SSD: \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u0445\u043e\u0441\u0442\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0438 LUN\u044b \u0434\u043b\u044f Host Cache \u0438 \u043f\u0440\u043e\u0447\u0438\u0445 \u0441\u043b\u0443\u0436\u0431, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0445\u043e\u0442\u044f\u0442 SSD<\/li>\n<\/ul>\n<p>  \u0414\u043b\u044f \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043f\u0443\u0442\u0435\u0439 \u0434\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0434\u0432\u0435 \u0432\u0435\u0449\u0438:  <\/p>\n<ul>\n<li>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0440\u0435\u0436\u0438\u043c Round Robin<\/li>\n<li>\u041d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0435\u0433\u043e \u043d\u0430 \u0441\u043c\u0435\u043d\u0443 \u043f\u0443\u0442\u0435\u0439 \u043a\u0430\u0436\u0434\u044b\u0439 1 IO. \u041f\u043e-\u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043e\u043d \u043c\u0435\u043d\u044f\u0435\u0442 \u043f\u0443\u0442\u044c \u043a\u0430\u0436\u0434\u0443\u044e 1000 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0432\u0432\u043e\u0434\u0430-\u0432\u044b\u0432\u043e\u0434\u0430, \u0447\u0442\u043e \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u043e, \u0445\u043e\u0442\u044f \u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u043d\u044c\u0448\u0435 \u043d\u0430\u043f\u0440\u044f\u0433\u0430\u0435\u0442 CPU \u0445\u043e\u0441\u0442\u0430. \u0415\u0441\u0442\u044c \u043e\u0442\u043b\u0438\u0447\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043e\u0442 EMC, \u0433\u0434\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u0438\u0441\u0441\u043b\u0435\u0434\u0443\u0435\u0442\u0441\u044f \u0432\u043b\u0438\u044f\u043d\u0438\u0435 \u044d\u0442\u043e\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u043d\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c: <a href=\"http:\/\/www.emc.com\/collateral\/hardware\/white-papers\/h8119-tuning-vmware-symmetrix-wp.pdf\"><b>\u0442\u044b\u0446<\/b><\/a><\/li>\n<\/ul>\n<p>  \u0418 \u0435\u0441\u043b\u0438 \u043f\u0435\u0440\u0432\u044b\u0439 \u043f\u0443\u043d\u043a\u0442 \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0437 vSphere Client, \u0442\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0437 \u043a\u043e\u043d\u0441\u043e\u043b\u0438. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u043c SSH \u043d\u0430 \u0445\u043e\u0441\u0442\u0430\u0445, \u043b\u043e\u0433\u0438\u043d\u0438\u043c\u0441\u044f \u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439, \u0438 \u0432\u0432\u043e\u0434\u0438\u043c:<\/p>\n<pre><code class=\"bash\">\u0412\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0440\u0435\u0436\u0438\u043c Round Robin (\u0441\u0440\u0430\u0437\u0443, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043a\u043e\u0432\u044b\u0440\u044f\u0442\u044c GUI): # for i in `ls \/vmfs\/devices\/disks\/ | grep &quot;eui&quot; | grep -v &quot;:&quot;`; do esxcli storage nmp device set --psp=VMW_PSP_RR --device=$i; done \u041c\u0435\u043d\u044f\u0435\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e IOPS \u0434\u043e \u0441\u043c\u0435\u043d\u044b \u043f\u0443\u0442\u0438: # for i in `ls \/vmfs\/devices\/disks\/ | grep &quot;eui&quot; | grep -v &quot;:&quot;`; do esxcli storage nmp psp roundrobin deviceconfig set --type=iops --iops=1 --device=$i; done \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c: # for i in `ls \/vmfs\/devices\/disks\/ | grep &quot;eui&quot; | grep -v &quot;:&quot;`; do esxcli storage nmp psp roundrobin deviceconfig get --device=$i | grep IOOperation; done    IOOperation Limit: 1    IOOperation Limit: 1 <\/code><\/pre>\n<p>  \u041e\u0442\u043b\u0438\u0447\u043d\u043e. \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043d\u0430\u0448\u0438\u0445 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0439:<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/d24\/144\/dbf\/d24144dbf7c4451ab664c934c667c88b.PNG\"\/><\/p>\n<p>  \u042d\u0442\u043e \u0432\u0438\u0434 \u043d\u0430 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u0447\u0435\u0440\u0435\u0437 \u043e\u0434\u0438\u043d \u0438\u0437 \u043f\u043e\u0440\u0442\u043e\u0432 FC \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u0430, \u0447\u0435\u0440\u0435\u0437 \u0432\u0442\u043e\u0440\u043e\u0439 \u0432\u0441\u0451 \u0442\u043e\u0447\u043d\u043e \u0442\u0430\u043a \u0436\u0435.<br \/>  \u041e\u0442\u043b\u0438\u0447\u043d\u043e, \u0438\u043c\u0435\u0435\u043c 2 \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0438 2 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u044b\u0445 \u043f\u0443\u0442\u0438 \u0434\u043e \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437 LUN\u043e\u0432.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c LUN\u0435 VMFS, \u043f\u043e\u043b\u043e\u0436\u0438\u043c \u043d\u0430 \u043d\u0438\u0445 \u043f\u043e 1 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u0441 Debian (\u0434\u0438\u0441\u043a\u0438 \u2014 Thick Provision Eager Zeroed, \u0447\u0442\u043e\u0431\u044b ESXi \u043d\u0435 \u043c\u0443\u0445\u043b\u0435\u0432\u0430\u043b \u0441\u043e \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c\u044e \u0447\u0442\u0435\u043d\u0438\u044f \u043d\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0431\u043b\u043e\u043a\u043e\u0432) \u0438 \u043f\u0440\u043e\u0432\u0435\u0434\u0451\u043c \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043d\u0430 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435.<\/p>\n<p>  \u041d\u0430 \u043a\u0430\u0436\u0434\u043e\u0439 \u0412\u041c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c <b>fio<\/b> \u0438 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0444\u0430\u0439\u043b\u0438\u043a <b>read.fio<\/b> \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u0442\u0435\u0441\u0442\u0430:<\/p>\n<pre><code class=\"bash\">[test] blocksize=512 filename=\/dev\/sda size=128G rw=randread direct=1 buffered=0 ioengine=libaio iodepth=64 <\/code><\/pre>\n<p>  \u0422\u043e \u0435\u0441\u0442\u044c \u0431\u0443\u0434\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e\u0435 \u0447\u0442\u0435\u043d\u0438\u0435 \u0431\u043b\u043e\u043a\u0430\u043c\u0438 \u043f\u043e 512 \u0431\u0430\u0439\u0442 \u0441 \u0433\u043b\u0443\u0431\u0438\u043d\u043e\u0439 \u043e\u0447\u0435\u0440\u0435\u0434\u0438 64 \u043f\u043e\u043a\u0430 \u043d\u0435 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0435\u043c 128\u0413\u0431\u0430\u0439\u0442 (\u0442\u0430\u043a\u043e\u0439 \u0434\u0438\u0441\u043a \u0443 \u0412\u041c).<\/p>\n<p>  \u0421\u043c\u043e\u0442\u0440\u0438\u043c:<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/f2b\/024\/f59\/f2b024f59e9b492eb3dcad6dbe7f8e6c.png\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/31e\/fbe\/86c\/31efbe86c34645298fbf1b86fe9903cd.png\"\/><\/p>\n<p>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b fio \u043f\u0440\u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0441 \u043e\u0434\u043d\u043e\u0439 \u0412\u041c:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">fio random<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">test: (g=0): rw=randread, bs=512-512\/512-512, ioengine=libaio, iodepth=64 2.0.8 Starting 1 process Jobs: 1 (f=1): [r] [100.0% done] [77563K\/0K \/s] [155K\/0  iops] [eta 00m:00s] test: (groupid=0, jobs=1): err= 0: pid=3100   read : io=131072MB, bw=75026KB\/s, iops=150052 , runt=1788945msec     slat (usec): min=0 , max=554 , avg= 2.92, stdev= 1.94     clat (usec): min=127 , max=1354.3K, avg=420.90, stdev=1247.77      lat (usec): min=130 , max=1354.3K, avg=424.51, stdev=1247.77     clat percentiles (usec):      |  1.00th=[  350],  5.00th=[  378], 10.00th=[  386], 20.00th=[  398],      | 30.00th=[  406], 40.00th=[  414], 50.00th=[  418], 60.00th=[  426],      | 70.00th=[  430], 80.00th=[  438], 90.00th=[  450], 95.00th=[  462],      | 99.00th=[  494], 99.50th=[  516], 99.90th=[  636], 99.95th=[  732],      | 99.99th=[ 3696]     bw (KB\/s)  : min=  606, max=77976, per=100.00%, avg=75175.70, stdev=3104.46     lat (usec) : 250=0.02%, 500=99.19%, 750=0.75%, 1000=0.03%     lat (msec) : 2=0.01%, 4=0.01%, 10=0.01%, 20=0.01%, 250=0.01%     lat (msec) : 500=0.01%, 750=0.01%, 1000=0.01%, 2000=0.01%   cpu          : usr=62.25%, sys=37.18%, ctx=58816, majf=0, minf=14   IO depths    : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=0.1%, &gt;=64=100.0%      submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, &gt;=64=0.0%      complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.1%, &gt;=64=0.0%      issued    : total=r=268435456\/w=0\/d=0, short=r=0\/w=0\/d=0  Run status group 0 (all jobs):    READ: io=131072MB, aggrb=75026KB\/s, minb=75026KB\/s, maxb=75026KB\/s, mint=1788945msec, maxt=1788945msec  Disk stats (read\/write):   sda: ios=268419759\/40, merge=0\/2, ticks=62791530\/0, in_queue=62785360, util=100.00% <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<div class=\"spoiler\"><b class=\"spoiler_title\">fio sequental<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">test: (g=0): rw=read, bs=1M-1M\/1M-1M, ioengine=libaio, iodepth=64 2.0.8 Starting 1 process Jobs: 1 (f=1): [R] [100.0% done] [1572M\/0K \/s] [1572 \/0  iops] [eta 00m:00s] test: (groupid=0, jobs=1): err= 0: pid=3280   read : io=131072MB, bw=1378.6MB\/s, iops=1378 , runt= 95078msec     slat (usec): min=36 , max=2945 , avg=80.13, stdev=16.73     clat (msec): min=11 , max=1495 , avg=46.33, stdev=29.87      lat (msec): min=11 , max=1495 , avg=46.42, stdev=29.87     clat percentiles (msec):      |  1.00th=[   35],  5.00th=[   38], 10.00th=[   39], 20.00th=[   40],      | 30.00th=[   42], 40.00th=[   43], 50.00th=[   43], 60.00th=[   44],      | 70.00th=[   52], 80.00th=[   56], 90.00th=[   57], 95.00th=[   57],      | 99.00th=[   59], 99.50th=[   62], 99.90th=[   70], 99.95th=[  529],      | 99.99th=[ 1483]     bw (MB\/s)  : min=   69, max= 1628, per=100.00%, avg=1420.43, stdev=219.51     lat (msec) : 20=0.04%, 50=68.57%, 100=31.33%, 750=0.02%, 2000=0.05%   cpu          : usr=0.57%, sys=13.40%, ctx=16171, majf=0, minf=550   IO depths    : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=0.1%, &gt;=64=100.0%      submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, &gt;=64=0.0%      complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.1%, &gt;=64=0.0%      issued    : total=r=131072\/w=0\/d=0, short=r=0\/w=0\/d=0  Run status group 0 (all jobs):    READ: io=131072MB, aggrb=1378.6MB\/s, minb=1378.6MB\/s, maxb=1378.6MB\/s, mint=95078msec, maxt=95078msec  Disk stats (read\/write):   sda: ios=261725\/14, merge=0\/1, ticks=11798940\/350, in_queue=11800870, util=99.95% <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b:  <\/p>\n<ul>\n<li>&gt;300k IOPS \u0441\u0443\u043c\u043c\u0430\u0440\u043d\u043e. \u0414\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043d\u0435\u043f\u043b\u043e\u0445\u043e, \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u044f \u0447\u0442\u043e \u043f\u0440\u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0431\u044d\u043a\u0435\u043d\u0434 \u0431\u044b\u043b \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d<\/li>\n<li>\u041b\u0438\u043d\u0435\u0439\u043d\u0430\u044f \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043f\u043b\u0430\u0432\u0430\u0435\u0442 \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 1300-1580 \u041c\u0431\u0430\u0439\u0442\/\u0441 (\u0447\u0442\u043e \u0431\u043b\u0438\u0437\u043a\u043e \u043a \u043f\u0440\u0435\u0434\u0435\u043b\u0443 2\u04458Gbit FC), \u0442\u0443\u0442 \u0443\u0436\u0435 \u0443\u043f\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0432 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/li>\n<li>Random Latency \u0443 99.9% \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043d\u0435 \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u0435\u0442 0.7\u043c\u0441<\/li>\n<li>\u0415\u0441\u043b\u0438 \u0442\u0435\u0441\u0442 \u043d\u0430 \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0412\u041c \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c, \u0442\u043e \u043d\u0430 \u043e\u0441\u0442\u0430\u0432\u0448\u0435\u0439\u0441\u044f \u0431\u0443\u0434\u0443\u0442 \u0432\u0441\u0435 \u0442\u0435 \u0436\u0435 150\u043a IOPS. \u042d\u0442\u043e, \u043f\u043e\u0445\u043e\u0436\u0435, \u043f\u0440\u0435\u0434\u0435\u043b \u0434\u043b\u044f \u0434\u0432\u0443\u0445\u043f\u043e\u0440\u0442\u043e\u0432\u043e\u0439 FC-\u043a\u0430\u0440\u0442\u044b \u043d\u0430 ESXi. \u0425\u043e\u0442\u044f \u044d\u0442\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0440\u0430\u043d\u043d\u043e, \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043d\u044f\u0442\u044c\u0441\u044f \u0442\u044e\u043d\u0438\u043d\u0433\u043e\u043c<\/li>\n<li>\u041f\u0440\u0438 \u0442\u0435\u0441\u0442\u0435 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043d\u0430 CPU \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u043e\u043a\u043e\u043b\u043e 60%, \u0442\u0430\u043a \u0447\u0442\u043e \u0437\u0430\u043f\u0430\u0441 \u0435\u0449\u0451 \u0435\u0441\u0442\u044c<\/li>\n<\/ul>\n<h2>\u0410 \u043c\u043e\u0436\u0435\u0442 \u0431\u0430\u0445\u043d\u0435\u043c? \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0431\u0430\u0445\u043d\u0435\u043c<\/h2>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u043a\u0430\u043a \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043e\u0442\u0440\u0435\u0430\u0433\u0438\u0440\u0443\u0435\u0442 \u043d\u0430 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 Master-\u043d\u043e\u0434\u044b.<\/p>\n<p>  <b>\u041f\u043b\u0430\u043d\u043e\u0432\u043e\u0435<\/b>: \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043d\u0430 Master-\u043d\u043e\u0434\u0435 Pacemaker. \u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043c\u0433\u043d\u043e\u0432\u0435\u043d\u043d\u043e \u043a\u043b\u0430\u0441\u0442\u0435\u0440 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432\u0442\u043e\u0440\u0443\u044e \u043d\u043e\u0434\u0443 \u0432 Master-\u0440\u0435\u0436\u0438\u043c:  <\/p>\n<pre><code class=\"bash\">[285401.041046] scst: Changed ALUA state of default\/local into active [285401.086053] scst: Changed ALUA state of default\/remote into nonoptimized <\/code><\/pre>\n<p>  \u0410 \u043d\u0430 \u043f\u0435\u0440\u0432\u043e\u0439 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u0442 SCST \u0438 \u0432\u044b\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u0432\u0441\u0435 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0441 \u043d\u0438\u043c \u043c\u043e\u0434\u0443\u043b\u0438 \u0438\u0437 \u044f\u0434\u0440\u0430:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">dmesg<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">[286491.713124] scst: Changed ALUA state of default\/local into nonoptimized [286491.757573] scst: Changed ALUA state of default\/remote into active [286491.794939] qla2x00t: Unloading QLogic Fibre Channel HBA Driver target mode addon driver [286491.795022] qla2x00t(0): session for loop_id 132 deleted [286491.795061] qla2x00t(0): session for loop_id 131 deleted [286491.795096] qla2x00t(0): session for loop_id 130 deleted [286491.795172] qla2xxx 0000:02:00.0: Performing ISP abort - ha= ffff880854e28550. [286492.428672] qla2xxx 0000:02:00.0: LIP reset occured (f7f7). [286492.488757] qla2xxx 0000:02:00.0: LOOP UP detected (8 Gbps). [286493.810720] scst: Waiting for 4 active commands to complete... This might take few minutes for disks or few hours for tapes, if you use long executed commands, like REWIND or FORMAT. In case, if you have a hung user space device (i.e. made using scst_user module) not responding to any commands, if might take virtually forever until the corresponding user space program recovers and starts responding or gets killed. [286493.810924] scst: All active commands completed [286493.810997] scst: Target 21:00:00:24:ff:54:09:80 for template qla2x00t unregistered successfully [286493.811072] qla2x00t(1): session for loop_id 0 deleted [286493.811111] qla2x00t(1): session for loop_id 1 deleted [286493.811146] qla2x00t(1): session for loop_id 2 deleted [286493.811182] qla2x00t(1): Unable to send command to SCST, sending BUSY status [286493.811226] qla2x00t(1): Unable to send command to SCST, sending BUSY status [286493.811266] qla2x00t(1): Unable to send command to SCST, sending BUSY status [286493.811305] qla2x00t(1): Unable to send command to SCST, sending BUSY status [286493.811345] qla2x00t(1): Unable to send command to SCST, sending BUSY status [286493.811384] qla2x00t(1): Unable to send command to SCST, sending BUSY status [286493.811424] qla2x00t(1): Unable to send command to SCST, sending BUSY status [286493.811463] qla2x00t(1): Unable to send command to SCST, sending BUSY status [286493.811502] qla2x00t(1): Unable to send command to SCST, sending BUSY status [286493.811541] qla2x00t(1): Unable to send command to SCST, sending BUSY status [286493.811672] qla2xxx 0000:02:00.1: Performing ISP abort - ha= ffff880854e08550. [286494.441653] qla2xxx 0000:02:00.1: LIP reset occured (f7f7). [286494.481727] qla2xxx 0000:02:00.1: LOOP UP detected (8 Gbps). [286495.833746] scst: Target 21:00:00:24:ff:54:09:81 for template qla2x00t unregistered successfully [286495.833828] qla2x00t(2): session for loop_id 132 deleted [286495.833866] qla2x00t(2): session for loop_id 131 deleted [286495.833902] qla2x00t(2): session for loop_id 130 deleted [286495.833991] qla2xxx 0000:03:00.0: Performing ISP abort - ha= ffff88084f310550. [286496.474662] qla2xxx 0000:03:00.0: LIP reset occured (f7f7). [286496.534750] qla2xxx 0000:03:00.0: LOOP UP detected (8 Gbps). [286497.856734] scst: Target 21:00:00:24:ff:54:09:32 for template qla2x00t unregistered successfully [286497.856815] qla2x00t(3): session for loop_id 0 deleted [286497.856852] qla2x00t(3): session for loop_id 1 deleted [286497.856888] qla2x00t(3): session for loop_id 130 deleted [286497.856926] qla2x00t(3): Unable to send command to SCST, sending BUSY status [286497.856970] qla2x00t(3): Unable to send command to SCST, sending BUSY status [286497.857009] qla2x00t(3): Unable to send command to SCST, sending BUSY status [286497.857048] qla2x00t(3): Unable to send command to SCST, sending BUSY status [286497.857087] qla2x00t(3): Unable to send command to SCST, sending BUSY status [286497.857127] qla2x00t(3): Unable to send command to SCST, sending BUSY status [286497.857166] qla2x00t(3): Unable to send command to SCST, sending BUSY status [286497.857205] qla2x00t(3): Unable to send command to SCST, sending BUSY status [286497.857244] qla2x00t(3): Unable to send command to SCST, sending BUSY status [286497.857284] qla2x00t(3): Unable to send command to SCST, sending BUSY status [286497.857323] qla2x00t(3): Unable to send command to SCST, sending BUSY status [286497.857362] qla2x00t(3): Unable to send command to SCST, sending BUSY status [286497.857401] qla2x00t(3): Unable to send command to SCST, sending BUSY status [286497.857440] qla2x00t(3): Unable to send command to SCST, sending BUSY status [286497.857480] qla2x00t(3): Unable to send command to SCST, sending BUSY status [286497.857594] qla2xxx 0000:03:00.1: Performing ISP abort - ha= ffff88084dfc0550. [286498.487642] qla2xxx 0000:03:00.1: LIP reset occured (f7f7). [286498.547731] qla2xxx 0000:03:00.1: LOOP UP detected (8 Gbps). [286499.889733] scst: Target 21:00:00:24:ff:54:09:33 for template qla2x00t unregistered successfully [286499.889799] scst: Target template qla2x00t unregistered successfully [286499.890642] dev_vdisk: Detached virtual device SSD-RAID6-1 (&quot;\/dev\/disk\/by-id\/scsi-3600605b008b4be401c91ac4abce21c9b&quot;) [286499.890718] scst: Detached from virtual device SSD-RAID6-1 (id 1) [286499.890756] dev_vdisk: Virtual device SSD-RAID6-1 unregistered [286499.890798] dev_vdisk: Detached virtual device SSD-RAID6-2 (&quot;\/dev\/disk\/by-id\/scsi-3600605b008b4be401c91ac53bd668eda&quot;) [286499.890869] scst: Detached from virtual device SSD-RAID6-2 (id 2) [286499.890906] dev_vdisk: Virtual device SSD-RAID6-2 unregistered [286499.890945] scst: Device handler &quot;vdisk_nullio&quot; unloaded [286499.890981] scst: Device handler &quot;vdisk_blockio&quot; unloaded [286499.891017] scst: Device handler &quot;vdisk_fileio&quot; unloaded [286499.891052] scst: Device handler &quot;vcdrom&quot; unloaded [286499.891754] scst: Task management thread PID 5162 finished [286499.891801] scst: Management thread PID 5163 finished [286499.891847] scst: Init thread PID 5161 finished [286499.899867] scst: Detached from scsi0, channel 0, id 20, lun 0, type 13 [286499.899911] scst: Detached from scsi0, channel 0, id 36, lun 0, type 13 [286499.899951] scst: Detached from scsi0, channel 0, id 37, lun 0, type 13 [286499.899992] scst: Detached from scsi0, channel 0, id 38, lun 0, type 13 [286499.900031] scst: Detached from scsi0, channel 0, id 39, lun 0, type 13 [286499.900071] scst: Detached from scsi0, channel 0, id 40, lun 0, type 13 [286499.900110] scst: Detached from scsi0, channel 0, id 41, lun 0, type 13 [286499.900150] scst: Detached from scsi0, channel 0, id 42, lun 0, type 13 [286499.900189] scst: Detached from scsi0, channel 0, id 59, lun 0, type 13 [286499.900228] scst: Detached from scsi0, channel 0, id 60, lun 0, type 13 [286499.900268] scst: Detached from scsi0, channel 2, id 0, lun 0, type 0 [286499.900307] scst: Detached from scsi0, channel 2, id 1, lun 0, type 0 [286499.900346] scst: Detached from scsi1, channel 0, id 0, lun 0, type 0 [286499.900385] scst: Detached from scsi2, channel 0, id 0, lun 0, type 0 [286499.900595] scst: Exiting SCST sysfs hierarchy... [286502.914203] scst: User interface thread PID 5153 finished [286502.914248] scst: Exiting SCST sysfs hierarchy done [286502.914458] scst: SCST unloaded <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041d\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d\u0430\u0445 IO \u0437\u0430\u043c\u0438\u0440\u0430\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0441\u0435\u043a\u0443\u043d\u0434 \u043d\u0430 10-15, \u043f\u043e\u0445\u043e\u0436\u0435 ESXi \u0442\u044b\u043a\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a\u043e\u0435-\u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043f\u043e \u0441\u0442\u0430\u0440\u044b\u043c \u043f\u0443\u0442\u044f\u043c \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435 \u043d\u0435\u043a\u043e\u0435\u0433\u043e \u0442\u0430\u0439\u043c\u0430\u0443\u0442\u0430 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u043d\u043e\u0432\u044b\u0435. IOPS \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u0439 \u0412\u041c \u043f\u0430\u0434\u0430\u0435\u0442 \u0441\u043e 120\u043a \u0434\u043e 22\u043a \u2014 \u0442\u0430\u043a\u043e\u0432\u0430 \u0446\u0435\u043d\u0430 I\/O Shipping.<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u043f\u0435\u0440\u0432\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u2014 Syncro \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u043c \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0432\u0435\u0434\u0443\u0449\u0443\u044e \u0440\u043e\u043b\u044c \u0438 I\/O \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u043a \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c Pacemaker \u043e\u0431\u0440\u0430\u0442\u043d\u043e, \u0442\u043e \u043a\u043b\u0430\u0441\u0442\u0435\u0440 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u0441\u044f \u043d\u0430 \u044d\u0442\u0443 \u043d\u043e\u0434\u0443 \u043e\u0431\u0440\u0430\u0442\u043d\u043e, \u0438\u0431\u043e \u0442\u0430\u043a \u043f\u0438\u0441\u0430\u043d\u043e \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435 \ud83d\ude42<\/p>\n<p>  <b>\u0412\u043d\u0435\u043f\u043b\u0430\u043d\u043e\u0432\u043e\u0435<\/b>: \u0422\u0443\u0442 \u043c\u044b \u043c\u043e\u0436\u0435\u043c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0443\u0431\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 kill -9 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 corosync \u0438 \u043a\u043b\u0430\u0441\u0442\u0435\u0440 \u0433\u0440\u043e\u0445\u043d\u0435\u0442 \u043d\u0430\u0441 \u0447\u0435\u0440\u0435\u0437 STONITH. \u041b\u0438\u0431\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043d\u043e\u0434\u0443 \u043f\u043e \u043f\u0438\u0442\u0430\u043d\u0438\u044e. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043e\u0434\u0438\u043d \u0438, \u0432 \u043e\u0431\u0449\u0435\u043c, \u043d\u0435 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u043f\u043b\u0430\u043d\u043e\u0432\u043e\u0433\u043e, \u0437\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 IO Shipping: \u0432\u0442\u043e\u0440\u043e\u0439 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0441\u0440\u0430\u0437\u0443 \u0441\u0445\u0432\u0430\u0442\u0438\u0442 \u043c\u0430\u0441\u0441\u0438\u0432\u044b \u0438 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043d\u0435 \u0443\u043f\u0430\u0434\u0451\u0442 \u0434\u043e 22\u043a IOPS.<\/p>\n<h1>\u042d\u043f\u0438\u043b\u043e\u0433<\/h1>\n<p>  \u0417\u0430 \u043a\u0430\u0434\u0440\u043e\u043c \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c \u0435\u0449\u0451 \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0434\u043b\u044f self-monitoring \u043d\u043e\u0434\u044b, \u0442\u0443\u0442 \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043f\u043e\u043b\u0435 \u0434\u043b\u044f \u0434\u0435\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438: \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0436\u0438\u0432\u043e\u0441\u0442\u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u0447\u0435\u0440\u0435\u0437 \u0432\u0441\u044f\u043a\u0438\u0435 StorCLI, \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0442 \u043b\u0438 \u043c\u0430\u0441\u0441\u0438\u0432\u044b \u043d\u0430 I\/O \u0437\u0430\u043f\u0440\u043e\u0441\u044b (ioping) \u0438 \u0442\u043e\u043c\u0443 \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0438\u044f \u043d\u0435\u0438\u0441\u043f\u0440\u0430\u0432\u043d\u043e\u0441\u0442\u0435\u0439 \u043d\u043e\u0434\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0441\u043e\u0432\u0435\u0440\u0448\u0438\u0442\u044c \u0445\u0430\u0440\u0430\u043a\u0438\u0440\u0438.<\/p>\n<p>  \u0422\u0430\u043a\u0438\u043c \u0432\u043e\u0442 \u043d\u0435\u0437\u0430\u043c\u044b\u0441\u043b\u043e\u0432\u0430\u0442\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043d\u0430\u0434\u0451\u0436\u043d\u043e\u0435 \u0438 \u0431\u044b\u0441\u0442\u0440\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0438\u0437 \u043f\u043e\u0434\u0440\u0443\u0447\u043d\u044b\u0445 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u043e\u0432.<br \/>  \u0412\u043e\u043f\u0440\u043e\u0441\u044b, \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438 \u043a\u0440\u0438\u0442\u0438\u043a\u0430 \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442\u0441\u044f.<\/p>\n<p>  \u0412\u0441\u0435\u043c \u0431\u043e\u0431\u0440\u0430!     \t<\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/253741\/\"> http:\/\/habrahabr.ru\/post\/253741\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>     \t<img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/f3d\/d5f\/771\/f3dd5f77120045a7aaa1a62f403f7997.jpg\"\/><\/p>\n<p>  \u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0443, \u043f\u0435\u0440\u0432\u0430\u044f \u0447\u0430\u0441\u0442\u044c <a href=\"http:\/\/habrahabr.ru\/post\/252403\/\">\u0442\u0443\u0442<\/a>.<\/p>\n<h1>\u041a\u043b\u0430\u0441\u0442\u0435\u0440<\/h1>\n<p>  \u0418\u0442\u0430\u043a, \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c \u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0441\u043e\u0444\u0442\u0430, \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0433\u043e \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u043e\u043c.<br \/>  \u0423 \u043d\u0430\u0441 \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 Pacemaker + Corosync \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u043d\u043e\u0433\u043e \u0431\u044d\u043a\u0435\u043d\u0434\u0430 \u0434\u043b\u044f \u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u043d\u043e\u0434\u0430\u043c\u0438.<br \/>  Corosync \u0434\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u043d\u0430\u0434\u0451\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043b\u0435\u0446 \u043e\u0431\u043c\u0435\u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u043c\u0438.<br \/>  \u041f\u0440\u0438\u0447\u0451\u043c, \u0442\u0440\u0438 \u0438 \u0431\u043e\u043b\u0435\u0435 \u0443\u0436\u0435 \u043d\u0435 \u0442\u044f\u043d\u0435\u0442, \u0445\u043e\u0442\u044f \u0432 \u0434\u043e\u043a\u0430\u0445 \u043f\u0440\u043e \u044d\u0442\u043e \u043d\u0438\u0433\u0434\u0435 \u043e\u0441\u043e\u0431\u043e \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043e, \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0443\u0433\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0435\u0441\u043b\u0438 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u0434\u0432\u0443\u0445 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435.<\/p>\n<p>  \u041a\u043e\u043b\u044c\u0446\u0430 \u043d\u0430\u0437\u0432\u0430\u043d\u044b \u0442\u0430\u043a \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043c\u0435\u0436\u0434\u0443 \u043d\u043e\u0434\u0430\u043c\u0438 \u0438\u0434\u0451\u0442 \u043f\u043e \u043a\u043e\u043b\u044c\u0446\u0443 \u2014 \u043d\u043e\u0434\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0443 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0437\u0430\u043e\u0434\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u044f \u0436\u0438\u0432\u0443\u0447\u0435\u0441\u0442\u044c \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0430. \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043e\u043d\u043e \u043f\u043e UDP, \u043c\u043e\u0436\u0435\u0442 \u043a\u0430\u043a \u043f\u043e \u043c\u0443\u043b\u044c\u0442\u0438\u043a\u0430\u0441\u0442\u0443, \u0442\u0430\u043a \u0438 \u043f\u043e \u0443\u043d\u0438\u043a\u0430\u0441\u0442\u0443. \u0423 \u043d\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439, \u043f\u043e\u0447\u0435\u043c\u0443 \u2014 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u043d\u0438\u0436\u0435.<\/p>\n<h2>\u041a\u043e\u043b\u044c\u0446\u0430<\/h2>\n<p>  \u0414\u043b\u044f \u0441\u0432\u044f\u0437\u0438 \u043c\u0435\u0436\u0434\u0443 \u043d\u043e\u0434\u0430\u043c\u0438 \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0430\u0440\u0430\u043d\u043e\u0438\u0434\u0430\u043b\u044c\u043d\u0443\u044e \u0441\u0445\u0435\u043c\u0443 \u2014 \u0432\u043d\u0435\u0448\u043d\u0435\u0435 \u043a\u043e\u043b\u044c\u0446\u043e \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u044b (\u0442\u0443\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 Bonding\/Etherchannel \u043d\u0430 \u0434\u0432\u0430 \u0441\u0432\u0438\u0447\u0430) + \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0435 \u043a\u043e\u043b\u044c\u0446\u043e, \u0441\u043e\u0435\u0434\u0438\u043d\u044f\u044e\u0449\u0435\u0435 \u043d\u043e\u0434\u044b \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e (\u043d\u0430\u043f\u043e\u043c\u043d\u044e, \u0447\u0442\u043e \u0438\u0445 \u0442\u0440\u0438 \u2014 \u0434\u0432\u0430 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 + \u0441\u0432\u0438\u0434\u0435\u0442\u0435\u043b\u044c).<\/p>\n<p>  \u0421\u0445\u0435\u043c\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f:<br \/>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/93f\/752\/996\/93f7529961bc4af9aa74faae424b7d54.png\"\/><\/p>\n<p>  \u0417\u0435\u043b\u0451\u043d\u044b\u0435 \u0441\u0432\u044f\u0437\u0438 \u2014 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0435 \u043a\u043e\u043b\u044c\u0446\u043e, \u0447\u0451\u0440\u043d\u044b\u0435 \u2014 \u0432\u043d\u0435\u0448\u043d\u0435\u0435. \u0412 \u0434\u0430\u043d\u043d\u043e\u0439 \u0442\u043e\u043f\u043e\u043b\u043e\u0433\u0438\u0438 \u043d\u043e\u0434\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u0443\u0434\u0443\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0441\u0432\u044f\u0437\u043d\u043e\u0441\u0442\u044c \u0434\u0430\u0436\u0435 \u043f\u0440\u0438 \u043f\u043e\u043b\u043d\u043e\u043c \u043e\u0442\u043a\u0430\u0437\u0435 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 (\u0448\u0442\u043e\u0440\u043c \u043f\u043e\u043b\u043e\u0436\u0438\u043b \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u044b, \u0430\u0434\u043c\u0438\u043d (\u0442\u043e \u0431\u0438\u0448\u044c \u044f) \u0441\u0432\u043e\u0438\u043c\u0438 \u043a\u0440\u0438\u0432\u044b\u043c\u0438 \u0440\u0443\u043a\u0430\u043c\u0438 \u0447\u0442\u043e-\u0442\u043e \u043d\u0430\u043f\u043e\u0440\u0442\u0430\u0447\u0438\u043b\u2026 \u043c\u0430\u043b\u043e\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u043d\u043e \u0432\u0441\u0451 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c).  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-254611","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/254611","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=254611"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/254611\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=254611"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=254611"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=254611"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}