Bootstrap FreeKB - IBM WebSphere - Create .cfg files for Configuration Comparison Tool (CCT)
IBM WebSphere - Create .cfg files for Configuration Comparison Tool (CCT)

Updated:   |  IBM WebSphere articles

This assumes you have Installed WebSphere Configuration Comparison Tool (CCT). The end goal of the Configuration Comparision tool is to create HTML files comparing the configurations of components in two different cells. However, before the HTML files can be created, first configuration files need to be created, such as:

  • cellA.cfg
  • cellB.cfg

As the name suggests, the configuration files contain the configuration of a cell. 

 


wsadmin and the ConfigDump.py script are used to create the configuration files. 

${WAS_INSTALL_ROOT}/profiles/your_profile/bin/wsadmin.sh 
-host node_server_hostname 
-port node_server_wc_defaulthost_port 
-username your_username 
-password your_password 
-f /path/to/ConfigDump.py

 

Upon completion of this script, a file named ${CELL_NAME}-yy-mm-dd-hh-mm-ss.cfg file will be created in the present working directory. If you want to specify the name and location of the configuration file that is created by the ConfigDump.py script, simply include the name and locate of the configuraiton file.

${WAS_INSTALL_ROOT}/profiles/your_profile/bin/wsadmin.sh 
-host node_server_hostname 
-port node_server_wc_defaulthost_port 
-username your_username 
-password your_password 
-f /path/to/ConfigDump.py
/path/to/example.cfg

 

Once you have two or more dump files created, you can then create an HTML file comparting the cells.




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 93c311 in the box below so that we can be sure you are a human.