SlideShare a Scribd company logo
1 of 5
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

Viewers also liked

GNAT Pro for ARM processors
GNAT Pro for ARM processorsGNAT Pro for ARM processors
GNAT Pro for ARM processorsAdaCore
 
Solaris 9 Installation Guide
Solaris 9 Installation GuideSolaris 9 Installation Guide
Solaris 9 Installation Guideequalnull
 
Embedded programming in RTOS VxWorks for PROFIBUS VME interface card
Embedded programming in RTOS VxWorks for PROFIBUS VME interface cardEmbedded programming in RTOS VxWorks for PROFIBUS VME interface card
Embedded programming in RTOS VxWorks for PROFIBUS VME interface cardRinku Chandolia
 
Solaris, OpenSolaris y Virtualización
Solaris, OpenSolaris y VirtualizaciónSolaris, OpenSolaris y Virtualización
Solaris, OpenSolaris y Virtualizaciónjuandanielp
 
Solaris 10 virtualization presentation
Solaris 10 virtualization presentationSolaris 10 virtualization presentation
Solaris 10 virtualization presentationxKinAnx
 
Sun solaris administration
Sun solaris administrationSun solaris administration
Sun solaris administrationlakshmisuj
 
Os solaris memory management
Os  solaris memory managementOs  solaris memory management
Os solaris memory managementTech_MX
 
Wireless Communication And Mobile Network - ZigBee
Wireless Communication And Mobile Network - ZigBeeWireless Communication And Mobile Network - ZigBee
Wireless Communication And Mobile Network - ZigBeeXaver Y.R. Chen
 
Solaris 10 workshop service management facility
Solaris 10 workshop service management facilitySolaris 10 workshop service management facility
Solaris 10 workshop service management facilityBui Van Cuong
 
Solaris Operating System
Solaris Operating SystemSolaris Operating System
Solaris Operating SystemJoshua Guillano
 
Windows process-scheduling
Windows process-schedulingWindows process-scheduling
Windows process-schedulingTalha Shaikh
 
Zigbee Based Patient Monitoring System
Zigbee Based Patient Monitoring SystemZigbee Based Patient Monitoring System
Zigbee Based Patient Monitoring SystemAmeer Khan
 
Unix memory management
Unix memory managementUnix memory management
Unix memory managementTech_MX
 

Viewers also liked (19)

GNAT Pro for ARM processors
GNAT Pro for ARM processorsGNAT Pro for ARM processors
GNAT Pro for ARM processors
 
Solaris 10 forget root password
Solaris 10 forget root passwordSolaris 10 forget root password
Solaris 10 forget root password
 
Solaris 9 Installation Guide
Solaris 9 Installation GuideSolaris 9 Installation Guide
Solaris 9 Installation Guide
 
Embedded programming in RTOS VxWorks for PROFIBUS VME interface card
Embedded programming in RTOS VxWorks for PROFIBUS VME interface cardEmbedded programming in RTOS VxWorks for PROFIBUS VME interface card
Embedded programming in RTOS VxWorks for PROFIBUS VME interface card
 
Solaris, OpenSolaris y Virtualización
Solaris, OpenSolaris y VirtualizaciónSolaris, OpenSolaris y Virtualización
Solaris, OpenSolaris y Virtualización
 
Solaris 10 virtualization presentation
Solaris 10 virtualization presentationSolaris 10 virtualization presentation
Solaris 10 virtualization presentation
 
2009 04.s10-admin-topics1
2009 04.s10-admin-topics12009 04.s10-admin-topics1
2009 04.s10-admin-topics1
 
Sun solaris administration
Sun solaris administrationSun solaris administration
Sun solaris administration
 
TinyOS
TinyOSTinyOS
TinyOS
 
Os solaris memory management
Os  solaris memory managementOs  solaris memory management
Os solaris memory management
 
Wireless Communication And Mobile Network - ZigBee
Wireless Communication And Mobile Network - ZigBeeWireless Communication And Mobile Network - ZigBee
Wireless Communication And Mobile Network - ZigBee
 
Solaris 10 workshop service management facility
Solaris 10 workshop service management facilitySolaris 10 workshop service management facility
Solaris 10 workshop service management facility
 
Solaris basics
Solaris basicsSolaris basics
Solaris basics
 
Solaris Operating System
Solaris Operating SystemSolaris Operating System
Solaris Operating System
 
Windows process-scheduling
Windows process-schedulingWindows process-scheduling
Windows process-scheduling
 
Aix overview
Aix overviewAix overview
Aix overview
 
Zigbee Based Patient Monitoring System
Zigbee Based Patient Monitoring SystemZigbee Based Patient Monitoring System
Zigbee Based Patient Monitoring System
 
Unix memory management
Unix memory managementUnix memory management
Unix memory management
 
Basic Unix
Basic UnixBasic Unix
Basic Unix
 

Similar to Consolidating Applications With Solaris Containers

modern-guide-to-container-monitoring-and-orchestration.pdf
modern-guide-to-container-monitoring-and-orchestration.pdfmodern-guide-to-container-monitoring-and-orchestration.pdf
modern-guide-to-container-monitoring-and-orchestration.pdfGuillaume Kpotufe
 
SUN Solaris Zones WebSphere Portal licensing
SUN Solaris Zones WebSphere Portal licensingSUN Solaris Zones WebSphere Portal licensing
SUN Solaris Zones WebSphere Portal licensingChris Sparshott
 
Linux virtualization in a nutshell
Linux virtualization in a nutshellLinux virtualization in a nutshell
Linux virtualization in a nutshellpv_narayanan
 
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogic
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogicHTTP Session Replication with Oracle Coherence, GlassFish, WebLogic
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogicOracle
 
Veritas Failover3
Veritas Failover3Veritas Failover3
Veritas Failover3grogers1124
 
Docker Based SaaS Platform - Case Study
Docker Based SaaS Platform - Case StudyDocker Based SaaS Platform - Case Study
Docker Based SaaS Platform - Case StudyWaveMaker, Inc.
 
Operating System extension.docx
Operating System extension.docxOperating System extension.docx
Operating System extension.docxkumari36
 
Casos de uso para aplicaciones tradicionales en un mundo de contenedores
Casos de uso para aplicaciones tradicionales en un mundo de contenedoresCasos de uso para aplicaciones tradicionales en un mundo de contenedores
Casos de uso para aplicaciones tradicionales en un mundo de contenedoresSUSE España
 
Containerizing stateful apps with Kubernetes and SUSE CaaS Platform
Containerizing stateful apps with Kubernetes and SUSE CaaS PlatformContainerizing stateful apps with Kubernetes and SUSE CaaS Platform
Containerizing stateful apps with Kubernetes and SUSE CaaS PlatformJuan Herrera Utande
 
Advanced resource allocation and service level monitoring for container orche...
Advanced resource allocation and service level monitoring for container orche...Advanced resource allocation and service level monitoring for container orche...
Advanced resource allocation and service level monitoring for container orche...Conference Papers
 
Advanced resource allocation and service level monitoring for container orche...
Advanced resource allocation and service level monitoring for container orche...Advanced resource allocation and service level monitoring for container orche...
Advanced resource allocation and service level monitoring for container orche...Conference Papers
 
EOUG95 - Client Server Very Large Databases - Paper
EOUG95 - Client Server Very Large Databases - PaperEOUG95 - Client Server Very Large Databases - Paper
EOUG95 - Client Server Very Large Databases - PaperDavid Walker
 
Benefits of Containers, Microservices and Containerized Microservices
Benefits of Containers, Microservices and Containerized MicroservicesBenefits of Containers, Microservices and Containerized Microservices
Benefits of Containers, Microservices and Containerized MicroservicesHTS Hosting
 
Orleans: Cloud Computing for Everyone - SOCC 2011
Orleans: Cloud Computing for Everyone - SOCC 2011Orleans: Cloud Computing for Everyone - SOCC 2011
Orleans: Cloud Computing for Everyone - SOCC 2011Jorgen Thelin
 
CSI-503 - 11.Distributed Operating System
CSI-503 - 11.Distributed Operating SystemCSI-503 - 11.Distributed Operating System
CSI-503 - 11.Distributed Operating Systemghayour abbas
 
Sun xVM Virtualization Uni Parthenope
Sun xVM Virtualization Uni ParthenopeSun xVM Virtualization Uni Parthenope
Sun xVM Virtualization Uni ParthenopeEmanuela Giannetta
 

Similar to Consolidating Applications With Solaris Containers (20)

modern-guide-to-container-monitoring-and-orchestration.pdf
modern-guide-to-container-monitoring-and-orchestration.pdfmodern-guide-to-container-monitoring-and-orchestration.pdf
modern-guide-to-container-monitoring-and-orchestration.pdf
 
SUN Solaris Zones WebSphere Portal licensing
SUN Solaris Zones WebSphere Portal licensingSUN Solaris Zones WebSphere Portal licensing
SUN Solaris Zones WebSphere Portal licensing
 
Apache mesos
Apache mesosApache mesos
Apache mesos
 
Oracle WebLogic 11g Topology
Oracle WebLogic 11g TopologyOracle WebLogic 11g Topology
Oracle WebLogic 11g Topology
 
Linux virtualization in a nutshell
Linux virtualization in a nutshellLinux virtualization in a nutshell
Linux virtualization in a nutshell
 
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogic
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogicHTTP Session Replication with Oracle Coherence, GlassFish, WebLogic
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogic
 
Veritas Failover3
Veritas Failover3Veritas Failover3
Veritas Failover3
 
Docker Based SaaS Platform - Case Study
Docker Based SaaS Platform - Case StudyDocker Based SaaS Platform - Case Study
Docker Based SaaS Platform - Case Study
 
Operating System extension.docx
Operating System extension.docxOperating System extension.docx
Operating System extension.docx
 
Casos de uso para aplicaciones tradicionales en un mundo de contenedores
Casos de uso para aplicaciones tradicionales en un mundo de contenedoresCasos de uso para aplicaciones tradicionales en un mundo de contenedores
Casos de uso para aplicaciones tradicionales en un mundo de contenedores
 
Containerizing stateful apps with Kubernetes and SUSE CaaS Platform
Containerizing stateful apps with Kubernetes and SUSE CaaS PlatformContainerizing stateful apps with Kubernetes and SUSE CaaS Platform
Containerizing stateful apps with Kubernetes and SUSE CaaS Platform
 
lect 1TO 5.pptx
lect 1TO 5.pptxlect 1TO 5.pptx
lect 1TO 5.pptx
 
Advanced resource allocation and service level monitoring for container orche...
Advanced resource allocation and service level monitoring for container orche...Advanced resource allocation and service level monitoring for container orche...
Advanced resource allocation and service level monitoring for container orche...
 
Advanced resource allocation and service level monitoring for container orche...
Advanced resource allocation and service level monitoring for container orche...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
EOUG95 - Client Server Very Large Databases - PaperEOUG95 - Client Server Very Large Databases - Paper
EOUG95 - Client Server Very Large Databases - Paper
 
Benefits of Containers, Microservices and Containerized Microservices
Benefits of Containers, Microservices and Containerized MicroservicesBenefits of Containers, Microservices and Containerized Microservices
Benefits of Containers, Microservices and Containerized Microservices
 
Orleans: Cloud Computing for Everyone - SOCC 2011
Orleans: Cloud Computing for Everyone - SOCC 2011Orleans: Cloud Computing for Everyone - SOCC 2011
Orleans: Cloud Computing for Everyone - SOCC 2011
 
Serverless Architecture
Serverless ArchitectureServerless Architecture
Serverless Architecture
 
CSI-503 - 11.Distributed Operating System
CSI-503 - 11.Distributed Operating SystemCSI-503 - 11.Distributed Operating System
CSI-503 - 11.Distributed Operating System
 
Sun xVM Virtualization Uni Parthenope
Sun xVM Virtualization Uni ParthenopeSun xVM Virtualization Uni Parthenope
Sun xVM Virtualization Uni Parthenope
 

Recently uploaded

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 

Recently uploaded (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 

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.