Applying hotfix
This topic provides instructions for applying hotfix to an existing installation of BMC Release Process Management (BRPM).
Do the following steps to apply a hotfix:
- Log in as an administrator to the server that hosts the database and save a backup of the database before performing the upgrade.
Stop the BMC Release Process Management service for the current version.
From the command line, run the following command:
- (Windows) dir RLMhome\releases
- (Linux or Solaris ) cd RLMhome/releases
- Create a directory with the following name: newProductVersion\RPM. For example, 5003004-HF1\RPM.
- Copy the downloaded brpm.war file to the RLMhome\releases\newProductVersion\RPM folder.
- Extract the brpm.war file by using Java Archive Tool, UnZip, 7-Zip, or any other file extractor.
For example, for Java Archive tool, use the following command:
%JAVA_HOME%\bin\jar.exe -xvf <RLM_HOME>\releases\<new_product_version>\RPM\brpm.war - Copy the following configuration files from RLMhome\releases\previousProductVersion\RPM\config to RLMhome\releases\newProductVersion\RPM\portal.war\WEB-INF\config:
- database.yml
- automation_settings.rb
- smtp_settings.rb
- wicked_pdf_config.rb
- carrierwave_settings.rb
- Navigate to the RLMhome\bin directory and update the start file as follows:
- (Windows) Set the value of the CURRENT_RPM_PATH parameter to the directory that you created in step 4.
set CURRENT_RPM_PATH="RLMHome\releases\newProductVersion\RPM" - (Linux) Set the value of the CURRENT_RPM_PATH parameter to the directory that you created in step 4.
export CURRENT_RPM_PATH="RLMHome\releases\newProductVersion\RPM"
- (Windows) Set the value of the CURRENT_RPM_PATH parameter to the directory that you created in step 4.
- On the command line, navigate to RLMhome\bin and run the following command:
- (Windows) setenv.bat
- (Linux). ./setenv.sh
In the same command line window as the previous step, navigate to RLMhome\releases\newProductVersion\RPM\portal.war\WEB-INF and run the following rake task:
jruby -S rake --verbose db:migrate RAILS_ENV=production- Start the BMC Release Process Management service.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*