본문 바로가기
  • AI (Artificial Intelligence)

Legacy Skills/VM50

프록시를 통해 Docker 컨테이너 로그를 CloudWatch Logs에 푸시하려면 어떻게 해야 합니까? 문제 프록시를 통해 Docker 컨테이너 로그를 Amazon CloudWatch에 게시하려고 합니다. 게시할 수 있습니까? 간략한 설명 프록시를 사용하여 Docker 컨테이너 로그를 CloudWatch에 푸시할 수 있습니다. 이 단계는 Docker 인스턴스와 인터넷에 바인딩된 트래픽 간에 추가 보안 계층을 추가합니다. ​해결 방법 시작하기 전에 특정 사용 사례에 대해 필요한 기본 Docker 인프라를 설정해야 합니다. 이 예제 해결 방법에서 인프라에는 다음 사항이 포함됩니다. Docker 컨테이너 인스턴스로 작동하는 프라이빗 서브넷의 일부인 Amazon EC2(Amazon Elastic Compute Cloud) 인스턴스 프록시 인스턴스로 작동하는 퍼블릭 서브넷의 일부인 EC2 인스턴스 프라이빗 서브넷의.. 2019. 12. 18.
A CentOS 6 Image for OpenStack This is the next installment in the never-ending series of OpenStack image builds. Today's target: CentOS Image Characteristics The usual suspects are present: minimal package installserial console supporttimezone is Etc/UTChostname set to instance namea single partition with root filesystem, no swapgrow root filesystem to device sizeenable EPEL (install epel-release)enable could-init repo to ge.. 2014. 8. 4.
Build vlan header in c I need to build a vlan header. I have code that build eh header (struct ether_header) and it work ok./* Ethernet header */ memcpy(eh->ether_shost,src_mac_.data(), 6); memcpy(eh->ether_dhost,socketAddress.sll_addr , 6); /* Ethertype field */ eh->ether_type = htons(ETH_P_IP);I didnt find struct for vlan_eth_header , so i create my own and populate it like this:struct vlan_ethhdr { u_int8_t ether_d.. 2014. 7. 31.
VLAN Tagging Detecting and monitoring VLANs can be difficult if the NIC isn뭪 properly configured in Windows. The majority of network cards by default are set up to remove VLAN tag information from the packet header. As a result, you need to verify within Windows that the NIC properties are set to allow VLAN tags to pass through the NIC to Observer or Wireshark for analysis.To check whether VLAN tagging is en.. 2014. 7. 30.
Linux KVM: disable/enable virbr0 NAT Interface CentOS에서 virbr0는 guest OS가 NAT으로 사용한다. virbr0 - disablevirsh # net-list virsh # net-destroy default # /etc/init.d/libvirtd restart virbr0 - enablevirsh # net-list –all virsh # net-define /usr/share/libvirt/networks/default.xml virsh # net-autostart default virsh # net-start default virsh # start ubuntuerror: Failed to start domain ubuntu error: Network not found: no network with matching name ‘d.. 2014. 7. 24.
How to install Open vSwitch and test connection of VMs over GRE How to install Open vSwitch and test connection of VMs over GRE 1. Build Open vSwitch packages $ wget http://openvswitch.org/releases/openvswitch-1.4.0.tar.gz $ cp openvswitch-1.4.0.tar.gz /path/to/rpmbuild_dir/SOURCES/ (On RHEL6, /path/to/rpmbuild_dir is $HOME/rpmbuild) $ tar xvzf openvswitch-1.4.0.tar.gz $ cd openvswitch-1.4.0 $ rpmbuild -bb rhel/openvswitch.spec $ rpmbuild -bb rhel/openvswitc.. 2014. 7. 14.
Exploring RHEL-OVS Integrations In this post, I’m going to explore some integrations between Red Hat Enterprise Linux (RHEL)/RHEL variants and Open vSwitch (OVS). This post will lay the foundation for a future post describing OVS automation using Puppet.Over the past few weeks, I’ve been rebuilding my home lab to focus on some core projects/technologies for the upcoming year (more on that in this post). As part of the rebuild .. 2014. 7. 11.
Openvswitch 1.9.3 LTS – Debian Wheezy I’m preparing a lab with two nodes, one with Debian Wheezy and the other one with CentOS 6.5.I’m not a Debian guy so I hope I’m not doing things wrong, but first of all I’d like to thank again Nicira Inc as I used the information included in the README.Debian included in Openvswitch’s recent versions.Here are my notes on how I installed Openvswitch 1.9.3 LTS, but first a warning, you may find Op.. 2014. 7. 11.
Configuring VXLAN and GRE Tunnels on OpenvSwitch CONFIGURING VXLAN AND GRE TUNNELS ON OPENVSWITCHUPDATE: VXLAN ENCAPSULATIONVXLan is now upstreamed into the Master build. It is worth mentioning that is the VXLAN framing only, not the Multicast control plane functionality. So basically no need to pull from the fork anymore but pull directly from the Open vSwitch Master or 1.10+ tarball (approximately).I have done a couple of GRE tunnel how-tos .. 2014. 7. 4.
CentOS 6.5 – Openvswitch 1.9.3 LTS installation I’ve just installed CentOS 6.5 and I wanted to use Openvswitch. I’ve succeded installing the 1.9.3 LTS version using the instructions included by Nicira.#yum install wget openssl-devel #yum groupinstall "Development Tools" #adduser ovswitch #su ovswitch $cd $wget http://openvswitch.org/releases/openvswitch-1.9.3.tar.gz $tar xvfz openvswitch-1.9.3.tar.gz $cd openvswitch-1.9.3 $mkdir -p /home/ovsw.. 2014. 7. 3.
Install OpenFlow Network (OpenVSwich, Floodlight, VirtualBox) >>> Purpose This document shows how to deploy a SDN(Software Defined Network) environment in a Linux computer.The SDN is implemented based on OpenFlow protocol. We deploy followings on a Ubuntu 12.04 Linux machine. - an OpenVSwitch(OpenFlow Switch), - a Floodlight(OpenFlow Controller), - a VirtualBox(hypervisor) and several virtual machines(Fedora 18 OS). >>> Environment - I use root id >>> Syst.. 2014. 7. 1.
하이퍼바이저(Hypervisor)로 본 VMWare vs VirtualBox 하이퍼바이저(Hypervisor)는 다른 말로는 버추얼 머신 모니터(Virtual Machine Monitor)이라고 불리기도 하는데 가상머신을 운영하기위한 플랫폼 정도로 보면 된다. 많은 사람들이 하이퍼바이저 타입1과 타입2에 대해서 혼란을 겪는거 같아서 위키에서 본 것을 간략히 요약해 보겠다. 하이퍼바이저 타입1 (Hypervisor Type 1): 하이퍼바이저를 호스트 가상머신으로, 하이퍼바이저 상에서 돌아가는 가상머신을 게스트 가상머신이라고 부른다면, 타입1은 호스트 가상머신이 하드웨어에서 돌아가면서 게스트 가상머신이 돌아가는 것을 말한다. 가장 초기 형태의 가상머신이기도 하지만 하드웨어를 바로 접근한다는 점에서 시스템의 안정성이 보장된다. 대표적인 상품으로는 VMWare ESX/ESXi가 있고 .. 2014. 6. 30.
Open vSwitch(OVS) 출처 : http://www.joinc.co.kr/modules/moniwiki/wiki.php/Site/cloud/NetworkVirtualization/OpenvSwitch - OVS 설치 및 기본개념 설명 http://blog.naver.com/PostView.nhn?blogId=forioso&logNo=10173512162 - 각종 정보 링크되어 있음. Open vSwitch(OVS) OpenvSwitch 는 Apache2 라이센스의 오픈소스 가상스위치 Open vSwtich 는 멀티레이어(다계층) 네트워크 스위치의 기능을 하는 소프트웨어 - Open vSwitch는 Apache 2.0 라이센스를 따르는 가상 스위치. - NetFlow, sFlow, SPAN, RSPAN, CLI, LACP, 80.. 2014. 6. 23.
Open vSwitch Source Code Download OVS 오픈 소스 코드 다운로드 Open vSwitch Source Code Download OVS 오픈 소스 코드 다운로드 Oct 15 2013: Open vSwitch 2.0.0 Available Sep 05 2013: Open vSwitch 1.9.3 and 1.10.2 Available Aug 28 2013: Open vSwitch 1.11.0 Available May 01 2013: Open vSwitch 1.10.0 Available Feb 26 2013: Open vSwitch 1.9.0 and 1.4.6 Available Jan 22 2013: Open vSwitch 1.7.3 and 1.4.5 Available Jan 15 2013: Open vSwitch 1.4.4 Available Sep 06 2012: Open v.. 2014. 6. 23.
Installing KVM and Open vSwitch on Ubuntu Installing KVM and Open vSwitch on Ubuntu http://blog.scottlowe.org/2012/08/17/installing-kvm-and-open-vswitch-on-ubuntu/ This is the first of a number of posts in which I’ll be discussing Ubuntu Linux, KVM, and the Open vSwitch (OVS). I hope that you find the posts helpful. Let me start this post by providing this disclaimer: I’m still very early in the learning curve with KVM and OVS, so I can.. 2014. 6. 23.
OVS(Open vSwitch) v1.5.0을 Ubuntu12.04.3에서 운용하기 OVS(Open vSwitch) v1.5.0을 Ubuntu12.04.3에서 운용하기 1) 현재 OVS 상태 검사 forerunner@DPDK:~$ sudo ovs-vsctl show b737c692-6e79-40e8-8550-983a02c6d3a7 => OVS의 UUID(8-4-4-4-12 포맷) 정보를 보여준다. 2) 가상 브리지 br0 생성 forerunner@DPDK:~$ sudo ovs-vsctl add-br br0 forerunner@DPDK:~$ sudo ovs-vsctl show b737c692-6e79-40e8-8550-983a02c6d3a7 Bridge "br0" Port "br0" Interface "br0" type: internal 3) 가상 브리지에 물리 포트 연결 forerunn.. 2014. 6. 23.
Nexus 1000V를 말한다 - 8편 Nexus 1000V 고급구성 다) QoS 적용하기 ① QoS QoS(Quality Of Service)는 서비스 품질의 보장을 위해, 각 네트워크의 특성에 따라 이더넷 프레임 또는 패킷을 분류, 표식을 하고 이러한 인식값에 따라 트래픽에 정책을 적용하는 것을 말합니다. 네트워크 기술에서는 매우 오래된 기술이지만 현실적으로 그렇게 널리 적용되지는 않았습니다. 하지만 가상화에서는 서로 다른 서비스를 수행하는 여러 개의 VM들이 하나의 서버의 동일한 IO Card를 공유하는 구조로 사용하게 됨에 따라 네트워크 트래픽 제어가 불가능하게 되었습니다. 이러한 이슈를 해결하려면, 물리적인 IO Card를 다수로 늘리고 여러 개의 vSwitch로 분류를 하거나, 서비스 종류나 중요도 별로 별도의 서버군으로 분류를 해.. 2014. 6. 19.
Nexus 1000V를 말한다 - 7편 Nexus 1000V 고급 구성하기 가) Port Mirroring 적용하기 ① Port Mirroring Port Mirroring은 특정 Source Network의 인입과 출입되는 Traffic을 Copy하여, 특정 Destination Network으로 보내는 기능입니다. 일반 스위치에서는 널리 사용되는 기능으로 특정 인터페이스로 입/출입되는 트래픽을 분석하기 위해 많이 사용되는 기술입니다. 하지만 vSwitch에서는 이러한 기능을 제공하지 않으므로 트래픽 분석이 어렵습니다. [그림44]에서 보면 쉽게 이해할 수 있습니다. [그림44-vSwitch에서의 Port Mirroring 컨셉] 따라서 Nexus 1000V를 통해 이러한 기능을 사용하도록 하는 것입니다. ② Port Mirroring 구성.. 2014. 6. 19.