Context
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.
Method
- 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.