# Onegate and standalone VM's

**URL:** <https://forum.opennebula.io/t/onegate-and-standalone-vms/7267>\
**Category:** Product Support\
**Created:** [May 24, 2019, 3:12pm UTC](https://forum.opennebula.io/t/onegate-and-standalone-vms/7267 "2019-05-24T15:12:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leonid](https://avatars.discourse-cdn.com/v4/letter/l/d9b06d/32.png) [@Leonid](https://forum.opennebula.io/u/Leonid)\
**Post date:** [May 24, 2019, 3:12pm UTC](https://forum.opennebula.io/t/onegate-and-standalone-vms/7267/1 "2019-05-24T15:12:56Z")

</div>

Hi all!

We try to use one gate for standalone vms without one flow, but during execution `onegate vm show [VMID]` or any other `onegate command` we catch error: `ERROR: Empty or invalid SERVICE_ID`.  
The question is can we use one gate without oneflow services or it’s necessary? it’s not completely clear from the documentation

Please help advice!

* * *

We use opennebula 5.6

---

<div class="post-metadata">

**Author:** ![ahuertas](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/ahuertas/32/7487_2.png) [@ahuertas](https://forum.opennebula.io/u/ahuertas)\
**Post date:** [May 24, 2019, 3:17pm UTC](https://forum.opennebula.io/t/onegate-and-standalone-vms/7267/2 "2019-05-24T15:17:54Z")

</div>

Hello @Leonid

You don’t need oneflow if you only wants to get vm information. But remember to start onegate server with the command `onegate-server start`. Also remember to change the ONEGATE\_ENDPOINT in the oned.conf and in the VM you need to add onegate token (it can be done through Sunstone)

---

<div class="post-metadata">

**Author:** ![Leonid](https://avatars.discourse-cdn.com/v4/letter/l/d9b06d/32.png) [@Leonid](https://forum.opennebula.io/u/Leonid)\
**Post date:** [May 24, 2019, 3:39pm UTC](https://forum.opennebula.io/t/onegate-and-standalone-vms/7267/3 "2019-05-24T15:39:39Z")

</div>

Hi, ahuertas!

Thanks for reply

I started opennebula-gate.service on my master node, edited the oned.conf and in contex cdrom I have token.txt file, but I can get only `onegate vm show` if I trying to use vmid as an argument I get an error.  
I’m trying to found the way to reboot vm, if it catches kernel panic or BSOD. Is there any opportunity to do that with opennebula ?

---

<div class="post-metadata">

**Author:** ![ahuertas](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/ahuertas/32/7487_2.png) [@ahuertas](https://forum.opennebula.io/u/ahuertas)\
**Post date:** [May 27, 2019, 7:06am UTC](https://forum.opennebula.io/t/onegate-and-standalone-vms/7267/4 "2019-05-27T07:06:00Z")

</div>

Hello @Leonid

Yes, you can only use `onegate vm show` without ID, because the ID is the ID of the service, not the VM. I think there is no way to do that, you can take a look at VM hooks, but I think they won’t help you in that case.
