Moving the credential store from a decommissioned server to a new server

Follow this procedure when you are decommissioning a server and want to move its credential store to another (target) server that isn't clustered.

Procedure

  1. On the server being decommissioned, use the following server console command to export the data in its credential store to a new database in the local data directory:
     keymgmt export credstore <database> <target_server> 
    where
    • <database> is the name of a database to create to store the data.
    • <target_server> is the Notes canonical name of the target server.
    For example:
    keymgmt export credstore credstorecopy.nsf CN=hubserver/O=renovations
  2. Copy the database to the target server data directory.
  3. From the target server, use the following commands to create a new credential store:
    1. Create a named encryption key for the credential store to be created for the target server:
       keymgmt create nek <nekname> 
      where <nekname> is the name for the key. For example:
       keymgmt create nek credstorekey 
    2. Use the new key to create a new credential store on the target server:
      keymgmt create credstore <key>
      For example:
      keymgmt create credstore credstorekey
  4. On the target server, use the following command to populate the credential store with the data from the database you created and copied in steps 1 and 2:
    keymgmt import credstore <database>
    where <database> is the name of the database. For example:
    keymgmt import credstore credstorecopy.nsf