As modules are upgraded, you will need to load them into Redis Enterprise if you desire having the new features and/or fixes.

Acquiring the Packaged Modules

  1. Redis Enterprise pre-packaged modules - To download the upgrades to the modules, go to the Redis Enterprise downloads page. For more specific information on developing with each module see:
    1. RedisBloom
    2. RedisGraph
    3. RedisJSON
    4. RediSearch Enterprise
  2. Custom packaged modules - For instructions on packing up any module from redismodules.com to use in upgrades, see Developing with Modules.

Deploying the Packaged Module into Redis Enterprise Software

Once you have the upgraded package, you are ready to deploy it:

  1. Go to the settings tab of the Redis Enterprise web UI.
  2. Click on redise modules
  3. Click on Add Module

    upgrade_module-1

  4. Select the packaged module from your file system and upload it.

  5. Go to the databases tab, then to the configuration section

  6. You will see in the page that an update is available.

    update_available-1

  7. At this time, you cannot upgrade this database from the web UI. It must be completed using the rladmin command line utility from one of the nodes in the cluster.

Upgrading the Database to Use the New Version

  1. SSH into any node of the cluster
  2. Identify the database you are upgrading.

    rladmin_status-1

  3. Run the rladmin command

    $ rladmin upgrade module db_name <your_db_name> module_name <module_name> version <new_module_version_num> module_args <module arguments>

    Note: When this is done, it will restart the database shards and thus cause downtime for this database across the cluster.

Examples

An example of upgrading the version of RediSearch to 10017 would be:

$ rladmin upgrade module db_name MyAwesomeDB module_name ft version 10017 module_args "PARTITIONS AUTO"

An example of upgrading RedisBloom:

$ rladmin upgrade module db_name MyDB module_name bf version 10100 module_args ""

An example of upgrading RedisJSON:

$ rladmin upgrade module db_name MyDB module_name ReJSON version 10002 module_args ""

Each module package is a zip file. Inside the zip file is a JSON file and it will contain the information necessary for the above rladmin command for the module_name and version information necessary. The specific data points must be entered exactly as you see it in that JSON file. The necessary data should be at the end of the JSON document. For example, here is the information for the RediSearch Enterprise module that i used for the example command above:

module_info-1