Running a Parallel Standby Environment

To run a parallel standby environment, your current environment must be backed-up and then restored to the parallel one.

Restoring a K2 environment

The following scenarios are addressed with restoration of a K2 environment:

Scenarios
Cold Standby A method of redundancy in which the secondary (i.e., backup) system is restored and brought online when the primary system fails. The system on cold standby receives scheduled data backups, but less frequently than a warm standby. Cold standby systems are used for non-critical applications or in cases where data is changed infrequently. The Disaster Recovery server names are the same as the server names currently in use.
Hot Standby A method of redundancy in which the primary and secondary (i.e., backup) systems run simultaneously. The data is mirrored to the secondary server in real time so that both systems contain identical information. The Disaster Recovery server names are different than the non-standby server names. See Database Disaster Recovery Options for issues when using SQL Log Shipping and Database Mirroring.
Hot Standby is also known as Active-Active replication.
See the appropriate vendors’ product documentation for information on implementing Hot Standby for supporting systems such as Operating Systems, Databases or other underlying systems required by your K2 environment.
Warm Standby A method of redundancy in which the secondary (i.e., backup) system runs in the background of the primary system. Data is mirrored to the secondary server at regular intervals, which means that there are times when both servers do not contain the exact same data. See Database Disaster Recovery Options for issues when using SQL Log Shipping and Database Mirroring.
Warm Standby is also known as Active-Passive replication.
See the appropriate vendors’ product documentation for information on implementing Hot Standby for supporting systems such as Operating Systems, Databases or other underlying systems required by your K2 environment.
If loss of data is a concern, another option would be to perform SAN (system area network) mirroring, i.e. everything that is written to a SAN in the main site is replicated via the SAN link to the disaster recovery site. The downside of this option is that it can be cost-prohibitive.

Restoring to a Cold Standby environment

Follow the steps below to restore to a cold standby:

  1. Ensure that the Windows machine is in working order.
  2. Install the K2 Server and K2 Site components.
  3. Apply service packs and / or updates.
  4. Restore the K2 installation directory from backup.
  5. Restore databases from backup.
  6. Restore K2 servers and IIS servers from backup.
  7. Restore any other files for your K2 processes.
  8. Run the K2 Setup Manager to update the new license key.
  9. Start your K2 server.
  10. Test your K2 processes and data.
  11. Check the K2 Host Server log and the server event log for any errors.

Preparing a Hot or Warm Standby environment for restoration

It is important to note that preparation of the Hot or Warm Standby environment is required prior to the disaster occurring, as K2 stores configuration and licensing information within the K2 configuration database.

Follow the steps below to prepare the environment for a Hot or Warm Standby restoration:

  1. Install K2 on the Disaster Recovery servers.
  2. Perform a full system backup of the K2 Disaster Recovery servers.
  3. Perform a backup of the data in the following two tables in the K2 database:
    • Server.Server
    • HostServer.LicenseKey
  4. Take the Hot or Warm Standby servers offline.

Restoration of a Hot or Warm Standby environment

Follow the steps below to restore a Hot or Warm Standby environment:

  1. Bring the Hot or Warm Standby environment online.
  2. Restore the K2 ServiceBroker directory ("%ProgramFiles%\K2\ServiceBroker") from backup.
  3. Restore any other custom assemblies that your processes may require to the machine.
  4. Restore the backed up database.
  5. Restore the K2 Disaster Recovery Servers.
  6. Restore the data from the two tables backed up earlier.
  7. Update all references to the old machine such as ASPX pages, links to the Workspace, Worklist Web parts in SharePoint etc to point to the new machine name.
  8. Start the K2 Service.
  9. Test your K2 processes and data.
  10. Check the K2 Host Server log and the server event log for any errors.