AOS 6.5.4.x Meridian Beacons Management and Asset Tracking Configuration Guide Follow
AOS Release Streams End of Life
Release Stream | Patch Release | End of Development | End of Support |
AOS 6.5.4.x | 6.5.4.0: 8-Aug-17 (SR) 6.5.4.7: 7-Jun-18 (CR) |
31-Aug-22 | 31-Aug-22 |
Overview
This guide describes the setup and configurations required for supporting Meridian Beacons Management and Asset Tracking on the Aruba Controller.
Contacting Support
Table 1: Contact Support
Main Site | meridianapps.com |
Meridian Support | asp.arubanetworks.com |
Airheads Social Forum and Knowledge Base | community.arubanetworks.com |
Assumptions
This article assumes that the user has admin rights to configure their infrastructure according to Aruba's deployment guide using Aruba Controllers and Access Points (APs). The user must also have admin access to an active Aruba Meridian Editor account and the required Meridian SKU are enabled for beacons management and/or asset tracking.
General WLAN Configurations to Support Meridian
The Aruba Wi-Fi network infrastructure is configured using an Aruba controller and APs. When you configure a controller with Meridian configuration profiles and apply them to the AP group, it will propagate that configuration profile to all connected APs in that group.
Configure Clock/NTP services
Time synchronization is an essential part of managing beacons and tracking asset in your network so make sure that all the nodes are synchronized with the same reference server and time.
Configure preferred DNS to reach *.meridianapps.com
The controller should have DNS configured and be able to reach *.meridianapps.com server.
Meridian Editor Assets
The following Meridian assets are required to complete the configurations on the Aruba Controller for Beacons Management and Asset Tracking.
Access Token
The Access Token is used by the controller to securely communicate with Meridian Servers. Initially, is not available and it must be generated in the Beacons Management menu. This needs to only be done one time because the same Access Token can be used for both Beacons Management and Asset Tracking.
If the access token has not been generated yet, follow the steps below to generate a new access token:
-
In your Meridian Editor cloud acount, navigate to Beacons > Beacons Management
-
Click Generate your access token to get started
After the access token is generated, it will be displayed in the ACCESS TOKEN window. To the right of the window is a copy button that can be used to copy the value onto your clipboard for copy and paste operations.
Meridian Server URL
Aruba Meridian has a Standard Server for the general users and an EU Server specifically for the European Union. When configuring the Meridian configuration profiles, it is critical that you use the correct server URL. To find out which server URL to use, look at the webpage URL that you use for accessing your Meridian Editor account.
For example:
-
If you access your Editor account by using https://edit.meridianapps.com, then you are using the Standard Server
-
If you access your Editor account by using https://edit-eu.meridianapps.com, then you are using the EU Server.
It is important that you know which instance of Meridian Server your Meridian Editor account is set up in so that you can enter the correct Meridian Server URL when configuring or tyour devices to communicate with Meridian servers.
Beacons Management Server URL
-
Standard Server: https://edit.meridianapps.com/api/beacons/manage
-
EU Server: https://edit-eu.meridianapps.com/api/beacons/manage
Asset Tracking Server URL
-
Standard Server: https://tags.meridianapps.com/api/v1beta1/streams/ingestion.start
-
UE Server: https://tags-eu.meridianapps.com/api/v1beta1/streams/ingestion.start
Location ID
The Location ID is only required when configuring IoT profile for Asset Tracking. It can be found in the Meridian Editor settings page or in the URL of your account.
Or you can get it from the webpage URL after you log into your Edit account. The syntax for the Meridian Editor URL will look like this:
https://edit.meridianapps.com/apps/<Location ID>
Aruba Controller Configurations
Configure the Internal Access Point Beacons
After your controller is able to reach out to meridianapps.com and you have your Meridian Assets identified, you can now start to configure the IoT Profiles to enable your controller to send data the Meridian servers.
Before you start, the AP Beacons (APB) must be enabled so that it can be provisioned for use with Meridian. If the APB is not enabled, the APB will not be broadcasting the beacon ID, therefore Meridian tools will not be able to configure the beacon. Enabling the APB can be done using the Controller GUI or the CLI.
Option 1: Configure the internal BLE radio Using the GUI
Although this is an option, I find that it is more convenient to do all the configurations in CLI.
On the Mobility Controller, navigate to Configuration > Wireless > AP Configuration > AP Group > <ap-group> > AP > AP system > Advanced, then scroll down the page to find BLE Operation Mode and select Beaconing from the pull down menu. Then click Apply >
Option 2: Configure the internal BLE radio Using CLI
In the samples below, an AP system profile labeled “default” will be configured to set the BLE op mode to “Beaconing” and then apply the profile to the AP group labeled “default”.
(host) >enable
Password:******
(host) #configure terminal
Enter Configuration commands, one per line. End with CNTL/Z
Create an AP system profile for the internal BLE radio
(host) (config) #ap system-profile <ap-profile>
(host) (AP system profile "<ap-profile>") #ble-op-mode Beaconing
(host) [mynode] (AP system profile "<ap-profile>") #exit
(host) [mynode] (config) #write memory
Saving Configuration...
Configuration Saved.
Apply the AP system profile to the AP group
(host) [mynode] (config) #ap-group <ap-group>
(host) [mynode] (AP group "<ap-group>") #ap-system-profile <ap-profile>
(host) [mynode] (AP group "<ap-group>") #exit
(host) [mynode] (config) #write memory
Saving Configuration...
Configuration Saved.
Verify that the AP system profile and the AP group are configured correctly
(host) [mynode] #show ap system-profile <ap-profile> | include "BLE Operation Mode"
BLE Operation Mode Beaconing
(host) [mynode] #show ap-group <ap-group> | include "AP system profile"
AP system profile <ap-profile>
Check the AP’s configuration to ensure that the profile is received correctly
(host) [mynode] #show ap debug ble-config ap-name <ap-name>
BLE Configuration
-----------------
Item Value
---- -----
BLE Supported ONBOARD
BLE HW Type BT-AP310
BLE Ready Yes
Beacon Mgmt Update Intvl (in sec) 600
APB Info Update Intvl (in sec) 100 (2090/2049)
BLE debug log Disabled
Operational Mode Beaconing (APB: Beaconing)
-----------------
Configure AP System Profile for Beacons Management
After the BLE radio has been enabled on the AP, you are ready to configure the AP system profiles for Beacons Management.
Option 1: Configure and set the AP system profile using GUI
On the Mobility Controller, navigate to Configuration > Wireless > AP Configuration > AP Group > <ap-group> > AP > AP system > Advanced, then scroll down the page to find BLE Endpoint URL and BLE Auth Token and select Beaconing from the pull down menu. Then click Apply
After the changes are set and deployed, the connection to Meridian beacon server should be established. In Meridian Editor, navigate to the Beacons Management page to make sure the status for Beacon Management is Connected: Your Aruba network is connected to the Meridian Editor. The Editor last heard from your network a few seconds ago.
Option 2: Configure and set AP system profile using CLI
(host) [mynode] #configure terminal
Enter Configuration commands, one per line. End with CNTL/Z
(host) (config) #ap system-profile "<ap-profile>"
(host) (AP system profile "<ap-profile>") #ble-url https://edit.meridianapps.com/api/beacons/manage
(host) (AP system profile "<ap-profile>") #ble-token <access token>
(host) (config) #write memory
Saving Configuration...
Configuration Saved.
Check the configuration parameters
(host) [mynode] (config) #show ap system-profile <ap-profile> | include BLE
BLE Endpoint URL https://edit.meridianapps.com/api/beacons/manage
BLE Auth Token <access token>
BLE Operation Mode. Beaconing
Check that the AP system profile has been set
(host) [mynode] (config) #show ap system-profile
AP system profile List
---------------------
Name References Profile Status
---- ---------- --------------
default 1
<ap-profile> 1
NoAuthApSystem 1
Total:3
The “1” indicates that the AP system profile has been set.
Verify the connection to Meridian has been established in Editor
After the changes are set and deployed, you can go to Meridian Editor cloud account to double check the status of Beacons Management. The status will show that the Beacon Management is now Connected.
At this point, the connection to Meridian beacon server should be established. In Meridian Editor, navigate to the Beacons Management page to make sure the status for Beacon Management is Connected: Your Aruba network is connected to the Meridian Editor. The Editor last heard from your network a few seconds ago.
Configure BLE Relay Management Server for Asset Tracking
Configuring the AP system profile for Beacons Management is required prior to configuring the BLE relay management server for Asset Tracking. If you haven’t done it yet, please complete the section to Configure AP System Profile for Beacons Management before starting with this section.
Add the DigiCert Root Certificate to the Aruba Controller
A rootCA certificate is required on the controller when connecting the the tags server. The root CA certificate for Meridian is can be downloaded from here.
To add the certificate to the Mobility Controller, navigate to Configuration > System > Certificates > Import Certificates, and click on the "+" button:
-
Enter the Certificate name (no spaces)
-
Upload the Certificate
-
Select PEM as the certificate format
-
Select TrustedCA as the certificate type.
-
Click Upload
Configure the Web-Secure Socket (WSS) in the Aruba Controller CLI
for AOS 6.5.2.x and 6.5.3.x
(host) (config) #ble_relay mgmt-server type ws wss://tags.meridianapps.com/streams/v1beta1/ingestion/tags/websocket
(host) (config) #write memory
Saving Configuration...
Configuration Saved.
for AOS 6.5.4.x
(host) (config) #ble_relay mgmt-server type https https://tags.meridianapps.com/api/v1beta1/streams/ingestion.start token <token ID> id <location ID>
(host) (config) #write memory
Saving Configuration...
Configuration Saved.
Verify the BLE relay status are ready
(host) (config) #show ble_relay disp-attr all
WebSocket Connect Request : Yes
WebSocket Connect Status : Connection Established
WebSocket Connection Established : Yes
WebSocket LogLevel : 0
Tag Logging : Off
Handshake Address : https://tags.meridianapps.com/api/v1beta1/streams/ingestion.start
Handshake Token : <access token>
Location Id : <location id>
Websocket Address : Not Configured
WebSocket Host : tags.meridianapps.com
WebSocket Path : streams/v1beta1/ingestion/tags/websocket
Websocket Write Stats : 0 (0B)
Websocket Write WM : 0B (0)
Websocket Read Stats : 0 (0B)
At least one deployed asset tag will need to be in range of a configured AP before the AP will initiate the WSS connection.
If the WebSocket Connect Status does not get to Connection Established, then go back and check the make sure you have completed the following:
-
Look at the logs via CLI: (host) [mynode] #show ble_relay ws-log "Asset Tracking"
-
Verify that the DigiCert Root Certificate is installed.
-
Verify that DNS is set up properly
- You may need to reboot the server for all changes to be applied
Summary
This guide provides the fundamental components necessary to configure the infrastructure to communicate with Meridian Servers for Beacons Management and Asset Tracking. If the system does not work as expected after completing all the steps described above, you may contact us as asp.arubanetworks.com.
Comments
0 comments
Please sign in to leave a comment.