Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Contrail Feature Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

service (Managing Services)

date_range 16-Oct-23

Syntax

content_copy zoom_out_map
service contrail-service ( start | stop | restart | status )

Description

Start, stop, or restart a Contrail service. Display the status of a Contrail service.

All contrail services are managed by the process supervisord, which is open source software written in Python. Each Contrail node type, such as compute, control, and so on, has an instance of supervisord that, when running, launches Contrail services as child processes. All supervisord instances display in contrail-status output with the prefix supervisor. If the supervisord instance of a particular node type is not up, none of the services for that node type are up. For more details about the open source supervisord process, see http://www.supervisord.org.

Options

  • start—start a named service.

  • stop—stop a named service.

  • restart—stop and restart a named service.

  • status—display the status of a named service.

Required Privilege Level

admin

Sample Output

The following examples show usage for the contrail-collector service, which is only configured on nodes that have the roles of analytics, configuration, web-ui, or database.

Sample Output

content_copy zoom_out_map
[root@hostservice supervisor-analytics status 
supervisord (pid  32116) is running... [
[root@host]# service contrail-collector restart

contrail-collector: stopped
contrail-collector: started

[root@host]# service contrail-collector stop

contrail-collector: stopped

[root@host]# service contrail-collector start

contrail-collector: started

[root@host]#  service contrail-collector status

contrail-collector               RUNNING    pid 20071, uptime 0:00:04


Release Information

Standard Linux command used for managing and viewing services in Contrail Controller Release 1.0.

footer-navigation