LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   RRD NFS Server (https://www.linuxquestions.org/questions/linux-server-73/rrd-nfs-server-616303/)

0.o 01-25-2008 11:38 AM

RRD NFS Server
 
Hello,

I have a quick question on NFS. I have two servers which are graphing and creating rrd files for graphing. One server creates a large number of the rrd files and currently uses SCP to copy the files over. I am upgrading these systems and am going to use a local NFS connection to share the rrd files rather than SCP them. Now, the issue i am running into is this. The files are contained within multiple source directories on the rrd creating machine and they are being sent to one directory on the graphing machine. So, i can't mount multiple directories onto one destination. How can i by pass this? does anyone have any idea? One solution i was thinking would work was to create a sym link between the rrd files in multiple directories to the one.

traene 02-03-2008 02:01 PM

Just to understand your problem: You have to servers and one is creating the rrd files? Do you mean that you update them, from this host? Why do you need to share them between to hosts? If you want to get rid of the SPOF can't you just dulicate your rrd creating means to the two servers?

However you could do it like you suggested:
Code:

local:
  /dir1/eth0.rrd
  /dir1/processes/proc1.rrd
  /dir2/anything/my.rrd

NFS: mount
  /mnt/dir1
  /mnt/dir2

  /local/dir1/eth0.rrd -> /mnt/dir1/eth0.rrd
  ...etc.

On the host with the NFS mount you can create a new folder /local and the directory structure as on the server.


All times are GMT -5. The time now is 09:03 PM.