GitHub user weizhouapache added a comment to the discussion: Multiple 
Management Server

@arpanbht 
you need to setup database again on the 2nd management server, but **without** 
`deploy-as` so that the database will not be recreated.
```
sudo cloudstack-setup-databases cloud:<password>@<database server ip> -e file 
-m <mgmt_key> -k <db_key> -i <mgmt_ip>
```


Alternatively, you can copy `db.properties` and `key` files from mgmt1 to 
mgmt2, and update `cluster.node.IP` in the `db.properties`
please note, the database server on mgmt1 must be accessible from mgmt2.



GitHub link: 
https://github.com/apache/cloudstack/discussions/12757#discussioncomment-16079700

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

Reply via email to