Mirroring - pageproviders on the soruce site


We are thinking about use "Mirroring" on our new website. EPiServer CMS R2.

We want to use a tree channel from the startpage, to make a replica of the source site. We are thinking about using a PageProvider to provide information from another system on the source site.

Will the PageProvider-pages on the source-site be replicated to the destination-site as well? Or do we have to configure the PageProvider on the destination-site. We would prefer not, to avoid opening up to the inside.


Oct 08, 2008 13:23

All pages below your mirroring root will be mirrored regardless of serving page provider, that is your PageProvider-pages will be mirrored as well.

On the destination though they will stored as "ordinary" EPiServer pages, that is stored in EPiServer db (unless your destination root is an entrypoint or an page served by some other PageProvider).

If your destination root is an entrypoint or a page served by another page provider than the "local" page provider then all mirrored pages will be created by that provider.

So an usage of PageProviders can actually be to move data from one storage to another. So you could use PageProviders to import/export data to/from EpiServer.

One thing to remember using this though is that mirroring "large" tree structure takes a lot of the system resources. And if you use a custom provider here you should make sure it can handle that amount of data.

Edited, Oct 08, 2008 15:20

Sorry for stealing this thread but, if I have a node with a custom page provider. Then I mirror that node. Will the mirrored node be searchable with a searchdatasource?

Oct 08, 2008 16:11

Thanks Johan

So if I understand you correctly this is very powerful from a security point of view. I mean that the destination-site can be isolated with no connections to the inside. Still we can do integrations with other systems on the source-site using custom pageproviders. And in the end all pages will be mirrored/replicated to the destination-site. If we use only the EPiServer-pageprovider at the destination-site all pages will be stored in the EPiServer destination DB.

Have I understood you correctly?

Regards Hans

Oct 08, 2008 20:30

To Erik:

If your destination node is served by EPiServer (meaning pages are stored in EPiServer db) then yes the pages should be searchable. A note here as explanation is that the SearchDataSource uses db search meaning it only works with EPiServer db stored pages.

To Hans;

Yes you are correct.

One thing to have in mind though is that mirroring large structures can be a problem (you can reduce the problem by dividing the content in several mirroring packages). We are currently looking into increasing the scalability/performance of mirroring but you should not expect to have anything released before R3 regarding that.

Oct 14, 2008 13:31

Thanks Erik


Oct 14, 2008 17:03

I mean, thanks Johan


Oct 14, 2008 17:05
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.