Thanks guys will check it out. ----- Original Message ----- From: "Atin Mukherjee" <amukherj@xxxxxxxxxx> To: "Joseph Fernandes" <josferna@xxxxxxxxxx>, "Aravinda" <avishwan@xxxxxxxxxx> Cc: "Gluster Devel" <gluster-devel@xxxxxxxxxxx> Sent: Monday, February 22, 2016 12:18:12 PM Subject: Re: Need info : Gluster online upgrade hooks. Look for glusterd_handle_upgrade_downgrade () in glusterd-utils.c which is the entry point of handling the upgrade. As of now I don't think we call any hook script in the upgrade path. ~Atin On 02/22/2016 12:11 PM, Joseph Fernandes wrote: > So Glusterd run the hooked up scripts (asynchronously I assume), Can you point me to the glusterd file that I need to look at, to subscribe > this service. > > Regards, > Joe > > ----- Original Message ----- > From: "Aravinda" <avishwan@xxxxxxxxxx> > To: "Joseph Fernandes" <josferna@xxxxxxxxxx>, "Gluster Devel" <gluster-devel@xxxxxxxxxxx> > Sent: Monday, February 22, 2016 12:01:43 PM > Subject: Re: Need info : Gluster online upgrade hooks. > > glusterd will be run with "*.upgrade=on" argument after rpm > installation. I think you can plugin your upgrade scripts with that option. > > regards > Aravinda > > On 02/22/2016 11:48 AM, Joseph Fernandes wrote: >> Hi All, >> >> Need help in the gluster upgrade scenario, i.e information on upgrade scripts/hooks(might be in glusterd) >> >> Tiering requirement is CTR Xlator database schema will change for performance again http://review.gluster.org/#/c/13248/ >> >> So older version of gluster would need to migrate the database entries to the new database. I can provide with the script or code to do so, but need info on the upgrade hooks. >> >> Regards, >> Joe >> _______________________________________________ >> Gluster-devel mailing list >> Gluster-devel@xxxxxxxxxxx >> http://www.gluster.org/mailman/listinfo/gluster-devel > > _______________________________________________ > Gluster-devel mailing list > Gluster-devel@xxxxxxxxxxx > http://www.gluster.org/mailman/listinfo/gluster-devel > _______________________________________________ Gluster-devel mailing list Gluster-devel@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-devel