Wednesday, February 4, 2015

Websphere application server template creattion in WAS 8.5

In Websphere Templates were available to create a standardised environment without much repetitive work.

To create a server template a single application server has to be created before.You can configure all the settings to that application server and create a template using that server

This is an example in WAS 8.5,




To understand how template work and benefits please visit the IBM Developer Link

Tuesday, February 3, 2015

wsadmin jython Websphere Variable creation

Below is the function you can use to create Websphere Variable at cell scope

def variableCreation():
   cellname=AdminControl.getCell()
   varName='urvarname';
   varValue='urvarvalue';
   AdminTask.setVariable('[-variableName '+varName+' -variableValue '+varValue+' -scope  Cell='+cellname+']')