Use the following command to find out the Orchestrator to which the Gateway belongs to, provided the Gateway is activated.

vcadmin@vcg1-example1:~$ /opt/vc/bin/getpolicy.py 
managementPlane.data.managementPlaneProxy.primary
"vco1-example1.velocloud.net"
vcadmin@vcg1-example1:~$