Packaging Modules
Packaging non-certified modules
In addition to the ones Redis Labs packages and certifies, there are other modules that can be installed and extend Redis databases in Redis Enterprise Software. While many are compatible with RS, not all of them are. If they work, they must be packaged so RS knows how to deploy and use them in the cluster.
Deploying a custom module and creating a database utilizing that modules require six steps:
- Get the module from git
- Compile the module
- Install ramp-packer utility
- Wrap the custom module using ramp utility
- Deploy the custom module to the cluster using the admin console
- Create a database that utilizes the module
Get the module from GitHub
git clone https://github.com/account/myModule.git
Compile the module
To compile the module just run:
cd myModule/;make
Install ramp-packer utility
RAMP or “Redis Automatic Module Packaging”, is a utility created by Redis Labs for packaging up modules to be installed into Redis Enterprise.
Run the next command to install ramp-packer:
pip install ramp-packer
Wrap the custom module using ramp utility
$ ramp pack <PATH_TO_myModule.so> -a "Your Name" -e "yourname@emailaddress.com"
-A "x86_64" -d "My Module" -h "https://www.mymodule.com/" -l "LicenseType"
-r "4.0.2"
Go to the ramp github page for more information each command line switch in ramp.
To deploy the packaged module, see Installing a Module.