Skip to main content
McAfee Enterprise MVISION Cloud

Cloud Connector migration to RocksDB (May 2021)

As part of 5.4.0, MVISION Cloud Connector migrated from LevelDB to RocksDB. RocksDB is configured by default for the following caches. You don't need to change any configurations on the CC end.

  1. generic_timeseries
  2. ip_time_user
  3. iptime_users
  4. ipdomainnamecache
  5. blockedurlcache
  6. dualmode_urlcache - RocksDB is Default
  7. tldcache
  8. unmatched_upload - RocksDB is Default
  9. ldapusers - RocksDB is Default

Most of this migration will be automatically performed, but there is one short procedure that needs to be done to migrate two caches deObfmapdbcache andmapdbcache, to use RocksDB as the only data store. 

To configure Cloud Connector migration to RocksDB:   

  1. Stop the CC.
  2. Log in to MVISION Cloud and go to Settings > Infrastructure > Cloud Connector
  3. Choose Tokenization > Auto Delete Entries Based on Retention Period. Select Yes
    clipboard_ed7b66c5e3b2aa75b704a759198cd10af.png
  4. Export the old LevelDB data using the following shnlpcli command:
    ./shnlpcli md --export MapDBEntries/NewMapDB.txt

The output of the above command: 

Version Information: VERSION: 5.4.2.0, BUILD-NUMBER: 3, BUILD-ID: 3
Total 5 mappings exported from LevelDB and 5 mappings exported from TTL DB to MapDBEntries\NewMapDB.txt
  1. Import the data to TTLDB using following shnlpcli command:
    ./shnlpcli mapdb --import MapDBEntries/MapDBEncrypted.txt --encrypted true

The output of the above command:

Version Information: VERSION: 5.4.2.0, BUILD-NUMBER: 3, BUILD-ID: 3
Total 5 mappings imported from MapDBEntries\MapDBEncrypted.txt 
  • Was this article helpful?