, enter the ip address of the computing node.
SQL _connection: Enter the connection value in nova. conf.
Id set by node number
Configuration File
[kanyun]log: /var/log/kanyun/kanyun.log[DEFAULT]sql_connection: mysql://nova:novamysqlpassword@controller/nova[worker]id: worker1worker_timeout: 60dataserver_host: 172.19.9.1dataserver_port: 5551log: /var/log/kanyun/kanyun-worker.log[client]api_host: 172.19.9.1api_port: 5552log: /var/log/kanyun/kanyun-cli
I. Neutron environmentReference Document: Http://www.aboutyun.com/thread-13108-1-1.htmlHttp://docs.openstack.org/mitaka/install-guide-ubuntu/neutron-controller-install.html1. Create a neutron database and authorize
Create
mysql -u root -pCREATE DATABASE neutron;
Authorized
GRANT ALL PRIVILEGES ON neutron.* TO ‘neutron‘@‘localhost‘ IDENTIFIED BY ‘NEUTRON_PASS‘;GRANT ALL PRIVILEGES ON neutron.* TO ‘neutron‘@‘%‘ IDENTIFIED BY
A. Nova EnvironmentReference Document: Http://www.aboutyun.com/thread-13089-1-1.htmlHttp://docs.openstack.org/mitaka/install-guide-ubuntu/nova-controller-install.html1. Create a Nova database and authorize
Create
mysql -u root -pCREATE DATABASE nova;
Authorization (self-setting password, connect database with, my Nova)
GRANT ALL PRIVILEGES ON nova.* TO ‘nova‘@‘localhost‘ IDENTIFIED BY ‘NOVA_PASS‘;GRANT ALL PRIVILEGES ON nov
Introduction to 1.openstackOpenStack was developed by NASA and Rackspace in collaboration with Apache Licensing and is a free software and open source project.OpenStack is a project managed by a cloud platform and it is not a software. The project consists of several major components that are combined to accomplish some specific work. OpenStack is an open source project designed to provide software for the building and management of public and private
"5 minutes a day with OpenStack" is an OpenStack tutorial, this is the 1th article.This tutorial has the following two features:
system-guided OpenStack
re-practicing and balancing theory /ol>
Why do you write this?The simple answer is: because OpenStack learning is difficult, but if you k
the database, generally using MySQL. The database is installed on the control node. Nova uses a database named "Nova".650) this.width=650; "Title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160419-1461074293725058214.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160419-1461074293725058214.png "alt=" Image137.png "style=" border:0px; "/>Message QueueBefore we learned that Nova contains a multitude of sub-
Nova Physical Deployment ScenarioWe've seen that Nova is made up of a lot of sub-services, and we know that OpenStack is a distributed system that can be deployed to several nodes, and then you might ask: How do Nova's services physically be deployed?For Nova, these services are deployed on two types of nodes: compute nodes and control nodes. The Hypervisor is installed on the compute node, which runs the virtual machine. So: 1. Only nova-compute need
instance, assignIPaddress, configure access control, and more. ⑧ measurement (metering): Ceilometer . Like a funnel, you can put openstack Span style= "Font-size:7px;color: #333333;" Almost all of the events that occur inside are collected and then backed up for billing and monitoring and other services. ⑨ (Orchestration): Heat . Provides a collaborative deployment method defined by a template to implement the cloud infrastruct
://controller:9696 \ --Regionregionone NetworkTo install the Networking componentsYum Install whichTo configure the Networking server componentThe Networking server component configuration includes the database, authentication mechanism, message queue, Topology Cha Nge notifications, and plug-in.Edit the file and complete the /etc/neutron/neutron.conf following actions:[database]in the section, configure database access:= MySQL://neutron:[email Pro
Introduction to OpenStack extension topic in frontLearning Goals:
Learn about the automated deployment of OpenStack
Understand the issues that exist when Hadoop is cloud
Learn about Ceph and the application of Ceph in OpenStack
Learn about OpenStack and Docker
The contents of this note are:
); font-family: ' Microsoft Yahei '; Font-size:15px;line-height:21.75px;text-align:justify;white-space: Normal;background-color:rgb (246,246,246); "/>DatabaseThe metadata of the Image is persisted to the database and is MySQL by default. The database information for glance can be viewed on the control node650) this.width=650; "title=" "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160412-1460472068654035334.jpg "style=" Border:0p
650) this.width=650; "Title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160421-1461203186502053041.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160421-1461203230053069158.jpg "style=" border:0px;float:none; "/>Nova Physical Deployment ScenarioWe've seen that Nova is made up of a lot of sub-services, and we know that OpenStack is a distributed system that can be deployed to several nodes, and then you mig
Because the lab needs to add a compute node to the OpenStack cluster, the process of adding compute nodes is recorded here. The cluster is still using the FLATDHCP network approach.
The new node of the machine is still dual network card, here special attention, can not use an Ethernet card and a wireless card as a dual network card, because the wireless network card can not bridge to the bridge br100, or you will receive the following error: error:fai
: After you configure the environment variables, you can replace the previous long command. The Keystone service will automatically read the parameters of the environment variables.
If you encounter various problems when executing the Nova LIST Command, Please carefully check the configuration files such as Nova. conf and keystone. conf to check whether the user name, password, tenant, and roles are
The configuration is correct. If it still doesn't work, uninstall Nova and keystone and reinstall
(MARIADB)
Installation
apt-get install mariadb-server python-mysqldb
Modifying a configuration fileCreate the/etc/mysql/conf.d/mysqld_openstack.cnf file, edit the following (set the UTF8 format, and set the Controller node IP to enable access to other nodes through the management Network):
10.0.0.11default-storage-engine = innodbinnodb_file_per_tablecollation-server‘SET NAMES utf8‘character-set-server = utf8
To re
$IFACE promisc off
ifconfig $IFACE down
Compute nodes: Vim/etc/network/interface
Auto Eht0
iface eth0 inet static
address 10.0.0.31
netmask 255.255.255.0
Gateway 10.0.0.1
Dan-nameserver 8.8.8.8
Auto eth1
iface eth1 inet static
address 10.0.1.31
netmask 255.255.255.0
Edit each node (add the following):
Vim/etc/hosts
Controller 10.0.0.11
network 10.0.0.21
compute 10.0.0.31
Three machines ping each other to see if the ping's pass
Three. Environmental preparedness1. Installing Open
"5 minutes a day with OpenStack" is an OpenStack tutorial, this is the 1th article.This tutorial has the following two features:
The system explains OpenStackFrom the architecture to the individual components, from the whole to the detailed discussion
re-practice and take into account theoryMainly from the actual operation of the point of view with everyone learning
Build local base, Extra, Epel, OpenStack Source, OpenStack experiment, the necessary environment, so you can get rid of network restrictions, do not have to worry about how to use the Internet.Build local base, Extra, Epel, OpenStack sourceNeed to install HTTPD service(1), local base source, install the first disc [4G]Centos-6.5-x86_64-bin-dvd1.isomount/dev/cdrom
records of these 2 zombie instances. Log in to MySQL, use the Nova database, find the ID to remove instance, and then delete:# mysql-u Root-pEnter Password:Mysql> use Nova;Mysql> select * from instances;Mysql> Delete from instances where id = ' 29 ';ERROR 1451 (23000): Cannot delete or update a parent ROW:A FOREIGN KE
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.