You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Ammad Syed <sy...@gmail.com> on 2022/01/13 13:40:26 UTC

Cloudstack Upgrade

Hi,

I am planning to upgrade cloudstack from 4.11.3 to 4.15.2. I am planning to
create a parallel build i.e will create a new VM of 4.11.3 and restore the
DB and upgrade the management server to 4.15.2 and start the management
server to perform DB upgrade. Will this process be ok ?

OR should I directly install 4.15.2 on a new VM and DB upgrades can be
handled by 4.15.2 management server from 4.11.3 to 4.15.2 ?

Is it ok to upload system vm template 4.15.1 to my production 4.11.3
environment and restarting the MS host won't make any issue because of
newer systemVM template uploaded ?

Also I want to purge all my cloud_usage DB data before upgrading to a new
system. Is it ok that I can only restore the schema of cloud_usage database
to a new system and upgraded cloudstack usage service can upgrade
its tables and put the data in there ?
- Ammad Ali

Re: Cloudstack Upgrade

Posted by Wei ZHOU <us...@gmail.com>.
Hi Ammad,

When you upgrade a template, the default type is 'USER' not 'SYSTEM',  it
will NOT be  used by system vms and virtual routers.
During the upgrade, the template type will be changed to 'SYSTEM' so it can
be used by system vms and VRs after upgrade.

You need to backup the database before upgrade. In case of upgrade failed,
please revert the database from backup, everything should be ok.

-Wei

On Tue, 18 Jan 2022 at 08:21, Ammad Syed <sy...@gmail.com> wrote:

> Thanks Wei for the guide.
>
> Can you please confirm one thing. If I upload the newer systemVM template
> 4.15.1 to my ACS 4.11.3 and do the upgrade. I case upgrade failed, will it
> be ok if there is newer systemVM template remains in ACS 4.11.3 or will it
> creates any trouble ?
>
> Ammad
>
> On Thu, Jan 13, 2022 at 7:56 PM Wei ZHOU <us...@gmail.com> wrote:
>
> > Hi,
> >
> > Please follow the steps on
> >
> >
> https://docs.cloudstack.apache.org/en/4.15.2.0/upgrading/upgrade/upgrade-4.11.html
> >
> > -Wei
> >
> > On Thu, 13 Jan 2022 at 14:42, Ammad Syed <sy...@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > I am planning to upgrade cloudstack from 4.11.3 to 4.15.2. I am
> planning
> > to
> > > create a parallel build i.e will create a new VM of 4.11.3 and restore
> > the
> > > DB and upgrade the management server to 4.15.2 and start the management
> > > server to perform DB upgrade. Will this process be ok ?
> > >
> > > OR should I directly install 4.15.2 on a new VM and DB upgrades can be
> > > handled by 4.15.2 management server from 4.11.3 to 4.15.2 ?
> > >
> > > Is it ok to upload system vm template 4.15.1 to my production 4.11.3
> > > environment and restarting the MS host won't make any issue because of
> > > newer systemVM template uploaded ?
> > >
> > > Also I want to purge all my cloud_usage DB data before upgrading to a
> new
> > > system. Is it ok that I can only restore the schema of cloud_usage
> > database
> > > to a new system and upgraded cloudstack usage service can upgrade
> > > its tables and put the data in there ?
> > > - Ammad Ali
> > >
> >
>
>
> --
> Regards,
>
>
> Syed Ammad Ali
>

Re: Cloudstack Upgrade

Posted by Ammad Syed <sy...@gmail.com>.
Thanks Wei for the guide.

Can you please confirm one thing. If I upload the newer systemVM template
4.15.1 to my ACS 4.11.3 and do the upgrade. I case upgrade failed, will it
be ok if there is newer systemVM template remains in ACS 4.11.3 or will it
creates any trouble ?

Ammad

On Thu, Jan 13, 2022 at 7:56 PM Wei ZHOU <us...@gmail.com> wrote:

> Hi,
>
> Please follow the steps on
>
> https://docs.cloudstack.apache.org/en/4.15.2.0/upgrading/upgrade/upgrade-4.11.html
>
> -Wei
>
> On Thu, 13 Jan 2022 at 14:42, Ammad Syed <sy...@gmail.com> wrote:
>
> > Hi,
> >
> > I am planning to upgrade cloudstack from 4.11.3 to 4.15.2. I am planning
> to
> > create a parallel build i.e will create a new VM of 4.11.3 and restore
> the
> > DB and upgrade the management server to 4.15.2 and start the management
> > server to perform DB upgrade. Will this process be ok ?
> >
> > OR should I directly install 4.15.2 on a new VM and DB upgrades can be
> > handled by 4.15.2 management server from 4.11.3 to 4.15.2 ?
> >
> > Is it ok to upload system vm template 4.15.1 to my production 4.11.3
> > environment and restarting the MS host won't make any issue because of
> > newer systemVM template uploaded ?
> >
> > Also I want to purge all my cloud_usage DB data before upgrading to a new
> > system. Is it ok that I can only restore the schema of cloud_usage
> database
> > to a new system and upgraded cloudstack usage service can upgrade
> > its tables and put the data in there ?
> > - Ammad Ali
> >
>


-- 
Regards,


Syed Ammad Ali

Re: Cloudstack Upgrade

Posted by Wei ZHOU <us...@gmail.com>.
Hi,

Please follow the steps on
https://docs.cloudstack.apache.org/en/4.15.2.0/upgrading/upgrade/upgrade-4.11.html

-Wei

On Thu, 13 Jan 2022 at 14:42, Ammad Syed <sy...@gmail.com> wrote:

> Hi,
>
> I am planning to upgrade cloudstack from 4.11.3 to 4.15.2. I am planning to
> create a parallel build i.e will create a new VM of 4.11.3 and restore the
> DB and upgrade the management server to 4.15.2 and start the management
> server to perform DB upgrade. Will this process be ok ?
>
> OR should I directly install 4.15.2 on a new VM and DB upgrades can be
> handled by 4.15.2 management server from 4.11.3 to 4.15.2 ?
>
> Is it ok to upload system vm template 4.15.1 to my production 4.11.3
> environment and restarting the MS host won't make any issue because of
> newer systemVM template uploaded ?
>
> Also I want to purge all my cloud_usage DB data before upgrading to a new
> system. Is it ok that I can only restore the schema of cloud_usage database
> to a new system and upgraded cloudstack usage service can upgrade
> its tables and put the data in there ?
> - Ammad Ali
>