How to migrate BuildForge from v7.1.3 to the latest v8.0.0.2?
Accepted answer
BF v8.x supports DB 9.1.,9.5.9.7,10.1, not v7. And v7.1.x also does not support DB v7.
For the system requirements, database upgrade should done before Build Forge upgrade.
BF upgrades database schema when the upgrade from v7.1.x because v8 added tables for MJC engine.
I would like to recommend below steps.
1. Backup existing database by db2 tools (export, back/restore, move ...etc) or full backup. please get consulation from your DB2 administrator. Backup database is always critical to rollback when anything goes wrong.
2. Upgrade to or install compatible DB2 version.
3. Import or restore backup Build Forge database into new version of DB2(when new installation of DB2)
next, there could be two ways;
option-1;
4. Install same version of current in new systems
5 Upgrade Build Forge in new system
or
option-2;
4. Upgrade existing Build Forge system(in current system)
5. Install Build Forge v8 in NEW systems WITHOUT "fill database" option
(this only install Build Forge v8 software without processing database)
*) please don't forget to backup customized scripts and all configuration files when you update existing Build Forge(option-2) .
A good idea is backup current Build Forge installation directory and registry keys.
Thanks,
Kyungmo Jung
Comments
Thank you very much for such a detailed step, this is exactly what I want. One more question, after step 5, the BF is newly install with no data? How I can connect it to the upgraded database in step 1,2,3.
Thank you very much again. Currently we are in the planning stage, might come back with more questions during the actual execution.
5 other answers
Build Forge database connection information is stored in buildforge.conf. However, the location of buildforge.conf is different in v8.
You don't need to change database connection after installation of v8 because it is determined during Installation or upgrade. Build Forge Installation/Upgrade will not proceed unless database connection test is pass.
Database connection is same if you upgrade DB2 version. And it will be changed if you will install new version of DB2 and import old Build Forge database.
1. in v7.x, two buildforge.conf files were in
- <Build Forge Installation>\buildforge.conf
- <Build Forge Installation>\Apache\tomcat\webapps\rbf-services\WEB-INF\classebuildforge.conf
The first one is for Perl based Build Forge engine(actually, buildforge.exe) and second one is for Service Layer(port 3966).
2. in v8, also buildforge.conf files are in two locations,
- <Build Forge Installation>\buildforge.conf (for Perl Based engine, it will not be used when you use MJC, but it still used for other Perl based utilities, export,import).
- Another buildforge.conf is NOW stored in Build Forge web application archive file('com.ibm.jas-1.0.jar') at C:\IBM\BF\bf80023_0066\Apache\tomcat\work\Catalina\localhost\jas\eclipse\plugins. You have to follow "EXACTLY" below reference manual if you need to change database connection.
Please refer to Build Forge Information Center v8;
http://www-01.ibm.com/support/knowledgecenter/SSB2MV_8.0.0/com.ibm.rational.buildforge.doc/topics/config_buildforge_updating_file.html?lang=en
Thanks,
Kyungmo
In general, your steps are correct but you needs to more steps. Please see below information.
1. Before step.2(Upgrade existing BF v7 schema to v8), v7.1.1 needs to be upgraded to at least v7.1.1.3 first.
(please see http://www-01.ibm.com/support/knowledgecenter/SSB2MV_8.0.0/com.ibm.rational.buildforge.doc/topics/upgrade_console_update_install.html)
a. BF v7.1.1.3 is the minimal requirement for upgrading to v8. (to do this at current version in BF7.1.1/W2003 system)
b. It is required to modify buildforge.conf file at Build Forge home directory and another one is at tomcat directory where Build Forge Service is running.
c. this upgrade will upgrade database schema to v8
2. Pointing new (Upgraded) database when installing V8 in new system(Windows 2012) with option "No" populate database.
If "yes" populate database option, Installation manager will fail to install Build Forge because it detects database/schema is already filled with data.
("Fill database" option loas initial data to database).
3. You don't need to modify buildforge.conf files in new system(v8/Windows 2012) because V8 installation will configure with new database configuration.
Thanks,
Kyungmo Jung
Comments
Hi Kyungmo
4. Upgrade existing Build Forge system(in current system)
@Jirong Hu, How did you managed it? I am also having the same scenario. I have BF 7.1.3 and CQ 7.1.2.06. Even we have Reqpro 7.1.2.06 but we are not using it so I am going uninstall it in existing system. I am getting the new box so that I can install CQ 8 and BuildForge 8 and then point to the existing databases. Does it work? Do I need to follow BF upgrade steps? If so what I need to do for upgrade? Can you guide me on it.
Thanks
Comments
@Jirong Hu, Thanks for reply. I understand that I need to perform BF upgrade in existing system and then point the database in New Box with BF V8 and then perform the Upgrade for CQ later. I am also doing the journey in your same boat. Wish me for safe journey in upgrading the Legacy tool. :)