Synchronize
SUMMARY
The Primary node will be used to synchronize the other member nodes; e.g. to the same Application Server, etc.
SCRIPT
/usr/ngasi/apiclient/bin/ncli.sh -user=primarynode -password=coolgeek -url=http://localhost:8666 -command=sync -overwrite=true
JAVA API
Properties properties = new Properties();
properties.put("url","http://localhost:8666");
properties.put("user","myuser");
properties.put("password","coolgeek");
properties.put("command","sync");
properties.put("overwrite","true");
String result = NGAPIClient.exec(properties);