New version of “Administration Scripts for WebSphere”

Created:
Last Update:

Author: Christoph Stoettner
Read in about 1 min · 141 words

Fountain pen and a notebook

Photo by Aaron Burden | Unsplash

As preparation for Social Connections VI in Prague next week i redesigned the Administration Scripts for IBM Websphere .

Some highlights:

  • all scripts are moved to a subfolder with DMGR/bin (folder name: ibmcnx)

  • tested in multinode environments

  • added some classes everybody can use for his own scripts

  • adding policies to libraries (personal and communities) are using search now

New scripts:

  • documentation of all jvm settings of each application server

  • create a file with all documentation in one step

  • create cluster members for additional nodes

Sharon created a document with the content of all of our presentations and collected several tipps all around connections and community scripts. She will share this next time. We started to share parts of this document and more documentations (installation, usage) for scripts and IBM Connections on:

Scripting101.org

The new version can be downloaded from:

Author
Suggested Reading
Aaron Burden: Fountain pen and a notebook

Setting the performance tuning parameters for all datasources in WebSphere Application Server (for IBM Connections 4 ) is a really annoying job with lots of mouse clicks.

I searched a way to make these through wsadmin with a jython script and after some testing i wrote one, which set all parameters for the Connections DataSources as described in IBM Connections 4 Performance Tuning Guide .

I set StatementCacheSize, minConnections and maxConnections with this script.

Download:

changeDataSourceParameters

Using this script

Copy this script to your server and copy & paste it to a wsadmin-Session, or start wsadmin with

Created:
Last Update:
Read in about 1 min
Aaron Burden: Fountain pen and a notebook

Today i spoke at Social Connections V User Group Meeting in Zurich. What should i say. It was a pleasure and i enjoyed it very much. Hope we can discuss more scripts the next weeks.

Session Slides

Here you can watch the session slides:

Saving my time using scripts #soccnx #soccnxv

Scripts Download

You can download all scripts without warranty and on your own risk on:

http://www.github.com/stoeps13/ibmcnxscripting

Please download the master branch, develop and bugfix can contain not ready scripts.

Slidedownload soccnx

More Slides on http://www.slideshare.net/soccnx

Created:
Last Update:
Read in about 1 min
Aaron Burden: Fountain pen and a notebook

It was little bit quiet here after Connect 2014. I had lots of projects and no time to add new scripts or even do bug fixing.

I promised at Connect, that i will fix the JDBC drivers, that they will load on Windows too. See cnxMemberCheckExIDByEmail.py as an example.

Loading JDBC Drivers within jython scripts

Jan Riedel sent me a solution for SLES and i tested his proposal today within Windows. He points me in the right direction, i mustn’t load the path or jar within the script, it is better to load on starting wsadmin. You have to add the JDBC Driver path to WAS_EXT_DIRS.

Created:
Last Update:
Read in about 2 min