[Gluster-users] Monitoring tools for GlusterFS

2020-08-07 Thread Gilberto Nunes
Hi guys...  I miss some tools that could be used in order to monitor
healing for example, and others things like resources used...  What do you
recommend?
Tools that could be used in CLI but that shows a percentage as healing is
under way would be nice!

Thanks.

---
Gilberto Nunes Ferreira




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Monitoring tools for GlusterFS

2020-08-07 Thread Adrian Quintero
Hello Gilberto,
I've had the same questions and some of the community friends were kind
enough to send me a few things to look for

However as you have stated it would be interesting to know exactly how to
monitor the healing process.
A friend mentioned some things we should monitor from a
Gluster's perspective but not limited to:
- Thin LVM (pool should never get full)
- Number of snapshots
- Quotas (both inodes and total size)
- GeoRep  Status
- Gluster brick status (2  out of 3 down and it's an outage for ' replica
3' volumes)
- Pending Heals
- Errors in Gluster brick logs can indicate FS issues
-  Errors  in other  Gluster  logs


As for the resources used please look at
https://docs.gluster.org/en/latest/Administrator%20Guide/Monitoring%20Workload/
it has helped me quite a bit.

If you find out about the healing process and how to monitor it , please
let me know.


Regards,

Adrian Quintero




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Monitoring tools for GlusterFS

2020-08-09 Thread Gilberto Nunes
I try it but get the error bellow

./gstatus.py -v

Traceback (most recent call last):
  File "./gstatus.py", line 245, in 
main()
  File "./gstatus.py", line 133, in main
cluster.initialise()
  File "/root/gstatus/gstatus/libgluster/cluster.py", line 97, in initialise
self.define_nodes()
  File "/root/gstatus/gstatus/libgluster/cluster.py", line 170, in
define_nodes
local_ip_list = get_ipv4_addr()  # Grab all IP's
  File "/root/gstatus/gstatus/libutils/network.py", line 130, in
get_ipv4_addr
namestr = names.tobytes()
AttributeError: 'array.array' object has no attribute 'tobytes'


---
Gilberto Nunes Ferreira

(47) 3025-5907
(47) 99676-7530 - Whatsapp / Telegram

Skype: gilberto.nunes36





Em sáb., 8 de ago. de 2020 às 18:28, Ingo Fischer 
escreveu:

> Hey,
>
> I use gstatus https://github.com/gluster/gstatus
>
> Ingo
>
> Am 08.08.20 um 06:27 schrieb Gilberto Nunes:
> > Hi guys...  I miss some tools that could be used in order to monitor
> > healing for example, and others things like resources used...  What do
> > you recommend?
> > Tools that could be used in CLI but that shows a percentage as healing
> > is under way would be nice!
> >
> > Thanks.
> >
> > ---
> > Gilberto Nunes Ferreira
> >
> >
> >
> >
> > 
> >
> >
> >
> > Community Meeting Calendar:
> >
> > Schedule -
> > Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
> > Bridge: https://bluejeans.com/441850968
> >
> > Gluster-users mailing list
> > Gluster-users@gluster.org
> > https://lists.gluster.org/mailman/listinfo/gluster-users
> >
>




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Monitoring tools for GlusterFS

2020-08-09 Thread Gilberto Nunes
How did you deploy it ? - git clone, ./gstatus.py, and python gstatus.py
install then gstatus

What is your gluster version ? Latest stable to Debian Buster (v8)



---
Gilberto Nunes Ferreira

(47) 3025-5907
(47) 99676-7530 - Whatsapp / Telegram

Skype: gilberto.nunes36





Em dom., 9 de ago. de 2020 às 12:28, Strahil Nikolov 
escreveu:

> You got a problem with your gstatus.
> How did you deploy it ?
> What is your gluster version ?Mine is working quite fine with 7.7
>
> Best Regards,
> Strahil Nikolov
>
> На 9 август 2020 г. 18:16:57 GMT+03:00, Gilberto Nunes <
> gilberto.nune...@gmail.com> написа:
> >I try it but get the error bellow
> >
> >./gstatus.py -v
> >
> >Traceback (most recent call last):
> >  File "./gstatus.py", line 245, in 
> >main()
> >  File "./gstatus.py", line 133, in main
> >cluster.initialise()
> >File "/root/gstatus/gstatus/libgluster/cluster.py", line 97, in
> >initialise
> >self.define_nodes()
> >  File "/root/gstatus/gstatus/libgluster/cluster.py", line 170, in
> >define_nodes
> >local_ip_list = get_ipv4_addr()  # Grab all IP's
> >  File "/root/gstatus/gstatus/libutils/network.py", line 130, in
> >get_ipv4_addr
> >namestr = names.tobytes()
> >AttributeError: 'array.array' object has no attribute 'tobytes'
> >
> >
> >---
> >Gilberto Nunes Ferreira
> >
> >(47) 3025-5907
> >(47) 99676-7530 - Whatsapp / Telegram
> >
> >Skype: gilberto.nunes36
> >
> >
> >
> >
> >
> >Em sáb., 8 de ago. de 2020 às 18:28, Ingo Fischer 
> >escreveu:
> >
> >> Hey,
> >>
> >> I use gstatus https://github.com/gluster/gstatus
> >>
> >> Ingo
> >>
> >> Am 08.08.20 um 06:27 schrieb Gilberto Nunes:
> >> > Hi guys...  I miss some tools that could be used in order to
> >monitor
> >> > healing for example, and others things like resources used...  What
> >do
> >> > you recommend?
> >> > Tools that could be used in CLI but that shows a percentage as
> >healing
> >> > is under way would be nice!
> >> >
> >> > Thanks.
> >> >
> >> > ---
> >> > Gilberto Nunes Ferreira
> >> >
> >> >
> >> >
> >> >
> >> > 
> >> >
> >> >
> >> >
> >> > Community Meeting Calendar:
> >> >
> >> > Schedule -
> >> > Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
> >> > Bridge: https://bluejeans.com/441850968
> >> >
> >> > Gluster-users mailing list
> >> > Gluster-users@gluster.org
> >> > https://lists.gluster.org/mailman/listinfo/gluster-users
> >> >
> >>
>




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Monitoring tools for GlusterFS

2020-08-09 Thread Strahil Nikolov
You got a problem with your gstatus.
How did you deploy it ? 
What is your gluster version ?Mine is working quite fine with 7.7

Best Regards,
Strahil Nikolov

На 9 август 2020 г. 18:16:57 GMT+03:00, Gilberto Nunes 
 написа:
>I try it but get the error bellow
>
>./gstatus.py -v
>
>Traceback (most recent call last):
>  File "./gstatus.py", line 245, in 
>main()
>  File "./gstatus.py", line 133, in main
>cluster.initialise()
>File "/root/gstatus/gstatus/libgluster/cluster.py", line 97, in
>initialise
>self.define_nodes()
>  File "/root/gstatus/gstatus/libgluster/cluster.py", line 170, in
>define_nodes
>local_ip_list = get_ipv4_addr()  # Grab all IP's
>  File "/root/gstatus/gstatus/libutils/network.py", line 130, in
>get_ipv4_addr
>namestr = names.tobytes()
>AttributeError: 'array.array' object has no attribute 'tobytes'
>
>
>---
>Gilberto Nunes Ferreira
>
>(47) 3025-5907
>(47) 99676-7530 - Whatsapp / Telegram
>
>Skype: gilberto.nunes36
>
>
>
>
>
>Em sáb., 8 de ago. de 2020 às 18:28, Ingo Fischer 
>escreveu:
>
>> Hey,
>>
>> I use gstatus https://github.com/gluster/gstatus
>>
>> Ingo
>>
>> Am 08.08.20 um 06:27 schrieb Gilberto Nunes:
>> > Hi guys...  I miss some tools that could be used in order to
>monitor
>> > healing for example, and others things like resources used...  What
>do
>> > you recommend?
>> > Tools that could be used in CLI but that shows a percentage as
>healing
>> > is under way would be nice!
>> >
>> > Thanks.
>> >
>> > ---
>> > Gilberto Nunes Ferreira
>> >
>> >
>> >
>> >
>> > 
>> >
>> >
>> >
>> > Community Meeting Calendar:
>> >
>> > Schedule -
>> > Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
>> > Bridge: https://bluejeans.com/441850968
>> >
>> > Gluster-users mailing list
>> > Gluster-users@gluster.org
>> > https://lists.gluster.org/mailman/listinfo/gluster-users
>> >
>>




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Monitoring tools for GlusterFS

2020-08-09 Thread Strahil Nikolov
Hi Gilberto,

I just tested latest master branch on CentOS8 -> total failure (both python2 
and python3).

I have opened a github issue at https://github.com/gluster/gstatus/issues/30 

I guess, you can add details for OS, packages and gluster version (maybe a 
traceback also).


The more interesing part is that the old zip I got is working on CentOS8 (with 
python2.7) without issues:


[root@glustera gstatus-master]# python2 gstatus.py  
 
Product: Community  Capacity:  22.00 GiB(raw bricks)
 Status: HEALTHY  520.00 MiB(raw used)
  Glusterfs: 8.0    6.00 GiB(usable from volumes)
 OverCommit: No    Snapshots:   0


If you wish, I can try to upload it somewhere for you.

Best Regards,
Strahil Nikolov






В неделя, 9 август 2020 г., 20:13:13 Гринуич+3, Gilberto Nunes 
 написа: 





How did you deploy it ? - git clone, ./gstatus.py, and python gstatus.py 
install then gstatus

What is your gluster version ? Latest stable to Debian Buster (v8)



---
Gilberto Nunes Ferreira

(47) 3025-5907

(47) 99676-7530 - Whatsapp / Telegram

Skype: gilberto.nunes36




Em dom., 9 de ago. de 2020 às 12:28, Strahil Nikolov  
escreveu:
> You got a problem with your gstatus.
> How did you deploy it ? 
> What is your gluster version ?Mine is working quite fine with 7.7
> 
> Best Regards,
> Strahil Nikolov
> 
> На 9 август 2020 г. 18:16:57 GMT+03:00, Gilberto Nunes 
>  написа:
>>I try it but get the error bellow
>>
>>./gstatus.py -v
>>
>>Traceback (most recent call last):
>>  File "./gstatus.py", line 245, in 
>>    main()
>>  File "./gstatus.py", line 133, in main
>>    cluster.initialise()
>>File "/root/gstatus/gstatus/libgluster/cluster.py", line 97, in
>>initialise
>>    self.define_nodes()
>>  File "/root/gstatus/gstatus/libgluster/cluster.py", line 170, in
>>define_nodes
>>    local_ip_list = get_ipv4_addr()  # Grab all IP's
>>  File "/root/gstatus/gstatus/libutils/network.py", line 130, in
>>get_ipv4_addr
>>    namestr = names.tobytes()
>>AttributeError: 'array.array' object has no attribute 'tobytes'
>>
>>
>>---
>>Gilberto Nunes Ferreira
>>
>>(47) 3025-5907
>>(47) 99676-7530 - Whatsapp / Telegram
>>
>>Skype: gilberto.nunes36
>>
>>
>>
>>
>>
>>Em sáb., 8 de ago. de 2020 às 18:28, Ingo Fischer 
>>escreveu:
>>
>>> Hey,
>>>
>>> I use gstatus https://github.com/gluster/gstatus
>>>
>>> Ingo
>>>
>>> Am 08.08.20 um 06:27 schrieb Gilberto Nunes:
>>> > Hi guys...  I miss some tools that could be used in order to
>>monitor
>>> > healing for example, and others things like resources used...  What
>>do
>>> > you recommend?
>>> > Tools that could be used in CLI but that shows a percentage as
>>healing
>>> > is under way would be nice!
>>> >
>>> > Thanks.
>>> >
>>> > ---
>>> > Gilberto Nunes Ferreira
>>> >
>>> >
>>> >
>>> >
>>> > 
>>> >
>>> >
>>> >
>>> > Community Meeting Calendar:
>>> >
>>> > Schedule -
>>> > Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
>>> > Bridge: https://bluejeans.com/441850968
>>> >
>>> > Gluster-users mailing list
>>> > Gluster-users@gluster.org
>>> > https://lists.gluster.org/mailman/listinfo/gluster-users
>>> >
>>>
> 




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Monitoring tools for GlusterFS

2020-08-12 Thread Sachidananda Urs
On Sun, Aug 9, 2020 at 10:43 PM Gilberto Nunes 
wrote:

> How did you deploy it ? - git clone, ./gstatus.py, and python gstatus.py
> install then gstatus
>
> What is your gluster version ? Latest stable to Debian Buster (v8)
>
>
>
Hello Gilberto. I just made a 1.0.0 release.
gstatus binary is available to download from (requires python >= 3.6)
https://github.com/gluster/gstatus/releases/tag/v1.0.0

You can find the complete documentation here:
https://github.com/gluster/gstatus/blob/master/README

Follow the below steps for a quick method to test it out:

# curl -LO
https://github.com/gluster/gstatus/releases/download/v1.0.0/gstatus

# chmod +x gstatus

# ./gstatus -a
# ./gstatus --help

If you like what you see. You can move it to /usr/local/bin

Would like to hear your feedback. Any feature requests/bugs/PRs are welcome.

-sac




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Monitoring tools for GlusterFS

2020-08-12 Thread Gilberto Nunes
It's work!
./gstatus -a

Cluster:
Status: Healthy GlusterFS: 8.0
Nodes: 2/2  Volumes: 1/1

Volumes:
VMS   Replicate  Started (UP) - 2/2
Bricks Up
 Capacity: (28.41%
used) 265.00 GiB/931.00 GiB (used/total)
 Bricks:
Distribute Group 1:

glusterfs01:/DATA/vms
  (Online)

glusterfs02:/DATA/vms
  (Online)



Awesome, thanks!
---
Gilberto Nunes Ferreira

(47) 3025-5907
(47) 99676-7530 - Whatsapp / Telegram

Skype: gilberto.nunes36





Em qua., 12 de ago. de 2020 às 13:52, Sachidananda Urs 
escreveu:

>
>
> On Sun, Aug 9, 2020 at 10:43 PM Gilberto Nunes 
> wrote:
>
>> How did you deploy it ? - git clone, ./gstatus.py, and python gstatus.py
>> install then gstatus
>>
>> What is your gluster version ? Latest stable to Debian Buster (v8)
>>
>>
>>
> Hello Gilberto. I just made a 1.0.0 release.
> gstatus binary is available to download from (requires python >= 3.6)
> https://github.com/gluster/gstatus/releases/tag/v1.0.0
>
> You can find the complete documentation here:
> https://github.com/gluster/gstatus/blob/master/README
>
> Follow the below steps for a quick method to test it out:
>
> # curl -LO
> https://github.com/gluster/gstatus/releases/download/v1.0.0/gstatus
>
> # chmod +x gstatus
>
> # ./gstatus -a
> # ./gstatus --help
>
> If you like what you see. You can move it to /usr/local/bin
>
> Would like to hear your feedback. Any feature requests/bugs/PRs are
> welcome.
>
> -sac
>




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Monitoring tools for GlusterFS

2020-08-12 Thread Strahil Nikolov
I couldn't make it work  on C8...
Maybe I was cloning the wrong branch.

Details can be found at 
https://github.com/gluster/gstatus/issues/30#issuecomment-673041743

Best Regards,
Strahil Nikolov

На 12 август 2020 г. 20:01:45 GMT+03:00, Gilberto Nunes 
 написа:
>It's work!
>./gstatus -a
>
>Cluster:
>Status: Healthy GlusterFS: 8.0
>Nodes: 2/2  Volumes: 1/1
>
>Volumes:
>VMS   Replicate  Started (UP) - 2/2
>Bricks Up
> Capacity: (28.41%
>used) 265.00 GiB/931.00 GiB (used/total)
> Bricks:
>Distribute Group 1:
>
>glusterfs01:/DATA/vms
>  (Online)
>
>glusterfs02:/DATA/vms
>  (Online)
>
>
>
>Awesome, thanks!
>---
>Gilberto Nunes Ferreira
>
>(47) 3025-5907
>(47) 99676-7530 - Whatsapp / Telegram
>
>Skype: gilberto.nunes36
>
>
>
>
>
>Em qua., 12 de ago. de 2020 às 13:52, Sachidananda Urs
>
>escreveu:
>
>>
>>
>> On Sun, Aug 9, 2020 at 10:43 PM Gilberto Nunes
>
>> wrote:
>>
>>> How did you deploy it ? - git clone, ./gstatus.py, and python
>gstatus.py
>>> install then gstatus
>>>
>>> What is your gluster version ? Latest stable to Debian Buster (v8)
>>>
>>>
>>>
>> Hello Gilberto. I just made a 1.0.0 release.
>> gstatus binary is available to download from (requires python >= 3.6)
>> https://github.com/gluster/gstatus/releases/tag/v1.0.0
>>
>> You can find the complete documentation here:
>> https://github.com/gluster/gstatus/blob/master/README
>>
>> Follow the below steps for a quick method to test it out:
>>
>> # curl -LO
>> https://github.com/gluster/gstatus/releases/download/v1.0.0/gstatus
>>
>> # chmod +x gstatus
>>
>> # ./gstatus -a
>> # ./gstatus --help
>>
>> If you like what you see. You can move it to /usr/local/bin
>>
>> Would like to hear your feedback. Any feature requests/bugs/PRs are
>> welcome.
>>
>> -sac
>>




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Monitoring tools for GlusterFS

2020-08-12 Thread Sachidananda Urs
On Thu, Aug 13, 2020 at 12:58 AM Strahil Nikolov 
wrote:

> I couldn't make it work  on C8...
> Maybe I was cloning the wrong branch.
>
> Details can be found at
> https://github.com/gluster/gstatus/issues/30#issuecomment-673041743


I have commented on the issue:
https://github.com/gluster/gstatus/issues/30#issuecomment-673238987
These are the steps:

 $ git clone https://github.com/gluster/gstatus.git
 $ cd gstatus
 $ VERSION=1.0.0 make gen-version
 # python3 setup.py install

make gen-version will create version.py

Thanks,
sac




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Monitoring tools for GlusterFS

2020-08-13 Thread Gilberto Nunes
Hi
Could you improve the output to show "Possibly undergoing heal" as well?
gluster vol heal VMS info
Brick gluster01:/DATA/vms
Status: Connected
Number of entries: 0

Brick gluster02:/DATA/vms
/images/100/vm-100-disk-0.raw - Possibly undergoing heal
Status: Connected
Number of entries: 1


Thanks
---
Gilberto Nunes Ferreira


Em qua., 12 de ago. de 2020 às 13:52, Sachidananda Urs 
escreveu:

>
>
> On Sun, Aug 9, 2020 at 10:43 PM Gilberto Nunes 
> wrote:
>
>> How did you deploy it ? - git clone, ./gstatus.py, and python gstatus.py
>> install then gstatus
>>
>> What is your gluster version ? Latest stable to Debian Buster (v8)
>>
>>
>>
> Hello Gilberto. I just made a 1.0.0 release.
> gstatus binary is available to download from (requires python >= 3.6)
> https://github.com/gluster/gstatus/releases/tag/v1.0.0
>
> You can find the complete documentation here:
> https://github.com/gluster/gstatus/blob/master/README
>
> Follow the below steps for a quick method to test it out:
>
> # curl -LO
> https://github.com/gluster/gstatus/releases/download/v1.0.0/gstatus
>
> # chmod +x gstatus
>
> # ./gstatus -a
> # ./gstatus --help
>
> If you like what you see. You can move it to /usr/local/bin
>
> Would like to hear your feedback. Any feature requests/bugs/PRs are
> welcome.
>
> -sac
>




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Monitoring tools for GlusterFS

2020-08-14 Thread Sachidananda Urs
On Fri, Aug 14, 2020 at 10:04 AM Gilberto Nunes 
wrote:

> Hi
> Could you improve the output to show "Possibly undergoing heal" as well?
> gluster vol heal VMS info
> Brick gluster01:/DATA/vms
> Status: Connected
> Number of entries: 0
>
> Brick gluster02:/DATA/vms
> /images/100/vm-100-disk-0.raw - Possibly undergoing heal
> Status: Connected
> Number of entries: 1
>
>

We plan to add heal count. For example:

Self-Heal: 456 pending files.

Or something similar. If we list files, and if the number of files is high
it takes a long time and fills the screen making it quite cumbersome.

-sac

>




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Monitoring tools for GlusterFS

2020-08-14 Thread Gilberto Nunes
Yes! I see!
For many small files is complicated...
Here I am generally using 2 or 3 large files (VM disk images!)...
I think this could be at least some progress bar or percent about the
healing process... Some ETA, or similar...
Otherwise the tool is nice and promising...
Thanks anyway.

---
Gilberto Nunes Ferreira



Em sex., 14 de ago. de 2020 às 10:55, Sachidananda Urs 
escreveu:

>
>
> On Fri, Aug 14, 2020 at 10:04 AM Gilberto Nunes <
> gilberto.nune...@gmail.com> wrote:
>
>> Hi
>> Could you improve the output to show "Possibly undergoing heal" as well?
>> gluster vol heal VMS info
>> Brick gluster01:/DATA/vms
>> Status: Connected
>> Number of entries: 0
>>
>> Brick gluster02:/DATA/vms
>> /images/100/vm-100-disk-0.raw - Possibly undergoing heal
>> Status: Connected
>> Number of entries: 1
>>
>>
>
> We plan to add heal count. For example:
>
> Self-Heal: 456 pending files.
>
> Or something similar. If we list files, and if the number of files is high
> it takes a long time and fills the screen making it quite cumbersome.
>
> -sac
>
>>




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Monitoring tools for GlusterFS

2020-08-15 Thread Strahil Nikolov
Usually sharding is used for that purpose. Each shard is of a fixed size.

For details: 
https://access.redhat.com/documentation/en-us/red_hat_gluster_storage/3.3/html/configuring_red_hat_virtualization_with_red_hat_gluster_storage/chap-hosting_virtual_machine_images_on_red_hat_storage_volumes

Best Regards,
Strahil Nikolov

На 14 август 2020 г. 17:08:57 GMT+03:00, Gilberto Nunes 
 написа:
>Yes! I see!
>For many small files is complicated...
>Here I am generally using 2 or 3 large files (VM disk images!)...
>I think this could be at least some progress bar or percent about the
>healing process... Some ETA, or similar...
>Otherwise the tool is nice and promising...
>Thanks anyway.
>
>---
>Gilberto Nunes Ferreira
>
>
>
>Em sex., 14 de ago. de 2020 às 10:55, Sachidananda Urs
>
>escreveu:
>
>>
>>
>> On Fri, Aug 14, 2020 at 10:04 AM Gilberto Nunes <
>> gilberto.nune...@gmail.com> wrote:
>>
>>> Hi
>>> Could you improve the output to show "Possibly undergoing heal" as
>well?
>>> gluster vol heal VMS info
>>> Brick gluster01:/DATA/vms
>>> Status: Connected
>>> Number of entries: 0
>>>
>>> Brick gluster02:/DATA/vms
>>> /images/100/vm-100-disk-0.raw - Possibly undergoing heal
>>> Status: Connected
>>> Number of entries: 1
>>>
>>>
>>
>> We plan to add heal count. For example:
>>
>> Self-Heal: 456 pending files.
>>
>> Or something similar. If we list files, and if the number of files is
>high
>> it takes a long time and fills the screen making it quite cumbersome.
>>
>> -sac
>>
>>>




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Monitoring tools for GlusterFS

2020-08-20 Thread Sachidananda Urs
On Fri, Aug 14, 2020 at 10:04 AM Gilberto Nunes 
wrote:

> Hi
> Could you improve the output to show "Possibly undergoing heal" as well?
> gluster vol heal VMS info
> Brick gluster01:/DATA/vms
> Status: Connected
> Number of entries: 0
>
> Brick gluster02:/DATA/vms
> /images/100/vm-100-disk-0.raw - Possibly undergoing heal
> Status: Connected
> Number of entries: 1
>

Gilberto, the release 1.0.2 (
https://github.com/gluster/gstatus/releases/tag/v1.0.2) has included
self-heal status.
The output looks like this:

root@master-node:/home/sac/work/gstatus# gstatus


Cluster:

 Status: Healthy GlusterFS: 9dev

 Nodes: 3/3  Volumes: 1/1


Volumes:

  snap-1   Replicate  Started (UP) - 2/2
Bricks Up

  Capacity: (9.43%
used) 4.00 GiB/40.00 GiB (used/total)

  Self-Heal:


slave-1:/mnt/brick1/snapr1/r11
(13 File(s) to heal).

  Snapshots: 2

  Quota: On

Hope that helps.

-sac

>




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Monitoring tools for GlusterFS

2020-08-20 Thread Gilberto Nunes
Awesome, thanks!
That's nice!

---
Gilberto Nunes Ferreira





Em qui., 20 de ago. de 2020 às 12:53, Sachidananda Urs 
escreveu:

>
>
> On Fri, Aug 14, 2020 at 10:04 AM Gilberto Nunes <
> gilberto.nune...@gmail.com> wrote:
>
>> Hi
>> Could you improve the output to show "Possibly undergoing heal" as well?
>> gluster vol heal VMS info
>> Brick gluster01:/DATA/vms
>> Status: Connected
>> Number of entries: 0
>>
>> Brick gluster02:/DATA/vms
>> /images/100/vm-100-disk-0.raw - Possibly undergoing heal
>> Status: Connected
>> Number of entries: 1
>>
>
> Gilberto, the release 1.0.2 (
> https://github.com/gluster/gstatus/releases/tag/v1.0.2) has included
> self-heal status.
> The output looks like this:
>
> root@master-node:/home/sac/work/gstatus# gstatus
>
>
> Cluster:
>
>  Status: Healthy GlusterFS: 9dev
>
>  Nodes: 3/3  Volumes: 1/1
>
>
> Volumes:
>
>   snap-1   Replicate  Started (UP) - 2/2
> Bricks Up
>
>   Capacity: (9.43%
> used) 4.00 GiB/40.00 GiB (used/total)
>
>   Self-Heal:
>
>  
> slave-1:/mnt/brick1/snapr1/r11
> (13 File(s) to heal).
>
>   Snapshots: 2
>
>   Quota: On
> 
> Hope that helps.
>
> -sac
>
>>




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Monitoring tools for GlusterFS

2020-08-20 Thread Gilberto Nunes
Hi Sachidananda!
I am trying to use the latest release of gstatus, but when I cut off one of
the nodes, I get timeout...

gluster vol heal VMS info
Brick glusterfs01:/DATA/vms
Status: Transport endpoint is not connected
Number of entries: -

Brick glusterfs02:/DATA/vms
/images/100/vm-100-disk-0.qcow2
Status: Connected
Number of entries: 1

proxmox02:~# gstatus -a
Error : Request timed out


gluster vol heal VMS info works but gstatus -a gets me timeout.

Any suggestions?

Thanks

---
Gilberto Nunes Ferreira






Em qui., 20 de ago. de 2020 às 12:53, Sachidananda Urs 
escreveu:

>
>
> On Fri, Aug 14, 2020 at 10:04 AM Gilberto Nunes <
> gilberto.nune...@gmail.com> wrote:
>
>> Hi
>> Could you improve the output to show "Possibly undergoing heal" as well?
>> gluster vol heal VMS info
>> Brick gluster01:/DATA/vms
>> Status: Connected
>> Number of entries: 0
>>
>> Brick gluster02:/DATA/vms
>> /images/100/vm-100-disk-0.raw - Possibly undergoing heal
>> Status: Connected
>> Number of entries: 1
>>
>
> Gilberto, the release 1.0.2 (
> https://github.com/gluster/gstatus/releases/tag/v1.0.2) has included
> self-heal status.
> The output looks like this:
>
> root@master-node:/home/sac/work/gstatus# gstatus
>
>
> Cluster:
>
>  Status: Healthy GlusterFS: 9dev
>
>  Nodes: 3/3  Volumes: 1/1
>
>
> Volumes:
>
>   snap-1   Replicate  Started (UP) - 2/2
> Bricks Up
>
>   Capacity: (9.43%
> used) 4.00 GiB/40.00 GiB (used/total)
>
>   Self-Heal:
>
>  
> slave-1:/mnt/brick1/snapr1/r11
> (13 File(s) to heal).
>
>   Snapshots: 2
>
>   Quota: On
> 
> Hope that helps.
>
> -sac
>
>>




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Monitoring tools for GlusterFS

2020-08-21 Thread Sachidananda Urs
On Fri, Aug 21, 2020 at 4:07 AM Gilberto Nunes 
wrote:

> Hi Sachidananda!
> I am trying to use the latest release of gstatus, but when I cut off one
> of the nodes, I get timeout...
>

I tried to reproduce, but couldn't. How did you cut off the node? I killed
all the gluster processes on one of the nodes and I see this.
You can see one of the bricks is shown as offline. And nodes are 2/3. Can
you please tell me the steps to reproduce the issue.

root@master-node:/mnt/gluster/movies# gstatus -a


Cluster:

 Status: DegradedGlusterFS: 9dev

 Nodes: 2/3  Volumes: 1/1


Volumes:

  snap-1   Replicate  Started (PARTIAL) -
1/2 Bricks Up

  Capacity: (12.02%
used) 5.00 GiB/40.00 GiB (used/total)

  Self-Heal:


slave-1:/mnt/brick1/snapr1/r11
(7 File(s) to heal).

  Snapshots: 2

 Name:
snap_1_today_GMT-2020.08.15-15.39.10

 Status: Started
  Created On: 2020-08-15 15:39:10 +

 Name:
snap_2_today_GMT-2020.08.15-15.39.20

 Status: Stopped
  Created On: 2020-08-15 15:39:20 +

  Bricks:

 Distribute Group 1:


slave-1:/mnt/brick1/snapr1/r11
  (Online)


slave-2:/mnt/brick1/snapr2/r22
  (Offline)

  Quota: Off

  Note:
glusterd/glusterfsd is down in one or more nodes.

Sizes might not
be accurate.



root@master-node:/mnt/gluster/movies#

>




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Monitoring tools for GlusterFS

2020-08-22 Thread Artem Russakovskii
The output currently has some whitespace issues.

1. The space shift under Cluster is different than under Volumes, making
the output look a bit inconsistent.
2. Can you please fix the tabulation for when volume names are varying in
length? This output is shifted and looks messy as a result for me.

Cluster:
 Status: Healthy GlusterFS: 7.7
 Nodes: 4/4  Volumes: 3/3

Volumes:
 XX2   Replicate  Started (UP) - 4/4
Bricks Up
  Capacity: (54.03%
used) 553.00 GiB/1024.00 GiB (used/total)

 X_data3   Replicate  Started (UP) -
4/4 Bricks Up
  Capacity: (78.41%
used) 392.00 GiB/500.00 GiB (used/total)

 X_data1   Replicate  Started (UP) - 4/4
Bricks Up
  Capacity: (94.24%
used) 9.00 TiB/10.00 TiB (used/total)

Sincerely,
Artem

--
Founder, Android Police , APK Mirror
, Illogical Robot LLC
beerpla.net | @ArtemR 


On Fri, Aug 21, 2020 at 7:36 AM Sachidananda Urs  wrote:

>
>
> On Fri, Aug 21, 2020 at 4:07 AM Gilberto Nunes 
> wrote:
>
>> Hi Sachidananda!
>> I am trying to use the latest release of gstatus, but when I cut off one
>> of the nodes, I get timeout...
>>
>
> I tried to reproduce, but couldn't. How did you cut off the node? I killed
> all the gluster processes on one of the nodes and I see this.
> You can see one of the bricks is shown as offline. And nodes are 2/3. Can
> you please tell me the steps to reproduce the issue.
>
> root@master-node:/mnt/gluster/movies# gstatus -a
>
>
> Cluster:
>
>  Status: DegradedGlusterFS: 9dev
>
>  Nodes: 2/3  Volumes: 1/1
>
>
> Volumes:
>
>   snap-1   Replicate  Started (PARTIAL) -
> 1/2 Bricks Up
>
>   Capacity: (12.02%
> used) 5.00 GiB/40.00 GiB (used/total)
>
>   Self-Heal:
>
>  
> slave-1:/mnt/brick1/snapr1/r11
> (7 File(s) to heal).
>
>   Snapshots: 2
>
>  Name:
> snap_1_today_GMT-2020.08.15-15.39.10
>
>  Status: Started
> Created On: 2020-08-15 15:39:10 +
>
>  Name:
> snap_2_today_GMT-2020.08.15-15.39.20
>
>  Status: Stopped
> Created On: 2020-08-15 15:39:20 +
>
>   Bricks:
>
>  Distribute Group
> 1:
>
> 
> slave-1:/mnt/brick1/snapr1/r11
>   (Online)
>
> 
> slave-2:/mnt/brick1/snapr2/r22
>   (Offline)
>
>   Quota: Off
>
>   Note:
> glusterd/glusterfsd is down in one or more nodes.
>
> Sizes might
> not be accurate.
>
>
>
> root@master-node:/mnt/gluster/movies#
>
>> 
>
>
>
> Community Meeting Calendar:
>
> Schedule -
> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
> Bridge: https://bluejeans.com/441850968
>
> Gluster-users mailing list
> Gluster-users@gluster.org
> https://lists.gluster.org/mailman/listinfo/gluster-users
>




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Monitoring tools for GlusterFS

2020-08-23 Thread Sachidananda Urs
On Sat, Aug 22, 2020 at 10:52 PM Artem Russakovskii 
wrote:

> The output currently has some whitespace issues.
>
> 1. The space shift under Cluster is different than under Volumes, making
> the output look a bit inconsistent.
> 2. Can you please fix the tabulation for when volume names are varying in
> length? This output is shifted and looks messy as a result for me.
>

Artem, since the volume names vary for longer volumes the column number
increases and users have to scroll to right.
To overcome this, I have decided to print the volume name in a row by
itself.  PR: https://github.com/gluster/gstatus/pull/44 fixes the issue.

The output looks like this:

root@master-node:/home/sac/work/gstatus# gstatus


Cluster:

 Status: Healthy GlusterFS: 9dev

 Nodes: 3/3  Volumes: 2/2


Volumes:


snap-1

Replicate  Started (UP) - 2/2 Bricks Up

   Capacity: (12.04% used) 5.00 GiB/40.00
GiB (used/total)

   Snapshots: 2

   Quota: On


very_very_long_long_name_to_test_the_gstatus_display

Replicate  Started (UP) - 2/2 Bricks Up

   Capacity: (12.04% used) 5.00 GiB/40.00
GiB (used/total)



root@master-node:/home/sac/work/gstatus#


-sac




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Monitoring tools for GlusterFS

2020-08-29 Thread Artem Russakovskii
Another small tweak: in your README, you have this:
"curl -LO v1.0.3 gstatus (download)
"
This makes it impossible to just easily copy paste. You should just put the
link in there, and wrap in code formatting blocks.

Sincerely,
Artem

--
Founder, Android Police , APK Mirror
, Illogical Robot LLC
beerpla.net | @ArtemR 


On Sun, Aug 23, 2020 at 6:20 AM Sachidananda Urs  wrote:

>
>
> On Sat, Aug 22, 2020 at 10:52 PM Artem Russakovskii 
> wrote:
>
>> The output currently has some whitespace issues.
>>
>> 1. The space shift under Cluster is different than under Volumes, making
>> the output look a bit inconsistent.
>> 2. Can you please fix the tabulation for when volume names are varying in
>> length? This output is shifted and looks messy as a result for me.
>>
>
> Artem, since the volume names vary for longer volumes the column number
> increases and users have to scroll to right.
> To overcome this, I have decided to print the volume name in a row by
> itself.  PR: https://github.com/gluster/gstatus/pull/44 fixes the issue.
>
> The output looks like this:
>
> root@master-node:/home/sac/work/gstatus# gstatus
>
>
> Cluster:
>
>  Status: Healthy GlusterFS: 9dev
>
>  Nodes: 3/3  Volumes: 2/2
>
>
> Volumes:
>
>
> snap-1
>
> Replicate  Started (UP) - 2/2 Bricks Up
>
>Capacity: (12.04% used) 5.00 GiB/40.00
> GiB (used/total)
>
>Snapshots: 2
>
>Quota: On
>
>
> very_very_long_long_name_to_test_the_gstatus_display
>
> Replicate  Started (UP) - 2/2 Bricks Up
>
>Capacity: (12.04% used) 5.00 GiB/40.00
> GiB (used/total)
>
>
>
> root@master-node:/home/sac/work/gstatus#
>
>
> -sac
>




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Monitoring tools for GlusterFS

2020-08-30 Thread Sachidananda Urs
On Sat, Aug 29, 2020 at 11:10 PM Artem Russakovskii 
wrote:

> Another small tweak: in your README, you have this:
> "curl -LO v1.0.3 gstatus (download)
> "
> This makes it impossible to just easily copy paste. You should just put
> the link in there, and wrap in code formatting blocks.
>

Ack. PR: https://github.com/gluster/gstatus/pull/48 should fix the  issue.




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Monitoring tools for GlusterFS

2020-09-03 Thread Artem Russakovskii
Great, thanks. Thoughts on distributing updates via various repos for
package managers? For example, I'd love to be able to update it via zypper
on OpenSUSE.

On Sun, Aug 30, 2020, 6:55 AM Sachidananda Urs  wrote:

>
>
> On Sat, Aug 29, 2020 at 11:10 PM Artem Russakovskii 
> wrote:
>
>> Another small tweak: in your README, you have this:
>> "curl -LO v1.0.3 gstatus (download)
>> "
>> This makes it impossible to just easily copy paste. You should just put
>> the link in there, and wrap in code formatting blocks.
>>
>
> Ack. PR: https://github.com/gluster/gstatus/pull/48 should fix the  issue.
>




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Monitoring tools for GlusterFS

2020-09-03 Thread Sachidananda Urs
On Fri, Sep 4, 2020 at 10:00 AM Artem Russakovskii 
wrote:

> Great, thanks. Thoughts on distributing updates via various repos for
> package managers? For example, I'd love to be able to update it via zypper
> on OpenSUSE.
>

Artem, I'm not thinking of creating packages deb/rpm/pkg. Will be glad to
help if any volunteers want to create packages.

-sac

>




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users