WebSphere Application Server & Liberty

 View Only
Expand all | Collapse all

WebSphere Application Server Configuration Comparison Tool

John Hirst

John HirstThu March 05, 2020 01:48 PM

  • 1.  WebSphere Application Server Configuration Comparison Tool

    Posted Fri September 13, 2019 12:51 PM
    Thank you to those who were able to attend the WebSphere Application Server Comparison Tool webcast. You can watch the replay here.  Happy to answer any questions you have below!

    ------------------------------
    Kaila Timmons
    User Group Manager
    ktimmons@HigherLogic.com
    ------------------------------


  • 2.  RE: WebSphere Application Server Configuration Comparison Tool

    Posted Tue September 24, 2019 05:26 PM
    Hi All,
       This discussion forum is the support route for the WebSphere Application Server Configuration Comparison Tool.  Please post questions and issues here.  I will address them as quickly as I can.

    Regards,
    Dennis Riddlemoser

    ------------------------------
    Dennis Riddlemoser
    ------------------------------



  • 3.  RE: WebSphere Application Server Configuration Comparison Tool

    Posted Wed October 16, 2019 12:07 PM
    Hi Dennis,

        Greetings of the day! I was trying to explore some of the features in WebSphere configuration comparison tool where we have a below requirement:
       Wanted to generate comparison report of two clusters (one cluster from QA and other from production). I did tweak ConfigReport.properties file and did modify the below lines to check if the clusters comparison report is getting generated. Unfortunately, I am not able to get the expected result. Could you please help me in this regard? thanks in advance!

    ConfigReport.properties file snippet
    ------------------------------------
    Clusters:ReportType=Server
    Clusters:Title=Two Clusters
    Clusters:Clusters:1=.*::PROD_CLUSTER
    Clusters:Clusters:2=.*::QA_CLUSTER
    Clusters:Servers:1=
    Clusters:ReportList=All
    Clusters:FileName=AllServers

    -------------------------------------------

    ------------------------------
    Pavan A
    ------------------------------



  • 4.  RE: WebSphere Application Server Configuration Comparison Tool

    Posted Wed October 16, 2019 02:05 PM
    Hi Pravan,
       I suspect the issue is with the Clusters:FileName property.  Presuming you still have the sample report AllServers defined and you have ReportList=All, I suspect the Cluster report is running then the AllServers is running and the latter output is overwriting the former.  The time stamps for reports will be the same for a given ConfigReport.py run so the all *:FileName properties have to be unique to avoid this issue.  I will look at creating a new file name to avoid name collisions so this does not happen in the future.  If I am correct, you are not the first person to hit this issue. 

    Clusters:ReportType=Server
    Clusters:Title=Two Clusters
    Clusters:Clusters:1=.*::PROD_CLUSTER
    Clusters:Clusters:2=.*::QA_CLUSTER
    Clusters:Servers:1=
    Clusters:ReportList=All
    Clusters:FileName=AllServers


    ------------------------------
    Dennis Riddlemoser
    ------------------------------



  • 5.  RE: WebSphere Application Server Configuration Comparison Tool

    Posted Thu October 17, 2019 05:47 AM
    Thanks Dennis for your quick response! I was able to generate the reports for two clusters with the below entries in ConfigReport.properties file and able to get the below reports.
    -----------------------------
    ConfigReport.properties
    -----------------------------
    Clusters:ReportType=Cluster
    Clusters:Title=IPE Clusters
    Clusters:Clusters:1=.*::PROD_CLUSTER
    Clusters:Clusters:2=.*::QA_CLUSTER
    Clusters:Servers:1=
    Clusters:ReportList=All
    Clusters:FileName=Two_Clusters_Report

    --------------------
    Reports:
    Applications_191017052121.html
    ResourcesNotMatched_191017052121.html
    Cluster-PROD_CLUSTER_191017052121.html
    Cluster-QA_CLUSTER_191017052121.html
    EJBTimerDataSource_191017052121.html
    Summary_191017052121.html
    NodeAgent_191017052121.html
    TrustAssociation_191017052121.html
    Resources_191017052121.html


    I was more interested to know on how to generate a report that contains one of the html file which depicts the config comparison of two clusters on different regions (one from QA and other from production). Could you please help me in this regard. Thanks in advance!

    ------------------------------
    Pavan A
    ------------------------------



  • 6.  RE: WebSphere Application Server Configuration Comparison Tool

    Posted Thu October 17, 2019 09:11 AM
    Hi Pavan,
       A ReportType of "Cluster" does not exist although maybe it should since there are a few cluster level configuration items.  The Clusters:Clusters:* properties are selection criteria which servers to compare.  It should be Clusters:ReportType=Server but I it looks like you changed that from that as it was not working.  I spotted the errors based on report files you sent.  The Cluster-* report files are named after the actual cluster names found.  Those have "-" in them.  Your properties below have "_" in them.  This will cause the regular expression matching to fail and no servers to be found for the report.


    #Clusters:ReportType=Cluster
    Clusters:ReportType=Server

    Clusters:Title=IPE Clusters
    #Clusters:Clusters:1=.*::PROD_CLUSTER
    #Clusters:Clusters:2=.*::QA_CLUSTER
    Clusters:Clusters:1=.*::PROD-CLUSTER
    Clusters:Clusters:2=.*::QA-CLUSTER
    Clusters:Servers:1=
    Clusters:ReportList=All
    Clusters:FileName=Two_Clusters_Report
    ​​​​

    ------------------------------
    Dennis Riddlemoser
    ------------------------------



  • 7.  RE: WebSphere Application Server Configuration Comparison Tool

    Posted Thu October 17, 2019 09:14 AM
    I misread the file named.  I am not sure what is going on.  What is the failure you are seeing?  Please post the output from ConfigRepoert.py for the "Clusters" report.  There is a message indicating begin and end processing for each report.

    ------------------------------
    Dennis Riddlemoser
    ------------------------------



  • 8.  RE: WebSphere Application Server Configuration Comparison Tool

    Posted Tue October 22, 2019 11:44 AM
    Hi Dennis,
        Below are the required details.

    ------------------------------
    ConfigReport.properties
    ------------------------------
    ReportList=Clusters

    Clusters:ReportType=Server
    Clusters:Title=IPE_Clusters_Report
    Clusters:Clusters:1=RTP_PRD::IPEPROD_CLUSTER
    Clusters:Clusters:2=RTP_QA::IPEQA_CLUSTER
    Clusters:Servers:1=
    Clusters:ReportList=All
    Clusters:FileName=IPE_Clusters_Report


    where, 
    RTP_PRD --> Cell name of region1
    RTP_QA --> Cell name of region2
    IPEPROD_CLUSTER --> Cluster name of region1
    IPEQA_CLUSTER --> Cluster name of region2

    -------------------------------------------------------------

    List of files generated after running the below command:
    /usr/bin/python2.7 ConfigReport.py ConfigReport.properties

    Cluster-IPEPROD_CLUSTER_191022112957.html
    Cluster-PSHPROD_CLUSTER_191022112957.html
    Cluster-IPEQA_CLUSTER_191022112957.html
    Cluster-PSHQA_CLUSTER_191022112957.html

    ------------------------------------------------------------

    Output of the script pasted below:

    [19/10/22 11:29:57] Begin run.
    [19/10/22 11:29:57] Reading properties from ConfigReport.properties
    [19/10/22 11:29:57] Reading properties from ConfigReportAttributes.properties
    [19/10/22 11:29:57] Reading repository config from RTP_PRD-19-10-10-11-40-15.cfg
    [19/10/22 11:29:57] Reading repository config from RTP_QA-19-10-10-11-29-09.cfg
    [19/10/22 11:29:57] ===== Begin Report. Name: Clusters =====
    [19/10/22 11:29:57] Clusters found for server cluster report:
    [19/10/22 11:29:57] Name: IPEQA_CLUSTER
    [19/10/22 11:29:57] Name: IPEPROD_CLUSTER
    [19/10/22 11:29:57] Name: PSHQA_CLUSTER
    [19/10/22 11:29:57] Name: PSHPROD_CLUSTER
    [19/10/22 11:29:57] Running server report IPEQA_CLUSTER
    [19/10/22 11:29:57] Server list:
    [19/10/22 11:29:57] RTP_IPE_AppServer_01 Cell: RTP_QA-191010112909 Node: RTP_QA-Node1
    [19/10/22 11:29:57] RTP_IPE_AppServer_02 Cell: RTP_QA-191010112909 Node: RTP_QA-Node2
    [19/10/22 11:29:58] Running JVM
    [19/10/22 11:29:58] Running Process Definition
    [19/10/22 11:29:58] Running Process Execution
    [19/10/22 11:29:58] Running Process Monitoring Policy
    [19/10/22 11:29:58] Running Web Container
    [19/10/22 11:29:58] Running HTTP Plugin
    [19/10/22 11:29:58] Running Application Server
    [19/10/22 11:29:58] Running Session Management
    [19/10/22 11:30:00] Running SIP Container
    [19/10/22 11:30:00] Running SIP Stack
    [19/10/22 11:30:00] Running SIP Timer
    [19/10/22 11:30:00] Running Portlet Container
    [19/10/22 11:30:00] Running Dynamic Cache
    [19/10/22 11:30:00] Running EJB Container
    [19/10/22 11:30:02] Running Transaction Service
    [19/10/22 11:30:02] Running ORB
    [19/10/22 11:30:02] Running PMI
    [19/10/22 11:30:04] Running Trace Service
    [19/10/22 11:30:04] Running HTTP Access Log Service
    [19/10/22 11:30:04] Running Thread Pool Manager
    [19/10/22 11:30:04] Running WebSphere Variable Substitutions
    [19/10/22 11:30:04] Running Tranport Channels
    [19/10/22 11:30:05] Created report output_two_cluster5/Cluster-IPEQA_CLUSTER_191022112957.html
    [19/10/22 11:30:05] Running server report IPEPROD_CLUSTER
    [19/10/22 11:30:05] Server list:
    [19/10/22 11:30:05] RTP_IPE_AppServer_01 Cell: RTP_PRD-191010114015 Node: RTP_PROD_Node1
    [19/10/22 11:30:05] RTP_IPE_AppServer_02 Cell: RTP_PRD-191010114015 Node: RTP_PROD_Node2
    [19/10/22 11:30:05] Running JVM
    [19/10/22 11:30:05] Running Process Definition
    [19/10/22 11:30:05] Running Process Execution
    [19/10/22 11:30:05] Running Process Monitoring Policy
    [19/10/22 11:30:05] Running Web Container
    [19/10/22 11:30:05] Running HTTP Plugin
    [19/10/22 11:30:05] Running Application Server
    [19/10/22 11:30:05] Running Session Management
    [19/10/22 11:30:07] Running SIP Container
    [19/10/22 11:30:07] Running SIP Stack
    [19/10/22 11:30:07] Running SIP Timer
    [19/10/22 11:30:07] Running Portlet Container
    [19/10/22 11:30:07] Running Dynamic Cache
    [19/10/22 11:30:07] Running EJB Container
    [19/10/22 11:30:09] Running Transaction Service
    [19/10/22 11:30:09] Running ORB
    [19/10/22 11:30:09] Running PMI
    [19/10/22 11:30:11] Running Trace Service
    [19/10/22 11:30:11] Running HTTP Access Log Service
    [19/10/22 11:30:11] Running Thread Pool Manager
    [19/10/22 11:30:11] Running WebSphere Variable Substitutions
    [19/10/22 11:30:11] Running Tranport Channels
    [19/10/22 11:30:12] Created report output_two_cluster5/Cluster-IPEPROD_CLUSTER_191022112957.html
    [19/10/22 11:30:12] Running server report PSHQA_CLUSTER
    [19/10/22 11:30:12] Server list:
    [19/10/22 11:30:12] RTP_PSH_AppServer_01 Cell: RTP_QA-191010112909 Node: RTP_QA-Node1
    [19/10/22 11:30:12] RTP_PSH_AppServer_02 Cell: RTP_QA-191010112909 Node: RTP_QA-Node2
    [19/10/22 11:30:12] Running JVM
    [19/10/22 11:30:12] Running Process Definition
    [19/10/22 11:30:12] Running Process Execution
    [19/10/22 11:30:12] Running Process Monitoring Policy
    [19/10/22 11:30:12] Running Web Container
    [19/10/22 11:30:12] Running HTTP Plugin
    [19/10/22 11:30:12] Running Application Server
    [19/10/22 11:30:12] Running Session Management
    [19/10/22 11:30:14] Running SIP Container
    [19/10/22 11:30:14] Running SIP Stack
    [19/10/22 11:30:14] Running SIP Timer
    [19/10/22 11:30:14] Running Portlet Container
    [19/10/22 11:30:14] Running Dynamic Cache
    [19/10/22 11:30:14] Running EJB Container
    [19/10/22 11:30:16] Running Transaction Service
    [19/10/22 11:30:16] Running ORB
    [19/10/22 11:30:16] Running PMI
    [19/10/22 11:30:18] Running Trace Service
    [19/10/22 11:30:18] Running HTTP Access Log Service
    [19/10/22 11:30:18] Running Thread Pool Manager
    [19/10/22 11:30:18] Running WebSphere Variable Substitutions
    [19/10/22 11:30:18] Running Tranport Channels
    [19/10/22 11:30:19] Created report output_two_cluster5/Cluster-PSHQA_CLUSTER_191022112957.html
    [19/10/22 11:30:19] Running server report PSHPROD_CLUSTER
    [19/10/22 11:30:19] Server list:
    [19/10/22 11:30:19] RTP_PSH_AppServer_01 Cell: RTP_PRD-191010114015 Node: RTP_PROD_Node1
    [19/10/22 11:30:19] RTP_PSH_AppServer_02 Cell: RTP_PRD-191010114015 Node: RTP_PROD_Node2
    [19/10/22 11:30:19] Running JVM
    [19/10/22 11:30:19] Running Process Definition
    [19/10/22 11:30:19] Running Process Execution
    [19/10/22 11:30:19] Running Process Monitoring Policy
    [19/10/22 11:30:19] Running Web Container
    [19/10/22 11:30:19] Running HTTP Plugin
    [19/10/22 11:30:19] Running Application Server
    [19/10/22 11:30:19] Running Session Management
    [19/10/22 11:30:21] Running SIP Container
    [19/10/22 11:30:21] Running SIP Stack
    [19/10/22 11:30:21] Running SIP Timer
    [19/10/22 11:30:21] Running Portlet Container
    [19/10/22 11:30:21] Running Dynamic Cache
    [19/10/22 11:30:21] Running EJB Container
    [19/10/22 11:30:23] Running Transaction Service
    [19/10/22 11:30:23] Running ORB
    [19/10/22 11:30:23] Running PMI
    [19/10/22 11:30:25] Running Trace Service
    [19/10/22 11:30:25] Running HTTP Access Log Service
    [19/10/22 11:30:25] Running Thread Pool Manager
    [19/10/22 11:30:25] Running WebSphere Variable Substitutions
    [19/10/22 11:30:25] Running Tranport Channels
    [19/10/22 11:30:26] Created report output_two_cluster5/Cluster-PSHPROD_CLUSTER_191022112957.html
    [19/10/22 11:30:26] ===== End Report. Name: Clusters =====
    [19/10/22 11:30:26] End run.

    --------------------------------------------------

    Please let me know is there any option to modify regex expression in ConfigReport.properties so that it will generate a single html (report) file that contains the information about two different clusters of two different regions? in our case, i am interested to generate a single html file that shows the differences between IPEPROD_CLUSTER and IPEQA_CLUSTER clusters? Please help to address this scenario. Thanks in advance!

    ------------------------------
    Pavan A
    ------------------------------



  • 9.  RE: WebSphere Application Server Configuration Comparison Tool

    Posted Tue October 22, 2019 11:59 PM
    Hi Pavan,
       Apologies, I should have thought of this before but your report definition was whjat made me see what this issue is.  Cell regular expressions must be handled differently.  This is due to the "Cell Suffix" the tool appends to the end of each cell name to keep the name space unique when comparing two cells with the same name.  Put a ".*" on the end of each of your cell names or put a -CellSuffix (where CellSuffix can be found at the top of your .cfg files) and the regular expression matching should work.  This is documented on the regular expression page of the WCCT PDF.

    Regards,
    Dennis

    ------------------------------
    Dennis Riddlemoser
    ------------------------------



  • 10.  RE: WebSphere Application Server Configuration Comparison Tool

    Posted Wed October 23, 2019 01:19 AM

    Has someone already suggested the Visual Configuration Explorer?
    https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/W35147b2d866b_4533_8f18_ab89d6e8c32b/page/VCE%20QUICK%20START

    Then perhaps something like Beyond Compare?

    Peter.






  • 11.  RE: WebSphere Application Server Configuration Comparison Tool

    Posted Wed October 23, 2019 08:41 AM
    Hi Peter,
       Visual Configuration Explorer reports on a far more limited set of configuration elements than WebSphere Configuration Comparison Tool..  VCE is also no longer being enhanced where WCCT is.  Beyond Compare is an excellent tool but it would be very cumbersome to use it to compare WebSphere Traditional Profile configurations for many reasons.  Please check out WCCT at the link below.

    https://www.ibm.com/support/pages/websphere-application-server-configuration-comparison-tool

    ------------------------------
    Dennis Riddlemoser
    ------------------------------



  • 12.  RE: WebSphere Application Server Configuration Comparison Tool

    Posted Wed October 23, 2019 08:45 AM
    Hi Pavan,
       I saw another issue with your report definition.  Your report name, "Clusters", conflicts is the same as a built-in report.  This will cause a conflict and I believe the end result is your report won't even run.  I will enhance the tool to check for this condition and report it.  In the mean time, please change the report name to be something that is not the same as any of the built-in reports.

    Regards,
    Dennis

    ------------------------------
    Dennis Riddlemoser
    ------------------------------



  • 13.  RE: WebSphere Application Server Configuration Comparison Tool

    Posted Mon December 16, 2019 08:21 AM
    ​Hi Dennkis.
    Exploring the capabilities of the product, is it possible to build a server from the configuration dump ? please clarify if it can be achieved.

    thanks,
    Jalesh.

    ------------------------------
    Jalesh Kumar Vivekaanandan
    ------------------------------



  • 14.  RE: WebSphere Application Server Configuration Comparison Tool

    Posted Mon December 16, 2019 09:21 AM
    Hi Jalesh,
       No but WCCT could assist in the process depending on your scenario. 
       In a version to version migration.  WCCT could be used to identify configuration items in the new server that are not present in the original one.  WCCT will build sample wsadmin scripts to actually make most changes in this scenario.  When building a server from scratch with no existing server as a baseline, WCCT could help you in tracking the changes made.  Simply create a WCCT upon the servers creation then additional dumps after configuration changes are made to see if all expected changes were done. 
       If creating a server using an existing server as a baseline within a cell, look at "Application servers > Server Templates" in your admin console as that is probably your best route. 

    Regards,
    Dennis

    ------------------------------
    Dennis Riddlemoser
    ------------------------------



  • 15.  RE: WebSphere Application Server Configuration Comparison Tool

    Posted Mon January 06, 2020 04:54 AM
    Hi Dennis,
      I have the below query: Could you please help me to answer this? 

    Would like to compare the Configuration dumps between Websphere Application Server ND and Websphere Liberty. Is this possible with WCCT? If yes, please assist me how to do this.

    Thanks in advance!

    ------------------------------
    Pavan A
    ------------------------------



  • 16.  RE: WebSphere Application Server Configuration Comparison Tool

    Posted Mon January 06, 2020 09:38 AM

    Hi Praven,
       I currently do not have anything implemented that will work with Liberty except a generic file system comparison utility.  Due to the different management models of Liberty and Traditional, it is unlikely I will ever have a facility to compare Liberty and Traditional profiles.  A Liberty to Traditional comparison would require extensive mapping from one to the other on each feature which is a larger effort than I could undertake and keep current.  I do plan on having a means of comparing one Liberty server to another at some point, however. 
       One of the primary use cases for this would be to migrate from Traditional to Liberty.  If this is your scenario, there is tooling to assist in this.

    https://developer.ibm.com/wasdev/docs/move-applications-liberty-using-migration-toolkit/

    Move applications to Liberty using the Migration Toolkit
    Ibm remove preview
    Move applications to Liberty using the Migration Toolkit
    A brief overview of three migration tools that can help you move applications to Liberty from traditional WebSphere Application Server.
    View this on Ibm >


    Migration

    Ibm remove preview
    Migration
    The home of Liberty migration resources, which provides ...
    View this on Ibm >





    ------------------------------
    Regards,
    Dennis Riddlemoser
    ------------------------------



  • 17.  RE: WebSphere Application Server Configuration Comparison Tool

    Posted Mon February 17, 2020 03:41 PM
    Hello All, CCT is now on GitHub!

    Download latest release (cct-YYYYMMDD.tar.gz) from: https://github.com/IBM/websphere-cct/releases

    Report issues or request features at: https://github.com/IBM/websphere-cct/issues

    ------------------------------
    Dennis Riddlemoser
    ------------------------------



  • 18.  RE: WebSphere Application Server Configuration Comparison Tool

    Posted Thu January 23, 2020 03:48 PM

    Hi Dennis,

    Good day to you...I've been using CCT for quite sometime and found it extremely useful to keep configuration among environment in sync
    recently I dumped the configuration of WebSphere cell in Solaris environment and ran into issues while trying to generate comparison report among two clusters 



    Can you please help here to address this error? Please let me know if you need the configuration dump ..

    --copied below is the command with parameters and the corresponding error

    $/usr/bin/python ./ConfigReport.py ConfigurationDumpFiles=*.cfg Clusters:ReportType=Server Clusters:Title=cat_pega_clusters Clusters:Clusters:1=.*::cat_pega2 Clusters:Clusters:2=.*::cat_pega3 Clusters:Servers:1= Clusters:ReportList=All Clusters:FileName=Two_Clusters_Report
    [20/01/23 14:12:17] Begin run.
    [20/01/23 14:12:17] Setting property ConfigurationDumpFiles to *.cfg
    [20/01/23 14:12:17] Setting property Clusters:ReportType to Server
    [20/01/23 14:12:17] Setting property Clusters:Title to cat_pega_clusters
    [20/01/23 14:12:17] Setting property Clusters:Clusters:1 to .*::cat_pega2
    [20/01/23 14:12:17] Setting property Clusters:Clusters:2 to .*::cat_pega3
    [20/01/23 14:12:17] Setting property Clusters:Servers:1 to
    [20/01/23 14:12:17] Setting property Clusters:ReportList to All
    [20/01/23 14:12:17] Setting property Clusters:FileName to Two_Clusters_Report
    [20/01/23 14:12:17] Reading properties from ./ConfigReportAttributes.properties
    [20/01/23 14:12:17] Reading repository config from uwgp1_qa_cell-19-12-14-21-39-50.cfg
    [20/01/23 14:12:25] Reading repository config from uwgp1_dev_cell-19-12-14-22-53-55.cfg
    Traceback (most recent call last):
    File "./ConfigReport.py", line 1589, in <module>
    reportProp = cu.PropertiesDict['ReportList'].strip()
    KeyError: 'ReportList'


    Thanks

    Prasanna G



    ------------------------------
    PRASANNA GANAPATHY
    ------------------------------



  • 19.  RE: WebSphere Application Server Configuration Comparison Tool

    Posted Thu January 23, 2020 05:40 PM
    Edited by Dennis Riddlemoser Thu January 23, 2020 05:42 PM
    Hi Prasanna,

    There are two issues. The first I don't remember if I documented or not but your report name "Clusters" conflicts with a built in report name and will not work as the built in report will take precedence. In my next release, ConfigDump.py will exit with an error indicating when this has occurred.

    The second is the property ReportList must be defined at the custom report level and the global level. They each have different function. I have corrected syntax below.

    ./ConfigReport.py ConfigurationDumpFiles=*.cfg MyClusters:ReportType=Server MyClusters:Title=cat_pega_MyClusters MyClusters:Clusters:1=.*::cat_pega2 MyClusters:Clusters:2=.*::cat_pega3 MyClusters:Servers:1= MyClusters:ReportList=All MyClusters:FileName=Two_MyClusters_Report ReportList=MyClusters

    Regards,
    Dennis

    ------------------------------
    Dennis Riddlemoser
    ------------------------------



  • 20.  RE: WebSphere Application Server Configuration Comparison Tool

    Posted Fri January 24, 2020 09:58 AM
    Thank you Dennis,

    I was able to generate report with modified Syntax...

    one more query..I'm using the below syntax to generate report comparing resources at cluster level

    is there a way I can restrict the scope to few clusters..based on cluster name?

    /usr/bin/python ./ConfigReport.py ConfigurationDumpFiles=*.cfg ReportList=Resources ds:ReportType=DataSource ds:Title=cluster_data_sources ds:Scope:1=Cluster ds:Resources:1=.* ds.FileName=ds

    ------------------------------
    PRASANNA GANAPATHY
    ------------------------------



  • 21.  RE: WebSphere Application Server Configuration Comparison Tool

    Posted Mon January 27, 2020 03:28 PM

    Hi Prasanna,

    The global ReportList specifies the report names you wish to run.  "Resources" is a built-in report.  Your custom report defined the name in the property names and it is "ds". 

    Cluster level resources need the cell name, the name of the cluster and the name of the resource in the following format.  You can specify as many custom report specific Scope and Resources properties as needed as long as the ID portion of the name is has matched pairs and are unique from other matched pairs. 

    NAME::Scope=Cluster
    NAME::Resources::ID=CellRegex::ClusterRegex::NameRegex

    Finally, the custom report definition must also have ReportList defined at the report level.  I will look at removing this requirement for the next release.  I have already implemented (but not released) the global ReportList property to default to All and ConfigurationDumpFiles to default to *.cfg to simplify command line syntax for users that do not wish to use a properties file. 

    /usr/bin/python ./ConfigReport.py ConfigurationDumpFiles=*.cfg ReportList=ds ds:ReportType=DataSource ds:Title=cluster_data_sources ds:Scope:1=Cluster ds:Resources:1=.*::YOUR_CLUSTER_NAME::.* ds.FileName=ds ds:ReportList=All

    Regards,
    Dennis



    ------------------------------
    Dennis Riddlemoser
    ------------------------------



  • 22.  RE: WebSphere Application Server Configuration Comparison Tool

    Posted Wed February 12, 2020 02:43 AM
    Hi Dennis.
    Do we have any tool to compare IHS ( IBM HTTP server ) configuration. Are there any plan to extend this tool to do so .
    thanks,
    Jalesh. ​

    ------------------------------
    Jalesh Kumar Vivekaanandan
    ------------------------------



  • 23.  RE: WebSphere Application Server Configuration Comparison Tool

    Posted Wed February 12, 2020 08:14 AM
    Hi Jalesh,
       I do not have a tool and unfortunately I am not aware of a tool.  Due to the positional nature of many Apache httpd.conf directives, my report generation framework would not be suited for httpd.conf comparisons.  Personally, the best solution I have found for this is a text comparison tool.  I wish I had a better answer.

    Regards,
    Dennis

    ------------------------------
    Dennis Riddlemoser
    ------------------------------



  • 24.  RE: WebSphere Application Server Configuration Comparison Tool

    Posted Thu March 05, 2020 01:47 PM
    Hi Dennis

    I am using the CCT  at the moment and gives me prrety much everything I need, however there is one value that is created by the ConfigDump.py file but I am struggling to then get it into any report.   This is the Transaction Log Directory.  I can get hold of all the Transaction Service settings as there are easily accessible using services->TransactionService_ which is already part of the transactionServiceReportSrv function.

    However, if I have a value in the transaction Log directory, this isn't seen as part of the Server config.  In the .cct output it appears as something like this:

    (cells/PSCell1/nodes/Node1|serverindex.xml#RecoveryLog_1580406696758)
    compensationLogDirectory=custom://com.ibm.rls.jdbc.SQLRecoveryLog?datasource=jdbc/tranlog,tablesuffix=App1
    compensationLogFileSize=5
    transactionLogDirectory=custom://com.ibm.rls.jdbc.SQLRecoveryLog?datasource=jdbc/tranlog,tablesuffix=App1

    Any pointers you can give me would be much appreciated,

    Thanks

    John

    ------------------------------
    John Hirst
    ------------------------------



  • 25.  RE: WebSphere Application Server Configuration Comparison Tool

    Posted Thu March 05, 2020 01:48 PM
    Edited by John Hirst Fri March 06, 2020 03:42 AM


  • 26.  RE: WebSphere Application Server Configuration Comparison Tool

    User Group Leader
    Posted Wed July 29, 2020 10:21 AM
    I have a scenario where I have multiple servers I want to compare, but are in different environments like, DEV, TEST and PROD. I have attributes which change per environment and I would like to be able to filter those out. Would it be possible to use the ReplaceForMatch:ID and ReplaceWith:ID to filter those attribute values so I don't have so many false positives?

    ------------------------------
    Robert Carter
    Sr. Rational Tools Architect
    A Better Solution| Inc.
    Conley GA
    770-252-1500
    ------------------------------