Overview
You are preparing to clone your Oracle database to a new server with a new instance name. You have updated the Oracle Client's TNSNames to point to the new database server and you'd like to know what changes are needed in your LM server to make it work correctly.
Solution
Stop ListManager Services
Stop your ListManager services in Windows as Services, in Windows from the webserver, or in Linux.
Stop ListManager Services in Windows as Services
- As a Windows Administrator on your webserver, click Start and type "Services"
- Right-click on the ListManager Service
- Click Stop
- Right-click on the ListManagerWeb Service
- Click Stop
Stop ListManager Services in Windows From the Webserver
- As a Windows Administrator on your webserver, open the ListManager window
- Press CTRL+C and the window will close
- Open the ListManager webserver window
- Press CTRL+C and the window will close
Stop ListManager Services in Linux
- As root on your ListManager webserver, navigate to your ListManager directory. e.g. /usr/local/lm/bin
- Enter ./S96lm stop to stop ListManager
- Enter ./S96httpd-lm stop to stop ListManager webserver
Backup and Migrate the Oracle Database
- Backup the List Manager database
- Move the database to the new server
- Navigate to the List Manager install directory
- Log on to your Production ListManager server and edit 'lmcfg.txt' located in the LM install directory:
Windows: C:\Program Files\ListManager\lmcfg.txt
Linux: ~/ListManager/bin/lmcfg.txt
- Update the $sql_server value to point to the new database
- Verify if any other parameters needs to be updated if applies, for example: user, password, database name
- Save the file
Start ListManager Services
Start your ListManager services in Windows as Services, in Windows from the webserver, or in Linux.
Start ListManager Services in Windows as Services
If ListManager is running as Services, use this method.
- As a Windows Administrator on your webserver, click Start and type "Services"
- Right-click on the ListManager Service
- Click Start
- Right-click on the ListManagerWeb Service
- Click Start
Start ListManager Services in Windows Manually
If ListManager is not installed as Windows Services, use this method.
- As a Windows Administrator on your webserver, click Start and type "cmd" to open the Command Prompt
- Navigate to the ListManager installation directory. e.g. C:\Program Files\ListManager\tclweb\bin
- Enter httpd-lm.exe
Start ListManager Services in Linux
- As root on your ListManager webserver, navigate to your ListManager directory. e.g. /usr/local/lm/bin
- Enter ./S96lm start to start ListManager
- Enter ./S96httpd-lm start to start ListManager webserver
After restarting ListManager connects to your new Oracle database server without errors.
Priyanka Bhotika
Comments