文档详情

openstack第七版本.doc

发布:2017-12-10约1.42万字共19页下载文档
文本预览下载声明
Table of Contents What is it? 1. Requirements 2. Preparing your node 3. Keystone 4. Glance 5. Quantum 6. Nova 7. Cinder 8. Horizon 9. Your first VM 1. Requirements Node Role: NICs Single Node: eth0 (1), eth1 (1) 2. Preparing your node 2.1. Preparing Ubuntu * After you install Ubuntu 12.04 Server 64bits, Go in sudo mode and dont leave it until the end of this guide: * sudo -i * Add Grizzly repositories: apt-get install ubuntu-cloud-keyring python-software-properties software-properties-common python-keyring echo deb /ubuntu precise-updates/grizzly main /etc/apt/sources.list.d/grizzly.list *Update your system: apt-get update apt-get upgrade apt-get dist-upgrade 2.2.Networking *Only one NIC should have an internet access (/etc/network/interfaces) #For Exposing OpenStack API over the internet auto eth1 iface eth1 inet static address 1 netmask gateway dns-nameservers #Not internet connected(used for OpenStack management) auto eth0 iface eth0 inet static address 1 netmask *Restart the networking service: service networking restart 2.3. MySQL RabbitMQ *Install MySQL and specify a password for the root user: apt-get install -y mysql-server python-mysqldb Configure mysql to accept all incoming requests: *sed -i s///g /etc/mysql/f service mysql restart * Install RabbitMQ: apt-get install -y rabbitmq-server * Install NTP service: apt-get install -y ntp 2.5. Others *Install other services: apt-get install -y vlan bridge-utils *Enable IP_Forwarding: sed -i s/#net.ipv4.ip_forward=1/net.ipv4.ip_forward=1/ /etc/sysctl.conf # To save you from rebooting, perform the following sysctl net.ipv4.ip_forward=1 3. Keystone * Start by the keystone packages: apt-get install -y keystone * Verify your keystone is running: service keystone status * Create a new MySQL database for keystone: mysql -u root -p CREATE DATABASE keystone; GRANT ALL ON keystone.* TO keystoneUser@% IDENTIFIED BY keystonePass; quit; * Adapt the connection attribute in the /etc/keystone/keystone.conf to the new
显示全部
相似文档