What's New in Oracle Solaris
11
Student Guide
O racle University and ORACLE CORPORATION use only D73819GC10 Edition 1.0 October 2011 D74667
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYIN G eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Copyright © 2011 Oracle ,d/or it affiliates. All rights reserved. Authors
Disclaimer Michael Ernest
Gary Riseborough This document contains proprietary information and is protected by copyright and
other intellectual property laws. You may copy and print this document sole ly for your Marcus Flieri
own use in an Oracle training course. The document may not be modified or a ltered
in any way. Except where your use constitutes \"fair use\" under copyright law, you Bart Smaalders
may not use, share, download, upload, copy, print, display, perform, reprod uce, Dave Miner
publish, license, post, transmit, or distribute this document in whole or i n part without Nicolas Droux the express authorization of Oracle.
Dan Price
The information contained in this document is subject to change without not ice. If you
find any problems in the document, please report them in writing to: Oracle University, Cindy Swearingen
500 Oracle Parkway, Redwood Shores, California 94065 USA. This document is not Glenn Fadden warranted to be error-free.
Liane Praza
Restricted Rights Notice
If this documentation is delivered to the United States Government or anyon e using Technical Contributors the documentation on behalf of the United States Government, the following n otice is and Reviewers applicable:
Mike Tracey
U.S. GOVERNMENT RIGHTS Mike Carew The U.S. Government s rights to use, modify, reproduce, release, perform, dis play, or
disclose these training materials are restricted by the terms of the applic able Oracle
license agreement and/or the applicable U.S. Government contract. Editor
Trademark Notice Malavika Jinka
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names
may be trademarks of their respective owners. Publishers
Nita Brozowski
Sumesh Koshy
Oracle Universi ty and ORACLE CORPORATION use only
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. CO PYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Contents
Preface
1 Introduction Oracle Solaris: The Mission Critical OS 1-2 Raising the Bar Set by Solaris 10 1-3 SPARC Enterprise Servers 1-4 SPARC T3 Servers: Scaling to New Heights 1-5 Oracle Solaris: Platform Choice and Flexibility 1-6 Serious About Oracle Solaris 1-7 Oracle Addresses Range of Customer Needs 1-8 Topic Outline 1-10 Module Structure 1-11
2 Image Packaging System (IPS) and Automated Installer (AI) IPS Design Goals 2-2 IPS Implementation 2-3 IPS Package 2-4 Package Naming 2-5 IPS Repository 2-6 Starting the packagemanager GUI 2-7 Starting the packagemanager GUI - 2 2-8 pkg Subcommands 2-9 pkg Subcommands 2 2-10 Example: Search, List, and Install 2-11 Installing a Package with Dependencies 2-12 Verifying a Package 2-13 Fixing a Package 2-14
O racle University and ORACLE CORPORATION use only Listing Package Contents 2-15 Removing a Package 2-16 Updating a Package 2-17 Creating a Package 2-18 Group Packages 2-19 Other Commands and Utilities 2-20 AI: Why Replace JumpStart? 2-21 Rosetta Stone for Solaris 10 Users 2-22 AI Components and Features 2-23 AI Terminology 2-24
iii THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYIN G eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Flow of Automated Installation 2-25 Creating an AI Service 2-26 Creating an IPS Repository 2-28 Creating AI Clients 2-29 JumpStart to AI Mapping 2-30 IPS References 2-31 AI References 2-32
3 Network Virtualization 1 Feature: Overview 3-2 Virtual NICs (VNICs) 3-3 Virtual NICs (VNICs) 2 3-4 Virtual Switches 3-5 Physical Wire, Physical Machines 3-6 Virtual Network: Example 3-7 Creating VNICs and Etherstubs 3-8 Unified Data Link Properties 3-9 Virtual Bridges 3-10 ipadm 3-11 Managing Interfaces and IP Addresses 3-12 Managing Interface Properties 3-13 Creating Flows 3-14 Data Link Vanity Naming 3-15 Resource Pools 3-16 dlstat(1M) 3-17 Other Network Observability Enhancements 3-18 Rethinking Zones 3-19 Other Solaris 11 Enhancements 3-20
4 ZFS Features in Solaris 11
O racle University and ORACLE CORPORATION use only Enhancements 4-2 Boot Environments 4-3 Boot Environments (BE) 4-4 Creating a Boot Environment 4-5 Activating a Boot Environment 4-6 Destroying a Boot Environment 4-7 Mounting and Unmounting a Boot Environment 4-8
Creating New Boot Environments 4-9 Creating New Boot Environments - 2 4-10 BE Upgrade with pkg-update 4-11 Deduplication 4-12
iv THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYIN G eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Deduplication Example - 1 4-13 Deduplication Example - 2 4-14 Root Pool Mirroring 4-15 Snapshot Differences 4-16 zfs diff Output 4-17 Send Stream Enhancements 4-18 Send Stream: Override Example 4-19 Send Stream: Enforce Example 4-20 Send Stream: Ignore Example 4-21 Pool Import: Log Device Recovery 4-22 Pool Import Recovery: Example 4-23 Pool Import: Read-Only Mode 4-24 Synchronous Write Behavior Property 4-25 Values for sync Property 4-26 ZFS Synchronous Behavior: Tuning Caveats 4-27 RAIDZ/Mirror Performance 4-28 Integrating ZFS into Deployment 4-29 Performance Notes 4-30 Other ZFS Features 4-31 ZFS References 4-32
5 Zones Changes Since Solaris 10 FCS 5-2 Design and Features 5-7 Storage 5-8 Networking: Exclusive IP Zones 5-9 Networking: Shared IP Zones IPMP 5-11 Zones Observability 5-12 zonestat Command 5-13 zonestat Interval: Example 5-14
O racle University and ORACLE CORPORATION use only zonestat by Resource: Example 5-15 Resource Management 5-16 Zones Security 5-17 Solaris 10 Containers 5-18 Solaris 10 Container: Expected Migration Path 5 -19 References 5-20
6 Network Virtualization 2 Advanced Network Features 6-2 ilbadm: L3/L4 Integrated Load Balancing 6-3 Load Balancing Components 6-4
v THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYIN G eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
ilbadm: Example 6-5 IP Filter, Forwarding in a Zone 6-6 Hardware Lanes and Dynamic Polling 6-7 Hardware Lanes 6-8 ipmpstat: Observability for IPMP Groups 6-9 ipmpstat: Example 6-10 Fiber Channel over Ethernet (FCoE) 6-11 Virtual Router Redundancy Protocol (VRRP) 6-12
IP over Infiniband (IPoIB) 6-13 Non-Uniform Memory Architecture (NUMA) I/O 6-1 4 NUMA I/O Architecture: Overview 6-15 GLDv3 Public Driver APIs 6-16 Network Performance Highlights 6-17
7 Security Features 7-2 Root Implemented as a Role 7-3 File system encryption: zfs(1M) 7-4 Configuring ZFS Encryption 7-5 File system encryption: lofiadm 7-6 Network Spoofing Protection 7-7 Zones: Delegated Administration 7-8 SMF: Delegated Administration 7-9 SMF: Method Context 7-10 SMF: Firewall Integration 7-11 Least Privilege Changes 7-12 In kernel pfexec 7 - -13 Basic Privileges: More is Less 7-14 Role-Based Access Control 7-15 Sandboxing Enhancements 7-16
O racle University and ORACLE CORPORATION use only Kerberos Improvements 7-17 Key Management: pkcs11_kms Provider 7-18 Other Enhancements 7-19 Oracle Solaris 11 Trusted Extensions 7-20 Trusted Extensions Changes 7-21 Trusted Platform Modules (TPM) 7-22
8 Services Management Facility (SMF) SMF Design Goals 8-2 SMF Is the Glue in Solaris 11 8-3 Service Templates 8-4
vi THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYIN G eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Early Manifest Imports 8-5 SMF Enhanced Profiles 8-6 Fault Notification 8-7 IPS Actuators 8-8 FMRI Stored in proc_t Structure 8-9
O racle University and ORACLE CORPORATION use only
vii THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYIN G eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
O racle University and ORACLE CORPORATION use only THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYIN G eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Preface
O racle University and ORACLE CORPORATION use only
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYIN G eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
O racle University and ORACLE CORPORATION use only
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYIN G eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED Profile Before You Begin This Course You should be able to configure and manage a system running the Oracle Solaris Operating system. How This Course Is Organized An understanding of Oracle Solaris features and wor king knowledge of the Oracle Solaris 10 Operating System is beneficial, but not required How This Course Is Organized S What's New in Oracle Solaris 11 is an instru ctor-led seminar featuring lecture and demonstrations. Online demonstrations and written p ractice sessions reinforce the concepts and skills introduced.
Oracle Universi ty and ORACLE CORPORATION use only THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Related Publications System release bulletins Installation and user s guides read.me files International Oracle User s Group (IOUG) articles Oracle Magazine
Oracle Universi ty and ORACLE CORPORATION use only
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Introduction Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Oracle University and ORACLE CORPORATION use only
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eK IT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Oracle Solaris: The Mission Critical OS If It Must Work, It Runs on Solaris The #1 deployment platform for the #1 mission critical Oracle Database Extreme data integrity : ZFS Hardened security: Secure by Default, Cryptographic Framework, Least Privilege model Predictive Self Healing FMA, SMF Complete Virtualization with application isolation and res ource management: Containers Production Safe Observability: DTrace Scalable to thousands of threads, terabytes of memory
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Oracle University and ORACLE CORPORATION use only
What's New in Oracle Solaris 11 1 - 2 THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eK IT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED Raising the Bar Set by Solaris 10
Oracle Solaris 11 The Only Completely Virtualized OS Availabilit : Greatly improved with new packaging tools, saf e online upgrades, faster reboots Scalability and Performance : Thousands of threads, teraby tes of RAM, hundreds of Gbps network bandwidth Efficienc : Virtualized network, storage and server resource s; binary compatibility; advanced power management Securit : On-disk data encryption, secure process execution, HW certification of the OS at boot time
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Oracle University and ORACLE CORPORATION use only What's New in Oracle Solaris 11 1 - 3 THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eK IT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
SPARC E nterprise Servers
The Leade r in System Scalability
5 Year Trajectory
Cores 4x
Threads 32 x Memory Capacity 16 x SP ARC Database TPM 40 x 1 -64 Sockets Java Ops Per Second 10 x + 2x Throughput
+ 1.5x Single
M-Series S trand
8-64 Sockets
+2x
T-Series Throughput
1-8 Sockets
M-Series +3x
Throughput
8-64 Sockets
+6x Throughput T-S eries
+1.5x Single 1-4 Sockets Strand M-Series +3x Single Strand T-Series 1-64 Socket 1-4 Socket + 20% + 2x Throughput Solaris 11 So laris 11 Solaris 11 Solaris 11 Solaris 11
Express Update Update Update 2010 2011 2012 2013 2014 2015
Copyrig ht © 2011, Oracle and/or its affiliates. All rights reserved.
Oracle Universi ty and ORACLE CORPORATION use only THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COP YING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
SPARC T3 Servers: Scaling to New He ights Integrated, High Throughput SPARC Syste ms for Massive Scale
SPA RC T3-4 World s First 16 HIGH Core Processor
64 cores
SPARC T3-2
51 2 threads