Start the Storage Node Agents

  1. 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_MAX to 1. Doing this ensures that the memory usage is restricted to the heap size specified by the -Xmx and -Xms arguments. To start the SNA, use the start command as follows:
    nohup java -Xmx64m -Xms64m -jar $KVHOME/lib/kvstore.jar start -root $KVROOT &
    In the above command, -Xmx and -Xms restrict the heap size used by the Storage Node Agent to 64 MB.
  2. Use the jps -m command to verify that the database processes are running :
    > jps -m
    2830534 kvstore.jar start -root $KVROOT
    2830645 ManagedService -root $KVROOT -secdir $KVROOT/security -class Admin -service BootstrapAdmin.5000 -config config.xml
    If the Storage Node Agents do not start up, review the adminboot and snaboot logs in the $KVROOT directory 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.