Deploying the AMP Stack in Virtualized Environments - Taking a Step Towards Cloud Computing

Deploying the AMP Stack in Virtualized Environments - Taking a Step Towards Cloud Computing

by Thierry Manfé
July 2009

This Sun BluePrints™ article explains how to deploy the AMP stack in a virtualized environment. The framework described uses the virtualization features built into the Solaris™ Operating System (Solaris OS). Best practices are included, such as using the Solaris ZFS™ file system to reduce virtual server deployment times to half a minute, and using Project Crossbow technology to set up a virtual network that manages traffic for the multiple AMP stacks that run on the physical system. Finally, the SaaS approach is extended to a complete set of servers to turn the solution into a computing cloud for the AMP stack.

Contents

  • Before you begin
  • Creating the first virtual server
    • Carving up the virtual server image
    • Allocating hardware resources
    • Installing and booting the virtual server
    • Provisioning the AMP stack on the virtual server
      • Creating a dedicated copy of the AMP stack
      • Configuring the AMP stack
      • The AMP stack and the Service Management Facility
    • Setting up the network
      • Deciding on an IP address and NIC allocation policy
      • Creating a virtual network with Project Crossbow
      • Limiting the network bandwidth of a VNIC
      • Setting up network address translation
      • Making the virtual server visible through SSH tunneling
      • Using DHCP with VNICs
  • Provisioning the second virtual server
  • Leveraging the Solaris ZFS™ File System
    • Using Solaris ZFS clones to speed virtual server installation
    • Using Solaris ZFS to set a storage quota
  • Final tuning—optimizing virtual server boot time
  • Moving to the cloud
  • Summary
  • About the author
  • References
  • Ordering Sun documents
  • Accessing Sun documentation online
About the Author

Thierry Manfé is a Senior Web Technologist in the Sun Startup Essentials team at Sun Microsystems, interacting with startup communities and Web hosting companies. He is an active speaker in the Sun Startup Essentials workshops and the G9+ conferences in France. Prior to his work with the Sun Startup Essentials group, Thierry worked with major ISVs, helping them to port, tune, and benchmark applications on Sun platforms. Thierry is a Sun Certified Java Developer and Solaris Administrator, and he posts articles at http://blogs.sun.com/startups/ in both the English and French tracks.

Rate this blueprint (Log In to vote.)
Choices Your Vote

Great

Good

Fair

Poor

Labels

new new Delete
blueprint blueprint Delete
saas saas Delete
mysql mysql Delete
php php Delete
apache apache Delete
virtualization virtualization Delete
zfs zfs Delete
solaris solaris Delete
crossbow crossbow Delete
cloud cloud Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact