{"id":939,"date":"2015-12-29T13:32:03","date_gmt":"2015-12-29T13:32:03","guid":{"rendered":"http:\/\/haisins.epac.to\/wordpress\/?p=939"},"modified":"2015-12-29T13:32:03","modified_gmt":"2015-12-29T13:32:03","slug":"non-global-zone-state-model","status":"publish","type":"post","link":"https:\/\/haisins.synology.me\/wordpress\/?p=939","title":{"rendered":"Non-Global Zone State Model"},"content":{"rendered":"<p>To understand the operability of a zone we need to understand its state. Zones behave like typical Solaris 10 OS installations, but do not have resources such as power-on self test (POST) or Open Boot Programmable Read-Only Memory (OBP). Instead, theses settings and tests<br \/>are managed by the global zone. As a zone is configured, enabled, and used, its status command output changes.<br \/>\n<P>&nbsp;<\/P><br \/>\n<P style=\"FLOAT: none; TEXT-ALIGN: center; CLEAR: none\"><img loading=\"lazy\" src=\"https:\/\/i0.wp.com\/oracledba.zapto.org\/wordpress\/wp-content\/uploads\/1\/cfile2.uf.2112A03C56828A632106F2.PNG?resize=408%2C277\" class=\"aligncenter\" width=\"408\" height=\"277\" filename=\"1111.PNG\" filemime=\"image\/jpeg\" data-recalc-dims=\"1\" \/><\/P><br \/>\n<P>Configured -&gt; Installed -&gt; Running<br \/>A non-global zone can be in one of the following six states:<\/P><br \/>\n<P><br \/>\n<TABLE class=txc-table style=\"FONT-SIZE: 12px; BORDER-TOP: medium none; FONT-FAMILY: \ub3cb\uc6c0; BORDER-RIGHT: medium none; BORDER-COLLAPSE: collapse; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none\" cellSpacing=0 cellPadding=0 width=784 border=0><br \/>\n<TBODY><br \/>\n<TR><br \/>\n<TD style=\"BORDER-TOP: #ccc 1px solid; HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; WIDTH: 120px; BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid\"><br \/>\n<P>&nbsp;\uc0c1 \ud0dc<\/P><\/TD><br \/>\n<TD style=\"BORDER-TOP: #ccc 1px solid; HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; WIDTH: 665px; BORDER-BOTTOM: #ccc 1px solid\"><br \/>\n<P>\uc124 \uba85&nbsp;<\/P><\/TD><\/TR><br \/>\n<TR><br \/>\n<TD style=\"HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; WIDTH: 120px; BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid\"><br \/>\n<P>&nbsp;Undefined<\/P><\/TD><br \/>\n<TD style=\"HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; WIDTH: 665px; BORDER-BOTTOM: #ccc 1px solid\"><br \/>\n<P>&nbsp;In this state, the zone&#8217;s configuration has not been completed and committed to stable storage. This also occurs when a zone&#8217;s configuration has been deleted.<\/P><\/TD><\/TR><br \/>\n<TR><br \/>\n<TD style=\"HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; WIDTH: 120px; BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid\"><br \/>\n<P>&nbsp;Configured<\/P><\/TD><br \/>\n<TD style=\"HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; WIDTH: 665px; BORDER-BOTTOM: #ccc 1px solid\"><br \/>\n<P>&nbsp;The zone&#8217;s configuration is complete and committed to stable storage. However, those elements of the zone&#8217;s application environment that must be specified after initial boot are not yet present<\/P><\/TD><\/TR><br \/>\n<TR><br \/>\n<TD style=\"HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; WIDTH: 120px; BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid\"><br \/>\n<P>&nbsp;Imcomplete<\/P><\/TD><br \/>\n<TD style=\"HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; WIDTH: 665px; BORDER-BOTTOM: #ccc 1px solid\"><br \/>\n<P>&nbsp;During an install or uninstall operation, zoneadm sets the state of the target zone to incomplete. Upon successful completion of the operation, the state is set to the correct state.<\/P><\/TD><\/TR><br \/>\n<TR><br \/>\n<TD style=\"HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; WIDTH: 120px; BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid\"><br \/>\n<P>&nbsp;Installed<\/P><\/TD><br \/>\n<TD style=\"HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; WIDTH: 665px; BORDER-BOTTOM: #ccc 1px solid\"><br \/>\n<P>&nbsp;The zone&#8217;s configuration is instantiated on the system. The zoneadm command is used to verify that the configuration can be successfully used on the designated Solaris system. Packages are installed under the zone&#8217;s<br \/>root path. In this state, the zone has no associated virtual platform.<\/P><\/TD><\/TR><br \/>\n<TR><br \/>\n<TD style=\"HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; WIDTH: 120px; BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid\"><br \/>\n<P>&nbsp;Ready<\/P><\/TD><br \/>\n<TD style=\"HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; WIDTH: 665px; BORDER-BOTTOM: #ccc 1px solid\"><br \/>\n<P>&nbsp;The virtual platform for the zone is established. The kernel creates the zsched process, network interfaces are set up and made available to the zone, file systems are mounted, and devices are configured. A unique zone ID is assigned by the system. At this stage, no processes associated with the zone have been started.<\/P><\/TD><\/TR><br \/>\n<TR><br \/>\n<TD style=\"HEIGHT: 22px; BORDER-RIGHT: #ccc 1px solid; WIDTH: 120px; BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid\"><br \/>\n<P>&nbsp;Running<\/P><\/TD><br \/>\n<TD style=\"HEIGHT: 22px; BORDER-RIGHT: #ccc 1px solid; WIDTH: 665px; BORDER-BOTTOM: #ccc 1px solid\"><br \/>\n<P>&nbsp;User processes associated with the zone application environment are running. The zone enters the running state as soon as the first user process associated with the application environment (init) is created.<\/P><\/TD><\/TR><br \/>\n<TR><br \/>\n<TD style=\"HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; WIDTH: 120px; BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid\"><br \/>\n<P>&nbsp;Shutting down<br \/>and Down<\/P><\/TD><br \/>\n<TD style=\"HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; WIDTH: 665px; BORDER-BOTTOM: #ccc 1px solid\"><br \/>\n<P>&nbsp;These states are transitional states that are visible while the zone is being halted. However, a zone that is unable to shut down for any reason will stop in one of these states.<\/P><\/TD><\/TR><\/TBODY><\/TABLE><\/P><br \/>\n<P>&nbsp;<\/P><br \/>\n<P>&nbsp;<\/P><br \/>\n<P>&nbsp;<\/P><br \/>\n<P>&nbsp;<\/P><br \/>\n<P>&nbsp;<\/P><br \/>\n<P>&nbsp;<\/P><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To understand the operability of a zone we need to understand its state. Zones behave like typical Solaris 10 OS installations, but do not have resources such as power-on self test (POST) or Open Boot Programmable Read-Only Memory (OBP). Instead, theses settings and testsare managed by the global zone. As a zone is configured, enabled, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":940,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"spay_email":""},"categories":[405],"tags":[499],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/haisins.synology.me\/wordpress\/wp-content\/uploads\/1\/cfile2.uf.2112A03C56828A632106F2.PNG?fit=408%2C277&ssl=1","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/939"}],"collection":[{"href":"https:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=939"}],"version-history":[{"count":0,"href":"https:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/939\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/media\/940"}],"wp:attachment":[{"href":"https:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=939"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=939"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=939"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}