vMX - Azure - and token ?

thomasthomsen
Kind of a big deal

vMX - Azure - and token ?

Hi all

 

Since I have not deployed a lot of these, I have one question.

The token that you generate in the Dashboard for the vMX and you put into the settings when setting up the vMX in azure has a "Lifetime" of 1 hours (or so the documentation says).

 

Is this "one hour" until the device gets online with the dashboard, or just one hour until I have created the vMX in Azure and enabled it ?

The reason for this question, is of course that I have run into a strange problem.

We have setup the vMX as planned in Azure, and enabled it, but it never gets online in the dashboard.

We might, have had some routing issues, but I can actually ping the address of the vMX from Azure hosts, but the vMX is still not online (here hours later), do I need to "re-token" ?

 

Thanks

Thomas

4 Replies 4
FMTeuchter
Conversationalist

I believe that its 1 hour for the VMX to check in, my understanding is the token is to authenticate/match the VMX speaking out to the dashboard to the correct Meraki Org and Network. 

thomasthomsen
Kind of a big deal

If thats the case, then I will need to "retoken".

But the documentation here is not 100% clear , in my opinion.

rhbirkelund
Kind of a big deal
Kind of a big deal

Remember that you need to set the right settings in terms of Region and Availbility zone, etc. It was also my exprience that you need to do things in a certain order, as the vMX App in Azure will "lock" things.

LinkedIn ::: https://blog.rhbirkelund.dk/

Like what you see? - Give a Kudo ## Did it answer your question? - Mark it as a Solution 🙂

All code examples are provided as is. Responsibility for Code execution lies solely your own.
a5it
Getting noticed

From what I understand, the vMX token from the dashboard is typically used to associate the vMX instance in Azure with your organization on the dashboard. The "lifetime" usually indicates the time window during which the token can be used for this association, starting from the moment it's generated.

 

If the vMX is not online in the dashboard, even though you've confirmed that the instance is reachable from Azure hosts, it suggests there may be a problem that's preventing the vMX from communicating with the dashboard. This could be due to network routing or firewall issues, for example.

 

The token's "lifetime" usually does not affect the vMX's ability to stay online once it has been successfully associated with your dashboard organization. Therefore, if your vMX was never online in the first place, re-generating the token and trying again might be worth a shot. But, it's also important to investigate potential network or firewall issues that could be blocking the vMX's communication with the dashboard.

 

Here are a few things to check:

  1. Make sure the vMX has the correct network settings and security group permissions in Azure to allow it to communicate with the dashboard.
  2. Check if there's a firewall in your network that's blocking the necessary ports. The vMX needs to be able to make outbound connections to the Meraki cloud on certain ports.
  3. Review the vMX deployment guide and ensure that all steps have been followed correctly. This includes setting up the virtual network in Azure, configuring the vMX instance, and so on.
  4. If you suspect that the token might have expired before the vMX was able to connect to the dashboard, you could try generating a new token and entering it in the vMX settings in Azure.
Get notified when there are additional replies to this discussion.