Ritu, when we do fresh install, db upgrade works like this: 1) First, create-schema.sql gets executed - that¹s the base. I¹m not sure though what version its based on, but definitely earlier than 4.2 2) Then all the upgrade paths get executed on a top of it 41-42, 42-43, 44-45
-Alena. On 6/12/14, 11:19 AM, "Ritu Sabharwal" <rsabh...@brocade.com> wrote: >Alena, > >Thanks for answering. For upgrade from 4.4 to 4.5, I understand it will >be in in 44-45.sql. > >How about a fresh install of 4.5? For 4.5. the db setup will be done by >create-schema.sql or some other script? > >Thanks & Regards, >Ritu S. > >-----Original Message----- >From: Alena Prokharchyk [mailto:alena.prokharc...@citrix.com] >Sent: Wednesday, June 11, 2014 3:25 PM >To: dev@cloudstack.apache.org; Ritu Sabharwal >Cc: Prakash Kaligotla; Nagendra Jaladanki >Subject: Re: [PROPOSAL] Brocade network plugin to orchestrate Brocade VDX >Switches for CloudStack 4.5 > >Ritu, > > >Answering your DB upgrade question. Schema upgrade changes should be put >to 44-45 sql upgrade script, not to create-schema.sql. All previous >releases get upgraded to 4.4 before being upgraded to 45. > > >-Alena. > > >On 6/11/14, 11:56 AM, "Ritu Sabharwal" <rsabh...@brocade.com> wrote: > >>Thanks Chiradeep! Please see my answers inlined. >> >>Thanks & Regards, >>Ritu S. >> >>-----Original Message----- >>From: Chiradeep Vittal [mailto:chiradeep.vit...@citrix.com] >>Sent: Tuesday, June 10, 2014 5:12 PM >>To: dev@cloudstack.apache.org >>Cc: Prakash Kaligotla; Nagendra Jaladanki >>Subject: Re: [PROPOSAL] Brocade network plugin to orchestrate Brocade >>VDX Switches for CloudStack 4.5 >> >>Well done. >>Question: How do you figure out the VLAN -to- Brocade switch port >>mapping? By using the mac address of the VM nic? >> >>[RS]: The plugin creates a port profile for each network and at the >>time of VM creation, associates the mac address of the VM nic to the >>respective network's port profile. >> >>Comment: It looks like you are creating a table >>(BrocadeNetworkHostMapping). Could you add details of this table >>(schema). Make sure this table appears in any upgrade scripts from >>previous releases. >> >>[RS]: I will add the schema for the BrocadeNetworkHostMapping table. I >>have added this table to create-schema.sql script. For 4.5, upgrade is >>supported from what all releases? I will add this to the respective >>scripts. >> >>From: Ritu Sabharwal >><rsabh...@brocade.com<mailto:rsabh...@brocade.com>> >>Reply-To: "dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>" >><dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>> >>Date: Tuesday, June 10, 2014 at 11:51 AM >>To: "dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>" >><dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>> >>Cc: Prakash Kaligotla >><pkali...@brocade.com<mailto:pkali...@brocade.com>>, Nagendra Jaladanki >><njala...@brocade.com<mailto:njala...@brocade.com>> >>Subject: [PROPOSAL] Brocade network plugin to orchestrate Brocade VDX >>Switches for CloudStack 4.5 >> >>Hi CS Developers, >> >>I have added the Design document for the Plugin in the wiki. Here is >>the link : >>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Brocade+Network+ >>Plu >>gin+to+Orchestrate+Brocade+VDX+Switches >> >>Please review it and provide your comments. >> >>Thanks & Regards, >>Ritu S. >> >