Results 1 to 3 of 3

Sitemap Generation on a Clustered forum.

This is a discussion on Sitemap Generation on a Clustered forum. within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; My forum is setup on a clustered server environmentof 2 servers and we are having an usual problem. The problem ...

  1. #1
    Junior Member
    Real Name
    ahira
    Join Date
    Dec 2008
    Posts
    2
    Liked
    0 times

    Sitemap Generation on a Clustered forum.

    My forum is setup on a clustered server environmentof 2 servers and we are having an usual problem. The problem is that the scheduled task runs at 2am but its random on which server the sitemap files are written to. Does anyone have any ideas on how this issue can be handled?

  2. #2
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    yeah, this is a tough one to work around. The ideal solution is to have a 3rd "Static" server for things like this.

    The other option is to code something that runs X min after your cron job + time it takes to run the sitemap (make sure there's plenty of time). a simple mirror copy and datecheck script is all that really needs to be done.

    pseducode:
    read sitemap_index.xml.gz
    get datelastmodified
    if getdate() = datelastmodified {
    //this is the good server, mirror to the other
    mv -r /vbseo_sitemap/data/* /10.1.x.x/home/public_html/site/vbseo_sitemap/data/

    }

  3. #3
    Junior Member
    Real Name
    ahira
    Join Date
    Dec 2008
    Posts
    2
    Liked
    0 times
    Thanks I didn't think of that. That looks like just what I need to setup.

Similar Threads

  1. Sitemap generation broken on VB3.8.0?
    By gedsta in forum Troubleshooting
    Replies: 3
    Last Post: 01-10-2009, 12:56 AM
  2. Generation sitemap for domain aliases
    By zCooler in forum General Discussion
    Replies: 2
    Last Post: 07-11-2008, 02:46 PM
  3. vBSEO 3.2.0 RC4 - Errors on Sitemap Generation
    By gedsta in forum Bug Reporting
    Replies: 15
    Last Post: 05-01-2008, 11:46 PM
  4. Sitemap generation time
    By woostar in forum Troubleshooting
    Replies: 1
    Last Post: 01-15-2008, 06:34 AM
  5. Sitemap Generation time
    By caliman in forum Troubleshooting
    Replies: 3
    Last Post: 03-08-2006, 06:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •