Virtualization With Oracle Solaris 10: An Oracle White Paper June 2010
Virtualization With Oracle Solaris 10: An Oracle White Paper June 2010
Virtualization With Oracle Solaris 10: An Oracle White Paper June 2010
Introduction ......................................................................................... 1! Virtualization Strategies Can Help .................................................. 1! Comprehensive Desktop to Datacenter Virtualization Solutions......... 2! Server Virtualization ........................................................................ 2! Desktop Virtualization ..................................................................... 5! Storage Virtualization ...................................................................... 6! Putting Oracle Solaris 10 Virtualization Technologies to Work ........... 6! Consolidate and Scale .................................................................... 7! Support Legacy Applications .......................................................... 8! Scale to Meet Demand ................................................................... 9! Create a More Agile Datacenter ................................................... 10! Speeding Application Throughput ................................................. 11! Protect Web-Facing Applications .................................................. 12! Rapid Deployment with Templates ............................................... 13! For More Information ........................................................................ 14!
Introduction
Nearly every aspect of a business depends on the applications and services provided by corporate datacenters to stay ahead of changing business conditions. As users demand greater functionality, applications are becoming increasingly sophisticated. These changes are in turn placing burdens on the underlying computing infrastructure. To compensate, organizations spend a significant portion of the IT budget on capacity expansion to build on existing infrastructure and meet service-level agreements. Over time, the influx of servers results in a sprawling, complex network of systems that consume valuable datacenter floor space, create excessive power and cooling demands, and are costly and difficult to manage.
Server Virtualization
Today many companies consolidate serversbringing together applications, databases, and services onto fewer, highly reliable serversto affect better resource utilization. But problems remain. Poor application behavior, system malfunctions, and security breaches can starve applications of compute resources and let a runaway program or malicious intruder affect many users. Fortunately, server virtualization technologies enhance consolidation strategies by helping organizations to create administrative and resource boundaries between applications on a system to deliver on application performance and security requirements. Oracle offers several server virtualization technologies that can be used separately or together to tackle specific deployment challenges.
An integral part of the Oracle Solaris 10 operating system, Oracle Solaris Containers provision many secure, isolated runtime environments for individual applications using flexible, software-defined boundaries. All containers run under a single operating system kernel, enabling fine-grained control over rights and resources within a consolidated server without increasing the number of operating system instances to manage. Oracle Solaris 8 and Oracle Solaris 9 applications and their environments can run in containers on Oracle Solaris 10, giving organizations access to the latest hardware and operating system advancements without impacting investments in applications. In addition, applications can be managed independently of each other. Companies can place one application in each virtual server to maintain isolation, if desired, while simultaneously sharing hardware resources. With the ability to consolidate dynamic applications onto significantly fewer high-performance systems, Oracle Solaris Containers deliver strong performance improvements across a significantly reduced hardware footprint. By placing existing applications in containers on the latest hardware and operating system platform, deployments no longer need to be locked out of the developments made possible by Moores Law. Applications that must communicate with one another to get a job done can be moved closer to one another to take advantage of intra-server scalability and eliminate the latencies introduced by physical server-to-server network interaction. Deploying applications in Oracle Solaris Containers can help improve security and reduce licensing costs. The sophisticated network-wide security system in the operating system controls the way users access files, protect system databases, and use resources. Security needs are addressed at every layer, from integrated security services and applications, to enhanced encryption algorithms, to an enterprise firewall for network protection. Extended security features are also available, including authentication, data integrity, data privacy, and single sign-on capabilities so that tampering, snooping, and eavesdropping do not compromise data or transactions. Systems also can be hardened and minimized as needed, helping to reduce the risk that a system or application can be compromised. And unlike server virtualization solutions from other vendors that charge per processor core, Oracle Solaris Containers are included as part of Oracle Solaris, at no additional cost. Managing physical and virtual server environments can be complex and time-consuming. Designed to handle the entire deployment lifecycle, Oracle Enterprise Manager Ops Center is a single platform that helps to bring complexity under control by managing multiple server architectures, and multiple operating systems running on bare hardware or in virtualized environments. It even manages virtualization itself, with the ability to manage Oracle chip multithreading servers employing Oracle VM Server for SPARC, or Oracle Solaris Containers running on any instance of Oracle Solaris on any server architecture. This open, extensible system can operate at massive scale, automate workflow, enforce compliance through policy-based management, and manage heterogeneous environments with virtualized and non-virtualized systems, all through a single intuitive interface.
Oracle VM
Oracle VM is a family of products that work together to facilitate virtual environment creation and management. Consisting of Oracle VM Server and the integrated Oracle VM Manager browser-based management console, Oracle VM makes it easy to create and manage virtual server pools running on systems across the enterprise. Organizations can create multiple virtual machines on a physical x86, x64, or SPARC processor-based server, yet have each environment behave independentlywith its own virtual CPUs, network interfaces, storage, and operating system.
Oracle VM Server for x86. Free to download, Oracle VM Server for x86 provides an easy-to-use graphical interface for creating and managing virtual server pools running on x86 and x64 systems. This server virtualization software fully supports Oracle and non-Oracle applications, as well as Oracle Solaris, Linux, and Windows guests. Backed by Oracles world-class support organization, Oracle VM Server for x86 provides customers with a single point of enterprise-class support for virtualization environments and delivers more efficient performance. A wide range of Oracle productsincluding Oracle Database, Fusion Middleware, Oracle applications, and Oracle Enterprise Linuxare certified with Oracle VM Server for x86. Oracle VM Server for SPARC. Purpose-built for Oracle servers with chip multithreading (CMT) technology, Oracle VM Server for SPARC (previously called Sun Logical Domains) provides a full virtual machine that runs an independent operating system instance and contains a wide range of virtualized devices. A hypervisor that largely resides in a chip on the server is tightly integrated with the hardware, enabling virtual machines to take advantage of underlying system advancements and reduce the overhead typically associated with software-based solutions. Unlike solutions from other vendors that do not permit add-on networking or cryptographic devices to be partitioned, shared, or abstracted, Oracle VM Server for SPARC supports virtualized CPU, memory, storage, I/O, console, and cryptographic devices, and redundant I/O paths, to make maximum use of platform resources. Oracle VM Manager. Oracle VM Manager provides an easy-to-use, feature-rich graphical interface for creating and managing Oracle VM environments. With Oracle VM Manager, administrators can enable advanced functionality to load balance across resource pools and automatically reduce or eliminate outages associated with server downtime. Oracle Enterprise Manager. Including Oracle VM Management Pack, Oracle Enterprise Manager provides a comprehensive management solution for managing virtual machines, and the operating systems and software inside them, from a single product. Oracle VM Management Pack provides integrated, in-depth health and performance monitoring, configuration management, and life cycle automation for virtual and physical infrastructure for maximum efficiency. Oracle VM Templates. Oracle VM Templates facilitate rapid software deployment by providing pre-installed and pre-configured software images. With these tools, companies can shorten time to market, eliminate installation and configuration costs, and reduce ongoing maintenance and operational costs. Templates are available for immediate download for many key Oracle products, including Oracle Database, Oracle Enterprise Linux, Oracle Fusion Middleware, and more.
Dynamic Domains
Available on Oracles Sun SPARC Enterprise M-Series servers, Dynamic Domains technology enables a single system to be divided into multiple electrically isolated partitions for the ultimate in workload isolation. Each domain runs its own instance of Oracle Solaris 10even different versions of the operating systemon dedicated hardware. A high-performance system, network, and I/O architecture eliminates overhead and delivers bare-metal performance to applications. Hardware and software failures are contained within a domain, increasing availability and providing a reliable, secure platform for running multiple applications simultaneously. These hard partitions also support the physical insertion or removal of system boards from a running domain without stopping the server or operating system.
Desktop Virtualization
Workplace flexibility is an ally in the move to reduce expenses. However, giving users the ability to move from place to place without losing the functionality of traditional fixed asset environments poses a host of desktop management and security challenges. To help this effort, Oracle provides a set of client- and server-based desktop virtualization solutions that transcend the limitations of conventional desktop computing to deliver secure, anytime, anywhere access to IT resources from any device.
Oracle Virtual Desktop Infrastructure. Companies can take advantage of this complete solution for managing, hosting, and providing access to virtualized desktop operating systems hosted in the datacenter. By standardizing on virtual desktop images that can be used across organizations, IT staff can reduce the overhead associated with managing individual desktop operating systems. Users can access the same desktop environment from many different client devices and locations, enabling disaster recovery, remote office and work from home, and green computing through the use of lowpower thin-client devices such as Oracle's Sun Ray Clients. Sun Ray Clients. These simple, low-cost devices are ideal for displaying server-hosted virtual desktops. With no moving parts and no local operating system to manage, Sun Ray Clients provide a cost-effective, highly functional thin client alternative to desktop and laptop computers and reduce many of the problems associated with traditional desktop deployments. Oracle Secure Global Desktop Software. This software delivers secure access to centralized, server-hosted Windows, UNIX, mainframe, and midrange applications from a variety of clients, including Windows PCs, Mac OS X systems, Oracle Solaris workstations, Linux PCs, thin clients, and more. Access to full-screen desktop environments is provided, letting administrators use a single solution to provide access to server-based applications and server-hosted desktop environments. Oracle VM VirtualBox. Supporting an extensive range of host and guest operating systems, the open-source Oracle VM VirtualBox solution lets client systems run multiple environments at the same time to get the most flexibility and utilization out of systems. It provides high-performance support for a large number of virtual appliances available in the Open Virtualization Format (OVF), multiplatform application development and testing, 2D and 3D graphics acceleration, as well as the ability to teleport a running virtual machine between hosts without interruption.
Storage Virtualization
As data volumes continue to rise, datacenter managers must cope with expanding storage infrastructure and provide around the clock access to data that is stored on reliable and secure media in order to support demand. In addition, stringent compliance regulations are forcing organizations to retain data for longer time frames. These issues are compounded by service level demands that require greater operational efficiency, and economic pressures that necessitate cost reductions. Oracles storage virtualization technologies can help organizations eliminate redundant data, reduce bandwidth requirements, gain flexibility, and better utilize existing infrastructure to reduce space, power, and cooling requirements. Oracle Sun Storage Virtualization offers a broad range of storage virtualization solutions, including integrated virtualization capabilities in Oracle Solaris 10, disk storage systems, virtual tape solutions, and services that can help companies achieve optimal performance.
An easier way to manage volumes and storage systems. Unlike most operating systems that leave volume management to add-on tools, Oracle Solaris 10 integrates volume management functions. Breaking free of the typical one-to-one mapping between the file system and its associated volumes, Oracle Solaris ZFS decouples the file system from physical storage, allowing for more efficient use of storage devices. By automatically allocating space from a shared pool of storage resources when needed, Oracle Solaris ZFS simplifies storage management. Network access to data. Oracle Solaris 10 delivers open, scalable, general-purpose file sharing with support for the Network File System (NFS). Enabling the transparent sharing of data and programs between heterogeneous systems, NFS allows access to files without regard to their physical location. Flexible, tiered data storage. Balancing the value of information and the cost of storing it can be difficult. Oracle solutions can help datacenters store information so that it is available when neededand at the cost and integrity level required. For example, companies can move data from fast online disk systems, to slower disks, tape libraries, or archival systems manually or automatically to fit business needs and cost constraints. Uniform storage management interface. Part of Oracle Database 10g and 11g, Oracle Automatic Storage Management provides a simple storage management interface that is consistent across all server and storage platforms for greater management flexibility and efficiency.
Figure 2. Consolidation and virtualization techniques work together to increase system utilization rates
Recently Oracle consolidated two of its campuses into new, next-generation datacenters supporting the R&D business. By replacing older servers and storage systems with the latest technology, Oracle compressed 152 datacenter rooms occupying 202,000 square feet of space into 14 new, next-generation datacenters occupying 76,000 square feet. Over 2,100 servers and 700 storage devices were identified as candidates for replacement. In the end, Oracle was able to reclaim 88% of valuable datacenter floor space, reduce overall datacenter power consumption by 61%, improve server performance by 465%, improve storage capacity by 244%and do it all with less than half the original hardwaresaving over $500,000 per year in utility costs alone.
Figure 3. Oracle VM Server lets companies consolidate legacy applications onto a single server to raise resource utilization rates and lower operating expenses
By taking advantage of Oracle Solaris Containers, enterprises can increase flexibility and securely isolate applications while reaping the efficiencies of a consolidated platform. For example, consider an environment with six Sun Fire V880 servers, each running one application. Together these servers utilize 48 CPUs in 204 RU and require 13,200 Watts, 43,308 BTUs, and $32,400 in operating system support costs. The applications and environments on these servers can be consolidated onto a single Sun SPARC Enterprise T5240 server with 2 CPUs running Oracle Solaris 10. The new system only requires 1,100 Watts, 3,608 BTUs, and $2,968 in operating system support costs, and occupies only 2 RU. By consolidating onto this newer platform, a company can experience 92% space savings, utilize 92% less power and 92% less BTUs, and lower annual support costs by 91%.
Figure 4. Consolidating onto a vertically scalable server can help companies save money while keeping headroom available for growth
Figure 5. Oracle Solaris Containers can be moved between systems quickly and easily
10
These scenarios also can be implemented using the warm migration features of Oracle VM Server. Guest domains can be migrated from one server to another compatible server over a secure connection. If running, the domain on the source server is suspended, and its configuration and runtime state are transferred to another server, where the domain is recreated and resumed. Bound domains and those that are not running also can be migrated almost instantaneously, as only the domains configuration needs to be transferred and recreated. By using domain migration, the domain hardware description, operating system, and applications can be redeployed quickly to a domain on another platform (Figure 6).
Figure 6. Applications can be moved in Oracle VM Server environments to better utilize systems and conserve energy
11
Figure 7. Moving applications closer to one another can help speed application throughput
For example, Thomson Reuters was looking to deliver increased capacity, improved efficiencies, and reduced latency to financial services professionals using Reuters Market Data Systems on Oracle Solaris platforms. By moving the application to a virtualized environment based on Oracle Solaris Containers and multicore platforms, the company was able to demonstrate better performance than that achieved using a number of individual servers. With this move, the company was able to improve on recent performance enhancements to deliver unprecedented levels of updated throughput while continuing to deliver the same levels of superior low latency performance in a scalable fashion. For more information on project, see http://www.sun.com/third-party/global/thomsonreuters/index.jsp.
12
Environmental settings also are important to control. With Oracle Solaris Containers, administrators can configure critical parameters for each container, such as separate network connections with exclusive IP stacks and disk storage, to give each virtual environment a unique identity and maintain resource and name space isolation. To further secure the deployment, User and Process Rights Management can be used to give applications access to only the system resources needed to function. In addition, the Oracle Solaris Service Manager can be used to specify the run-time attributes for the Web server, such as the privilege and user settings used when running the service, to place constraints on the execution of the software. Together, these and other Oracle Solaris tools give organizations fine-grained control over rights and resources within a consolidated server without increasing the number of operating system instances to manage.
13
The exact directories and Oracle homes are used, and the package and patch inventories are completely standard and up-to-date so that no changes to normal Oracle operations procedures are required to maintain the instances over time. Administrators simply download the template file from the oracle.com site, decompress it, and import the resulting template into Oracle VM Manager to create virtual machines (Figure 9). Enterprises can even create their own templates to speed the replication and deployment of entire enterprise software stacks.
Figure 9. Oracle VM Templates can be used to replicate entire enterprise application stacks to virtual environments
Oracle and Sun Virtualization Strategy Oracle Technology Network Sun Microsystems Documentation BluePrints Community
14
Virtualization in Oracle Solaris 10 June 2010 Authors: Joost Pronk van Hoogeveen, Duncan Hardie Oracle Corporation World Headquarters 500 Oracle Parkway Redwood Shores, CA 94065 U.S.A. Worldwide Inquiries: Phone: +1.650.506.7000 Fax: +1.650.506.7200 oracle.com
Copyright 2010, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. UNIX is a registered trademark licensed through X/Open Company, Ltd. 0310