WRTC Appliance mode is a light weight small scale deployment of WRTC Solution. The deployment consists of two nodes where, one of the nodes is active and other being standby node. This deployment is different from the Cluster mode installation, where each node is an active node registered to a single EMS cluster. In case of network or failure or application is stopped on the active node, the standby node takes over the active node. The event is termed as switch over.
Both the nodes share a floating (virtual) IP. The active node always plumbs the floating (virtual) IP and starts the interfaces. The standby node keeps polling if the active WebSocket is reachable. If the standby node identifies that the floating (virtual) IP is not reachable, it attempts to plumb the floating (virtual) IP to start its services, and declares itself as active.
Following are the key features of this deployment:
- Deployment involves two nodes of which one must be active at a time.
- Cassandra database is not deployed in either of the nodes. Persistent data required to be stored across nodes are stored in disk in
- WRTC nodes are not registered with EMS. WRTC EMA is deployed on both nodes for management purpose. For more information refer, Configuring WRTC Through Onboard Management.
- WRTC nodes share floating (virtual) IP for signaling and management.
- Load balancer is optional when two nodes are used.
For information related to appliance mode of installation, refer Installing Sonus WebRTC Gateway.
Generating SSH keys for Lsyncd
This section lists the steps to generate SSH keys for Lsync.
Setting SSH key pair for Active and Standby Hosts
Perform the following steps to setup a SSH key pair for active and standby hosts:
Login to active host as
/opt/sonus/wrtcpath and execute the following command to generate SSH key pair:
Login to standby host as
Append the public key content (
~/.ssh/id_rsa.pub) of WRTC user from active host to standby at
Repeat steps 2 and 4 in standby host.
- Navigate to
/opt/sonus/wrtc/.ssh/id_rsaand save the SSH key.
Updating Lsyncd File in Active and Standby Hosts
Perform the following steps to update the Lsyncd file:
Login to active host as
Navigate to in
_PEER_IP_with the IP address of standby host:
Execute the following command to restart the lsyncd service:
Before restarting the
lsyncdservice ensure the WRTC application is not running.
- Login to standby host as
rootand repeat steps 2 and 4.