53.
Pure OS Installation
Network Configuration
Disk NFS
Configuration
OS Update
User Accounts
Management
NTP Server
Configuration
Mandatory Package
Installation
Configuration
Monitoring Agent
Installation Conf
Log Agent Installation
Conf
Post Installation
Ready to install
OpenStack!!!
Netra
66. Netra
Full Software Stack Provisioning by Exntended CloudFormation
Ruby를 이용해 개발하며 지원하는 OS는 Linux, Unix, Windows,
OSX등이다. Netra는 API기반의 서비스로 개발되어 외부에서 API 요
청이 왔을때 이에 해당하는 일을 처리하며 Extended
CloudFormation이용해 Full Software Stack을 기술하면 사용자가
선택한 가상서버, 네트워크, 스토리지를 이용해 필요한 소프트웨어를
설치하고 환경설정하는 등의 프로비져닝에 관련된 모든 기능을 제공
Netra
76. Netra Deployment Model
Netra Server
API
SSH
Netra Proxy
Task Runner
Server
Agent
Server
Agent
Server
Agent
API
Netra
Frontend
Netra Orchestrator
SSH
Message
Task Runner
API
Task Runner
Puppet
Manager
Netra
Repository
Netra
99.
• ERB Template
install
#
Used
with
an
HTTP
install
to
specify
where
the
install
files
are
located
url
-‐-‐url
%=
#{@pxetemplate['proxy_url']}/files
%
• Snippet
echo
snippets
:
post_install
#
Inform
the
build
system
that
we
are
done.
%=
snippets
post_install
%
Netra
107.
• CloudFormation
• AWS에서 필요한 인프라환경을 생성하기 위
한 템플릿
• CloudFormation 특징
• Transparent and Open
• Declarative and Flexible
• Customized via Parameters
• Parameter, Mapping, Resource,
Outputs
• Extended CloudFormation
• Role Type
• Netra Resource Type
• ERB Templates
• Task Flow Management
hSp://aws.typepad.com/aws/2011/02/cloudformaXon-‐create-‐your-‐aws-‐stack-‐from-‐a-‐recipe.html
Netra
115.
{
Name: OpenStack,
Template: OpenStack,
Description: description,
Version: 2014-01-21,
Parameters: {
grizzly::region: {
Description: description,
Type: string,
MinLength: 1,
MaxLength: 255,
Default: openstack,
AllowedPattern: ,
ConstraintDescription: ConstraintDescription
},
Mappings: {},
Resources: {
::grizzly::role::controller: {
Type: Netra::Role,
Properties: {
fqdn: netra168.netranet.local
},
Metadata: {
installIndex: 1
}
},
},
Outputs: {}
}}
Local
Repository
API
Netra
Repository
“Role”은 특정 서버가 어떤 역할을 수행해야 하는지를 지칭하는 것이
다. 예를 들어 Virtual Server에 Database Server를 운영하고 싶다면
“Database Role”을 생성하고 이 Role에 MySQL, PostgreSQL등 자
신이 활용하고자 하는 소프트웨어를 설치할 수 있는 DSL 스크립트를 이
름을 기술한다. Role은 복수개의 DSL 스크립트를 포함할 수 있으며 수
정과 삭제가 자유롭다.
Netra