{"id":940,"date":"2012-07-23T17:46:17","date_gmt":"2012-07-23T13:46:17","guid":{"rendered":"http:\/\/www.unixpin.com\/wordpress\/?p=940"},"modified":"2012-07-24T09:05:38","modified_gmt":"2012-07-24T05:05:38","slug":"solaris-11-boot-enviroment","status":"publish","type":"post","link":"https:\/\/www.unixpin.com\/?p=940","title":{"rendered":"Solaris 11: Boot Environments"},"content":{"rendered":"<p>\u0412 Solaris 11 \u0441 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435\u043c \u043d\u043e\u0432\u043e\u0439 \u0441\u0440\u0435\u0434\u044b \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 (Boot Environments <strong>BE<\/strong>) \u0432\u0441\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e (\u0432 \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u043d\u043d\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430\u0441\u044c <a href=\"https:\/\/www.unixpin.com\/2010\/05\/12\/solaris-live-upgrade-1\/\" target=\"_blank\">LiveUpgrade<\/a> ). \u041d\u0435 \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 (\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f zfs), \u0435\u0441\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0441 \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u043c \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u043e\u043c.<\/p>\n<p>\u0418\u0442\u0430\u043a, \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e BE<br \/>\n<code># beadm create newBE<\/code><\/p>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 BE (\u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u0441\u043d\u044d\u043f\u0448\u043e\u0442\u0430\u043c\u0438, \u0442\u043e\u0447\u043a\u0430\u043c\u0438 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0434\u0430\u0442\u0430\u043c\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0438 \u043f\u0440\u043e\u0447\u0438\u043c)<br \/>\n<code># beadm list -a<\/code><\/p>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 BE \u0432 \u0432\u0438\u0434\u0435 \u043f\u0440\u0438\u0433\u043e\u0434\u043d\u043e\u043c \u0434\u043b\u044f \u043c\u0430\u0448\u0438\u043d\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0431\u043e\u0440\u0430<br \/>\n<code># beadm list -aH<\/code><\/p>\n<p>\u041f\u0440\u0438\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c BE \u0438 \u0437\u0430\u043b\u0438\u0442\u044c \u043d\u0430 \u043d\u0435\u0435 \u043f\u0430\u043a\u0430\u0434\u0436\u0438<br \/>\n<code># beadm mount newBE \/a<br \/>\n# pkg -R \/a install package-name<\/code><\/p>\n<p>\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u0443\u044e BE<br \/>\n<code># beadm activate newBE<\/code><\/p>\n<p>\u0423\u0434\u0430\u043b\u0438\u0442\u044c BE<br \/>\n<code># beadm destroy newBE<br \/>\n# beadm destroy -F newBE<\/code><\/p>\n<p>\u0421\u043f\u0438\u0441\u043e\u043a \u0444\u043b\u0430\u0433\u043e\u0432 BE, \u0432\u044b\u0432\u043e\u0434\u0438\u043c\u044b\u0445 \u043f\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u0435 <code>beadm list<\/code><br \/>\n<strong>R<\/strong> \u2013 Active on reboot.<br \/>\n<strong>N<\/strong> \u2013 Active now.<br \/>\n<strong>NR<\/strong> \u2013 Active now and active on reboot.<br \/>\n<strong>\u201c-\u201d<\/strong> \u2013 Inactive.<br \/>\n<strong>\u201c!\u201d<\/strong> \u2013 Unbootable boot environments in a non-global zone are represented by an exclamation point.<\/p>\n<p>\u0421\u0441\u044b\u043b\u043a\u0438 \u0432 \u0442\u0435\u043c\u0443<\/p>\n<ul>\n<li><a href=\"http:\/\/docs.oracle.com\/cd\/E23824_01\/html\/E21801\/toc.html\" target=\"_blank\">Creating and Administering Oracle Solaris 11 Boot Environments<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u0412 Solaris 11 \u0441 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435\u043c \u043d\u043e\u0432\u043e\u0439 \u0441\u0440\u0435\u0434\u044b \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 (Boot Environments BE) \u0432\u0441\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e (\u0432 \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u043d\u043d\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430\u0441\u044c LiveUpgrade ). \u041d\u0435 \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 (\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f zfs), \u0435\u0441\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0441 \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u043c \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u043e\u043c. \u0418\u0442\u0430\u043a, \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e BE # beadm create newBE \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 BE (\u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u0441\u043d\u044d\u043f\u0448\u043e\u0442\u0430\u043c\u0438, \u0442\u043e\u0447\u043a\u0430\u043c\u0438 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0434\u0430\u0442\u0430\u043c\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0438 \u043f\u0440\u043e\u0447\u0438\u043c) # [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,899],"tags":[976,975,977,971,896],"class_list":["post-940","post","type-post","status-publish","format-standard","hentry","category-solaris","category-unix-solaris-zfs","tag-be","tag-beadm","tag-boot-environment","tag-solaris-11","tag-896"],"_links":{"self":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts\/940","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=940"}],"version-history":[{"count":5,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts\/940\/revisions"}],"predecessor-version":[{"id":944,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts\/940\/revisions\/944"}],"wp:attachment":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=940"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=940"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}