Skip to main content

Check out Interactive Visual Stories to gain hands-on experience with the SSE product features. Click here.

Skyhigh Security

Cloud Connector Migration to RocksDB (May 2021)

As part of 5.4.0, Skyhigh 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 Skyhigh CASB and go to Settings > Infrastructure > Cloud Connector
  3. Choose Tokenization > Auto Delete Entries Based on Retention Period. Select Yes
  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:, 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:, BUILD-NUMBER: 3, BUILD-ID: 3
Total 5 mappings imported from MapDBEntries\MapDBEncrypted.txt 
  • Was this article helpful?