abh1sar commented on code in PR #609:
URL: 
https://github.com/apache/cloudstack-documentation/pull/609#discussion_r3085889982


##########
source/upgrading/index.rst:
##########
@@ -34,6 +34,17 @@ The `cloudstack-management` package will now include the 
systemVM Templates for
 either prior upgrade or during fresh installation, ACS will handle the 
Template registration automatically, by mounting the secondary store onto the
 management server, copying the respective Templates to the store and then 
creating the `template.properties` file.
 
+From ACS 4.20.3 and 4.22.1 onwards A starting MS that detects an
+upgrade is needed but also sees mshost entries for MSses that are up,
+will abort. If as an operator starting an MS you get the error
+`Database upgrade is required but the management server is running in
+a clustered environment.` during upgrade, check if you have stopped
+all MSses in your environment and retry. If is still fails it might be
+that an MS has stopped un-gracefully and you need to fix the DB-entry

Review Comment:
   ```suggestion
   that a Management Server has stopped un-gracefully and you need to fix the 
DB-entry
   ```



##########
source/upgrading/index.rst:
##########
@@ -34,6 +34,17 @@ The `cloudstack-management` package will now include the 
systemVM Templates for
 either prior upgrade or during fresh installation, ACS will handle the 
Template registration automatically, by mounting the secondary store onto the
 management server, copying the respective Templates to the store and then 
creating the `template.properties` file.
 
+From ACS 4.20.3 and 4.22.1 onwards A starting MS that detects an
+upgrade is needed but also sees mshost entries for MSses that are up,
+will abort. If as an operator starting an MS you get the error
+`Database upgrade is required but the management server is running in
+a clustered environment.` during upgrade, check if you have stopped
+all MSses in your environment and retry. If is still fails it might be
+that an MS has stopped un-gracefully and you need to fix the DB-entry
+for it. For example, make sure all MSses are stopped by checking the
+hosts in the output of `select name from mshost where state <> ‘Down’`
+and then, when all is safe, run `update mshost set state = ‘Down'`

Review Comment:
   ```suggestion
   for it. For example, make sure all Management Servers are stopped by 
checking the
   hosts in the output of `select name from mshost where state <> ‘Down’`
   and then, when all is safe, run `update mshost set state = ‘Down'`
   ```



##########
source/upgrading/index.rst:
##########
@@ -34,6 +34,17 @@ The `cloudstack-management` package will now include the 
systemVM Templates for
 either prior upgrade or during fresh installation, ACS will handle the 
Template registration automatically, by mounting the secondary store onto the
 management server, copying the respective Templates to the store and then 
creating the `template.properties` file.
 
+From ACS 4.20.3 and 4.22.1 onwards A starting MS that detects an
+upgrade is needed but also sees mshost entries for MSses that are up,
+will abort. If as an operator starting an MS you get the error
+`Database upgrade is required but the management server is running in
+a clustered environment.` during upgrade, check if you have stopped
+all MSses in your environment and retry. If is still fails it might be

Review Comment:
   ```suggestion
   all other Management Servers in your environment and retry. If it still 
fails, it might be
   ```



##########
source/upgrading/index.rst:
##########
@@ -34,6 +34,17 @@ The `cloudstack-management` package will now include the 
systemVM Templates for
 either prior upgrade or during fresh installation, ACS will handle the 
Template registration automatically, by mounting the secondary store onto the
 management server, copying the respective Templates to the store and then 
creating the `template.properties` file.
 
+From ACS 4.20.3 and 4.22.1 onwards A starting MS that detects an
+upgrade is needed but also sees mshost entries for MSses that are up,
+will abort. If as an operator starting an MS you get the error

Review Comment:
   ```suggestion
   From ACS 4.20.3 and 4.22.1 onwards, a starting Management Server that 
detects an
   upgrade is needed will abort if it also finds mshost entries for other 
Management Servers that are up.
   If as an operator starting a Management Server you get the error
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to