¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 715°Ç
   
How to install and setup Monasca - 2
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2015-07-03 (±Ý) 15:10 Á¶È¸ : 5650
                                
How to install and setup Monasca - 2
# git clone https://github.com/icclab/monasca-sample-config.git
# mkdir -p /var/log/monasca
# chmod o+w /var/log/monasca/

# git clone https://github.com/stackforge/monasca-common.git
# cd monasca-common
# mvn clean install
.........................
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4:42.221s
[INFO] Finished at: Fri Jul 03 17:09:49 KST 2015
[INFO] Final Memory: 10M/172M
[INFO] ------------------------------------------------------------------------
  ¡Ø  mvn - Command to start the Maven system
# cd ..

# git clone https://github.com/stackforge/monasca-api.git
# cd monasca-api
# mvn package
.........................
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:20.359s
[INFO] Finished at: Fri Jul 03 17:14:01 KST 2015
[INFO] Final Memory: 5M/105M
[INFO] ------------------------------------------------------------------------
# cd ..
# dpkg -i monasca-api/java/debs/binaries/*.deb
# mkdir /etc/monasca/api
# cp monasca-sample-config/monasca-api/api-config.yml /etc/monasca/api/
# service monasca-api restart

# git clone https://github.com/stackforge/monasca-persister.git
# cd monasca-persister
# mvn package
.........................
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 48.151s
[INFO] Finished at: Fri Jul 03 17:19:09 KST 2015
[INFO] Final Memory: 5M/105M
[INFO] ------------------------------------------------------------------------
# cd ..
# dpkg -i monasca-persister/java/debs/binaries/*.deb
# mkdir /etc/monasca/persister
# cp monasca-sample-config/monasca-persister/persister-config.yml /etc/monasca/persister/
# service monasca-persister restart

# git clone https://github.com/stackforge/monasca-thresh.git
# cd monasca-thresh
# mvn package
# cd ..
# dpkg -i monasca-thresh/thresh/debs/binaries/*.deb
# mkdir /etc/monasca/thresh
# cp monasca-sample-config/monasca-thresh/thresh-config.yml /etc/monasca/thresh/
# service monasca-thresh restart

# git clone https://github.com/stackforge/monasca-thresh.git
# cd monasca-thresh
# mvn package
# cd ..
# dpkg -i monasca-thresh/thresh/debs/binaries/*.deb
# mkdir /etc/monasca/thresh
# cp monasca-sample-config/monasca-thresh/thresh-config.yml /etc/monasca/thresh/
# service monasca-thresh restart

# apt-get install python2.7-dev
# pip install --upgrade monasca-notification
# mkdir -p /etc/monasca/notification
# cp monasca-sample-config/monasca-notification/notification-config.yaml /etc/monasca/notification/
# adduser --system --group --no-create-home monasca-notification
# mkdir -p /var/log/monasca/notification
# chown monasca-notification:monasca-notification /var/log/monasca/notification/
# sudo -Hu monasca-notification monasca-notification /etc/monasca/notification/notification-config.yaml

................
.........

# apt-get install sysstat -y
# pip install --upgrade monasca-agent
# monasca-setup -u monasca-agent -p password --project_name monasca -s monitoring --keystone_url http://115.68.145.36:35357/v3 --monasca_url http://monasca:8080/v2.0 --config_dir /etc/monasca/agent --log_dir /var/log/monasca/agent --overwrite

# pip install --upgrade monasca-ui python-monascaclient
# ln -s /usr/local/lib/python2.7/dist-packages/monitoring/enabled/_50_admin_add_monitoring_panel.py /opt/stack/horizon/openstack_dashboard/local/enabled/_50_admin_add_monitoring_panel.py
# ln -s /usr/local/lib/python2.7/dist-packages/monitoring/ /opt/stack/horizon/monitoring
# cd /opt/stack
# git clone https://github.com/hpcloud-mon/grafana.git
# ln -s /opt/stack/grafana/src/ /opt/stack/horizon/static/grafana
# cd /opt/stack/horizon
# python manage.py compress
sudo service apache2 restart

À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.