8. Reconfiguring LOCKSS 2.x for Normal Operation
The next task, once all the content has been successfully migrated from LOCKSS 1.x to LOCKSS 2.x, is to reconfigure LOCKSS 2.x for normal operation.
Important
This chapter marks the end of the principal migration phase and the cutover from LOCKSS 1.x to LOCKSS 2.x. It induces an interruption of service as the LOCKSS 1.x instance is taken out of service and the LOCKSS 2.x instance takes over as the sole system. Plan the steps of this chapter carefully to minimize downtime and disruption. Some steps may require coordination with a central IT department or communication with users of the system.
Follow these steps:
LOCKSS 1.x host as root Stop and disable your LOCKSS 1.x system. This occurs on your LOCKSS 1.x host, as
root:systemctl disable --now lockss
LOCKSS 2.x host as lockss Stop your LOCKSS 2.x system (currently configured for migration). This occurs on your LOCKSS 2.x host, as the
lockssuser, in the LOCKSS Installer Directory:scripts/stop-lockss
This step depends on your Migration Scenario:
If you are doing a New-Host Migration, follow these steps to reconfigure your LOCKSS 2.x instance for normal operation:
Undo the new-host migration firewall rules established in the New-Host Migration portion of Chapter 3 (Preparing the LOCKSS 2.x Host).
Allow your LOCKSS 2.x host to adopt the IP address, and ideally hostname, previously associated with your LOCKSS 1.x host. This step is strongly recommended; see Section 1.6.1 (Adopting the LOCKSS 1.x IP Address) and Section 1.6.3 (Adopting the LOCKSS 1.x Hostname). This action requires you (or your system administrator) to take the following steps:
LOCKSS 1.x host as root Shut down your LOCKSS 1.x host, or at least reconfigure it to yet another IP address.
LOCKSS 2.x host as root Reconfigure your LOCKSS 2.x host so it uses the IP address, and ideally hostname, previously associated with your LOCKSS 1.x host.
LOCKSS 2.x host as root On the LOCKSS 2.x host, run these two commands as
root:
/usr/local/bin/k3s-killall.sh systemctl restart k3s
This is necessary for K3s to adjust to the newly configured IP address.
Coordinating with Administrators of LOCKSS Networks
Whether or not you adopt the IP address of your LOCKSS 1.x node, the administrator of your LOCKSS network has to adjust the firewall rules and Web server access control on the network configuration server. See Access control after migration in Chapter 11 (Appendix: Instructions for Administrators of LOCKSS Networks).
LOCKSS 2.x host as lockss Run this command, as the
lockssuser, in the LOCKSS Installer Directory:scripts/configure-lockss
The LOCKSS 2.x configuration process will repeat. For the most part, you are only confirming existing values by simply hitting Enter, but you will receive additional prompts and there are a few prompts to pay attention to:
(additional prompt) Do you want to reconfigure LOCKSS 2.x to no longer be in migration mode?: Enter Y for "yes", or simply hit Enter.
Fully qualified hostname (FQDN) of this machine: If you are adopting the LOCKSS 1.x hostname (which is recommended), enter it here. See Section 1.6.3 (Adopting the LOCKSS 1.x Hostname).
Coordinating with Administrators of LOCKSS Networks
If your node does not adopt your LOCKSS 1.x hostname, the administrator of your LOCKSS network may have to take action to account for the change. See Change of Hostname in Chapter 11 (Appendix: Instructions for Administrators of LOCKSS Networks).
Important
Additionally, if your node does not adopt your LOCKSS 1.x hostname, users of the system and various other systems now have to switch to the new hostname. See Section 1.6.3 (Adopting the LOCKSS 1.x Hostname).
IP address of this machine: Likewise, if you are adopting the LOCKSS 1.x IP address (which is strongly recommended), enter it here. See Section 1.6.1 (Adopting the LOCKSS 1.x IP Address).
Coordinating with Administrators of LOCKSS Networks
If your node does not adopt your LOCKSS 1.x IP address and/or LCAP port, the administrator of your LOCKSS network has to take action to account for the change in LCAP identity induced. See Change of LCAP identity in Chapter 11 (Appendix: Instructions for Administrators of LOCKSS Networks).
LCAP port: It is strongly recommended that you adopt the LCAP port previously associated with your LOCKSS 1.x instance. See Section 1.6.2 (Adopting the LOCKSS 1.x LCAP Port).
OK to proceed?: Enter Y for "yes", or simply hit Enter.
If you are doing a Same-Host Migration, follow these steps:
LOCKSS 2.x host as lockss On the LOCKSS host, as the
lockssuser, in the LOCKSS Installer Directory, run this command:scripts/configure-lockss
The LOCKSS 2.x configuration process will repeat. For the most part, you are only confirming existing values by simply hitting Enter, but you will receive additional prompts and there are a few prompts to pay attention to:
(additional prompt) Do you want to reconfigure LOCKSS 2.x to no longer be in migration mode?: Enter Y for "yes", or simply hit Enter.
LCAP port: It is strongly recommended that you adopt the LCAP port previously associated with your LOCKSS 1.x instance. See Section 1.6.2 (Adopting the LOCKSS 1.x LCAP Port).
Coordinating with Administrators of LOCKSS Networks
If your node does not adopt its LOCKSS 1.x LCAP port, the administrator of your LOCKSS network has to take action to account for the change in LCAP identity induced. See Change of LCAP identity in Chapter 11 (Appendix: Instructions for Administrators of LOCKSS Networks).
OK to proceed?: Enter Y for "yes", or simply hit Enter.
LOCKSS 2.x host as lockss Finally, on the LOCKSS 2.x host, as the
lockssuser, in the LOCKSS Installer Directory, run this command:scripts/start-lockss --waitThis will start the LOCKSS 2.x stack (now configured for normal operation).
Ports used in LOCKSS 2.x are largely different than in LOCKSS 1.x, so you need to update institutional and local firewall rules (and direct users of the system to the new ports). The full list of ports used in LOCKSS 2.x can be found in Network Ports in the LOCKSS 2.x System Manual, but here are the highlights:
LOCKSS 1.x
LOCKSS 2.x
Web user interface
8081
24602: LOCKSS Configuration Service
24603: LOCKSS Poller Service
24604: LOCKSS Crawler Service
24605: LOCKSS Metadata Service
Content proxy
Often in the 8082-8086 range; default: 9090
24630
Audit proxy
Often in the 8082-8086 range
24631
ServeContent
Often 8080 or in the 8082-8086 range; default: 8080
24640
SOAP API
Also 8081
24616