Alibabacloud.com offers a wide variety of articles about setup openstack on ubuntu, easily find your setup openstack on ubuntu information here online.
We are building a swift environment on our own these days. After reading some documents and combining my own practices, I wrote it down:
1. Physical Environment Description:
Linux: Ubuntu server 12.04 Proxy Server IP: 10.214.0.181storage server one: 10.214.0.179storage server two: 10.214.0.180storage server three: 10.214.0.182
2. important components:
Node: runs one or more object storage services.
Proxy node: Run proxy services
Auth node: Run auth
**** Ntpdate node1>/dev/null2>1;/sbin/clock-w>/dev/null2>1 " >>/var/spool/cron/root General process 1 for deploying OpenStack components. Create the DB2 for the component. Generate users and Endpoint3 in Keystone. Install the component installation package 4. Configure configuration file 5 for the component. Import Table 6. Start Installing Mysql=====================yum install mariadb-server configure MySQL master-slave ==================1. Configur
the installation can not use the default user name Ubuntu for landing, and can only use the key to log in, in order to later use SSH login, here we first create a key pair.Create a key pair, access security---key pairEnter the name of the key pair:Clicking the Create key pair will automatically pop up the download box to download:Well, after completing these preparations, we can begin to create an Ubuntu
Liberty and Mitaka version of the only role is the number
It is not used as a management of the Keystone module. I had a machine reboot during the OpenStack installation several times before Keystone synchronization
, the Keystone Service did not start up, resulting in a synchronization command error. So, putting this step in sync is the safest.
3. Configuring the Apache HTTP service
Apache2 has been installed, see the previous steps, there are only
configuration file (comment it out PremitRootLogin without_password so that the root user who has set the password cannot log in)vim /etc/ssh/sshd_config#PremitRootLogin without_passwordPremitRootLogin yesRestart the SSH serviceservice ssh restart2. Install the OpenStack package (per node)apt-get install ubuntu-cloud-keyring"deb http://ubuntu-cloud.archive.canon
$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
Steps for building OpenStack F Based on Ubuntu Server 12.04This article builds a dual-node architecture, which can be divided into computing (IP1) and control node (IP2)
Note:
Computing node components:
1. mysql
2. keystone
3. Nova
4. glance
5. rabbitmq
Control Node components:
1. cinder
2. dashboard
1. Modify the Host Name and static IP Address
1. vim/etc/hostnameXxctrl (Change xxctrl to the target name)
For questions about the choice of OpenStack version on Ubuntu, just look here.From 12.04 Lts, Ubuntu Cloud Archive allows users to install the updated OpenStack before the next lts version of Ubuntu is released. Take Ubuntu Server
=" Http://s5.51cto.com/wyfs02/M02/86/06/wKiom1eyxTrSc-zjAAAUG26_-bE735.png-wh_500x0-wm_3 -wmp_4-s_3997281321.png "title=" qq picture 20160816154657.png "alt=" Wkiom1eyxtrsc-zjaaaug26_-be735.png-wh_50 "/>Modify/ETC/MYSQL/MY.CNFin the [Mysqld] under Group modification:bind-address = Controllerin the [Mysqld] Group under Add:Default-storage-engine = InnoDBInnodb_file_per_tableCollation-server = Utf8_general_ciInit-connect = ' SET NAMES UTF8 'Character-set-server = UTF8To restart the database servic
OpenStack/devstack with Neutron on Ubuntu 14.04
Before installation, we recommend that you install a brand new Ubuntu Server 14.04. If you use the previous Ubuntu, you may encounter various python package dependencies and software version inconsistencies.
Prepare the environment, create a stack user, grant sudo permi
Ubuntu can use Apt-mirror to download Ubuntu source and OpenStack source.Install the download tool Apt-mirrorApt-get Install Apt-mirrorModifying the source configuration, using the Souhu sourceVi/etc/apt/mirror.listAdd the following content:#############config####################setbase_path/var/spool/ Apt-mirrorsetbase_path/home/
1. Create a 10GB size "hard disk" (Qcow2 format):A) sudo kvm-img create-f qcow2 ubuntu.img 10G2. Use Ubuntu's "Setup Disk" and the "hard drive" you just created to boot the system, for the sake of simplicity, use KVM virtual technology here. The-vnc parameter indicates that VNC access is turned on so that it can be installed remotely with another machine to the boot interface:A) sudo kvm-m 1024-cdrom ubuntu
This article describes the process of installing Mitaka Nova in Ubuntu 16.04 under a single point
Step 1:root identity into MySQL, create two databases
CREATE DATABASE Nova_api;
CREATE DATABASE Nova;
Step 2: Still in the database, create a Nova user and give permissions, the following command to set a consistent Nova_dbpass value, and then quit MySQL
GRANT all privileges on nova_api.* to ' nova ' @ ' localhost ' identified by ' nova_dbpass ';
GRANT al
/raring-backports main restricted universe multiverseNote: The W:unknown multi-arch type ' no ' for package ' Compiz-core ' indicates that the Ubuntu version does not match the APT version, so upgrade the apt version.Install -F APTTo configure a DNS server:vi /etc/8.8. 8.8 8.8. 4.4Update the software source and software:apt-get updateapt-get upgrade2. Configure the network interface:vim/etc/network/192.168. 213.131 255.255. 255.0 192.168. 213.2 DNS
/archive.ubuntu.com,g//Replace with local sourceand comment out all the security.ubuntu.com related optionsYou can add a MongoDB sourceDeb Http://192.168.1.108/downloads-distro.mongodb.org/repo/ubuntu-upstart Dist 10genNetwork Update Source:#vim/etc/apt/sources.list:%s,us.archive.ubuntu.com,cn.archive.ubuntu.com,gComment out Zib#apt-get UpdateCopy openstack-ubuntu
In order to enable the openstack colleagues to quickly install and deploy openstack Essex, vpsee completed the onestack project in July 2 and can easily install and deploy openstack Essex on Ubuntu.
The following are the related connections and details:
Onestack: Ubuntu 12
single point of installation, as long as the controller is on the line.
3. Clock synchronization, One-in-all installation mode, because all components are installed on a machine, time synchronization is not so important, this step feel can skip
Action 3.1: Execute the installation command Apt-get install Chrony
Action 3.2: Edit the/etc/chrony/chrony.conf, add the following sentence in any position of the parameter settings, I set the Shanghai Jiaotong University's NTP server address
Action 3.
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.