Best Practices for Running Oracle Databases in Solaris Containers

Best Practices for Running Oracle Databases in Solaris Containers

by Ritu Kamboj and Roman Ivanov
January 2009

The Solaris™ Operating System (Solaris OS) includes support for Solaris Containers, a virtualization technology that provides isolated and secure runtime environments within a single Solaris OS instance. Using Solaris Containers, administrators can manage separate workloads, control resource usage, and maintain IP network
separation. These features can enable multiple applications, or even multiple instances of the same application, to securely coexist on a single system, providing potential server consolidation savings.

Both Oracle 9i R2 and 10g R2 databases have been certified to run in a Solaris Container. A licensing agreement between Sun and Oracle recognizes Solaris 10 OS capped containers as hard partitions. The ability to license only the CPUs or cores configured in a Solaris Container provides flexibility, consolidation opportunities, and possible cost savings.

This article addresses the following topics:
• "Solaris Containers" on page 1 provides an overview of Solaris Containers, including Solaris Zones and the Solaris Resource Manager.
• "Oracle License Model for Solaris Containers" on page 7 describes the licensing model supported by Oracle.
• "Creating a Solaris 10 Container" on page 8 provides directions for creating and configuring a non-global zone in a Solaris Container that is appropriate for deploying an Oracle database.
• "Special Considerations" on page 10 discusses guidelines for running an Oracle database in a Solaris Container.

Contents

  • Best Practices for Running Oracle Databases in Solaris™ Containers
    • Solaris Containers
    • Oracle License Model for Solaris Containers
    • Creating a Solaris 10 Container
    • Special Considerations
    • Summary
    • About the Authors
    • Acknowledgements
    • References
    • Ordering Sun Documents
    • Accessing Sun Documentation Online
  • Appendix A: Scripts to Create a Solaris Container
    • README.txt
    • The setenv.sh File
    • The zone_cmd_template.txt File
    • The create_zone_cmg.pl Script
    • The create_container.sh Script
  • Appendix B: Setting System V IPC Kernel Parameters
About the Authors

Ritu Kamboj is a Staff Engineer in ISV Engineering's Open Source Team at Sun Microsystems. She has over 12 years of experience in software development with expertise on database design, performance, and high availability. She has worked extensively on Sybase, Oracle, and MySQL databases. Recently her primary focus has been making MySQL run best on the Solaris platform.

Roman Ivanov joined Sun in January 2006. He is working in the ISV Engineering department helping Independent Software Vendors adopt Sun's technology and improve performance on Sun's hardware. His blog is available online at http://blogs.sun.com/pomah/.

Acknowledgments

The author would like to thank Alain Chéreau, Jeff Victor, and Fernando Castano for their contributions to this article.

Rate this blueprint (Log In to vote.)
Choices Your Vote

Great

Good

Fair

Poor

Labels

new new Delete
blueprint blueprint Delete
virtualization virtualization Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact