Auto-replication problem

Alexander Broad abroad at messagelabs.com
Wed Aug 9 07:46:11 UTC 2006


 

> -----Original Message-----
> From: Mark Smith [mailto:junior at danga.com] 
> Subject: Re: Auto-replication problem
> 
> > I've tried 'mogadm host mark VM2 dead'. VM1 appears to go crazy on
the 
> > CPU for a few seconds, but no files appear in /var/mogdata on VM1
(in 
> > any dev* directory). I'm guessing auto-replication isn't working for

> > me - can anyone tell me what I'm doing wrong?
> 
> First thing to check - do you have a reaper job running?  
> Telnet in to your tracker and issue the command "!jobs"... 
> see if you have a reaper.

!jobs
delete count 1
delete desired 1
delete pids 1097
monitor count 1
monitor desired 1
monitor pids 1103
queryworker count 5
queryworker desired 5
queryworker pids 1098 1099 1100 1101 1102
reaper count 1
reaper desired 1
reaper pids 1104
replicate count 1
replicate desired 1
replicate pids 1096
.

And ps confirms this:

UID        PID  PPID  C STIME TTY          TIME CMD
mogile    1104  1093  0 08:38 ?        00:00:00 /usr/bin/mogilefsd
[reaper]

> If not, then you can do:
> 
>     !want 1 reaper
> 
> This job is responsible for noticing dead hosts and removing 
> the linked files so they get rereplicated.

Well the job appears to be running. I set VM2 alive again and rebooted
giving the VM more memory in case that was the problem. When it came
back up, I set it dead again - still no replication. I tried the
following:

!recent
10.191.110.240 get_hosts  0.2584 0.0046
10.191.110.240 get_devices  0.2669 0.0056
10.191.110.240 update_host status=dead&host=VM2 0.0517 0.0021
10.191.110.240 get_hosts  0.9248 0.0011
10.191.110.240 get_devices  0.9299 0.0021
.
 
Any other ideas?

Thanks in advance, Alex.

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


More information about the mogilefs mailing list