[Gluster-devel] Need info : Gluster online upgrade hooks.

Atin Mukherjee amukherj at redhat.com
Mon Feb 22 06:48:12 UTC 2016


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 at redhat.com>
> To: "Joseph Fernandes" <josferna at redhat.com>, "Gluster Devel" <gluster-devel at gluster.org>
> Sent: Monday, February 22, 2016 12:01:43 PM
> Subject: Re: [Gluster-devel] 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 at gluster.org
>> http://www.gluster.org/mailman/listinfo/gluster-devel
> 
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-devel
> 


More information about the Gluster-devel mailing list