Solved

Listing Websphere Configuration Details to Compare Difference between Installations

Posted on 2010-08-19
7
2,129 Views
Last Modified: 2013-12-11
Hi All,
I have many websphere 6.x ND clustered servers and growing every single week. Lots of them are upgraded from previous websphere installations to ND 6.x now.

We have some issues and they all point to diff in configuration. Also we have admin shell scripts written but they are not portable. Reason : There is diff in naming conventions for profile, Cluster name, Application Server name etc.

I need a script probably in jython which will list all parameters. I can then run diff to compare one server with another and locate differences which could be corrected at later date.

Regards
0
Comment
Question by:crazywolf2010
  • 4
  • 3
7 Comments
 
LVL 41

Accepted Solution

by:
HonorGod earned 500 total points
ID: 33477845
There is a tool called the Visual Configuration Explorer (VCE).

Here is a forum for discussions related to this tool:
http://www.ibm.com/developerworks/forums/forum.jspa?forumID=1139

Start here:
http://www.ibm.com/developerworks/forums/thread.jspa?threadID=172485&tstart=0
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 33477851
It lets you compare configurations and identify differences
0
 

Author Comment

by:crazywolf2010
ID: 33486769
Hi HonorGod,
That link is brilliant. I have installed successfully VCE but got another problem.

The help here says :
http://www.ibm.com/developerworks/websphere/techjournal/0710_supauth/0710_supauth.html
"The exporter module is provided within the Visual Configuration Explorer installation as part of the websphere-tools package. You must deploy this package on all target servers that you want to analyze with Visual Configuration Explorer."

I tried google and located following post from where I can download the package
http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14214910

Do you think I can use this file. Bare in mind, number of places it says the packages are old and new file should be available from somewhere else.

Please share your thoughts.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:crazywolf2010
ID: 33486887
Hi Mate,
I downloaded above file and ran on my WAS ND server . It ended up with some errors as listed below.
I then downloaded the half done websphere.configuration from vce/output directory but VCE tool shows nothing at GUI.

Found 0 objects of type MQQueue
Found 5 objects of type CacheProvider
Found 5 objects of type WorkManagerInfo
Found 3 objects of type VirtualHost
Found 2 objects of type SIBQueue
Found 1 objects of type ServerCluster
Found 0 objects of type CORBAObjectNameSpaceBinding
Found 3 objects of type PME51ServerExtension
Found 5 objects of type WorkManagerProvider
Server:WSSecurity not found, cid:cells/eugbbopg7blt_Cell/nodes/eugbbopg7blt_Node01/servers/oat2_server_member1|ws-security.xml#WSSecurity_1084441805509
Server:WSSecurity not found, cid:cells/eugbbopg7blt_Cell/nodes/eugbbopg7blt_Node01/servers/oat2_server_member2|ws-security.xml#WSSecurity_1084441805509
WSSecurity has 1 related types
com.ibm.websphere.management.exception.InvalidConfigDataTypeException: ADMG0007E: The configuration data type WSSecurity is not valid.
        at com.ibm.ws.management.configservice.TypeRegistry.getMetaObject(TypeRegistry.java:150)
        at com.ibm.ws.management.configservice.ConfigServiceImpl.getAttributesMetaInfoBasic(ConfigServiceImpl.java:1377)
        at com.ibm.ws.management.configservice.ConfigServiceDelegator.getAttributesMetaInfo(ConfigServiceDelegator.java:55)
        at com.ibm.ws.management.configservice.ConfigServiceImpl.getAttributesMetaInfo(ConfigServiceImpl.java:667)
        at com.ibm.topology.websphere.provider.WebSphereConfigExporter.getAttributesMetaInfo(Unknown Source)
        at com.ibm.topology.websphere.provider.WebSphereConfigExporter.addObjectType(Unknown Source)
        at com.ibm.topology.websphere.provider.WebSphereConfigExporter.queryRelatedObjects(Unknown Source)
        at com.ibm.topology.websphere.provider.WebSphereConfigExporter.main(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:618)
        at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:263)

Writing 151 objects to /opt/IBM/WebSphere/AppServer/profiles/Profile01/dmgr/config/1282321733910/object.map
Temporary files deleted from /opt/IBM/WebSphere/AppServer/profiles/Profile01/dmgr/config/1282321733910
Exporter elapsed time = 8 seconds
./vceexport.sh: line 91: exit: rc: numeric argument required

Thanks a lot for your help. You are a star!!!!!
0
 

Author Comment

by:crazywolf2010
ID: 33530171
Hi, Have you used this tool before? Why does IBM tools are so complicated to use?
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 33532178
> Have I used this tool before?
  Once, a long time ago, in a galaxy far far away...                           Sorry about that. ;-)

> Why are IBM tools so complicated?
  They tend to be full of function, and therefore more complex.

  Unfortunately, this can sometimes make them a challenge to use. :-(
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 33586073
Thanks for the grade & points.

Good luck & have a great day.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
constuctor calling other constructor 2 74
java question on merging xls 3 68
websphere 1 77
Logs to delete in Windows VCenter server ? 11 179
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now