Upload
uenginesolutions
View
185
Download
5
Embed Size (px)
Citation preview
OCE Netra
MHR Inc.
OCE Netra
Building Infrastructure
For developer & operator
Minimize Time, Effort, Cost!!!
What Actually Netra Does
APPS
Creates Pools of Resources Automates The Network
USERS ADMINS
CLOUD OPERATING SYSTEM
Connects to apps via APIs Self-‐service Portals for users
Netra is …
Ruby를 이용해 개발하며 지원하는 OS는 Linux, Unix, Windows,
OSX등이다. Netra는 API기반의 서비스로 개발되어 외부에서 API 요
청이 왔을때 이에 해당하는 일을 처리하며 DSL Template을 이용해
Full Software Stack을 기술하면 사용자가 선택한 가상서버, 네트워
크, 스토리지를 이용해 필요한 소프트웨어를 설치하고 환경설정하는
등의 프로비져닝에 관련된 모든 기능을 제공한다
DSL Template를 이용해 Full Software Stack을 오케스트레이션 할 수 있는 시스템
Why Netra?
1. OpenStack = Cloud OS
2. Dynamic Resource Usage
3. Complexity
1. OpenStack = Cloud OS
OpenStack 제공기능 클라우드 서비스를 위해 필요한기능
• Infra onboarding
• Bootstrapping
• Remedication
• Configu management
• Packaging, Patching, Upgrade
• High Availability
• Monitoring, Billing, Metrics
• User Support
• Capacity Forecasting
• Reclamation
• DNS, Firewall, Security
• Integration with other system
• Virtual Server
• Virtual Block Storage
• Virtual Object Storage
• Virtual Network
• Web Based GUI
• Virtual Machine Image Database
• Centralized Authentication
• Role Based Access Control
• Metadata Database
• Snapshot & Live Migration
• API Gateway
OpenStack = Cloud OS, not Cloud Service Platform
2. Dynamic Resource Usage
네트워크,스토리지보다 가상서버의 사용량이 제일 많음
Process in creating a virtual server
Software Installation
OS Installation
Virtual Network Virtual Storage Virtual Server
Software Configuration Verification
Simplified Deployment Scenario
3. Complexity
SW을 위해 필요한
너무 많은 오픈소스와
라이브러리
Netra Values
1. Portability
2. Automation
3. Test Deployment
Netra Template Deployment
1. Portability (Vendor Lock-in Free)
2. Automation (by DSL Template)
Software Stack
Load Balancer
Web Server
App Server
Cache Server
Database Server
Web Server
Storage
Server
Network
Computing Resource
관리자
Template 실행
3. Test Deployment
안정성 향상과 빠른 배포
고객만족 및 민첩성 증대
Netra Architecture
Broker Interface
Bare Metal Provisioner
Template Parser
Template Repository
Broker
Task Manager
API
Orchestrator
Domain Model
Template Handler
Bare Metal Provision Interface Resource Manager
Task Launcher
Error Handler
Netra 소프트웨어 구성
Netra UI Netra Orchestrator
Netra Broker
Amazon
IDC
OpenStack
Netra Broker
Netra Broker
Agent
Agent
Agent
API Message SSH
SSH
SSH
Netra Repository
API
Netra Proxy
API
DSL Template
Virtual Network
Virtual Storage
Virtual Server DSL for SW
installation & conf
DSL for SW installation & conf
DSL for SW installation & conf
Role
Role
Role
“Role”은 Virtual Server에게 할당하
는 것으로 특정 서버가 어떤 역할을 수
행해야 하는지를 지칭하는 것
Netra DSL
new_task = Common::Task::NetraTask.new_task("hello_world!!!") new_task.server do
create :name => "another", :template => "m1.tiny", :image => "cirros", :security_group => "default" delete :server => "another" snapshot :server => "another", :snapshot_name => "another_snapshot1" associate_floating_ip :server => "another" #associate_floating_ip :server => "another", :ip => "192.168.5.1" disassociate_floating_ip :server => "another", :ip => "192.168.56.193"
end new_task.disk do
create :name => "vol1", :size => 1, :type => "Performance", :description => "Test Volume" delete :disk => "vol1" backup :disk => "vol1", :backup_name => "vol1_Backup", :description => "test backup" attach_to :disk => "vdx", :server => "Netra" #attach_to :disk => "vdx", :server => "another", :device => "/dev/vdd" detach_from :disk => "vol1", :server => "another"
end new_task.run
페이스북, 1명이 서버 2만대 관리하는 비결
김우용 기자/ [email protected] 2013.11.26 / AM 10:23
페이스북은 IT인프라에 대한 매뉴얼 관리를 최대한 제거했다. 서버와
저장매체는 오픈컴퓨트프로젝트(OCP)에 기반한 디자인 덕분에 도구
없이도 교체가능하다. 사이보그(Cyborg)라 불리는 시스템은 오작동
하는 서버들을 자동으로 수리하며, 셰프(Chef) 같은 프로비저닝도구
가 수천대의 서버 관리를 도와준다.
페이스북의 최신 자동화 툴은 클러스터플래너란 것이다. 페이스북은
끊임없이 비즈니스 요구사항 변화에 맞추기 위해 수천대의 서버를 규
칙적으로 배포한다. 클러스터플래너는 전세계 데이터센터에 걸쳐 서버
클러스터의 최적 위치를 찾아준다.
그는 "우리가 효율적으로 서버 수리를 할 수 있는 건 데이터를 수집하고
분석하는 자동화된 시스템을 보유했기 때문"이라며 "사이보그는 재시
작 같은 단순한 작업을 요하는 서버수리를 시도한다"라고 설명했다.
Netra Management Console
§ 웹 브라우저를 이용해 Auto Provisioning 관련처리를 통합 관리가능 § 직관적이고 손쉬운 사용자 인터페이스 제공
VM Instance 상태 정보 보기 예시
VM Instance의 Security 설정 예시
Tenant 정보 보기 예시
Netra UI : Dashboard & Monitoring
Netra UI : Audit
§ Audit 기능을 이용해 “서버사용시작”, “사용종료”, “서버생성”, “서버삭제”등의 가상서버 사용내역을 확인할 수 있음.
Netra Audit Manager 화면
Netra Template
§ Netra Template은 소프트웨어와 Full Stack 설치 및 환경설정을 자동화하기 위한 JSON 기반의 간이 스크립트 파일임
§ Amazon Cloudformation과 호환되며, JSON 기반이기 때문에 직관적이며 학습과 활용이 간편함
§ Task Sequence Parameter 제공으로 Full Stack 구성시 순서대로 작업진행가능 함
"::netra::role::ganglia_rrdsrv": { "Type": "Netra::Role", "Description": "This is ganglia rrd server role", "Properties": { "fqdn": [], "parameters": [], "installIndex": "5", "Required": false } }, "::netra::role::kibana3_web": { "Type": "Netra::Role", "Description": "This is kibana3 web role", "Properties": { "fqdn": [], "parameters": [], "installIndex": "5", "Required": false } } }, "Outputs": {} }
{ "Name": "Netra", "Type": "Openstack::Allinone", "Template": "Havana::All-in-one", "Description": "description", "Version": "2014-03-17", "Parameters": { "General": { "admin_email": { "Description": "description", "Type": "string", "MinLength": "1", "MaxLength": "255", "Value": "[email protected]", "AllowedPattern": "", "ConstraintDescription": "ConstraintDescription", "Label": "Admin Email", "Required": false },
Netra Template 예시
Amazon Cloudformation 호환 Template
Netra UI : Global Repository
감사합니다.