The Multi Site Manager (MSM) enables you to use the same site content in multiple locations. MSM uses its Live Copy functionality to achieve this.
This page provides an overview of reusing content with MSM. The following pages cover related issues in detail.
There are many use-cases for MSM and Live Copies. Some scenarios include:
Multinationals - Global to Local Company
One typical use case that MSM supports is to reuse content in several multinational same-language sites. This allows the core content to be reused, while also permitting national variations.
For example, the English section of the WKND tutorial sample is created for customers in the USA. Most of the content in this site can also be used for other WKND sites that cater to English-speaking customers of different countries and cultures. The core content remains the same over all sites, while regional adjustments can be made.
The following structure can be used for sites for the United States and Canada. Note how
language-masters node maintains the master copy of not only English but other language content. This content can be used as the basis for additional regional language content alongside English.
/content |- wknd |- language-masters |- en |- es |- fr |- us |- en |- es |- ca |- en |- fr
MSM does not translate the content. It is used to create the required structure and deploy the content.
See Translating Content for Multilingual Sites for such an example.
National - Head-Office to Regional Branches
Alternatively a company with a network of dealers might want separate websites for its individual dealerships, each being a variation of the main site provided by the head-office. This might be for a single company with multiple regional offices, or a national franchise system comprised of a central franchisor and multiple local franchisees.
The head office can supply the core information, whereas the regional entities can add local information, such as contact details, opening hours and events.
/content |- head-office-berlin |- branch-hamburg |- branch-stuttgart |- branch-munich |- branch-frankfurt
MSM can create versions of a specific sub-branch. For example, a support sub-site can hold details of the different versions of a specific product, where the base information remains constant and only the updated features need to be changed:
/content |- game-support |- polybius |- v5.0 |- v4.0 |- v3.0 |- v2.0 |- v1.0
In such a scenario this is the question of whether to make a straightforward copy or use Live Copies, which is a balance of:
MSM is directly accessible in the UI using various options from the appropriate console.
Create Site (Sites)
Create Live Copy (Sites)
View Properties (Sites)
Live Copy Overview (Sites)
Blueprints (Tools - Sites)
Aspects of MSM functionality are used in several other AEM features such as Launches. In these cases the Live Copy is managed by that feature.
As an introduction, the following table provides an overview of the main terms used with MSM. These will be covered in more details in the subsequent sections and pages.
|Source||The original pages used as the basis for Live Copies||Synonymous with Blueprints and/or Blueprint pages|
|Live Copy||The copy (of the source), maintained by synchronization actions as defined by the rollout configurations|
|Live Copy Configuration||Definition of the configuration details for a Live Copy|
|Live Relationship||Effective definition of the inheritance for a given resource i.e. the connection(s) between the source and Live Copies||Ensures that changes to the source can be synchronized with the Live Copy|
|Blueprint||Synonymous with Source||Can be defined by a blueprint configuration|
|Blueprint Configuration||Predefined configuration specifying a source path||When a blueprint page is referenced in a blueprint configuration the Rollout command becomes available|
|Chapter||The sections of the blueprint to include in the Live Copy||These are generally sub-pages of the root|
|Synchronization||The generic term for the synchronization of content between the source and the Live Copies (by both Rollout and Synchronize options)|
|Rollout||Synchronizes from the source to the Live Copy||Can be triggered by an author (on a blueprint page) or by a system event (as defined by the rollout configuration)|
|Rollout Configuration||Rules that determine which properties will be synchronized, how and when|
|Synchronize||A manual request for synchronization, made from the Live Copy pages|
|Inheritance||A Live Copy page/component inherits content from its source page/component when synchronization occurs|
|Suspend||Temporarily removes the live relationship between a Live Copy and its blueprint page|
|Detach||Permanently removes the live relationship between a Live Copy and its blueprint page|
|Reset||Reset a Live Copy page to remove all inheritance cancellations and return the page to the same state as the source page||Reset affects any changes that you have made to page properties, the paragraph system and components.|
|Shallow||A Live Copy of a single page|
|Deep||A Live Copy of a page, together with its child pages|
An MSM Live Copy is a copy of specific site content for which a live relationship with the original source is maintained:
In the previous example,
/content/wknd/language-masters/en is the global master site in English. To reuse the content of this site, MSM Live Copies are created:
/content/wknd/language-masters/enis the source.
/content/wknd/language-masters/enis copied below the
/content/wknd/ca/ennodes. These are the Live Copies.
The diagrams and descriptions in this section represent snapshots of potential Live Copies. They are not comprehensive, but provide an overview to highlight specific characteristics.
When you initially create a Live Copy, the selected source pages are reflected on a 1:1 basis in the Live Copy. After this, new resources (pages and/or paragraphs) can also be created directly within the Live Copy, so it is useful to be aware of these variations and how they impact synchronization. Possible compositions include:
The basic form of Live Copy has:
Changes can be synchronized according to requirements.
When you create a Live Copy in AEM, you can see and navigate through the Live Copy branch and use normal AEM functionality on the Live Copy branch. This means that you (or a process) can create new resources (pages and/or paragraphs) inside the Live Copy. E.g. a product for a particular region or country.
When you (or a process) create a new page within an existing Live Copy this new page can also be set up as a Live Copy of a different blueprint. This is known as a nested Live Copy. In nested Live Copies the behavior of the second or inner Live Copy is affected by the first or outer Live Copy in the following ways:
For example, links that point from the second to the first blueprint will be rewritten as links pointing from the nested/second Live Copy to the first Live Copy.
If you move or rename a page within the Live Copy branch, this will be treated as a nested Live Copy to enable AEM to track the relationships.
A Live Copy is known as a stacked Live Copy when it is created as the child of a shallow Live Copy. It behaves in the same manner as a nested Live Copy.
Any page or branch of pages can be used as the source of a Live Copy. However, MSM also allows you to define a blueprint configuration that specifies a source path. The benefits of using a blueprint configuration are that they:
The source for a Live Copy can be either regular pages or pages encompassed by a blueprint configuration. Both are valid use cases.
The source forms the blueprint for the Live Copy. The blueprint is defined when you either:
A rollout is the central MSM action that synchronizes Live Copies with their sources. You can perform rollouts manually or they can occur automatically.
When authoring a blueprint page you can use the Rollout command to push changes to the Live Copy.
When authoring a Live Copy page you can use the Synchronize command to pull changes from the source to the Live Copy.
A rollout configuration defines when and how a Live Copy is synchronized with the source content. A rollout configuration consists of a trigger and one or more synchronization actions:
You can create custom actions for your instance using the Java API.
Rollout configurations can be reused, so that more than one Live Copy can use the same rollout configuration. Several rollout configurations are included in a standard installation.
Rollouts can become complicated, especially when authors are editing content in both the source and the Live Copy. So it is useful to be aware of how AEM handles any conflicts that might occur during rollout.
Each page and component in a Live Copy is associated with its source page and component via a live relationship. The live relationship configures the synchronization of Live Copy content from the source.
You can Suspend the Live Copy inheritance for a Live Copy page so that you can change page properties and components. When you suspend inheritance, the page properties and components are no longer synchronized with the source.
When editing an individual page, authors can Cancel Inheritance for a component. When inheritance is cancelled, the live relationship is suspended and synchronization does not occur for that component. Cancelling inheritance and synchronization is useful when sub-sections of the content needs to be customized.
You can also detach a Live Copy from its blueprint to remove all connections.
The Detach action is permanent and non-reversible.
The detach action permanently removes the live relationship between a Live Copy and its blueprint page. All MSM-relevant properties are removed from the Live Copy and the Live Copy pages become a standalone copy.
See Detaching a Live Copy for full details, including the related impact on sub- and parent pages.
The following steps describe the standard procedure for using MSM to reuse content and synchronize changes to Live Copies.
Develop the content of the source site.
Determine the rollout configuration to use.
Determine where you need to specify the rollout configurations to use and configure as required.
If required, create a blueprint configuration that identifies the source content of the Live Copy.
Make changes to the source content as required. You should employ the normal content review and approval process that your organization has established.
MSM provides tools so that your implementation can adapt to the exceptional complexities that can exist when sharing content.
The MSM Best Practices page contains important information regarding your implementation.