Skip to main content

emspair

The emspair command is used to pair and unpair a Makito X Series device with/from a Haivision EMS (Element Management System). This allows the Haivision EMS to discover, manage and monitor the Makito X Series. Administrators of multiple Makito X Series devices can use Haivision EMS to manage activities such as rebooting and upgrading the software and monitoring the status of devices for large installed bases. The EMS server managing may be in one facility while the devices being managed are in another facility.

Device unpairing is achieved by running the emspair unpair command. The current EMS agent state can be queried with the emspair status command.

  • If the device is in UNPAIRED state, the unpair command has no effect.
  • If device is in PAIRED, CONNECTING or CONNECTED states, the unpair command will attempt to communicate the intention to the EMS server immediately (if CONNECTED) or upon next successful connection. The EMS server will then proceed with removing the device registration and instructing the device to erase local pairing information.
  • If the -f (force) flag is specified, the device will immediately inform the EMS server that it wishes to unpair if it is in CONNECTED state. The device will proceed to disconnect and erase all local pairing information regardless of server response or current state.

Note

A Makito X Series device can only talk to a single EMS at a time.

After a factory reset, the EMS service is disabled, and the Makito X Series device loses all of its locally stored pairing information and must be re-paired with an EMS server afterwards.

Synopsis

emspair <operation> [args]

emspair pair [-c <passcode>] [-h <host>] [-p <port>] [-k <seconds>] [-r <seconds>]
emspair unpair -f
emspair status

Actions

Action/
Operation
Option/
Argument
Description

pair


-c <passcode>
-h <host>
-p <port>
-k <seconds>
-r <seconds>

Pairs the Makito X Series device with an EMS server:
Passcode to use for pairing operation
Overrides server host address
Overrides server host port
Override keepalive period
Override reconnect delay period

unpair


-f

Unpairs the Makito X Series device from the EMS server:
Forces unpairing

status


Queries agent status


Examples 

# emspair pair -c CIqn9+kFUncKDDEwLjY1LjExLjE4NxCzRVJkCkBmZTBlMD A1ZGYyNzM3MmI4MmY0Njc1ODUzZGQ3MDhhZDk4MWE2NGJjNDEyODliNDNlMDAxYzJjNTJmMmZhODZhEi A4N2YyM2ZkNi1kNGEyLWExNGYtNzNhZi0yMjliNmRiZA==

Pairing configuration:
----------------------
Expires: Sun Jul 28 16:55:38 2019

Server: 10.65.11.187:8883
----------------------
* Starting operation...
* Waiting for completion...
* Operation completed successfully!
Status Report:
----------------------
Last State: PAIRED
Server: 10.65.11.187:8883
Device ID: 26637ed0-7a22-ab4f-71bf-baf4dc59
Enabled: Yes
Waiting To Unpair: No
# emspair unpair
* Starting operation...
* Waiting for completion...
* Operation completed successfully!
Status Report:
----------------------
Last State: UNPAIRED
Server: (None)
Device ID:
Enabled: Yes
Waiting To Unpair: No
#  emspair status
* Starting operation...
* Waiting for completion...
Status Report:
----------------------
Last State: PAIRED
Server: 10.66.131.132:8883
Device ID: 37a1de75-4aac-bf4f-70bf-ee7f66dc
Enabled: Yes
Waiting To Unpair: No
#  emspair status
* Starting operation...
* Waiting for completion...
Status Report:
----------------------
Last State: CONNECTED
Server: 10.65.11.187:8883
Device ID: bcda955f-15f2-b14f-67af-497000ca
Enabled: Yes
Waiting To Unpair: No
# emspair status
* Starting operation...
* Waiting for completion...

Status Report:
----------------------
Last State : CONNECTED
Server : 10.65.130.149:8883
Device ID : 24adb057-a3b2-cc4f-4abf-933cd63a
Enabled : Yes
Waiting To Unpair: No
Keepalive : 3 sec

Reconnect Delay 5 sec


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.