[오픈소스컨설팅] Red Hat ReaR (relax and-recover) Quick GuideJi-Woong Choi
본 문서는 RHEL에 내장된 재해복구솔루션 ReaR (Relax and Recover)를 이용하여 OS 영역의 데이터를 백업하고 복구하는 방법을 다루고 있습니다. ReaR는 iso를 비롯한 다양한 백업 데이터 포맷을 지원하나, 이 문서에서는 CD/DVD 미디어 반입/보관이 보안상 대부분 허용되지 않는 기업 환경에서도 원활히 사용할 수 있는 PXE boot를 지원하는 포맷으로 ReaR 백업 데이터를 생성하고 복구하는 방법만을 자세히 설명합니다.
2015년 하반기에는 총 7건의 공유자료를 slideshare에 게시하였습니다.
오픈스택, pacemaker, Docker 등과 같은 클라우드 인프라 구축 기술 정보를 만나 보세요.
- 2015. 07 ~ 2016. 03사이의 크리티컬 이슈 해결방안
- 유용한 팁 정보 등의 내용
[오픈소스컨설팅] Red Hat ReaR (relax and-recover) Quick GuideJi-Woong Choi
본 문서는 RHEL에 내장된 재해복구솔루션 ReaR (Relax and Recover)를 이용하여 OS 영역의 데이터를 백업하고 복구하는 방법을 다루고 있습니다. ReaR는 iso를 비롯한 다양한 백업 데이터 포맷을 지원하나, 이 문서에서는 CD/DVD 미디어 반입/보관이 보안상 대부분 허용되지 않는 기업 환경에서도 원활히 사용할 수 있는 PXE boot를 지원하는 포맷으로 ReaR 백업 데이터를 생성하고 복구하는 방법만을 자세히 설명합니다.
2015년 하반기에는 총 7건의 공유자료를 slideshare에 게시하였습니다.
오픈스택, pacemaker, Docker 등과 같은 클라우드 인프라 구축 기술 정보를 만나 보세요.
- 2015. 07 ~ 2016. 03사이의 크리티컬 이슈 해결방안
- 유용한 팁 정보 등의 내용
[오픈소스컨설팅] 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 테스트, 빌드, 배포까지의 일련의 과정이 자동으로 진행되는지를 테스트 하는 내용입니다.
This document is aimed for IT operators and related people to make sense of IT automation. And ansible is just a tool. but engineer can acquire automation skill easily with ansible. no needs to deep dive into tool itself. just use it then your work would be happier.
오픈스택이 가진 기술에 대하여 설명합니다.
1. 오픈소스기반 OpenStack 클라우드 시스템
2. OpenStack 기술 개요 및 동향
3. OpenStack 의 Community 개발 체계
4. OpenStack HA를 위한 방안
5. OpenStack SDN 개발 동향
6. Neutron OVS-DPDK 가속화와 구현방안
Hyperledger Fabric practice material for Korea Polytechnics students
- Build Your First Network
- Chaincode Development
- Chaincode Devolopment via IBM Blockchain Platform
- Balance Transfer
- Vote system example using 'Balance Transfer' tutorial
This document allows you to improve function on your build guide line in company. It includes Jenkins installation, configuration with Maven, revision check and so on.
Deview 2013 :: Backend PaaS, CloudFoundry 뽀개기Nanha Park
# Part 1
개발자의 주위환경에 대해 살펴보고 Cloud Foundry overview, Cloud Foundry 를 구성하는 components 마지막으로 Deploy 환경에 대해 알아보겠습니다.
# Part 2
설치부터 코드까지, 데모찍은 동영상은 추후 제공예정
부족한 부분은 nanhap@gmail.com 으로 문의메일 주시면 성심성의껏 답변 드리겠습니다. 감사합니다.
[오픈소스컨설팅] 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 테스트, 빌드, 배포까지의 일련의 과정이 자동으로 진행되는지를 테스트 하는 내용입니다.
This document is aimed for IT operators and related people to make sense of IT automation. And ansible is just a tool. but engineer can acquire automation skill easily with ansible. no needs to deep dive into tool itself. just use it then your work would be happier.
오픈스택이 가진 기술에 대하여 설명합니다.
1. 오픈소스기반 OpenStack 클라우드 시스템
2. OpenStack 기술 개요 및 동향
3. OpenStack 의 Community 개발 체계
4. OpenStack HA를 위한 방안
5. OpenStack SDN 개발 동향
6. Neutron OVS-DPDK 가속화와 구현방안
Hyperledger Fabric practice material for Korea Polytechnics students
- Build Your First Network
- Chaincode Development
- Chaincode Devolopment via IBM Blockchain Platform
- Balance Transfer
- Vote system example using 'Balance Transfer' tutorial
This document allows you to improve function on your build guide line in company. It includes Jenkins installation, configuration with Maven, revision check and so on.
Deview 2013 :: Backend PaaS, CloudFoundry 뽀개기Nanha Park
# Part 1
개발자의 주위환경에 대해 살펴보고 Cloud Foundry overview, Cloud Foundry 를 구성하는 components 마지막으로 Deploy 환경에 대해 알아보겠습니다.
# Part 2
설치부터 코드까지, 데모찍은 동영상은 추후 제공예정
부족한 부분은 nanhap@gmail.com 으로 문의메일 주시면 성심성의껏 답변 드리겠습니다. 감사합니다.
A presentation on our experience at Ingram Content Group with Grafana and MySQL. In an enterprise environment it is sometimes necessary to keep data in a traditional, general purpose SQL database such as MySQL or PostgreSQL. These slides explore the challenges and benefits of using Grafana with an SQL database in a large enterprise production setting.
Technology changes and process changes in how people build and manage Internet systems have driven a need for a new approach to monitoring. We talk about why, what and how.
As always the conference was opened with a speech by Alexei Vladishev, the creator of Zabbix, glancing over the accomplishments Zabbix made during the past year, mostly focusing on the features and improvements that await us all in the Zabbix 3.0 release.
Zabbix Conference 2015
Most often Zabbix users will monitor Linux hosts using the Zabbix agent, however SNMP is not only an option, it's actually a very viable one. Andrew Nelson will describe his experience configuring Zabbix to monitor a Linux environment of over 500 systems using only SNMP.
Zabbix Conference 2015
피보탈 클라우드 파운더리를 사용하여 애플리케이션과 관련 서비스를 배포하고 운용하는 것에 대한 장점 및 이를 멀티 클라우드에서 사용할 수 있는 방법에 대해 설명된 슬라이드 입니다. 마이크로 서비스와 클라우드, 애플리케이션의 서비스 연동에 어떤 내용이 중요한지에 대해 개괄적으로 설명 됩니다.
Confd, systemd, fleet을 이용한 어플리케이션 배포 in CoreOS충섭 김
Confd, systemd, fleet을 이용한 어플리케이션 배포 in CoreOS
Docker Seoul Meetup #2에서 발표한 자료입니다.
CoreOS에서 confd와 sidekick service를 이용한 서비스 배포에 대한 내용입니다.
http://www.youtube.com/watch?v=5ixJCM6pAcg
영상과 함께 보시면 더 좋습니다 :)
OpenStack DevStack Install - 2부 (Multi-nodes)Ian Choi
OLC 온라인 강좌 중 DevStack에 대한 두 번째 자료입니다.
( URL: http://olc.kr/course/course_online_view.jsp?id=480&cid=523 )
DevStack은 OpenStack을 실제 구성하는 대신, 개발 및 테스트 용도로 쉽게 설치 가능한 스크립트입니다.
2부에서는 Multi-nodes 모드 설치 과정을 설명하며, Icehouse Release 기반의 실습 내용을 포함하였습니다.
2. Last Updated: 2014.9.29
Last Updated by: slee@pivotal.io schoi@pivotal.io
문서이력
버전 일자 이력사항 작성자
1.0 2014.09.05 문서초안 이상희
1.1 2014.09.29 세부 내역 추가 최승돈
3. 목차
문서이력 ............................................................................................................................. 2
System Configuration ..................................................................................................... 5
Software Download......................................................................................................... 5
Prerequisites.................................................................................................................... 6
Ops Manager 설치 ............................................................................................................ 9
Elastic Runtime 설치 ..................................................................................................... 18
Cloud Foundry CLI 설치 ................................................................................................ 26
Configure MySQL ........................................................................................................... 26
New Account 생성 / 설정 .............................................................................................. 27
HAProxy IP 설정 ............................................................................................................. 29
deploy 환경 설정 ............................................................................................................ 31
Appendix: References................................................................................................... 36
Appendix: Vmware operation manager 설치 ......................................................... 39
4. About This Documentation
본 문서는 Pivotal CF 1.2 의 설치 과정에 대해 기술한다. 본 문서는 공식적인
Pivotal 의 문서는 아니며, 에러를 포함할 수 있으므로, 실제 운영계 시스템의
설치시에는 반드시 공식 문서 http://docs.pivotal.io 를 참조하도록 한다.
본 문서의 작성에 참조한 사이트들은 다음과 같다.
1. vcenter 설치
- http://pivotallabs.com/worlds-smallest-iaas-part-1/
2. pcf 설치
- http://pivotallabs.com/worlds-smallest-iaas-part-2/
3. Configuring Elastic Runtime
- http://pivotallabs.com/worlds-smallest-iaas-part-3-paas/
4. pcf_docs
- http://docs.pivotal.io/pivotalcf/getstarted/index.html#system
5. System Configuration
Pivotal CF 설치 시에 필요한 IP list 들과 각 설정 사항들은 다음과 같다. 하기
내용은 내부 시스템에 한정하며, 고객사에 설치시는 네트워크 엔지니어와
협의하여 필요 IP 를 할당하여 진행하도록 한다.
내역 IP 참고
Vmware ESXi 10.35.106.178
Vmware vCenter 10.35.106.175 내부: 10.10.10.200
NAT 10.35.106.177:8443 PCF: 10.10.10.101:443
Gateway 10.10.10.254
Internal IP 10.10.10.102 ~ 199
Domain Pcftest175.com
HA Proxy 10.10.10.199
DNS 10.35.106.179 10.10.10.250
Software Download
다음의 사이트에서 PCF 설치 미디어를 다운받는다. 현재(2014.9.29) 최신 버전은
1.3 이며, 본 문서는 1.2 버전을 기준으로 설치하였다.
PCF download : http://network.pivotal.io
PCF document : http://docs.pivotal.io
Media 의 이름과 각 역할은 다음과 같다
- ova : Ops Manager
- cf-xxx.pivotal : CF
- P-mysql-xxx.pivotal = MySQL Service
7. * 주의 사항
1. pcf 설치시 iexplorer 가 아닌 다른 browser 에서 실행(eg:chrome)하기를 권고함.
Vcenter 설치
1. EXSI 설치
- 설치
- Network Device 추가 (구성>네트워킹, vmnetwork 로 추가 후 이름 변경
Internal ) : internal connection 을 위한 별도 가상 네트워크 구축
2. Vcenter 설치
- ESXi 서버 IP 를 등록해서 Vcenter. ova 파일 deploy
8. 3. Vcenter 설치 후에 network device 추가
- 시스템 부팅
- root / vmware
- IP 할당
# yast
. 탭으로 옮김
. ip 할당
. gateway (routing)
# 추가 device 설정
. internal
- vcenter EUL
https://IP:5480
- Network Device 추가
. Internal
- vcenter 활성화
- data center 생성
- 클러스터 생성
9. - 클러스터 생성 후 호스트 추가(esxi 서버 추가) --참고 사이트 1. vcenter 참조
- vcenter 웹클라이언트
https://10.35.106.175:9443/vsphere-client/
에서 vSphere Client 를 다운받아 설치 후 접속한다.
Ops Manager 설치
.
vSphere Client 에서 File OVF Template 배포 를 시작한다
26. Cloud Foundry CLI 설치
인터넷이 연결된 환경이라면 Developer Console 상의 Tool 메뉴에서, 인터넷이
연결되지 않았다면 하기의 사이트에서 Client OS 에 알맞은 CLI 툴을 다운받도록
한다.
https://github.com/cloudfoundry/cli/releases
Configure MySQL
Ops Manager 에서 MySQL 서비스를 설치한다.
Import 후 Add 클릭.
27. Apply Change, Ignore CPU Core 에러할것.
New Account 생성 / 설정
- 웹 push 를 위한 계정 생성 (테스트시에는 필요 없음, admin 으로 처리)
28.
29. HAProxy IP 설정
외부 서비스 연결을 위해서 HA Proxy 상에 External IP 를 설정한다.
vCenter 서버 리스트중에서 HA Proxy Job 을 담당하는 서버를 확인하여 접속한다.
31. Root 로 접속하여 /etc/network/interface 에 external ip 를 기술하고 network
restart 하여 적용 사항을 반영시킨다.
확인
deploy 환경 설정
# Client (개인 PC)에 host (haproxy) 추가
# 여기서는 별도의 외부 DNS 가 없으므로 client 내의 hosts 파일로 요청 URL 에
대한 naming resolution 을 처리한다. App 이 등록될 때마다 subdomain 을 hosts
파일에 기술하여야 한다.
koxxlees55m1:~ lees55$ sudo vi /etc/hosts
Password:
32. 127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
10.35.106.179 api.pcftest175.com
10.35.106.179 login.pcftest175.com
10.35.106.179 console.pcftest175.com
10.35.106.179 loggregator.pcftest175.com
10.35.106.179 orders.pcftest175.com
10.35.106.179 music.pcftest175.com
## cf login 시 패스워드 확인
## cf login
koxxlees55m1:~ lees55$ cf api api.pcftest175.com
Setting api endpoint to api.pcftest175.com...
FAILED
Invalid SSL Cert for api.pcftest175.com
TIP: Use 'cf api --skip-ssl-validation' to continue with an insecure API
endpoint
koxxlees55m1:~ lees55$ cf api --skip-ssl-validation api.pcftest175.com
Setting api endpoint to api.pcftest175.com...
OK
API endpoint: https://api.pcftest175.com (API version: 2.2.0)
Not logged in. Use 'cf login' to log in.
33. koxxlees55m1:~ lees55$ cf login -u push_console -p
8b58f95707888d4c05f1
API endpoint: https://api.pcftest175.com
Authenticating...
OK
Select an org (or press enter to skip):
1. system
2. pivotal_kr
Org> 2
Targeted org pivotal_kr
Targeted space development
API endpoint: https://api.pcftest175.com (API version: 2.2.0)
User: push_console
Org: pivotal_kr
Space: development
koxxlees55m1:~ lees55$ pwd
Push 테스트
[root@nat pcf]# cf push Orders -i 1 -m 512M -p pcfdemo.war
Creating app Orders in org pivotal_kr / space development as push_console...
OK
Creating route orders.pcftest175.com...
OK
Binding orders.pcftest175.com to Orders...
OK
Uploading Orders...
Uploading app files from: pcfdemo.war
Uploading 10.9M, 96 files
OK
Starting app Orders in org pivotal_kr / space development as push_console...
OK
-----> Downloaded app package (8.4M)
34. -----> Java Buildpack Version: v2.1.2 (offline) |
https://github.com/cloudfoundry/java-buildpack.git#074fd9a
-----> Downloading Open Jdk JRE 1.7.0_55 from
http://download.run.pivotal.io/openjdk/lucid/x86_64/openjdk-1.7.
0_55.tar.gz (found in cache)
Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.3s)
-----> Downloading Spring Auto Reconfiguration 0.8.9 from
http://download.run.pivotal.io/auto-reconfiguration/
auto-reconfiguration-0.8.9.jar (found in cache)
Modifying /WEB-INF/web.xml for Auto Reconfiguration
-----> Downloading Tomcat Instance 7.0.53 from
http://download.run.pivotal.io/tomcat/tomcat-7.0.53.tar.gz (fou
nd in cache)
Expanding Tomcat to .java-buildpack/tomcat (0.1s)
-----> Downloading Tomcat Lifecycle Support 2.1.0_RELEASE from
http://download.run.pivotal.io/tomcat-lifecycle -
support/tomcat-lifecycle-support-2.1.0_RELEASE.jar (found in cache)
-----> Downloading Tomcat Logging Support 2.1.0_RELEASE from
http://download.run.pivotal.io/tomcat-logging-sup
port/tomcat-logging-support-2.1.0_RELEASE.jar (found in cache)
-----> Uploading droplet (47M)
0 of 1 instances running, 1 starting
0 of 1 instances running, 1 starting
0 of 1 instances running, 1 starting
0 of 1 instances running, 1 starting
1 of 1 instances running
App started
Showing health and status for app Orders in org pivotal_kr / space
development as push_console...
OK
requested state: started
instances: 1/1
usage: 512M x 1 instances
urls: orders.pcftest175.com
state since cpu memory disk
#0 running 2014-09-02 12:33:07 PM 0.0% 365.4M of 512M 108.1M of
35. 1G
[root@nat pcf]# cf services
Getting services in org pivotal_kr / space development as push_console...
OK
No services found
[root@nat pcf]#
## 웹 콘솔에서 확인
Web application 확인
37. koxxlees55m1:PCF_Certi lees55$ c f apps
Getting apps in org pivotal_kr / space development as push_console...
OK
name requested state instances memory disk urls
Music started 1/1 512M 1G music.pcftest175.com
Orders started 2/2 512M 1G orders.pcftest175.com
koxxlees55m1:PCF_Certi lees55$ c f scale orders --i 5 -m 512M
This will cause the app to restart. Are you sure you want to scale Orders?> y
Scaling app Orders in org pivotal_kr / space development as push_console...
OK
Stopping app Orders in org pivotal_kr / space development as push_console...
OK
Starting app Orders in org pivotal_kr / space development as push_console...
OK
0 of 5 instances running, 5 starting
….
38. 0 of 5 instances running, 4 starting, 1 down
0 of 5 instances running, 5 starting
1 of 5 instances running, 4 starting
App started
Showing health and status for app Orders in org pivotal_kr / space development as
push_console...
OK
requested state: started
instances: 5/5
usage: 512M x 5 instances
urls: orders.pcftest175.com
state since cpu memory disk
#0 starting 2014-09-02 04:49:41 PM 0.0% 0 of 0 0 of 0
#1 starting 2014-09-02 04:49:41 PM 0.0% 0 of 0 0 of 0
#2 starting 2014-09-02 04:49:41 PM 0.0% 0 of 0 0 of 0
#3 running 2014-09-02 04:50:05 PM 0.0% 333.8M of 512M 108.1M of 1G
#4 starting 2014-09-02 04:50:01 PM 0.0% 0 of 0 0 of 0
koxxlees55m1:PCF_Certi lees55$ cf apps
Getting apps in org pivotal_kr / space development as push_console...
OK
name requested state instances memory disk urls
Music started 1/1 512M 1G music.pcftest175.com
Orders started 5/5 512M 1G orders.pcftest175.com
koxxlees55m1:PCF_Certi lees55$ c f scale orders --i 1 -m 512M
This will cause the app to restart. Are you sure you want to scale Orders?> y
Scaling app Orders in org pivotal_kr / space development as push_console...
OK
Stopping app Orders in org pivotal_kr / space development as push_console...
OK
Starting app Orders in org pivotal_kr / space development as push_console...
OK
0 of 1 instances running, 1 starting
0 of 1 instances running, 1 starting
0 of 1 instances running, 1 starting
0 of 1 instances running, 1 starting
1 of 1 instances running
App started
Showing health and status for app Orders in org pivotal_kr / space development as
39. push_console...
OK
requested state: started
instances: 1/1
usage: 512M x 1 instances
urls: orders.pcftest175.com
state since cpu memory disk
#0 running 2014-09-02 04:53:24 PM 0.0% 334.1M of 512M 108.1M of 1G
koxxlees55m1:PCF_Certi lees55$
Appendix: Vmware operation manager 설치
설치 파일 : appliance 으로 설치
VMware-vcops-5.8.2.0-1885282-vapp.ova
필요한 사항 : IP 두 개 필요