Bootstrap the Storage Nodes

Bootstrapping the storage nodes is the initial setup process.

Below are the steps to bootstrap a Storage Node. This process should be done on every Storage Node in the data store.

Create the initial boot configuration file using the makebootconfig command. For a list of all the parameters of this command, see makebootconfig. To determine the values to be provided for these parameters, see Installation Configuration Parameters.

Note:

The makebootconfig command is designed to be run directly on the Storage Node. This ensures that all configuration parameters and their values are automatically validated against that specific environment before the boot configuration file is created.To skip these automatic environmental checks and validations, append the -force flag when executing the command: makebootconfig -force

Following is an example of using makebootconfig with a sample set of parameters and values.

In the below command, $KVHOME is the directory containing all the Oracle NoSQL Database installation package files. $KVROOT is the root directory. $KVHOST is the host name. /dir/admin, /dir/data, and /dir/rnlogs are respectively the directory paths to store the admin data, replication node data, and replication logs.

> mkdir $KVROOT
> mkdir /dir/admin
> mkdir /dir/data
> mkdir /dir/rnlogs
> java -Xmx64m -Xms64m \
-jar $KVHOME/lib/kvstore.jar \
makebootconfig -root $KVROOT \
-port 5000 \
-host $KVHOST \
-harange 5010,5020 \
-capacity 1 \
-admindir /dir/admin \  
-admindirsize 500_mb \
-storagedir /dir/data \ 
-storagedirsize 1_tb \
-rnlogdir /dir/rnlogs

Note:

It is strongly recommended that you specify both storagedir and storagedirsize. If you specify the storagedir parameter, but not storagedirsize, the makebootconfig utility displays a warning, as storagedirsize is used for capacity planning and disk usage enforcement.

You can optionally specify the store-security parameter. The value of the parameter store-security specifies whether security is in use.

In order to complete a secure data store installation, you must configure security before starting up the Storage Node agents. For more details on configuring security, see Security Configuration.