Creating cluster using Jython wsadmin
Pre requisites As per todays experiment what I understood is we need the following are the pre-requisites for the Cluster configuration in WebSphere Environment: 1) Cell created with a DMGR Profile 2) Nodeagents created and added to the cell. 3) Dmgr, Nodeagent must be running. Jython Script for Cluster import sys import os import socket #Get the operating system line separator from the linesep method of the os object nl = os.linesep # Store the Cell identifier for the specified Cell cellID = AdminConfig.list('Cell') cellName = AdminConfig.showAttribute(cellID, 'name') #derives the environment type from the cellName sName = cellName.replace("Cell","") sName = sName.replace("Demo","") # Store the Node identifier for the specified Node nodeIDs = AdminConfig.list('Node').split(nl) nodeNames = AdminTask.listNodes().split(nl) nodeNames.sort() # Identify each node and it's purpose so we can start creating s...