티스토리 뷰

[CloudStack] Zenoss Core 4.2.5 + CloudStack Zenpack 1.2.0 설치가이드



-참조 URL-

http://wiki.zenoss.org/Install_Zenoss#Supported_Operating_Systems

https://www.zenoss.com/product/zenpacks/cloudstack

http://wiki.zenoss.org/ZenPack:CloudStack

http://wiki.zenoss.org/Add_a_Device



-환 경-

2vCore / 4GB ram VM

OS : CentOS 6.8 64bit



-내 용-

Zenoss Core 4.2.5와 CloudStack Zenpack 1.2.0을 이용하여 CloudStack 모니터링환경을 구축합니다.




-설치 절차 Overview-

1. CentOS 6.8 64bit (2vCore / 4GB ram) 설치

2. Zenoss Core 4.2.5 설치
3. CloudStack Zenpack 1.2.0 설치
4. CloudStack Device 추가


-Zenoss License 현황-

출처 : https://www.zenoss.com/get-started

- Zenoss Core의 경우 DEVICES를 1,000개 까지 무료로 사용이 가능합니다.




-Zenoss 4.2.5 설치-

wget https://github.com/zenoss/core-autodeploy/tarball/4.2.5 -O auto.tar.gz

tar xvf auto.tar.gz
cd zenoss-core-autodeploy- *

yum -y remove mysql-libs-5.1.*

yum -y install epel-release-6-8.noarch.rpm
yum -y install epel-rpm-macros-6-16.noarch

# yum Error rpm 수동 설치 진행
-> wget dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
-> wget dl.fedoraproject.org/pub/epel/6/x86_64/epel-rpm-macros-6-16.noarch.rpm
-> rpm -ivh epel-release-6-8.noarch.rpm
-> rpm -ivh epel-rpm-macros-6-16.noarch.rpm

vi core-autodeploy.sh

:/Enabling rpmforge repo... (Enabling rpmforge repo... 검색)

try wget http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.$els.rf.$arch.rpm
구문을 아래와 같이 수정
try wget ftp://195.220.108.108/linux/dag/redhat/el6/en/x86_64/dag/RPMS/rpmforge-release-0.5.3-1.$els.rf.$arch.rpm
->  :%s/try wget http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.$els.rf.$arch.rpm/try wget ftp://195.220.108.108/linux/dag/redhat/el6/en/x86_64/dag/RPMS/rpmforge-release-0.5.3-1.$els.rf.$arch.rpm/g

vi 편집기를 저장하고 종료(:wq)

./core-autodeploy.sh



-Zenpack CloudStack 설치-

su - zenoss

wget http://wiki.zenoss.org/download/zenpacks/ZenPacks.zenoss.CloudStack/1.2.0/ZenPacks.zenoss.CloudStack-1.2.0.egg
zenpack --install ZenPacks.zenoss.CloudStack-*.egg
zenoss restart




-CloudStack Device 추가-

Parameter 

Value 

 Device to Create

Device 명 

 URL

http://x.x.x.x:8080 

 API Key

Account -> 계정유형 + 버튼 -> View Users -> Device 생성을 원하는 유저 클릭 -> Generate Keys 버튼 클릭 

 Secret Key

위에서 API Key를 생성시 자동으로 생성됨 

 Collector

localhost(자동지정) 




'Cloud > CloudStack' 카테고리의 다른 글

[CloudStack] Basic Zone 구성 시 Xen host 네트워크 설정  (0) 2017.11.14
댓글