SlideShare a Scribd company logo
Title               : Consolidating Applications with Solaris Containers
Author              : Vaishal Gariwala
Email               : vaishal.gariwala@sos.sungard.com
Environment         : Solaris 10 Operating Environment
Keywords            : Virtualization and Consolidation
Level               : Intermediate
Description         : This article explains the basics about virtualization on Solaris 10
                    and how Solaris Containers work.



Solaris Containers: Overview

Solaris Containers Sun's operating system virtualization technique consists of several
technologies that work together to foster improved resource management and isolate the
environment from the underlying OS. With Solaris Containers, organizations can determine how
to allocate resources among applications and services, and ensure they do not interfere with one
another. In other words a Solaris Container is a complete runtime environment for applications.
Solaris 10 Resource Manager and Solaris Zones software partitioning technology are both parts
of the container. These components address different qualities the container can deliver and work
together to create a complete container. The zones portion of the container provides a virtual
mapping from the application to the platform resources. Zones allow application components to
be isolated from one another even though the zones share a single instance of the Solaris
Operating System. Resource management features permit you to allocate the quantity of
resources that a workload receives. The container establishes boundaries for resource
consumption, such as CPU. These boundaries can be expanded to adapt to changing processing
requirements of the application running in the container.
Solaris Zones

As part of the consolidation effort, it is important to evaluate the needs of the applications that will
share the consolidated system. In this example, the email server and Web server applications
need to run in isolated environments that make it appear as if they are running on physically
separate machines. This is made possible by a Solaris Container technology called Solaris
Zones, which provides separate environments on a machine and logically isolates applications
from one another. Each application receives a dedicated namespace in which to run, and cannot
see, monitor, or affect applications running in another zone. See the figure below:




In the figure above all the three applications have there own Solaris Zone.

Dynamic Resource Pools

In the above mentioned example there are two types of applications, one that needs a fully
dedicated CPU an email server, and another that is more flexible and can share CPUs the two
Web servers. To accomplish these different levels of isolation we use a Solaris Container
technology called Dynamic Resource Pools that enables CPU resources to be dedicated to
specific applications. In this example, the email server needs a separate resource pool, while the
Web servers can share another. As can be seen in figure below, we give one CPU to resource
pool 1 and three CPUs to resource pool 2.




In the figure email server has resource pool 1 and the Web Servers are sharing resource
pool 2.
Fair Share Scheduler

While the two Web servers are capable of sharing the remaining CPUs on the system, they each
need a minimum guarantee of CPU resources that will be available to them. This is made
possible by another Solaris Container technology called the Fair Share Scheduler (FSS). This
software enables CPU resources to be allocated proportionally to applications. That is, each
application gets assigned a number of the available shares of the total CPU.




Of the five available shares, Web server 1 gets three, and Web server 2 gets two.

Using all these Solaris Container technologies on the new server creates an environment like that
shown in figure below. Now the system includes three Containers: one with dedicated CPU
resources and two others shares CPU resources.




Figure above shows a Container with a zone on a dedicated resource pool, and two Containers
each with a zone on a shared pool with shares.
Two Types of Zones

All systems that run Solaris 10 contain a master zone, called the global zone. The global zone is
the original Solaris OS instance. It has access to the physical hardware and can control all
processes. It also has the authority to create and control new zones, called non-global zones, in
which applications run. Non-global zones do not run inside the global zone they run along side
it yet the global zone can look inside non-global zones to see how they are configured, monitor,
and control them. Like the other zones, this global zone is also associated with a resource pool.
In our example this is resource pool 2. In this case, it shares CPU resources with the Web
servers. When the Fair Share Scheduler is enabled, the global zone defaults to one share.




Figure above shows the full example with all the resource pools and zones.


Advantages:

    ·   Multiple isolated pools
           o Security
           o Resource Management
    ·   Comprehensive consolidation facility integrated as a core component of a
        mainstream OS
           o Portability to multiple platforms
    ·   Lower Administration
           o Manageable, observable
           o Reduces administration work
           o Delegation of container management
    ·   Low computational overhead
    ·   No additional hardware, licensing or support fees
    ·   Support multiple, isolated application environments in one OS instance
           o Achieves isolation, manageability, reduces cost
    ·   Software based solution
           o Achieves portability and simplicity
    ·   Do not require application changes or recompilation
Disadvantages:

   ·   No file system sharing
          o A Non-global Solaris Zone cannot be an NFS server, though they can
               establish NFS client connections to already running NFS servers.

More Related Content

PDF
Sybase ase solaris-containers
PDF
Solaris 10 10 08 what's new customer presentation
PDF
Smf deepdive-tran
PPTX
solaris 10 administration training | solaris 10 training | solaris 10
PDF
Solaris 10 10 09 what's new customer presentation
PPT
10 tips to master the "new" Linkedin
PDF
Solaris 10 workshop solaris 10 user commands
PPT
Solaris 10 administration 2 Configuring NFS
Sybase ase solaris-containers
Solaris 10 10 08 what's new customer presentation
Smf deepdive-tran
solaris 10 administration training | solaris 10 training | solaris 10
Solaris 10 10 09 what's new customer presentation
10 tips to master the "new" Linkedin
Solaris 10 workshop solaris 10 user commands
Solaris 10 administration 2 Configuring NFS

Viewers also liked (19)

PPTX
GNAT Pro for ARM processors
PDF
Solaris 10 forget root password
PDF
Solaris 9 Installation Guide
PDF
Embedded programming in RTOS VxWorks for PROFIBUS VME interface card
PDF
Solaris, OpenSolaris y Virtualización
PDF
Solaris 10 virtualization presentation
PDF
2009 04.s10-admin-topics1
PDF
Sun solaris administration
PPTX
PPTX
Os solaris memory management
KEY
Wireless Communication And Mobile Network - ZigBee
PDF
Solaris 10 workshop service management facility
PDF
Solaris basics
PPTX
Solaris Operating System
PPTX
Windows process-scheduling
PPT
Aix overview
PPT
Zigbee Based Patient Monitoring System
PPT
Unix memory management
PPT
Basic Unix
GNAT Pro for ARM processors
Solaris 10 forget root password
Solaris 9 Installation Guide
Embedded programming in RTOS VxWorks for PROFIBUS VME interface card
Solaris, OpenSolaris y Virtualización
Solaris 10 virtualization presentation
2009 04.s10-admin-topics1
Sun solaris administration
Os solaris memory management
Wireless Communication And Mobile Network - ZigBee
Solaris 10 workshop service management facility
Solaris basics
Solaris Operating System
Windows process-scheduling
Aix overview
Zigbee Based Patient Monitoring System
Unix memory management
Basic Unix
Ad

Similar to Consolidating Applications With Solaris Containers (20)

PDF
modern-guide-to-container-monitoring-and-orchestration.pdf
PPT
SUN Solaris Zones WebSphere Portal licensing
PPTX
Apache mesos
PDF
Oracle WebLogic 11g Topology
DOCX
Linux virtualization in a nutshell
PPT
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogic
PPT
Veritas Failover3
PPTX
Docker Based SaaS Platform - Case Study
DOCX
Operating System extension.docx
PDF
Casos de uso para aplicaciones tradicionales en un mundo de contenedores
PDF
Containerizing stateful apps with Kubernetes and SUSE CaaS Platform
PPTX
lect 1TO 5.pptx
PDF
Advanced resource allocation and service level monitoring for container orche...
PDF
Advanced resource allocation and service level monitoring for container orche...
PDF
EOUG95 - Client Server Very Large Databases - Paper
PPTX
Benefits of Containers, Microservices and Containerized Microservices
PDF
Orleans: Cloud Computing for Everyone - SOCC 2011
PDF
Serverless Architecture
PDF
CSI-503 - 11.Distributed Operating System
ODP
Sun xVM Virtualization Uni Parthenope
modern-guide-to-container-monitoring-and-orchestration.pdf
SUN Solaris Zones WebSphere Portal licensing
Apache mesos
Oracle WebLogic 11g Topology
Linux virtualization in a nutshell
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogic
Veritas Failover3
Docker Based SaaS Platform - Case Study
Operating System extension.docx
Casos de uso para aplicaciones tradicionales en un mundo de contenedores
Containerizing stateful apps with Kubernetes and SUSE CaaS Platform
lect 1TO 5.pptx
Advanced resource allocation and service level monitoring for container orche...
Advanced resource allocation and service level monitoring for container orche...
EOUG95 - Client Server Very Large Databases - Paper
Benefits of Containers, Microservices and Containerized Microservices
Orleans: Cloud Computing for Everyone - SOCC 2011
Serverless Architecture
CSI-503 - 11.Distributed Operating System
Sun xVM Virtualization Uni Parthenope
Ad

Recently uploaded (20)

PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPT
Teaching material agriculture food technology
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
Understanding_Digital_Forensics_Presentation.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Per capita expenditure prediction using model stacking based on satellite ima...
Network Security Unit 5.pdf for BCA BBA.
20250228 LYD VKU AI Blended-Learning.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
The Rise and Fall of 3GPP – Time for a Sabbatical?
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Programs and apps: productivity, graphics, security and other tools
MIND Revenue Release Quarter 2 2025 Press Release
Building Integrated photovoltaic BIPV_UPV.pdf
Teaching material agriculture food technology
The AUB Centre for AI in Media Proposal.docx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Digital-Transformation-Roadmap-for-Companies.pptx

Consolidating Applications With Solaris Containers

  • 1. Title : Consolidating Applications with Solaris Containers Author : Vaishal Gariwala Email : vaishal.gariwala@sos.sungard.com Environment : Solaris 10 Operating Environment Keywords : Virtualization and Consolidation Level : Intermediate Description : This article explains the basics about virtualization on Solaris 10 and how Solaris Containers work. Solaris Containers: Overview Solaris Containers Sun's operating system virtualization technique consists of several technologies that work together to foster improved resource management and isolate the environment from the underlying OS. With Solaris Containers, organizations can determine how to allocate resources among applications and services, and ensure they do not interfere with one another. In other words a Solaris Container is a complete runtime environment for applications. Solaris 10 Resource Manager and Solaris Zones software partitioning technology are both parts of the container. These components address different qualities the container can deliver and work together to create a complete container. The zones portion of the container provides a virtual mapping from the application to the platform resources. Zones allow application components to be isolated from one another even though the zones share a single instance of the Solaris Operating System. Resource management features permit you to allocate the quantity of resources that a workload receives. The container establishes boundaries for resource consumption, such as CPU. These boundaries can be expanded to adapt to changing processing requirements of the application running in the container.
  • 2. Solaris Zones As part of the consolidation effort, it is important to evaluate the needs of the applications that will share the consolidated system. In this example, the email server and Web server applications need to run in isolated environments that make it appear as if they are running on physically separate machines. This is made possible by a Solaris Container technology called Solaris Zones, which provides separate environments on a machine and logically isolates applications from one another. Each application receives a dedicated namespace in which to run, and cannot see, monitor, or affect applications running in another zone. See the figure below: In the figure above all the three applications have there own Solaris Zone. Dynamic Resource Pools In the above mentioned example there are two types of applications, one that needs a fully dedicated CPU an email server, and another that is more flexible and can share CPUs the two Web servers. To accomplish these different levels of isolation we use a Solaris Container technology called Dynamic Resource Pools that enables CPU resources to be dedicated to specific applications. In this example, the email server needs a separate resource pool, while the Web servers can share another. As can be seen in figure below, we give one CPU to resource pool 1 and three CPUs to resource pool 2. In the figure email server has resource pool 1 and the Web Servers are sharing resource pool 2.
  • 3. Fair Share Scheduler While the two Web servers are capable of sharing the remaining CPUs on the system, they each need a minimum guarantee of CPU resources that will be available to them. This is made possible by another Solaris Container technology called the Fair Share Scheduler (FSS). This software enables CPU resources to be allocated proportionally to applications. That is, each application gets assigned a number of the available shares of the total CPU. Of the five available shares, Web server 1 gets three, and Web server 2 gets two. Using all these Solaris Container technologies on the new server creates an environment like that shown in figure below. Now the system includes three Containers: one with dedicated CPU resources and two others shares CPU resources. Figure above shows a Container with a zone on a dedicated resource pool, and two Containers each with a zone on a shared pool with shares.
  • 4. Two Types of Zones All systems that run Solaris 10 contain a master zone, called the global zone. The global zone is the original Solaris OS instance. It has access to the physical hardware and can control all processes. It also has the authority to create and control new zones, called non-global zones, in which applications run. Non-global zones do not run inside the global zone they run along side it yet the global zone can look inside non-global zones to see how they are configured, monitor, and control them. Like the other zones, this global zone is also associated with a resource pool. In our example this is resource pool 2. In this case, it shares CPU resources with the Web servers. When the Fair Share Scheduler is enabled, the global zone defaults to one share. Figure above shows the full example with all the resource pools and zones. Advantages: · Multiple isolated pools o Security o Resource Management · Comprehensive consolidation facility integrated as a core component of a mainstream OS o Portability to multiple platforms · Lower Administration o Manageable, observable o Reduces administration work o Delegation of container management · Low computational overhead · No additional hardware, licensing or support fees · Support multiple, isolated application environments in one OS instance o Achieves isolation, manageability, reduces cost · Software based solution o Achieves portability and simplicity · Do not require application changes or recompilation
  • 5. Disadvantages: · No file system sharing o A Non-global Solaris Zone cannot be an NFS server, though they can establish NFS client connections to already running NFS servers.