This chapter explains how to install and set up eSync. For full details about the feature, see Using eSync.
WARNING! The version of Ektron on every server in the sync configuration must match. You cannot upgrade nor downgrade Ektron using eSync.
cms400Base8x.exe
). Use to install a second site with which to sync your current site. NOTE: It is not a problem if your templates were created using the 2.0 Framework.
Destination and source database servers do not need the same SQL server version. (For example, your development server uses SQL 2008 Express, and your production server uses SQL Server 2008 R2.)
It is unlikely that you will use this configuration in “real-life” situations, but this scenario provides the simplest way to begin testing and learning eSync.
IMPORTANT: Only use this scenario in a test environment. For a live environment, use either Scenario 2: Synching a Local Server with a Remote Server or Scenario 3: Setting up a Development > Staging > Production Environment.
IMPORTANT: Install both sites to a physical folder relative to the root folder. Do not install one site to a physical folder relative to the root folder and the other site to a virtual directory.
Both sites’ security certificates have been set up and configured. Continue from Part 3: Connect the Local and Remote Servers.
To sync a local to a remote server, install a minimal Ektron site to a new, remote server. Next, use eSync to upload your Ektron site from the local to the remote server. After the you complete the initial and template syncs explained in this chapter, the 2 sites are mirror images of each other.
Follow these steps to configure 2 servers to sync with each other.
Prerequisite: See eSync Requirements
CMS400Base8x.exe
). For more information, see Installing Ektron.IMPORTANT: Install both sites to a physical folder relative to the root folder. Do not install one site to a physical folder relative to the root folder and the other site to a virtual directory.
Security certificates authorize file synchronization between servers. In this part, you generate security certificates on the local server, then copy them to the remote.
NOTE: Ektron Windows Services stop and restart at this point.
WARNING! Do not create the new folder under the Web root, C:\inetpub\wwwroot.
C:\ProgramFiles\Ektron\CMS400v8x\Utilities\Software\SecurityConfigurator
64-bit:
C:\ProgramFiles (x86)\Ektron\CMS400v8x\Utilities\Software\SecurityConfigurator
NOTE: After copying security certificates to the remote folder, they need to be registered and moved to the correct folders. The Security Configurator screen does this.
NOTE: Ektron Windows Services stop and restart at this point.
To accomplish this, repeat the steps in Part 2: Generate and Copy Security Certificates, but this time, treat the remote server as the local server and vice versa.
WARNING! Back up your database before beginning this procedure.
NOTE: If your Ektron has a very large database or number of assets, and you want to reduce the time required to complete the initial sync, see Minimizing the Time of the Initial Sync.
The initial sync creates a default database profile. The profile remembers sync information, such as source and destination databases, sync direction, and items to synchronize. You can reuse this profile to sync database/resource files in the future.
Use the following procedures if you have a large database or number of assets and want to minimize the time to complete an initial sync. In both cases, you use a tool other than eSync for the initial copy. From then on, use eSync to maintain the transfer of data among servers in a sync relationship.
To quickly copy a database between servers:
C:\Program Files (x86)\Ektron\EktronWindowsService40
.<add key="skipDataSyncChanges">
element to true.Staging.abc.com
domain. But, on the production server, you need a production domain key, such as abc.com
. See Also: License Keys<add key="skipDataSyncChanges">
element to false.Assets consist of files in these folders:
If your Ektron has a large number of assets, you may want to reduce the initial sync time. To copy asset files between servers quickly:
C:\Program Files (x86)\Ektron\EktronWindowsService40
\Ektron.ASM.Services40.exe.config
.<add key="skipFileSyncChanges">
element to true.<add key="skipFileSyncChanges">
element back to false.
Before
>After
In this scenario, Ektron initially resides on one server. Consider that your production server and use it to initialize the staging and development servers.
WARNING! In this scenario, you cannot sync between the development and production servers. The sync can only be run between Development and Staging or Staging and Production.
Prerequisite: See eSync Requirements
IMPORTANT: Install both sites to a physical folder relative to the root folder. Do not install one site to a physical folder relative to root and the other sites to virtual directories.
Security certificates authorize synchronization between servers. In an eSync configuration, every server needs a security certificate from every other server, as shown below.
To generate and copy these certificates:
Click the Windows Start button > All programs > Ektron > CMS400 v8x > Utilities > Security Configurator. Right click and choose Run As Administrator. The following screen appears.
WARNING! Do not create the new folder under the Web root, C:\inetpub\wwwroot.
C:\ProgramFiles\Ektron\CMS400v8x\Utilities\Software\SecurityConfigurator
.After copying security certificate files to the staging folder, they need to be registered and moved to the correct folders. The Security Configurator screen does this.
Click the Windows Start button > All programs > Ektron > CMS400 v8x > Utilities > Security Configurator. Right click and choose Run As Administrator. The following screen appears.
WARNING! Do not create the new folder under C:\inetpub\wwwroot
.
C:\ProgramFiles\Ektron\CMS400v8x\Utilities\Software\SecurityConfigurator
.NOTE: After copying the security certificate files to the production folder, they need to be registered and moved to the correct folders. The Security Configurator screen does this.
Click the Windows Start button > All programs > Ektron > CMS400 v8x > Utilities > Security Configurator. Right click and choose Run As Administrator. The following screen appears.
WARNING! Do not create the new folder under C:\inetpub\wwwroot
.
C:\ProgramFiles\Ektron\CMS400v8x\Utilities\Software\SecurityConfigurator
.
WARNING! Back up your database before beginning this procedure!
NOTE: If your Ektron has a very large database or number of assets, and you want to reduce the initial sync time, see Minimizing the Time of the Initial Sync
The initial sync creates a default database profile. The profile remembers information about the sync, such as the: source and destination databases, sync direction, the database and resource files are synched. You can use the profile to run database/resource syncs in the future.
NOTE: If your Ektron has a very large database or number of assets, and you want to reduce the initial sync time, see Minimizing the Time of the Initial Sync.
The initial sync downloads the staging server’s database and resources to the development server. A screen tracks the sync’s progress.
The initial sync also creates a default database profile. The profile remembers information about the sync, such as the source and destination databases, sync direction, and the fact that it syncs the database and resource files (see example below). You can reuse this profile to sync the database/resources between these 2 servers at any time in the future.