Introduction to Openstack Day1 and virtual environment setup

Source: Internet
Author: User
Tags virtual environment

This article only as the author of the Archive memory! Do not expand the content in detail! Introduction to OpenStack Kilo version important components (module)=======================================keystone:identity Service provides global identity authentication servicesHorizon:dashboard provides dashboard services (unified management Interface)Nova:compute Compute Services, install the service on each compute nodeswift/ceph:object Storage Object Storage Servicecinder:block Storage block Storage Serviceheat:orchastration Automation Services, integrated confluenceGlance:image Service provides image management Servicesneutron:netwroking provides network servicestrove:database Service provides database servicessahara:data Processing Service provides data processing servicesCelimetor:telemetry Telemetry, providing billing servicesConfigure Trust relationships================================Ssh-keygen-t rsassh-copy-id-i/root/.ssh/id_rsa 192.168.20.207 Configuring the Yum source============================Vi/etc/yum.repos.d/os-kilo.repo writes the following line within the file [Centos-7.1-base]
Name=centos-7.1-base
Baseurl=http://172.16.0.87:8080/centos-7.1-base
Priority=1
Enabled=1
Gpgcheck=0
[Os-kilo]
Name=os-kilo
Baseurl=http://172.16.0.87:8080/os-kilo
Priority=1
Enabled=1
Gpgcheck=0 Configure local DNS files====================vi/etc/hostsAdd the following line192.168.20.207 os-node1192.168.20.207 Os-node2 Change machine name====================Vi/etc/hostnameAdd the following lineOs-node1 time synchronization to an existing NTP server 192.168.20.68
===========================Yum install -y ntpntpdate 192.168.20.68  Configuring an NTP server =======================//  Edit the NTP configuration file vi /etc/ntp.conf//screen out the following lines #server 0.centos.pool.ntp.org iburst       #server  1.centos.pool.ntp.org iburst#server 2.centos.pool.ntp.org iburst       #server  3.centos.pool.ntp.org iburst//  Add the following two lines at the bottom (NTP server synchronizes local time) server  127.127.1.0     fudge 127.127.1.0 stratum 10//start the NTP server and complete the boot   systemctl enable ntpd.servicesystemctl start ntpdntpq -p   Configuring NTP Client ========= =============ntpdate 192.168.20.118 echo  "*/30 * * * *    Ntpdate node1 >/dev/null 2>&1;/sbin/clock -w >/dev/null 2>&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. Configure the/etc/my.cnf file VI on the master and slave two MySQL Etc/my.cnf
Character-set-server = UTF8
Init-connect = ' SET NAMES UTF8 '
Collation-server = ' Utf8_general_ci '
innodb_file_per_table = 1 (Open Storage Engine standalone table space)
Default-storage-engine = InnoDB
Bind-address = 192.168.20.251 (indicates which machine can be connected to MySQL) 2. Turn on MySQL service on two MySQL systemctl enable mariadb.servicesystemctl start Mariadb.service2. Create MySQL user repl on master, user password is repl4slave, user can log in from any host mysqlgrant all privileges on *. * to [email    Protected] '% ' identified by ' repl4slave '; 3. Restart the MySQL service on master to make the change effective systemctl restart MARIADB.SERVIC3. Test whether slave can connect mastermysql-h 192.168.20.251-u repl- Prepl4slave4. Configure slave to sync with master change master to master_host= ' 192.168.20.152 ', master_user= ' repl ', master_password= ' Repl4slave ',        Master_log_file= ' mysql-bin.000001 ', master_log_pos=245;5. Open slave Service, display slave status start slave; Show Slave Status\g

Introduction to Openstack Day1 and virtual environment setup

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.