Unable to restore ContextHub data using recovery tool on RSA NetWitness Platform 11.5.x.x or below
Cause
The nw-recovery-tool or nw-failover tool fails to restore contexthub-server data.
Resolution
Note: These steps are applicable only if the nw-recovery-tool is successful in restore mode for both the Admin server and ESA.To restore contexthub-server database on ESA and Admin server, perform the following:
- SSH to the ESA server and stop the contexthub-server by running the following command:
service rsa-nw-contexthub-server stop
- SSH to the Admin server.
- Run the following command on the existing contexthub-server database:
mongo -u deploy_admin -p <deploy_admin password> --authenticationDatabase admin contexthub-server --eval "printjson(db.dropDatabase())"Replace
with your password.
- Navigate to the mongo backup location:
cd /var/netwitness/backup/mongo
- Run the following command to restore the Context Hub database:
mongorestore --verbose --gzip -u deploy_admin -p <deploy_admin password> --db contexthub-server --authenticationDatabase admin contexthub-serverReplace
with your password.
- SSH to the ESA server and start the contexthub-server:
service rsa-nw-contexthub-server start
Product Details
NetWitness Product Set: NetWitness PlatformNetWitness Product/Service Type: Context Hub service
NetWitness Version/Condition: 11.5 and earlier
Platform: CentOS 7
Summary
Unable to restore contexthub data as the nw-recovery tool fails.
Approval Reviewer Queue
Technical approval queue