Overview
This article provides the resolution to an issue where users experience sporadic connections timeouts from Exinda Mobile peers. When this issue arises, peers connect briefly, and then, the connection status is gone unexpectedly; you can ping the device without any problem. When you check the statuses of the peers on the Exinda Mobile server, a lot of them have the peers but no connection status.
Information
Environment
The issue and resolution presented in this article are applicable only for Exinda Mobile, where Exinda Mobile's servers are used as clients.
Root Cause
This behavior occurs when two or more appliances have the same global unique identifier (GUID) as a result of the virtual image being cloned. The GUID is based on the MAC (Media Access Control) address of the appliance, along with the timestamp of when the GUID was generated. You can check the duplicate GUIDs in the appliances.config file, under /replify/config/bob/
.
Process
To resolve this issue, execute the below commands in the same order to clear the GUID, the appliances list, and the database:
exinda-ctl stop
rm /replify/config/guid
rm /replify/config/bob/appliances.config
rm /replify/db/*
exinda-ctl start
After this, the device will create a new GUID.
IMPORTANT: To avoid this issue from happening, when deploying Exinda Mobiles, you should not clone the virtual image. Each server should be created independently to prevent duplicate GUID.
Priyanka Bhotika
Comments