컴퓨트 서비스 활성화
이번에는 컴퓨트 서비스에서 발행되는 데이터를 ceilometer 컬렉터가 수집할 수 있도록 컴퓨트 서비스의 환경설정을 변경해 보겠습니다.
1. 컴퓨트 노드에 있는 컴퓨트 서비스에는 Ceilometer가 컴퓨트 서비스 데이터를 수집할 수 있도록 에이전트를 설치해야 합니다. apt-get install 명령어를 이용해 ceilometer-agent-compute를 설치합니다.
root@compute:~# apt-get install ceilometer-agent-compute Reading package lists… Done Building dependency tree
Reading state information… Done The following packages were automatically installed and are no longer required: linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-headers-4.4.0-22 linux-headers-4.4.0-22-generic linux-image-4.4.0-21-generic linux-image-4.4.0- 22-generic linux-image-extra-4.4.0-21-generic linux-image-extra-4.4.0-22-generic Use ‘sudo apt autoremove’ to remove them. The following additional packages will be installed: ceilometer-common libsmi2ldbl python-attr python-ceilometer python- ceilometerclient python-croniter python-ipaddr python-jsonpath-rw python- jsonpath-rw-ext python-pam python-pyasn1-modules python-pysnmp4 python-pysnmp4- apps python-pysnmp4-mibs python-serial python-service-identity python-twisted python-twisted-bin python-twisted-core python-werkzeug python-wsme smitools Suggested packages: snmp-mibs-downloader python-gnocchiclient python-ceilometerclient-doc python- jsonpath-rw-ext-doc python-pam-dbg python-pysnmp4-doc doc-base python-wxgtk3.0 | python-wxgtk python-twisted-bin-dbg python-tk python-gtk2 python-glade2 python-qt3 python-wxgtk3.0 ipython python-genshi python-werkzeug-doc The following NEW packages will be installed: ceilometer-agent-compute ceilometer-common libsmi2ldbl python-attr python- ceilometer python-ceilometerclient python-croniter python-ipaddr python- jsonpath-rw python-jsonpath-rw-ext python-pam python-pyasn1-modules python- pysnmp4 python-pysnmp4-apps python-pysnmp4-mibs python-serial python-service-identity python-twisted python-twisted-bin python-twisted-core python-werkzeug python- wsme smitools 0 upgraded, 23 newly installed, 0 to remove and 46 not upgraded. Need to get 5,582 kB of archives. After this operation, 34.3 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python- ceilometerclient all 2.4.0-2 [64.0 kB] Get:2 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-croniter all 0.3.8-1 [11.1 kB] Get:3 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-jsonpath-rw all 1.4.0-1 [14.5 kB] … Setting up python-twisted (16.0.0-1) … Processing triggers for libc-bin (2.23-0ubuntu3) … Processing triggers for systemd (229-4ubuntu6) … Processing triggers for ureadahead (0.100.0-19) …