GitHub user arpanbht added a comment to the discussion: Cloudstack multiple management server connection across different networks
@RyanP-Testing Hey, I was just trying out the multiple management server setup on the same network `192.168.1.0/24` from the reference link given from @weizhouapache earlier from the apache cloudstack documentation i.e. `https://docs.cloudstack.apache.org/en/latest/installguide/management-server/index.html#additional-management-servers`. So here the first management server is holding the `192.168.1.201` ip and the mysql server is running inside that management server and from the 2nd management server which is holding the ip `192.168.1.159`, I tried the `nc -vz 192.168.1.201 3306` command and it is returning **success** output. And I have also setup the database by following a similar command like this `cloudstack-setup-databases cloud:[email protected] -e file -m MgmtSecretKey123 -k DbSecretKey123 -i 192.168.1.159` and the database setup is successful and after `cloudstack-setup-management` but this error log I am getting from the management-server.log ``` 2026-08-20 06:17:58,390 INFO [c.c.u.d.Merovingian2] (main:[]) (logid:) Released 0 locks for 127913734319109 2026-08-20 06:17:58,452 INFO [o.a.c.s.l.CloudStackExtendedLifeCycle] (main:[]) (logid:) Running system integrity checker com.cloud.upgrade.DatabaseUpgradeChecker@29b5533 2026-08-20 06:17:58,452 INFO [c.c.u.DatabaseUpgradeChecker] (main:[]) (logid:) Grabbing lock to check for database upgrade. 2026-08-20 06:17:58,458 DEBUG [c.c.u.c.DBEncryptionUtil] (main:[]) (logid:) Calling to initialize 2026-08-20 06:17:58,458 DEBUG [c.c.u.d.DbProperties] (main:[]) (logid:) DB properties were already loaded 2026-08-20 06:17:58,458 DEBUG [c.c.u.c.CloudStackEncryptor] (main:[]) (logid:) Calling to initialize for class com.cloud.utils.crypt.DBEncryptionUtil 2026-08-20 06:17:58,458 DEBUG [c.c.u.c.CloudStackEncryptor] (main:[]) (logid:) Initialized with encryptor : AeadBase64Encryptor 2026-08-20 06:17:58,458 DEBUG [c.c.u.c.DBEncryptionUtil] (main:[]) (logid:) initialized 2026-08-20 06:17:58,458 INFO [c.c.u.DatabaseUpgradeChecker] (main:[]) (logid:) init = true 2026-08-20 06:17:58,467 DEBUG [c.c.u.d.VersionDaoImpl] (main:[]) (logid:) Checking to see if the database is at a version before it was the version table is created 2026-08-20 06:17:58,475 DEBUG [c.c.u.SystemVmTemplateRegistration] (main:[]) (logid:) Looking for file [ ./engine/schema/dist/systemvm-templates/metadata.ini ] in the classpath. 2026-08-20 06:17:58,475 DEBUG [c.c.u.SystemVmTemplateRegistration] (main:[]) (logid:) Looking for file [ /usr/share/cloudstack-management/templates/systemvm/metadata.ini ] in the classpath. 2026-08-20 06:17:58,483 INFO [c.c.u.DatabaseUpgradeChecker] (main:[]) (logid:) DB version = 4.22.1.0 Code Version = 4.22.1.1 2026-08-20 06:17:58,485 ERROR [c.c.u.DatabaseUpgradeChecker] (main:[]) (logid:) Database upgrade is required but the management server is running in a clustered environment. Please perform the database upgrade when the management server is not running in a clustered environment. ``` Please look into this the 2nd management server is not starting. GitHub link: https://github.com/apache/cloudstack/discussions/13919#discussioncomment-18088912 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
