Sponsored Content
Full Discussion: Glusterfs not replicating
Top Forums UNIX for Advanced & Expert Users Glusterfs not replicating Post 302998309 by davidbob on Tuesday 30th of May 2017 06:09:05 AM
Old 05-30-2017
Glusterfs not replicating (Resolved)

0
down vote
favorite
I have replicated glusterfs on two servers, if i create file on one server it doesnt reflect on other, if i try to heal the volume on node2 i get this error

Code:
Commit failed on node2. Please check log file for details.

glustershd.log

[2017-05-29 09:25:49.254897] E [socket.c:2267:socket_connect_finish] 0-test-client-3: connection to 192.168.15.200:49158 failed (Connection timed out)

I recently recreated these brick on AWS, since space ran out I had to recreate from snapshot. I have done it several times but now its failing on only this server.

---------- Post updated at 05:09 AM ---------- Previous update was at 01:16 AM ----------

resolved
Found issues with the ports and opened rules on firewall

Last edited by Corona688; 05-30-2017 at 12:24 PM.. Reason: Resolved
This User Gave Thanks to davidbob For This Post:
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

replicating restricted sam users

I'm in the process of setting up two new HP-UX 11.23 i64 servers. On my existing server (HP-UX B.11.0) we have several users defined to have restricted sam access. I'm having trouble finding those definitions and copying them over to the new servers. Is this possible - to just copy over the... (1 Reply)
Discussion started by: LisaS
1 Replies

2. AIX

Command for replicating a directory

Morning all, Is there a command on AIX that can replicate/synchronise two directories? I'm after functionality similar to robocopy on Windows. Scenario: I have a directory of Oracle forms for my production system and one for my dev system, these directories start off identical. The forms... (1 Reply)
Discussion started by: huggie
1 Replies

3. UNIX for Dummies Questions & Answers

Replicating many rows in unix

Hi If my input is abcdefgh ijklmnop then the output should be: abcdefgh abcdefgh abcdefgh abcdefgh ijklmnop (6 Replies)
Discussion started by: pandeesh
6 Replies

4. UNIX for Dummies Questions & Answers

Replicating content using sed

if we want to replicate the content of the file twice, then we can use sed 'p' filename In the same way, if i want to replicate the content thrice or 4 times, how we can achieve in SED? Thanks (5 Replies)
Discussion started by: pandeesh
5 Replies

5. Shell Programming and Scripting

Replicating rows by splitting column in text file

Hi, I have flat file with following format Col1, Col2, Col3, Col4 --------------------------------- r1_c1, r1_c2, r1_c3, abc | def | efg r2_c1, r2_c2, r2_c3, abcwdw | dweweef | efg | ijk r3_c1, r3_c2, r3_c3, abaac ........... The first three columns contain only one entry per... (3 Replies)
Discussion started by: nick2011
3 Replies

6. Shell Programming and Scripting

Replicating jobs, renaming outout

Can anyone tell me if it's possible to write a script that will repeat the same job several times but give the output a slightly different name each time (i.e. change or add a number at the end of the output file)? Here is the script I use to run a single job: #!/bin/bash #PBS -N job0 #PBS -l... (1 Reply)
Discussion started by: peterjb100
1 Replies

7. Shell Programming and Scripting

Replicating certain lines in a textfile

I am very new to to shell scripting and facing a problem that I can't seem to solve. I want to write a bash script that edits file1.txt and saves it as file2.txt. This is what the files should look like: file1: textline1 textline2 startCopy copyThis endCopy textline3 textline4 file2: ... (6 Replies)
Discussion started by: sandy90
6 Replies

8. Red Hat

GlusterFS

Hi, I want to share storage using glusterfs. I follow tutorial as below: https://www.howtoforge.com/how-to-install-glusterfs-with-a-replicated-volume-over-2-nodes-on-ubuntu-14.04 But why size not same as i mount from lvm? # gluster volume info Volume Name: mysql-db Type: Replicate... (0 Replies)
Discussion started by: mzainal
0 Replies

9. UNIX for Beginners Questions & Answers

Glusterfs not working

Hi Guys, Does anyone of you know what will happen if I kill glusterfs process while the gluster storage is in use? I am using glusterfs version 3.6.1, and I killed some process related to glusterfs , after that the files in the gluster storage went missing. Can anyone of you give more info... (0 Replies)
Discussion started by: davidbob
0 Replies
Gluster(8)							   Gluster Inc. 							Gluster(8)

NAME
gluster - Gluster Console Manager (command line utility) SYNOPSIS
gluster To run the program and display gluster prompt: gluster (or) To specify a command directly: gluster [commands] [options] DESCRIPTION
The Gluster Console Manager is a command line utility for elastic volume management. You can run the gluster command on any export server. The command enables administrators to perform cloud operations, such as creating, expanding, shrinking, rebalancing, and migrating volumes without needing to schedule server downtime. COMMANDS
Volume Commands volume info [all|<VOLNAME>] Display information about all volumes, or the specified volume. volume create <NEW-VOLNAME> [device vg] [stripe <COUNT>] [replica <COUNT>] [transport <tcp|rdma|tcp,rdma>] <NEW-BRICK> ... Create a new volume of the specified type using the specified bricks and transport type (the default transport type is tcp). To create a volume with both transports (tcp and rdma), give 'transport tcp,rdma' as an option. device vg parameter specifies volume should use block backend instead of regular posix backend. In this case NEW-BRICK should specify an existing Volume Group and there can be only one brick for Block backend volumes. Refer Block backend section for more details volume delete <VOLNAME> Delete the specified volume. volume start <VOLNAME> Start the specified volume. volume stop <VOLNAME> [force] Stop the specified volume. volume rename <VOLNAME> <NEW-VOLNAME> Rename the specified volume. volume set <VOLNAME> <OPTION> <PARAMETER> [<OPTION> <PARAMETER>] ... Set the volume options. volume help Display help for the volume command. Block backend By specifying "device vg" in volume create, a volume capable of exporting block devices(ie Volume Groups (VG)) is created. As of now exporting only VG is supported. While creating block backend volume the "VG" (mentioned in NEW-BRICK) must exist (ie created with vgcre- ate). VG is exported as a directory and all LVs under that VG will be exported as files. Please refer BD commands section for Block backend related commands Brick Commands volume add-brick <VOLNAME> <NEW-BRICK> ... Add the specified brick to the specified volume. volume remove-brick <VOLNAME> <BRICK> ... Remove the specified brick from the specified volume. Note: If you remove the brick, the data stored in that brick will not be available. You can migrate data from one brick to another using replace-brick option. volume rebalance-brick <VOLNAME>(<BRICK> <NEW-BRICK>) start Start rebalancing the specified volume. volume rebalance <VOLNAME> stop Stop rebalancing the specified volume. volume rebalance <VOLNAME> status Display the rebalance status of the specified volume. volume replace-brick <VOLNAME> (<BRICK> <NEW-BRICK>) start|pause|abort|status|commit Replace the specified brick. Log Commands volume log filename <VOLNAME> [BRICK] <DIRECTORY> Set the log directory for the corresponding volume/brick. volume log locate <VOLNAME> [BRICK] Locate the log file for corresponding volume/brick. volume log rotate <VOLNAME> [BRICK] Rotate the log file for corresponding volume/brick. Peer Commands peer probe <HOSTNAME> Probe the specified peer. peer detach <HOSTNAME> Detach the specified peer. peer status Display the status of peers. peer help Display help for the peer command. BD commands bd create <VOLNAME:/path-to-image> <size> Creates a new image of given size in the volume. Size can be suffixed with MB, GB etc, if nothing specified MB is taken as default. bd delete <VOLNAME:/path-to-image> Deletes a image in the volume bd clone <VOLNAME:/path-to-image> <new-image> Clones an existing image (full clone) bd snapshot <VOLNAME:/path-to-image> <new-image> <size> Creates a linked clone of an existing image with given size. Size can be suffixed with MB, GB etc, if nothing specified MB is taken as default. Other Commands help Display the command options. quit Exit the gluster command line interface. FILES
/var/lib/glusterd/* SEE ALSO
fusermount(1), mount.glusterfs(8), glusterfs(8), glusterd(8) COPYRIGHT
Copyright(c) 2006-2011 Gluster, Inc. <http://www.gluster.com> 22 November 2012 Gluster command line utility Gluster(8)
All times are GMT -4. The time now is 08:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy