1)
Chapter 1. Architecture
##################
http://docs.openstack.org/icehouse/install-guide/install/apt/content/ch_overview.html
a)
Three-node architecture with OpenStack Networking (neutron)
http://docs.openstack.org/icehouse/install-guide/install/apt/content/ch_overview.html#example-architecture-with-neutron-networking
b)When you implement Three-node architecture, skip the section called “Legacy networking (nova-network)” in Chapter 7, Add a networking service.
http://docs.openstack.org/icehouse/install-guide/install/apt/content/section_nova-networking.html
http://docs.openstack.org/icehouse/install-guide/install/apt/content/ch_networking.html
2)
Chapter 2. Basic environment configuration
#################################
http://docs.openstack.org/icehouse/install-guide/install/apt/content/ch_basics.html
* If you choose to install on VMs (Three-nodes setup in 3 VMs),
make sure your hypervisor permits promiscuous mode on the external network. <===IMP
A)
Networking
--------------------
http://docs.openstack.org/icehouse/install-guide/install/apt/content/basics-networking.html
* After installing the operating system on each node for the architecture that you choose to deploy, you must configure the network interfaces. We recommend that you disable any automated network management tools and manually edit the appropriate configuration files for your distribution.
B)
OpenStack Networking (neutron)
----------------------------------------------
http://docs.openstack.org/icehouse/install-guide/install/apt/content/basics-networking-neutron.html
* First Check the figure : http://docs.openstack.org/icehouse/install-guide/install/apt/content/figures/1/figures/installguide_arch-neutron.png
*
management network: A network segment used for administration, not accessible to the public Internet.
instance tunnels network: A network segment used for instance traffic tunnels between compute nodes and the network node.
external network: A network segment typically used for instance Internet access.
* The example architecture with OpenStack Networking (neutron) requires one controller node, one network node, and at least one compute node. The controller node contains one network interface on the management network. The network node contains one network interface on the management network, one on the instance tunnels network, and one on the external network. The compute node contains one network interface on the management network and one on the instance tunnels network.
* Also, each node must resolve the other nodes by name in addition to IP address. For example, the controller name must resolve to 192.168.122.22, the IP address of the management interface on the 'controller node'.
b1)
How to configure networking on your distribution
https://help.ubuntu.com/lts/serverguide/network-configuration.html
b2)
Controller Node Networking
--------------------------------------
http://docs.openstack.org/icehouse/install-guide/install/apt/content/basics-neutron-networking-controller-node.html
b2, a)
* Configure management interface
#sudo vim /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.122.22
netmask 255.255.255.0
gateway 192.168.122.1
b2, b)
* configure name resolution
#sudo vim /etc/hosts
#127.0.1.1 opshost
# controller
192.168.122.22 controller
# network
192.168.122.33 network
# compute1
192.168.122.44 compute1
b2, c)
#reboot
b3)
Network Node Networking
-------------------------------------
http://docs.openstack.org/icehouse/install-guide/install/apt/content/basics-neutron-networking-network-node.html
b3, a)
* Configure management interface
#sudo vim /etc/network/interfaces
##SM:Management interface
auto eth0
iface eth0 inet static
address 192.168.122.33
netmask 255.255.255.0
gateway 192.168.122.1
##SM:Instance Tunnels interface
auto eth1
iface eth1 inet static
address 192.168.123.33
netmask 255.255.255.0
gateway 192.168.123.1
##SM:The external network interface
auto eth2
iface eth2 inet manual
up ip link set dev $IFACE up
down ip link set dev $IFACE down
b3, b)
* configure name resolution
#sudo vim /etc/hosts
#127.0.1.1 opshost
# controller
192.168.122.22 controller
# network
192.168.122.33 network
# compute1
192.168.122.44 compute1
b3, c)
#reboot
b4)
Compute Node1 Networking
-------------------------------------
http://docs.openstack.org/icehouse/install-guide/install/apt/content/basics-neutron-networking-compute-node.html
b4, a)
* Configure management interface
#sudo vim /etc/network/interfaces
##SM:Management interface
auto eth0
iface eth0 inet static
address 192.168.122.44
netmask 255.255.255.0
gateway 192.168.122.1
##SM:Instance Tunnels interface
auto eth1
iface eth1 inet static
address 192.168.123.44
netmask 255.255.255.0
gateway 192.168.123.1
b4, b)
* configure name resolution
#sudo vim /etc/hosts
#127.0.1.1 opshost
# controller
192.168.122.22 controller
# network
192.168.122.33 network
# compute1
192.168.122.44 compute1
b4, c)
#reboot
b5)
Verify connectivity
----------------------------
http://docs.openstack.org/icehouse/install-guide/install/apt/content/basics-neutron-networking-verify.html
b5, a)
From Controller node
------------------------------------
b5, b)
From Network node
------------------------------------
b5, c)
From Compute node
------------------------------------
b6)
After this configuration (network node networking) , I could not able to connect to Internet from "network node" 192.168.122.33.
Issue
------
Default Gateway was "192.128.123.1"
Fix
-----
Set default Gateway to "192.128.122.1"
b6, a)
* Why we need to set default gateway to 192.168.122.1 ??
Output of #ifconfig from Host machine
virbr0 : inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255:255:255:0
*We should set IP of virbr0 as default gateway, since that is the only way from VM to outside via host.
Chapter 1. Architecture
##################
http://docs.openstack.org/icehouse/install-guide/install/apt/content/ch_overview.html
a)
Three-node architecture with OpenStack Networking (neutron)
http://docs.openstack.org/icehouse/install-guide/install/apt/content/ch_overview.html#example-architecture-with-neutron-networking
b)When you implement Three-node architecture, skip the section called “Legacy networking (nova-network)” in Chapter 7, Add a networking service.
http://docs.openstack.org/icehouse/install-guide/install/apt/content/section_nova-networking.html
http://docs.openstack.org/icehouse/install-guide/install/apt/content/ch_networking.html
2)
Chapter 2. Basic environment configuration
#################################
http://docs.openstack.org/icehouse/install-guide/install/apt/content/ch_basics.html
* If you choose to install on VMs (Three-nodes setup in 3 VMs),
make sure your hypervisor permits promiscuous mode on the external network. <===IMP
A)
Networking
--------------------
http://docs.openstack.org/icehouse/install-guide/install/apt/content/basics-networking.html
* After installing the operating system on each node for the architecture that you choose to deploy, you must configure the network interfaces. We recommend that you disable any automated network management tools and manually edit the appropriate configuration files for your distribution.
B)
OpenStack Networking (neutron)
----------------------------------------------
http://docs.openstack.org/icehouse/install-guide/install/apt/content/basics-networking-neutron.html
* First Check the figure : http://docs.openstack.org/icehouse/install-guide/install/apt/content/figures/1/figures/installguide_arch-neutron.png
*
management network: A network segment used for administration, not accessible to the public Internet.
instance tunnels network: A network segment used for instance traffic tunnels between compute nodes and the network node.
external network: A network segment typically used for instance Internet access.
* The example architecture with OpenStack Networking (neutron) requires one controller node, one network node, and at least one compute node. The controller node contains one network interface on the management network. The network node contains one network interface on the management network, one on the instance tunnels network, and one on the external network. The compute node contains one network interface on the management network and one on the instance tunnels network.
* Also, each node must resolve the other nodes by name in addition to IP address. For example, the controller name must resolve to 192.168.122.22, the IP address of the management interface on the 'controller node'.
b1)
How to configure networking on your distribution
https://help.ubuntu.com/lts/serverguide/network-configuration.html
b2)
Controller Node Networking
--------------------------------------
http://docs.openstack.org/icehouse/install-guide/install/apt/content/basics-neutron-networking-controller-node.html
b2, a)
* Configure management interface
#sudo vim /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.122.22
netmask 255.255.255.0
gateway 192.168.122.1
b2, b)
* configure name resolution
#sudo vim /etc/hosts
#127.0.1.1 opshost
# controller
192.168.122.22 controller
# network
192.168.122.33 network
# compute1
192.168.122.44 compute1
b2, c)
#reboot
b3)
Network Node Networking
-------------------------------------
http://docs.openstack.org/icehouse/install-guide/install/apt/content/basics-neutron-networking-network-node.html
b3, a)
* Configure management interface
#sudo vim /etc/network/interfaces
##SM:Management interface
auto eth0
iface eth0 inet static
address 192.168.122.33
netmask 255.255.255.0
gateway 192.168.122.1
##SM:Instance Tunnels interface
auto eth1
iface eth1 inet static
address 192.168.123.33
netmask 255.255.255.0
gateway 192.168.123.1
##SM:The external network interface
auto eth2
iface eth2 inet manual
up ip link set dev $IFACE up
down ip link set dev $IFACE down
b3, b)
* configure name resolution
#sudo vim /etc/hosts
#127.0.1.1 opshost
# controller
192.168.122.22 controller
# network
192.168.122.33 network
# compute1
192.168.122.44 compute1
b3, c)
#reboot
b4)
Compute Node1 Networking
-------------------------------------
http://docs.openstack.org/icehouse/install-guide/install/apt/content/basics-neutron-networking-compute-node.html
b4, a)
* Configure management interface
#sudo vim /etc/network/interfaces
##SM:Management interface
auto eth0
iface eth0 inet static
address 192.168.122.44
netmask 255.255.255.0
gateway 192.168.122.1
##SM:Instance Tunnels interface
auto eth1
iface eth1 inet static
address 192.168.123.44
netmask 255.255.255.0
gateway 192.168.123.1
b4, b)
* configure name resolution
#sudo vim /etc/hosts
#127.0.1.1 opshost
# controller
192.168.122.22 controller
# network
192.168.122.33 network
# compute1
192.168.122.44 compute1
b4, c)
#reboot
b5)
Verify connectivity
----------------------------
http://docs.openstack.org/icehouse/install-guide/install/apt/content/basics-neutron-networking-verify.html
b5, a)
From Controller node
------------------------------------
b5, b)
From Network node
------------------------------------
b5, c)
From Compute node
------------------------------------
b6)
After this configuration (network node networking) , I could not able to connect to Internet from "network node" 192.168.122.33.
Issue
------
Default Gateway was "192.128.123.1"
Fix
-----
Set default Gateway to "192.128.122.1"
b6, a)
* Why we need to set default gateway to 192.168.122.1 ??
Output of #ifconfig from Host machine
virbr0 : inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255:255:255:0
*We should set IP of virbr0 as default gateway, since that is the only way from VM to outside via host.
This is an amazing blog, thank you so much for sharing such valuable information with us.
ReplyDeleteOpenstack Training
Openstack Training Online
Openstack Training in Hyderabad