User Tools

Site Tools


managing_glance_services

Managing Glance Services

Following are the primary services should be running on the openstack server :

1. glance-registry
2. glance-api



1. For glance-registry service

→ To Check the status of the service :

[email protected]:~# glance-control registry status
glance-registry is stopped
[email protected]:~# 

→ To Start the service :
[email protected]:~# glance-control registry start
Starting glance-registry
[email protected]:~# glance-control registry status
glance-registry (pid 22723) is running...
[email protected]:~#

In the same way you can also stop the service.



2. For glance-api service :

→ To check the status of the service :

[email protected]:~# glance-control api status
glance-api is stopped
[email protected]:~#

→ To Start the service :
[email protected]:~# glance-control api start
Starting glance-api
[email protected]:~# glance-control api status
glance-api (pid 22803) is running...
[email protected]:~#

In the same way you can also stop the service.



We can also validate the running processes as :

[email protected]:~# ps aux | grep -i image
root     27578  0.0  0.0  10460   940 pts/34   S+   12:26   0:00 grep --color=auto -i image
[email protected]:~# ps aux | grep -i glance
stack    11451  0.0  1.0 167108 83024 pts/11   S+   09:47   0:02 /usr/bin/python /usr/local/bin/glance-registry --config-file=/etc/glance/glance-registry.conf
stack    11713  0.0  0.9 167108 79808 pts/11   S+   09:47   0:00 /usr/bin/python /usr/local/bin/glance-registry --config-file=/etc/glance/glance-registry.conf
stack    11714  0.0  1.0 169924 83416 pts/11   S+   09:47   0:00 /usr/bin/python /usr/local/bin/glance-registry --config-file=/etc/glance/glance-registry.conf
stack    11792  0.6  1.1 203016 94716 pts/12   S+   09:47   0:57 /usr/bin/python /usr/local/bin/glance-api --config-file=/etc/glance/glance-api.conf
stack    11976  0.0  1.1 207880 95588 pts/12   S+   09:47   0:01 /usr/bin/python /usr/local/bin/glance-api --config-file=/etc/glance/glance-api.conf
stack    11977  0.0  1.1 207880 95696 pts/12   S+   09:47   0:01 /usr/bin/python /usr/local/bin/glance-api --config-file=/etc/glance/glance-api.conf
root     27586  0.0  0.0  10464   944 pts/34   S+   12:26   0:00 grep --color=auto -i glance
[email protected]:~#

managing_glance_services.txt · Last modified: 2017/02/02 12:27 by openstack_linuxjoy_in