Post by bobkatz on Jan 25, 2010 5:06:20 GMT 7
I was finally able to get up and going an automated RSync Mirror from my new N5500 to my old N5200Pro, which is now my mirror machine. The reason RSync is so important to many of us is that the built-in NSync utility in the Thecus's is not configured to turn a machine into a true mirror, but rather it makes a backup folder and allows you to copy data into it. So if your main machine goes down, users will not see the right structure or have the right functionality! You'd spend half a day reconfiguring the old target machine to get it up the way you intended.
Instead, we have to install, configure and use RSync on one or both Thecus'. This is a daunting and potentially dangerous and data-damaging task that has to be undertaken VERY carefully.
First, thanks to a great start tutorial by Sasha Selent, on this page:
deepartmend.dyndns.tv/exchange/deepartmend_HowTo-RSYNC/
Unfortunately, if your source machine is a 5500 generation you CANNOT (as far as I can determine) use Sasha's method of running RSync on the target machine and pulling data from the source. This is because Thecus now includes some form of a running RSync daemon in the 5500 and I have not been able to find or configure its config file. So if both of your machines are 5500's I have no help for you. And when I installed a 5200 RSync module on the 5500 it did install, but because of the already-existing RSync daemon on the 5500 the 5200 was not able to talk to the new daemon I installed. There is a -rsync-path option which I have not tried, and which might allow you to talk to the specific rsync on the 5500, but since I was successful at pushing data from the 5500 to the 5200 I did not try it.
So, with one of my machines being an older 5200 I was able to push data from the 5500 to the 5200. If anyone has any need to do this sort of thing and questions on how to do it, ask away here. I don't visit this forum too often, so you're welcome to nudge me at bobkatz[@sign]digido.com and then I'll visit the forum and help you all out.
One thing I still need is some linux or PERL help because I've created a backup directory on the target machine that's intended to temporarily keep any files which have been deleted or modified. After, say, 30 days with no balks from users, I want to prune that backup directory. But it appears the "find" command which is distributed with the Thecus linux is very primitive (there is also no man command and basically it's a stripped-down linux) so I can't seem to master the simple syntax to find and destroy old files in that directory. Oh well... life's not so bad, at least I now have a second Thecus up and running as a fully-functional mirror of the first Thecus.
Instead, we have to install, configure and use RSync on one or both Thecus'. This is a daunting and potentially dangerous and data-damaging task that has to be undertaken VERY carefully.
First, thanks to a great start tutorial by Sasha Selent, on this page:
deepartmend.dyndns.tv/exchange/deepartmend_HowTo-RSYNC/
Unfortunately, if your source machine is a 5500 generation you CANNOT (as far as I can determine) use Sasha's method of running RSync on the target machine and pulling data from the source. This is because Thecus now includes some form of a running RSync daemon in the 5500 and I have not been able to find or configure its config file. So if both of your machines are 5500's I have no help for you. And when I installed a 5200 RSync module on the 5500 it did install, but because of the already-existing RSync daemon on the 5500 the 5200 was not able to talk to the new daemon I installed. There is a -rsync-path option which I have not tried, and which might allow you to talk to the specific rsync on the 5500, but since I was successful at pushing data from the 5500 to the 5200 I did not try it.
So, with one of my machines being an older 5200 I was able to push data from the 5500 to the 5200. If anyone has any need to do this sort of thing and questions on how to do it, ask away here. I don't visit this forum too often, so you're welcome to nudge me at bobkatz[@sign]digido.com and then I'll visit the forum and help you all out.
One thing I still need is some linux or PERL help because I've created a backup directory on the target machine that's intended to temporarily keep any files which have been deleted or modified. After, say, 30 days with no balks from users, I want to prune that backup directory. But it appears the "find" command which is distributed with the Thecus linux is very primitive (there is also no man command and basically it's a stripped-down linux) so I can't seem to master the simple syntax to find and destroy old files in that directory. Oh well... life's not so bad, at least I now have a second Thecus up and running as a fully-functional mirror of the first Thecus.