Using Trust Files with Primary Realm Server

Procedure

  1. When using the tibdg administration tool to communicate with the primary realm server, always specify the path to the trust file from the primary realm server. For example, to use tibdg to define your data grid run the following command:
    tibdg -r <realm_server_url> --trust-file <path> grid create copyset_size=1 statekeeper_count=3 encrypted_connections=all mygrid
  2. Start your data grid processes as described in Starting the Data Grid Processes with the following additional command line option to indicate the location of the trust-file on the primary realm server:
    --trust-file <path>
    The following statement is an example of starting the data grid processes by specifying the location of the trust file located on the primary realm server:
    tibdgnode -r <realm_server_URL> -g mygrid -n <node_name> --trust-file <path>