Installing Realtek rltwifi driver for Ubuntu 14.10 Jan 01, 0001

安装方法

Ubuntu 14默认内核版本没有带RTL8192ee的网卡驱动,因而就无法通过无线网络联网,并且Reltek官方网站也没有提供合适的驱动。而最新的Linux内核已经带了相应驱动,所以一般建议修复的方法就是升级内核版本到最新。但如果不想内核升级咋办呢?幸好Github上已经有人将这个驱动写好了,直接安装即可:

...
Integrating Openstack and Kubernetes with Murano Jan 01, 0001

There’s a perceived competition between OpenStack and containers such as Docker, but in reality, the two technologies are a powerful combination. They both solve similar problems, but on different layers of the stack, so combining the two can give users more scalability and automation than ever before.

That containers app you wrote needs to run somewhere. This is particularly true for orchestrated container applications, such as those managed by Kubernetes. What’s more, if your application is complicated enough that it needs to scale up and down, you need to be running it in an environment that can, itself, scale up and down. This is where OpenStack comes in.

...
Linux kernel network call flow Jan 01, 0001

Refer http://blog.csdn.net/night_elf_1020/article/details/19935813

Linux netcat examples Jan 01, 0001

端口扫描

nc -z -v -n 172.31.100.7 21-25

Chat Server

Server: nc -l 1567

Client: nc 172.31.100.7 1567

文件传输

Server to Client:

Server: nc -l 1567 < file.txt

Client: nc -n 172.31.100.7 1567 > file.txt

Client to Server:

Server: nc -l 1567 > file.txt

Client: nc 172.31.100.23 1567 < file.txt

目录传输

Server: tar -cvf - dir_name | nc -l 1567

Client: nc -n 172.31.100.7 1567 | tar -xvf -

视频播放

Server: cat video.avi | nc -l 1567

...
Microservice Infrastructure Jan 01, 0001

Microservices Infrastructure

Modern platform for rapidly deploying globally distributed services provided by cisco.

https://github.com/CiscoCloud/microservices-infrastructure

Features

  • the ability to deploy applications utilizing resources across multiple datacenters (and even clouds),
  • deploying in a decentralized control model,
  • supporting intelligent endpoints,
  • heavy automation, and
  • the on-demand nature of deploying these services to support business requirements and scale.

Architectural Overview

  • Mesos cluster manager for efficient resource isolation and sharing across distributed services
  • Marathon for cluster management of long running containerized services
  • Consul for service discovery (By using Consul’s inbuilt DNS server)
  • Docker container runtime supported by Marathon
  • Multi-datacenter support
  • High availablity

Single Data Center Architecture

The base platform contains control nodes that manage the cluster and any number of compute nodes. Containers automatically register themselves into DNS so that other services can locate them.

...
Mininet links Jan 01, 0001

Introduction to Mininet: http://mininet.org/walkthrough/

OpenFlow Tutorial: https://github.com/mininet/openflow-tutorial/wiki

Mininet walkthrough: http://mininet.org/walkthrough/

RYU SDN Framework: http://osrg.github.io/ryu-book/en/html/

A good ryu blog: http://linton.tw/

Open vSwitch over DPDK on Ubuntu Jan 01, 0001

There are two approaches for using DPDK acceleration in DPDK. One is the openvswitch fork from intel, called dpdk-ovs the other is done directly in openvswitch with a different approach from intel.

VirtualBox preparations

To run openvswitch with DPDK I used a virtual machine (VirtualBox) because the NIC I had on my laptop was not supported. I created three virtual NICs for my vm, one behind NAT to use it to ssh into the vm from the host, and two in host-only mode, to be use for testing.

...
OpenStack Magnum社区及项目介绍 Jan 01, 0001

Add network management for native docker https://blueprints.launchpad.net/magnum/+spec/native-docker-network

https://etherpad.openstack.org/p/magnum-native-docker-network

From http://dockone.io/article/445

OVS 2.0 call flow Jan 01, 0001

Refer http://blog.csdn.net/night_elf_1020/article/details/37600791

Perform Consistent Snapshots with qemu guest agent Jan 01, 0001

A while back, I wrote an article about taking consistent snapshots of your virtual machines in your OpenStack environment. However this method was really intrusive since it required to be inside the virtual machine and to manually summon a filesystem freeze. In this article, I will use a different approach to achieve the same goal without the need to be inside the virtual machine.

The only requirement is to have a virtual machine running the qemu-guest-agent.

...