You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 16, 2021. It is now read-only.
IP address: 10.0.0.11
Network mask: 255.255.255.0 (or /24)
Default gateway: 10.0.0.1
set hostname of the node to controller
edit /etc/hosts file to resolve controller, network & compute address
remove the 127.0.0.1 line
Networking at network
configure 1st interface as management interface
configure 2nd interface as instance tunnels interface
configure 3rd interface as the external interface
external interface does not need an IP address configured
replace INTERFACE_NAME with actual interface name e.g. eth2
edit /etc/network/interfaces
# The external network interface
auto INTERFACE_NAME
iface INTERFACE_NAME inet manual
up ip link set dev $IFACE up
down ip link set dev $IFACE down
restart network
- service networking stop && service networking start
name resolution @ /etc/hosts
remove 127.0.0.1 line entry
Networking at compute
configure 1st interface as management interface
configure 2nd interface as instance tunnels interface
- @ controller # apt-get install ntp
- configure the other nodes to sync from controller node
- install the ntp daemon as above
- edit /etc/ntp.conf
- change server directive to use controller node
Controller & mysql
- apt-get install python-mysqldb mysql-server
- remember the db root password
edit /etc/mysql/my.cnf
- [mysqld]
bind-address = management IP of controller node
- bind-address enables access to mysql from other nodes via management network
default install creates guest for username & password
replace with a suitable password
mention the password in .conf files for all services
- rabbitmqctl change_password guest <RABBIT_PASS>
Install identity service
- apt-get install keystone
update the MySQL database info at conf files
edit /etc/keystone/keystone.conf
[database]
connection = mysql://keystone:<KEYSTONE_DB_PASS>@controller/keystone
- provide a suitable password for keystone user
delete the default SQLite database which comes during Ubuntu installation
- rm /var/lib/keystone/keystone.db
create a keystone database user
- mysql -u root -p
- CREATE DATABASE keystone;
- GRANT ALL PRIVILEDGES ON keystone.* TO 'keystone'@'localhost' \
IDENTIFIED BY 'KEYSTONE_DBPASS';
- GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' \
IDENTIFIED BY 'KEYSTONE_DBPASS';
Start
Networking at controller
Networking at network
Networking at compute
Verify networking connectivity
Synchronize services across multiple machines
Controller & mysql
Other nodes & mysql
OpenStack packages
Install message broker service
Install identity service