GitHub user weizhouapache edited a comment on the discussion: Cloudstack 
multiple management server connection across different networks

> @weizhouapache @DaanHoogland
> 
> Previously on the 1st management server I have setup the database usign this 
> command
> 
> `sudo cloudstack-setup-databases cloud:cloud@localhost --deploy-as=root`
> 
> But for the new manaement server I have used something like this
> 
> `cloudstack-setup-databases cloud:cloud@localhost 
> --deploy-as=root:rootpassword -e file -m MgmtSecretKey123 -k DbSecretKey123 
> -i 192.168.1.240`
> 
> Can it create any problem? As the management server key which is in 
> /etc/cloudstack/management/key is different on both the management server.

yes, the database key must be the same in the two commands
if not specified, the default mgmt key and database key are "password"

moreover, deploy the db only once on the first management server 
(--deploy-as=root)

GitHub link: 
https://github.com/apache/cloudstack/discussions/13919#discussioncomment-18079006

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to