ORACLE Oracle Press' Building and Managing a Cloud Using Oracle Enterprise Manager 12c Madhup Gulati Adeesh Fulay Sudip Datta Mc Graw Hill Education New York Chicago San Francisco Lisbon London Madrid Mexico City Milan New Delhi San Juan Seoul Singapore Sydney Toronto
FOREWORD ACKNOWLEDGMENTS INTRODUCTION xi xiii xv 1 Introduction 1 The Cloud Buzz 2 What Is Cloud Computing? 3 Cloud Computing Characteristics 5 Cloud Computing vs. Grid Computing 5 Benefits of Cloud Computing 7 Agility 7 Elasticity 7 Cost Effectiveness 8 Cloud Service Delivery Models 8 Software as a Service (SaaS) 8 Platform as a Service (PaaS) 9 Infrastructure as a Service (laas) 10 Cloud Computing and Enterprises 11 Compliance Risks and Lack of Control 11 Lack of Enterprise-Class Service-Level Agreements 11 Platform Lock-in 11 Previous Investments 11 Capital Expense vs. Operational Expense 12 V
VI Building and Managing a Cloud Using Oracle Enterprise Manager 12 c Private Cloud vs. Public Cloud 12 Oracle and Cloud Computing 15 Oracle Service Offerings 16 Oracle Product Offerings 17 Oracle Technologies for Cloud Computing 19 Summary 38 2 Cloud Planning and Architecture 39 Cloud Planning 40 Determining Stakeholders and Responsibilities 40 Discovering and Assessing Existing Assets and Current Workloads 43 Consolidation Planning 49 Cloud Architecture 57 Cloud Management Layer Components 58 Cloud Infrastructure Layer Components 60 Cloud Infrastructure Planning 62 Summary 65 3 Self-Service Provisioning 67 Benefits of Self-Service Provisioning 68 Oracle Self-Service Provisioning Tools 70 Self-Service Provisioning Setup Phases 72 Phase 1: Design 73 Phase 2: Stage 73 Phase 3: Publish 74 Oracle Enterprise Manager 12c Provisioning Framework 74 Software Library 76 Job System 79 Deployment Procedures 80 Procedure Customization 85 Deployment Oracle Virtual Assembly Builder 87 Virtual Appliance 89 Virtual Assembly 89 Life Cycle of an Assembly 90
Contents vii Oracle Enterprise Manager Self Service Portal 92 Web Services-Based APIs and CLI 94 Summary 95 4 Infrastructure as a Service 97 Role of Server Virtualization in Cloud Computing 99 Oracle Server Virtualization Technologies 100 Oracle VM Server for SPARC 101 Oracle VM Server for x86. 102 Setting Up the Cloud Infrastructure 107 Provisioning Oracle VM Servers 107 Network Configuration 109 Storage Configuration 115 Creating Server Pools and Zones 119 Packaging and Publishing Cloud Services 120 Oracle VM Templates 122 Oracle Virtual Assemblies 125 Setting Up the Self-Service Application 128 Machine Sizes 128 Request Settings 129 Access Control and Quotas 129 Publishing Software Components 131 Setting Up Chargeback 132 Self-Service Application 132 Monitoring Cloud Resources 135 Tracking Self-Service Requests 135 Summary 136 5 Platform as a Service 137 Middleware Cloud Deployment Models 140 Oracle Virtual Assembly Builder 142 Middleware Cloud Life Cycle 143 Plan and Setup 143 Build, Test, and Deploy 145 Monitor and Manage 145 Meter, Charge, and Optimize 146
viii Building and Managing a Cloud Using Oracle Enterprise Manager 12c Cloud Roles and Responsibilities 147 Cloud Infrastructure Administrator 147 Self-Service Administrator 149 Cloud Self-Service User 158 Oracle Exalogic Elastic Cloud: Engineered System for Applications 162 Summary 165 6 Database as a Service 167 Database Cloud Models 170 Database Cloud Life Cycle 1 73 Plan and Setup 1 75 Build, Test, and Deploy 175 Monitor and Manage 176 Meter, Charge, and Optimize 177 Cloud Roles and Responsibilities 1 77 Cloud Infrastructure Administrator 178 Self-Service Administrator 180 Cloud Self-Service User 194 Oracle Exadata: Engineered System for Databases 197 Summary 198 7 Metering and Chargeback 201 Whether to Use Chargeback or Showback 203 Oracle Enterprise Manager Features for Chargeback or Showback 204 Metering for Oracle Enterprise Manager Targets 205 Pricing Model: Assignment of Rates 209 Charge Plans 209 Management of Cost Hierarchy 214 LDAP Integration for Cost Center Hierarchy 214 Assigning Charge Plans to Cost Centers 216 Setting Up the Chargeback Collection Process 216 Running the ETL Process 217 Usage and Charge Reporting 217 Summary Reports 217 Trending Reports 218 Reporting Interfaces 219 Oracle Enterprise Manager EMCLI API for Chargeback 220 Summary 227
Contents 8 Managing the Cloud: Monitoring, Configuration Management, and Compliance 229 Large-Scale Monitoring 231 Monitoring by Exception 232 Monitoring Self-Service Requests 237 Performance and Service-Level Management 243 Diagnosing Component-Level Problems 243 Managing Overall Cloud Service Levels 247 Configuration Management and Compliance 251 Automation of Repetitive Administrative Tasks 256 Summary 262 9 Real-Life Case Studies 263 Case Study 1: Private Infrastructure as a Service 264 Case Study 2: Assembly-Based Private Platform as a Service 265 Case Study 3: Metering and Showback 266 Case Study 4: Private Database as a Service 267 Case Study 5: Java Platform as a Service 268 Case Study 6: Public Infrastructure as a Service 269 Index 271