This topic applies to WebSphere Application Server Liberty V8.5.5.9 and earlier. For the latest Liberty topics, see the WebSphere Application Server Liberty documentation.

Uninstalling Liberty fix packs from distributed operating systems by using response files

You can rollback WebSphere® Application Server Liberty Core to an earlier version by using Installation Manager response files.

Before you begin

During the rollback process, Installation Manager must access files from the earlier version of the package. By default, these files are stored on your computer when you install a package. If you change the default setting or delete the saved files, Installation Manager requires access to the repository that was used to install the earlier version.

Procedure

  1. Optional: If the repository requires a username and password, create a credential-storage file to access this repository.
    Tip: When you create a credential-storage file, append /repository.config at the end of the repository URL location if the imutilsc command is unable to find the URL that is specified.
    Note: When you use Installation Manager Version 1.6.2 and later, use the -secureStorageFile and -masterPasswordFile options to store credentials in a credential-storage file. In versions of Installation Manager earlier than Version 1.6.2, the -keyring and -password options were used to access credentials in a keyring file. These options were deprecated in Version 1.6.2. There is no migration path from keyring files to storage files because of the differences in the file structures. For more information on -secureStorageFile and -masterPasswordFile options to store credentials in a credential-storage file, see Installation Manager Version 1.6 documentation. For more information on -keyring and -password options to store credentials in a keyring file, see Installation Manager Version 1.5 documentation.
  2. Log on to your system.
  3. Stop all servers and applications on the WebSphere Application Server Liberty Core installation that is being rolled back.
  4. Use a response file to roll back the product.

    Change to the eclipse/tools subdirectory in the directory where you installed Installation Manager, and roll back the product.

    For example:
    • For Windows platformsAdministrator or non-administrator:
      imcl.exe
        input C:\temp\rollback_response_file.xml 
        -log C:\temp\rollback_log.xml 
        -secureStorageFile C:\IM\credential.store -masterPasswordFile C:\IM\master_password_file.txt
    • For AIX platformsFor HP UNIX platformsFor LINUX platformsFor Solaris platformsAdministrator:
      ./imcl
        input /var/temp/rollback_response_file.xml 
        -log /var/temp/rollback_log.xml 
        -secureStorageFile /var/IM/credential.store -masterPasswordFile /var/IM/master_password_file.txt
    • For AIX platformsFor HP UNIX platformsFor LINUX platformsFor Solaris platformsNon-administrator:
      ./imcl
        input user_home/var/temp/rollback_response_file.xml 
        -log user_home/var/temp/rollback_log.xml 
        -secureStorageFile user_home/var/IM/credential.store -masterPasswordFile user_home/var/IM/master_password_file.txt
    Note: The program might write important post-installation instructions to standard output.

    For more information on using Installation Manager, read the IBM® Installation Manager Information Center.

  5. Optional: List all installed packages to verify the rollback.
    For AIX platformsFor HP UNIX platformsFor LINUX platformsFor Solaris platforms
    ./imcl listInstalledPackages -long
    For Windows platforms
    imcl.exe listInstalledPackages -long
For Windows platforms

Example

The following is an example of a response file for rolling back the product to an earlier version.
<?xml version="1.0" encoding="UTF-8"?>
<agent-input>
<server>
  <repository location='https://www.ibm.com/software/repositorymanager/com.ibm.websphere.liberty.v85'/>
</server>
<profile id='WebSphere Liberty V8.5.5' installLocation='C:\Program Files\IBM\WebSphere\Liberty'>
</profile>
<rollback>
  <offering profile='WebSphere Liberty V8.5.5' id='com.ibm.websphere.liberty.v85' version='8.5.5.20101025_2108'/>
</rollback>
</agent-input>
Tips:
  • The profile ID (<profile . . . id='profile_ID' . . . .> and <offering . . . profile='profile_ID' . . . .>) can be found when you run the imcl listInstallationDirectories -verbose command from the eclipse/tools subdirectory in the directory where you installed Installation Manager. It is the same as the package group’s name.
  • The offering ID (<offering . . . id='offering_ID' . . . .>) can be found in WebSphere Application Server product offerings for supported operating systems.
  • The version is a specific version of the offering to which to roll back (8.5.5.20101025_2108 for example).
    This specification is optional.
    • If version is not specified, the installation rolls back to the previously installed version of the offering and all interim fixes for that version are installed.
    • If version is specified, the installation rolls back to the specified earlier version of the offering and no interim fixes for that version are installed.
  • If you previously installed Liberty Repository features and addons but do not have access to a Liberty repository when you rollback your installation, specify the following properties in the response file:
    <data key='user.feature' value=''/> 
    <data key='user.addon' value=''/>
    Specifying these properties enables the product to rollback and uninstalls all features and addons.

Icon that indicates the type of topic Task topic



Timestamp icon Last updated: Tuesday, 12 December 2017
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-libcore-mp&topic=twlp_ins_rollback_silent
File name: twlp_ins_rollback_silent.html