PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

FTP & Multiple Sites

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • FTP & Multiple Sites

    Hello:

    We have a load balancer in front of two web servers. In order for the search to work, we need to FTP the indexes to both servers. The server structures are exactly the same, however, it seems like the desktop software only allows automatic FTP to one IP address.

    Is there anyway around it such as from command line? Or have I missed any information from the documentation?

    Any tip is greatly appreciated it.

    Thanks!

    PS: At this point, a share drive between the two web servers is not possible, such the question.

  • #2
    Yes, the FTP function only accepts one set of site data at a time.

    You can't have a function on the server to auto-sync the files between the servers.

    Or even just a batch script on the main server to do a rcopy certain folders to the 2nd machine?

    You can also use any 3rd party FTP program to upload the files to the server. You don't need to use Zoom for FTP. (just make sure you set the FTP mode to Binary, and NOT ASCII).

    Comment


    • #3
      Thanks for the reply.

      We can write a shell script to make a copy to the 2nd server, the only down side is that it's out of sync with Zoom as we have no idea when the index is updated as it's automatic. We are thinking to just write a script and run it every hour to make the copy.

      But thanks though, we'll figure it out.


      Originally posted by wrensoft View Post
      Yes, the FTP function only accepts one set of site data at a time.

      You can't have a function on the server to auto-sync the files between the servers.

      Or even just a batch script on the main server to do a rcopy certain folders to the 2nd machine?

      You can also use any 3rd party FTP program to upload the files to the server. You don't need to use Zoom for FTP. (just make sure you set the FTP mode to Binary, and NOT ASCII).

      Comment


      • #4
        The script could check the file date / size and only update when files are out of sync?

        Comment

        Working...
        X