You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by pd...@apache.org on 2014/08/02 16:14:20 UTC
[1/4] git commit: update 4.3 to 4.4 upgrade for systemvm
Repository: cloudstack-docs-rn
Updated Branches:
refs/heads/master 8c4ab36e7 -> 93268e766
update 4.3 to 4.4 upgrade for systemvm
Project: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/commit/6e340686
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/tree/6e340686
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/diff/6e340686
Branch: refs/heads/master
Commit: 6e34068692a4a23199cdacb30eb66a67a33fadec
Parents: 8c4ab36
Author: Pierre-Luc Dion <pd...@apache.org>
Authored: Fri Aug 1 18:35:57 2014 -0400
Committer: Pierre-Luc Dion <pd...@apache.org>
Committed: Fri Aug 1 18:35:57 2014 -0400
----------------------------------------------------------------------
source/upgrade/_sysvm_templates.rst | 6 +--
source/upgrade/_sysvm_templates_pre43.rst | 6 +--
source/upgrade/upgrade-4.3.rst | 62 +++++++++++++++++++++++++-
3 files changed, 66 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/6e340686/source/upgrade/_sysvm_templates.rst
----------------------------------------------------------------------
diff --git a/source/upgrade/_sysvm_templates.rst b/source/upgrade/_sysvm_templates.rst
index 5f197ca..caadccd 100644
--- a/source/upgrade/_sysvm_templates.rst
+++ b/source/upgrade/_sysvm_templates.rst
@@ -59,7 +59,7 @@ Update System-VM templates
| | |
| | Featured: no |
| | |
- | | Routing: yes |
+ | | Routing: no |
+-------------------------+------------------------------------------------------------+
| KVM | Name: systemvm-kvm-|version| |
| | |
@@ -85,7 +85,7 @@ Update System-VM templates
| | |
| | Featured: no |
| | |
- | | Routing: yes |
+ | | Routing: no |
+-------------------------+------------------------------------------------------------+
| VMware | Name: systemvm-vmware-|version| |
| | |
@@ -111,7 +111,7 @@ Update System-VM templates
| | |
| | Featured: no |
| | |
- | | Routing: yes |
+ | | Routing: no |
+-------------------------+------------------------------------------------------------+
#. Watch the screen to be sure that the template downloads successfully and
http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/6e340686/source/upgrade/_sysvm_templates_pre43.rst
----------------------------------------------------------------------
diff --git a/source/upgrade/_sysvm_templates_pre43.rst b/source/upgrade/_sysvm_templates_pre43.rst
index 8043b67..c79a799 100644
--- a/source/upgrade/_sysvm_templates_pre43.rst
+++ b/source/upgrade/_sysvm_templates_pre43.rst
@@ -61,7 +61,7 @@ Update System-VM templates
| | |
| | Featured: no |
| | |
- | | Routing: yes |
+ | | Routing: no |
+-------------------------+------------------------------------------------------------+
| KVM | Name: systemvm-kvm-4.3 |
| | |
@@ -87,7 +87,7 @@ Update System-VM templates
| | |
| | Featured: no |
| | |
- | | Routing: yes |
+ | | Routing: no |
+-------------------------+------------------------------------------------------------+
| VMware | Name: systemvm-vmware-4.3 |
| | |
@@ -113,7 +113,7 @@ Update System-VM templates
| | |
| | Featured: no |
| | |
- | | Routing: yes |
+ | | Routing: no |
+-------------------------+------------------------------------------------------------+
#. Watch the screen to be sure that the template downloads successfully and
http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/6e340686/source/upgrade/upgrade-4.3.rst
----------------------------------------------------------------------
diff --git a/source/upgrade/upgrade-4.3.rst b/source/upgrade/upgrade-4.3.rst
index bba9878..d80df13 100644
--- a/source/upgrade/upgrade-4.3.rst
+++ b/source/upgrade/upgrade-4.3.rst
@@ -19,6 +19,14 @@
Upgrade Instruction from |version_to_upgrade|
=============================================
+.. warning::
+ A recently found systemvm upgrade require manual MySQL
+ commands in order to allow upgrade of SystemVMs and Virtual Routers.
+
+ Dependency to Java 1.7 inside SystemVM require Upgrade of systemvm-template.
+ Templates version 4.4.0-6 must be use with CloudStack 4.4.0.
+
+
This section will guide you from CloudStack |version_to_upgrade| to CloudStack
|version|.
@@ -60,6 +68,7 @@ Instructions for creating packages from the CloudStack source are in the
.. include:: _sysvm_templates.rst
+
Database Preparation
--------------------
@@ -397,11 +406,60 @@ Restart management services
$ sudo service cloudstack-usage start
-.. _upg-sysvm42:
+
+Manual hotfix for systemvm upgrade
+----------------------------------
+
+Once ``cloudstack-management`` is started and have upgrade the database version to 4.4.0,
+following MySQL queries must be executed prior to upgrade SystemVMs and Virtual Routers.
+
+
+XenServer systemvm
+^^^^^^^^^^^^^^^^^^
+
+#. execute following MySQL queries in MySQL.
+ Please note ``<ID FROM COMMAND #1>`` from the first command
+
+ .. code-block:: mysql
+
+ select id,name from vm_template where name = 'systemvm-xenserver-4.4';
+ update vm_template set type='SYSTEM' where id='<ID FROM COMMAND #1>';
+ update vm_instance set vm_template_id = '<ID FROM COMMAND #1>' where type='ConsoleProxy' and hypervisor_type = 'xenserver';
+ update vm_instance set vm_template_id = '<ID FROM COMMAND #1>' where type='SecondaryStorageVm' and hypervisor_type = 'xenserver';
+
+#. Restart cloudstack management server
+
+ .. sourcecode:: bash
+
+ $ sudo service cloudstack-management restart
+
+
+KVM systemvms
+^^^^^^^^^^^^^
+
+#. execute following MySQL queries in MySQL.
+ Please note ``<ID FROM COMMAND #1>`` from the first command
+
+ .. code-block:: mysql
+
+ select id,name from vm_template where name = 'systemvm-kvm-4.4';
+ update vm_template set type='SYSTEM' where id='<ID FROM COMMAND #1>';
+ update vm_instance set vm_template_id = '<ID FROM COMMAND #1>' where type='ConsoleProxy' and hypervisor_type = 'KVM';
+ update vm_instance set vm_template_id = '<ID FROM COMMAND #1>' where type='SecondaryStorageVm' and hypervisor_type = 'KVM';
+
+#. Restart cloudstack management server
+
+ .. sourcecode:: bash
+
+ $ sudo service cloudstack-management restart
+
+
+.. _upg-sysvm43:
System-VMs and Virtual-Routers
------------------------------
-This upgrade does not require System-VMs or Virtual-Routers Reboot.
+.. include:: _sysvm_restart.rst
+
.. include:: /global.rst
[4/4] git commit: sysvm upgrade formating
Posted by pd...@apache.org.
sysvm upgrade formating
Project: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/commit/93268e76
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/tree/93268e76
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/diff/93268e76
Branch: refs/heads/master
Commit: 93268e766965632c5e5bf855bf157a0983b67154
Parents: b0dead5
Author: Pierre-Luc Dion <pd...@apache.org>
Authored: Sat Aug 2 10:11:13 2014 -0400
Committer: Pierre-Luc Dion <pd...@apache.org>
Committed: Sat Aug 2 10:11:13 2014 -0400
----------------------------------------------------------------------
source/about.rst | 5 ++
source/upgrade/_sysvm_templates.rst | 7 --
source/upgrade/upgrade-4.3.rst | 119 ++++++++++++++++++++++---------
3 files changed, 89 insertions(+), 42 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/93268e76/source/about.rst
----------------------------------------------------------------------
diff --git a/source/about.rst b/source/about.rst
index a53dff2..52fb7ae 100644
--- a/source/about.rst
+++ b/source/about.rst
@@ -23,6 +23,11 @@ CloudStack |version| includes the following new features and improvements.
:local:
:backlinks: top
+Java version upgraded to java 1.7
+---------------------------------
+
+Apache CloudStack |version| is now using Java 1.7 for the management-server, cloudstack-usage, kvm agent and in system-VMs.
+
Support managed storage for root disks
--------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/93268e76/source/upgrade/_sysvm_templates.rst
----------------------------------------------------------------------
diff --git a/source/upgrade/_sysvm_templates.rst b/source/upgrade/_sysvm_templates.rst
index 1d01a01..c827ca1 100644
--- a/source/upgrade/_sysvm_templates.rst
+++ b/source/upgrade/_sysvm_templates.rst
@@ -117,10 +117,3 @@ Update System-VM templates
#. Watch the screen to be sure that the template downloads successfully and
enters the **READY** state. Do not proceed until this is successful.
-#. Update following Global Settings as follow:
-
- * ``router.template.xen`` to 'systemvm-xenserver-|version|'
- * ``router.template.kvm`` to 'systemvm-kvm-|version|'
- * ``router.template.vmware`` to 'systemvm-vmware-|version|'
-
-
http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/93268e76/source/upgrade/upgrade-4.3.rst
----------------------------------------------------------------------
diff --git a/source/upgrade/upgrade-4.3.rst b/source/upgrade/upgrade-4.3.rst
index ad05aef..cb0105e 100644
--- a/source/upgrade/upgrade-4.3.rst
+++ b/source/upgrade/upgrade-4.3.rst
@@ -26,6 +26,8 @@ Upgrade Instruction from |version_to_upgrade|
Dependency to Java 1.7 inside SystemVM require Upgrade of systemvm-template.
Templates version 4.4.0-6 must be use with CloudStack 4.4.0.
+ Refer to: :ref:`manual_hofix`
+
This section will guide you from CloudStack |version_to_upgrade| to CloudStack
|version|.
@@ -391,69 +393,116 @@ For KVM hosts, upgrade the ``cloudstack-agent`` package
$ sudo service cloudstack-agent start
-Restart management services
----------------------------
+.. _manual_hofix:
-#. Now it's time to start the management server
+Manual hotfix for systemvm upgrade
+----------------------------------
- .. sourcecode:: bash
+Some manual steps are required to upgrade of SystemVMs and Virtual Routers.
- $ sudo service cloudstack-management start
+Following MySQL commands will update the template ID used by Console Proxy VMs (CPVM)
+and Secondary Storage VMs (SSVM). It will also change the default template for
+Virtual Router to *systemvm-<hypervisor>-4.4* templates.
-#. If you use it, start the usage server
- .. sourcecode:: bash
+XenServer SystemVMs
+^^^^^^^^^^^^^^^^^^^
- $ sudo service cloudstack-usage start
+ Execute following MySQL queries in MySQL.
+ Please note ``<ID FROM COMMAND #1>`` from the first command
+ #. Connect to the database:
-Manual hotfix for systemvm upgrade
-----------------------------------
+ .. code-block:: bash
-Once ``cloudstack-management`` is started and have upgrade the database version to 4.4.0,
-following MySQL queries must be executed prior to upgrade SystemVMs and Virtual Routers.
+ mysql -h localhost -u root -p cloud
+ #. get the id of the new template:
-XenServer systemvm
-^^^^^^^^^^^^^^^^^^
+ .. code-block:: mysql
+
+ select id,name from vm_template where name = 'systemvm-xenserver-4.4';
+
+ #. Replace ``<ID FROM COMMAND #1>`` by the id from the previous command and execute following:
+
+ .. code-block:: mysql
+
+ update vm_template set type='SYSTEM' where id='<ID FROM COMMAND #1>';
+ update vm_instance set vm_template_id = '<ID FROM COMMAND #1>' where type='ConsoleProxy' and hypervisor_type = 'xenserver';
+ update vm_instance set vm_template_id = '<ID FROM COMMAND #1>' where type='SecondaryStorageVm' and hypervisor_type = 'xenserver';
+ update configuration set value = 'systemvm-xenserver-4.4' where name = 'router.template.xen';
-#. execute following MySQL queries in MySQL.
+
+KVM SystemVMs
+^^^^^^^^^^^^^
+
+ Execute following MySQL queries in MySQL.
Please note ``<ID FROM COMMAND #1>`` from the first command
- ``mysql -u root -p cloud``
- .. code-block:: mysql
+ #. Connect to the database:
- select id,name from vm_template where name = 'systemvm-xenserver-4.4';
- update vm_template set type='SYSTEM' where id='<ID FROM COMMAND #1>';
- update vm_instance set vm_template_id = '<ID FROM COMMAND #1>' where type='ConsoleProxy' and hypervisor_type = 'xenserver';
- update vm_instance set vm_template_id = '<ID FROM COMMAND #1>' where type='SecondaryStorageVm' and hypervisor_type = 'xenserver';
+ .. code-block:: bash
-#. Restart cloudstack management server
+ mysql -h localhost -u root -p cloud
- .. sourcecode:: bash
+ #. get the id of the new template:
- $ sudo service cloudstack-management restart
+ .. code-block:: mysql
+ select id,name from vm_template where name = 'systemvm-kvm-4.4';
-KVM systemvms
-^^^^^^^^^^^^^
+ #. Replace ``<ID FROM COMMAND #1>`` by the id from the previous command and execute following:
-#. execute following MySQL queries in MySQL.
+ .. code-block:: mysql
+
+ update vm_template set type='SYSTEM' where id='<ID FROM COMMAND #1>';
+ update vm_instance set vm_template_id = '<ID FROM COMMAND #1>' where type='ConsoleProxy' and hypervisor_type = 'KVM';
+ update vm_instance set vm_template_id = '<ID FROM COMMAND #1>' where type='SecondaryStorageVm' and hypervisor_type = 'KVM';
+ update configuration set value = 'systemvm-kvm-4.4' where name = 'router.template.kvm';
+
+
+VMware SystemVMs
+^^^^^^^^^^^^^^^^
+
+ Execute following MySQL queries in MySQL.
Please note ``<ID FROM COMMAND #1>`` from the first command
- ``mysql -u root -p cloud``
- .. code-block:: mysql
+ #. Connect to the database:
+
+ .. code-block:: bash
+
+ mysql -h localhost -u root -p cloud
- select id,name from vm_template where name = 'systemvm-kvm-4.4';
- update vm_template set type='SYSTEM' where id='<ID FROM COMMAND #1>';
- update vm_instance set vm_template_id = '<ID FROM COMMAND #1>' where type='ConsoleProxy' and hypervisor_type = 'KVM';
- update vm_instance set vm_template_id = '<ID FROM COMMAND #1>' where type='SecondaryStorageVm' and hypervisor_type = 'KVM';
+ #. get the id of the new template:
-#. Restart cloudstack management server
+ .. code-block:: mysql
+
+ select id,name from vm_template where name = 'systemvm-vmware-4.4';
+
+ #. Replace ``<ID FROM COMMAND #1>`` by the id from the previous command and execute following:
+
+ .. code-block:: mysql
+
+ update vm_template set type='SYSTEM' where id='<ID FROM COMMAND #1>';
+ update vm_instance set vm_template_id = '<ID FROM COMMAND #1>' where type='ConsoleProxy' and hypervisor_type = 'vmware';
+ update vm_instance set vm_template_id = '<ID FROM COMMAND #1>' where type='SecondaryStorageVm' and hypervisor_type = 'vmware';
+ update configuration set value = 'systemvm-vmware-4.4' where name = 'router.template.vmware';
+
+
+Restart management services
+---------------------------
+
+#. Now it's time to start the management server
.. sourcecode:: bash
- $ sudo service cloudstack-management restart
+ $ sudo service cloudstack-management start
+
+#. If you use it, start the usage server
+
+ .. sourcecode:: bash
+
+ $ sudo service cloudstack-usage start
.. _upg-sysvm43:
[3/4] git commit: add globalsetting info for systemvm
Posted by pd...@apache.org.
add globalsetting info for systemvm
Project: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/commit/b0dead59
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/tree/b0dead59
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/diff/b0dead59
Branch: refs/heads/master
Commit: b0dead594904b16ee5fbf953c3a72643a0120f52
Parents: 7e29bf7
Author: Pierre-Luc Dion <pd...@apache.org>
Authored: Fri Aug 1 20:56:32 2014 -0400
Committer: Pierre-Luc Dion <pd...@apache.org>
Committed: Fri Aug 1 20:56:32 2014 -0400
----------------------------------------------------------------------
source/upgrade/_sysvm_templates.rst | 8 ++++++++
source/upgrade/upgrade-4.3.rst | 2 ++
source/upgrade/upgrade_notes.rst | 6 +++---
3 files changed, 13 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/b0dead59/source/upgrade/_sysvm_templates.rst
----------------------------------------------------------------------
diff --git a/source/upgrade/_sysvm_templates.rst b/source/upgrade/_sysvm_templates.rst
index caadccd..1d01a01 100644
--- a/source/upgrade/_sysvm_templates.rst
+++ b/source/upgrade/_sysvm_templates.rst
@@ -116,3 +116,11 @@ Update System-VM templates
#. Watch the screen to be sure that the template downloads successfully and
enters the **READY** state. Do not proceed until this is successful.
+
+#. Update following Global Settings as follow:
+
+ * ``router.template.xen`` to 'systemvm-xenserver-|version|'
+ * ``router.template.kvm`` to 'systemvm-kvm-|version|'
+ * ``router.template.vmware`` to 'systemvm-vmware-|version|'
+
+
http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/b0dead59/source/upgrade/upgrade-4.3.rst
----------------------------------------------------------------------
diff --git a/source/upgrade/upgrade-4.3.rst b/source/upgrade/upgrade-4.3.rst
index d80df13..ad05aef 100644
--- a/source/upgrade/upgrade-4.3.rst
+++ b/source/upgrade/upgrade-4.3.rst
@@ -419,6 +419,7 @@ XenServer systemvm
#. execute following MySQL queries in MySQL.
Please note ``<ID FROM COMMAND #1>`` from the first command
+ ``mysql -u root -p cloud``
.. code-block:: mysql
@@ -439,6 +440,7 @@ KVM systemvms
#. execute following MySQL queries in MySQL.
Please note ``<ID FROM COMMAND #1>`` from the first command
+ ``mysql -u root -p cloud``
.. code-block:: mysql
http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/b0dead59/source/upgrade/upgrade_notes.rst
----------------------------------------------------------------------
diff --git a/source/upgrade/upgrade_notes.rst b/source/upgrade/upgrade_notes.rst
index dde28aa..e6a95d5 100644
--- a/source/upgrade/upgrade_notes.rst
+++ b/source/upgrade/upgrade_notes.rst
@@ -71,10 +71,10 @@ ldap.username.attribute uid sAMAccountName
======================= ============== ==============
-SystemVM 32bit
---------------
+SystemVM 32bit deprecated
+-------------------------
-32bit version of systemvm templates are in the process of behing deprecated. Upgrade instructions from this Release Notes use 64bit templates. Follow the dev mailing list for further updates.
+32bit version of systemvm templates are in the process of behing deprecated. Upgrade instructions from this Release Notes use 64bit templates. 32bit systemvm-templates are available for this version on `http://cloudstack.apt-get.eu/systemvm/4.4/ <http://cloudstack.apt-get.eu/systemvm/4.4/>`_. Follow the dev mailing list for further updates.
.. not confirmed
[2/4] git commit: 32bit sysvm template deprecation
Posted by pd...@apache.org.
32bit sysvm template deprecation
Project: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/commit/7e29bf71
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/tree/7e29bf71
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/diff/7e29bf71
Branch: refs/heads/master
Commit: 7e29bf71d3a0fa7324ad6eb666e6a4edbbea79f0
Parents: 6e34068
Author: Pierre-Luc Dion <pd...@apache.org>
Authored: Fri Aug 1 18:39:30 2014 -0400
Committer: Pierre-Luc Dion <pd...@apache.org>
Committed: Fri Aug 1 18:39:30 2014 -0400
----------------------------------------------------------------------
source/upgrade/upgrade_notes.rst | 5 +++++
1 file changed, 5 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/7e29bf71/source/upgrade/upgrade_notes.rst
----------------------------------------------------------------------
diff --git a/source/upgrade/upgrade_notes.rst b/source/upgrade/upgrade_notes.rst
index 141ecc4..dde28aa 100644
--- a/source/upgrade/upgrade_notes.rst
+++ b/source/upgrade/upgrade_notes.rst
@@ -71,6 +71,11 @@ ldap.username.attribute uid sAMAccountName
======================= ============== ==============
+SystemVM 32bit
+--------------
+
+32bit version of systemvm templates are in the process of behing deprecated. Upgrade instructions from this Release Notes use 64bit templates. Follow the dev mailing list for further updates.
+
.. not confirmed
Build From Sources