[Gluster-devel] Need info : Gluster online upgrade hooks.
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.
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.
> ----- 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.
> 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.
>> Gluster-devel mailing list
>> Gluster-devel at gluster.org
> Gluster-devel mailing list
> Gluster-devel at gluster.org
More information about the Gluster-devel