7 Migrate Clustered WebCenter Content 12c to New Hosts on a Dissimilar Infrastructure
If you would like to move clusters of WebCenter Content Release 12c to an infrastructure where Operating System and directory structure of WebCenter Content will differ from those on the existing infrastructure, then the topics that follow will guide you in accomplishing your goal.
Note:
The versions of WebLogic Server and WebCenter Content must match between the old hosts and the new hosts. The following topics DO NOT include instructions for upgrading to a newer version but for migrating current setup of WebCenter Content. To migrate other Oracle products from the existing infrastructure such as WebCenter Portal or BPM, make sure to take in account the required instructions. These topics focus only on migrating WebCenter Content.Topics
-
Preliminary Steps for Migrating Clustered WebCenter Content 12c to a Dissimilar Infrastructure
-
Mount Shared File System and Adjust Configuration Settings for WebCenter Content
-
Perform Pack and Unpack Operations to Extend the Domain to the Second Node
-
Verify that Inbound Refineries Start Successfully on New Hosts
-
Adjust Configuration Settings for WebCenter Content User Interface
-
Update Database Information for Standalone Java Applications
7.1 Preliminary Steps for Migrating Clustered WebCenter Content 12c to a Dissimilar Infrastructure
- Stop all managed servers, the admin server, and the node manager.
- Back up WebCenter Content file system.
- Back up WebCenter Content's database.
- Install the same JDK version on the new host as the one on the old host.
- Install WebLogic Server's binaries on the new host.
- Install WebCenter Content's binaries on the new host.
- Install the same patches on the new host as were applied to the old host.
- If WebCenter Content is being migrated, detach/unmount the shared file system from the old hosts.
- If WebCenter Content is being cloned, detach/unmount the shared file system from the old hosts and also copy the shared file system to its new location.
- There are a few scenarios in which the database will be moving
as well. One such scenario is when WebCenter Content is
moving to the Oracle Cloud. A second scenario is when the
database is moving to a new infrastructure for an on-premise
migration. A third scenario could be that WebCenter Content
is being cloned. In any of these cases, the database schemas
are assumed to be available in their new database instance
and reachable from the new hosts on which WebCenter Content
will reside. When the Configuration Wizard
(
config.sh
) is run, additional steps will need to be taken to ensure connectivity to the database schemas in their new location.There are three objects within the system schema that are required for Fusion Middleware to operate properly, especially when it comes to upgrades. These objects are: schema_version_registry view, schema_version_registry synonym, and schema_version_registry$ table. If any of these items are missed, you must follow the steps in Recover Lost RCU Database SYSTEM.SCHEMA_VERSION_REGISTRY Objects to recreate the missing objects in the new database instance to prevent issues in the future. In addition to that, you must also include all of the schemas whose names contain the prefix that you defined for the environment in question.
7.2 Recover Lost RCU Database SYSTEM.SCHEMA_VERSION_REGISTRY Objects
The SYSTEM.SCHEMA_VERSION_REGISTRY
schema version registry
table contains version data for all the schemas. Many operations such as upgrade cannot
proceed if this table is not available.
7.3 Build a Template for an Existing Domain
After you've performed the preliminary steps, build a template for the domain you plan to migrate.
7.4 Create a New Domain
You've created the domain template and copied it to the new host to which you are migrating your clustered WebCenter Content 12c instance. Now create a new domain on the new host.
7.5 Update JPS Configuration with New Database Information
If the database is moving, a couple of configuration files need to be modified using the steps below. However, if the database is not moving, ignore this procedure and continue with the next that describes how to copy the UCM directory to the new host.
7.6 Disable Host Name Verification
- Start the admin server on the target host (in this example,
apphost1
) and wait until the status shows as RUNNING. - Login to the Admin server console. If running in production mode, click Lock & Edit in the Change Center.
- Go to Environment > Servers > AdminServer(admin).
- Click the SSL tab, then click Advanced.
- Set Hostname Verification to None and click Save.
- Go to Environment >
Servers > your
WebCenter Content server 1 (In this
example,
UCM_server1
). - Click the SSL tab and then click Advanced.
- Confirm Hostname Verification is set to None and click Save.
- Go to Environment >
Servers > your
WebCenter Content server 2
(In this example,
UCM_server 2
). - Click the SSL tab and then click Advanced.
- Confirm Hostname Verification is set to None and click Save.
- Go to Environment >
Servers > Oracle
Inbound Refinery 1 (in this example,
IBR_server1
). - Click the SSL tab and then click Advanced.
- Confirm Hostname Verification is set to None and click Save.
- Go to Environment >
Servers > Oracle
Inbound Refinery 2 (in this example,
IBR_server2
). - Click the SSL tab and click Advanced.
- Confirm Hostname Verification is set to None and click Save.
- Go to Environment >
Servers >
WebCenter Content ADF 1 (in
this example,
WCCADF_server1
). - Click the SSL tab and click Advanced.
- Confirm Hostname Verification is set to None and click Save.
- Go to Environment >
Servers >
WebCenter Content ADF 2 (in
this example,
WCCADF_server2
). - Click the SSL tab and click Advanced.
- Confirm Hostname Verification is set to None and click Save.
- If running in production mode, click Activate Changes in the Change Center.
7.7 Mount Shared File System and Adjust Configuration Settings for WebCenter Content
If WebCenter Content was migrated, mount the shared file system at this time. Instead, if it was cloned, mount the shared file system from the new location at this time.
7.8 Verify that UCM_server1 Starts on the New Host
- On the target cluster, start the node manager on
apphost1
. - In the Domain Structure, go to Environment > Servers.
- On the Control tab, select the check box for WebCenter
Content 1 (in this example,
UCM_server1
). - Click Start and then Yes to confirm.
- Above the Servers table, click the refresh arrow and note that UCM_server1's state changes to RUNNING.
- Open a browser and confirm that the
portal.htm
on the newapphost1
host loads successfully.
7.10 Copy WebCenter Content Directory to the New Host
Several tools are available to help you copy the WebCenter Content
directory to the new host. In this example, we'll use rsync
to copy
from one Linux host to another.
7.11 Adjust Configuration Settings for WebCenter Content
7.12 Verify that UCM_server2 Starts on the New Host
- On the target cluster, on
apphost2
, start the node manager. - On the target cluster, on
apphost1
, start the admin server and proceed to the next step after the admin server's state changes to RUNNING. - In the Admin Server Console, in the Domain Structure, go to Environment > Servers.
- On the Control tab, select the check box for UCM_server2.
- Click Start, then click Yes to confirm.
- Above the Servers table, click the
refresh arrow. Observe that
UCM_server2
’s state changes to RUNNING. - Open a browser and confirm that the
portal.htm
on the newapphost2
host loads successfully. - From the existing Administration Console browser tab, go to Environment > Servers.
- On the Control tab, select the check box for UCM_server2.
- Click Shutdown/Force Shutdown (If Force is not used, running state issues will be experienced.)
- Click Yes to confirm.
- Above the Servers table, click the refresh arrow. Observe that UCM_server2’s state changes to SHUTDOWN.
7.14 Verify that Inbound Refineries Start Successfully on New Hosts
- In the Admin Server Console, in the Domain Structure, go to Environment > Servers.
- On the Control tab, select the check box for IBR_server1 and IBR_server2.
- Click Start, then click Yes to confirm.
- Above the Servers table, click the refresh arrows
for both servers. Observe that
IBR_server1
’s andIBR_server2
's states change to RUNNING. - Verify that you are able to log into both refineries.
7.15 Swap Out Executables
If the operating system has changed or directory paths have changed, you will need to replace the executables or redo the symbolic links with the proper ones. Here are a few possible scenarios.
7.15.3 Linux to Windows
- Go to the
DOMAINHOME/ucm/cs/bin
directory and delete these items:Archiver
BatchLoader
ComponentTool
ComponentWizard
ConfigurationManager
IdcAnalyze
IdcCommand
IdcServer
IdcShell
Installer
IntradocApp
RepositoryManager
SystemProperties
UnixProcCtrl
UserAdmin
WebLayoutEditor
WorkflowAdmin
- Copy the
FMWHOME/wccontent/ucm/idc/native/windows-amd64/bin/Launcher.exe
to theDOMAINHOME/ucm/cs/bin
directory - Copy the
DOMAINHOME/ucm/cs/bin/Launcher.exe
to theDOMAINHOME/ucm/cs/bin
directory with the following names:Archiver.exe
BatchLoader.exe
ComponentTool.exe
ComponentWizard.exe
ConfigurationManager.exe
IdcAnalyze.exe
IdcCommand.exe
IdcServer.exe
IdcShell.exe
Installer.exe
IntradocApp.exe
RepositoryManager.exe
SystemProperties.exe
UserAdmin.exe
WebLayoutEditor.exe
WorkflowAdmin.exe
- Delete the
DOMAINHOME/ucm/cs/bin/Launcher.exe
file. - Go to the
DOMAINHOME/ucm/cs/admin/bin
directory and delete these items:IdcAdmin
Launcher.sh
UnixProcCtrl
- Copy the
FMWHOME/wccontent/ucm/idc/native/windows-amd64/bin/Launcher.exe
file to theDOMAINHOME/ucm/cs/admin/bin
directory - Copy the
DOMAINHOME/ucm/cs/admin/bin/Launcher.exe
to theDOMAINHOME/ucm/cs/admin/bin
directory with the following names:IdcAdmin.exe
IdcAdminNT.exe
- Delete the
DOMAINHOME/ucm/cs/admin/bin/Launcher.exe
file. - Copy the
FMWHOME/wccontent/ucm/idc/native/windows-amd64/bin/Launcher.exe
file to theDOMAINHOME/ucm/cs/admin/bin
directory. - Repeat steps 1 through 4 for other WebCenter Content cluster nodes in the domain.
- Go to the
DOMAINHOME/ucm/ibr/bin
directory and delete these items:ComponentWizard
IdcCommand
IdcRefineryInstaller
Launcher.sh
SystemProperties
UnixProcCtrl
- Copy the
FMWHOME/wccontent/ucm/idc/native/windows-amd64/bin/Launcher.exe
file to theDOMAINHOME/ucm/ibr/bin
directory. - Copy the
DOMAINHOME/ucm/ibr/bin/Launcher.exe
to theDOMAINHOME/ucm/ibr/bin
directory with the following names:ComponentWizard.exe
IdcRefinery.exe
IdcRefineryNT.exe
Installer.exe
SystemProperties.exe
- Delete the
DOMAINHOME/ucm/ibr/bin/Launcher.exe
file. - Go to the
DOMAINHOME/ucm/ibr/admin/bin
directory and delete these items:IdcAdmin
Launcher.sh
UnixProcCtrl
- Copy the
FMWHOME/wccontent/ucm/idcnative/windows-amd64/bin/Launcher.exe
file to theDOMAINHOME/ucm/ibr/admin/bin
directory. - Copy the
DOMAINHOME/ucm/ibr/admin/bin/Launcher.exe
to theDOMAINHOME/ucm/ibr/admin/bin
directory with the following names:IdcAdmin.exe
IdcAdminNT.exe
- Delete the
DOMAINHOME/ucm/ibr/admin/bin/Launcher.exe
file - Copy the
FMWHOME/wccontent/ucm/idc/native/windows-amd64/bin/NtProcCtrl.exe
file to theDOMAINHOME/ucm/ibr/admin/bin
directory. - Repeat steps 11 through 19 for other refineries in the domain.
7.16 Adjust Outgoing Provider Settings for Inbound Refineries
- In the Domain Structure, go to Environment > Servers.
- On the Control tab, select the check boxes for UCM_server1 and UCM_server2.
- Click Start and then Yes to confirm.
- Above the Servers table, click the
refresh arrows. Observe that
the state of
UCM_server1
andUCM_server2
changes to RUNNING. - Log in to the WebCenter Content instance.
- On the Administration > Providers page, for the outgoing
provider connecting to the refinery on
apphost1
, click Info. - Click Edit and provide the new values for Server Host Name and HTTP Server Address.
- Click Update and for the outgoing
provider connecting to the refinery on
apphost2
, click Info. - Click Edit and provide the new values for Server Host Name and HTTP Server Address.
- Click Update.
- Restart the
UCM_server1
andUCM_server2
managed servers.
7.17 Adjust Configuration Settings for WebCenter Content User Interface
- In the Domain Structure, go to Environment > Servers.
- On the Control tab, select the check boxes for WCCADF_server1 and WCCADF_server2.
- Click Start and then Yes to confirm.
- Above the Servers table, click the
refresh arrows. Observe that
the state of
WCCADF_server1
andWCCADF_server2
changes to RUNNING. - If your load balancer has changed, log into the Fusion
Middleware Control and edit the
PropConnectionUrl mBean
value used for establishing the connection from the WebCenter Content user interface to the WebCenter Content so that this value uses the new address for your load balancer.- From the target navigation in the upper left corner of the page, go to WebLogic Domain > <DOMAINNAME> - UI_cluster - WCCADF_server1 and then select the WCCADF_server1 managed server.
- From the WebLogic Server drop-down list, select WebLogic Server - System MBean Browser.
- Navigate to Application Defined MBeans > oracle.adf.share.connections > Server: WCCADF_server1 > Application: Oracle WebCenter Content - Web UI > ADFConnections > ADFConnections > WccConnection > WccAdfServerConnection.
- Update the value for PropConnectionUrl to contain the new load balancer listening on the socket port and click Apply.
- Go to Application Defined MBeans > oracle.adf.share.connections > Server: WCCADF_server1 > Application: Oracle WebCenter Content - Web UI > ADFConnections
- On the Operations tab, click Save and then click Invoke to display Operation executed successfully message.
7.18 Configure Oracle HTTP Server
- On the new
apphost1
, open a terminal. - Go to the
DOMAINHOME/config/fmwconfig/components/OHS/instances/ohs_1
directory. - Open the
mod_wl_ohs.conf
file in a text editor. - Replace existing values for
apphost1
andapphost2
with the new values. - Save the file and exit the text editor.
- Go to the
DOMAINHOME/config/fmwconfig/components/OHS/ohs_1
directory. - Open the
mod_wl_ohs.conf
file in a text editor. - Replace existing values for
apphost1
andapphost2
with the new values. - Save the file and exit the text editor.
- Copy the
DOMAINHOME/config/fmwconfig/components/OHS/instances/ohs_1/mod_wl_ohs.conf
on the newapphost1
to theDOMAINHOME/config/fmwconfig/components/OHS/instances/ohs_2
on the newapphost2
. - Log in to Fusion Middleware Control.
- To display the Target Navigation menu, click the Target Navigation icon in the upper left corner.
- Expand the HTTP Server section and select ohs_1.
- Click Start Up and proceed to the next step after the Confirmation message appears.
- In the upper left corner, click the Target Navigation icon and in the Target Navigation menu, select ohs_2.
- Click Start Up and close the Confirmation message when it is displayed.
7.19 Configure Security Providers
Manually port the security provider data to the domain's new location. This is required because the Domain Template Builder is an offline utility, and therefore, does not export security provider data such as embedded LDAP data, into domain templates.
Related Topics
7.20 Update Database Information for Standalone Java Applications
- From the
DOMAINHOME/ucm/cs/bin
directory of one of the cluster nodes, run theSystemProperties
application. - From within the
SystemProperties
application, update the database information on the Database tab so that the standalone Java applications in WebCenter Content's bin directory can be launched successfully.
7.21 Verify That Everything Works
UserAdmin
applet and
also configure the jdbc
connection using
SystemProperties
so the standalone java applications can interact
with the database and function.