[Openstack]使用devstack自動化安裝

來源:互聯網
上載者:User

標籤:openstack   自動化   install   

os環境為: ubuntu14.04

安裝步驟:

更新系統軟體包:  sudo apt-get dist-upgrade    #出現無法訪問到ubuntu官網的錯誤。安裝git: sudo apt-get install git下載項目: git clone https://github.com/openstack-dev/devstack.git切換命令: cd devstack查看分支: git branch -a   #可以切換到不同的版本切分支:   git checkout -b havana origin/stable/havana把localrc拷貝到devstack下面,或者自己建立一個,把內容拷貝到裡面:cp ~/Desktop/localrc ./執行自動化部署:  ./stack.sh這樣安裝的就是havana版本的openstack


設定檔:localrc

# Misc#GIT_BASE=http://review.thstack.comDATABASE_PASSWORD=123456 ADMIN_PASSWORD=123456 SERVICE_PASSWORD=123456 SERVICE_TOKEN=123456 RABBIT_PASSWORD=123456  # Reclone each time #RECLONE=true   # Python enviroments #OFFLINE=true   ## For Keystone KEYSTONE_TOKEN_FORMAT=PKI   ## For Swift #SWIFT_REPLICAS=1 #SWIFT_HASH=011688b44136573e209e   # Enable LoggingDEST=/home/stack LOGFILE=$DEST/logs/stack.sh.log VERBOSE=True LOG_COLOR=True SCREEN_LOGDIR=$DEST/logs   # Pre-requisite ENABLED_SERVICES=rabbit,mysql,key   ## If you want ZeroMQ instead of RabbitMQ (don't forget to un-declare 'rabbit' from the pre-requesite) #ENABLED_SERVICES+=,-rabbit,-qpid,zeromq   ## If you want Qpid instead of RabbitMQ (don't forget to un-declare 'rabbit' from the pre-requesite) #ENABLED_SERVICES+=,-rabbit,-zeromq,qpid   # Horizon (Dashboard UI) - (always use the trunk) ENABLED_SERVICES+=,horizon #HORIZON_REPO=https://github.com/openstack/horizon #HORIZON_BRANCH=master   # Nova - Compute Service ENABLED_SERVICES+=,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch,n-novnc,n-cauthIMAGE_URLS+=",https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img"   ## Nova Cells ENABLED_SERVICES+=,n-cell   # Glance - Image Service ENABLED_SERVICES+=,g-api,g-reg   # Swift - Object Storage #ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account   # Neutron - Networking Service # If Neutron is not declared the old good nova-network will be used ENABLED_SERVICES+=,q-svc,q-agt,q-dhcp,q-l3,q-meta,neutron #VIF_PLUGGING_IS_FATAL=False#VIF_PLUGGING_TIMEOUT=10## Neutron - Load Balancing #ENABLED_SERVICES+=,q-lbaas   ## Neutron - VPN as a Service #ENABLED_SERVICES+=,q-vpn   ## Neutron - Firewall as a Service #ENABLED_SERVICES+=,q-fwaas   # VXLAN tunnel configuration Q_PLUGIN=ml2 Q_ML2_TENANT_NETWORK_TYPE=vxlan   # Cinder - Block Device Service ENABLED_SERVICES+=,cinder,c-api,c-vol,c-sch   # Heat - Orchestration Service #ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng #IMAGE_URLS+=",http://fedorapeople.org/groups/heat/prebuilt-jeos-images/F17-x86_64-cfntools.qcow2"   # Ceilometer - Metering Service (metering + alarming) #CEILOMETER_BACKEND=mysql #ENABLED_SERVICES+=,ceilometer-acompute,ceilometer-acentral,ceilometer-collector,ceilometer-api #ENABLED_SERVICES+=,ceilometer-alarm-notify,ceilometer-alarm-eval   # Apache fronted for WSGI APACHE_ENABLED_SERVICES+=keystone#,swift


聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.