{"id":111,"date":"2012-12-15T21:11:44","date_gmt":"2012-12-15T19:11:44","guid":{"rendered":"http:\/\/www.is-buchholz.com\/blog\/?p=111"},"modified":"2022-01-14T13:44:54","modified_gmt":"2022-01-14T11:44:54","slug":"non-global-zone-transfer-zwischen-zwei-maschinen-unter-solaris-10","status":"publish","type":"post","link":"https:\/\/www.is-buchholz.com\/blog\/?p=111","title":{"rendered":"Non-Global-Zone transfer zwischen zwei Maschinen unter Solaris 10"},"content":{"rendered":"<h2>Zone-Cheat-Sheet:<\/h2>\n<p>Zone anhalten und und von der Maschine A trennen:<\/p>\n<p><code>zoneadm -z sol05 halt; zoneadm -z sol05 detach<\/code><\/p>\n<p>Zone-FS mittels Snapshot auf Maschine B transferieren:<\/p>\n<p><strong>Wichtig:<\/strong> Vor dem Snapshot sollte man die Properties des ZFS pr\u00fcfen und sie beim Snapshot gegebenen Falls mit angeben:<\/p>\n<p><code>zfs snapshot -o recordsize=8k -r sol01\/zones\/sol05@sol05_snapshot<\/code><\/p>\n<p><code>zfs send sol01\/zones\/sol05@sol05_snapshot | ssh root@sol03 zfs recv sol03\/zones\/sol05<\/code><\/p>\n<p>Auf Maschine B die Zone erstellen:<\/p>\n<p><code>zonecfg -z sol05<br \/>\ncreate -a \/sol03\/zones\/sol05<br \/>\n...<br \/>\n<\/code><\/p>\n<p>Die Zone anpassen (NICs sind gute Kandidaten) und \u00fcberpr\u00fcfen:<\/p>\n<p><code>info<br \/>\ncommit<br \/>\nexit<br \/>\n<\/code><\/p>\n<p>Nun die Zone wieder einbinden:<\/p>\n<p><code>zoneadm -z sol05 attach -u (Solaris 10 10\/08) -U (Solaris 10 9\/10)<br \/>\n<\/code><\/p>\n<p>Und die Zone wieder hochfahren:<\/p>\n<p><code>zoneadm -z sol05 boot<\/code><\/p>\n<p>Fertig \ud83d\ude42 Und Dank ZFS ist die Sache wirklich elegant und schnell gel\u00f6st.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Zone-Cheat-Sheet: Zone anhalten und und von der Maschine A trennen: zoneadm -z sol05 halt; zoneadm -z sol05 detach Zone-FS mittels Snapshot auf Maschine B transferieren: Wichtig: Vor dem Snapshot sollte man die Properties des ZFS pr\u00fcfen und sie beim Snapshot &hellip; <a href=\"https:\/\/www.is-buchholz.com\/blog\/?p=111\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-111","post","type-post","status-publish","format-standard","hentry","category-solaris"],"_links":{"self":[{"href":"https:\/\/www.is-buchholz.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.is-buchholz.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.is-buchholz.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.is-buchholz.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.is-buchholz.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=111"}],"version-history":[{"count":6,"href":"https:\/\/www.is-buchholz.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/111\/revisions"}],"predecessor-version":[{"id":170,"href":"https:\/\/www.is-buchholz.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/111\/revisions\/170"}],"wp:attachment":[{"href":"https:\/\/www.is-buchholz.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.is-buchholz.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.is-buchholz.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}