You are previewing Apache CloudStack Cloud Computing.
O'Reilly logo
Apache CloudStack Cloud Computing

Book Description

Setting up a cloud computing service, whether for yourself or a customer, is greatly simplified by this step-by-step guide to Cloudstack – the world’s leading open source platform. It’s all here, from installing to extending.

  • Install, deploy, and manage a cloud service using CloudStack

  • Step-by-step instructions on setting up and running the leading open source cloud platform CloudStack

  • Set up an IaaS cloud environment using CloudStack

  • In Detail

    Cloud computing is changing the way IT is delivered in enterprises around the world. The world’s leading open source cloud computing platform, Cloudstack, helps you implement a cloud computing service in your enterprise or set up an infrastructure as a service (IaaS) offering for your customers.

    With "Apache Cloudstack Cloud Computing", learn the leading open source cloud computing platform in an easy step-by-step approach, from understanding the basics of setting up an infrastructure as a service cloud to actual deployment scenarios and extensibility features of CloudStack.

    "Apache Cloudstack Cloud Computing" will help you learn how to create, manage, and automate the provisioning, decommissioning, and other tasks of your IT infrastructure resources and manage your data centre(s). Add IT infrastructure resources like storage, network resources, and hosts to CloudStack to manage the entire data centre and logically segregate the resources to help better manage and provide policy-based user access to the cloud.

    Then the book will show you how to deploy the CloudStack environment in a highly available fashion and deploy your own IT resources, such as VMs, in a highly available scenario to prevent downtime and non-interrupted service.

    Table of Contents

    1. Apache CloudStack Cloud Computing
      1. Table of Contents
      2. Apache CloudStack Cloud Computing
      3. Credits
      4. About the Authors
      5. About the Reviewers
      6. www.PacktPub.com
        1. Support files, eBooks, discount offers and more
          1. Why Subscribe?
          2. Free Access for Packt account holders
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Errata
          2. Piracy
          3. Questions
      8. 1. Apache CloudStack Architecture
        1. Introducing cloud
          1. Infrastructure layer
            1. Computing resources
            2. Storage
            3. Networks and security
              1. Use of switches in cloud
          2. Management layer
            1. Automation
            2. Orchestration
            3. Task Execution
            4. Service Management
        2. Understanding CloudStack modules
          1. Cloud deployment model
            1. Zones
              1. Pods
              2. Clusters
          2. Storage
            1. Primary storage
              1. Volumes
          3. Secondary storage
          4. CloudStack management server
            1. API layer
            2. Access control
          5. Kernel
            1. CloudStack operations
            2. Security check
            3. The virtual machine manager
            4. Server resources
            5. Installation
            6. Job result
          6. CloudDB
          7. CloudStack networking architecture
            1. Network service providers
            2. CloudStack network offerings
            3. Types of network in CloudStack
              1. Physical network
              2. Virtual network
              3. Isolated networks
              4. Shared networks
            4. L3 network configuration in CloudStack
            5. Access switches or L2 switches
            6. CloudStack virtual router
            7. Networking using CloudStack virtual router
            8. Firewall and F5 Load balancer
            9. Security groups
        3. Summary
      9. 2. Installing Apache CloudStack
        1. Pre-installation tasks
          1. Requirements
        2. Single node installation
          1. Preparing the OS
          2. Management server installation
            1. Building Deb packages
            2. Setting up the apt repo
            3. Adding the repository to the system
            4. Building RPM
            5. Creating yum repo
            6. Adding the repository to the system
          3. Back to management server installation
            1. Database installation and configuration
            2. Preparing Network File System share for storage
            3. Creating a separate NFS server
            4. Preparing the system VM template
        3. Multinode installation
          1. Management server installation
          2. Installing and configuring CloudStack MySQL database
            1. Installing additional management server
            2. Preparing the system VMs
            3. Keys and encryption
        4. Summary
      10. 3. Apache CloudStack Configuration
        1. CloudStack configuration
          1. Management server console
            1. Dashboard tab
            2. Instances tab
            3. Storage tab
            4. Network tab
            5. Templates tab
            6. Events tab
            7. Accounts tab
            8. Domains tab
            9. Infrastructure tab
            10. Projects
            11. Global settings
            12. Administrators
          2. Creating a domain
          3. Creating an account
          4. Service offerings
            1. Compute offerings
            2. Disk offerings
            3. Network offerings
          5. Infrastructure
            1. Basic Zone configuration
            2. Advanced Zone configuration
            3. Creating a template
              1. Creating a template using a running VM
              2. Importing a VM to CloudStack
              3. Creating a template using the Management console
              4. Preparing the hosts
        2. Summary
      11. 4. Apache CloudStack Networking
        1. Zones and their types
          1. Physical networks
            1. Basic zone
            2. Advanced Zone
              1. Guest traffic
              2. Isolated
              3. Shared
              4. Management traffic
              5. Public traffic
              6. Storage traffic
          2. Virtual networks
          3. Network offerings
        2. Virtual router
          1. System service offerings and virtual router
        3. Network in cloud
          1. Network services
            1. Public IP addresses
            2. Elastic IP address
          2. Security groups
            1. Using external devices with CloudStack
              1. Load balancing rules
              2. Elastic Load Balancer
            2. Network Address Translation
              1. Virtual Private Network
        4. CloudStack networking components
          1. NetworkGuru
          2. Network element
          3. Network managers
          4. Resources
          5. CloudStack networking flows
        5. Summary
      12. 5. Apache CloudStack Storage
        1. Primary storage
          1. System requirements and configuration
          2. Adding a primary storage
            1. Storage tags
        2. Secondary storage
          1. Adding a secondary storage
          2. Changing secondary storage IP address
          3. Changing the secondary storage
          4. Using OpenStack object storage (Swift)
        3. Volumes
          1. Creating a new volume
          2. Attaching a volume to Guest VM
          3. Detaching a volume from an instance
          4. Deleting a volume
        4. Snapshots
          1. Creating a snapshot
          2. Creating recurring snapshots
          3. Creating a volume from a snapshot
          4. Creating a template from a snapshot
          5. VM storage migration
        5. Summary
      13. 6. Service Offerings and Virtual Machines
        1. Introducing service offerings and virtual machines
          1. Compute offering
          2. Disk offering
          3. System service offering
        2. The complete process
          1. Accessing the VM
          2. Starting, stopping, rebooting, and destroying the VM instance
          3. Live migration of VMs between hosts
        3. CloudStack with different hypervisor
          1. Citrix XenServer
          2. Oracle VM
          3. RedHat Enterprise Linux (KVM)
          4. VMware vSphere
        4. Summary
      14. 7. Domains, Accounts, Projects, and Users
        1. Domain
          1. Root domain
          2. Domain and zones
          3. Creating a domain
        2. Accounts
          1. Creating an account
        3. Projects
          1. Projects and accounts
          2. Creating a project
          3. Adding members to the project
          4. Resource management in Projects
          5. Invitation setup
          6. Removing a member from a project
        4. Summary
      15. 8. High Availability and Scaling
        1. Ensuring high availability in CloudStack
          1. CloudStack infrastructure high availability
          2. CloudStack redundant virtual router
          3. CloudStack storage high availability
            1. Primary storage failure
            2. Secondary storage failure
          4. CloudStack and high availability
        2. CloudStack HighAvailabilityManager
          1. HighAvailabilityManager – the Queue
        3. High availability of applications running on Cloudstack
          1. CloudStack storage migration
        4. Scaling in CloudStack
          1. Counters
          2. Conditions
          3. Auto scale policy
          4. Auto scale VM profile
          5. Auto scale VM group
          6. Collector/Monitor
          7. Aggregator
          8. Trigger/alarm generator
          9. Trigger/alarm handler
        5. Summary
      16. 9. Extending Apache CloudStack and Performance Tuning
        1. Extending CloudStack
          1. Extending CloudStack networking
        2. Integrating NetScaler with CloudStack
          1. Functional requirements
          2. Guest network with NetScaler load balancer
            1. LB rule with public IP
            2. Assigning a VM to the load balancer rule
            3. Unassigning a VM from a load balancer rule
            4. Deleting a load balancer from a zone
            5. Load balancer with EIP in a basic zone
              1. When the VM is created
              2. When the VM is destroyed
        3. CloudStack with Nicira NVP
          1. Integrating Nicira NVP to CloudStack
          2. Enabling the network service provider in CloudStack
          3. Using Nicira NVP
        4. Integrating with OpenStack object storage (Swift)
          1. Customizing the CloudStack user interface
            1. Changing the API path
            2. Changing the session timeout
            3. Single sign on integration
            4. Integrating with LDAP for user authentication
              1. LDAP user provisioning
        5. The usage server
        6. Performance tuning
          1. Increasing the management server maximum memory
          2. Database buffer pool size
          3. Setting and monitoring the hosts' capacity
          4. Capping the resource usage
        7. Summary
      17. Index