[Gluster-users] How to find out maximum supported op-version of glusterd in runtime
Atin Mukherjee
amukherj at redhat.com
Wed Jul 13 05:41:09 UTC 2016
OK, so we already have this in glusterd's statedump. If you execute kill
-SIGUSR1 $(pidof glusterd) you will get a glusterd statedump file with
naming convention as glusterdump.<pid of glusterd>.dump. <time instance> in
/var/run/gluster. This file would contain glusterd.max-op-version value
under [xlator.glusterd.priv] section.
HTH,
On Wed, Jul 13, 2016 at 6:11 AM, Atin Mukherjee <amukherj at redhat.com> wrote:
>
>
> On Wednesday 13 July 2016, Pavel Malyshev <p.malishev at gmail.com> wrote:
>
>> Hello!
>>
>> I use gluster for quite a long time and even survived a bunch of
>> upgrades..
>> Each time I upgrade, since "op-version" was introduced I scratch my head
>> and google a bit to find out which "op-version" should I set to my cluster.
>> I tried to convert current gluster package version to op-version, like
>> 3.7.1 to 30701, but it didn't work with 3,5&3.6 patches and some 3.7
>> patches (like 3.7.9, 3.7.11, etc).
>> Last few times I had to download latest gluster sources and grep for
>> 'GD_OP_VERSION' to find out the new value, which is not user friendly (or
>> completely user unfriendly?).
>> I have an automated system to deploy and upgrade gluster clusters, but
>> till now I had to spend precious time to find out actual version value and
>> set it manually...
>>
>> So my question is there any way to get the maximum supported op-version
>> of installed glusterd daemon (not cluster version) via cli?
>>
>
> No, we dont have. I think we can capture this in glusterd's statedump.
>
>
> --
> Atin
> Sent from iPhone
>
--
--Atin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160713/36df53ae/attachment.html>
More information about the Gluster-users
mailing list