cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pdion...@apache.org
Subject [2/4] git commit: upg43 remove manual hotfix
Date Sat, 27 Sep 2014 12:28:52 GMT
upg43 remove manual hotfix


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/367e8d04
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/tree/367e8d04
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/diff/367e8d04

Branch: refs/heads/4.4
Commit: 367e8d048b40fe31da0eaf980a3f8bd6c65264f7
Parents: 3d5f858
Author: Pierre-Luc Dion <pdion891@apache.org>
Authored: Sat Sep 27 08:26:58 2014 -0400
Committer: Pierre-Luc Dion <pdion891@apache.org>
Committed: Sat Sep 27 08:26:58 2014 -0400

----------------------------------------------------------------------
 source/upgrade/_sysvm_manual_hotfix.rst | 115 +++++++++++++++++++++++++++
 source/upgrade/upgrade-4.3.rst          |  96 ----------------------
 2 files changed, 115 insertions(+), 96 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/367e8d04/source/upgrade/_sysvm_manual_hotfix.rst
----------------------------------------------------------------------
diff --git a/source/upgrade/_sysvm_manual_hotfix.rst b/source/upgrade/_sysvm_manual_hotfix.rst
new file mode 100644
index 0000000..90a7d56
--- /dev/null
+++ b/source/upgrade/_sysvm_manual_hotfix.rst
@@ -0,0 +1,115 @@
+.. Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information#
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   http://www.apache.org/licenses/LICENSE-2.0
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.
+
+.. sub-section optinaly included in upgrade notes.
+
+.. Add following to file when including this manual hotfix
+   .. _manual_hofix:
+
+   Manual hotfix for systemvm upgrade
+   ----------------------------------
+   
+   .. include:: _sysvm_restart.rst
+.. End of include example
+
+Some manual steps are required to upgrade of SystemVMs and Virtual Routers.
+
+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.
+
+
+XenServer SystemVMs
+^^^^^^^^^^^^^^^^^^^
+
+   Execute following MySQL queries in MySQL. 
+   Please note ``<ID FROM COMMAND #1>`` from the first command
+
+   #. Connect to the database:
+
+      .. code-block:: bash
+
+         mysql -h localhost -u root -p cloud
+
+   #. get the id of the new template:
+
+      .. 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';
+
+
+KVM SystemVMs
+^^^^^^^^^^^^^
+
+   Execute following MySQL queries in MySQL. 
+   Please note ``<ID FROM COMMAND #1>`` from the first command
+
+   #. Connect to the database:
+
+      .. code-block:: bash
+
+         mysql -h localhost -u root -p cloud
+
+   #. get the id of the new template:
+
+      .. code-block:: mysql   
+
+         select id,name from vm_template where name = 'systemvm-kvm-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 = '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
+
+   #. Connect to the database:
+
+      .. code-block:: bash
+
+         mysql -h localhost -u root -p cloud
+
+   #. get the id of the new template:
+
+      .. 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';

http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/367e8d04/source/upgrade/upgrade-4.3.rst
----------------------------------------------------------------------
diff --git a/source/upgrade/upgrade-4.3.rst b/source/upgrade/upgrade-4.3.rst
index d6d374f..c56041a 100644
--- a/source/upgrade/upgrade-4.3.rst
+++ b/source/upgrade/upgrade-4.3.rst
@@ -393,102 +393,6 @@ For KVM hosts, upgrade the ``cloudstack-agent`` package
       $ sudo service cloudstack-agent start
 
 
-.. _manual_hofix:
-
-Manual hotfix for systemvm upgrade
-----------------------------------
-
-Some manual steps are required to upgrade of SystemVMs and Virtual Routers.
-
-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.
-
-
-XenServer SystemVMs
-^^^^^^^^^^^^^^^^^^^
-
-   Execute following MySQL queries in MySQL. 
-   Please note ``<ID FROM COMMAND #1>`` from the first command
-
-   #. Connect to the database:
-
-      .. code-block:: bash
-
-         mysql -h localhost -u root -p cloud
-
-   #. get the id of the new template:
-
-      .. 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';
-
-
-KVM SystemVMs
-^^^^^^^^^^^^^
-
-   Execute following MySQL queries in MySQL. 
-   Please note ``<ID FROM COMMAND #1>`` from the first command
-
-   #. Connect to the database:
-
-      .. code-block:: bash
-
-         mysql -h localhost -u root -p cloud
-
-   #. get the id of the new template:
-
-      .. code-block:: mysql   
-
-         select id,name from vm_template where name = 'systemvm-kvm-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 = '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
-
-   #. Connect to the database:
-
-      .. code-block:: bash
-
-         mysql -h localhost -u root -p cloud
-
-   #. get the id of the new template:
-
-      .. 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
 ---------------------------
 


Mime
View raw message