Cloud Computing and Vertualization


Published on

Overview about Cloud Computing

Published in: Technology, Business
No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Virtualization is a technology that transforms hardware into software.Virtualization allows you to run multiple operating systems as virtual machines on a single computer.Each copy of an operating system is installed into a virtual machine.Virtualization is not:SimulationEmulation
  • One of the most important ideas behind cloud computing is scalability, and the key technology that makes that possible is virtualization.Although virtualization technology has been around for many years, it is only now beginning to be fully deployed. One of the reasons for this is the increase in processing power and advances in hardware technology.
  • You can run one or more applications that are not supported by the Host O/S Better security and isolation, since malfunctions or malware infection of a guest O/S does not affect the others Peace of cake creation of test environments Easy cloning of virtual machines on the same physical hardware or across servers Snapshot technique which enables you to revert back to a specific point in time. Especially useful in case of configuration changes and service pack and patches malfunctions. Excellent recovery scenarios if you backup in VM level. Since VMs are abstracted from hardware you can easily move/restore them to new physicals servers without complications Better utilize hardware resources. VM management software allows you to configure hardware to virtual resource partitioning and utilization. For example you can set specific CPU thresholds, memory allocation, disk space allocation, I/O structures, etc. Also you can let the virtual machine monitor to decide the resources allocation according to utilization. Reduce physical space consumption and reduce hardware costs. You have fewer servers to buy. Benefit from the licensing models many O/S vendors as Microsoft are providing. For example, if you buy Windows 2008 ENT edition you get licenses for 4 virtual machines.
  • a Hypervisor architecture is the first layer of software installed on a clean x86-based system, sometimes referred to as a “bare metal” approach, as it would be in the case of a computer running VMware ESX server on top of which there maybe one or more virtual machines running.
  • A Hosted approach provides services on top of a standard operating system, and example of this would be VMware Workstation or VMware server running on a Windows or Linux system on top of which one or more virtual machines are running.
  • vSpherevSphere is an infrastructure virtualization suite that provides virtualization, management, resource optimization, application availability, and operational automation capabilities in an integrated package.vSphere virtualizes and aggregates the underlying physical hardware resources across multiple systems and provides pools of virtual resources to the datacenter.In addition, vSphere provides a set of distributed services that enable detailed, policy-driven resource allocation, high availability, and scalability of the entire virtual datacenter.vCenter suitVMware vCenter Suite :The central point for configuring, provisioning, and managing virtualized IT environments.
  • The virtualization stack runs in the parent partition and has direct access to the hardware devices. The root partition then creates the child partitions which host the guest operating systems. 
  • Core services include management of resources and virtual machines, task scheduling, statistics logging, management of alarms and events, virtual machine provisioning, and host and virtual machine configuration.Distributed services include vMotion, DRS and VMware HA. They are installed with vCenter Server.Additional services are packaged separately from the base product and requires separate installation. No additional license is necessary. Examples include VMware vCenter Update Manager and VMware vCenter Converter.Database interface provides access to the vCenter Server database. ESX/ESXi management. vCenter Server provides access to the ESX/ESXi host through a vCenter Server agent, which is installed on the host when it is added to the vCenter Server inventory. The Active Directory interface provides access to domain user accounts. The VMware vSphere API, in combination with the vSphere SDK, provides an interface for writing custom applications that access vCenter Server functionality.
  • Extended Sky ElasticESX uses RedHat Linux.The service console uses a 64-bit, 2.6-based Linux kernel compatible with Red Hat Enterprise Linux Server (RHEL) 5.2, CentOS 5.2, and equivalent Linux systems.ESXi = 70MB, does not contain service consol.CIM = Common Information Model.
  • Virtual switches work at layer 2 of the OSI model. You cannot have two virtual switches mapped to the same physical network interface card ( NIC). But you have two or more physical NICs mapped to the same virtual switch.
  • Virtual switches work at layer 2 of the OSI model. You cannot have two virtual switches mapped to the same physical network interface card (NIC). you have two or more physical NICs mapped to the same virtual switch.Network Policies:1) Security:Promiscuous modeMAC Address ChangeForged Transmits2) Traffic Shaping: Mechanism of controlling VM network bandwidth 3) NIC (Network Interface Card) Teaming: Load BalancingNetwork Failover DetectionFailbackFailover Order
  • The slide shows five standard virtual switches, each devoted to a different purpose. From left to right, the switches are:A standard virtual switch with a single outbound adapter. It is being used only by VM1. (Production VM)2. An internal-only standard virtual switch, which allows virtual machines within a single ESX/ ESXi host to communicate directly with other virtual machines connected to the same standard virtual switch. VM2 and VM3 can use this switch communicate with each other. (Network Address Translation)3. A standard virtual switch with teamed NICs. A NIC team provides automatic distribution of packets and failover.4. A standard virtual switch that is used by the VMkemel for accessing iSCSI or NAS-based storage.5. A standard virtual switch that is used by the VMkernel to allow remote management capabilities.
  • Server virtualization benefits :The first one is certainly at the deployment level. A virtual machine can often be built and customized in less than 20 minutes. Virtual machine mobility. You can move a VM from one host to another at any time. In some cases, you can move it while it is running. This is a great advantage and will help reduce downtime in your network.Virtual machines are just easy to use. Once it is built and configured, you just start the machine and it is immediately ready to deliver services to users.Virtual machines support standard configurations. You can control the way VMs are built: Just create a standard VM and copy the source files for this VM each time you need a new machine. This way, you will always have standard configurations for any VM.Virtual machines also support the concept of volatile services. If a tester or developer needs a virtual machine to perform a given series of tests, you can fire up a new VM, provide it to them in minutes, and then, when they are done with it, you simply delete it. Try doing that with a physical machine!VMs can be certified by the virtualization vendor, ensuring you are using the best of their technology’s capabilities with your VMs.VMs are also secure because they can be completely isolated at any time; just cut off their communications through the host’s virtualization technology.VMs can be scaled out or scaled up. To scale out, simply create more VMs with the same services. To scale up, shut down the VM and assign more resources, such as RAM, processor cores, disks, and NICs to it.VMs are also ideal for disaster recovery, since all you need to do is copy their files to another location, either within your datacenter or to another site entirely.
  • The diagram shows what happens when you migrate a virtual machine with Storage VMotion:When initiating a migration, vSphere copies all virtual machine files, except the virtual disk files, from the old virtual machine directory to a new directory on the destination datastore.2. Storage vMotion copies the contents of the entire virtual disk file (or files) to the destination datastore, using “changed block tracking” to maintain data integrity during the migrationprocess. Changed block tracking tracks changes to the disk so that Storage vMotion knows which regions of the disk include data.3. Storage vMotion queries the changed block tracking module to determine what regions of the disk were written to during the first iteration. It then performs a second iteration of copy, which copies regions that were changed during the first iteration (several more iterations are possible).4. The virtual machine is quickly suspended and resumed so that it can begin using the virtual machine home directory and disk file or files on the destination datastore.5. Before ESXIESXi allows the virtual machine to start running again, the final changed regions of the source datastore are copied over to the destination and the source home and disks are removed. This approach guarantees complete transactional integrity and is fast enough to be unnoticeable to the end user.
  • vMotion migration consists of the following steps:The virtual machine’s memory state is copied over the vMotion network from the source host to the target host. Users continue to access the virtual machine and, potentially, update pages in memory. A list of modified pages in memory is kept in a memory bitmap on the source host.2. After most of the virtual machine’s memory is copied from the source host to the target host, the virtual machine is quiesced: no additional activity will occur on the virtual machine. In the quiesce period, vMotion transfers the virtual machine device state and memory bitmap to the destination host.3. Immediately after the virtual machine is quiesced on the source host, the virtual machine is initialized and starts running on the target host. A Reverse Address Resolution Protocol (RARP) request notifies the subnet that virtual machine A’s MAC address is now on a new switch port.4. Users access the virtual machine on the target host instead of the source host. 5. The virtual machine is deleted from the source host.
  • Distributed Resource Scheduler:VMware DRS - utility that balances computing workloads with available resources in a virtualized environment.VMware will balance load on each physical CPU every 20 milliseconds.
  • VMware HA provides high availability for applications running in virtual machines. In a server failure, affected virtual machines are automatically restarted on other production servers with spare capacity. VMware HA is configured, managed, and monitored in vCenter Server.
  • SMP=Symmetric Multiprocessing
  • Cloud Computing and Vertualization

    1. 1. Cloud Computing<br />An Overview<br />By ChiragDani<br />
    2. 2. Cloud Computing Definitions<br />“Cloud computing is a model for enabling ubiquitous, convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction.“ (NIST)<br />“Cloud computing is Internet-based computing, whereby shared resources, software and information are provided to computers and other devices on-demand, like electricity” (Wikipedia)<br />2<br /> |<br />
    3. 3. Conceptual view<br />3<br /> |<br />
    4. 4. Models<br />4<br /> |<br />
    5. 5. SaaS<br />A complete application is offered to the customer, as a service on demand<br />A single instance of the service runs on the cloud & multiple end users are serviced<br />Customers' side: no need for upfront investment in servers or software licenses,<br />Provider's side: the costs are lowered, since only a single application needs to be hosted & maintained.<br />SaaSoffered by Google,Salesforce, Microsoft, Zoho, etc.<br />5<br /> |<br />
    6. 6. PaaS<br />A layer of software, or development environment is encapsulated & offered as a service<br />The customer has the freedom to build his own applications, which run on the provider's infrastructure<br />PaaS providers offer a predefined combination of OS and application servers, such as LAMP platform, restricted J2EE, Ruby etc.<br />PaaS example: Google's App Engine, Microsoft Azure,<br />6<br /> |<br />
    7. 7. IaaS<br />IaaS provides basic storage and computing capabilities as standardized services over the network.<br />Servers, storage systems, networking equipment, data centre space etc. are pooled and made available to handle workloads.<br />The customer would typically deploy his own software on the infrastructure.<br />IaaS examples: Amazon, GoGrid, 3 Tera, etc.<br />7<br /> |<br />
    8. 8. Cloud computing ontology<br />8<br /> |<br />
    9. 9. Public and Private cloud<br />Enterprises can choose to deploy applications on:<br />Public Cloud<br />Private Cloud <br />Hybrid cloud<br />9<br /> |<br />
    10. 10. Cloud Computing Benefits<br />Reduced cost<br />Increased storage<br />Flexibility<br />10<br /> |<br />
    11. 11. Cloud Computing Challenges<br />Data Protection<br />Data Recovery and Availability<br />Management Capabilities<br />Regulatory and Compliance Restrictions<br />11<br /> |<br />
    12. 12. Virtualization<br />
    13. 13. What is Virtualization?<br /><ul><li> Virtualization is a technology that transforms hardware into software.
    14. 14. Virtualization allows you to run multiple operating systems as virtual machines on a single computer.
    15. 15. Each copy of an operating system is installed into a virtual machine.
    16. 16. Virtualization is not Simulation or Emulation</li></li></ul><li>Scope for Virtualization<br />14<br /> |<br />
    17. 17. Pros and Cons of Virtualization<br />15<br /> |<br />
    18. 18. Types of Virtualization<br />Host Operating System Based Virtualization<br />Bare Metal Hypervisor<br />Paravirtualization<br />16<br /> |<br />
    19. 19. Bare Metal Hypervisor<br />17<br /> |<br />
    20. 20. Host Operating System Based Virtualization<br />18<br /> |<br />
    21. 21. VMware Architecture<br />19<br /> |<br />
    22. 22. Microsoft Hyper-V Architecture<br />20<br /> |<br />
    23. 23. Citrix XenSrver Architecture <br />21<br /> |<br />
    24. 24. VMware Architecture<br />
    25. 25. vCentre Server Components<br />Active Directory Domain<br />Distributed Services<br />Active Directory Interface<br />Database Interface<br />Core <br />Services<br />User Access Control<br />vSphere API<br />Additional Services<br />vSphere Client<br />ESX/ESXi Management<br />Third Party Applications<br />vCenter Server Database<br />Hosts<br />Hosts<br />Hosts<br />Hosts<br />VMware vCenter Server is a service that acts as a central administration point for ESX/ESXi hosts and their virtual machines, connected on a network.<br /><ul><li> Up to 1,000 hosts per vCenter Server instance
    26. 26. Up to 10,000 powered-on virtual machines per vCenter Server instance</li></ul>23<br /> |<br />
    27. 27. VSphere 4 Overview<br />An infrastructure virtualization suite that provides:<br /><ul><li> Virtualization
    28. 28. Management
    29. 29. Resource optimization
    30. 30. Application availability
    31. 31. Operational automation capabilities</li></ul>Aggregates physical hardware resources and provides virtual resources to the datacenter<br />24<br /> |<br />
    32. 32. ESX Architecture<br />Vsphere Client<br />vCLI(Scripting)<br />Vcenter Server<br />vSphere API/SDK<br />CIM<br />(Hardware Mgnt)<br />25<br /> |<br />
    33. 33. Virtual Network and Virtual Switch<br />A virtual network provides the networking for hosts and virtual machines that use virtual switches.<br />Service console port ( ESX only)<br />Virtual Machine port group<br />VMKernel port<br />Virtual Switch<br />Uplink Ports<br />2 kinds of virtual switches:<br /><ul><li> vNetwork standard switch A virtual switch configuration at the host level.
    34. 34. Max 4,088 virtual switch ports per standard switch and 4,096 virtual switch ports per host.
    35. 35. Distributed Virtual switch supports up to 350 hosts</li></ul>26<br /> |<br />
    36. 36. Virtual Switch<br />Service console port ( ESX only)<br />Virtual Machine port group<br />VMKernel port<br />Virtual Switch<br />Uplink Ports<br />3 types of connection types to hosts and virtual machines:<br /><ul><li>Connecting virtual machines to the physical network.
    37. 37. Connecting VMkernel services to the physical network. Services include access to IP storage, VMware vMotion migrations, and access to mgnt. network for an ESXi host.
    38. 38. Providing networking for the service console, which runs management services for ESX. </li></ul>27<br /> |<br />
    39. 39. Standard Virtual Switch<br />28<br /> |<br />
    40. 40. Storage Overview<br />VMware vStorage VMFS<br />NAS<br />Datastore Types<br />Locally Attached<br />Fiber Channel<br />iSCSI<br />NAS<br />Storage Technology<br />Datastores are logical containers, like file systems, that hide specifics of each storage device and provide a uniform model for storing virtual machine files. Datastores can also be used for storing ISO images, virtual machine templates, and floppy images.<br />29<br /> |<br />
    41. 41. VMFS<br />30<br /> |<br />
    42. 42. Virtual Disk Thin Provisioning<br />31<br /> |<br />
    43. 43. What is Virtual Machine?<br />User Perspective: a virtual machine is a software platform that, like a physical computer, runs an operating system and applications.<br />Hypervisor Perspective: a virtual machine is a discrete set of files, Main files:<br />Configuration file<br />Virtual disk file<br />NVRAM settings file<br />Log Files<br />32<br /> |<br />
    44. 44. Virtual Machine Files<br />33<br /> |<br />
    45. 45. Virtual Machine Hardware<br />Virtual Machine<br />* Total 60 Devices can be connected<br />34<br /> |<br />
    46. 46. vCenter Converter<br />35<br /> |<br />
    47. 47. Migration<br />Migration — Moving a virtual machine from one host or datastore to another. Types of migrations:<br />Cold— Migrate a virtual machine that is powered off.<br />Suspended — Migrate a virtual machine that is suspended.<br />VMware vMotion— Migrate a virtual machine that is powered on. <br />Storage vMotion— Migrate a virtual machine’s files, while the virtual machine is powered on, to a different datastore.<br />Concurrent migrations are possible:<br />A host can be involved in up to two migrations with vMotion or Storage vMotion at one time. <br />A maximum of eight simultaneous vMotion, cloning, deployment, or Storage vMotion accesses to a single VMFS-3 datastore is supported.<br />36<br /> |<br />
    48. 48. Migration Types Comparison<br />37<br /> |<br />
    49. 49. Storage vMotion<br />Storage vMotion allows you to:<br /><ul><li> Perform storage maintenance & reconfiguration
    50. 50. Redistribute storage load
    51. 51. Evacuate physical storage soon to be retired
    52. 52. Upgrade VMware ESX/ESXi
    53. 53. Hosts without virtual machine downtime
    54. 54. Source and destination can be different storage types.</li></ul>38<br /> |<br />
    55. 55. vMotion<br /><ul><li> Up to 128 concurrent vMotion migrations are supported per VMFS datastore.
    56. 56. Up to four concurrent vMotion migrations are supported if you are using a 1Gbps network.
    57. 57. Up to eight concurrent vMotion migrations are supported if you are using a 10Gbps network.</li></ul>39<br /> |<br />
    58. 58. Distributed Resource Scheduler<br />A DRS cluster is managed by vCenter Server and has following resource management capabilities:<br />Initial placement<br />Load Balancing<br />Power Management<br />DRS Automation Levels:<br />Manual<br />Semi automated<br />Fully Automated<br />40<br /> |<br />
    59. 59. High Availability<br />A highly available system is one that is continuously operational for a desirably long length of time.<br />A fault-tolerant system is designed so that, in the event of an unplanned outage, a backup component can immediately take over with no loss of service.<br />41<br /> |<br />
    60. 60. HA<br />Site Recovery Manager: It is a disaster recovery workflow product that automates setup, failover, and testing of disaster recovery plans.<br />Network availability is accomplished by using the failover feature in network interface card (NIC) teaming<br />VMware vMotionand Storage vMotionkeep virtual machines available during a planned outage<br />Microsoft Clustering Services – An alternative way to provide falut tolerance services to VM<br />Active Directory – you have probably already set it up with multiple redundant servers.<br />vCenter Server Heartbeat provides deep and comprehensive levels of protection against unplanned and, in some cases, planned vCenter Server downtime. ( 15sec.)<br />VMware HA -provides robust general purpose protection against hardware and operating system failures.<br />DRS – Automated resource management.<br />42<br /> |<br />
    61. 61. High Availability<br />Provides automatic restart of virtual machines in case of physical host failures<br />Provides high availability while reducing the need for passive standby hardware and dedicated administrators<br />Provides support for virtual machine failures with virtual machine monitoring and FT<br />Is configured, managed, and monitored through vCenter Server<br />A cluster enabled for VMware HA and DRS can have:<br />Up to 32 hosts per cluster<br />Up to 320 virtual machines per host (regardless of the number of hosts/cluster<br />Upto 3000 VM per cluster<br />43<br /> |<br />
    62. 62. Virtualization Market Overview<br />
    63. 63. Gartner Magic Quadrant for X86 Virtualization <br />45<br /> |<br />
    64. 64. Choosing VMware or Microsoft?<br />46<br /> |<br />
    65. 65. What should be factored in acquisition cost?<br />47<br /> |<br />
    66. 66. Questions??<br />