How to Rollback the HotFix applied on the Informatica Environment

Most of us know how to install/apply the HotFix to Informatica Environment but only few know how to roll back it. Indeed it’s sometime needed to roll back whenever the applied HotFix is not behaving the way it’s supposed to perform. In order to rollback you need to have the respective HotFix software dump file on your server machine. Ensure to unset the environment variables ($INFA_HOME, $PATH, $LD_LIBRARY_PATH, $INFA_DOMAIN_FILE, $JAVA_HOME) before you proceed with the rollback otherwise the rollback script will prompt for asking to unset the environment variables & fail in the middle. In my case I was needed to roll back the HF4 applied on Informatica 9.5.1.
  •  Get the respective Hot Fix Software dump.
sh-4.1$ ls -ltr *951HF4_Server_Installer_linux-x64.tar*
-rwxr-xr-x. 1 devinfa powergrp 3639613440 May 27  2014 951HF4_Server_Installer_linux-x64.tar

Un tar the software dump
sh-4.1$tar –xvf 951HF4_Server_Installer_linux-x64.tar
  • You would be able to see the below file files.
sh-4.1$ ls -ltr
total 3554426
-rwxr-xr-x.  1 devinfa powergrp       5299 Dec  5  2013 unjar_esd.sh
-rwxr-xr-x.  1 devinfa powergrp      14962 Dec  5  2013 silentinstall.sh
-rwxr-xr-x.  1 devinfa powergrp      19484 Dec  5  2013 install.sh
-rwxr-xr-x.  1 devinfa powergrp      15013 Dec 30  2013 silentinstallhotfix.sh
-rwxr-xr-x.  1 devinfa powergrp      13914 Dec 30  2013 silentinstallDT.sh
-rwxr-xr-x.  1 devinfa powergrp        535 Dec 30  2013 SilentInput_hotFix.properties
-rwxr-xr-x.  1 devinfa powergrp       5870 Jan 14  2014 SilentInput_upgrade.properties
-rwxr-xr-x.  1 devinfa powergrp       1789 Jan 14  2014 SilentInput_DT.properties
-rwxr-xr-x.  1 devinfa powergrp      10926 Jan 14  2014 SilentInput_upgrade_NewConfig.properties
-rwxr-xr-x.  1 devinfa powergrp      14252 Jan 14  2014 SilentInput.properties
drwxr-xr-x.  5 devinfa powergrp       1024 Feb 17  2014 Server
drwxr-xr-x.  3 devinfa powergrp         96 Feb 17  2014 upgrade_utils
drwxr-xr-x.  4 devinfa powergrp         96 Feb 17  2014 sapsolutions
drwxr-xr-x.  3 devinfa powergrp       1024 Feb 17  2014 properties
drwxr-xr-x.  2 devinfa powergrp       1024 Feb 17  2014 Messages
drwxr-xr-x.  4 devinfa powergrp         96 Feb 17  2014 saptrans
-rwxr-xr-x.  1 devinfa powergrp 3639613440 May 27  2014 951HF4_Server_Installer_linux-x64.tar
drwxr-xr-x.  2 devinfa powergrp         96 Jul 20  2015 logs
drwxr-xr-x. 12 devinfa powergrp       1024 Jul 20  2015 source
sh-4.1$
  • Go to the Server folder.
sh-4.1$ cd Server
sh-4.1$ ls -ltr
total 105889
drwxr-xr-x. 5 devinfa powergrp       96 Feb 11  2014 I9PI
drwxr-xr-x. 3 devinfa powergrp       96 Feb 11  2014 Bundles
-rwxr-xr-x. 1 devinfa powergrp 64487276 Feb 11  2014 install.bin
-rwxr-xr-x. 1 devinfa powergrp 43941888 Feb 11  2014 install_hf.bin
drwxr-xr-x. 9 devinfa powergrp     1024 Feb 17  2014 help
sh-4.1$
  • Execute the install_hf.bin file located on the Server directory . Follow the below screens in the middle it’s prompts to enter for below options select the option 2 Roll back the hotfix.
            1->Apply the hotfix..
            2->Roll back the hotfix.

sh-4.1$./install_hf.bin file
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

******************************************************************************************************
Installation Type - Step 1 of 7
******************************************************************************************************
[ Type 'back' to go to the previous panel or 'quit' to cancel the installation at any time. ]

Copyright (c) 1998-2014 Informatica Corporation. All rights reserved.
This Software is protected by U.S. Patent Numbers

International Patents and other Patents Pending.

Welcome to the Informatica 9.5.1 HotFix 4 HotFix 4 installer.

Select hotfix installation or rollback:
    * 1->Apply the hotfix.
Select this option to apply the hotfix to Informatica 9.5.1 HotFix 4 and above.
      2->Roll back the hotfix.
Select this option to remove the hotfix and go back to the previous version.
:
******************************************************************************************************
Installation Pre-Requisites - Step 2 of 7
******************************************************************************************************
[ Type 'back' to go to the previous panel or 'quit' to cancel the installation at any time. ]

Verify the prerequisites before you apply or roll back the hotfix.

Installation Prerequisites
--------------------
Informatica 9.5.1 HotFix 4 and above must be installed on this machine.

Informatica Services must not be running.

You must use the same user account used to install the previous version of Informatica Services.

Stop all processes that access the installation directory and subdirectories, including command prompts and command line programs.

Disk Space Requirements
----------------------------------------
Installation requires 7 GB of available disk space and additional space for the existing folders and the INFA_SHARED and java directories.

Rollback Prerequisites
-----------------------------------
When you roll back a hotfix, the installer removes the last hotfix and restores Informatica services to the previous version. You can roll back any hotfix applied to Powergrp

Press to continue ...

******************************************************************************************************
Installation Directory - Step 3 of 7
******************************************************************************************************
[ Type 'back' to go to the previous panel or 'quit' to cancel the installation at any time. ]

Enter the installation directory (default :- /software/informatica/Informatica/9.5.1) :/App/Informatica9.5.1

Warning !!! Shut down the Informatica domain before you apply or roll back the HotFix.

Select a Choice
    * 1->OK
:1

******************************************************************************************************
Pre-Installation Summary - Step 4 of 7
******************************************************************************************************
[ Type 'back' to go to the previous panel or 'quit' to cancel the installation at any time. ]

Product Name     :      Informatica 9.5.1 HotFix 4

Installation Type        :      Rollback HotFix

Installation Directory   :      /App/Informatica9.5.1

Disk Space Requirements

Required Disk Space      :      50 MB

Available Disk Space     :      38,034 MB

Press to continue ...

******************************************************************************************************
Post-Installation Summary - Step 6 of 7
******************************************************************************************************
Installation Status Success

The Informatica 9.5.1 HotFix 4 HotFix 4 installation is complete.

For more information, see the debug log file:
/App/Informatica9.5.1/Informatica_HotFix_Rollback_9.5.1.log

Product Name
Informatica 9.5.1 HotFix 4
Installation Type
Rollback HotFix

Press to continue ...
  • Make sure to execute the .profile file & restart the services.

No comments:

Post a Comment

Featured Post

Cloud : A Trendsetter Technology