You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/04/19 13:37:39 UTC

[GitHub] [cloudstack-documentation] Pearl1594 opened a new pull request, #267: Add documentation for live patching systemVMs

Pearl1594 opened a new pull request, #267:
URL: https://github.com/apache/cloudstack-documentation/pull/267

   Doc PR for : https://github.com/apache/cloudstack/pull/5831


-- 
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: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack-documentation] nvazquez merged pull request #267: Add documentation for live patching systemVMs

Posted by GitBox <gi...@apache.org>.
nvazquez merged PR #267:
URL: https://github.com/apache/cloudstack-documentation/pull/267


-- 
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: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack-documentation] nvazquez commented on a diff in pull request #267: Add documentation for live patching systemVMs

Posted by GitBox <gi...@apache.org>.
nvazquez commented on code in PR #267:
URL: https://github.com/apache/cloudstack-documentation/pull/267#discussion_r856344655


##########
source/upgrading/upgrade/_sysvm_restart.rst:
##########
@@ -15,9 +15,46 @@
 
 .. sub-section included in upgrade notes.
 
-Once you've upgraded the packages on your management servers, you'll
+.. note::

Review Comment:
   This is now very long for a note :)



##########
source/upgrading/upgrade/_sysvm_restart.rst:
##########
@@ -15,9 +15,46 @@
 
 .. sub-section included in upgrade notes.
 
-Once you've upgraded the packages on your management servers, you'll
+.. note::
+
+   From Apache CloudStack version 4.17.0 onward, there is support to live patch 
+   system VMs, namely, SSVM, CPVM, Routers. Live patching provides support 
+   for zero-downtime upgrades, wherein, the System VM software is updated to the
+   latest code version without having to destroy and recreate them / restart them.
+
+   With this feature, users will have a choice wherein they can use the existing system VM template with the latest
+   software by using the live patch feature, or can follow the usual workflow of restarting the
+   system VM to use the latest system VM template. Live Patching system VMs serves to be especially
+   useful in cases when the code version has upgraded but the template hasn't. In such a scenario users
+   will no longer need to restart the system VMs to use the latest code.
+
+   When one attempts to live-patch the system VMs, it pretty much mimics the patching process
+   that happens when booting up the System VMs but with having to shut down the system VMs. 
+   This will update the software packages, which were previously bundled in the systemvm.iso i.e., 
+   agent.zip and cloud-scripts.tgz and restart the services that are present in the /var/cache/cloud/enabled_svcs file
+   in the system VMs. This would mean the following services would be restarted:
+
+            +-----------------+---------------------------+
+            | System VM       |         Services          |
+            +-----------------+---------------------------+
+            | SSVM            | cloud, apache2, portmap   |
+            +-----------------+---------------------------+
+            | CPVM            | cloud                     |
+            +-----------------+---------------------------+
+            | VRs             | haproxy, apache2, dnsmasq |
+            +-----------------+---------------------------+
+
+   Also, with respect to VRs, a network restart without cleanup is initiated to ensure all rules
+   are re-applied. 
+
+   **NOTE:** In case there is an absolute need to upgrade the system VM template due to availability of

Review Comment:
   Could apply ..note in this case



-- 
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: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack-documentation] blueorangutan commented on pull request #267: Add documentation for live patching systemVMs

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #267:
URL: https://github.com/apache/cloudstack-documentation/pull/267#issuecomment-1102670281

   Doc build preview: http://qa.cloudstack.cloud/docs/WIP-PROOFING/pr/267. (SL-JID 217)


-- 
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: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack-documentation] Pearl1594 commented on pull request #267: Add documentation for live patching systemVMs

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on PR #267:
URL: https://github.com/apache/cloudstack-documentation/pull/267#issuecomment-1107431480

   @blueorangutan docbuild


-- 
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: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack-documentation] rohityadavcloud commented on a diff in pull request #267: Add documentation for live patching systemVMs

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on code in PR #267:
URL: https://github.com/apache/cloudstack-documentation/pull/267#discussion_r856110356


##########
source/upgrading/upgrade/_sysvm_restart.rst:
##########
@@ -15,7 +15,22 @@
 
 .. sub-section included in upgrade notes.
 
-Once you've upgraded the packages on your management servers, you'll
+.. note::
+
+   From Apache CloudStack version 4.17.0 onward, there is support to live patch 
+   systemVMs, namely, SSVM, CPVM, Routers. Live patching provides support 
+   for zero-downtime upgrades, wherein, the SystemVM software is updated to the
+   latest code version without having to destroy and recreate them / restart them.
+
+   With this feature, users will have a choice wherein they can use the existing systemVM template with the latest
+   software by using the live patch feature, or can follow the usual workflow of restarting the
+   systemVM to use the latest systemVM template. Live Patching systemVMs serves to be especially
+   useful in cases when the code version has upgraded but the template hasn't. In such a scenario users
+   will no longer need to restart the systemVMs to use the latest code.

Review Comment:
   @Pearl1594 can you explain in some more detail what is covered in the "zero downtime" and what isn't, esp in the context of CPVM and VRs.



-- 
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: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack-documentation] blueorangutan commented on pull request #267: Add documentation for live patching systemVMs

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #267:
URL: https://github.com/apache/cloudstack-documentation/pull/267#issuecomment-1102669259

   @Pearl1594 a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress.


-- 
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: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack-documentation] rohityadavcloud commented on a diff in pull request #267: Add documentation for live patching systemVMs

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on code in PR #267:
URL: https://github.com/apache/cloudstack-documentation/pull/267#discussion_r856107080


##########
source/upgrading/upgrade/_sysvm_restart.rst:
##########
@@ -15,7 +15,22 @@
 
 .. sub-section included in upgrade notes.
 
-Once you've upgraded the packages on your management servers, you'll
+.. note::
+
+   From Apache CloudStack version 4.17.0 onward, there is support to live patch 
+   systemVMs, namely, SSVM, CPVM, Routers. Live patching provides support 
+   for zero-downtime upgrades, wherein, the SystemVM software is updated to the
+   latest code version without having to destroy and recreate them / restart them.
+
+   With this feature, users will have a choice wherein they can use the existing systemVM template with the latest

Review Comment:
   ```suggestion
      With this feature, users will have a choice wherein they can use the existing System VM template with the latest
   ```



-- 
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: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack-documentation] Pearl1594 commented on pull request #267: Add documentation for live patching systemVMs

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on PR #267:
URL: https://github.com/apache/cloudstack-documentation/pull/267#issuecomment-1106465802

   @blueorangutan docbuild


-- 
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: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack-documentation] Pearl1594 commented on pull request #267: Add documentation for live patching systemVMs

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on PR #267:
URL: https://github.com/apache/cloudstack-documentation/pull/267#issuecomment-1105097411

   @rohityadavcloud Could you please help review the content of the doc PR. Thanks


-- 
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: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack-documentation] blueorangutan commented on pull request #267: Add documentation for live patching systemVMs

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #267:
URL: https://github.com/apache/cloudstack-documentation/pull/267#issuecomment-1106609693

   @nvazquez a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress.


-- 
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: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack-documentation] rohityadavcloud commented on a diff in pull request #267: Add documentation for live patching systemVMs

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on code in PR #267:
URL: https://github.com/apache/cloudstack-documentation/pull/267#discussion_r856108200


##########
source/upgrading/upgrade/_sysvm_restart.rst:
##########
@@ -15,7 +15,22 @@
 
 .. sub-section included in upgrade notes.
 
-Once you've upgraded the packages on your management servers, you'll
+.. note::
+
+   From Apache CloudStack version 4.17.0 onward, there is support to live patch 
+   systemVMs, namely, SSVM, CPVM, Routers. Live patching provides support 
+   for zero-downtime upgrades, wherein, the SystemVM software is updated to the
+   latest code version without having to destroy and recreate them / restart them.
+
+   With this feature, users will have a choice wherein they can use the existing systemVM template with the latest

Review Comment:
   (comment being, use consist terms - either systemvm or SystemVM or System VM or system-vm



##########
source/upgrading/upgrade/_sysvm_restart.rst:
##########
@@ -15,7 +15,22 @@
 
 .. sub-section included in upgrade notes.
 
-Once you've upgraded the packages on your management servers, you'll
+.. note::
+
+   From Apache CloudStack version 4.17.0 onward, there is support to live patch 
+   systemVMs, namely, SSVM, CPVM, Routers. Live patching provides support 
+   for zero-downtime upgrades, wherein, the SystemVM software is updated to the
+   latest code version without having to destroy and recreate them / restart them.
+
+   With this feature, users will have a choice wherein they can use the existing systemVM template with the latest

Review Comment:
   (comment being, use consistent terms - either systemvm or SystemVM or System VM or system-vm



-- 
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: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack-documentation] nvazquez commented on pull request #267: Add documentation for live patching systemVMs

Posted by GitBox <gi...@apache.org>.
nvazquez commented on PR #267:
URL: https://github.com/apache/cloudstack-documentation/pull/267#issuecomment-1106609370

   @blueorangutan docbuild


-- 
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: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack-documentation] blueorangutan commented on pull request #267: Add documentation for live patching systemVMs

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #267:
URL: https://github.com/apache/cloudstack-documentation/pull/267#issuecomment-1106610702

   Doc build preview: http://qa.cloudstack.cloud/docs/WIP-PROOFING/pr/267. (SL-JID 229)


-- 
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: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack-documentation] blueorangutan commented on pull request #267: Add documentation for live patching systemVMs

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #267:
URL: https://github.com/apache/cloudstack-documentation/pull/267#issuecomment-1107431744

   @Pearl1594 a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress.


-- 
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: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack-documentation] blueorangutan commented on pull request #267: Add documentation for live patching systemVMs

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #267:
URL: https://github.com/apache/cloudstack-documentation/pull/267#issuecomment-1107432136

   Doc build preview: http://qa.cloudstack.cloud/docs/WIP-PROOFING/pr/267. (SL-JID 230)


-- 
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: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack-documentation] Pearl1594 commented on pull request #267: Add documentation for live patching systemVMs

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on PR #267:
URL: https://github.com/apache/cloudstack-documentation/pull/267#issuecomment-1102667897

   @blueorangutan docbuild


-- 
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: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org