Merge "split collector service"
This commit is contained in:
commit
63c19987df
@ -3,7 +3,7 @@
|
||||
|
||||
# To enable a minimal set of Ceilometer services, add the following to localrc:
|
||||
#
|
||||
# enable_service ceilometer-acompute ceilometer-acentral ceilometer-collector ceilometer-api
|
||||
# enable_service ceilometer-acompute ceilometer-acentral ceilometer-anotification ceilometer-collector ceilometer-api
|
||||
#
|
||||
# To ensure Ceilometer alarming services are enabled also, further add to the localrc:
|
||||
#
|
||||
@ -145,6 +145,7 @@ function start_ceilometer() {
|
||||
screen_it ceilometer-acompute "cd ; sg $LIBVIRT_GROUP \"ceilometer-agent-compute --config-file $CEILOMETER_CONF\""
|
||||
fi
|
||||
screen_it ceilometer-acentral "cd ; ceilometer-agent-central --config-file $CEILOMETER_CONF"
|
||||
screen_it ceilometer-anotification "cd ; ceilometer-agent-notification --config-file $CEILOMETER_CONF"
|
||||
screen_it ceilometer-collector "cd ; ceilometer-collector --config-file $CEILOMETER_CONF"
|
||||
screen_it ceilometer-api "cd ; ceilometer-api -d -v --log-dir=$CEILOMETER_API_LOG_DIR --config-file $CEILOMETER_CONF"
|
||||
|
||||
@ -160,7 +161,7 @@ function start_ceilometer() {
|
||||
# stop_ceilometer() - Stop running processes
|
||||
function stop_ceilometer() {
|
||||
# Kill the ceilometer screen windows
|
||||
for serv in ceilometer-acompute ceilometer-acentral ceilometer-collector ceilometer-api ceilometer-alarm-notifier ceilometer-alarm-evaluator; do
|
||||
for serv in ceilometer-acompute ceilometer-acentral ceilometer-anotification ceilometer-collector ceilometer-api ceilometer-alarm-notifier ceilometer-alarm-evaluator; do
|
||||
screen -S $SCREEN_NAME -p $serv -X kill
|
||||
done
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user