WebSphere wsadmin get cell name commands

Help on using Websphere Wsadmin

This post covers how to retrieve a cell name from WebSphere wsadmin. I’ve been posting about supporting WebSphere with Release Engineer for all our WebSphere customers.  With Release Engineer you can define a software deployment workflow – or logic – that uses external tools such as wsadmin. While some of our users are wsadmin gurus, others are new to calling wsadmin in headless mode to complete these types of tasks.

Below is the code:

Get a cell name from Websphere

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.

Categories: DevOps

Steve Taylor

CITA OpenMake Software

0 thoughts on “WebSphere wsadmin get cell name”

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts


Distributed builds and Configuring Remote Agents

Distributed Builds and Remote Agents Using Distributed Builds with Remote Agents for Continuous Integration Distributed builds requires the use of Remote Agents.  A common question I see on our support forums is how to configure Read more...


7.5.1 Continuous Delivery Suite Now GA

Free Continuous Delivery ready for GA OMS improves upon Continuous Delivery in 7.5.1 Release Our 7.5.1 Continuous Delivery suite including both Meister and Release Engineer is now GA! This includes a Jenkins Plug-in for Release Read more...


Salesforce Deployments for the Continuous Delivery Pipeline

Salesforce provides an Ant Toolkit that enables you to automate the deployment process. The Salesforce Ant Jar should be copied into the Ant Library directory so the salesforce task is picked up. The following properties Read more...