!--a11y-->
Creating Replacement Rules for
Sites 
In replacement rules for sites you are able to define replacement sites (target sites) for a preassigned period of time, and have the opportunity to deactivate the site for the period specified.
It makes sense to deactivate the site when it is faced with a large amount of data in the outbound queue.
The deactivation and replacement of a site can be monitored in the site scheduling log.
You have selected the Object type sites in the administration console and, by double clicking on it, have selected a mobile client type site for which you want to define a replacement rule.
Enter :-
...
1.
Choose
(Display<->Change) und select
the tab page Replacement rules.
2.
Choose
(generate new entry) from the tab
page.
The Create new replacement rules screen is displayed.
3.
If you have
defined templates for the replacement rules for the site to be replaced
beforehand, then choose
(Templates).
a. Choose the tab page Search for template and select the required template(s). See also: Creating Templates for Replacement Rules
b.
To transfer
the template into your replacement rule, press the
,Transfer to replacement rules,
button.
4. Under date from/ to, enter a period of time for which replacement scheduling should be executed.
5. If you are not using a template, enter a Description for the rule.
6. Determine whether the scheduled site has to be Deactivated for the period specified.
7.
To define one
or more target sites to be used for replacement, choose
(Target site list).
The subscriptions of the scheduled site are assigned to the target sites.
a.
Choose
(Add site).
The list of available sites is displayed.
b.
Select the
target sites that will replace the original site and choose
(Copy).
To remove target sites from the list, choose
(Target site).
c.
Choose
(OK).
8.
If one or
more subscriptions are to be assigned to different target sites, choose
Exceptions: (Non-standard definitions for
single subscriptions).
The list of subscriptions assigned to sites is displayed.
a.
Select the
subscription you want to define an exception for and choose
(Change standard).
The previously selected target sites are displayed.
b.
Select the
subscription for which you want to define another target site and choose
, to add a new site or choose
, to remove a site from the
list.
You can select any of the previously selected target sites in the list.
c.
You can undo
the changes by choosing
(Restore standard
values).
d.
To complete
your entries, choose
(Copy).
9.
Save your
entries.
The replacement rules are saved together with the site.
10. In the menu choose Extras ® Replacement rules ® Execute job manually to start the background job using the replacement rules immediately.
11. Choose Extras ® Log ®Replacement rules log to monitor the replacement of a site.
The replacement rule is included in a background job executed in the specified period of time.
As long as a site is deactivated the changes relevant for this site are collected per replication object. On reactivating the site an extract based on this extract list is performed. All replication objects are extracted that have been changed during the deactivation period.
All changes to subscription assignments undertaken during the replacement period are included in the next respective background job.