Overview
You would like to migrate a ListManager installation to a new server, while still connecting to an existing database. The machine you will migrate to will be referred to as the "target server" in this solution. The current production machine will be referred to as the "source server". This method installs a fresh copy of ListManager instead of cloning your instance for migration.
Prerequisites
- A "target server" that meets Lyris LM's Supported Platforms and Database Servers requirements
NOTE: Setting up your OS environment in the cloud or on a local server is beyond the scope of support for Lyris LM On-Premise customers.
Solution
Download and Install Lyris LM onto the Target Server
- Backup the database
- Obtain the Lyris LM installer (Ensure that the installer MATCHES the version of Lyris LM that is installed on the source server.)
- Ensure the database server is accessible from the target server (For Oracle database, the Oracle client is required.)
- Execute the Lyris LM installer on the target server
- During the installation, choose the "New Install" option
- When prompted for the database server, database name, and access credentials, provide the connection information to the existing Lyris LM database
- After the connection test, the installer will prompt to create Lyris LM tables
-
Choose "No, I'll create the tables later" (When asked if sure, click yes.)
- Do NOT create new tables, this will irrecoverably delete and overwrite all information in the database
- Do NOT create new tables, this will irrecoverably delete and overwrite all information in the database
- Do NOT choose to start Lyris LM after the installation
- Open the lmcfg.txt file with a text editor on the source server. (This configuration file is located in the ListManager installation folder.)
-
At the bottom of the file, find the node name line
- For example: $node_name='name'
- For example: $node_name='name'
- Copy the node name and paste it into the lmcfg.txt node_name value on the target server
- Open a command prompt and navigate to the install directory
- Run the following command:
lm clearactivation
- Then, run the following command:
lm getactivation
- Start Lyris LM
- Start the Lyris LM web server
Note:
At this point the web admin interface should be running and available. Next, update the "Machine Settings" to reflect IP address of the target server.
Update Machine Settings
- Navigate to Utilities > Administration > Server > Server Settings > Machine Settings
- Click the IP Addresses tab
- For the Machine IP addresses field delete the old IP and input the new IP(s) of the target server
- Click the Refresh button and then choose the new IP(s) values from "TCLPORT IP addresses:" list by clicking them with the CTRL key pressed
- Click Save
- If the sites have been configured with specific IPs, navigate to Utilities > Administration > Sites
- Click into each site and navigate to the respective SMTP and NNTP tabs. For the IP address related drop downs on these tabs, ensure they are either set to "all" or the new IP address
- If the IP address is already set to the default of "all" no changes are necessary
- Click Save
If Mailstreams are configured, their settings must be updated to avoid Mailing failures as "Not Attempted" due to Mailstream Configuration.
Your Lyris LM application now runs from your new server instance.
Priyanka Bhotika
Comments