rename hostname, cell, and node names on websphere

I just cloned a vm that runs websphere The seed and the clone are to run side by side in one LAN - and I will need to change the hostnames and node, cell names of at least one of them.  I tried to run some scripts but they do not seem to change everything.
Is this something possible, or is there a clean or step by step method on accomplishing this besides re-installing Websphere again.  

Thank you.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Radek BaranowskiFull-stack Java DeveloperCommented:
Hello there.

yes, there are script tools available here:

you just need to be careful when renaming all intrinsic WebSphere config objects, because mistaking one false character will result in your server not functioning or behaving weird.

In real production envs servers are created from the sctratch using parametrized jython scripts. In your case it will be safe to use above linked tools. Just remember to backup your server config before you start doing anything (use <filename> and if anything goes wrong use <previouslyCreatedFilename>

good luck.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Backing up WebSphere Application Server profiles

Open the command prompt.
Browse to the <was_home>\bin directory. For example, you can type the following: cd <was_home>\bin For example:
cd c:\Program Files\IBM\WebSphere\AppServer\bin

Use the WebSphere Application Server manageprofiles command with the backupProfile parameter.
manageprofiles.bat -backupProfile -profileName <profile_name> -backupFile <backupFile_name>

For example:

manageprofiles.bat -backupProfile -profileName AppSrv01 -backupFile c:\backup\

Network deployment
manageprofiles.bat -backupProfile -profileName Dmgr01 -backupFile c:\backup\

Restoring the WebSphere Application Server profiles

In a command prompt, browse to the <was_home>\bin directory. Type cd <was_home>\bin.
For example, cd c:\Program Files\IBM\WebSphere\AppServer\bin.

Restore the profile. Type manageprofiles -restoreProfile -backup <backup_file_location>. For example:
manageprofiles -restoreProfile -backup c:\backup\

The manageprofiles command-line tool always restores to the same path the profile was backed up from.

Verify that the profile is restored. Browse to the <was_home>\profiles directory. For example, <was_home>\profiles\AppSrv01. If the profile is restored successfully, a folder for the restored profile is displayed.

Since backupConfig command will get only config dir ... it will not get installedapps directory or outside of config directory.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java App Servers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.