# Set servers for migratble target
*set('ConstrainedCandidateServers',jarray.array([ObjectName('com.bea:Name='+mgdNames+',Type=Server'), ObjectName('com.bea:Name='+mgdNames+',Type=Server')], ObjectName))*
# Create a migratable target for each JVM
count = 1
while count <= int(clusterNodes):
count += 1
So in this example the script works fine but lets say I had a 4 node cluster I would need to come back to this script to edit the line in bold for each node and I really don't want to do that. My thought path right now is how to do this with python but maybe I can use different wlst to do what I'm after. I'm still digging in and might figure it out but figured I'd ask around.