I have to clone the WebShere installation for a mock DR exercise.
My requirement is in such a way that the import operation should only import the configuration into the Target WAS server without dropping the Source server's cell, Node folders as it is.
It should use the same cell & node names in the target server and just import/copy the configurations as it is.
I came to know abt the AdminTask.exportWASProfile() and AdminTask.importWasProfile() jython methods from the info center.
I am able to export the WAS profile on Source WAS Server as myprofile.car.
I have created the new profile in the target server to match exactly the Source server.
But when I tried to import it I have observed that the import process is creating the Cell, node folders as defined in the archive (for ex it has created the source cellname folder in installed apps of the target server. I DONT want this behavior.
I tried to provide the cellname and nodename of the target server as params but the importwasprofile method/command says they are invalid.
I request anyone in EE to provide the solution or best approach for this.