TTA에 KVM 기반 프로비저닝 기술에 대한 데모 세션을 포함하는 세미나 관련 자료입니다. 클라우드환경으로 가고자 해서 Paas를 어떤 플랫폼위에 올린다면 그리고 가상화 환경이나 클라우드 환경으로 올린다면 어떤 환경으로 올릴것인가를 고민하여야 합니다.
그리고 이 hypervisor중에 cloud 환경에서 가장 주목받는 kvm을 기반으로 하는 두가지 가상화 클라우드 솔루션인 rhev와 openstack을 잠시 살펴볼 것입니다.
그리고 이러한 가상화 클라우드 환경에서 자동화 하는 솔류션을 어떻게 고려해야 하는가를 살펴보고, 그런 솔류션중에 하나인 아테나 피콕에 대해 살펴보겠습니다.
그리고 오픈스택환경하에서 구축해서 사용했던 사용기와 이를 자동화하기위해 개발자들이 사용했던 간단한 ansible provisioning 모습을 시연합니다.
In this session, Lucian talks about monitoring CloudStack and its related components. What are the best practices and what do you need to track closely to ensure your cloud reliability.
Lucian is a long-time sysadmin and Apache Cloustack user and contributor. He has a background in hosting, virtualisation and datacentre operations, but is now working full time on Cloudstack.
-----------------------------------------
CloudStack Collaboration Conference 2022 took place on 14th-16th November in Sofia, Bulgaria and virtually. The day saw a hybrid get-together of the global CloudStack community hosting 370 attendees. The event hosted 43 sessions from leading CloudStack experts, users and skilful engineers from the open-source world, which included: technical talks, user stories, new features and integrations presentations and more.
[오픈소스컨설팅] Open Stack Ceph, Neutron, HA, Multi-RegionJi-Woong Choi
OpenStack Ceph & Neutron에 대한 설명을 담고 있습니다.
1. OpenStack
2. How to create instance
3. Ceph
- Ceph
- OpenStack with Ceph
4. Neutron
- Neutron
- How neutron works
5. OpenStack HA- controller- l3 agent
6. OpenStack multi-region
In this session, Lucian talks about monitoring CloudStack and its related components. What are the best practices and what do you need to track closely to ensure your cloud reliability.
Lucian is a long-time sysadmin and Apache Cloustack user and contributor. He has a background in hosting, virtualisation and datacentre operations, but is now working full time on Cloudstack.
-----------------------------------------
CloudStack Collaboration Conference 2022 took place on 14th-16th November in Sofia, Bulgaria and virtually. The day saw a hybrid get-together of the global CloudStack community hosting 370 attendees. The event hosted 43 sessions from leading CloudStack experts, users and skilful engineers from the open-source world, which included: technical talks, user stories, new features and integrations presentations and more.
[오픈소스컨설팅] Open Stack Ceph, Neutron, HA, Multi-RegionJi-Woong Choi
OpenStack Ceph & Neutron에 대한 설명을 담고 있습니다.
1. OpenStack
2. How to create instance
3. Ceph
- Ceph
- OpenStack with Ceph
4. Neutron
- Neutron
- How neutron works
5. OpenStack HA- controller- l3 agent
6. OpenStack multi-region
Watch this presentation and learn all about Microservices.
*Flannel, Weave, IPVLAN, MacVLAN and how they fit together with Docker, Swarm or Kubernetes
*How containers communicate with each other
*How the choice of Networking Interface impacts router and switch deployment in the Data Center
Tutorial: Using GoBGP as an IXP connecting routerShu Sugimoto
- Show you how GoBGP can be used as a software router in conjunction with quagga
- (Tutorial) Walk through the setup of IXP connecting router using GoBGP
Software Defined anything (SDx) is a movement toward promoting a greater role for software systems in controlling different kinds of hardware - more specifically, making software more "in command" of multi-piece hardware systems and allowing for software control of a greater range of devices.
Software Defined Everything (SDx) includes
Software Defined Networks (SDN)
Software Defined Computing (SDC)
Software Defined Storage (SDS)
Software Defined Data Centers (SDDC)
Trabajo de fin de Ciclo Formativo Grado Superior en Administración de Sistemas en red (ASIR/ASIX).
El trabajo consiste en un proyecto de virtualizacion de servidores para dar una alta disponibilidad (HA) mediante el sistema Proxmox. El servicio a dar en cuestión finalmente fue de un servidor proxy y web, por falta de tiempo y problemas con la configuración de Zentyal, fue imposible su instalación.
VM Autoscaling With CloudStack VR As Network ProviderShapeBlue
In this talk, Wei looks at the new VM autoscaling functionality in CloudStack (due for the 4.18 release) that gives VM autoscaling without relying on any external devices.
Wei Zhou is a committer and PMC member of Apache CloudStack project, and works for ShapeBlue as a Software Architect.
-----------------------------------------
CloudStack Collaboration Conference 2022 took place on 14th-16th November in Sofia, Bulgaria and virtually. The day saw a hybrid get-together of the global CloudStack community hosting 370 attendees. The event hosted 43 sessions from leading CloudStack experts, users and skilful engineers from the open-source world, which included: technical talks, user stories, new features and integrations presentations and more.
VMware ESXi - Intel and Qlogic NIC throughput difference v0.6David Pasek
We are observing different network throughputs on Intel X710 NICs and QLogic FastLinQ QL41xxx NIC. ESXi hardware supports NIC hardware offloading and queueing on 10Gb, 25Gb, 40Gb and 100Gb NIC adapters. Multiple hardware queues per NIC interface (vmnic) and multiple software threads on ESXi VMkernel is depicted and documented in this paper which may or may not be the root cause of the observed problem. The key objective of this document is to clearly document and collect NIC information on two specific Network Adapters and do a comparison to find the difference or at least root cause hypothesis for further troubleshooting.
Boosting I/O Performance with KVM io_uringShapeBlue
Storage performance is becoming much more important. KVM io_uring attempts to bring the I/O performance of a virtual machine on almost the same level of bare metal. Apache CloudStack has support for io_uring since version 4.16. Wido will show the difference in performance io_uring brings to the table.
Wido den Hollander is the CTO of CLouDinfra, an infrastructure company offering total Webhosting solutions. CLDIN provides datacenter, IP and virtualization services for the companies within TWS. Wido den Hollander is a PMC member of the Apache CloudStack Project and a Ceph expert. He started with CloudStack 9 years ago. What attracted his attention is the simplicity of CloudStack and the fact that it is an open-source solution. During the years Wido became a contributor, a PMC member and he was a VP of the project for a year. He is one of our most active members, who puts a lot of efforts to keep the project active and transform it into a turnkey solution for cloud builders.
-----------------------------------------
The CloudStack European User Group 2022 took place on 7th April. The day saw a virtual get together for the European CloudStack Community, hosting 265 attendees from 25 countries. The event hosted 10 sessions with from leading CloudStack experts, users and skilful engineers from the open-source world, which included: technical talks, user stories, new features and integrations presentations and more.
------------------------------------------
About CloudStack: https://cloudstack.apache.org/
Session Description:
In this session, Ravi Described some use cases about harmonizing Ceph storage with Apache CloudStack for a CloudStack infrastructure setup. This includes using primary and secondary storage for CloudStack, synchronizing and rendering VM snapshots accessible across remote zones, fortifying storage for disaster recovery, and upholding client VM data backup.
Speaker Bio:
Ravichandran has 15+ years of technical expertise in Linux and Cloud solutions in Assistanz Networks Private Limited. Ravi is currently leading Business Development at Apache CloudStack consulting, Storage solutions and Stackbill CMP product.
---------------------------------------------
On Friday 18th August, the Apache CloudStack India User Group 2023 took place in Bangalore, seeing CloudStack enthusiasts, experts, and industry leaders from across the country, discuss the open-source project. The meetup served as a vibrant platform to delve into the depths of Apache CloudStack, share insights, and forge new connections.
While Docker leads the field of containerization and isolated platforms, it is essential to explore the way those container would communicate. In the session, we will explore various network structures of Docker technology and will create a basic network structure for an application to work.
Docker is the world's leading software containerization platform.
This is a comprehensive introduction to Docker, suitable for delivering in introductory meetups to an audience who does not know about docker.
In case you want to deliver this presentation somewhere, kindly drop me a mail at aditya.konarde@gmail.com
You can contact me at:
Connect with me onLinkedIN: https://www.linkedin.com/in/adityakonarde
Add me on Facebook: https://www.facebook.com/Aditya.Konarde
Tweet to me @aditya_konarde
Watch this presentation and learn all about Microservices.
*Flannel, Weave, IPVLAN, MacVLAN and how they fit together with Docker, Swarm or Kubernetes
*How containers communicate with each other
*How the choice of Networking Interface impacts router and switch deployment in the Data Center
Tutorial: Using GoBGP as an IXP connecting routerShu Sugimoto
- Show you how GoBGP can be used as a software router in conjunction with quagga
- (Tutorial) Walk through the setup of IXP connecting router using GoBGP
Software Defined anything (SDx) is a movement toward promoting a greater role for software systems in controlling different kinds of hardware - more specifically, making software more "in command" of multi-piece hardware systems and allowing for software control of a greater range of devices.
Software Defined Everything (SDx) includes
Software Defined Networks (SDN)
Software Defined Computing (SDC)
Software Defined Storage (SDS)
Software Defined Data Centers (SDDC)
Trabajo de fin de Ciclo Formativo Grado Superior en Administración de Sistemas en red (ASIR/ASIX).
El trabajo consiste en un proyecto de virtualizacion de servidores para dar una alta disponibilidad (HA) mediante el sistema Proxmox. El servicio a dar en cuestión finalmente fue de un servidor proxy y web, por falta de tiempo y problemas con la configuración de Zentyal, fue imposible su instalación.
VM Autoscaling With CloudStack VR As Network ProviderShapeBlue
In this talk, Wei looks at the new VM autoscaling functionality in CloudStack (due for the 4.18 release) that gives VM autoscaling without relying on any external devices.
Wei Zhou is a committer and PMC member of Apache CloudStack project, and works for ShapeBlue as a Software Architect.
-----------------------------------------
CloudStack Collaboration Conference 2022 took place on 14th-16th November in Sofia, Bulgaria and virtually. The day saw a hybrid get-together of the global CloudStack community hosting 370 attendees. The event hosted 43 sessions from leading CloudStack experts, users and skilful engineers from the open-source world, which included: technical talks, user stories, new features and integrations presentations and more.
VMware ESXi - Intel and Qlogic NIC throughput difference v0.6David Pasek
We are observing different network throughputs on Intel X710 NICs and QLogic FastLinQ QL41xxx NIC. ESXi hardware supports NIC hardware offloading and queueing on 10Gb, 25Gb, 40Gb and 100Gb NIC adapters. Multiple hardware queues per NIC interface (vmnic) and multiple software threads on ESXi VMkernel is depicted and documented in this paper which may or may not be the root cause of the observed problem. The key objective of this document is to clearly document and collect NIC information on two specific Network Adapters and do a comparison to find the difference or at least root cause hypothesis for further troubleshooting.
Boosting I/O Performance with KVM io_uringShapeBlue
Storage performance is becoming much more important. KVM io_uring attempts to bring the I/O performance of a virtual machine on almost the same level of bare metal. Apache CloudStack has support for io_uring since version 4.16. Wido will show the difference in performance io_uring brings to the table.
Wido den Hollander is the CTO of CLouDinfra, an infrastructure company offering total Webhosting solutions. CLDIN provides datacenter, IP and virtualization services for the companies within TWS. Wido den Hollander is a PMC member of the Apache CloudStack Project and a Ceph expert. He started with CloudStack 9 years ago. What attracted his attention is the simplicity of CloudStack and the fact that it is an open-source solution. During the years Wido became a contributor, a PMC member and he was a VP of the project for a year. He is one of our most active members, who puts a lot of efforts to keep the project active and transform it into a turnkey solution for cloud builders.
-----------------------------------------
The CloudStack European User Group 2022 took place on 7th April. The day saw a virtual get together for the European CloudStack Community, hosting 265 attendees from 25 countries. The event hosted 10 sessions with from leading CloudStack experts, users and skilful engineers from the open-source world, which included: technical talks, user stories, new features and integrations presentations and more.
------------------------------------------
About CloudStack: https://cloudstack.apache.org/
Session Description:
In this session, Ravi Described some use cases about harmonizing Ceph storage with Apache CloudStack for a CloudStack infrastructure setup. This includes using primary and secondary storage for CloudStack, synchronizing and rendering VM snapshots accessible across remote zones, fortifying storage for disaster recovery, and upholding client VM data backup.
Speaker Bio:
Ravichandran has 15+ years of technical expertise in Linux and Cloud solutions in Assistanz Networks Private Limited. Ravi is currently leading Business Development at Apache CloudStack consulting, Storage solutions and Stackbill CMP product.
---------------------------------------------
On Friday 18th August, the Apache CloudStack India User Group 2023 took place in Bangalore, seeing CloudStack enthusiasts, experts, and industry leaders from across the country, discuss the open-source project. The meetup served as a vibrant platform to delve into the depths of Apache CloudStack, share insights, and forge new connections.
While Docker leads the field of containerization and isolated platforms, it is essential to explore the way those container would communicate. In the session, we will explore various network structures of Docker technology and will create a basic network structure for an application to work.
Docker is the world's leading software containerization platform.
This is a comprehensive introduction to Docker, suitable for delivering in introductory meetups to an audience who does not know about docker.
In case you want to deliver this presentation somewhere, kindly drop me a mail at aditya.konarde@gmail.com
You can contact me at:
Connect with me onLinkedIN: https://www.linkedin.com/in/adityakonarde
Add me on Facebook: https://www.facebook.com/Aditya.Konarde
Tweet to me @aditya_konarde
리눅스 pacemaker 기반의 High Availaiblity 구성방법에 대해 설명합니다. pacemaker를 사용하는 다른 리눅스 기반도 구성이 가능합니다.
Pacemaker 기반 Linux High Availability 입문용으로는 적합하지 않을 수 있습니다. Pacemaker 기반 Linux High Availability를 한 번도 설치 및 구성을 하지 않은 리눅스 관리자라면 설치 문서를 먼저 참고하십시오.
RHEL7 및 CentOS 7을 중심으로 레드햇 계열의 리눅스에 적합한 내용으로 작성되었습니다.
2017년 5월 25일 (목), IBM과 함께 하는 오픈스택 정기 세미나에서 IBM 김민석 과장님께서 발표해 주신 자료를 공유합니다.
- IBM 클라우드에 대해 궁금하신 사항 있으시면, IBM 담당자께 contact 바랍니다.
(한국IBM 클라우드 마케팅 담당 임지현, jihlim@kr.ibm.com)
It explains virtualization technology, KVM How-To, RHEV introduction for users and engineers.
KVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V). RHEV is based on KVM and includes Red Hat Subscription program. You can understand about virtualization in this document.
Enjoy.
http://www.ubuntu-kr.org/viewtopic.php?f=2&t=17429
내용 :
-----------------------------------------------------------------
전반 세미나 진행 : 뻔뻔강사 님 (유명환)
우분투 한국사용자모임 대표 인사말 : 강분도 님 (강분도)
GNOME 3 이야기 : jincreator 님 (이진규)
전력선 통신(PLC) 이야기 : 포닉스 님 (이형준)
-----------------------------------------------------------------
.......... Coffee & Smoking Time (잠시 쉬어보아요!) ..........
-----------------------------------------------------------------
후반 세미나 진행 : abron 님 (김성윤)
유닉스 프로그래밍 책(4월 정기세미나 이벤트 상품) 독후감 발표 : sople1 님
오픈 소스 기반 클라우드 컴퓨팅 솔루션 OpenStack 이야기 : KT 안재석 님
임베디드 SW 와 오픈 소스의 궁합 이야기 : 뻔뻔강사 님 (유명환)
[오픈테크넷서밋2022] 국내 PaaS(Kubernetes) Best Practice 및 DevOps 환경 구축 사례.pdfOpen Source Consulting
최근 금융권이나 공공기관에서는 차세대 프로젝트에 PaaS 기반 시스템을 구축하고 그 위에 마이크로서비스아키텍처(MSA)를 구현하기 위해 많은 투자를 하고 있는데요, 많은 기업들이 오픈소스 기반의 인프라를 고려할 때 기술지원이나 버전 업그레이드 등에 대한 애로사항을 겪게 됩니다. 이런 문제에 대한 해결 방안 중 하나가 바로 커뮤니티 기반의 오픈소스 재단을 활용하는 것인데요!
본 자료에서 커뮤니티 오픈소스 기반 인프라 구축의 장점과 실제 사례에 대해 확인해 보실 수 있습니다.
INTEGRATED PLATFORM FOR DATA AND CONTAINERS
Mesosphere Enterprise DC/OS includes everything you need to elastically run containerized apps and data services in production.
기존에 저희 회사에서 사용하던 모니터링은 Zabbix 였습니다.
컨테이너 모니터링 부분으로 옮겨가면서 변화가 필요하였고, 이에 대해서 프로메테우스를 활용한 모니터링 방법을 자연스럽게 고민하게 되었습니다.
이에 이영주님께서 테크세션을 진행하였고, 이에 발표자료를 올립니다.
5개의 부분으로 구성되어 있으며, 세팅 방법에 대한 내용까지 포함합니다.
01. Prometheus?
02. Usage
03. Alertmanager
04. Cluster
05. Performance
2018년도 Amazon AWS re:Invent Machine Learning 부분에 대한 요약을 오픈소스컨설팅 서경빈(AWS SA)님이 해주셨습니다.
사내 발표 때 아주 쉽게 설명해주셔서 좋았는데, 해당 내용은 Tech Blog에서도 확인이 가능합니다.
https://tech.osci.kr/2018/12/06/50693623/
[오픈소스컨설팅] Docker를 활용한 Gitlab CI/CD 구성 테스트Ji-Woong Choi
Docker를 활용하여 Gitlab CI/CD 설치 구성 및 샘플 테스트를 위한 가이드 문서이며, Docker 및 Gitlab에 대한 개요 및 사용법에 대해서는 다루지 않습니다. Docker image를 이용 Gitlab 및 Gitlab CI/CD 설치 및 구성 후 Sample Spring boot web application을 이용하여 소스 변경에 따른 commit이 발생 했을 때 Gitlab CI/CD 기능을 통해 application 테스트, 빌드, 배포까지의 일련의 과정이 자동으로 진행되는지를 테스트 하는 내용입니다.
[오픈소스컨설팅]클라우드기반U2L마이그레이션 전략 및 고려사항Ji-Woong Choi
Cloud 기반으로 U2C(Unix to Cloud),U2L(Unix to Linux) 마이그레이션에 대한 가이드 라인과 사이징 관련 고려 사항에 대해 설명한 자료입니다.
많은 전환 프로젝트에서 추출된 경험치가 들어가 있으며, 전환별 난이도 및 고려사항이 들어가 있습니다.
장소 : 미국 보스턴 Hynes Convention Center
일시 : 2017년 5월 6일 ~ 11일 (미국 동부 시각)
참가 인원 : 5000명 이상
참가 업체 : 1014개
참가국 : 63개국
세션 수 : 750여 개(이전 Summit 대비 약 250여 개 증가)
[오픈소스컨설팅] Red Hat ReaR (relax and-recover) Quick GuideJi-Woong Choi
본 문서는 RHEL에 내장된 재해복구솔루션 ReaR (Relax and Recover)를 이용하여 OS 영역의 데이터를 백업하고 복구하는 방법을 다루고 있습니다. ReaR는 iso를 비롯한 다양한 백업 데이터 포맷을 지원하나, 이 문서에서는 CD/DVD 미디어 반입/보관이 보안상 대부분 허용되지 않는 기업 환경에서도 원활히 사용할 수 있는 PXE boot를 지원하는 포맷으로 ReaR 백업 데이터를 생성하고 복구하는 방법만을 자세히 설명합니다.
아틀라시안 JIRA를 사용할 때 가장 핵심적으로 해야 할 내용들만 추려서 가이드 문서를 작성하였습니다.
그러한 작업들로는 프로젝트, 스킴(Scheme), 이메일 세팅, 권한 관리, 백업/복구 등이 있습니다.
관리자가 이런 일을 잘 할 수 있도록 핵심적인 내용만으로 구성한 문서를 공유합니다.
레드햇 엔터프라이즈 리눅스 7 기반에 대한 운영자 가이드 기초편을 공유합니다.
부트로더 관리, 패키지, 네트워크, 스토리지 및 크래쉬 덤프 발생에 대한 관리까지 기초 운영 지식에 대한 부분을 본 문서를 통해 얻으실 수 있습니다.
오픈소스컨설팅의 문경윤차장께서 공유해주신 내용입니다.
3. 3
PaaS Architecture
출처 : http://pivotal.io/platform
PaaS를 구축할 수 있는 많은 인프라 환경 중에 오픈스택은 하나의 클라우드 환경으로 점차 확대되어지고 있음.
Cloud Foundry는 AWS/OpenStack/Vmware(vSphere, vCloud)등의 infra architecture를 사용함
Openshift의 경우는 baremetal/AWS/OpenStack/RHEV(virt)/Vmware 등을 지원함.
출처 : http://redhat.com
Hypervisor&KVM
5. 5
OpenStack Compute node에서 지원되는 Hypervisor
출처 : http://blog.rackspace.com/architecting-vmware-vsphere-for-openstack/
OpenStack의 Compute node는 크게 Vmware/Hyper-V/Xen/KVM 등이 지원된다.
Compute node인 Nova는 API나 native management tools를 통해 관리된다.
출처 : http://suse.com
Hypervisor&KVM
6. 6
What’s the Hypervisor ?
하이퍼바이저(hypervisor)는 호스트 컴퓨터에서 다수의 운영 체제(operating system)를 동시에 실행하기 위한
논리적 플랫폼(platform)을 말한다. - wikipedia
Type-1, native or bare-metal hypervisors
• 게스트 OS는 호스트의 각각의 process로 운영
• VMware vSphere/ESXi.
• Hyper-V
• Xen/the Citrix XenServer
• RHEV
• Oracle VM Server for x86
• IBM LPAR
Type-2 or hosted hypervisors
• 일반 프로그램과 같이 OS위에 하나의 프로세스로 운영된다.
• VMware Workstation
• VMware Player,
• VirtualBox
• QEMU
• KVM
KVM의 경우는 TYPE-2로 분류되어 있으나,
KVM은 kernel-module로 이미 Converting 되었기 때문에 실제적인 운
영은 TYPE-1 형태이다. 그래서 가끔 혼란스러운 경우가 있다.
Hypervisor&KVM
Guest OS Guest OS
Host OS
Ring 0
Ring 3
7. 7
HW virtualization type
하이퍼바이저(hypervisor)는 호스트 컴퓨터에서 다수의 운영 체제(operating system)를 동시에 실행하기 위한
논리적 플랫폼(platform)을 말한다. - wikipedia
가. 전가상화 기술(Full Virtualization)
- 하드웨어를 완전히 가상화, 게스트 OS의 아무런 수정없이
윈도우에서 리눅스까지 다양한 OS 지원
- 전제조건 : CPU의 Intel-VT나 AMD-V 기능 필수
- 단점 : 위 CPU의 사용으로 성능 저하 발생
예: Mac-on-Linux, Parallels Desktop for Mac, Parallels Workstation
VMware Workstation, VMware Server (formerly GSX Server), VirtualBox
나. 반가상화 기술(Para-Virtualization)
- 전가상화 달리 하드웨어를 완전히 가상화하지는 않음
게스트OS가 직접 하드웨어를 제어하는 것이 아니고
하이퍼바이저에게 의뢰, 높은 성능 유지, 대표적 기술 XEN
게스트 OS의 커널을 일부 수정해서 게스트의 커널 함수를 호출하면
호스트의 컨널로 전달
- 단점 : 게스트 OS의 일부를 수정해야 함, 오픈소스가 가능
- 예 : Zen
Hypervisor&KVM
VMWare
Xen
8. 8
X86 processor virtualization techniques
Full Virtualization 기술은 클라우드 시대에 Guest OS의 변경없이 구현 가능한 쉽고, 신뢰성있는 기술중에 하나임.
Full Virtualization.
Intel (Intel VT) and AMD (AMD-V)
'Intel VT-x'-based Full Virtualization.
VMWare's Para Virtualization.
Xen's Para Virtualization.
Para Virtualization
Host OS Virtualization
출차:http://www.cubrid.org/blog/dev-platform/x86-server-virtualization-technology/
https://www.vmware.com/files/pdf/VMware_paravirtualization.pdf
Container-based Virtualization
Hypervisor&KVM
Kernel space
user mode
9. 9
X86 processor virtualization techniques
Full Virtualization 기술은 클라우드 시대에 Guest OS의 변경없이 구현 가능한 쉽고, 신뢰성있는 기술중에 하나임.
Full Virtualization. Para Virtualization
Host OS Virtualization Container-based Virtualization
Hypervisor&KVM
10. 10
KVM (Kernel based Virtual Machine)
전가상화를 지원하는 리눅스 커널 기반의 가상화 도구
리눅스 커널 2.6.20 버전부터 KVM 컴포넌트를 포함
리눅스 자체를 호스트 OS로 이용하고 하이퍼바이저를 서브 모듈로 취급
리눅스 커널 모듈 – 리눅스 커널의 다양한 이점과 기능을 상속, Virtualization 구현
리눅스를 하이퍼바이저로 쓸 수 있도록 만들어 줌
• KVM 은 가상머신을 인스턴스화 하기 위해 일부 수정된 QEMU(Emulator)를 사용
• 가상머신 인스턴스가 실행되게 되면 이 가상머신은 일반적인 프로세스 처럼 동작
Hypervisor&KVM
KVM의 경우는 TYPE-2로 분류되어 있으나,
KVM은 kernel-module로 이미 Converting 되었기 때문
에 실제적인 운영은 TYPE-1 형태이다.
11. 11
libvirt
다양한 하이퍼바이저를 관리할 수 있는 표준화되고 단일화된 어플리케이션 프로그래머블 인터페이스 프로젝트를
가리킵니다
가상머신을 생성, 수정, 관리, 모니터링, 마이그레이션, 정지 시키는 등 공통적인 기능들에 대한 API를 제공합니다
libvirt 자체로 도구는 아니지만 가상머신을 관리하는 도구를 작성하기위한 API입니다
Xen, KVM, QEMU, OpenVz, VirtualBox, VMware 까지 지원됩니다
Hypervisor&KVM
사용자 인터페이스 툴
Hypervisor
QEMU & KVM
Libvirt
virsh
virt-viewer
virt-manager
12. 12
RHEV(RED HAT ENTERPRISE VIRTUALIZATION)
RHEV는 KVM을 기반으로 하는 가상화 솔루션임
RHEV&Openstack
호스트 KVM 사용
VDSM, QEMU, libvirt 가 호스트에서 동작
VM / Networks / Storage 를 관리
중앙 집중식 관리
그래픽 인터페이스 제공
가상 리소스 보관
VM / Template /
ISOs
RHEV 상태를
지속적으로 추적 및 기록
외부 디렉토리 서버
유저 및 권한 제공
물리네트워크와 논리
네트워크가 연결 됨.
13. 13
OpenStack Hypervisor Support Matrix
OpenStack nova에서 지원하는 hypervisor는 아래와 같음.
KVM - Kernel-based Virtual Machine. The virtual disk formats that it supports is inherited from QEMU since it uses a mo
dified QEMU program to launch the virtual machine. The supported formats include raw images, the qcow2, and VMware
formats.
LXC - Linux Containers (through libvirt), used to run Linux-based virtual machines.
QEMU - Quick EMUlator, generally only used for development purposes.
UML - User Mode Linux, generally only used for development purposes.
VMware vSphere 4.1 update 1 and newer, runs VMware-based Linux and Windows images through a connection with a v
Center server or directly with an ESXi host.
Xen (using libvirt) - Xen Project Hypervisor using libvirt as management interface into nova-compute to run Linux, Wind
ows, FreeBSD and NetBSD virtual machines.
XenServer - XenServer, Xen Cloud Platform (XCP) and other XAPI based Xen variants runs Linux or Windows virtual mach
ines. You must install the nova-compute service in a para-virtualized VM.
Hyper-V - Server virtualization with Microsoft's Hyper-V, use to run Windows, Linux, and FreeBSD virtual machines. Runs
nova-compute natively on the Windows virtualization platform.
출처 :http://docs.openstack.org/liberty/config-reference/content/section_compute-hypervisors.html
RHEV&Openstack
14. 14
OpenStack Hypervisor
Nova의 경우 드라이버의 추상화 레이어를 가지며, 이것은 nova deploy를 지원하지만, 모든 driver가 전부 nova의
모든 기능을 fully 지원하는 것은 아님.
출처 :http://docs.openstack.org/developer/nova/support-matrix.html
RHEV&Openstack
15. 15
시스템 자동화 개요
가상화를 통한 클라우드 구축 기업에서는 프로세스에 대한 자동화 부분에 초점을 맞추고 있음
배경 및 이슈
소프트웨어/시스템
- 이원화된 시스템 및 소프트웨어 관리
- 엔지니어 의존적 소프트웨어 설치
장애 대처 능력
- 사용량 폭주시 시스템 구성의 즉각 대처 어려움
- 단편적인 모니터링에 의한 수동 대처
대응 방안
시스템 설치/구성 자동화
- 웹 서버/미들웨어/데이터베이스
- VM에 대한 운영 자동화 구성
장애대응 모니터링/자동확장
- 시스템 자원의 자동 증감
- 로드밸런싱/클러스터링 자동참
여
오픈소스 SW 기반의 도구 개발
- 개발 커뮤니티 확산, 커미터 양성
- 오픈소스 기반의 SW 스택 구성
기대 효과
서비스 운용 효율성
- 시스템 운영 비용에 대한 절감
- 중앙 집중형 관리 시스템 구성
무정지 시스템 제공
- 사용량에 따른 시스템 자동 확장/감소
- 시스템 유연성, 확장성 증대
오픈소스SW 개발 가이드 제시
- 오픈소스SW 개발 방법에 대한 개발자
참여
- 자체 개발SW를 통한 이미지 강화
오픈소스 SW 활성화 정책
- 기업 내부의 오픈소스SW 활성화 정책
- 오픈소스 원천 기술 확보
• 자동 설치/구성(Provisioning): IT인프라 자원을 사용자 요구사항에 맞게 할당, 배치, 배포하여 시스템을 즉시 사용할 수 있도록 만드는 것
• 자동 확장(Auto Scaling): 시스템에 설정된 임계치에 의하여 사용량 등의 증가시 자동으로 확장하여 로드밸런싱에 참여. 예) 수강신청 시스템, 연
말정산 간소화 시스템, 스포츠 문자 중계 시스템 등
시스템자동화프로세스
16. 16
자동화 기대효과
실시간 장애대응
클라우드 가상머신 리소스
부족 등으로 인한 업무
프로세스에 대한 무중단
아키텍처 구현
비용 절감
기존 운영 관리에 소요되던
많은 시간과 서비스 인터페
이스 모듈 정형화를 통한
서비스 표준화
즉시 대응
패치 등이 변경에 대한 자동
화를 수행함으로써 시스템적
인 변화에 즉각적으로 대응함
으로써 실시간 적용 구현
경쟁력 향상
수작업으로 발생할 수 있는
문제점을 최소화함으로써 시
스템 운영에 대한 안전성
확보와 경쟁력 향상
기술적 측면
• 자동 스케일링 핵심 기술 내재화
• 확장형 인터페이스 아키텍처
• 서비스 재활용 극대화
• 타 시스템 연계 유연성 및 통합
프로세스 측면 비즈니스 측면
• 운영 프로세스 표준화 및 자동화
• 요구에 따른 처리 프로세스 유연성 극대화
• 업무 생산성, 운영 및 효율성 극대화
• 운영 관리 프로세스 표준 정립
• 운영 비용 절감으로 인한 총 소유 비용에
대한 감소 효과
• 무중단 서비스 제공을 통한 고객 신뢰성
증대
• 서비스 재조합을 통한 비즈니스 민첩성
증대
최적의 운영자동화
솔루션 개발에 의한 운영 표준 수립, 장애 대응 체계 마련, 운영 비용 감소 및 기업 경쟁력 확보
시스템자동화프로세스
17. 17
영역별 고려사항
요구기능
• 시스템 입고시 OS 설치
구성
• OS 버전별 설치,
하이퍼바이저 설치
• IP할당, 디스크 구성
요구기능
• WEB/WAS/DB 런타임
설치 구성
• CMS, 모니터링 에이전트
설치
요구기능
• 운영 체제(Linux) 패치(보안,
버그 등) 적용
• 시스템 소프트웨어 버전
업그레이드(WEB/WAS/DB)
요구기능
• 애플리케이션 버전 관리
• 빌드/배포 시스템에 대한
반자동화 구성(하이브리드
디플로이)
OS/하이퍼바이저 설치
시스템 소프트웨어,
에이전트 설치
패치 관리 애플리케이션 배포
서버, 하이버바이저, 패치, 리소스, 애플리케이션에 대한 프로비저닝 제공 Supported by
OpenSource Cousulting
Enhanced
시스템 구축에 대한 모든 프로세스 영역에 대한 검토 필요
1) PXE: Preboot Execution
Environment
시스템자동화프로세스
18. 18
시스템 자동화 대상 영역
Infrastructure
Middleware
Application
물리적 머신
VM
… • 서비스 별 VM deploy 상황
• VM 상태 모니터링
• VM 사용량 모니터링(CPU, 메모리,…)
• 자동 스케일링
VM VM VM
DB
WAS
WEB Server
3rd Party
Solution
Log DB
Log File
• 프로비저닝/환경설정
- 소프트웨어 자동설치
- 설치 소프트웨어 환경 구성 설정
• 솔루션 별 맞춤형 모니터링
- 적절한 log 수집 쿼리를 지정하여
Log DB의 내용을 수집
- 정규 표현식 기반의 파일 로그 수집
물리적 머신
…
플랫폼의 서비스 구성 요소 - IaaS 인프라 위에 웹 서버, 미들웨어 및 데이터베이스 서버
구성
상위 애플리케이션은 각 비즈니스에 따라 별도로 구축되어 관리
시스템자동화프로세스
19. 19
Peacock Introduction
클라우드 환경의 업무 운영을 위한 OS, DBMS, WEB, WAS 등의 설치, 구성, 배포, 패치 관리 등에 필요한 운영 자동화 서버 및 에이전트
사용자가 폭주하는 특정 시간 또는 기간에 발생하는 상황에 능동적으로 대처할 수 있는 자동 확장 및 감소 기능을 통해 장애 대응 및 운영
효율성 극대화
소프트웨어 로드 밸런서를 활용한 동적 로드 밸런싱 기능 추가와 후단 머신에 대한 다양한 알고리즘 적용 및 구성을 통한 관리
Core Modules
Operation Management Monitoring
서비스 상태 감시 성능 감시소프트웨어 관리 운영 프로세스 관리
가상화 관리 인스턴스 관리
Operator
Admin.
로그수집 뷰어 통계 정보
IAM
사용자 인증
권한 제어
명령어
서비스 접근 통제
필터링 (Filtering) 암호화 (Encryption)
Scaling/Provisioning
로드 밸런서 OS 프로비저닝
자동 스케일링
소프트웨어
프로비저닝
User Interface & Control Channel
ControlRepository
IaaS Orchestration
20. 20
Peacock 시스템 아키텍처
시스템특징
특징1
특징2
특징3
De-facto(사실상
표준) 오픈소스를
활용한 범용성
운영환경 및
업무환경에
최적화된 응용 구조
중앙 집중화된
관리를 위한 관리자
포털 제공
솔루션영역 연계대상
오픈소스 기반 클라우드 운영 자동화 솔루션
시스템 관리 리포지토리
열람·활용관리
패키지 관리SW관리
관리자 포털
구성관리 그룹 관리사용자관리 가상화 관리
서버 관리
모니터링
MySQL
톰캣
JBoss
아파치
기타
RHEV, AWS
에이전트관리
메모리CPU 디스크
관리 데이터베이스
자동확장
통지임계치 HAProxy
호스트
데이터센터
네트워크
가상머신
21. 21
Peacock 시스템 상태 모니터링
• Server Summary: 현재 접속된 가상화 관리자의 내용을 포함, 현재 가상머신의 갯수, 템플릿, 인스턴스 구동수, 문제가 발생하는 서버에 대한 알람 정보
• Project Summary: ALM을 통하여 현재 사업부서에서 사용하고 있는 프로젝트에 대한 정보로써 프로젝트 수, SVN 리포지토리의 수, Jenkins Job의 수
• S/W Summary: 현재 관리중인 인스턴스들에 대한 소프트웨어 설치 요약 정보를 표시합니다. Jboss EWS(HTTPD), JBoss EWS(Tomcat), JBoss EAP5의 현재
설치된 소프트웨어 정보
• 하위 그래프: 그래프는 현재 높은 사용량을 보이는 서버의 목록을 상위부터 5개를 보여줌. 각 CPU, Memory, 디스크 정보를 보여주며, 문제가 발생하는 서버를
쉽게 찾을 수 있도록 도와줌
22. 22
Peacock 소프트웨어 프로비저닝
소프트웨어 설치 설치 결과 설정 확인 설정 변경사항 확인
• 모든 인스턴스의 소프트웨어 구성 정보를 표준화하여, 전체 프로젝트의 설정에 대한 일관성을 부여하는 것이 가능함
• 관리자가 임의로 소프트웨어의 설정 정보를 수정하는 것을 확인하고, 변경사항에 대한 내용 히스토리를 모두 기록하여 추적함
• 소프트웨어 설치, 설정 변경, 삭제를 통합된 중앙 관리 콘솔을 통하여 수행
27. 27
OpenStack Controller HA 구성
Pacemaker & HA-Proxy
Controller1 ->
controller3
Controller1의
component Stop
28. 28
OpenStack Tuning
Galera cluster Active-backup 설정
# vi /etc/haproxy/haproxy.cfg
----------------------------------------------------------------------------------------------
listen galera_cluster
bind 10.0.0.100:3306
mode tcp
balance leastconn
option mysql-check user haproxy_check
server controller1 10.0.0.101:3306 check inter 2000 rise 2 fall 5
server controller2 10.0.0.102:3306 check inter 2000 rise 2 fall 5 backup
server controller3 10.0.0.103:3306 check inter 2000 rise 2 fall 5 backup
----------------------------------------------------------------------------------------------
Multi-Master로 설정 시, 이슈 발생하여 Active-backup으로 변경
30. 30
OpenStack Tuning
nova.conf 수정
# vi /etc/nova/nova.conf
---------------------------
[libvirt]
cpu_mode=host-model
---------------------------
Instance 의 CPU
31. 31
Instance 의 CPU
OpenStack Tuning
nova.conf 수정
# vi /etc/nova/nova.conf
---------------------------
[libvirt]
cpu_mode=host-passthrough
---------------------------
출처 : http://openstack-in-production.blogspot.kr/2015/08/cpu-model-selection-for-
high-throughput.html
32. 32
OpenStack with CEPH
SSD를 Journal disk로 설정
# ceph-deploy osd create --zap-disk osc-ceph001:/dev/sdc:/dev/sda4 osc-
ceph001:/dev/sdd:/dev/sda5 osc-ceph001:/dev/sde:/dev/sda6
Glance에 Image는 raw format으로 업로드
Ceph는 qcow2를 지원하지 않음, qcow2 image 사용하면, 인스턴스 생성 시 compute-node에서 qcow2
-> raw로 변환(local disk 사용, convert 시 CPU 부하)