Merging two AR System servers into one AR System server after upgrade
The 4.1.x release provides the new 2AR1AR utility that merges the two AR System servers (Enterprise-AR and Cloud-AR) into the single AR System server architecture introduced in 4.0 (Cloud Portal and Database).
The Enterprise-AR and Cloud-AR servers use the obsolete AR System architecture from the 2.x and 3.x releases of BMC Cloud Lifecycle Management.
To summarize the merge operation, this utility performs the following tasks when creating the single 4.x AR System server architecture.
- Disables DSO
- Creates a new temporary dataset on the Enterprise-AR server
- Creates a reconcilation merge job that ports Enterprise-AR data back to BMC.ASSET dataset on Enterprise-AR which is temporarily moved to other dataset
- Safely deletes the obsolete records on Enterprise-AR and Cloud-AR
- Uses the temporary dataset to move existing data in BMC.ASSET dataset to give preference to data coming from Cloud-AR
- Runs delta data migration utility to copy data from Cloud-AR to Enterprise-AR
- Executes a Merge Job that ports original data of Enterprise-AR BMC.ASSET dataset back to BMC.ASSET dataset on Enterprise-AR
- Updates BMC Service Request Management, USM, and Platform Manager configuration
The following BMC Communities video how to bring BMC Cloud Lifecycle Management setups operating in two-AR mode to single AR mode to eliminate the need of the second AR.
Before you begin
- Locate, copy, and extract the 2-ar-to-1-ar-migration-utility to the Windows host:
- Navigate to the <Installer_Dir>\Applications\BMC-CLM\Windows folder.
- Copy the Installer file to your Windows host.
- Extract the compressed Installer file.
- Navigate to the ..\Installer\Disk1\files folder.
- Extract the compressed 713b0c9491fe file.
- Navigate inside the ..\713b0c9491fe\2-ar-to-1-ar-migration-utility folder to view the Windows run.bat file and the supporting folders and files.
- Stop the Platform Manager service (BMC CSM).
- Finish the entire upgrade of BMC Cloud Lifecycle Management to version 4.1.00, including the Enterprise-AR and Cloud-AR servers.
- Verify that the data migration is complete and successful after you finish the upgrade.
- Execute the CLM reconcilation jobs on the Enterprise-AR server (BMC CSM CDB Data Reconciliation) and the Cloud-AR server (BMC CSM ENT Data Reconciliation) before you start the 2AR to 1AR merge to make sure there is no mismatch of soft-deleted CIs between Enterprise-AR and Cloud-AR.
- Open the DSO Distributed Pending form on the Enterprise-AR and Cloud-AR servers and verify that there are no pending records.
For example:
http://<clm_MidTier>:<port>/arsys/forms/<EARorCAR>/Distributed+Pending/
http://clmMidTier:800/arsys/forms/EAR/Distributed+Pending/
http://clmMidTier:8080/arsys/forms/CAR/Distributed+Pending/ - After the DSO operations of all the pending CIs is complete on the Enterprise-AR and Cloud-AR servers, stop the DSO processes:
Open the armonitor file (located by default in C:\Program Files\BMC Software\ARSystem\Conf), comment out the DSO processes, and save the file.
#"C:\Program Files\Java\jre7\bin\java" -Xmx512m -classpath "C:\Program Files\BMC Software\ARSystem\dsoj;C:\Program Files\BMC Software\ARSystem\dsoj\ardsoj81_build001.jar;C:\Program Files\BMC Software\ARSystem\arserver\api\lib\arapi81_build001.jar;C:\Program Files\BMC Software\ARSystem\arserver\api\lib\arcmnapp81_build001.jar;C:\Program Files\BMC Software\ARSystem\arserver\api\lib\arutil81_build001.jar" com.bmc.arsys.dsoj.DSOServer --unicode -i "C:\Program Files\BMC Software\ARSystem" -m- Restart the AR System servers.
- Execute the reconciliation jobs on the Enterprise-AR and Cloud-AR servers before you start the 2AR to 1AR merge to make sure there is no mismatch of soft-deleted CIs between Enterprise-AR and Cloud-AR..
- After the reconcilation jobs are successful, stop the reconciliation continuousjobs and make them non-continuous.
- Edit the BMC CSM CDB Data Reconciliation job.
- Select the Identification Activity.
- Under Schedule, uncheck Continuous to disable the action.
- Click Save.
- Perform the same steps on the BMC CSM ENT Data Reconciliation job on Cloud-AR.
- Edit the BMC CSM CDB Data Reconciliation job.
Install NSH on the Windows host where you plan to run the merge utility.
- On the Cloud-AR server, apply the AR Migrator license before you run migration.
- Make sure that the Windows host has the following minimum recommended system configuration:
- Make sure that the Windows host has sufficient CPU and RAM.
- Run the performance tuning parameters on the Enterprise-AR and Cloud-AR servers.
- Make sure that the Windows host has Oracle JRE 64-bit 1.7 installed.
(Optional) To manually apply private extensions to the Enterprise-AR server before 2AR1AR execution
Optionally, you can manually apply private extensions on Enterprise AR before the 2AR1AR merge process. You must use the Atrium Core Maintenance utility (AtriumCoreMaintenanceTool.exe) to apply only private > schema and private > logic extensions, but not private > DSO.
- Locate and extract Cloud_DB:
- Navigate to <Installer_Dir>\Applications\BMC-CLM\Windows\Installer\Disk1\files.
- Extract the compressed Cloud_DB file.
- Navigate to the C:\Program Files\BMC Software\AtriumCore\atriumcore folder and launch AtriumCoreMaintenanceTool.exe.
- Click the Configuration tab and then click the Run Extensions tab.
- Enter the path of the schema ExtensionLoader.xml file (for example, located at C:\BMC-CLM\Windows\Installer\Disk1\files\Cloud_DB\extensions\clm\private\schema).
- Click Next to enter the Cloud Portal and Database server details.
- Enter the User Name (for example, Demo), Password, Port Number (for example, 9595), and AR Server Host Name.
- Click Next.
- Click Run to execute the XML file.
- Repeat these steps to enter the path of the logic ExtensionLoader.xml file located, for example, at C:\BMC-CLM\Windows\Installer\Disk1\files\Cloud_DB\extensions\clm\private\logic.
To merge two AR System servers into one AR System server
- Copy the merge utility zip file to the Windows host and extract it.
Open a command window and execute the run.bat script.
C:\2-ar-to-1-ar-migration-utility>run.bat
C:\2-ar-to-1-ar-migration-utility>java -Dlog4j.configuration=file:log4j.properties -jar 2-ar-to-1-ar-migration-jar-with-dependency.jar
Enter Enterprise AR Server Name/IP : vw-pun-csm-dv07
Enter Enterprise AR Server Port : 9595
Enter Enterprise AR Server Admin User Name : Demo
Enter Enterprise AR Server Admin Password :
Enter Cloud AR Server Name/IP : vw-pun-csm-dv08
Enter Cloud AR Server Port : 9595
Enter Cloud AR Server Admin User Name : Demo
Enter Cloud AR Server Admin Password :
Enter Platform Manager machine Name/IP : vw-pun-csm-dv08
Enter Platform Manager installation directory : C:\Program Files\BMC Software\BMCCloudLifeCycleManagement\Platform_Manager- Enter the Enterprise-AR server name or IP address.
- Enter the Enterprise-AR port.
- Enter the Enterprise-AR administrator and password.
The script verifies your Enterprise-AR logon information. - Enter the Cloud-AR server name or IP address.
- Enter the Cloud-AR port.
- Enter the Cloud-AR administrator and password.
The script verifies your Cloud-AR logon information. - Enter the Platform Manager host name or IP address.
- Enter the Platform Manager installation directory (for example, C:\Program Files\BMC Software\BMCCloudLifeCycleManagement\Platform_Manager).
- Press Enter.