/
Create a new tenant on saas-ctlive1

Create a new tenant on saas-ctlive1

The following procedure has been deprecated. Use only the CTLiveMGR Superadmin user interface to create a new tenant

Connect as superadmin (credentials in /root/.mongodb_credentials)

Clone ctlive db

mongodump --db=ctlive --username superadmin -p "password" --host localhost -o ctlive.db --authenticationDatabase=admin
mongorestore -d 'ctlive_TENANTNAME' --username superadmin -p "password" --host localhost --authenticationDatabase=admin ctlive.db/ctlive/

Drop the following collections:

  • chatcontacts

  • chattranscripts

Create a ctlive user with limited access

use ctlive_ENGHOUSEAI db.createUser( { user: "ctlive", pwd: "PASSWORD", roles: [ { role: "dbOwner", db: "ctlive_ENGHOUSEAI" }] } )

Append user to file /etc/opt/reitek/nodejs/ctliveCredentials.json

Restart ctlive_a

 

Related content