In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article analyzes "how to deploy Mirantis OpenStack fuel physical machines". The content is detailed and easy to understand. Friends who are interested in "how to deploy Mirantis OpenStack fuel physical machines" can follow the editor's idea to read it slowly and deeply. I hope it will be helpful to you after reading. Let's follow the editor to learn more about "how to deploy Mirantis OpenStack fuel physical machines".
Using fuel 5.1 to deploy openstack HA storage using ceph on the machine
I just started to contact openstack, is not very familiar with everything, at the beginning is to use rdo to quickly deploy single-node openstack, and then manually installed the openstack, is to install the document to type the command, some places do not understand, very troublesome, not to mention the deployment of a multi-node openstack HA high availability environment, fortunately, mirantis openstack out of the Fuel this tool, you can quickly deploy a set of openstack. In addition to the rapid deployment of openstack HA high availability on vmware workstation 10 using fuel5.0 before use, it felt good, and an openstack HA high availability environment was quickly installed.
Recently, I saw the release of version 5.1. After looking at the relevant documentation, let's deploy an openstack HA environment in the real physical environment, using ceph as unified storage and adding two additional storage nodes.
1. About mirantis
Mirantis, a powerful openstack services integrator, is the only company in the top five community contributions that relies on software and services for a living (the others are Red Hat, HP, IBM,Rackspace). Compared to several other community distributions, Fuel's version is fast-paced, providing a relatively stable community version every two months on average.
2. About FUEL
Fuel is a tool designed for openstack end-to-end "one-click deployment". Its functions include automatic PXE operating system installation, DHCP services, Orchestration services and puppet configuration management related services, as well as openstack key business health check and log real-time viewing and other very useful services.
FUEL5.1 is based on the icehouse version of openstack, where the system is centos6.5 and Ubuntu12.04.4.
The advantages of Fuel are as follows:
Automatic discovery and pre-verification of nodes
Simple and fast configuration
Supports multiple operating systems and distributions, and supports HA deployment
Provide external API to manage and configure the environment, such as dynamically adding compute / storage nodes
Bring your own health examination tools
Neutron is supported. For example, both GRE and namespace are available. Which physical network card can be configured in the subnet, etc.
Architecture of Fuel
3. Environmental topology diagram
But at the time of deployment, because it is a test environment, the network card is limited to two network cards per server, so only two switches are used, the switches are DELL PowerConnect 5448 and DELL PowerConnect 5448.
4. Switch configuration
Configure the required VLAN (the VLAN used here are 101,102), and turn on flow control (flowcontrol) on the switch port. All switches, including Private, Management, and Storage networks, need to allow the required VLAN to be configured in trunk mode on the using port, and to allow VLAN. The configuration is as follows (other switch devices may be configured differently)
Switch > enable
Switch # configure
Switch (config) # vlandatabase
Switch (config) # vlan 101102
Switch (config) # interfacerange ethernet all
Switch (config) # switchportmode trunk
Switch (config) # switchporttrunk allowed vlan add all
If the switch is not configured, there will be problems during fuel network verification. Because the VLAN tag is used.
5. Install fuel master
This is a simple installation system in the configuration, as shown in the following figure to enter the installation welcome interface, press the prompt to press the "Tab" key to modify ip information, you can also modify showmenu=no to showmenu=yes, and then enter to enter the detailed configuration interface, here is to use the default installation, directly enter to complete the installation in one step.
The interface after installation is shown in the following figure
The interface prompts the root user's login password, as well as the fuel web login method, as well as the user name and password. The web login interface is as follows
6. Deployment process
6.1 create a new openstack environment
Log in with the user name admin and password admin, as shown below.
Click "New openstack Environment" to start building the openstack environment, and click "forward" to proceed to the next step.
Enter the openstack environment car, select the openstack version, here is to select the system, because the openstack version is fixed to the icehouse version, click "forward" to proceed to the next step.
Select the deployment mode of the environment. There are two modes: HA multi-node and openstack multi-node. HA multi-node needs at least 3 control nodes to deploy. Select "HA multi-node" here, and click "forward" to proceed to the next step.
Because the environment is deployed on a physical machine, select KVM, select QEMU if you are on a virtual machine, and select vCenter if you are using a vCenter environment, and click "forward" to proceed to the next step
Select the GRE network mode here and click "forward" to proceed to the next step.
Select "ceph" for backend storage. Note here that when you select this option, you need two or more other nodes as storage nodes. Click "forward" to proceed to the next step.
Additional services, do not choose to use here, click "forward" to proceed to the next step
Click "New" to complete the establishment of the openstack environment.
6.2 Discovery nodes
Two network cards are used in this test environment, but preferably three, and you must have the PXE function, start the server's "virtual technology" function in BIOS, and set it to boot from the pxe network.
Enter the interface after starting from pxe. By default, you will automatically enter bootstrap to start. When bootstrap login appears in the screen, fuel web will find this node.
When Fuel web discovers the node, the prompt is as follows
After finding the node, the next step is to add the node, enter the newly created openstack environment, click "add Node" in the upper right corner, and then check the "controller" role. before selecting the server in this role, it is recommended that you remember the MAC address of the network card of such a server, because there is no way to determine which server is, or you can handle it this way, when you select a control node. Is to open at least three servers to be the control node to boot from the network PXE, and then add the node after the completion of the selection of the compute node or storage node server
After adding the nodes, as shown in the following figure, but the status is "waiting to be added", and the following figure is deployed
6.3 deployment and configuration
Check a server for disk configuration and network configuration
As follows, disk configuration, default is used here
Use the network configuration as follows, and change it as follows
Next, enter the entire network configuration, click "Network", and set it as shown in the figure.
Finally, verify the network. If the switch is not configured properly, an error will be prompted here. If the deployment is forced, the deployment process may produce an error.
Click "Settings" to set openstack and save settings. Others remain default.
Storage using ceph
After all settings are completed, click "deploy changes" to start the deployment.
After the deployment is completed, you will be prompted for web login information as follows
On how to deploy the Mirantis OpenStack fuel physical machine to share here, I hope that the above content can make you improve. If you want to learn more knowledge, please pay more attention to the editor's updates. Thank you for following the website!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.