Publishing one site to 2 servers

jperreault's Avatar

jperreault

07 Mar, 2011 09:48 PM

Hi there,

Our production environment has 2 webservers running apache which are load-balanced.

My question is, when Cascade publishes a page to 2 destinations, how many times is the page rendered?

Does it render once and SFTP's to each destination?
or
Does it render for each destination?

Some of our pages take a long time to render, so I need to decide whether I can use Cascade server to keep the files in sync or if I need to set up something else like rsync.

  1. 1 Posted by Joel on 08 Mar, 2011 09:44 PM

    Joel's Avatar

    Hi Jeff,

    The page is only rendered once before transmitting to multiple destinations. Having said that, we do not feel that rsync would be necessary.

    Thanks!

  2. Joel closed this discussion on 08 Mar, 2011 09:44 PM.

  3. jperreault re-opened this discussion on 28 Apr, 2011 10:39 PM

  4. 2 Posted by jperreault on 28 Apr, 2011 10:49 PM

    jperreault's Avatar

    Hi Joel,

    I came across something strange.

    I am now publishing our site to two webservers using Cascade's publisher. I didn't set up an rsync between the two because we assumed a page was only rendered once.

    Attached is the result of a publishing job. To summarize what it says:

    in the successful jobs, this page was published to our server # 2 :

     [Destination: production-server2] langara.bc.ca: continuing-studies/programs-and-courses/programs/spa/courses
    

    but under Jobs with errors, the same page didn't get published to our server # 1

     Jobs with Errors (1): [Top]  
      ---------------------------------------- 
     [Destination: production-server1] langara.bc.ca: continuing-studies/programs-and-courses/programs/spa/courses
    
     com.hannonhill.cascade.model.render.page.PageRenderException: Could not transform with Script format "_internal/formats/nav_index"
    

    Our production install is Cascade Server 6.7. Do you know if it's different in v6.8 ? Was this a fluke, or is it actually rendering each page twice ?

    We're trying to optimize our individual pages because we have issues with how long it takes to publish the site. But I'm wondering if the rsync would cut down our publishing time.

  5. 3 Posted by Joel on 02 May, 2011 03:05 PM

    Joel's Avatar

    Jeff,

    That's very odd indeed. Could you try reproducing this behavior, and then attach your cascade.log file immediately after the publish job completes, as well as the entire Publish Log?

    Thanks!

  6. 4 Posted by Joel on 15 Jul, 2011 01:18 PM

    Joel's Avatar

    Jeff,

    Just making sure you saw my comment above. Please let me know if you have any updates regarding this.

    Thanks!

  7. Joel closed this discussion on 30 Aug, 2011 01:43 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac