Server-side Intelligent Switching using Windows Azure

982 views

Published on

Server-side Intelligent Switching using Windows Azure
for High Availability Cluster Networking

16 Nov, 2012
SAKURA Internet Research Center
Senior Researcher / Naoto MATSUMOTO

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
982
On SlideShare
0
From Embeds
0
Number of Embeds
33
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Server-side Intelligent Switching using Windows Azure

  1. 1. 16 Nov, 2012 SAKURA Internet Research CenterSenior Researcher / Naoto MATSUMOTO
  2. 2. Inteligent Switching Overview Process Process Process Process Process Process Azure VM Azure VM Region-B Region-C Process Process Process Tunnel Tunnel Tunnel Azure VM Bridge + IEEE 802.1w(Rapid STP) Region-D Virtual Ethernet NIC Process Process Process Azure VM Region-A Source: SAKURA Internet Research Center. 08/2012: Project THORN
  3. 3. How does it works? Tunnel Interface + Linux Bridge+IEEE 802.1w (Rapid STP) Daemon = Server-side Intelligent Switching AzureVM# sudo rstpctl showport br0Tunnel Tunnel Tunnel * eoip1 8001 Fwd 8000-027a0b4f3269 8...3269 8001 DBridge + IEEE 802.1w(Rapid STP) * eoip2 8001 Fwd 8000-027a0b4f3269 8...3269 8002 D : Virtual Ethernet NIC veth1 8004 Fwd 8000-027a0b4f3269 8...3269 8004 DProcess Process Process Azure VM Source: SAKURA Internet Research Center. 08/2012: Project THORN
  4. 4. Packages for Inteligent Switching Tunnel Tunnel Tunnel - Tunneling Protocol: GRETAP ..etc Bridge + IEEE 802.1w - Bridging Daemon: bridge-utils (Rapid STP) - Rapid STP Daemon: rstpd http://git.kernel.org/?p=linux/kernel/git/shemminger/rstp.git Virtual Ethernet NIC - Virtual Interface: iproute2 http://kernel.org/pub/linux/utils/net/iproute2/Process Process Process Azure VM(Ubuntu 12.04LTS) Source: SAKURA Internet Research Center. 08/2012: Project THORN
  5. 5. Install rstpd and switch-setup$ uname -aLinux AzureVM 3.2.0-24-virtual #39-Ubuntu SMP Mon May 21 18:44:18 ..$ sudo aptitude install bridge-utils module-assistant ; sudo module-assistant prepareDownload rstpd pacakge from http://git.kernel.org/?p=linux/kernel/git/shemminger/rstp.git$ cd rstpd$ sudo make ; sudo make install$ sudo ip link add eoip0 type gretap remote X.X.X.X local Y.Y.Y.Y$ sudo ip link add type veth$ sudo ifconfig veth0 mtu 1462$ sudo ifconfig veth1 mtu 1462$ ifconfig veth0 up up$ ifconfig veth0 up up$ ifconfig eoip0 up up$ sudo brctl addbr br0$ sudo brctl addif br0 veth1$ sudo brctl addif br0 eoip0$ sudo rstpd$ sudo rstpctl rstp br0 on$ sudo rstpctl showport br0
  6. 6. Bridge/RSTP Aging Timer tuning- Bridge STP Timer Config $sudo brctl sethello br0 1 $sudo brctl setfd br0 4 Tunnel Tunnel Tunnel $sudo brctl setmaxage br0 6 $sudo brctl setageing br0 10 Bridge + IEEE 802.1w- Linux RSTP Timer Config $sudo rstpctl sethello br0 1 (Rapid STP) $sudo rstpctl setmaxage br0 6 $sudo rstpctl setfdelay br0 4 Virtual Ethernet NIC Process Process Process VyattaCore 6.4
  7. 7. Thank you for your interest (C)Copyright 1996-2010 SAKURA Internet Inc.

×