Updating the installation directory silently
You can use the silent method to install a maintenance package to update the WebSphere Commerce product to a new maintenance level.
Before you begin
- Download and install the WebSphere Commerce Update Installer.
- Fix packs for WebSphere Commerce
- Save the maintenance package to the maintenance directory: UPDI_installdir/maintenance
- Ensure that the WebSphere Commerce Configuration Manager server is stopped.
- Stop the IBM Knowledge Center Help Server.
- Run the stagingprop utility before you install the maintenance package.
Note: If you are a non-root user, you can apply maintenance packages only
if you installed WebSphere Commerce Update Installer as a non-root user.
Procedure
Complete the following steps to install the maintenance package to the WebSphere Commerce product directory.
- Log on with a user ID that is a member of the Windows Administration group.
-
Log on.
- Log on as the
root
user- If you are already signed onto the system, issue the command su - root. Do not use the command su root. This command does not load the necessary root user's profile and environment.
- Or log on as a
non-root
user that owns WC_installdir.
- Log on as the
- Ensure that your user has *SECOFR authority.
- Go to the UPDI_installdir/responsefiles directory and open the install.txt file in a text editor.
-
Edit the install.txt file, ensuring the following sections are edited and
are not commented out:
Note: To uncomment a line, remove the
#
character from the beginning of the appropriate entry.- Ensure that the
-W maintenance.package
line contains the directory that contains the maintenance package. For example,-W maintenance.package="/QIBM/ProdData/WebSphere/UpdateInstaller/V8/UPDI/maintenance"
-W maintenance.package="/usr/IBM/WebSphere/UpdateInstaller/V8/UPDI/maintenance"
-W maintenance.package="/opt/IBM/WebSphere/UpdateInstaller/V8/UPDI/maintenance"
-W maintenance.package="C:\Program Files\IBM\WebSphere\UpdateInstaller\V8\UPDI\maintenance"
- Ensure that the
-W product.location
line contains the full path name of the WebSphere Commerce installation directory. For example,-W product.location="/QIBM/ProdData/CommerceServer80"
-W product.location="/usr/IBM/WebSphere/CommerceServer80"
-W product.location="/opt/IBM/WebSphere/CommerceServer80"
-W product.location="C:\Program Files\IBM\WebSphere\CommerceServer80"
-W update.instancename
and-W update.db
entries do not exist or that they are commented out. Save the file and exit. - Ensure that the following lines indicate that you accept both IBM and third-party license agreements:
-OPT silentInstallLicenseAcceptance="true"
-OPT silentInstall3rdPartyLicenseAcceptance="true"
- Ensure that the
- Start a Qshell session by typing QSH at the command prompt.
-
Run the following command from the UPDI_installdir
:
- update -options UPDI_installdir/responsefiles/install.txt
- ./update.sh -options UPDI_installdir/responsefiles/install.txt -silent
- update.bat -options UPDI_installdir/responsefiles/install.txt -silent
When the prompt returns wait for the Java process that is associated with the Update Installer to finish.
-
Check the log files for errors.
The log files are in directory WC_installdir/logs/update/8.0.0-WS-WCServer-FP00X.install.