{"id":143,"date":"2009-05-07T10:02:28","date_gmt":"2009-05-07T02:02:28","guid":{"rendered":"http:\/\/www.sysadmindayph.com\/blog\/?p=143"},"modified":"2009-05-07T10:02:28","modified_gmt":"2009-05-07T02:02:28","slug":"how-to-consolidate-servers-and-applications-using-solaris-containers","status":"publish","type":"post","link":"https:\/\/www.sysadmindayph.com\/blog\/how-to-consolidate-servers-and-applications-using-solaris-containers\/","title":{"rendered":"How to Consolidate Servers and Applications using Solaris Containers"},"content":{"rendered":"<p>I am subscribe to the official Sun Microsystem newsletter and I got this one directly from my inbox that I want to share to every Solaris SysAdmin out there:<\/p>\n<p>This How-To Guide instructs users, system administrators, and developers unfamiliar with Solaris 10 OS on consolidating applications onto a single server using Solaris Containers technology. The guide starts with a brief overview of Solaris Containers and follows with an example of using Solaris Containers to consolidate two Web server applications and an email server application onto a single server. Users are guided step-by-step through the consolidation process, with code examples and illustrations.<\/p>\n<p>After using this guide, a user should be able to create Solaris Containers by:<\/p>\n<p>    * <strong>Creating a resource pool<\/strong><br \/>\n    * <strong>Defining Solaris Zones<\/strong><br \/>\n    * <strong>Assigning CPU usage with the Fair Share Scheduler<\/strong> (FSS)<br \/>\n    * <strong>Installing and booting a zone<\/strong><br \/>\n    * <strong>Configuring access to raw devices from the zone<\/strong><\/p>\n<p><!--more--><\/p>\n<p>I wont be able to post every info from the PDF file here.. But I can however maybe put a part so that it will entice you more to download the paper:<\/p>\n<p><strong>Solaris Zones<\/strong><br \/>\nAs part of the consolidation effort, it is important to<br \/>\nevaluate the needs of the applications that will share the<br \/>\nconsolidated system. In this example, the email server and<br \/>\nWeb server applications need to run in isolated<br \/>\nenvironments that make it appear as if they are running on<br \/>\nphysically separate machines. This is made possible by a<br \/>\nSolaris Container technology called Solaris Zones, which<br \/>\nprovides separate environments on a machine and logically<br \/>\nisolates applications from one another. Each application<br \/>\nreceives a dedicated namespace in which to run, and<br \/>\ncannot see, monitor, or affect applications running in<br \/>\nanother zone<\/p>\n<p><strong>Dynamic Resource Pools<\/strong><br \/>\nIn this example there are two types of applications, one<br \/>\nthat needs a fully dedicated CPU\u2014an email server, and<br \/>\nanother that is more flexible and can share CPUs\u2014the two<br \/>\nWeb servers. To accomplish these different levels of<br \/>\nisolation we use a Solaris Container technology called<br \/>\nDynamic Resource Pools that enables CPU resources to be<br \/>\ndedicated to specific applications. In this example, the<br \/>\nemail server needs a separate resource pool, while the Web<br \/>\nservers can share another<\/p>\n<p><strong>Fair Share Scheduler<\/strong><br \/>\nWhile the two Web servers are capable of sharing the<br \/>\nremaining CPUs on the system, they each need a minimum<br \/>\nguarantee of CPU resources that will be available to them.<br \/>\nThis is made possible by another Solaris Container<br \/>\ntechnology called the Fair Share Scheduler (FSS). This<br \/>\nsoftware enables CPU resources to be allocated<br \/>\nproportionally to applications. That is, each application<br \/>\ngets assigned a number of the available \u201cshares\u201d of the<br \/>\ntotal CPU.<\/p>\n<p>And many more! Excited yet? here&#8217;s the link for download:<\/p>\n<p>https:\/\/www.sun.com\/offers\/details\/solaris_containers.xml?cid=927534<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am subscribe to the official Sun Microsystem newsletter and I got this one directly from my inbox that I want to share to every Solaris SysAdmin out there: This How-To Guide instructs users, system &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,25,91],"tags":[217,219,372,218,220],"class_list":["post-143","post","type-post","status-publish","format-standard","hentry","category-solaris","category-solaris-10","category-zfs","tag-containers","tag-pool","tag-solaris","tag-zones","tag-zpool"],"_links":{"self":[{"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts\/143","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/comments?post=143"}],"version-history":[{"count":0,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts\/143\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/media?parent=143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/categories?post=143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/tags?post=143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}