After you have deployed a replacement PlateSpin Transformation Manager Appliance, you must import the data from the old PTM Appliance and re-apply your custom settings on the new PTM Appliance.
NOTE:Ensure that no users are logged in to the PTM Web Interface on the replacement PTM Appliance during this process.
To restore the data and settings from the old Appliance:
In a web browser, go to the Appliance Management Console URL for the replacement PTM Appliance, then and log in as the vaadmin user.
https://ip_address_or_DNS_name:9443
In the Appliance Management Console, stop the PTM-related services in the order indicated:
Click System Services .
Stop the local Connector service. Select the PlateSpin Migrate Connector for PTM service, then select Action > Stop.
Wait for the Status to change to Stopped before you continue.
Stop the PTM service. Select the PlateSpin Transformation Manager service, then select Action > Stop.
Wait for the Status to change to Stopped before you continue.
Stop the PostgreSQL service. Select the PostgreSQL service, then select Action > Stop.
Wait for the Status to change to Stopped before you continue.
In the Appliance Management Console, enable the SSH service:
In System Services, select the SSH service, then select Action > Start.
Click Close to exit System Services.
Exit the Appliance Management Console and close the web browser.
On your management computer, establish an SSH session and log in as the root user to the replacement PTM Appliance.
Import the previously exported data to the PTM database on the replacement Appliance:
Start the PostgreSQL 10 database server. Enter
su postgres -c "/usr/pgsql-10/bin/postgres -D /vastorage/ptm/pgsql/data" &
Restore the PTM database in PostgreSQL 10 by using the backup file you created in Section 14.2, Back Up Data from the PTM Database. This file now resides on Disk 3 on the replacement Appliance, which you renamed as /vastorage_old. Enter
su postgres -c "/usr/pgsql-10/bin/psql -d postgres -f /vastorage_old/ptm/backup.sql"
Wait for the restore to complete before you continue.
Get the count of transformations in the restored PTM database. Enter
su postgres -c "/usr/pgsql-10/bin/psql -d transmgr -c 'select count(*) from tm.trans'"
Compare the old database transformation counts (Step 4 in Section 14.2, Back Up Data from the PTM Database) with the restored database transformation counts (Step 6.c), and verify that the counts are the same.
Overwrite the new pg_hba.conf file with the old pg_hba.conf file that you saved in Step 8 of Section 14.2, Back Up Data from the PTM Database.
In a text editor, modify the new postgresql.conf file to add the previous configuration settings that you noted in Step 9 of Section 14.2, Back Up Data from the PTM Database.
Open the Connector configuration file in a text editor, reapply settings from the old Connector configuration file that you saved in Save Local Connector Settings, then save the file.
/opt/microfocus/migrate_connector/config/settings.cfg
Apply custom settings from the old PTM Appliance as appropriate:
(Optional) Apply the Jetty settings you saved in Section 14.4, Save Jetty Settings.
(Optional) Apply the custom theme settings as described in Section 14.5, Save Customized Default Theme Files.
(Conditional) Apply any custom settings that you made to the old PTM Appliance by using native Linux tools as the root user if they are still required in your network. This is not typical.
For example, if proxy settings are required in your network, see Section 4.1, Configure Proxy Client Settings.
At the terminal prompt, enter exit to close the SSH session.
In a web browser, log in as the vaadmin user to the Appliance Management Console for the replacement PTM Appliance.
In the Appliance Management Console, start the PTM-related services on the replacement appliance in the order indicated:
Click System Services .
If it is stopped, start the PostgreSQL service. Select the PostgreSQL service, then select Action > Start.
Wait for the Status to change to Running before you continue.
Start the PTM service. Select the PlateSpin Transformation Manager service, then select Action > Start.
Wait for the Status to change to Running before you continue.
If it is stopped, start the local Connector service. Select the PlateSpin Migrate Connector for PTM service, then select Action > Start.
Wait for the Status to change to Running before you continue.
Click Close to exit System Services.
(Optional) In the Appliance Management Console, disable the SSH protocol on the Appliance.
Click System Services .
Select the SSH service.
Select Action > Stop.
Click Close to exit System Services.
Exit the Appliance Management Console and close the web browser.
Log in as the PTM System Administrator user to the PTM Web Interface, then verify that the old data is present and as expected.
https://ip_address_or_DNS_name:8183
(Optional) Remove Disk 3 (/vastorage_old) from the appliance VM.
Continue with the next step in the upgrade process in Table 13-2, Overview of PTM Upgrade Process.