Start the Storage Node Agents
- Start the Oracle NoSQL Database Storage Node Agent (SNA) on each of the Storage Nodes. The SNA manages the administrative processes and replication node processes on each Storage Node. Before starting the SNA, on each Storage Node, set the environment variable
MALLOC_ARENA_MAXto 1. Doing this ensures that the memory usage is restricted to the heap size specified by the-Xmxand-Xmsarguments. To start the SNA, use thestartcommand as follows:
In the above command,nohup java -Xmx64m -Xms64m -jar $KVHOME/lib/kvstore.jar start -root $KVROOT &-Xmxand-Xmsrestrict the heap size used by the Storage Node Agent to64 MB. - Use the
jps -mcommand to verify that the database processes are running :
If the Storage Node Agents do not start up, review the> jps -m 2830534 kvstore.jar start -root $KVROOT 2830645 ManagedService -root $KVROOT -secdir $KVROOT/security -class Admin -service BootstrapAdmin.5000 -config config.xmladminbootandsnabootlogs in the$KVROOTdirectory to help identify the problem. When the Storage Node Agents have all started successfully, you can start configuring the data store.Note:
For best results, configure your Storage Nodes so that the SNA starts automatically when the Storage Node boots up. See your operating system documentation for information about launching an application automatically at boot-up.