Offline Rapid deployment Mirantis Openstack 9.0.0

Source: Internet
Author: User

Mirantis Openstack 9.0 is referred to as MOS 9.0. Itis aMirantisCompany DevelopmentOpenStackAutomated installation Tools, this tool also has a special name, calledFuel.

no need to update Ubuntu when installing offline and MoS The Internet connection is not required. It can be deployed faster than online installation with the same network bandwidth. If you have bad luck, you may encounter a fatal bug with an online installation, which can cause installation to fail, such as https://bugs.launchpad.net/fuel/+bug/1648732.

This guide is installed using a July 2016 offline source. No Internet connection is required throughout the installation. Make sure the fuel node pings the extranet before installing.

Preparatory work:

Download MOS9.0 local source and unzip: Http://pan.baidu.com/s/1gfe69iV Password: B2M5

Go to mirantis website to download mos9.0:www.mirantis.com/software/openstack/download/

Hardware Resources:

A total of three servers, respectively do Fue,controller,compute.

Each node can be installed on a physical or virtual machine, and the three servers are connected to the same physical switch.

The minimum resource requirements for each node are:

Minimum memory allocation 16GB

CPU Core is assigned a minimum of 4

HDD min. GB

Minimum of 2 Ethernet ports

The physical network topology for this experiment:

650) this.width=650; "Style=" background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px ;p adding-right:0px;border-top:0px;border-right:0px;padding-top:0px; "title=" clip_image002 "border=" 0 "alt=" clip_ image002 "src=" http://s3.51cto.com/wyfs02/M02/8B/B2/wKiom1hVJKnAz8P6AAAkwYOspqQ593.jpg "height=" 144 "/>

Physical Switch Configuration:

650) this.width=650; "Style=" background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px ;p adding-right:0px;border-top:0px;border-right:0px;padding-top:0px; "title=" clip_image004 "border=" 0 "alt=" clip_ image004 "src=" http://s3.51cto.com/wyfs02/M02/8B/AE/wKioL1hVJKuhUoSpAAA-p7hklgA428.jpg "height="/>

First, install the fuel

The concrete process does not repeat, pay attention to the following points:

In the installation screen, uncheck the Generate Build bootstrap now option

650) this.width=650; "Style=" background-image:none;border-bottom:0px;border-left:0px;padding-left:0px; padding-right:0px;border-top:0px;border-right:0px;padding-top:0px; "title=" clip_image006 "border=" 0 "alt=" clip_ image006 "src=" Http://s3.51cto.com/wyfs02/M00/8B/B2/wKiom1hVJKzTn_Q2AAAeHcire4g023.jpg "height=" 101 "/>

The PXE gateway is x.x.x.1, ensuring that the first IP address for the network segment

Second, import the local source

A) upload the extracted local source to/var/www/nailgun using the FTP tool

b) Execute fuel-createmirror in this directory, ignoring intermediate process error. The last few lines show a successful prompt:

Try to update Therelease ' Mitaka on Ubuntu 14.04 '

Try to update Therelease ' Mitaka on Ubuntu+uca 14.04 '

Operations have been completed successfully

Login fuel interface, setting->general can see the source has been updated to the local IP address

650) this.width=650; "Style=" background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px ;p adding-right:0px;border-top:0px;border-right:0px;padding-top:0px; "title=" clip_image008 "border=" 0 "alt=" clip_ image008 "src=" http://s3.51cto.com/wyfs02/M02/8B/AE/wKioL1hVJK3RN1LvAAAvpSs_tGE584.jpg "height=" 163 "/>

c) offline generation of bootstrap images for PXE boot

I. Make changes after backing up/etc/fuel-bootstrap-cli/fuel_bootstrap_cli.yaml

Add the contents of the blue box.

650) this.width=650; "Style=" background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px ;p adding-right:0px;border-top:0px;border-right:0px;padding-top:0px; "title=" clip_image010 "border=" 0 "alt=" clip_ image010 "src=" http://s3.51cto.com/wyfs02/M00/8B/AE/wKioL1hVJK7AYSJoAAAlt4yXqXw802.jpg "height=" "/>"

Auxiliary points to this directory has a lot of local source package, here is missing auxiliary, affect bootstrap image generation.

II. Create an image online:

Fuel-bootstrap Build--activate

III. Restart the client and select PXE boot. In about 7 minutes, you can see them in the fuel web interface.

Third, configure the network

Configure your network according to your own planning. The following is a sample configuration only

650) this.width=650; "Style=" background-image:none;border-bottom:0px;border-left:0px;padding-left:0px; padding-right:0px;border-top:0px;border-right:0px;padding-top:0px; "title=" clip_image012 "border=" 0 "alt=" clip_ image012 "src=" http://s3.51cto.com/wyfs02/M01/8B/AE/wKioL1hVJK6Ceea8AAAvtj-R8Qg908.jpg "height=" 244 "/>

650) this.width=650; "Style=" background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px ;p adding-right:0px;border-top:0px;border-right:0px;padding-top:0px; "title=" clip_image014 "border=" 0 "alt=" clip_ image014 "src=" http://s3.51cto.com/wyfs02/M00/8B/AE/wKioL1hVJK-wEM09AAAT3pKW1Hc072.jpg "height=" "/>

The NTP server is set to the IP address of fuel:

650) this.width=650; "Style=" background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px ;p adding-right:0px;border-top:0px;border-right:0px;padding-top:0px; "title=" clip_image016 "border=" 0 "alt=" clip_ image016 "src=" http://s3.51cto.com/wyfs02/M00/8B/B2/wKiom1hVJLDzRGVgAAAOiaBcqdI955.jpg "height="/>

IV. Configuration Node

To add a node:

650) this.width=650; "Style=" background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px ;p adding-right:0px;border-top:0px;border-right:0px;padding-top:0px; "title=" clip_image018 "border=" 0 "alt=" clip_ image018 "src=" http://s3.51cto.com/wyfs02/M01/8B/AE/wKioL1hVJLOhRjOVAAAevDflkCE132.jpg "height=" "/>

To configure the interface:

650) this.width=650; "Style=" background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px ;p adding-right:0px;border-top:0px;border-right:0px;padding-top:0px; "title=" clip_image020 "border=" 0 "alt=" clip_ image020 "src=" http://s3.51cto.com/wyfs02/M02/8B/AE/wKioL1hVJLTjEbh6AAAeK5Ww3vA234.jpg "height="/>

Iv. Network Connectivity Check

650) this.width=650; "Style=" background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px ;p adding-right:0px;border-top:0px;border-right:0px;padding-top:0px; "title=" clip_image022 "border=" 0 "alt=" clip_ image022 "src=" http://s3.51cto.com/wyfs02/M00/8B/B2/wKiom1hVJLWDKbSeAAAhC3P1860461.jpg "height=" 158 "/>

V. Deployment environment

Click the "Deploy" button on the console to start the installation

Due to the use of offline installation, unable to utilize the public network NTP server School, the installation process will be reported to the NTP problem similar error:

(/stage[main]/main/exec[sync_time_shell]/returns) failed:/bin/bash "/etc/puppet/shell_manifests/sync_time_ Command.sh "Excuted failed

Workaround:

1) An additional NTP server is built into the network, such as on fuel

Fuel Node Modification/etc/ntp.conf

Restrict 4.0.0.0 mask 255.255.255.0 nomodify # Local network segment Authorized access

Server 192.168.200.X iburst Minpoll 3 Maxpoll 9

Controller,compute Node Modification/etc/ntp.conf

Server 4.0.0.1 iburst Minpoll 3

2) Modify the sync_time_command.sh script, comment out other content, enter exit 0 manually

This skips the NTP checksum.

650) this.width=650; "Style=" background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px ;p adding-right:0px;border-top:0px;border-right:0px;padding-top:0px; "title=" clip_image024 "border=" 0 "alt=" clip_ image024 "src=" http://s3.51cto.com/wyfs02/M01/8B/AE/wKioL1hVJLbSPVEGAAAWGwIxGjU909.jpg "height="/>

Click on the "Deploy changes" button to proceed with the installation.

650) this.width=650; "Style=" background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px ;p adding-right:0px;border-top:0px;border-right:0px;padding-top:0px; "title=" clip_image026 "border=" 0 "alt=" clip_ image026 "src=" http://s3.51cto.com/wyfs02/M00/8B/AE/wKioL1hVJLbT2evLAAAP-8-Upss609.jpg "height="/>

The following are the tips for successful installation:

650) this.width=650; "Style=" background-image:none;border-bottom:0px;border-left:0px;padding-left:0px; padding-right:0px;border-top:0px;border-right:0px;padding-top:0px; "title=" clip_image028 "border=" 0 "alt=" clip_ image028 "src=" http://s3.51cto.com/wyfs02/M01/8B/B2/wKiom1hVJLehjVxXAAAYURTYrc8676.jpg "height=" 94 "/>

Click Horizon to enter OpenStack

This article is from the "IPV6RFC" blog, make sure to keep this source http://internetpro6.blog.51cto.com/4313156/1883629

Offline Rapid deployment Mirantis Openstack 9.0.0

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.