Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page describe the two-steps procedure to perform a copy of the ECtrans Associations from one ECaccess Gateway to another.

Please note that if you follow this procedure then all the data of the target Gateway will be removed (e.g. ECtrans Associations) and replaced by the data of the source Gateway.

The two-steps are:

  • Export and Decryption of the ECtrans Associations from the existing ECaccess Gateway.
  • Encryption and Import of the ECtrans Associations into the new ECaccess Gateway.

...

Also, on the new ECaccess Gateway, make sure the "gateway/db" directory is original (the one from the distribution) and remove any "private-key.keystore" from the "gateway/conf" directory. This is important to allow a smooth execution of the procedure.

Note the following steps have to be performed as the UID under which the Gateway is running (e.g. root).

Step 1

Go to the "bin" directory of the existing Gateway and make sure it is not running:

...

If the script complete successfully, a file named "ecaccess.script" is created in the current directory with the encrypted ECtrans Associations.

Copy Move this file to the "gateway/db" directory:

#cp #mv ./ecaccess.script ../db/.

Delete the clear text file:

#rm -f uncrypted-assoc.sql

And start the Gateway:

#./gateway start

...