Installing Update Packages for HCL Commerce Developer (silent method)
You can use a silent method to install an Update Package on a HCL Commerce Developer environment.To install silently, IBM Installation Manager requires a response file to provide
the input. A response file is generated by installing the Update Package on a machine by using the
interactive method. The options that you choose in the GUI are recorded in a file. Then, you can use
the response file on other machines to install the Update Package silently.
Before you begin
- Installing or updating the product to a later version is a
processor and memory intensive operation. Your machine can become unresponsive for
extended periods of time, during which you may observe applyUpdate.bat
consuming large amounts of system resources.Note: Allow sufficient time for the install or update process to complete as the applyUpdate.bat progress indicator can remain at 99% for up to two hours on less powerful machines.
- Stop any Java applications that are running on your machine.
- Ensure that Rational Application Developer is not running.
- Disable any Web server that you configured on your machine.
- Log in to Windows as a user with Administrator privileges.
- Backup your system before you create the response file. Creating a response file might create conflicting files on your system. These conflicting files can cause issues when you use the response file to install the Update Package.
- If you do not have the Update Package, download and extract the Update
Package that you want to install.
- Log in to HCL License and Delivery portal.
- Search for the Update Package by part number. For information about available part numbers, see
HCL Commerce releases.Note: The Update Package can update to the target version from any previous version. For example, if you are on 9.1.0.0 and want to update to 9.1.2.0, you only need to download the 9.1.2.0 Update Package.
- Download and extract the package.
- Back up your database. The database updates that are included in this update cannot be undone. If you want to undo the database update, you must restore your database from a back up. For more information about how to back up, see BACKUP DATABASE COMMAND.
Procedure
-
Create a response file.
If you already have a response file, skip to Step 2.
- Copy the response file, response_file_path, to the machines that intend to use the file for a silent installation.
- Open the target response file in a text editor.
-
Modify the entries in the response file to match the installation options that you want.
- Remove any unnecessary repositories that are in the response file.
- Update any entries as needed to match the machine that will be using the response file.
-
On the command line, start the silent installation process:
Where
- response_file_path is the full path of the response file
- log_file_path is the full path of log file, for example c:\logs\maintenance_install.log. The full path must exist, for example, c:\logs\.
-
Check for any issues in the WCDE_installdir\UpdateDelta\9.1.x.0\applyUpdate.log
file.
- The x values represent the Update Package level.
-
Merge files as needed.
If any files were added, updated or removed by the developer since the last installation, and also added, updated or removed by the update, these files are recorded during the process.
-
Update the database to the latest HCL Commerce database schema.
What to do next
- Verify your search index data.
- Store data:
http://ElasticSearchServerName:30200/auth.store/_search
- Category data:
http://ElasticSearchServerName:30200/auth.storeId.category/_search
- Product data:
http://ElasticSearchServerName:30200/auth.storeId.product/_search
- Store data:
- Refresh the workspace and republish the application after the update is completed.
- Open HCL Commerce Developer and switch to the Enterprise Explorer view.
- In the Explorer view, select all projects and select (or the F5 keyboard shortcut) to refresh the projects in the workspace.
- Start or restart the test server
- Right-click the test server in the Servers view and select Publish.
- Wait for the application to finish publishing and to restart.