Use the copied JCR database for the target production environment. This process involves
modifying the database properties, validating the connection, and connecting to the copied
database.
Procedure
-
Log in to the RH Linux Server, where the target HCL Portal is located.
-
Open RH Command Line Terminal. Right-click the desktop and select
Open Terminal.
-
Enter the following command: ulimit -n 24000.
-
Go to the Config Engine properties directory cd
/opt/IBM/WebSphere/wp_profile/ConfigEngine/properties.
-
Open the wkplc_dbdomain.properties file with the command gedit
wkplc_dbdomain.properties.
-
Change the following JCR database values:
jcr.DBName=WPJCRP
to jcr.DbName=WPJCRT
jcr.DbUrl=jdbc:db2://cntserv_exmp.com:50000/WPJCRP:returnAlias=0;
to
jcr.DbUrl=jdbc:db2//cntserv_exmp.com:50000/WPJCRT:returnAlias=0;
Other values such as the database user name and schema were the same on both the source and
target. Therefore, no changes are needed.
-
Save the changes.
-
Go to the Config Engine directory cd
/opt/IBM/WebSphere/wp_profile/ConfigEngine.
-
Validate the database connection with the database ./ConfigEngine.sh
validate-database-connection.
-
Connect to the database, with the following Config Engine command ./ConfigEngine.sh
connect-database -DtransferDomainList=jcr -DWasPassword=wpsadmin.
This task takes a few minutes to complete.