WebSphere Application Server & Liberty

 View Only
  • 1.  Installation Manager does not read repositories on reinstallation

    Posted 27 days ago

    Hi,

    I am given an AIX machine which is running IBM WebSphere Application Server 8.5.5.10 where I am supposed to install a fixpack22. Strangely, there were no installation manager on the machine, or it might have been uninstalled. Hence, I installed the IBM Installation Manager 1.6, connected the repository   but when I try to install FP22 it does not find any components in the repository.  Although when run ./imcl listAvailable , it shows all the components.

    Installation Manager also does not recognize the current IBM WAS8.5.5.10 installation as well. Appreciate any guidelines.

    Regards,

    #IBMWebSphere

    #installation



    ------------------------------
    Muhammad Faisal Syed
    ------------------------------


  • 2.  RE: Installation Manager does not read repositories on reinstallation

    Posted 26 days ago

    Hi, You should be using the latest IM, which is 1.9.3 at this time.  If there is no data of WAS being installed it may cause issues.  What command are you running to install and do you see the a Shared Resources Directory on the system.  IIM needs to run as the user that originally installed the software to avoid conflicts.

    Brian



    ------------------------------
    Brian S Paskin
    Sr. Technology Engineer
    IBM Cloud Engineering
    ------------------------------



  • 3.  RE: Installation Manager does not read repositories on reinstallation

    Posted 24 days ago
    Edited by Muhammad Faisal Syed 19 days ago

    Thanks @Brian S Paskin,

    When I couldn't find any installed IM on AIX, I installed 1.6. then I ran the following:

    Now I will uninstall 1.6 and then install 1.9.3

    On <WebSphere_HOME> a shared resource folder is available.

    WehSphere Application server is runing fine.

    ************************************

    Getting the following error:

    “./imcl import -installationDirectory /ibm/WebSphere/AppServer -sharedResourcesDirectory /ibm/IBMShared”

    ERROR: The /ibm/WebSphere/AppServer directory cannot be imported. The import function is not supported for this version of the package.

    ./imcl import -installationDirectory /ibm/WebSphere/AppServer  -repositories /was_import_repository/repository.config



    ------------------------------
    Muhammad Faisal Syed
    ------------------------------



  • 4.  RE: Installation Manager does not read repositories on reinstallation

    Posted 25 days ago

    ./imcl listAvailable
    shows only what is available (in connected repository) 

    ./imcl  listInstalledPackages
    shows what is actually installed (according to IM registry) 

    Installation Manager is part of WebSphere installation so it should be in the backup.
    See: https://www.ibm.com/docs/en/installation-manager/1.9.2?topic=manager-backing-up-restoring-installation

    Data used by IM are in 4 different folders 
    1. Agent data location
    Default path: /var/ibm/InstallationManager
    2. Shared resources 
    Default: /opt/IBM/IBMIMShared
    3.Installation Manager registry file
    Default:  /etc/.ibm/registry/InstallationManger.dat
    4. Installation manager itself 
    Default:  /opt/IBM/InstallationManager    

    Installed products registry is in Agent Data location.
    However, these directories are different for non-admin / group  installation  and you can also provide custom location for them.
    See: https://www.ibm.com/docs/en/installation-manager/1.9.2?topic=mode-agent-data-location

    So now there are 2 possible scenarios: 
    1. You have luck and you installed new IM using different user or different paths 
    than original installation and your agent data are still somewhere on disk 

    2. With new IM installation you overwritten data from previous installation 
    and these data are gone  or were removed earlier by somebody else. 

    If this is case nr 2 - then I don't have any proven solution beside restoring from backup. 

    You can try to import installation using 
    ./imcl import  -installationDirectory ...  -repositories ...

    https://www.ibm.com/docs/en/installation-manager/1.9.2?topic=wfcl-import-installed-packages-in-installation-manager-by-using-imcl-command

    But as you see in the  documentation this command was implemented to:
    "add existing packages that were installed with installation tools other than Installation Manager"

    I was using it long time ago to import instances installed by WebSphere Installer (WAS7) 
    However, never imported anything installed by IM itself - so to be honest I am not sure if this is an option for you.



    ------------------------------
    Sebastian Tylko
    ------------------------------



  • 5.  RE: Installation Manager does not read repositories on reinstallation

    Posted 25 days ago

    Installation manager 1.9.3 Info:  https://www.ibm.com/support/pages/node/7168723



    ------------------------------
    asim saddal
    chicago
    7736930039
    ------------------------------