Use the following command to check whether the Gateway is activated on an Orchestrator.

In the following example, the Gateway is activated:

vcadmin@vcg1-example1:~$ /opt/vc/bin/is_activated.py
True
vcadmin@vcg1-example1:~$ 

In the following example, the Gateway is deactivated:

vcadmin@vcg1-example1:~$ /opt/vc/bin/is_activated.py
False
vcadmin@vcg1-example1:~$