~openstackbook/openstackbook/trunk

« back to all changes in this revision

Viewing changes to target/docbkx/webhelp/cactus/openstack-compute/starter/content/Introduction-d1e1257.html

  • Committer: Murthyraju Manthena
  • Date: 2011-08-22 15:40:00 UTC
  • mfrom: (4.1.2 trunk)
  • Revision ID: murthyraju.manthena@csscorp.com-20110822154000-r3cugjofoul4x0k8
Modified pom.xml to remove section numbering, only chapters are numbered now and modified the images to have PDF and HTML scaling

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
 
2
<!DOCTYPE html
 
3
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
4
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:exsl="http://exslt.org/common" xmlns:ng="http://docbook.org/docbook-ng"><head>
 
5
<meta http-equiv="X-UA-Compatible" content="IE=7"/>
 
6
<title>Introduction</title><meta name="generator" content="DocBook XSL-NS Stylesheets V1.76.1"/><link rel="home" href="index.html" title="OpenStack Compute Starter Guide"/><link rel="up" href="Image_Management-d1e1252.html" title="Chapter 3. Image Management"/><link rel="prev" href="Image_Management-d1e1252.html" title="Chapter 3. Image Management"/><link rel="next" href="Creating_a_Linux_Image_-_Ubuntu_Fedora-d1e1287.html" title="Creating a Linux Image - Ubuntu &amp; Fedora"/><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><script type="text/javascript">
 
7
            //The id for tree cookie
 
8
            var treeCookieId = "treeview-1838";
 
9
            var language = "en";
 
10
            var w = new Object();
 
11
            //Localization
 
12
            txt_filesfound = 'Results';
 
13
            txt_enter_at_least_1_char = "You must enter at least one character.";
 
14
            txt_browser_not_supported = "Your browser is not supported. Use of Mozilla Firefox is recommended.";
 
15
            txt_please_wait = "Please wait. Search in progress...";
 
16
            txt_results_for = "Results for: ";
 
17
        </script><style type="text/css">
 
18
            input {
 
19
            margin-bottom: 5px;
 
20
            margin-top: 2px;
 
21
            }
 
22
 
 
23
            .folder {
 
24
            display: block;
 
25
            height: 22px;
 
26
            padding-left: 20px;
 
27
            background: transparent url(../common/jquery/treeview/images/folder.gif) 0 0px no-repeat;
 
28
            }
 
29
            
 
30
        </style><link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"/><link rel="stylesheet" type="text/css" href="../common/css/positioning.css"/><!--[if IE]>
 
31
        <link rel="stylesheet" type="text/css" href="../common/css/ie.css"/>
 
32
        <![endif]--><link rel="stylesheet" type="text/css" href="../common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css"/><link rel="stylesheet" type="text/css" href="../common/jquery/treeview/jquery.treeview.css"/><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"><!----></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"><!----></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"><!----></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"><!----></script><script type="text/javascript" src="search/htmlFileList.js"><!----></script><script type="text/javascript" src="search/htmlFileInfoList.js"><!----></script><script type="text/javascript" src="search/nwSearchFnt.js"><!----></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"><!----></script><script type="text/javascript" src="search/index-2.js"><!----></script><script type="text/javascript" src="search/index-3.js"><!----></script><script type="text/javascript">
 
33
            var _gaq = _gaq || [];
 
34
            _gaq.push(['_setAccount', 'UA-17511903-6']);
 
35
          </script><script type="text/javascript" src="../common/ga.js"><!----></script></head><body><div id="header"><a onclick="_gaq.push(['_trackEvent', 'Header', 'logo', 'click', 1]);" target="_blank" href="http://www.openstack.org"><img src="../common/images/openstack-logo.png" alt="OpenStack Documentation" width="157" height="47"/></a><p class="breadcrumbs"><a href="http://docs.openstack.org/">OpenStack Manuals</a><a href="index.html">OpenStack Compute Starter Guide
 
36
   - cactus</a></p><h1>Introduction</h1><div id="navheader" align="right"><!----><table class="navLinks"><tr><td><a id="showHideButton" onclick="showHideToc(); _gaq.push(['_trackEvent', 'Header', 'show/hide', 'click', 1]);" class="pointLeft" title="Hide TOC tree">Sidebar
 
37
                            </a></td><td><a accesskey="p" class="navLinkPrevious" onclick="_gaq.push(['_trackEvent', 'Header', 'prevLink', 'click', 1]);" tabindex="5" href="Image_Management-d1e1252.html">Prev</a>
 
38
                                      |
 
39
                                        <a accesskey="u" class="navLinkUp" onclick="_gaq.push(['_trackEvent', 'Header', 'upLink', 'click', 1]);" tabindex="5" href="Image_Management-d1e1252.html">Up</a>
 
40
                                  |
 
41
                                    <a accesskey="n" class="navLinkNext" onclick="_gaq.push(['_trackEvent', 'Header', 'nextLink', 'click', 1]);" tabindex="5" href="Creating_a_Linux_Image_-_Ubuntu_Fedora-d1e1287.html">Next</a></td></tr></table></div></div><div id="content"><div class="statustext"> </div><div class="section" title="Introduction"><div xmlns="" class="titlepage"><div><div><h2 xmlns="http://www.w3.org/1999/xhtml" class="title" style="clear: both"><a id="Introduction-d1e1257"/>Introduction</h2></div></div></div><p> There are several pre-built images for OpenStack available from  various sources. You can download such images and use them to get familiar with OpenStack. You can refer to http://docs.openstack.org/cactus/openstack-compute/admin/content/starting-images.html for details on using such images.</p><p>For any production deployment,  you may like to have the ability to bundle custom images, with a custom set of applications or configuration. This chapter will guide you through the process of creating Linux images of Debian and RedHat based distributions from scratch. We have also covered an approach to bundling Windows images.
 
42
   </p><p>There are some minor differences in the way you would bundle a Linux image, based on the distribution. Ubuntu makes it very easy by providing cloud-init package, which can be used to take care of the instance configuration at the time of launch. cloud-init handles importing ssh keys for password-less login, setting host name etc. The instance acquires the instance specific configuration from Nova-compute by connecting to a meta data interface running on 169.254.169.254.</p><p>While creating the image of a distro that does not have cloud-init or an equivalent package, you may need to take care of importing the keys etc. by running a set of commands at boot time from rc.local.</p><p>The process used for Ubuntu and Fedora is largely the same with a few minor differences, which are explained below.</p><p>In both cases, the documentation below assumes that you have a working KVM installation to use for creating the images. We are using the machine called 'client1' as explained in the chapter on "Installation and Configuration" for this purpose.</p><p>The approach explained below will give you disk images that represent a disk without any partitions. Nova-compute can resize such disks ( including resizing the file system) based on the instance type chosen at the time of launching the instance. These images cannot have 'bootable' flag and hence it is mandatory to have associated kernel and ramdisk images. These kernel and ramdisk images need to be used by nova-compute at the time of launching the instance.</p><p>However, we have also added a small section towards the end of the chapter about creating bootable images with multiple partitions that can be used by nova to launch an instance without the need for  kernel and ramdisk images. The caveat is that while nova-compute can re-size such disks at the time of launching the instance, the file system size is not altered and hence, for all practical purposes, such disks are not re-sizable.</p></div><script type="text/javascript" src="../common/main.js"><!----></script><hr/><div id="disqus_thread"><script type="text/javascript">
 
43
              var disqus_shortname = 'openstackstarterdoc';           
 
44
            </script><noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript><script type="text/javascript" src="../common/comments.js"><!----></script></div><hr/><div class="legal"><a href="index.html">Legal notices</a></div></div><div><div id="leftnavigation" style="padding-top:3px; background-color:white;"><div id="tabs"><ul><li><a href="#treeDiv" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" tabindex="1"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"/><div id="ulTreeDiv" style="display:none" class="thisisthat"><ul id="tree" class="filetree"><li tabindex="2"><span class="file"><a href="Introduction_to_OpenStack_and_its_components-d1e59.html">1. Introduction to OpenStack and Its Components</a></span><ul><li tabindex="2"><span class="file"><a href="Cloud_Computing-d1e64.html">Cloud Computing</a></span></li><li tabindex="2"><span class="file"><a href="OpenStack-d1e94.html">OpenStack</a></span><ul><li tabindex="2"><span class="file"><a href="Open_Stack_Compute_Infrastructure_Nova_-d1e124.html">Open Stack Compute Infrastructure ( Nova )</a></span><ul><li tabindex="2"><span class="file"><a href="Functions_and_Features-d1e132.html">Functions and Features:</a></span></li><li tabindex="2"><span class="file"><a href="Components_of_OpenStack-Compute-d1e166.html">Components of OpenStack Compute</a></span><ul><li tabindex="2"><span class="file"><a href="API_Server_nova-api_-d1e213.html">API Server ( nova-api )</a></span></li><li tabindex="2"><span class="file"><a href="Message_Queue_Rabbit_MQ_Server_-d1e223.html">Message Queue ( Rabbit MQ Server )</a></span></li><li tabindex="2"><span class="file"><a href="Compute_Worker_nova-compute_-d1e232.html">Compute Worker ( nova-compute )</a></span></li><li tabindex="2"><span class="file"><a href="Network_Controller_nova-network_-d1e241.html">Network Controller ( nova-network )</a></span></li><li tabindex="2"><span class="file"><a href="Volume_Workers_nova-volume_-d1e250.html">Volume Workers ( nova-volume )</a></span></li><li tabindex="2"><span class="file"><a href="Scheduler_nova-scheduler_-d1e262.html">Scheduler (nova-scheduler)</a></span></li></ul></li></ul></li><li tabindex="2"><span class="file"><a href="OpenStack_Storage_Infrastructure_Swift_-d1e291.html">OpenStack Storage Infrastructure ( Swift )</a></span><ul><li tabindex="2"><span class="file"><a href="Functions_and_Features-d1e299.html">Functions and Features</a></span></li></ul></li><li tabindex="2"><span class="file"><a href="OpenStack_Imaging_Service_Glance_-d1e329.html">OpenStack Imaging Service ( Glance )</a></span><ul><li tabindex="2"><span class="file"><a href="Functions_and_Features_Glance_-d1e352.html">Functions and Features ( Glance )</a></span></li><li tabindex="2"><span class="file"><a href="Components_of_OpenStack_Imaging_Service_Glance_-d1e365.html">Components of OpenStack Imaging Service ( Glance )</a></span></li></ul></li></ul></li></ul></li><li tabindex="2"><span class="file"><a href="Installation_and_configuration-d1e385.html">2. Installation and Configuration</a></span><ul><li tabindex="2"><span class="file"><a href="Introduction-d1e390.html">Introduction</a></span></li><li tabindex="2"><span class="file"><a href="Server1-d1e537.html">Server1</a></span><ul><li tabindex="2"><span class="file"><a href="Base_OS-d1e542.html">Base OS</a></span></li><li tabindex="2"><span class="file"><a href="Networking_Configuration-d1e591.html">Networking Configuration</a></span></li><li tabindex="2"><span class="file"><a href="NTP_Server-d1e609.html">NTP Server</a></span></li><li tabindex="2"><span class="file"><a href="Glance-d1e634.html">Glance</a></span></li><li tabindex="2"><span class="file"><a href="MySQL_Server-d1e657.html">MySQL Server</a></span><ul><li tabindex="2"><span class="file"><a href="Configuration-d1e667.html">Configuration</a></span></li></ul></li><li tabindex="2"><span class="file"><a href="Nova_Components-d1e718.html">Nova Components</a></span></li><li tabindex="2"><span class="file"><a href="Nova_dashboard-d1e879.html">Nova dashboard</a></span><ul><li tabindex="2"><span class="file"><a href="Setting_Up_E-mail_service_for_the_web_interface-d1e919.html">Setting Up E-mail service for the web interface</a></span></li><li tabindex="2"><span class="file"><a href="OpenStack_Dashboard_with_Mysql_Database-d1e972.html">OpenStack Dashboard with Mysql Database</a></span></li><li tabindex="2"><span class="file"><a href="Running_Dashboard_on_apache2_with_mod_wsgi-d1e1013.html">Running Dashboard on apache2 with mod_wsgi</a></span></li><li tabindex="2"><span class="file"><a href="Setting_up_the_virtual_host_and_WSGI_alias_in_Apache-d1e1035.html">Setting up the virtual host and WSGI alias in Apache</a></span></li></ul></li></ul></li><li tabindex="2"><span class="file"><a href="Server_2-d1e1059.html">Server 2</a></span><ul><li tabindex="2"><span class="file"><a href="BaseOS-d1e1064.html">BaseOS</a></span></li><li tabindex="2"><span class="file"><a href="Networking_Configuration-d1e1073.html">Networking Configuration</a></span></li><li tabindex="2"><span class="file"><a href="NTP_Client-d1e1098.html">NTP Client</a></span></li><li tabindex="2"><span class="file"><a href="Nova_Components_nova-compute_alone_-d1e1123.html">Nova Components (nova-compute alone)</a></span></li></ul></li><li tabindex="2"><span class="file"><a href="Client1-d1e1155.html">Client1</a></span><ul><li tabindex="2"><span class="file"><a href="BaseOS-d1e1160.html">BaseOS</a></span></li><li tabindex="2"><span class="file"><a href="Networking_Configuration-d1e1169.html">Networking Configuration</a></span></li><li tabindex="2"><span class="file"><a href="NTP_Client-d1e1181.html">NTP Client</a></span></li><li tabindex="2"><span class="file"><a href="Client_Tools-d1e1206.html">Client Tools</a></span></li></ul></li></ul></li><li tabindex="2"><span class="file"><a href="Image_Management-d1e1252.html">3. Image Management</a></span><ul><li tabindex="2" id="webhelp-currentid"><span class="file"><a href="Introduction-d1e1257.html">Introduction</a></span></li><li tabindex="2"><span class="file"><a href="Creating_a_Linux_Image_-_Ubuntu_Fedora-d1e1287.html">Creating a Linux Image - Ubuntu &amp; Fedora</a></span><ul><li tabindex="2"><span class="file"><a href="OS_Installation-d1e1298.html">OS Installation</a></span></li><li tabindex="2"><span class="file"><a href="Extracting_the_EXT4_partition-d1e1377.html">Extracting the EXT4 partition</a></span></li><li tabindex="2"><span class="file"><a href="Tweaking_etc_fstab-d1e1463.html">Tweaking /etc/fstab</a></span></li><li tabindex="2"><span class="file"><a href="Fetching_Metadata_in_Fedora-d1e1488.html">Fetching Metadata in Fedora</a></span></li><li tabindex="2"><span class="file"><a href="Kernel_and_Initrd_for_OpenStack-d1e1503.html">Kernel and Initrd for OpenStack</a></span></li><li tabindex="2"><span class="file"><a href="Registering_with_OpenStack-d1e1534.html">Registering with OpenStack</a></span></li><li tabindex="2"><span class="file"><a href="Image_Listing-d1e1568.html">Image Listing</a></span></li></ul></li><li tabindex="2"><span class="file"><a href="Creating_a_Windows_Image-d1e1594.html">Creating a Windows Image</a></span></li></ul></li><li tabindex="2"><span class="file"><a href="Instance_Management-d1e1646.html">4. Instance Management</a></span><ul><li tabindex="2"><span class="file"><a href="Introduction-d1e1651.html">Introduction</a></span></li><li tabindex="2"><span class="file"><a href="Hybridfox-d1e1691.html">Hybridfox</a></span><ul><li tabindex="2"><span class="file"><a href="Features-d1e1702.html">Features</a></span></li><li tabindex="2"><span class="file"><a href="Installation-d1e1731.html">Installation</a></span></li><li tabindex="2"><span class="file"><a href="Configuration-d1e1741.html">Configuration</a></span></li></ul></li><li tabindex="2"><span class="file"><a href="Euca2ools-Command_Line_Tools-d1e1828.html">Euca2ools-Command Line Tools</a></span><ul><li tabindex="2"><span class="file"><a href="Installation-d1e1839.html">Installation</a></span></li><li tabindex="2"><span class="file"><a href="Creation_of_Key_Pairs-d1e1848.html">Creation of Key Pairs</a></span></li><li tabindex="2"><span class="file"><a href="Launch_and_manage_instances-d1e1885.html">Launch and manage instances</a></span></li></ul></li><li tabindex="2"><span class="file"><a href="Using_the_OpenStack_Dashboard-d1e1933.html">Using the OpenStack Dashboard</a></span><ul><li tabindex="2"><span class="file"><a href="Creating_Keypairs-d1e1937.html">Creating Keypairs</a></span></li><li tabindex="2"><span class="file"><a href="Launching_an_instance-d1e1951.html">Launching an instance</a></span></li><li tabindex="2"><span class="file"><a href="Terminating_an_instance-d1e1965.html">Terminating an instance</a></span></li><li tabindex="2"><span class="file"><a href="Displaying_the_Console_Output-d1e1979.html">Displaying the Console Output</a></span></li></ul></li></ul></li><li tabindex="2"><span class="file"><a href="Storage_Management-d1e1995.html">5. Storage Management</a></span><ul><li tabindex="2"><span class="file"><a href="Nova-volume-d1e2000.html">Nova-volume</a></span><ul><li tabindex="2"><span class="file"><a href="Interacting_with_Storage_Controller-d1e2014.html">Interacting with Storage Controller</a></span></li></ul></li></ul></li><li tabindex="2"><span class="file"><a href="Network_Management-d1e2079.html">6. Network Management</a></span><ul><li tabindex="2"><span class="file"><a href="Introduction-d1e2084.html">Introduction</a></span></li></ul></li><li tabindex="2"><span class="file"><a href="Role_Based_Access_Control-d1e2147.html">7. Role Based Access Control</a></span><ul><li tabindex="2"><span class="file"><a href="Role_Based_Access_Control-Overview-d1e2152.html">Role Based Access Control Overview</a></span><ul><li tabindex="2"><span class="file"><a href="Administrator_admin_-d1e2160.html">Administrator(admin)</a></span></li><li tabindex="2"><span class="file"><a href="IT_security_itsec_-d1e2188.html">IT security(itsec)</a></span></li><li tabindex="2"><span class="file"><a href="Network_Administrator_netadmin_-d1e2232.html">Network Administrator(netadmin)</a></span></li><li tabindex="2"><span class="file"><a href="Developer_developer_-d1e2261.html">Developer (developer)</a></span></li><li tabindex="2"><span class="file"><a href="Tabular_representation_of_Roles-d1e2292.html">Tabular representation of Roles</a></span></li></ul></li></ul></li><li tabindex="2"><span class="file"><a href="Security-d1e2500.html">8. Security</a></span><ul><li tabindex="2"><span class="file"><a href="Security_Overview-d1e2505.html">Security Overview</a></span></li></ul></li><li tabindex="2"><span class="file"><a href="OpenStack_Commands-d1e2584.html">9. OpenStack Commands</a></span><ul><li tabindex="2"><span class="file"><a href="Nova_Manage_Commands-d1e2589.html">Nova Manage Commands</a></span><ul><li tabindex="2"><span class="file"><a href="User_Role_Management-d1e2597.html">User/Role Management</a></span></li><li tabindex="2"><span class="file"><a href="Project_Management-d1e2672.html">Project Management</a></span></li><li tabindex="2"><span class="file"><a href="Database_Management-d1e2713.html">Database Management</a></span></li><li tabindex="2"><span class="file"><a href="Instance_Type_Management-d1e2734.html">Instance Type Management</a></span></li><li tabindex="2"><span class="file"><a href="Service_Management-d1e2761.html">Service Management</a></span></li><li tabindex="2"><span class="file"><a href="Euca2ools_Commands-d1e2791.html">Euca2ools Commands</a></span></li></ul></li></ul></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(ditaSearch_Form);return false" name="ditaSearch_Form" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="text" class="searchText"/> &nbsp; <input onclick="Verifie(ditaSearch_Form)" type="button" class="searchButton" value="Go" id="doSearch"/></center></fieldset></form></div><div id="searchResults"><center/></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html>
 
 
b'\\ No newline at end of file'