Quantcast
Channel: Release Automation – OpenMake DevOps Insights
Viewing all articles
Browse latest Browse all 17

wsadmin get cell name

$
0
0

To get a cell name from Websphere use the following code:

cells = AdminConfig.list("Cell" )
cells = wsadminToList(cells)
cellName = cells[0].split('(')[0]

AdminConfig.list will return all defined cells. Typically people just use one cell. wsadminToList will create an array of cells. We take the first one from the array and then pull the name from the details.

wsadminToList is found here.


Viewing all articles
Browse latest Browse all 17

Trending Articles