本文采用VMware虚拟环境,使用CentOS 7.1作为openstack的基础环境. 一.基础平台 1.一台装有VMware的windows系统(可联网) 2.CentOS 7.1 64bit镜像 二.安装三台CentOS 7.1 的虚拟机controller.network.compute1,要求如下: 系统最小化安装.关闭iptables.selinux controller:内存1G.硬盘100G.CPU 1核.网卡1个 network:内存512M.硬盘50G.CPU 1核.网卡3个…
控制节点.网络节点.计算节点: 一.配置源 1.配置EPEL源 yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm 2.配置RDO源 yum install http://rdo.fedorapeople.org/openstack-kilo/rdo-release-kilo.rpm 3.升级系统源 yum upgrade #以下为经注释,均在控制节点操作 二.安装配置数据…
安装配置 Before you configure the OpenStack Identity service, you must create a database and an administration token. 一.创建keystone数据库并授权 1.登陆数据库 mysql -u root -p 2.创建数据库并授权 CREATE DATABASE keystone; GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'local…
安装配置 Before you install and configure the Image service, you must create a database, service credentials, and API endpoint. 一.创建glance数据库并授权 1.登陆数据库 mysql -u root -p 2.创建数据库并授权 CREATE DATABASE glance; GRANT ALL PRIVILEGES ON glance.* TO 'glance'@'loc…
控制节点 Before you configure the OpenStack Networking (neutron) service, you must create a database, service credentials, and API endpoint. 一.创建neutron数据库并授权 1.登陆数据库 mysql -u root -p 2.创建数据库并授权 CREATE DATABASE neutron; GRANT ALL PRIVILEGES ON neutron.*…
计算节点 To install and configure the Compute hypervisor components 1.Install the packages: yum install openstack-nova-compute sysfsutils 2.Edit the /etc/nova/nova.conf file and complete the following actions: In the [DEFAULT] and [oslo_messaging_rabbit]…
控制节点 Before you install and configure the Compute service, you must create a database, service credentials, and API endpoint. 一.创建nova数据库并授权 1.登陆数据库 mysql -u root -p 2.创建数据库并授权 CREATE DATABASE nova; GRANT ALL PRIVILEGES ON nova.* TO 'nova'@'localhost…
Create OpenStack client environment scripts To create the scripts Create client environment scripts for the admin and demo projects and users. Future portions of this guide reference these scripts to load appropriate credentials for client operations…
创建租间.用户.角色 一.To configure prerequisites 1.Configure the authentication token: export OS_TOKEN=ADMIN_TOKEN Replace ADMIN_TOKEN with the authentication token 2.Configure the endpoint URL: export OS_URL=http://controller:35357/v2.0 二.To create the servi…
0.安装常用软件包(根据个人习惯安装需要的软件包) [root@localhost ~]# yum -y install wget vim ntp net-tools tree openssh 1.配置域名解析 1)修改主机名 [root@localhost ~]# hostnamectl set-hostname controller 2)配置域名解析,修改/etc/hosts文件,进行本地解析 查看本机IP [root@controller ~]#ip add|sed -nr 's#^.*i…