crazywolf2010
asked on
Listing Websphere Configuration Details to Compare Difference between Installations
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It lets you compare configurations and identify differences
ASKER
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.
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.
ASKER
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 CORBAObjectNameSpaceBindin g
Found 3 objects of type PME51ServerExtension
Found 5 objects of type WorkManagerProvider
Server:WSSecurity not found, cid:cells/eugbbopg7blt_Cel l/nodes/eu gbbopg7blt _Node01/se rvers/oat2 _server_me mber1|ws-s ecurity.xm l#WSSecuri ty_1084441 805509
Server:WSSecurity not found, cid:cells/eugbbopg7blt_Cel l/nodes/eu gbbopg7blt _Node01/se rvers/oat2 _server_me mber2|ws-s ecurity.xm l#WSSecuri ty_1084441 805509
WSSecurity has 1 related types
com.ibm.websphere.manageme nt.excepti on.Invalid ConfigData TypeExcept ion: ADMG0007E: The configuration data type WSSecurity is not valid.
at com.ibm.ws.management.conf igservice. TypeRegist ry.getMeta Object(Typ eRegistry. java:150)
at com.ibm.ws.management.conf igservice. ConfigServ iceImpl.ge tAttribute sMetaInfoB asic(Confi gServiceIm pl.java:13 77)
at com.ibm.ws.management.conf igservice. ConfigServ iceDelegat or.getAttr ibutesMeta Info(Confi gServiceDe legator.ja va:55)
at com.ibm.ws.management.conf igservice. ConfigServ iceImpl.ge tAttribute sMetaInfo( ConfigServ iceImpl.ja va:667)
at com.ibm.topology.websphere .provider. WebSphereC onfigExpor ter.getAtt ributesMet aInfo(Unkn own Source)
at com.ibm.topology.websphere .provider. WebSphereC onfigExpor ter.addObj ectType(Un known Source)
at com.ibm.topology.websphere .provider. WebSphereC onfigExpor ter.queryR elatedObje cts(Unknow n Source)
at com.ibm.topology.websphere .provider. WebSphereC onfigExpor ter.main(U nknown Source)
at sun.reflect.NativeMethodAc cessorImpl .invoke0(N ative Method)
at sun.reflect.NativeMethodAc cessorImpl .invoke(Na tiveMethod AccessorIm pl.java:79 )
at sun.reflect.DelegatingMeth odAccessor Impl.invok e(Delegati ngMethodAc cessorImpl .java:43)
at java.lang.reflect.Method.i nvoke(Meth od.java:61 8)
at com.ibm.ws.bootstrap.WSLau ncher.main (WSLaunche r.java:263 )
Writing 151 objects to /opt/IBM/WebSphere/AppServ er/profile s/Profile0 1/dmgr/con fig/128232 1733910/ob ject.map
Temporary files deleted from /opt/IBM/WebSphere/AppServ er/profile s/Profile0 1/dmgr/con fig/128232 1733910
Exporter elapsed time = 8 seconds
./vceexport.sh: line 91: exit: rc: numeric argument required
Thanks a lot for your help. You are a star!!!!!
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 CORBAObjectNameSpaceBindin
Found 3 objects of type PME51ServerExtension
Found 5 objects of type WorkManagerProvider
Server:WSSecurity not found, cid:cells/eugbbopg7blt_Cel
Server:WSSecurity not found, cid:cells/eugbbopg7blt_Cel
WSSecurity has 1 related types
com.ibm.websphere.manageme
at com.ibm.ws.management.conf
at com.ibm.ws.management.conf
at com.ibm.ws.management.conf
at com.ibm.ws.management.conf
at com.ibm.topology.websphere
at com.ibm.topology.websphere
at com.ibm.topology.websphere
at com.ibm.topology.websphere
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at com.ibm.ws.bootstrap.WSLau
Writing 151 objects to /opt/IBM/WebSphere/AppServ
Temporary files deleted from /opt/IBM/WebSphere/AppServ
Exporter elapsed time = 8 seconds
./vceexport.sh: line 91: exit: rc: numeric argument required
Thanks a lot for your help. You are a star!!!!!
ASKER
Hi, Have you used this tool before? Why does IBM tools are so complicated to use?
> 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. :-(
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. :-(
Thanks for the grade & points.
Good luck & have a great day.
Good luck & have a great day.