Re: [Gluster-users] Ownership changed to root

2012-08-28 Thread Stephan von Krawczynski
On Mon, 27 Aug 2012 18:43:27 +0100
Brian Candler b.cand...@pobox.com wrote:

 On Mon, Aug 27, 2012 at 03:08:21PM +0200, Stephan von Krawczynski wrote:
  The gluster version is 2.X and cannot be changed.
 
 Ah, that's the important bit. If you have a way to replicate the problem
 with current code it will be easier to get someone to look at it.

Again, let me note two things:
- the current code has a lot more (other) problems than the 2.X tree, that is
why we won't use that.
- if one has to look at the code to find out the basic problem he is not the
target person of our question.

-- 
Regards,
Stephan
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Ownership changed to root

2012-08-28 Thread Brian Candler
On Tue, Aug 28, 2012 at 10:01:16AM +0200, Stephan von Krawczynski wrote:
 Again, let me note two things:
 - the current code has a lot more (other) problems than the 2.X tree, that is
 why we won't use that.
 - if one has to look at the code to find out the basic problem he is not the
 target person of our question.

To which I would suggest that if such a fundamental problem were known
about, it would have been fixed long ago.

IMO your best bet is to raise a bug report in bugzilla.
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Ownership changed to root

2012-08-28 Thread Stephan von Krawczynski
On Tue, 28 Aug 2012 09:21:57 +0100
Brian Candler b.cand...@pobox.com wrote:

 On Tue, Aug 28, 2012 at 10:01:16AM +0200, Stephan von Krawczynski wrote:
  Again, let me note two things:
  - the current code has a lot more (other) problems than the 2.X tree, that 
  is
  why we won't use that.
  - if one has to look at the code to find out the basic problem he is not the
  target person of our question.
 
 To which I would suggest that if such a fundamental problem were known
 about, it would have been fixed long ago.
 
 IMO your best bet is to raise a bug report in bugzilla.

It is obvious I cannot do that because the only answer will be to update to a
current version and re-file the report if the problem still persists.

I am well aware though that the problem is quite fundamental for a fs...

-- 
Regards,
Stephan
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] QEMU-GlusterFS native integration demo video

2012-08-28 Thread Fernando Frediani (Qube)
Thanks for sharing it with us Bharata.

I saw you have two nodes. Have you done any performance tests and if so how 
they compare with creating normal .qcow2 or .raw files on the filesystem, 
specially for the writes ?

Thanks

Fernando

-Original Message-
From: gluster-users-boun...@gluster.org 
[mailto:gluster-users-boun...@gluster.org] On Behalf Of Bharata B Rao
Sent: 28 August 2012 05:14
To: gluster-users@gluster.org; gluster-de...@nongnu.org
Subject: [Gluster-users] QEMU-GlusterFS native integration demo video

Hi,

If you are interested and/or curious to know how QEMU can be used to create and 
boot VM's from GlusterFS volume, take a look at the demo video I have created 
at:

www.youtube.com/watch?v=JG3kF_djclg

Regards,
Bharata.
--
http://bharata.sulekha.com/blog/posts.htm, http://raobharata.wordpress.com/ 
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Failed to get names of volumes

2012-08-28 Thread s19n
* s19n mail...@s19n.net [2012 08 27, 17:56]:
  Additional update: seems that the command (and many others) is not
 working because of a 'local lock' being held.

I think I am hitting the following, so I'll be looking forward the fix:

https://bugzilla.redhat.com/show_bug.cgi?id=843003

___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


[Gluster-users] FeedBack Requested : Changes to CLI output of 'peer status'

2012-08-28 Thread Amar Tumballi

Hi,

Wanted to check if any one is using gluster CLI output of 'peer status' 
in their scripts/programs? If yes, let me know. If not, we are trying to 
make it more script friendly.


For example the current output would look something like:

-
Hostname: 10.70.36.7
Uuid: c7283ee7-0e8d-4cb8-8552-a63ab05deaa7
State: Peer in Cluster (Connected)

Hostname: 10.70.36.6
Uuid: 5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef
State: Peer in Cluster (Connected)

-

New changes would make it look like :

---
UUID  Hostname   Status
c7283ee7-0e8d-4cb8-8552-a63ab05deaa7  10.70.36.7 Connected
5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef  10.70.36.6 Connected

---

If anyone has better format, or want more information, let us know now. 
I would keep timeout for this mail as 3 more working days, and without 
any response, we will go ahead with the change.


Regards,
Amar
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Failed to get names of volumes

2012-08-28 Thread Kaushal M
Glusterd holds a cluster wide lock before performing any volume
operation requested by cli (excluding 'volume info'). This lock is
supposed to be released at the end of the given operation, whether the
operation succeeded or not, but it appears that it hasn't in your
case. But I don't think you've encountered the bug (843003) mentioned.
Could you provide the glusterd logs of the server with the lock still
held, so that we can make a diagnosis?

- Kaushal

On Tue, Aug 28, 2012 at 3:15 PM, s19n mail...@s19n.net wrote:

 * s19n mail...@s19n.net [2012 08 27, 17:56]:
   Additional update: seems that the command (and many others) is not
  working because of a 'local lock' being held.

 I think I am hitting the following, so I'll be looking forward the fix:

 https://bugzilla.redhat.com/show_bug.cgi?id=843003

 ___
 Gluster-users mailing list
 Gluster-users@gluster.org
 http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] FeedBack Requested : Changes to CLI output of 'peer status'

2012-08-28 Thread Washer, Bryan
htmlbodyI would love thisand would be more than happy to change my 
current parsing...this would make it A LOT easier to parseas well as easier 
to see all information on a disconnected peer as the information will be in a 
single line.

Bryan Washer

-Original Message-
From: gluster-users-boun...@gluster.org 
[mailto:gluster-users-boun...@gluster.org] On Behalf Of Amar Tumballi
Sent: Tuesday, August 28, 2012 6:06 AM
To: Gluster Devel; gluster-users
Subject: [Gluster-users] FeedBack Requested : Changes to CLI output of 'peer 
status'

Hi,

Wanted to check if any one is using gluster CLI output of 'peer status' 
in their scripts/programs? If yes, let me know. If not, we are trying to 
make it more script friendly.

For example the current output would look something like:

-
Hostname: 10.70.36.7
Uuid: c7283ee7-0e8d-4cb8-8552-a63ab05deaa7
State: Peer in Cluster (Connected)

Hostname: 10.70.36.6
Uuid: 5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef
State: Peer in Cluster (Connected)

-

New changes would make it look like :

---
UUID  Hostname   Status
c7283ee7-0e8d-4cb8-8552-a63ab05deaa7  10.70.36.7 Connected
5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef  10.70.36.6 Connected

---

If anyone has better format, or want more information, let us know now. 
I would keep timeout for this mail as 3 more working days, and without 
any response, we will go ahead with the change.

Regards,
Amar
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


NOTICE: This email and any attachments may contain confidential and proprietary 
information of NetSuite Inc. and is for the sole use of the intended recipient 
for the stated purpose. Any improper use or distribution is prohibited. If you 
are not the intended recipient, please notify the sender; do not review, copy 
or distribute; and promptly delete or destroy all transmitted information. 
Please note that all communications and information transmitted through this 
email system may be monitored by NetSuite or its agents and that all incoming 
email is automatically scanned by a third party spam and filtering service

/body/html___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] FeedBack Requested : Changes to CLI output of 'peer status'

2012-08-28 Thread Pranith Kumar Karampuri
hi Amar,
 This is the format we considered initially but we did not go with this 
because it may exceed 80 chars and wrap over for small terminals if we want to 
add more fields in future.

Pranith.
- Original Message -
From: Amar Tumballi ama...@redhat.com
To: Gluster Devel gluster-de...@nongnu.org, gluster-users 
gluster-users@gluster.org
Sent: Tuesday, August 28, 2012 4:36:07 PM
Subject: [Gluster-users] FeedBack Requested : Changes to CLI output of 'peer
status'

Hi,

Wanted to check if any one is using gluster CLI output of 'peer status' 
in their scripts/programs? If yes, let me know. If not, we are trying to 
make it more script friendly.

For example the current output would look something like:

-
Hostname: 10.70.36.7
Uuid: c7283ee7-0e8d-4cb8-8552-a63ab05deaa7
State: Peer in Cluster (Connected)

Hostname: 10.70.36.6
Uuid: 5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef
State: Peer in Cluster (Connected)

-

New changes would make it look like :

---
UUID  Hostname   Status
c7283ee7-0e8d-4cb8-8552-a63ab05deaa7  10.70.36.7 Connected
5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef  10.70.36.6 Connected

---

If anyone has better format, or want more information, let us know now. 
I would keep timeout for this mail as 3 more working days, and without 
any response, we will go ahead with the change.

Regards,
Amar
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] FeedBack Requested : Changes to CLI output of 'peer status'

2012-08-28 Thread Pranith Kumar Karampuri
Bryan,
   Why not use --xml at the end of the command? That will print the output in 
xml format. Would that make it easy to parse?.

Pranith.
- Original Message -
From: Bryan Washer bwas...@netsuite.com
To: Amar Tumballi ama...@redhat.com, Gluster Devel 
gluster-de...@nongnu.org, gluster-users gluster-users@gluster.org
Sent: Tuesday, August 28, 2012 5:40:16 PM
Subject: Re: [Gluster-users] FeedBack Requested : Changes to CLI output of 
'peerstatus'




I would love thisand would be more than happy to change my current 
parsing...this would make it A LOT easier to parseas well as easier to see 
all information on a disconnected peer as the information will be in a single 
line. 

Bryan Washer 

-Original Message- 
From: gluster-users-boun...@gluster.org 
[mailto:gluster-users-boun...@gluster.org] On Behalf Of Amar Tumballi 
Sent: Tuesday, August 28, 2012 6:06 AM 
To: Gluster Devel; gluster-users 
Subject: [Gluster-users] FeedBack Requested : Changes to CLI output of 'peer 
status' 

Hi, 

Wanted to check if any one is using gluster CLI output of 'peer status' 
in their scripts/programs? If yes, let me know. If not, we are trying to 
make it more script friendly. 

For example the current output would look something like: 

- 
Hostname: 10.70.36.7 
Uuid: c7283ee7-0e8d-4cb8-8552-a63ab05deaa7 
State: Peer in Cluster (Connected) 

Hostname: 10.70.36.6 
Uuid: 5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef 
State: Peer in Cluster (Connected) 

- 

New changes would make it look like : 

--- 
UUID Hostname Status 
c7283ee7-0e8d-4cb8-8552-a63ab05deaa7 10.70.36.7 Connected 
5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef 10.70.36.6 Connected 

--- 

If anyone has better format, or want more information, let us know now. 
I would keep timeout for this mail as 3 more working days, and without 
any response, we will go ahead with the change. 

Regards, 
Amar 
___ 
Gluster-users mailing list 
Gluster-users@gluster.org 
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users 


NOTICE: This email and any attachments may contain confidential and proprietary 
information of NetSuite Inc. and is for the sole use of the intended recipient 
for the stated purpose. Any improper use or distribution is prohibited. If you 
are not the intended recipient, please notify the sender; do not review, copy 
or distribute; and promptly delete or destroy all transmitted information. 
Please note that all communications and information transmitted through this 
email system may be monitored by NetSuite or its agents and that all incoming 
email is automatically scanned by a third party spam and filtering service. 
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] FeedBack Requested : Changes to CLI output of 'peer status'

2012-08-28 Thread Marcelo Roccasalva
On Tue, Aug 28, 2012 at 9:46 AM, Pranith Kumar Karampuri 
pkara...@redhat.com wrote:

 hi Amar,
  This is the format we considered initially but we did not go with
 this because it may exceed 80 chars and wrap over for small terminals if we
 want to add more fields in future.


It would be good to provide a switch for the new format while preserving
the default...



 Pranith.
 - Original Message -
 From: Amar Tumballi ama...@redhat.com
 To: Gluster Devel gluster-de...@nongnu.org, gluster-users 
 gluster-users@gluster.org
 Sent: Tuesday, August 28, 2012 4:36:07 PM
 Subject: [Gluster-users] FeedBack Requested : Changes to CLI output of
 'peerstatus'

 Hi,

 Wanted to check if any one is using gluster CLI output of 'peer status'
 in their scripts/programs? If yes, let me know. If not, we are trying to
 make it more script friendly.

 For example the current output would look something like:

 -
 Hostname: 10.70.36.7
 Uuid: c7283ee7-0e8d-4cb8-8552-a63ab05deaa7
 State: Peer in Cluster (Connected)

 Hostname: 10.70.36.6
 Uuid: 5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef
 State: Peer in Cluster (Connected)

 -

 New changes would make it look like :

 ---
 UUID  Hostname   Status
 c7283ee7-0e8d-4cb8-8552-a63ab05deaa7  10.70.36.7 Connected
 5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef  10.70.36.6 Connected

 ---

 If anyone has better format, or want more information, let us know now.
 I would keep timeout for this mail as 3 more working days, and without
 any response, we will go ahead with the change.

 Regards,
 Amar
 ___
 Gluster-users mailing list
 Gluster-users@gluster.org
 http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
 ___
 Gluster-users mailing list
 Gluster-users@gluster.org
 http://gluster.org/cgi-bin/mailman/listinfo/gluster-users




-- 
Marcelo

¿No será acaso que esta vida moderna está teniendo más de moderna que de
vida? (Mafalda)
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] FeedBack Requested : Changes to CLI output of 'peer status'

2012-08-28 Thread Washer, Bryan
htmlbodyIf this is the case...why not add a flag for the more verbose 
information ...and let the default provide just the basics with output very 
easy to parse like this...

Bryan Washer

-Original Message-
From: gluster-users-boun...@gluster.org 
[mailto:gluster-users-boun...@gluster.org] On Behalf Of Pranith Kumar Karampuri
Sent: Tuesday, August 28, 2012 7:46 AM
To: Amar Tumballi
Cc: gluster-users; Gluster Devel
Subject: Re: [Gluster-users] FeedBack Requested : Changes to CLI output of 
'peer status'

hi Amar,
 This is the format we considered initially but we did not go with this 
because it may exceed 80 chars and wrap over for small terminals if we want to 
add more fields in future.

Pranith.
- Original Message -
From: Amar Tumballi ama...@redhat.com
To: Gluster Devel gluster-de...@nongnu.org, gluster-users 
gluster-users@gluster.org
Sent: Tuesday, August 28, 2012 4:36:07 PM
Subject: [Gluster-users] FeedBack Requested : Changes to CLI output of 'peer
status'

Hi,

Wanted to check if any one is using gluster CLI output of 'peer status' 
in their scripts/programs? If yes, let me know. If not, we are trying to 
make it more script friendly.

For example the current output would look something like:

-
Hostname: 10.70.36.7
Uuid: c7283ee7-0e8d-4cb8-8552-a63ab05deaa7
State: Peer in Cluster (Connected)

Hostname: 10.70.36.6
Uuid: 5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef
State: Peer in Cluster (Connected)

-

New changes would make it look like :

---
UUID  Hostname   Status
c7283ee7-0e8d-4cb8-8552-a63ab05deaa7  10.70.36.7 Connected
5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef  10.70.36.6 Connected

---

If anyone has better format, or want more information, let us know now. 
I would keep timeout for this mail as 3 more working days, and without 
any response, we will go ahead with the change.

Regards,
Amar
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


NOTICE: This email and any attachments may contain confidential and proprietary 
information of NetSuite Inc. and is for the sole use of the intended recipient 
for the stated purpose. Any improper use or distribution is prohibited. If you 
are not the intended recipient, please notify the sender; do not review, copy 
or distribute; and promptly delete or destroy all transmitted information. 
Please note that all communications and information transmitted through this 
email system may be monitored by NetSuite or its agents and that all incoming 
email is automatically scanned by a third party spam and filtering service

/body/html___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] FeedBack Requested : Changes to CLI output of 'peer status'

2012-08-28 Thread Washer, Bryan
htmlbodyPranith,

  I will look at it...Thanks.

Bryan

-Original Message-
From: Pranith Kumar Karampuri [mailto:pkara...@redhat.com] 
Sent: Tuesday, August 28, 2012 7:51 AM
To: Washer, Bryan
Cc: Amar Tumballi; Gluster Devel; gluster-users
Subject: Re: [Gluster-users] FeedBack Requested : Changes to CLI output of 
'peer status'

Bryan,
   Why not use --xml at the end of the command? That will print the output in 
xml format. Would that make it easy to parse?.

Pranith.
- Original Message -
From: Bryan Washer bwas...@netsuite.com
To: Amar Tumballi ama...@redhat.com, Gluster Devel 
gluster-de...@nongnu.org, gluster-users gluster-users@gluster.org
Sent: Tuesday, August 28, 2012 5:40:16 PM
Subject: Re: [Gluster-users] FeedBack Requested : Changes to CLI output of 
'peerstatus'




I would love thisand would be more than happy to change my current 
parsing...this would make it A LOT easier to parseas well as easier to see 
all information on a disconnected peer as the information will be in a single 
line. 

Bryan Washer 

-Original Message- 
From: gluster-users-boun...@gluster.org 
[mailto:gluster-users-boun...@gluster.org] On Behalf Of Amar Tumballi 
Sent: Tuesday, August 28, 2012 6:06 AM 
To: Gluster Devel; gluster-users 
Subject: [Gluster-users] FeedBack Requested : Changes to CLI output of 'peer 
status' 

Hi, 

Wanted to check if any one is using gluster CLI output of 'peer status' 
in their scripts/programs? If yes, let me know. If not, we are trying to 
make it more script friendly. 

For example the current output would look something like: 

- 
Hostname: 10.70.36.7 
Uuid: c7283ee7-0e8d-4cb8-8552-a63ab05deaa7 
State: Peer in Cluster (Connected) 

Hostname: 10.70.36.6 
Uuid: 5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef 
State: Peer in Cluster (Connected) 

- 

New changes would make it look like : 

--- 
UUID Hostname Status 
c7283ee7-0e8d-4cb8-8552-a63ab05deaa7 10.70.36.7 Connected 
5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef 10.70.36.6 Connected 

--- 

If anyone has better format, or want more information, let us know now. 
I would keep timeout for this mail as 3 more working days, and without 
any response, we will go ahead with the change. 

Regards, 
Amar 
___ 
Gluster-users mailing list 
Gluster-users@gluster.org 
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users 


NOTICE: This email and any attachments may contain confidential and proprietary 
information of NetSuite Inc. and is for the sole use of the intended recipient 
for the stated purpose. Any improper use or distribution is prohibited. If you 
are not the intended recipient, please notify the sender; do not review, copy 
or distribute; and promptly delete or destroy all transmitted information. 
Please note that all communications and information transmitted through this 
email system may be monitored by NetSuite or its agents and that all incoming 
email is automatically scanned by a third party spam and filtering service. 
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


NOTICE: This email and any attachments may contain confidential and proprietary 
information of NetSuite Inc. and is for the sole use of the intended recipient 
for the stated purpose. Any improper use or distribution is prohibited. If you 
are not the intended recipient, please notify the sender; do not review, copy 
or distribute; and promptly delete or destroy all transmitted information. 
Please note that all communications and information transmitted through this 
email system may be monitored by NetSuite or its agents and that all incoming 
email is automatically scanned by a third party spam and filtering service

/body/html
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] [Gluster-devel] FeedBack Requested : Changes to CLI output of 'peer status'

2012-08-28 Thread Stephan von Krawczynski
Top posting and kidding is a bit exaggerated for one posting ...

You are not seriously talking about 80 char terminals for an output that is
commonly used by scripts and stuff like nagios, are you?


On Tue, 28 Aug 2012 08:46:22 -0400 (EDT)
Pranith Kumar Karampuri pkara...@redhat.com wrote:

 hi Amar,
  This is the format we considered initially but we did not go with this 
 because it may exceed 80 chars and wrap over for small terminals if we want 
 to add more fields in future.
 
 Pranith.
 - Original Message -
 From: Amar Tumballi ama...@redhat.com
 To: Gluster Devel gluster-de...@nongnu.org, gluster-users 
 gluster-users@gluster.org
 Sent: Tuesday, August 28, 2012 4:36:07 PM
 Subject: [Gluster-users] FeedBack Requested : Changes to CLI output of 'peer  
 status'
 
 Hi,
 
 Wanted to check if any one is using gluster CLI output of 'peer status' 
 in their scripts/programs? If yes, let me know. If not, we are trying to 
 make it more script friendly.
 
 For example the current output would look something like:
 
 -
 Hostname: 10.70.36.7
 Uuid: c7283ee7-0e8d-4cb8-8552-a63ab05deaa7
 State: Peer in Cluster (Connected)
 
 Hostname: 10.70.36.6
 Uuid: 5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef
 State: Peer in Cluster (Connected)
 
 -
 
 New changes would make it look like :
 
 ---
 UUID  Hostname   Status
 c7283ee7-0e8d-4cb8-8552-a63ab05deaa7  10.70.36.7 Connected
 5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef  10.70.36.6 Connected
 
 ---
 
 If anyone has better format, or want more information, let us know now. 
 I would keep timeout for this mail as 3 more working days, and without 
 any response, we will go ahead with the change.
 
 Regards,
 Amar
 ___
 Gluster-users mailing list
 Gluster-users@gluster.org
 http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
 
 ___
 Gluster-devel mailing list
 gluster-de...@nongnu.org
 https://lists.nongnu.org/mailman/listinfo/gluster-devel
 


-- 
Regards,
Stephan
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] [Gluster-devel] FeedBack Requested : Changes to CLI output of 'peer status'

2012-08-28 Thread Pranith Kumar Karampuri
No. Output formats in that way generally start out nice but as you start adding 
more fields, formatting them becomes difficult IMO.

Pranith
- Original Message -
From: Stephan von Krawczynski sk...@ithnet.com
To: Pranith Kumar Karampuri pkara...@redhat.com
Cc: gluster-users gluster-users@gluster.org, Gluster Devel 
gluster-de...@nongnu.org
Sent: Tuesday, August 28, 2012 7:01:57 PM
Subject: Re: [Gluster-devel] [Gluster-users] FeedBack Requested : Changes to 
CLI output of 'peer status'

Top posting and kidding is a bit exaggerated for one posting ...

You are not seriously talking about 80 char terminals for an output that is
commonly used by scripts and stuff like nagios, are you?


On Tue, 28 Aug 2012 08:46:22 -0400 (EDT)
Pranith Kumar Karampuri pkara...@redhat.com wrote:

 hi Amar,
  This is the format we considered initially but we did not go with this 
 because it may exceed 80 chars and wrap over for small terminals if we want 
 to add more fields in future.
 
 Pranith.
 - Original Message -
 From: Amar Tumballi ama...@redhat.com
 To: Gluster Devel gluster-de...@nongnu.org, gluster-users 
 gluster-users@gluster.org
 Sent: Tuesday, August 28, 2012 4:36:07 PM
 Subject: [Gluster-users] FeedBack Requested : Changes to CLI output of 'peer  
 status'
 
 Hi,
 
 Wanted to check if any one is using gluster CLI output of 'peer status' 
 in their scripts/programs? If yes, let me know. If not, we are trying to 
 make it more script friendly.
 
 For example the current output would look something like:
 
 -
 Hostname: 10.70.36.7
 Uuid: c7283ee7-0e8d-4cb8-8552-a63ab05deaa7
 State: Peer in Cluster (Connected)
 
 Hostname: 10.70.36.6
 Uuid: 5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef
 State: Peer in Cluster (Connected)
 
 -
 
 New changes would make it look like :
 
 ---
 UUID  Hostname   Status
 c7283ee7-0e8d-4cb8-8552-a63ab05deaa7  10.70.36.7 Connected
 5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef  10.70.36.6 Connected
 
 ---
 
 If anyone has better format, or want more information, let us know now. 
 I would keep timeout for this mail as 3 more working days, and without 
 any response, we will go ahead with the change.
 
 Regards,
 Amar
 ___
 Gluster-users mailing list
 Gluster-users@gluster.org
 http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
 
 ___
 Gluster-devel mailing list
 gluster-de...@nongnu.org
 https://lists.nongnu.org/mailman/listinfo/gluster-devel
 


-- 
Regards,
Stephan

___
Gluster-devel mailing list
gluster-de...@nongnu.org
https://lists.nongnu.org/mailman/listinfo/gluster-devel
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] [Gluster-devel] FeedBack Requested : Changes to CLI output of 'peer status'

2012-08-28 Thread s19n
* Stephan von Krawczynski sk...@ithnet.com [2012 08 28, 15:31]:
 You are not seriously talking about 80 char terminals for an output
 that is commonly used by scripts and stuff like nagios, are you?

  -
  Hostname: 10.70.36.7
  Uuid: c7283ee7-0e8d-4cb8-8552-a63ab05deaa7
  State: Peer in Cluster (Connected)
  -

 Given the '80 char terminals' and the plan to add more fields, I would
suggest a kind of key-value output which should be as easy to parse:

- cut here -
c7283ee7-0e8d-4cb8-8552-a63ab05deaa7: Hostname: 10.70.36.7
c7283ee7-0e8d-4cb8-8552-a63ab05deaa7: State: Connected
- cut here -

 This way you should be able to line-filter the output as if it was all
in one line.

___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] [Gluster-devel] FeedBack Requested : Changes to CLI output of 'peer status'

2012-08-28 Thread Kaushal M
Bryan,
FYI XML output for 'peer status' isn't yet present in 3.3.0. It was
just pushed into master. So if you want to test it, you'll have to
build from master

- Kaushal

On Tue, Aug 28, 2012 at 7:27 PM, Pranith Kumar Karampuri
pkara...@redhat.com wrote:
 No. Output formats in that way generally start out nice but as you start 
 adding more fields, formatting them becomes difficult IMO.

 Pranith
 - Original Message -
 From: Stephan von Krawczynski sk...@ithnet.com
 To: Pranith Kumar Karampuri pkara...@redhat.com
 Cc: gluster-users gluster-users@gluster.org, Gluster Devel 
 gluster-de...@nongnu.org
 Sent: Tuesday, August 28, 2012 7:01:57 PM
 Subject: Re: [Gluster-devel] [Gluster-users] FeedBack Requested : Changes to 
 CLI output of 'peer status'

 Top posting and kidding is a bit exaggerated for one posting ...

 You are not seriously talking about 80 char terminals for an output that is
 commonly used by scripts and stuff like nagios, are you?


 On Tue, 28 Aug 2012 08:46:22 -0400 (EDT)
 Pranith Kumar Karampuri pkara...@redhat.com wrote:

 hi Amar,
  This is the format we considered initially but we did not go with this 
 because it may exceed 80 chars and wrap over for small terminals if we want 
 to add more fields in future.

 Pranith.
 - Original Message -
 From: Amar Tumballi ama...@redhat.com
 To: Gluster Devel gluster-de...@nongnu.org, gluster-users 
 gluster-users@gluster.org
 Sent: Tuesday, August 28, 2012 4:36:07 PM
 Subject: [Gluster-users] FeedBack Requested : Changes to CLI output of 'peer 
  status'

 Hi,

 Wanted to check if any one is using gluster CLI output of 'peer status'
 in their scripts/programs? If yes, let me know. If not, we are trying to
 make it more script friendly.

 For example the current output would look something like:

 -
 Hostname: 10.70.36.7
 Uuid: c7283ee7-0e8d-4cb8-8552-a63ab05deaa7
 State: Peer in Cluster (Connected)

 Hostname: 10.70.36.6
 Uuid: 5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef
 State: Peer in Cluster (Connected)

 -

 New changes would make it look like :

 ---
 UUID  Hostname   Status
 c7283ee7-0e8d-4cb8-8552-a63ab05deaa7  10.70.36.7 Connected
 5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef  10.70.36.6 Connected

 ---

 If anyone has better format, or want more information, let us know now.
 I would keep timeout for this mail as 3 more working days, and without
 any response, we will go ahead with the change.

 Regards,
 Amar
 ___
 Gluster-users mailing list
 Gluster-users@gluster.org
 http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

 ___
 Gluster-devel mailing list
 gluster-de...@nongnu.org
 https://lists.nongnu.org/mailman/listinfo/gluster-devel



 --
 Regards,
 Stephan

 ___
 Gluster-devel mailing list
 gluster-de...@nongnu.org
 https://lists.nongnu.org/mailman/listinfo/gluster-devel
 ___
 Gluster-users mailing list
 Gluster-users@gluster.org
 http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] FeedBack Requested : Changes to CLI output of 'peer status'

2012-08-28 Thread James
On Tue, 2012-08-28 at 08:46 -0400, Pranith Kumar Karampuri wrote:
 hi Amar,
  This is the format we considered initially but we did not go with this 
 because it may exceed 80 chars and wrap over for small terminals if we want 
 to add more fields in future.
This actually seems like a fairly reasonable point to me /sysadmin hat
However, the most important thing to me is that the --xml output stays
stable. /puppet-gluster hat

Thank you!
James

 
 Pranith.
 - Original Message -
 From: Amar Tumballi ama...@redhat.com
 To: Gluster Devel gluster-de...@nongnu.org, gluster-users 
 gluster-users@gluster.org
 Sent: Tuesday, August 28, 2012 4:36:07 PM
 Subject: [Gluster-users] FeedBack Requested : Changes to CLI output of 'peer  
 status'
 
 Hi,
 
 Wanted to check if any one is using gluster CLI output of 'peer status' 
 in their scripts/programs? If yes, let me know. If not, we are trying to 
 make it more script friendly.
 
 For example the current output would look something like:
 
 -
 Hostname: 10.70.36.7
 Uuid: c7283ee7-0e8d-4cb8-8552-a63ab05deaa7
 State: Peer in Cluster (Connected)
 
 Hostname: 10.70.36.6
 Uuid: 5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef
 State: Peer in Cluster (Connected)
 
 -
 
 New changes would make it look like :
 
 ---
 UUID  Hostname   Status
 c7283ee7-0e8d-4cb8-8552-a63ab05deaa7  10.70.36.7 Connected
 5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef  10.70.36.6 Connected
 
 ---
 
 If anyone has better format, or want more information, let us know now. 
 I would keep timeout for this mail as 3 more working days, and without 
 any response, we will go ahead with the change.
 
 Regards,
 Amar
 ___
 Gluster-users mailing list
 Gluster-users@gluster.org
 http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
 ___
 Gluster-users mailing list
 Gluster-users@gluster.org
 http://gluster.org/cgi-bin/mailman/listinfo/gluster-users



signature.asc
Description: This is a digitally signed message part
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Typical setup questions

2012-08-28 Thread Matt Weil

Brian

thanks for this response.

Since we are on the subject of hardware what would be the perfect fit 
for a gluster brick. We where looking at a PowerEdge C2100 Rack Server.


During testing I found it pretty easy to saturate 1 Gig network links. 
This was also the case when multiple links where bonded together.  Are 
there any cheap 10 gig switch alternatives that anyone would suggest?


Matt

On 8/24/12 4:28 PM, Brian Candler wrote:

On Fri, Aug 24, 2012 at 10:51:24AM -0500, Matt Weil wrote:

I am curious what is used typically for the file system replication
and how do you make sure that it is consistent.

So for example when using large 3TB+ sata/NL-sas drives.  Is is
typical to replicate three times to get similar protection to raid
6?


Gluster sits on top of existing filesystems on the storage bricks, so it's
fine to continue to use RAID10 (for performance) or RAID6 (for capacity) on
those nodes.  Gluster replicated volumes, and/or gluster geo-replication,
then give you an additional layer of replication on top of that, and the
ability to handle entire servers going out of service.

If I were you, I would not want to have a non-resilient array like a RAID0
on my storage bricks.

Whilst in principle you could have lots of separate 3TB filesystems and put
them into a large distributed/replicated set, I think this is likely to be
difficult to manage.  In particular, the process of replacing a failed disk
requires more skill than a simple RAID drive swap.

One word of warning: when choosing 3TB SATA drives, ensure they support
error recovery control (a.k.a. time-limited error recovery).

Enterprise drives do, but many consumer ones don't. The Hitachi consumer
ones do, for now anyway; Seagate ones do not.

To attempt to enable it on a particular drive:

 # smartctl -l scterc,70,70 /dev/sda

If the drive supports it, you'll see:

 SCT Error Recovery Control set to:
Read: 70 (7.0 seconds)
   Write: 70 (7.0 seconds)

There's plenty of discussion on the linux-raid mailing list if you want to
go through the archives.


Also what is typically done to ensure that all replicas are in place
and consistent?  A cron that stats of ls's the file system from a
single client?


I don't have a good answer to that. Stat'ing all files recursively used to
be required for gluster 3.3 to force healing.  As of gluster 3.3, there is
a self-healing daemon which handles this automatically.  So basically, you
trust gluster to do its job.

I guess there could be value in running a recursive md5sum on each replica
locally and comparing the results (but you'd have to allow for files which
were in the process of changing during the scan)

Regards,

Brian.



___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Typical setup questions

2012-08-28 Thread Brian Candler
On Tue, Aug 28, 2012 at 10:29:55AM -0500, Matt Weil wrote:
 Since we are on the subject of hardware what would be the perfect
 fit for a gluster brick. We where looking at a PowerEdge C2100 Rack
 Server.

Looks fine to me; UK website doesn't give the pricing so I imagine it's
pretty expensive :-)

 During testing I found it pretty easy to saturate 1 Gig network
 links. This was also the case when multiple links where bonded
 together.  Are there any cheap 10 gig switch alternatives that
 anyone would suggest?

Netgear XSM7224S, Intel X520-DA2 adapters, and direct-attach cables (I've
used Netgear ones for 3m and Intel for 5m)
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Feodra 17 GlusterFS 3.3 and Firefox

2012-08-28 Thread Joe Julian
I was able to cause client crashes with the 3.5 kernels in Fedora and have 
opened a bug report.

Bugzilla is down right now or I would give you the bug link. 

Yannik Lieblinger yan...@lieblinger.de wrote:

Hi Joe,

I have do an update to the new kernel 3.5.2-3.fc17.x86_64. And have the same 
problem.

Does you test give some interesting results? 
 
 
-- 
Best regards

Yannik Lieblinger

___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] FeedBack Requested : Changes to CLI output of 'peer status'

2012-08-28 Thread Joe Topjian
Hi Pranith,

On Tue, Aug 28, 2012 at 6:51 AM, Pranith Kumar Karampuri 
pkara...@redhat.com wrote:

Why not use --xml at the end of the command? That will print the output
 in xml format. Would that make it easy to parse?.


IMO, I can see --xml being useful for more sophisticated scripts that
utilize Perl, Python, or Ruby, however, for quick shell scripting, I can
see this being very difficult if not unusable.

Having the output print in set columns, though might wrap when printed on
=80 char terminals, would make it very easy to parse with awk.

Thanks,
Joe
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] FeedBack Requested : Changes to CLI output of 'peer status'

2012-08-28 Thread James
On Tue, 2012-08-28 at 12:51 -0600, Joe Topjian wrote:
 Hi Pranith,
 
 On Tue, Aug 28, 2012 at 6:51 AM, Pranith Kumar Karampuri
 pkara...@redhat.com wrote:
Why not use --xml at the end of the command? That will
 print the output in xml format. Would that make it easy to
 parse?.
 
 
 IMO, I can see --xml being useful for more sophisticated scripts
 that utilize Perl, Python, or Ruby, however, for quick shell
 scripting, I can see this being very difficult if not unusable.
FWIW: I tend to agree on this point. The other question that comes to
mind is what quick bash scripts are you writing for managing gluster?

Get curious,
James
 
 
 Having the output print in set columns, though might wrap when printed
 on =80 char terminals, would make it very easy to parse with awk.
 
 
 Thanks,
 Joe
 ___
 Gluster-users mailing list
 Gluster-users@gluster.org
 http://gluster.org/cgi-bin/mailman/listinfo/gluster-users



signature.asc
Description: This is a digitally signed message part
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] FeedBack Requested : Changes to CLI output of 'peer status'

2012-08-28 Thread Joe Topjian
Hi James,

FWIW: I tend to agree on this point. The other question that comes to
 mind is what quick bash scripts are you writing for managing gluster?


quick might not have been the best word to use -- maybe small would
have been better.

For example, peer status + columns + grep + awk could be used for a small
Nagios check command.

Thanks,
Joe
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] FeedBack Requested : Changes to CLI output of 'peer status'

2012-08-28 Thread James
On Tue, 2012-08-28 at 13:02 -0600, Joe Topjian wrote:
 Hi James,
 
 FWIW: I tend to agree on this point. The other question that
 comes to
 mind is what quick bash scripts are you writing for managing
 gluster?
 
 
 quick might not have been the best word to use -- maybe small
 would have been better. 
 
 
 For example, peer status + columns + grep + awk could be used for a
 small Nagios check command.
Gotcha...

As an aside,

If it's at all helpful to you, I've needed to parse some gluster --xml
and I've made this:
https://github.com/purpleidea/puppet-gluster/blob/master/files/xml.py
which I call from within bash (puppet) basically.

I'm hoping that it remains stable and I don't need to add versions
checks everywhere. It might be a good idea for nagios stuff too.

HTH,
James
 
 
 Thanks,
 Joe 



signature.asc
Description: This is a digitally signed message part
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] QEMU-GlusterFS native integration demo video

2012-08-28 Thread Bryan Whitehead
I'd just like to also state this is fantastic. I hope the performance
will match.

On Tue, Aug 28, 2012 at 2:34 AM, Fernando Frediani (Qube)
fernando.fredi...@qubenet.net wrote:
 Thanks for sharing it with us Bharata.

 I saw you have two nodes. Have you done any performance tests and if so how 
 they compare with creating normal .qcow2 or .raw files on the filesystem, 
 specially for the writes ?

 Thanks

 Fernando

 -Original Message-
 From: gluster-users-boun...@gluster.org 
 [mailto:gluster-users-boun...@gluster.org] On Behalf Of Bharata B Rao
 Sent: 28 August 2012 05:14
 To: gluster-users@gluster.org; gluster-de...@nongnu.org
 Subject: [Gluster-users] QEMU-GlusterFS native integration demo video

 Hi,

 If you are interested and/or curious to know how QEMU can be used to create 
 and boot VM's from GlusterFS volume, take a look at the demo video I have 
 created at:

 www.youtube.com/watch?v=JG3kF_djclg

 Regards,
 Bharata.
 --
 http://bharata.sulekha.com/blog/posts.htm, http://raobharata.wordpress.com/ 
 ___
 Gluster-users mailing list
 Gluster-users@gluster.org
 http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
 ___
 Gluster-users mailing list
 Gluster-users@gluster.org
 http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] [Gluster-devel] FeedBack Requested : Changes to CLI output of 'peer status'

2012-08-28 Thread Stephan von Krawczynski
Ok, maybe I didn't explain the true nature in detail:
The number of fields and the formatting is all the same. nobody wants to read
the output. Instead it is read by scripts most of the time. so the only valid
question is the field delimiter, simply to make the output parseable as easy
as possible for some scripts. There is no human in front of a terminal who
really likes to read this output all day long. Does that make the point clear?



On Tue, 28 Aug 2012 09:57:13 -0400 (EDT)
Pranith Kumar Karampuri pkara...@redhat.com wrote:

 No. Output formats in that way generally start out nice but as you start 
 adding more fields, formatting them becomes difficult IMO.
 
 Pranith
 - Original Message -
 From: Stephan von Krawczynski sk...@ithnet.com
 To: Pranith Kumar Karampuri pkara...@redhat.com
 Cc: gluster-users gluster-users@gluster.org, Gluster Devel 
 gluster-de...@nongnu.org
 Sent: Tuesday, August 28, 2012 7:01:57 PM
 Subject: Re: [Gluster-devel] [Gluster-users] FeedBack Requested : Changes to 
 CLI output of 'peer status'
 
 Top posting and kidding is a bit exaggerated for one posting ...
 
 You are not seriously talking about 80 char terminals for an output that is
 commonly used by scripts and stuff like nagios, are you?
 
 
 On Tue, 28 Aug 2012 08:46:22 -0400 (EDT)
 Pranith Kumar Karampuri pkara...@redhat.com wrote:
 
  hi Amar,
   This is the format we considered initially but we did not go with this 
  because it may exceed 80 chars and wrap over for small terminals if we want 
  to add more fields in future.
  
  Pranith.
  - Original Message -
  From: Amar Tumballi ama...@redhat.com
  To: Gluster Devel gluster-de...@nongnu.org, gluster-users 
  gluster-users@gluster.org
  Sent: Tuesday, August 28, 2012 4:36:07 PM
  Subject: [Gluster-users] FeedBack Requested : Changes to CLI output of 
  'peerstatus'
  
  Hi,
  
  Wanted to check if any one is using gluster CLI output of 'peer status' 
  in their scripts/programs? If yes, let me know. If not, we are trying to 
  make it more script friendly.
  
  For example the current output would look something like:
  
  -
  Hostname: 10.70.36.7
  Uuid: c7283ee7-0e8d-4cb8-8552-a63ab05deaa7
  State: Peer in Cluster (Connected)
  
  Hostname: 10.70.36.6
  Uuid: 5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef
  State: Peer in Cluster (Connected)
  
  -
  
  New changes would make it look like :
  
  ---
  UUID  Hostname   Status
  c7283ee7-0e8d-4cb8-8552-a63ab05deaa7  10.70.36.7 Connected
  5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef  10.70.36.6 Connected
  
  ---
  
  If anyone has better format, or want more information, let us know now. 
  I would keep timeout for this mail as 3 more working days, and without 
  any response, we will go ahead with the change.
  
  Regards,
  Amar
  ___
  Gluster-users mailing list
  Gluster-users@gluster.org
  http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
  
  ___
  Gluster-devel mailing list
  gluster-de...@nongnu.org
  https://lists.nongnu.org/mailman/listinfo/gluster-devel
  
 
 
 -- 
 Regards,
 Stephan
 
 ___
 Gluster-devel mailing list
 gluster-de...@nongnu.org
 https://lists.nongnu.org/mailman/listinfo/gluster-devel
 


-- 
MfG,
Stephan von Krawczynski


--
ith Kommunikationstechnik GmbH

Lieferanschrift  : Reiterstrasse 24, D-94447 Plattling
Telefon  : +49 9931 9188 0
Fax  : +49 9931 9188 44
Geschaeftsfuehrer: Stephan von Krawczynski
Registergericht  : Deggendorf HRB 1625
--

___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] FeedBack Requested : Changes to CLI output of 'peer status'

2012-08-28 Thread Anand Avati
On Tue, Aug 28, 2012 at 4:06 AM, Amar Tumballi ama...@redhat.com wrote:

 Hi,

 Wanted to check if any one is using gluster CLI output of 'peer status' in
 their scripts/programs? If yes, let me know. If not, we are trying to make
 it more script friendly.

 For example the current output would look something like:

 -
 Hostname: 10.70.36.7
 Uuid: c7283ee7-0e8d-4cb8-8552-**a63ab05deaa7
 State: Peer in Cluster (Connected)

 Hostname: 10.70.36.6
 Uuid: 5a2fdeb3-e63e-4e56-aebe-**8b68a5abfcef
 State: Peer in Cluster (Connected)

 -

 New changes would make it look like :

 ---
 UUID  Hostname   Status
 c7283ee7-0e8d-4cb8-8552-**a63ab05deaa7  10.70.36.7 Connected
 5a2fdeb3-e63e-4e56-aebe-**8b68a5abfcef  10.70.36.6 Connected

 ---

 If anyone has better format, or want more information, let us know now. I
 would keep timeout for this mail as 3 more working days, and without any
 response, we will go ahead with the change.


I suggest we retain the current output of 'gluster peer status' as-is and
implement the above proposed format in the output of 'gluster --mode=script
peer status' (perhaps make it even more script friendly?). Since
--mode=script is already a support cli switch it would be ideal to include
this change under that itself. Handling of --xml would be independent issue.

If there are suggestions to the desired output format of 'gluster
--mode=script peer status' from the users, it would be good to bring it up
now.

Avati
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users