LOCKSS 1.x to 2.x Migration Guide#

Warning

This page is under construction. LOCKSS 1.78 and LOCKSS 2.0-beta1 have not yet been released.

Image of a road construction sign

Welcome, LOCKSS 1.x users!

This document will guide you as you install LOCKSS 2.x and migrate the data you preserve in LOCKSS 1.x to LOCKSS 2.x.

You have the option to install LOCKSS 2.x on a brand-new physical or virtual machine (recommended), or to install it on the same machine as LOCKSS 1.x.

Overview of the Migration#

The migration process has three major phases:

  1. Preparing your LOCKSS 2.x machine.

    If you are installing LOCKSS 2.x on a new machine (recommended), you will need to commission a new Linux host.

    If you are installing LOCKSS 2.x on a LOCKSS 1.x machine, you will need to ensure that the machine meets the requirements for LOCKSS 2.x, and if necessary to upgrade the operating system.

  2. Installing and configuring LOCKSS 2.0-beta1.

  3. Configuring and running the migration process in the LOCKSS 1.x Web user interface.

Frequently Asked Questions about the Migration#

How long will the migration take?

The duration of the migration process is proportional to the amount of content preserved in the LOCKSS 1.x system. A LOCKSS 1.x system the size of a Global LOCKSS Network node is expected to take many weeks to migrate to LOCKSS 2.x.

If I am installing LOCKSS 2.x on my LOCKSS 1.x machine, do I need to have at least as much free space as the LOCKSS 1.x system occupies?

No, there is a documented mode for running the migration tool that progressively reclaims disk space as AUs are migrated from LOCKSS 1.x to LOCKSS 2.x. That being said, installing LOCKSS 2.x on a brand-new machine is recommended, and if you must install LOCKSS 2.x on the same machine as LOCKSS 1.x, having at least as much free space as the LOCKSS 1.x system occupies is preferred.

Can I use the LOCKSS system while the migration is in progress?

Largely, yes.

  • Each previously existing archival unit becomes temporarily unavailable at some point during the migration.

    The migration tool processes existing AUs in the LOCKSS 1.x system sequentially. Each AU in turn becomes unavailable in the LOCKSS 1.x system, then its contents are copied to the LOCKSS 2.x system, then the AU becomes available in the LOCKSS 2.x system.

  • During the migration process, a previously existing archival unit is active in either the LOCKSS 1.x system or the LOCKSS 2.x system (except during its content copy, where it is unavailable in both).

    Between the time the migration process starts and the time a given AU becomes unavailable in the LOCKSS 1.x system, you can see the AU in the Web user interface of the LOCKSS 1.x system (port 8081), but you should limit your dealings to "read-only" interactions.

    Once a given AU's contents have been migrated to the LOCKSS 2.x system, the AU is fully operational; you can interact with it in any way you like in the LOCKSS 2.x system, including in the LOCKSS 2.x Web user interface (ports 24600-24699).

  • During the migration process, the LOCKSS 1.x system forwards certain operations to the LOCKSS 2.x system.

    The LOCKSS 1.x system knows how to respond to certain operations related to AUs that have already been fully migrated to the LOCKSS 2.x system. Poll requests from other nodes in your LOCKSS network are forwaded by the LOCKSS 1.x system to the LOCKSS 2.x polling service, and the responses are relayed back to the poller, for applicable AUs. Likewise, proxy requests, ServeContent Web replay requests and OpenURL queries are forwarded by the LOCKSS 1.x system to the corresponding LOCKSS 2.x service for applicable AUs.

    What this means is that other nodes in your LOCKSS network and clients of your LOCKSS node continue to interact with your existing LOCKSS 1.x node throughout the migration. Only at the end of the migration process will your LOCKSS 2.x system become your sole LOCKSS node while your LOCKSS 1.x system is taken out of the equation.

  • While the migration process is underway, new archival units should be created in the LOCKSS 2.x system.

    After the migration process begins, you should add any new AUs to your LOCKSS 2.x system. These new AUs are then immediately operational in your LOCKSS 2.x system.

What might not work properly during the migration process?

FIXME

  • OpenURL

  • Subscription manager


FIXME -- IGNORE ALL THIS BELOW:

  1. Prepare your LOCKSS 2.x machine.

    Select the scenario that fits your situation:

    You will need to commission a new Linux host. See the LOCKSS 2.0-beta1 System Prerequisites page.

    For historical reasons, many LOCKSS 1.x machines are currently running RHEL 7 compatible operating systems like CentOS 7, which have reached end of life. Before co-installing LOCKSS 2.x with LOCKSS 1.x, you must upgrade your RHEL 7 compatible system like CentOS 7 to a RHEL 9 compatible operating system like Rocky Linux 9.