Offline Rapid deployment Mirantis Openstack 9.0

Source: Internet
Author: User


Mirantis Openstack 9.0 is referred to as MOS 9.0. It is the Mirantis company developed OpenStack Automation Installation tool, this tool also has a special name, called Fuel .


There is no need to update Ubuntu and MOS packages when installing offline, i.e. no internet connection is 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; "src=" Http://s3.51cto.com/wyfs02/M00/8B/B1/wKiom1hVHqXBAlNHAADg_j5oRMA330.png "/>


Physical Switch Configuration:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/8B/AE/wKioL1hVHqaAYnyMAAOIVhfmOUg170.png "/>




First, install the fuel

The specific process does not repeat (if necessary, refer to http://11889773.blog.51cto.com/11879773/1829058), note the following points:

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

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/8B/AE/wKioL1hVHqfiv4CTAABlPbvHJWs167.png "/>

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


Second, import the local source


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

      Add the contents of the blue box.


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

    2. 650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/8B/AE/wKioL1hVHqrBtsaEAACG-CIv-ws350.png "/>

    3. To create an image online:

      Fuel-bootstrap Build--activate

    4. Upload the extracted local source to/var/www/nailgun using the FTP tool

    5. 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

      650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/8B/B1/wKiom1hVHqjyhZuzAAEgjwJ1Cx0930.png "/>


      Setting->general can see that the source has been updated to the local IP address

      650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/8B/B1/wKiom1hVHqnRRC4wAAHqv0_K_1o466.png "/>

    6. Offline generation of bootstrap images for PXE boot


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


Three. Configure the network

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

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/8B/B1/wKiom1hVHqvA8l_rAAFM6HvvNEY986.png "/>

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/8B/B1/wKiom1hVIhvx-Zc8AAAw7j4nOx0151.png-wh_500x0-wm_3 -wmp_4-s_1790581005.png "title=" Float.png "alt=" Wkiom1hvihvx-zc8aaaw7j4nox0151.png-wh_50 "/>

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

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/8B/AE/wKioL1hVHqvzw9hQAAASCNTmEjE170.png "/>

IV. Configuration Node

To add a node:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/8B/B1/wKiom1hVHqyDB6hmAABNQMhz9YU861.png "/>


To configure the interface:


650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/8B/B2/wKiom1hVIpTyZfG0AAB9Ka0nLCE162.png-wh_500x0-wm_3 -wmp_4-s_108240.png "title=" Intf.png "alt=" Wkiom1hviptyzfg0aab9ka0nlce162.png-wh_50 "/>


Network connectivity Check


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/8B/B1/wKiom1hVHq3CbY9wAABxVQ1m9_Q133.png "/>



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


There are 2 solutions:


      1. In addition, an NTP server is built in the network

        fuel node modified/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. After the error, modify the sync_time_command.sh script, comment out the other content, manually enter exit 0

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/8B/B1/wKiom1hVHq-zcbmtAABu5-DCo68749.png "/>

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

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/8B/AE/wKioL1hVHq-juQcHAABgoQrKVJ4517.png "/>




The following are the tips for successful installation:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/8B/AE/wKioL1hVHq-SHEAXAABEHRHxivk128.png "/>


Click Horizon to enter OpenStack

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/8B/B1/wKiom1hVH2iT4E5VAAMpG4FT0jE790.png-wh_500x0-wm_3 -wmp_4-s_4056058505.png "title=" Sogou 20161217191937.png "alt=" Wkiom1hvh2it4e5vaampg4ft0je790.png-wh_50 "/>


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

Offline Rapid deployment Mirantis Openstack 9.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.