When setting up a new Aerospike cluster, it could be useful to copy the metadata related to user credentials from an existing Aerospike implementation to a new one.
- Copy the security.smd system metadata file (SMD) from the old to the new cluster.
- Refer to this article for details : How to move, recreate or retain the System Metadata Directory.
- After copying the security.smd file, it is necessary to restart the Aerospike process (asd) since the SMD files are read only when the service starts.
- When migrating SMD files, best practices dictate that this is tested thoroughly in a test environment, before implementing in production systems.
The system metadata (SMD) files contains (not a complete list) the following:
- UDF definitions
- strong consistency
Also refer to this documentation on the structure of the SMD directory.
USER PASSWORD CREDENTIALS SMD METADATA MIGRATE