WebSphere Application Server & Liberty

 View Only
Expand all | Collapse all

Adding the same host multiple times

  • 1.  Adding the same host multiple times

    Posted Fri June 24, 2022 09:58 AM
    Hi,

    I noticed that the new version does not allow for you to add 1 host multiple times.

    This poses a problem as we have 2 version of WAS installed on the same hosts.

    How do we add this to

    WebSphere Performance Tuning Toolkit?



    ------------------------------
    Emile Kearns
    ------------------------------


  • 2.  RE: Adding the same host multiple times

    Posted Mon June 27, 2022 04:33 AM
    I know it is not a good solution, but I duplicate the WPT in my machine, and open it two times, even because if you want to monitor both servers at the same time, and they do not belong to the same cell, it is the only way. One WPT can only monitor one cell (connected to the DMGR) or one standalone.

    ------------------------------
    JOAO PEDRO ALEXANDRE
    ------------------------------



  • 3.  RE: Adding the same host multiple times

    Posted Mon June 27, 2022 05:27 AM

    Hi JOAO PEDRO ALEXANDRE,

     

    I thought of that, however the previous versions allowed for this feature, but thanks anyway.

     

    Kind Regards

    Emile Kearns

    WebHosting Java

    Microsoft Certified: Azure Fundamentals

    Global Technology Services (GTS), Infrastructure Services
    AEGONplein 50, NL-2591TV The Hague, The Netherlands

    Global Technology Services

     






  • 4.  RE: Adding the same host multiple times

    IBM Champion
    Posted Tue June 28, 2022 03:11 AM
    Hello @Emile Kearns,
    well, as far as I know the WebSphere Performance Tuning Toolkit has been withdrawn for a while now. But I'm wondering if you've considered using the Prometheus PMI exporter which is part of WAS now? This allows you to use a supported and modern way to deal with PMI data. The provided metrics app exports the data to Prometheus and you can use Grafana as a front-end to look at the data (a Grafana dashboard is provided as well!). I'd suggest to use this approach now.


    ------------------------------
    Hermann Huebler
    2innovate IT Consulting GmbH
    Vienna
    Austria

    #IBMChampion
    ------------------------------



  • 5.  RE: Adding the same host multiple times

    Posted Tue June 28, 2022 05:16 AM

    Hi @Hermann Huebler

     

    No, I was not aware of Prometheus PMI exporter.

     

    Do you have any more information you are able to share?

     

    I believe you use Grafana as a frontend?

     

    Kind Regards

    Emile Kearns

    WebHosting Java

    Microsoft Certified: Azure Fundamentals

    Global Technology Services (GTS), Infrastructure Services
    AEGONplein 50, NL-2591TV The Hague, The Netherlands

    Global Technology Services

     






  • 6.  RE: Adding the same host multiple times

    IBM Champion
    Posted Tue June 28, 2022 06:29 AM
    Edited by Hermann Huebler Tue June 28, 2022 08:02 AM
    Hello @Emile Kearns,
    well - I'd definitely suggest to go into this direction. What you need however is a running Prometheus & Grafana infrastructure which can scrap the PMI data and display the data. For Grafana a Dashboard template (https://grafana.com/grafana/dashboards/14151) is provided as well. For a first test you can use the following Docker based setup: https://github.com/stefanprodan/dockprom to het a first impression (unless you have a ready to use Promethus / Grafana environment of course :) ). Otherwise it's quite simple to be honest. The metrics.ear is part of tWAS (8.5.5.16+ & 9.0.5.7). See also PH35521 ( https://www.ibm.com/support/pages/apar/PH35521 ) for some more information. The metrics.ear can be found in <WAS-Home>/installableApps of your WAS installation.

    Hope that helps.

    Have a good day and hope that works for you well, Hermann

    ------------------------------
    Hermann Huebler
    2innovate IT Consulting GmbH
    Vienna
    Austria

    #IBMChampion
    ------------------------------



  • 7.  RE: Adding the same host multiple times

    Posted Tue June 28, 2022 07:32 AM

    Brilliant Thanks

     

    Kind Regards

    Emile Kearns

    WebHosting Java

    Microsoft Certified: Azure Fundamentals

    Global Technology Services (GTS), Infrastructure Services
    AEGONplein 50, NL-2591TV The Hague, The Netherlands

    Global Technology Services

     






  • 8.  RE: Adding the same host multiple times

    Posted Tue June 28, 2022 05:39 AM
    Which version are you trying to install?  I have several versions of 855 and 905 install on the same machine in different directories.

    The WebSphere Performance Tuning Toolkit is an Eclipse based tool and does not install on tWAS. https://www.ibm.com/support/pages/websphere-application-server-performance-tuning-toolkit

    Brian

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



  • 9.  RE: Adding the same host multiple times

    Posted Tue June 28, 2022 06:00 AM

    Hi Brian,

     

    I am using the stand alone latest version V1.0.20200728

    Emile Kearns

    WebHosting Java

    Microsoft Certified: Azure Fundamentals

    Global Technology Services (GTS), Infrastructure Services
    AEGONplein 50, NL-2591TV The Hague, The Netherlands

    Global Technology Services

     






  • 10.  RE: Adding the same host multiple times

    Posted Tue June 28, 2022 06:18 AM
    Ok, you are referring to PTT.  

    You can either use the Hostname on 1 and the IP on another to connect.  You can have 2 instances of PTT running, specifying the location of the file ex: ./ptt

    -data /path/to/workspace or add a host entry on your system (/etc/hosts) and have an extra entry for that host with a different name.

    Brian



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



  • 11.  RE: Adding the same host multiple times

    Posted Tue June 28, 2022 07:31 AM

    Hi Brian,

     

    I tried the /etc/hosts trick, but the client certificate has a particular host name in it, therefor that did not work.

     

    Running multiple PTT works and that I tried already

     

    Kind Regards

    Emile Kearns

    WebHosting Java

    Microsoft Certified: Azure Fundamentals

    Global Technology Services (GTS), Infrastructure Services
    AEGONplein 50, NL-2591TV The Hague, The Netherlands

    Global Technology Services

     






  • 12.  RE: Adding the same host multiple times

    Posted Tue July 05, 2022 12:48 PM
    Hi Emile,

    PTT has been updated to Java 11 and Eclipse 2022-06, and there is a new feature allowing connecting to the same host on different ports: https://www.ibm.com/support/pages/websphere-application-server-performance-tuning-toolkit

    ------------------------------
    Kevin Grigorenko
    App Platform SWAT
    IBM
    ------------------------------



  • 13.  RE: Adding the same host multiple times

    Posted Tue July 05, 2022 02:50 PM
    Thanks very much @Kevin Grigorenko. As always, you are a great contributor so that we can execute a better job. ​

    ------------------------------
    JOAO PEDRO ALEXANDRE
    ------------------------------



  • 14.  RE: Adding the same host multiple times

    Posted Tue July 05, 2022 03:54 PM
    I was trying this new version, but the 'New host' window do not have an OK button


    ------------------------------
    JOAO PEDRO ALEXANDRE
    ------------------------------



  • 15.  RE: Adding the same host multiple times

    Posted Tue July 05, 2022 04:04 PM
    Hi Joao,

    Thanks for testing. I can't reproduce that. What operating system and version are you on? Here is what I see:



    ------------------------------
    Kevin Grigorenko
    App Platform SWAT
    IBM
    ------------------------------



  • 16.  RE: Adding the same host multiple times

    Posted Wed July 06, 2022 06:15 AM
    I am using Windows 10 and java version "11.0.14" 2022-01-18 LTS
    Java(TM) SE Runtime Environment 18.9 (build 11.0.14+8-LTS-263)
    Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.14+8-LTS-263, mixed mode)

    Do you think it can be related with the java version?

    ------------------------------
    JOAO PEDRO ALEXANDRE
    ------------------------------



  • 17.  RE: Adding the same host multiple times

    Posted Wed July 06, 2022 01:03 PM

     

    Hello,

    Kevin, I found out that if I change the Display settings to 100% (despite it is said there that the recommended is 150%), the button appears.

    Cumprimentos, Best Regards 

     

    João Pedro Alexandre

    GTS, Delivery & Integrated Operations

    Mobile : +351 915602012

    Mail: joaopedro1@kyndryl.com 

     

    KNDRL SERVICES PORTUGAL, S.A. 

     

    Sociedade Anónima com o Capital Social de €11.000.000 

    Registada na Conservatória do Registo Comercial de Lisboa, sob o número único fiscal e de matrícula 516360558 

    Edifício "Office Oriente" – Rua do Mar da China, Nº3, Parque das Nações, 1990-138 Lisboa 

     

     

    Unless stated otherwise above:
    KNDRL SERVICES PORTUGAL, S.A.
    Sociedade Anónima com o Capital Social de € 11.000.000
    Registada na Conservatória do Registo Comercial de Lisboa, sob o número único fiscal e de matrícula  516360558
    Edifício "Office Oriente" - Rua do Mar da China, Nº 3, Parque das Nações, 1990-138 LISBOA





  • 18.  RE: Adding the same host multiple times

    Posted Wed July 06, 2022 02:59 PM
    Hi João,

    Thanks for finding that. Yes, I can reproduce by increasing scale. I will upload a new version soon which defaults to a larger height of the dialog, and allow resizing the modal popup.


    ------------------------------
    Kevin Grigorenko
    App Platform SWAT
    IBM
    ------------------------------