~citrix-openstack/nova/xenapi

« back to all changes in this revision

Viewing changes to doc/source/runnova/binaries.rst

merged trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
..
 
2
      Copyright 2010-2011 United States Government as represented by the
 
3
      Administrator of the National Aeronautics and Space Administration.
 
4
      All Rights Reserved.
 
5
 
 
6
      Licensed under the Apache License, Version 2.0 (the "License"); you may
 
7
      not use this file except in compliance with the License. You may obtain
 
8
      a copy of the License at
 
9
 
 
10
          http://www.apache.org/licenses/LICENSE-2.0
 
11
 
 
12
      Unless required by applicable law or agreed to in writing, software
 
13
      distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 
14
      WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 
15
      License for the specific language governing permissions and limitations
 
16
      under the License.
 
17
 
 
18
.. _binaries:
 
19
 
 
20
Nova Daemons
 
21
=============
 
22
 
 
23
The configuration of these binaries relies on "flagfiles" using the google
 
24
gflags package::
 
25
 
 
26
   $ nova-xxxxx --flagfile flagfile
 
27
 
 
28
The binaries can all run on the same machine or be spread out amongst multiple boxes in a large deployment.
 
29
 
 
30
nova-api
 
31
--------
 
32
 
 
33
Nova api receives xml requests and sends them to the rest of the system.  It is a wsgi app that routes and authenticate requests.  It supports the ec2 and openstack apis.
 
34
 
 
35
nova-objectstore
 
36
----------------
 
37
 
 
38
Nova objectstore is an ultra simple file-based storage system for images that replicates most of the S3 Api.  It will soon be replaced with Glance (http://glance.openstack.org) and a simple image manager. 
 
39
 
 
40
nova-compute
 
41
------------
 
42
 
 
43
Nova compute is responsible for managing virtual machines.  It loads a Service object which exposes the public methods on ComputeManager via rpc.
 
44
 
 
45
nova-volume
 
46
-----------
 
47
 
 
48
Nova volume is responsible for managing attachable block storage devices. It loads a Service object which exposes the public methods on VolumeManager via rpc.
 
49
 
 
50
nova-network
 
51
------------
 
52
 
 
53
Nova network is responsible for managing floating and fixed ips, dhcp, bridging and vlans.  It loads a Service object which exposes the public methods on one of the subclasses of NetworkManager.  Different networking strategies are as simple as changing the network_manager flag::
 
54
 
 
55
   $ nova-network --network_manager=nova.network.manager.FlatManager
 
56
 
 
57
IMPORTANT: Make sure that you also set the network_manager on nova-api and nova_compute, since make some calls to network manager in process instead of through rpc.  More information on the interactions between services, managers, and drivers can be found :ref:`here <service_manager_driver>`