SlideShare a Scribd company logo
1 of 28
Download to read offline
Pimp My Cloud
                      Nova Configuration Hints and Tricks



                                                               Joe Gordon
              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                     1

Wednesday, October 17, 12
About Me
      •    Engineer at Cloudscaling
      •                Contributor
      •                Deployer
      •    Folsom Contributions
           o Top 10 developer
              (by commits)
           o Mostly in Nova




                                                                                              http://bitergia.com/public/reports/openstack/2012_09_folsom/



              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                                    2

Wednesday, October 17, 12
By the Numbers: Nova Folsom
      •      190+ Contributors
      •       Release            Python Lines              Other Lines                        Python Files           Other Files


               Folsom                186,738                       242,721                          666                 788

               Essex                 150,894                       221,109                          593                 302

               Diablo                110,581                       110,393                          427                 389


      •      Code churn:
              Release               Lines Insertions                     Lines Deletions                Insertions/LoC %

               Folsom                     110,308                               71,911                       59.0%

                Essex                     182,298                              138,346                       120.8%

Code churn generated with git log --numstat --pretty="%H" $A..$B| grep .py$ | awk 'NF==3 {plus+=$1; minus+=$2} END {printf("+%d, -%dn", plus,
minus)}'


                 CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
                 * All unlicensed or borrowed works retain their original licenses.                              3

Wednesday, October 17, 12
Who Wrote Nova Folsom?
        1      138      Russell Bryant <rbryant@redhat.com>
        2      112      Johannes Erdfelt <johannes.erdfelt@rackspace.com>
        3       97      Dan Prince <dprince@redhat.com>
        4       88      Vishvananda Ishaya <vishvananda@gmail.com>
        5       81      Joe Gordon <jogo@cloudscaling.com>
        6       63      Michael Still <mikal@stillhq.com>
        7       59      Mark McLoughlin <markmc@redhat.com>
        8       58      Rick Harris <rconradharris@gmail.com>
        9       50      Yun Mao <yunmao@gmail.com>
       10       45      Daniel P. Berrange <berrange@redhat.com>
       11       36      Chris Behrens <cbehrens@codestud.com>
       12       31      Eoghan Glynn <eglynn@redhat.com>
       13       29      Brian Waldon <brian.waldon@rackspace.com>
       14       26      Pádraig Brady <pbrady@redhat.com>
       15       25      Chuck Short <zulcss@ubuntu.com>
       16       23      Sean Dague <sdague@linux.vnet.ibm.com>
       17       21      Alex Meade <alex.meade@rackspace.com>
       18       18      Kevin L. Mitchell <kevin.mitchell@rackspace.com>
       19       17      Brian Elliott <brian.elliott@rackspace.com>
       20       17      Zhongyue Luo <zhongyue.nah@intel.com>
       21       16      John Griffith <john.griffith@solidfire.com>
       22       13      Dan Smith <danms@us.ibm.com>
       23       13      Andrew Bogott <abogott@wikimedia.org>
       24       12      Renuka Apte <renuka.apte@citrix.com>
       25       12      Thierry Carrez <thierry@openstack.org>
                                                                    git shortlog -sne --since="Tue Mar 20
       26       12      Monty Taylor <mordred@inaugust.com>         08:17:40 2012 +0100" --no-merges | cat -n
       27       10      MotoKen <motokentsai@gmail.com>

              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                     4

Wednesday, October 17, 12
OpenStack Architecture




              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                     5

Wednesday, October 17, 12
Nova Architecture




              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                     6

Wednesday, October 17, 12
Vanilla Nova
      •    Devstack
      •    All in One
      •    RabbitMQ
      •    KVM
      •    MySQL
      •    Default configuration options




              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                     7

Wednesday, October 17, 12
Customize Nova
      •    Choose a
           o Hypervisor
           o Database
           o Message Queue
           o Network Model
           o Scheduler
      •    Configuration
           o Any of the 500+ options
      •    Custom Services
           o Any service can be
             swapped out for one
             you write

              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                     8

Wednesday, October 17, 12
Customize Nova
      •    Choose a
           o Hypervisor
           o Database
           o Message Queue
           o Network Model
           o Scheduler
      •    Configuration
           o Any of the 500+ options
      •    Custom Services
           o Any service can be
             swapped out for one
             you write

              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                     9

Wednesday, October 17, 12
What Makes Openstack Open
      •    3 RPC backends
      •    3+ DB backends
      •    6+ Virtualization backends
      •    500+ configuration options




              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                     10

Wednesday, October 17, 12
New Options for Folsom
      •    1 RPC backends
           o ZeroMQ
      •    2 virt backends
           o Hyper-V
           o PowerVM
      •    100+ configuration options




              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                     11

Wednesday, October 17, 12
New Features for Folsom by Blueprint
      •    General host aggregates (operator)
      •    Disable API extensions
      •    Rootwrap pluggable filters (operator)
      •    Multi-scheduler support (operator)
      •    Flavor extra-specs
      •    LVM ephemeral disk images (operator)
      •    Project specific flavors
      •    Multi-process API services (operator)




              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                     12

Wednesday, October 17, 12
Backend Choices




              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                     13

Wednesday, October 17, 12
RPC Comparisons


            RPC
                                    Protocol                 Company Affiliations                    Brokerless     Language
           Backend


            kombu
                                 AMQP 0-9-1                                                                          Erlang
          (rabbitMQ)



              qpid               AMQP 0-10                                                                         Java, C++



            ZeroMQ                                                                                                 Python, C++




              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                              14

Wednesday, October 17, 12
Database Comparisons


            Database                 Simultaneous writes                           High Availability        Native python client




                                                                                                                     ?




              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                       15

Wednesday, October 17, 12
Virtualization Comparisons
                                                              Virtualization
            Backend                maintained by                                                Fast        Open Source
                                                                   type

           Baremetal                       N/A                       N/A

              UML                                              paravirt only

              LXC                                                container

              Xen                                               full/paravirt

              KVM                                                     full

             Qemu                      qemu.org                       full

            Hyper-V                                                   full

           PowerVM                                                    full

         VMware ESX                                                   full

              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                       16

Wednesday, October 17, 12
Configuration Options




              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                     17

Wednesday, October 17, 12
Configuration Options by Type
                   Boolean 	

                       68
                   Floats 	

 	

                    6
                   Ints 	

   	

                    119                                                  13%

                   Lists 	

 	

                     18                                                              1%

                   MultiString 	

                   6
                   String 	

 	

                    290
                                                                                                                          23%
                                                                                     57%




                                                                                                                4%
                                                                                                           1%




              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                     18

Wednesday, October 17, 12
New Config Options in Folsom
         allowed_rpc_exception_modules                                                     max_age
         api_url                                                                           netapp_storage_service_prefix
         auth_blob                                                                         nfs_mount_point_base
         backdoor_port                                                                     non_inheritable_image_properties
         base_dir_name                                                                     notify_on_any_change
         cinder_*                                                                          notify_on_state_change
         claim_timeout_seconds                                                             osapi_max_request_body_size
         config_drive_format                                                               osapi_volume_workers
         config_drive_skip_versions                                                        periodic_fuzzy_delay
         config_drive_tempdir                                                              port
         default_scheduler_driver                                                          powervm_*
         defer_iptables_apply                                                              quantum_*
         ec2_strict_validation                                                             quota_driver
         ec2_workers                                                                       quota_key_pairs
         fatal_deprecations                                                                quota_security_group_rules
         force_config_drive                                                                quota_security_groups
         glance_api_insecure                                                               rbd_*
         hyperv_attaching_volume_retry_count                                               reservation_expire
         hyperv_wait_between_attach_retry                                                  rootwrap_config
         image_info_filename_pattern                                                       rpc_cast_timeout
         instance_build_timeout                                                            rpc_zmq_*
         instance_uuid_format                                                              server
         libvirt_cpu_mode                                                                  server_ca_file
         libvirt_cpu_model                                                                 snapshot_same_host
         libvirt_images_type                                                               sql_connection_debug
         libvirt_images_volume_group                                                       sql_connection_trace
         libvirt_inject_key                                                                storwize_*
         libvirt_inject_partition                                                          syslog_log_facility
         libvirt_snapshots_directory                                                       until_refresh
         libvirt_sparse_logical_volumes                                                    vswitch_name
         limit_cpu_features                                                                xenapi_check_host
         matchmaker_ringfile                                                               xenapi_num_vbd_unplug_retries


               CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
               * All unlicensed or borrowed works retain their original licenses.                                19

Wednesday, October 17, 12
Virtualization options
     1.pick a compute RPC topic
     scheduler_topic=compute
     2.pick a compute manager
     compute_manager=nova.compute.manager.ComputeManager
     3.compute manager options
     instances_path=$state_path/instances
     base_dir_name=_base
     compute_driver=libvirt.LibvirtDriver
     console_host=socket.getfqdn()
     live_migration_retry_count=30
     reboot_timeout=0
     instance_build_timeout=0
     rescue_timeout=0
     resize_confirm_window=0
     *_interval=
     running_deleted_instance_timeout=0
     running_deleted_instance_action=log
     instance_usage_audit=false
     4.compute driver options
     rescue_*_id=
     libvirt_type=kvm
     libvirt_inject_password=false
     libvirt_inject_key=true
     *_migration_=
     libvirt_cpu_mode=
     libvirt_cpu_model=
     ...

              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                     20

Wednesday, October 17, 12
compute.manager options
               cfg.IntOpt('live_migration_retry_count',
                    default=30,
                    help="Number of 1 second retries needed in live_migration"),
         cfg.IntOpt("reboot_timeout",
                    default=0,
                    help="Automatically hard reboot an instance if it has been "
                         "stuck in a rebooting state longer than N seconds. "
                         "Set to 0 to disable."),
         cfg.IntOpt("instance_build_timeout",
                    default=0,
                    help="Amount of time in seconds an instance can be in BUILD "
                         "before going into ERROR status."
                         "Set to 0 to disable."),
         cfg.IntOpt("rescue_timeout",
                    default=0,
                    help="Automatically unrescue an instance after N seconds. "
                         "Set to 0 to disable."),
         cfg.IntOpt("resize_confirm_window",
                    default=0,
                    help="Automatically confirm resizes after N seconds. "
                         "Set to 0 to disable."),
       ...
         cfg.StrOpt("running_deleted_instance_action",
                    default="log",
                    help="Action to take if a running deleted instance is detected."
                         "Valid options are 'noop', 'log' and 'reap'. "
                         "Set to 'noop' to disable."),


              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                     21

Wednesday, October 17, 12
reap running deleted instances
              cfg.IntOpt("running_deleted_instance_timeout",
                    default=0,
                    help="Number of seconds after being deleted when a running "
                         "instance should be considered eligible for cleanup."),
         cfg.IntOpt("running_deleted_instance_interval",
                    default=30,
                    help="Number of periodic scheduler ticks to wait between runs of "
                         "the cleanup task."),
         cfg.StrOpt("running_deleted_instance_action",
                    default="noop",
                    help="Action to take if a running deleted instance is detected."
                         "Valid options are 'noop', 'log' and 'reap'. "
                         "Set to 'noop' to disable."),


     nova.conf settings
     running_deleted_instance_timeout=60
     running_deleted_instance_action=reap




              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                     22

Wednesday, October 17, 12
Scheduler options
     1.pick a scheduler RPC topic
     scheduler_topic=scheduler
     2.pick a scheduler manager
     scheduler_manager=nova.scheduler.manager.SchedulerManager
     3.pick a scheduler driver
     scheduler_driver=nova.scheduler.multi.MultiScheduler
     4.set up scheduler.driver options
     scheduler_host_manager=nova.scheduler.host_manager.HostManager
     scheduler_max_attempts=3
     5.multi scheduler options
     compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
     volume_scheduler_driver=nova.scheduler.chance.ChanceScheduler
     default_scheduler_driver=nova.scheduler.chance.ChanceScheduler
     6.host_manager options
     scheduler_available_filters=nova.scheduler.filters.standard_filters
     scheduler_default_filters=RetryFilter,AvailabilityZoneFilter,RamFilter,ComputeFilter,ComputeC
     apabilitiesFilter,ImagePropertiesFilter
     7.filter options
     ram_allocation_ratio=1.5
     8.resource_tracker options
     reserved_host_disk_mb=0
     reserved_host_memory_mb=512
     claim_timeout_seconds=600
     compute_stats_class=nova.compute.stats.Stats

              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                     23

Wednesday, October 17, 12
Add custom filter
          cfg.MultiStrOpt('scheduler_available_filters',
                 default=['nova.scheduler.filters.standard_filters'],
                 help='Filter classes available to the scheduler which may '
                         'be specified more than once. An entry of '
                         '"nova.scheduler.filters.standard_filters" '
                         'maps to all filters included with nova.'),
          cfg.ListOpt('scheduler_default_filters',
                     default=[
                       'RetryFilter',
                       'AvailabilityZoneFilter',
                       'RamFilter',
                       'ComputeFilter',
                       'ComputeCapabilitiesFilter',
                       'ImagePropertiesFilter'
                       ],
                     help='Which filter class names to use for filtering hosts '
                           'when not specified in the request.'),


     nova.conf settings
     scheduler_available_filters=myfilter.CustomFilter
     scheduler_default_filters=RetryFilter,AvailabilityZoneFilter,RamFilter,ComputeFilter,
     ComputeCapabilitiesFilter,ImagePropertiesFilter,CustomFilter



              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                     24

Wednesday, October 17, 12
*_driver                                                                               *_manager
      •    network                                                                    •       compute
      •    quota                                                                      •       console
      •    compute                                                                    •       cert
      •    console                                                                    •       instance_dns
      •    db                                                                         •       floating_ip_dns
      •    linuxnet_interface                                                         •       network
      •    scheduler                                                                  •       volume
            o compute_scheduler
            o volume_scheduler                                                        •       scheduler
            o default_scheduler                                                       •       metadata
      •    baremetal                                                                  •       image_cache
      •    firewall                                                                   •       consoleauth
      •    libvirt_vif                                                                •       scheduler_host
      •    volume_driver
              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                      25

Wednesday, October 17, 12
Nova Architecture


      manager


       Driver




                CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
                * All unlicensed or borrowed works retain their original licenses.                     26

Wednesday, October 17, 12
Resources
     Blueprints: https://blueprints.launchpad.net/nova/folsom
     Source: https://github.com/openstack/nova/tree/stable/folsom
     Documentation: http://docs.openstack.org
     Release notes: http://wiki.openstack.org/ReleaseNotes/Folsom




              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                     27

Wednesday, October 17, 12
Questions?




              CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.*
              * All unlicensed or borrowed works retain their original licenses.                     28

Wednesday, October 17, 12

More Related Content

What's hot

Understanding docker networking
Understanding docker networkingUnderstanding docker networking
Understanding docker networkingLorenzo Fontana
 
Docker network Present in VietNam DockerDay 2015
Docker network Present in VietNam DockerDay 2015Docker network Present in VietNam DockerDay 2015
Docker network Present in VietNam DockerDay 2015Van Phuc
 
The Basic Introduction of Open vSwitch
The Basic Introduction of Open vSwitchThe Basic Introduction of Open vSwitch
The Basic Introduction of Open vSwitchTe-Yen Liu
 
LF_OVS_17_Enabling hardware acceleration in OVS-DPDK using DPDK Framework.
LF_OVS_17_Enabling hardware acceleration in OVS-DPDK using DPDK Framework.LF_OVS_17_Enabling hardware acceleration in OVS-DPDK using DPDK Framework.
LF_OVS_17_Enabling hardware acceleration in OVS-DPDK using DPDK Framework.LF_OpenvSwitch
 
Go語言開發APM微服務在Kubernetes之經驗分享
Go語言開發APM微服務在Kubernetes之經驗分享Go語言開發APM微服務在Kubernetes之經驗分享
Go語言開發APM微服務在Kubernetes之經驗分享Te-Yen Liu
 
Kubernetes networking-made-easy-with-open-v switch
Kubernetes networking-made-easy-with-open-v switchKubernetes networking-made-easy-with-open-v switch
Kubernetes networking-made-easy-with-open-v switchInfraEngineer
 
Kubernetes internals (Kubernetes 해부하기)
Kubernetes internals (Kubernetes 해부하기)Kubernetes internals (Kubernetes 해부하기)
Kubernetes internals (Kubernetes 해부하기)DongHyeon Kim
 
Hyperledger composer
Hyperledger composerHyperledger composer
Hyperledger composerwonyong hwang
 
Acus08 Advanced Load Balancing Apache2.2
Acus08 Advanced Load Balancing Apache2.2Acus08 Advanced Load Balancing Apache2.2
Acus08 Advanced Load Balancing Apache2.2Jim Jagielski
 
DeveloperWeek 2015: A Practical Introduction to Docker
DeveloperWeek 2015: A Practical Introduction to DockerDeveloperWeek 2015: A Practical Introduction to Docker
DeveloperWeek 2015: A Practical Introduction to DockerSteve Smith
 
Red Hat Enterprise Linux OpenStack Platform 7 - VM Instance HA Architecture
Red Hat Enterprise Linux OpenStack Platform 7 - VM Instance HA ArchitectureRed Hat Enterprise Linux OpenStack Platform 7 - VM Instance HA Architecture
Red Hat Enterprise Linux OpenStack Platform 7 - VM Instance HA ArchitectureEtsuji Nakai
 
VyOS Users Meeting #2, VyOSのVXLANの話
VyOS Users Meeting #2, VyOSのVXLANの話VyOS Users Meeting #2, VyOSのVXLANの話
VyOS Users Meeting #2, VyOSのVXLANの話upaa
 
OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728
OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728
OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728jieun kim
 
OpenStack networking
OpenStack networkingOpenStack networking
OpenStack networkingSim Janghoon
 

What's hot (18)

Understanding docker networking
Understanding docker networkingUnderstanding docker networking
Understanding docker networking
 
Docker network Present in VietNam DockerDay 2015
Docker network Present in VietNam DockerDay 2015Docker network Present in VietNam DockerDay 2015
Docker network Present in VietNam DockerDay 2015
 
The Basic Introduction of Open vSwitch
The Basic Introduction of Open vSwitchThe Basic Introduction of Open vSwitch
The Basic Introduction of Open vSwitch
 
Docker network
Docker networkDocker network
Docker network
 
LF_OVS_17_Enabling hardware acceleration in OVS-DPDK using DPDK Framework.
LF_OVS_17_Enabling hardware acceleration in OVS-DPDK using DPDK Framework.LF_OVS_17_Enabling hardware acceleration in OVS-DPDK using DPDK Framework.
LF_OVS_17_Enabling hardware acceleration in OVS-DPDK using DPDK Framework.
 
Go語言開發APM微服務在Kubernetes之經驗分享
Go語言開發APM微服務在Kubernetes之經驗分享Go語言開發APM微服務在Kubernetes之經驗分享
Go語言開發APM微服務在Kubernetes之經驗分享
 
Kubernetes networking-made-easy-with-open-v switch
Kubernetes networking-made-easy-with-open-v switchKubernetes networking-made-easy-with-open-v switch
Kubernetes networking-made-easy-with-open-v switch
 
OVS v OVS-DPDK
OVS v OVS-DPDKOVS v OVS-DPDK
OVS v OVS-DPDK
 
Kubernetes internals (Kubernetes 해부하기)
Kubernetes internals (Kubernetes 해부하기)Kubernetes internals (Kubernetes 해부하기)
Kubernetes internals (Kubernetes 해부하기)
 
Hyperledger composer
Hyperledger composerHyperledger composer
Hyperledger composer
 
Acus08 Advanced Load Balancing Apache2.2
Acus08 Advanced Load Balancing Apache2.2Acus08 Advanced Load Balancing Apache2.2
Acus08 Advanced Load Balancing Apache2.2
 
DeveloperWeek 2015: A Practical Introduction to Docker
DeveloperWeek 2015: A Practical Introduction to DockerDeveloperWeek 2015: A Practical Introduction to Docker
DeveloperWeek 2015: A Practical Introduction to Docker
 
Red Hat Enterprise Linux OpenStack Platform 7 - VM Instance HA Architecture
Red Hat Enterprise Linux OpenStack Platform 7 - VM Instance HA ArchitectureRed Hat Enterprise Linux OpenStack Platform 7 - VM Instance HA Architecture
Red Hat Enterprise Linux OpenStack Platform 7 - VM Instance HA Architecture
 
Docker networking
Docker networkingDocker networking
Docker networking
 
VyOS Users Meeting #2, VyOSのVXLANの話
VyOS Users Meeting #2, VyOSのVXLANの話VyOS Users Meeting #2, VyOSのVXLANの話
VyOS Users Meeting #2, VyOSのVXLANの話
 
Open Source By The Numbers
Open Source By The NumbersOpen Source By The Numbers
Open Source By The Numbers
 
OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728
OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728
OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728
 
OpenStack networking
OpenStack networkingOpenStack networking
OpenStack networking
 

Viewers also liked

Mendesain Presentasi Yang Efektif Dengan Power Point
Mendesain Presentasi Yang Efektif Dengan Power PointMendesain Presentasi Yang Efektif Dengan Power Point
Mendesain Presentasi Yang Efektif Dengan Power PointAgus Nurwahyudi
 
Konsilidasi Permen PU 07 Tahun 2011 dan Perubahannya [Perubahan Ketiga]
Konsilidasi Permen PU 07 Tahun 2011 dan Perubahannya [Perubahan Ketiga]Konsilidasi Permen PU 07 Tahun 2011 dan Perubahannya [Perubahan Ketiga]
Konsilidasi Permen PU 07 Tahun 2011 dan Perubahannya [Perubahan Ketiga]Agus Nurwahyudi
 
The Content Marketer’s A to-Z Guide to Google Analytics
The Content Marketer’s A to-Z Guide to Google AnalyticsThe Content Marketer’s A to-Z Guide to Google Analytics
The Content Marketer’s A to-Z Guide to Google AnalyticsBarry Feldman
 
20 Ideas for your Website Homepage Content
20 Ideas for your Website Homepage Content20 Ideas for your Website Homepage Content
20 Ideas for your Website Homepage ContentBarry Feldman
 
2015 Upload Campaigns Calendar - SlideShare
2015 Upload Campaigns Calendar - SlideShare2015 Upload Campaigns Calendar - SlideShare
2015 Upload Campaigns Calendar - SlideShareSlideShare
 
What to Upload to SlideShare
What to Upload to SlideShareWhat to Upload to SlideShare
What to Upload to SlideShareSlideShare
 
Getting Started With SlideShare
Getting Started With SlideShareGetting Started With SlideShare
Getting Started With SlideShareSlideShare
 

Viewers also liked (7)

Mendesain Presentasi Yang Efektif Dengan Power Point
Mendesain Presentasi Yang Efektif Dengan Power PointMendesain Presentasi Yang Efektif Dengan Power Point
Mendesain Presentasi Yang Efektif Dengan Power Point
 
Konsilidasi Permen PU 07 Tahun 2011 dan Perubahannya [Perubahan Ketiga]
Konsilidasi Permen PU 07 Tahun 2011 dan Perubahannya [Perubahan Ketiga]Konsilidasi Permen PU 07 Tahun 2011 dan Perubahannya [Perubahan Ketiga]
Konsilidasi Permen PU 07 Tahun 2011 dan Perubahannya [Perubahan Ketiga]
 
The Content Marketer’s A to-Z Guide to Google Analytics
The Content Marketer’s A to-Z Guide to Google AnalyticsThe Content Marketer’s A to-Z Guide to Google Analytics
The Content Marketer’s A to-Z Guide to Google Analytics
 
20 Ideas for your Website Homepage Content
20 Ideas for your Website Homepage Content20 Ideas for your Website Homepage Content
20 Ideas for your Website Homepage Content
 
2015 Upload Campaigns Calendar - SlideShare
2015 Upload Campaigns Calendar - SlideShare2015 Upload Campaigns Calendar - SlideShare
2015 Upload Campaigns Calendar - SlideShare
 
What to Upload to SlideShare
What to Upload to SlideShareWhat to Upload to SlideShare
What to Upload to SlideShare
 
Getting Started With SlideShare
Getting Started With SlideShareGetting Started With SlideShare
Getting Started With SlideShare
 

Similar to Pimp My Cloud.pdf

Hitchhikers guide to open stack toolchains
Hitchhikers guide to open stack toolchainsHitchhikers guide to open stack toolchains
Hitchhikers guide to open stack toolchainsstagr_lee
 
Osol Netadmin Solaris Administrator
Osol Netadmin Solaris AdministratorOsol Netadmin Solaris Administrator
Osol Netadmin Solaris AdministratorOpeyemi Olakitan
 
Docker in Production: How RightScale Delivers Cloud Applications
Docker in Production: How RightScale Delivers Cloud ApplicationsDocker in Production: How RightScale Delivers Cloud Applications
Docker in Production: How RightScale Delivers Cloud ApplicationsRightScale
 
Why Managed Service Providers Should Embrace Container Technology
Why Managed Service Providers Should Embrace Container TechnologyWhy Managed Service Providers Should Embrace Container Technology
Why Managed Service Providers Should Embrace Container TechnologySagi Brody
 
Reusing your existing software on Android
Reusing your existing software on AndroidReusing your existing software on Android
Reusing your existing software on AndroidTetsuyuki Kobayashi
 
Oded Coster - Stack Overflow behind the scenes - how it's made - Codemotion M...
Oded Coster - Stack Overflow behind the scenes - how it's made - Codemotion M...Oded Coster - Stack Overflow behind the scenes - how it's made - Codemotion M...
Oded Coster - Stack Overflow behind the scenes - how it's made - Codemotion M...Codemotion
 
OpenStack cloud for ConoHa, Z.com and GMO AppsCloud in okinawa opendays 2015 ...
OpenStack cloud for ConoHa, Z.com and GMO AppsCloud in okinawa opendays 2015 ...OpenStack cloud for ConoHa, Z.com and GMO AppsCloud in okinawa opendays 2015 ...
OpenStack cloud for ConoHa, Z.com and GMO AppsCloud in okinawa opendays 2015 ...Naoto Gohko
 
MongoDB.local Austin 2018: MongoDB Ops Manager + Kubernetes
MongoDB.local Austin 2018: MongoDB Ops Manager + KubernetesMongoDB.local Austin 2018: MongoDB Ops Manager + Kubernetes
MongoDB.local Austin 2018: MongoDB Ops Manager + KubernetesMongoDB
 
Hardware accelerated switching with Linux @ SWLUG Talks May 2014
Hardware accelerated switching with Linux @ SWLUG Talks May 2014Hardware accelerated switching with Linux @ SWLUG Talks May 2014
Hardware accelerated switching with Linux @ SWLUG Talks May 2014Nat Morris
 
Docker 1.11 Presentation
Docker 1.11 PresentationDocker 1.11 Presentation
Docker 1.11 PresentationSreenivas Makam
 
Docker - From Walking To Running
Docker - From Walking To RunningDocker - From Walking To Running
Docker - From Walking To RunningGiacomo Vacca
 
Kubernetes deployment on bare metal with container linux
Kubernetes deployment on bare metal with container linuxKubernetes deployment on bare metal with container linux
Kubernetes deployment on bare metal with container linuxmacchiang
 
2014 11-05 hpcac-kniep_christian_dockermpi
2014 11-05 hpcac-kniep_christian_dockermpi2014 11-05 hpcac-kniep_christian_dockermpi
2014 11-05 hpcac-kniep_christian_dockermpiQNIB Solutions
 
Nanog75, Network Device Property as Code
Nanog75, Network Device Property as CodeNanog75, Network Device Property as Code
Nanog75, Network Device Property as CodeDamien Garros
 
New bare-metal provisioning setup built around Collins
New bare-metal provisioning setup built around CollinsNew bare-metal provisioning setup built around Collins
New bare-metal provisioning setup built around Collinsleboncoin engineering
 
Kubernetes Networking - Giragadurai Vallirajan
Kubernetes Networking - Giragadurai VallirajanKubernetes Networking - Giragadurai Vallirajan
Kubernetes Networking - Giragadurai VallirajanNeependra Khare
 
Using PerfDHCP tool to scale DHCP in OpenStack Neutron
Using PerfDHCP tool to scale DHCP in OpenStack NeutronUsing PerfDHCP tool to scale DHCP in OpenStack Neutron
Using PerfDHCP tool to scale DHCP in OpenStack NeutronVikram G Hosakote
 
DDoS Attacks - Scenery, Evolution and Mitigation
DDoS Attacks - Scenery, Evolution and MitigationDDoS Attacks - Scenery, Evolution and Mitigation
DDoS Attacks - Scenery, Evolution and MitigationWilson Rogerio Lopes
 

Similar to Pimp My Cloud.pdf (20)

Profiling the Nova Scheduler.pdf
Profiling the Nova Scheduler.pdfProfiling the Nova Scheduler.pdf
Profiling the Nova Scheduler.pdf
 
Hitchhikers guide to open stack toolchains
Hitchhikers guide to open stack toolchainsHitchhikers guide to open stack toolchains
Hitchhikers guide to open stack toolchains
 
Osol Netadmin Solaris Administrator
Osol Netadmin Solaris AdministratorOsol Netadmin Solaris Administrator
Osol Netadmin Solaris Administrator
 
Docker in Production: How RightScale Delivers Cloud Applications
Docker in Production: How RightScale Delivers Cloud ApplicationsDocker in Production: How RightScale Delivers Cloud Applications
Docker in Production: How RightScale Delivers Cloud Applications
 
Why Managed Service Providers Should Embrace Container Technology
Why Managed Service Providers Should Embrace Container TechnologyWhy Managed Service Providers Should Embrace Container Technology
Why Managed Service Providers Should Embrace Container Technology
 
Reusing your existing software on Android
Reusing your existing software on AndroidReusing your existing software on Android
Reusing your existing software on Android
 
Oded Coster - Stack Overflow behind the scenes - how it's made - Codemotion M...
Oded Coster - Stack Overflow behind the scenes - how it's made - Codemotion M...Oded Coster - Stack Overflow behind the scenes - how it's made - Codemotion M...
Oded Coster - Stack Overflow behind the scenes - how it's made - Codemotion M...
 
Neutron qos overview
Neutron qos overviewNeutron qos overview
Neutron qos overview
 
OpenStack cloud for ConoHa, Z.com and GMO AppsCloud in okinawa opendays 2015 ...
OpenStack cloud for ConoHa, Z.com and GMO AppsCloud in okinawa opendays 2015 ...OpenStack cloud for ConoHa, Z.com and GMO AppsCloud in okinawa opendays 2015 ...
OpenStack cloud for ConoHa, Z.com and GMO AppsCloud in okinawa opendays 2015 ...
 
MongoDB.local Austin 2018: MongoDB Ops Manager + Kubernetes
MongoDB.local Austin 2018: MongoDB Ops Manager + KubernetesMongoDB.local Austin 2018: MongoDB Ops Manager + Kubernetes
MongoDB.local Austin 2018: MongoDB Ops Manager + Kubernetes
 
Hardware accelerated switching with Linux @ SWLUG Talks May 2014
Hardware accelerated switching with Linux @ SWLUG Talks May 2014Hardware accelerated switching with Linux @ SWLUG Talks May 2014
Hardware accelerated switching with Linux @ SWLUG Talks May 2014
 
Docker 1.11 Presentation
Docker 1.11 PresentationDocker 1.11 Presentation
Docker 1.11 Presentation
 
Docker - From Walking To Running
Docker - From Walking To RunningDocker - From Walking To Running
Docker - From Walking To Running
 
Kubernetes deployment on bare metal with container linux
Kubernetes deployment on bare metal with container linuxKubernetes deployment on bare metal with container linux
Kubernetes deployment on bare metal with container linux
 
2014 11-05 hpcac-kniep_christian_dockermpi
2014 11-05 hpcac-kniep_christian_dockermpi2014 11-05 hpcac-kniep_christian_dockermpi
2014 11-05 hpcac-kniep_christian_dockermpi
 
Nanog75, Network Device Property as Code
Nanog75, Network Device Property as CodeNanog75, Network Device Property as Code
Nanog75, Network Device Property as Code
 
New bare-metal provisioning setup built around Collins
New bare-metal provisioning setup built around CollinsNew bare-metal provisioning setup built around Collins
New bare-metal provisioning setup built around Collins
 
Kubernetes Networking - Giragadurai Vallirajan
Kubernetes Networking - Giragadurai VallirajanKubernetes Networking - Giragadurai Vallirajan
Kubernetes Networking - Giragadurai Vallirajan
 
Using PerfDHCP tool to scale DHCP in OpenStack Neutron
Using PerfDHCP tool to scale DHCP in OpenStack NeutronUsing PerfDHCP tool to scale DHCP in OpenStack Neutron
Using PerfDHCP tool to scale DHCP in OpenStack Neutron
 
DDoS Attacks - Scenery, Evolution and Mitigation
DDoS Attacks - Scenery, Evolution and MitigationDDoS Attacks - Scenery, Evolution and Mitigation
DDoS Attacks - Scenery, Evolution and Mitigation
 

More from OpenStack Foundation

Sponsor Webinar - OpenStack Summit Vancouver 2018
Sponsor Webinar  - OpenStack Summit Vancouver 2018Sponsor Webinar  - OpenStack Summit Vancouver 2018
Sponsor Webinar - OpenStack Summit Vancouver 2018OpenStack Foundation
 
OpenStack Summits 101: A Guide For Attendees
OpenStack Summits 101: A Guide For AttendeesOpenStack Summits 101: A Guide For Attendees
OpenStack Summits 101: A Guide For AttendeesOpenStack Foundation
 
OpenStack Marketing Plan - Community Presentation
OpenStack Marketing Plan - Community PresentationOpenStack Marketing Plan - Community Presentation
OpenStack Marketing Plan - Community PresentationOpenStack Foundation
 
OpenStack 5th Birthday - User Group Parties
OpenStack 5th Birthday - User Group PartiesOpenStack 5th Birthday - User Group Parties
OpenStack 5th Birthday - User Group PartiesOpenStack Foundation
 
Liberty release: Preliminary marketing materials & messages
Liberty release: Preliminary marketing materials & messagesLiberty release: Preliminary marketing materials & messages
Liberty release: Preliminary marketing materials & messagesOpenStack Foundation
 
OpenStack Foundation 2H 2015 Marketing Plan
OpenStack Foundation 2H 2015 Marketing PlanOpenStack Foundation 2H 2015 Marketing Plan
OpenStack Foundation 2H 2015 Marketing PlanOpenStack Foundation
 
OpenStack Summit Tokyo Sponsor Webinar
OpenStack Summit Tokyo Sponsor Webinar OpenStack Summit Tokyo Sponsor Webinar
OpenStack Summit Tokyo Sponsor Webinar OpenStack Foundation
 
Neutron Updates - Liberty Edition
Neutron Updates - Liberty Edition Neutron Updates - Liberty Edition
Neutron Updates - Liberty Edition OpenStack Foundation
 
Searchlight Updates - Liberty Edition
Searchlight Updates - Liberty EditionSearchlight Updates - Liberty Edition
Searchlight Updates - Liberty EditionOpenStack Foundation
 
Congress Updates - Liberty Edition
Congress Updates - Liberty EditionCongress Updates - Liberty Edition
Congress Updates - Liberty EditionOpenStack Foundation
 
Release Cycle Management Updates - Liberty Edition
Release Cycle Management Updates - Liberty EditionRelease Cycle Management Updates - Liberty Edition
Release Cycle Management Updates - Liberty EditionOpenStack Foundation
 
OpenStack Day CEE 2015: Real-World Use Cases
OpenStack Day CEE 2015: Real-World Use CasesOpenStack Day CEE 2015: Real-World Use Cases
OpenStack Day CEE 2015: Real-World Use CasesOpenStack Foundation
 

More from OpenStack Foundation (20)

Sponsor Webinar - OpenStack Summit Vancouver 2018
Sponsor Webinar  - OpenStack Summit Vancouver 2018Sponsor Webinar  - OpenStack Summit Vancouver 2018
Sponsor Webinar - OpenStack Summit Vancouver 2018
 
OpenStack Summits 101: A Guide For Attendees
OpenStack Summits 101: A Guide For AttendeesOpenStack Summits 101: A Guide For Attendees
OpenStack Summits 101: A Guide For Attendees
 
OpenStack Marketing Plan - Community Presentation
OpenStack Marketing Plan - Community PresentationOpenStack Marketing Plan - Community Presentation
OpenStack Marketing Plan - Community Presentation
 
OpenStack 5th Birthday - User Group Parties
OpenStack 5th Birthday - User Group PartiesOpenStack 5th Birthday - User Group Parties
OpenStack 5th Birthday - User Group Parties
 
Liberty release: Preliminary marketing materials & messages
Liberty release: Preliminary marketing materials & messagesLiberty release: Preliminary marketing materials & messages
Liberty release: Preliminary marketing materials & messages
 
OpenStack Foundation 2H 2015 Marketing Plan
OpenStack Foundation 2H 2015 Marketing PlanOpenStack Foundation 2H 2015 Marketing Plan
OpenStack Foundation 2H 2015 Marketing Plan
 
OpenStack Summit Tokyo Sponsor Webinar
OpenStack Summit Tokyo Sponsor Webinar OpenStack Summit Tokyo Sponsor Webinar
OpenStack Summit Tokyo Sponsor Webinar
 
Cinder Updates - Liberty Edition
Cinder Updates - Liberty Edition Cinder Updates - Liberty Edition
Cinder Updates - Liberty Edition
 
Glance Updates - Liberty Edition
Glance Updates - Liberty EditionGlance Updates - Liberty Edition
Glance Updates - Liberty Edition
 
Heat Updates - Liberty Edition
Heat Updates - Liberty EditionHeat Updates - Liberty Edition
Heat Updates - Liberty Edition
 
Neutron Updates - Liberty Edition
Neutron Updates - Liberty Edition Neutron Updates - Liberty Edition
Neutron Updates - Liberty Edition
 
Nova Updates - Liberty Edition
Nova Updates - Liberty EditionNova Updates - Liberty Edition
Nova Updates - Liberty Edition
 
Sahara Updates - Liberty Edition
Sahara Updates - Liberty EditionSahara Updates - Liberty Edition
Sahara Updates - Liberty Edition
 
Searchlight Updates - Liberty Edition
Searchlight Updates - Liberty EditionSearchlight Updates - Liberty Edition
Searchlight Updates - Liberty Edition
 
Trove Updates - Liberty Edition
Trove Updates - Liberty EditionTrove Updates - Liberty Edition
Trove Updates - Liberty Edition
 
OpenStack: five years in
OpenStack: five years inOpenStack: five years in
OpenStack: five years in
 
Swift Updates - Liberty Edition
Swift Updates - Liberty EditionSwift Updates - Liberty Edition
Swift Updates - Liberty Edition
 
Congress Updates - Liberty Edition
Congress Updates - Liberty EditionCongress Updates - Liberty Edition
Congress Updates - Liberty Edition
 
Release Cycle Management Updates - Liberty Edition
Release Cycle Management Updates - Liberty EditionRelease Cycle Management Updates - Liberty Edition
Release Cycle Management Updates - Liberty Edition
 
OpenStack Day CEE 2015: Real-World Use Cases
OpenStack Day CEE 2015: Real-World Use CasesOpenStack Day CEE 2015: Real-World Use Cases
OpenStack Day CEE 2015: Real-World Use Cases
 

Pimp My Cloud.pdf

  • 1. Pimp My Cloud Nova Configuration Hints and Tricks Joe Gordon CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 1 Wednesday, October 17, 12
  • 2. About Me • Engineer at Cloudscaling • Contributor • Deployer • Folsom Contributions o Top 10 developer (by commits) o Mostly in Nova http://bitergia.com/public/reports/openstack/2012_09_folsom/ CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 2 Wednesday, October 17, 12
  • 3. By the Numbers: Nova Folsom • 190+ Contributors • Release Python Lines Other Lines Python Files Other Files Folsom 186,738 242,721 666 788 Essex 150,894 221,109 593 302 Diablo 110,581 110,393 427 389 • Code churn: Release Lines Insertions Lines Deletions Insertions/LoC % Folsom 110,308 71,911 59.0% Essex 182,298 138,346 120.8% Code churn generated with git log --numstat --pretty="%H" $A..$B| grep .py$ | awk 'NF==3 {plus+=$1; minus+=$2} END {printf("+%d, -%dn", plus, minus)}' CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 3 Wednesday, October 17, 12
  • 4. Who Wrote Nova Folsom? 1 138 Russell Bryant <rbryant@redhat.com> 2 112 Johannes Erdfelt <johannes.erdfelt@rackspace.com> 3 97 Dan Prince <dprince@redhat.com> 4 88 Vishvananda Ishaya <vishvananda@gmail.com> 5 81 Joe Gordon <jogo@cloudscaling.com> 6 63 Michael Still <mikal@stillhq.com> 7 59 Mark McLoughlin <markmc@redhat.com> 8 58 Rick Harris <rconradharris@gmail.com> 9 50 Yun Mao <yunmao@gmail.com> 10 45 Daniel P. Berrange <berrange@redhat.com> 11 36 Chris Behrens <cbehrens@codestud.com> 12 31 Eoghan Glynn <eglynn@redhat.com> 13 29 Brian Waldon <brian.waldon@rackspace.com> 14 26 Pádraig Brady <pbrady@redhat.com> 15 25 Chuck Short <zulcss@ubuntu.com> 16 23 Sean Dague <sdague@linux.vnet.ibm.com> 17 21 Alex Meade <alex.meade@rackspace.com> 18 18 Kevin L. Mitchell <kevin.mitchell@rackspace.com> 19 17 Brian Elliott <brian.elliott@rackspace.com> 20 17 Zhongyue Luo <zhongyue.nah@intel.com> 21 16 John Griffith <john.griffith@solidfire.com> 22 13 Dan Smith <danms@us.ibm.com> 23 13 Andrew Bogott <abogott@wikimedia.org> 24 12 Renuka Apte <renuka.apte@citrix.com> 25 12 Thierry Carrez <thierry@openstack.org> git shortlog -sne --since="Tue Mar 20 26 12 Monty Taylor <mordred@inaugust.com> 08:17:40 2012 +0100" --no-merges | cat -n 27 10 MotoKen <motokentsai@gmail.com> CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 4 Wednesday, October 17, 12
  • 5. OpenStack Architecture CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 5 Wednesday, October 17, 12
  • 6. Nova Architecture CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 6 Wednesday, October 17, 12
  • 7. Vanilla Nova • Devstack • All in One • RabbitMQ • KVM • MySQL • Default configuration options CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 7 Wednesday, October 17, 12
  • 8. Customize Nova • Choose a o Hypervisor o Database o Message Queue o Network Model o Scheduler • Configuration o Any of the 500+ options • Custom Services o Any service can be swapped out for one you write CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 8 Wednesday, October 17, 12
  • 9. Customize Nova • Choose a o Hypervisor o Database o Message Queue o Network Model o Scheduler • Configuration o Any of the 500+ options • Custom Services o Any service can be swapped out for one you write CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 9 Wednesday, October 17, 12
  • 10. What Makes Openstack Open • 3 RPC backends • 3+ DB backends • 6+ Virtualization backends • 500+ configuration options CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 10 Wednesday, October 17, 12
  • 11. New Options for Folsom • 1 RPC backends o ZeroMQ • 2 virt backends o Hyper-V o PowerVM • 100+ configuration options CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 11 Wednesday, October 17, 12
  • 12. New Features for Folsom by Blueprint • General host aggregates (operator) • Disable API extensions • Rootwrap pluggable filters (operator) • Multi-scheduler support (operator) • Flavor extra-specs • LVM ephemeral disk images (operator) • Project specific flavors • Multi-process API services (operator) CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 12 Wednesday, October 17, 12
  • 13. Backend Choices CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 13 Wednesday, October 17, 12
  • 14. RPC Comparisons RPC Protocol Company Affiliations Brokerless Language Backend kombu AMQP 0-9-1 Erlang (rabbitMQ) qpid AMQP 0-10 Java, C++ ZeroMQ Python, C++ CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 14 Wednesday, October 17, 12
  • 15. Database Comparisons Database Simultaneous writes High Availability Native python client ? CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 15 Wednesday, October 17, 12
  • 16. Virtualization Comparisons Virtualization Backend maintained by Fast Open Source type Baremetal N/A N/A UML paravirt only LXC container Xen full/paravirt KVM full Qemu qemu.org full Hyper-V full PowerVM full VMware ESX full CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 16 Wednesday, October 17, 12
  • 17. Configuration Options CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 17 Wednesday, October 17, 12
  • 18. Configuration Options by Type Boolean 68 Floats 6 Ints 119 13% Lists 18 1% MultiString 6 String 290 23% 57% 4% 1% CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 18 Wednesday, October 17, 12
  • 19. New Config Options in Folsom allowed_rpc_exception_modules max_age api_url netapp_storage_service_prefix auth_blob nfs_mount_point_base backdoor_port non_inheritable_image_properties base_dir_name notify_on_any_change cinder_* notify_on_state_change claim_timeout_seconds osapi_max_request_body_size config_drive_format osapi_volume_workers config_drive_skip_versions periodic_fuzzy_delay config_drive_tempdir port default_scheduler_driver powervm_* defer_iptables_apply quantum_* ec2_strict_validation quota_driver ec2_workers quota_key_pairs fatal_deprecations quota_security_group_rules force_config_drive quota_security_groups glance_api_insecure rbd_* hyperv_attaching_volume_retry_count reservation_expire hyperv_wait_between_attach_retry rootwrap_config image_info_filename_pattern rpc_cast_timeout instance_build_timeout rpc_zmq_* instance_uuid_format server libvirt_cpu_mode server_ca_file libvirt_cpu_model snapshot_same_host libvirt_images_type sql_connection_debug libvirt_images_volume_group sql_connection_trace libvirt_inject_key storwize_* libvirt_inject_partition syslog_log_facility libvirt_snapshots_directory until_refresh libvirt_sparse_logical_volumes vswitch_name limit_cpu_features xenapi_check_host matchmaker_ringfile xenapi_num_vbd_unplug_retries CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 19 Wednesday, October 17, 12
  • 20. Virtualization options 1.pick a compute RPC topic scheduler_topic=compute 2.pick a compute manager compute_manager=nova.compute.manager.ComputeManager 3.compute manager options instances_path=$state_path/instances base_dir_name=_base compute_driver=libvirt.LibvirtDriver console_host=socket.getfqdn() live_migration_retry_count=30 reboot_timeout=0 instance_build_timeout=0 rescue_timeout=0 resize_confirm_window=0 *_interval= running_deleted_instance_timeout=0 running_deleted_instance_action=log instance_usage_audit=false 4.compute driver options rescue_*_id= libvirt_type=kvm libvirt_inject_password=false libvirt_inject_key=true *_migration_= libvirt_cpu_mode= libvirt_cpu_model= ... CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 20 Wednesday, October 17, 12
  • 21. compute.manager options     cfg.IntOpt('live_migration_retry_count',                default=30,                help="Number of 1 second retries needed in live_migration"),     cfg.IntOpt("reboot_timeout",                default=0,                help="Automatically hard reboot an instance if it has been "                     "stuck in a rebooting state longer than N seconds. "                     "Set to 0 to disable."),     cfg.IntOpt("instance_build_timeout",                default=0,                help="Amount of time in seconds an instance can be in BUILD "                     "before going into ERROR status."                     "Set to 0 to disable."),     cfg.IntOpt("rescue_timeout",                default=0,                help="Automatically unrescue an instance after N seconds. "                     "Set to 0 to disable."),     cfg.IntOpt("resize_confirm_window",                default=0,                help="Automatically confirm resizes after N seconds. "                     "Set to 0 to disable."),   ...     cfg.StrOpt("running_deleted_instance_action",                default="log",                help="Action to take if a running deleted instance is detected."                     "Valid options are 'noop', 'log' and 'reap'. "                     "Set to 'noop' to disable."), CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 21 Wednesday, October 17, 12
  • 22. reap running deleted instances     cfg.IntOpt("running_deleted_instance_timeout",                default=0,                help="Number of seconds after being deleted when a running "                     "instance should be considered eligible for cleanup."),     cfg.IntOpt("running_deleted_instance_interval",                default=30,                help="Number of periodic scheduler ticks to wait between runs of "                     "the cleanup task."),     cfg.StrOpt("running_deleted_instance_action",                default="noop",                help="Action to take if a running deleted instance is detected."                     "Valid options are 'noop', 'log' and 'reap'. "                     "Set to 'noop' to disable."), nova.conf settings running_deleted_instance_timeout=60 running_deleted_instance_action=reap CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 22 Wednesday, October 17, 12
  • 23. Scheduler options 1.pick a scheduler RPC topic scheduler_topic=scheduler 2.pick a scheduler manager scheduler_manager=nova.scheduler.manager.SchedulerManager 3.pick a scheduler driver scheduler_driver=nova.scheduler.multi.MultiScheduler 4.set up scheduler.driver options scheduler_host_manager=nova.scheduler.host_manager.HostManager scheduler_max_attempts=3 5.multi scheduler options compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler volume_scheduler_driver=nova.scheduler.chance.ChanceScheduler default_scheduler_driver=nova.scheduler.chance.ChanceScheduler 6.host_manager options scheduler_available_filters=nova.scheduler.filters.standard_filters scheduler_default_filters=RetryFilter,AvailabilityZoneFilter,RamFilter,ComputeFilter,ComputeC apabilitiesFilter,ImagePropertiesFilter 7.filter options ram_allocation_ratio=1.5 8.resource_tracker options reserved_host_disk_mb=0 reserved_host_memory_mb=512 claim_timeout_seconds=600 compute_stats_class=nova.compute.stats.Stats CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 23 Wednesday, October 17, 12
  • 24. Add custom filter cfg.MultiStrOpt('scheduler_available_filters',             default=['nova.scheduler.filters.standard_filters'],             help='Filter classes available to the scheduler which may '                     'be specified more than once. An entry of '                     '"nova.scheduler.filters.standard_filters" '                     'maps to all filters included with nova.'),      cfg.ListOpt('scheduler_default_filters',                 default=[                   'RetryFilter',                   'AvailabilityZoneFilter',                   'RamFilter',                   'ComputeFilter',                   'ComputeCapabilitiesFilter',                   'ImagePropertiesFilter'                   ],                 help='Which filter class names to use for filtering hosts '                       'when not specified in the request.'), nova.conf settings scheduler_available_filters=myfilter.CustomFilter scheduler_default_filters=RetryFilter,AvailabilityZoneFilter,RamFilter,ComputeFilter, ComputeCapabilitiesFilter,ImagePropertiesFilter,CustomFilter CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 24 Wednesday, October 17, 12
  • 25. *_driver *_manager • network • compute • quota • console • compute • cert • console • instance_dns • db • floating_ip_dns • linuxnet_interface • network • scheduler • volume o compute_scheduler o volume_scheduler • scheduler o default_scheduler • metadata • baremetal • image_cache • firewall • consoleauth • libvirt_vif • scheduler_host • volume_driver CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 25 Wednesday, October 17, 12
  • 26. Nova Architecture manager Driver CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 26 Wednesday, October 17, 12
  • 27. Resources Blueprints: https://blueprints.launchpad.net/nova/folsom Source: https://github.com/openstack/nova/tree/stable/folsom Documentation: http://docs.openstack.org Release notes: http://wiki.openstack.org/ReleaseNotes/Folsom CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 27 Wednesday, October 17, 12
  • 28. Questions? CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution.* * All unlicensed or borrowed works retain their original licenses. 28 Wednesday, October 17, 12