Skip to content

Commit cc9cef5

Browse files
committed
CLOUDSTACK-1837: Documenting steps from this bug for upgrade procedure from 4.0 to 4.1. Unsure how these translate for earlier CloudStack versions.
1 parent 04a8264 commit cc9cef5

1 file changed

Lines changed: 22 additions & 1 deletion

File tree

‎docs/en-US/Release_Notes.xml‎

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,26 @@ under the License.
5454
<para>Make a backup of your MySQL database. If you run into any issues or need to roll back the upgrade, this will assist in debugging or restoring your existing environment. You'll be prompted for your password.</para>
5555
<programlisting># mysqldump -u root -p cloud &gt; cloudstack-backup.sql</programlisting>
5656
</listitem>
57+
<listitem>
58+
<para>Whether you're upgrading a Red Hat/CentOS based system or Ubuntu based system, you're going to need to stop the CloudStack management server before proceeding.</para>
59+
<programlisting language="Bash"># service cloud-management stop</programlisting>
60+
</listitem>
61+
<listitem>
62+
<para>If you have made changes to <filename>/etc/cloud/management/components.xml</filename>, you'll need to carry these over manually to the new file, <filename>/etc/cloudstack/management/componentContext.xml</filename>. This is not done automatically. (If you're unsure, we recommend making a backup of the original <filename>components.xml</filename> to be on the safe side.</para>
63+
</listitem>
64+
<listitem>
65+
<note><title>For AWS API Users Only</title>
66+
<para>This step is only necessary if you're using the AWS APIs with &PRODUCT;. If not, you can skip this step.</para>
67+
</note>
68+
<para>The file <filename>/etc/cloud/management/db.properties</filename> will be carried over to <filename>etc/cloudstack/management/db.properties</filename>, but the parameters for the AWS API are <emphasis>not</emphasis> carried over. You'll need to add these parameters to the new file manually:</para>
69+
<programlisting language="Bash">
70+
db.awsapi.username=
71+
db.awsapi.password=
72+
db.awsapi.host=
73+
db.awsapi.port=
74+
</programlisting>
75+
<para>For the AWS API queries to work, you'll need to copy those over to <filename>/etc/cloudstack/management/db.properties</filename> (with the values you have currently).</para>
76+
</listitem>
5777
<listitem id="upgrade-deb-packages">
5878
<para>If you are using Ubuntu, follow this procedure to upgrade your packages. If not, skip to step <xref linkend="upgrade-rpm-packages" />.</para>
5979
<note><title>Community Packages</title>
@@ -74,7 +94,8 @@ under the License.
7494
<programlisting language="Bash">$ sudo apt-get update</programlisting>
7595
</listitem>
7696
<listitem id="deb-master">
77-
<para>### upgrade steps for Debian on master servers goes here.</para>
97+
<para>Now that you have the repository configured, it's time to install the <filename>cloudstack-management</filename> package. This will pull in any other dependencies you need.</para>
98+
<programlisting language="Bash">$ sudo apt-get install cloudstack-management</programlisting>
7899
</listitem>
79100
<listitem id="kvm-agent-deb">
80101
<para>You will need to manually install the <filename>cloudstack-agent</filename> package:</para>

0 commit comments

Comments
 (0)