Giter Club home page Giter Club logo

upgrade-openstack's Introduction

upgrade-openstack

http://docs.openstack.org/openstack-ops/content/upgrade-icehouse-juno.html

The following order for service upgrades seems the most successful:

1. Upgrade the OpenStack Identity Service (keystone).

2. Upgrade the OpenStack Image service (glance).

3. Upgrade OpenStack Compute (nova), including networking components.

4. Upgrade OpenStack Block Storage (cinder).

5. Upgrade the OpenStack dashboard.

The general upgrade process includes the following steps:

1. Create a backup of configuration files and databases.

2. Update the configuration files according to the release notes.

3. Upgrade the packages by using your distribution's package manager.

4. Stop services, update database schemas, and restart services.

5. Verify proper operation of your environment.

###check version sau khi update

apt-get install apt-show-versions

apt-show-versions neutron-plugin-ml2 neutron-plugin-openvswitch-agent neutron-l3-agent neutron-dhcp-agent

###I. Upgare toan bo node Controller

####1. Cách thức thực hiện

  • Dựng Controller mới theo script Juno, chú ý để IP khác IP của controller cũ, sử dụng hostname (controller, network,...) khi khai báo endpoint, database,... không sử dụng IP

  • Thực hiện backup cấu hình các thành phần trong Controller cũ, stop các dịch vụ, backup database

  • Chuyển dữ liệu bước bên trên sang Controller mới, chạy script

  • Sau khi thực hiện xong, đổi IP thành IP của controller cũ, shutdown controller cũ

####2. Các bước thực hiện (Upgare Controller từ IceHouse lên Juno)

  • Thực hiện các script trong juno-ubuntu14.04 cho Controller mới

  • Thực hiện script old_controller.sh trên Controller cũ

  • Thực hiện script new_controller.sh trên Controller mới, shutdown controller cũ, sau đó đổi IP thành Controller cũ

  • Restart nova-compute trên node Compute

NOTE: Sau khi Upgrade nếu gặp tình trạng khi tạo máy ảo mới mà trạng thái cứ hiện là spawning rất lâu, sau khoảng 5 phút thì báo lỗi thì sửa như sau:

  • Thêm vào [DEFAULT] section tại nova.conf trên compute node hai dòng:
vif_plugging_is_fatal: false
vif_plugging_timeout: 0

###II. Upgrade thanh phan

####1. Upgrade neutron tren node Network

apt-get -y install ubuntu-cloud-keyring
echo "deb http://ubuntu-cloud.archive.canonical.com/ubuntu" "trusty-updates/juno main" > /etc/apt/sources.list.d/cloudarchive-juno.list
apt-get update -y
apt-show-versions neutron-plugin-ml2 neutron-plugin-openvswitch-agent neutron-l3-agent neutron-dhcp-agent
apt-get -y install --only-upgrade neutron-plugin-ml2 neutron-plugin-openvswitch-agent neutron-l3-agent neutron-dhcp-agent
service openvswitch-switch restart
service neutron-plugin-openvswitch-agent restart
service neutron-l3-agent restart
service neutron-dhcp-agent restart
service neutron-metadata-agent restart

upgrade-openstack's People

Contributors

ducnc avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.