Prepare CLI utility

In order to run Dbvisit CLI utility without any prompts, we need to first provide GUI credentials to dbvcli.

From directory /usr/dbvisit/standbymp/bin or <DBVISIT_BASE>/standbymp/bin directory please run following command:

cd /usr/dbvisit/standbymp/bin [opc@control-center-940916 bin]$ ./dbvcli list-configurations +----------------------------------------------------------------------+ | ____ _ _ _ __ __ ____ | | / ___|| |_ __ _ _ __ __| | |__ _ _| \/ | _ \ | | \___ \| __/ _' | '_ \ / _' | '_ \| | | | |\/| | |_) | | | ___) | || (_| | | | | (_| | |_) | |_| | | | | __/ | | |____/ \__\__,_|_| |_|\__,_|_.__/ \__, |_| |_|_| | | Copyright 2023 |___/ By Dbvisit | +----------------------------------------------------------------------+ Set Up Dbvisit CLi 1/4 What's The Control Center Host Name? > control-center Set Up Dbvisit CLi 2/4 What's The Control Center Port? > 4433 Set Up Dbvisit CLi 3/4 What's The Control Center User Name? > admin Set Up Dbvisit CLi 4/4 What's The Control Center User Password? > admin dbvcli configuration is successfully saved ID Name Type Primary Standby 2 AdventureWorksDW2016 mssql sqlserver-ad1:1433 sqlserver-ad3:1433

Dbvisit will store the login and password internally and next time, you can run dbvcli utility without password.