Using Trust Files with Primary Realm Service

Procedure

  1. When using the tibdg administration tool to communicate with the primary realm service, always specify the path to the trust file from the primary realm service. For example, to use tibdg to define your data grid run the following command:
    tibdg -r <realm_service_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 service:
    --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 service:
    tibdgnode -r <realm_service_URL> -g mygrid -n <node_name> --trust-file <path>