Product Documentation

To configure the Device Manager Server

Dec 21, 2015
  1. Edit the ew-config.properties file (<installation_dir>\tomcat\webapps\zdm\WEB-INF\classes).
  2. Change the following line from false to true:
    ######################################################## 
    # 
    #  CLUSTERING 
    # 
    ######################################################## 
    cluster.everywan.enabled=false 
     
    To 
     
    cluster.everywan.enabled=true
  3. Add the following line: cluster.hibernate.cache-provider=com.opensymphony.oscache.hibernate.OSCacheProvider Your cluster configuration should look like the following example:
    ######################################################## 
    # 
    #  CLUSTERING 
    # 
    ######################################################## 
    cluster.everywan.enabled=true 
    cluster.hibernate.cache-provider=com.opensymphony.oscache.hibernate.OSCacheProvider
  4. For the DAO configuration, verify that the following properties exist. If not, add them.
    • For MS SQL. dao.configLocation=classpath:com/sparus/nps/dao/hibernate-native.cfg.xml
    • For MySQL database. dao.configLocation=classpath:com/sparus/nps/dao/hibernate-mysql-hilo.cfg.xml
    • For other databases: dao.configLocation=classpath:com/sparus/nps/dao/hibernate-hilo.cfg.xml
  5. Please add the following properties in ew-config.properties:
     
    # Everywan cluster shared secret for application connection 
     
    everywan.secret=everywan 
     
    # Everywan node name (used on load balancer front end) 
     
    cluster.everywan.nodeName=auto 
     
    # Everywan direct IP access (ex. used by remote support) 
     
    cluster.everywan.directAccess=auto 
     
    # Everywan broadcast 
     
    cluster.everywan.broadcast.address=228.0.0.8 
     
    cluster.everywan.broadcast.port=45561 
    
    Note: It is recommended that you change the cluster.everywan.nodeName=auto to node1 and node2 rather than leave as auto, as follows:

    The following parameters are used:

    • cluster.everywan.nodeName. "node1" (or node2, node3. and so on).
    • cluster.everywan.directAccess. "auto" (search for the first IP address of the first network interface). If you want to assign a specific IP address, use : "ip:192.168.1.251".
    • cluster.everywan.broadcast.address. " 228.0.0.8 " (UDP broadcast address).
    • cluster.everywan.broadcast.port. "45561" (UDP broadcast port).
      Important: This broadcast address, " 228.0.0.8 :45561" must be different from the one used by Tomcat server in server.xml.
    For cluster.everywan.directAccess, you can use the following parameters:
    Important: In order for Remote Support to work if the node has two or more nics, you might need to put the node IP here.
    • eth1. Use the first IP address of eth1 interface.
    • ip:192.168.1.128. Use the specified IP address.
    • lo. Use the first IP address of the lo interface (127.0.0.1).