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
------------------------------
Original Message:
Sent: Thu October 17, 2019 09:14 AM
From: Dennis Riddlemoser
Subject: WebSphere Application Server Configuration Comparison Tool
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
Original Message:
Sent: Thu October 17, 2019 09:11 AM
From: Dennis Riddlemoser
Subject: WebSphere Application Server Configuration Comparison Tool
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
Original Message:
Sent: Thu October 17, 2019 05:47 AM
From: Pavan A
Subject: WebSphere Application Server Configuration Comparison Tool
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
Original Message:
Sent: Wed October 16, 2019 02:04 PM
From: Dennis Riddlemoser
Subject: WebSphere Application Server Configuration Comparison Tool
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
Original Message:
Sent: Wed October 16, 2019 12:07 PM
From: Pavan A
Subject: WebSphere Application Server Configuration Comparison Tool
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
Original Message:
Sent: Tue September 24, 2019 04:54 PM
From: Dennis Riddlemoser
Subject: WebSphere Application Server Configuration Comparison Tool
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
Original Message:
Sent: Fri September 13, 2019 12:51 PM
From: Kaila Timmons
Subject: WebSphere Application Server Configuration Comparison Tool
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
------------------------------