rename hostname, cell, and node names on websphere

I just cloned a vm that runs websphere 7.0.0.15. 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.
AsmareenoAsked:
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:
http://www.ibm.com/developerworks/websphere/library/samples/SampleScripts.html#download

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 backupConfig.sh/.bat <filename> and if anything goes wrong use restoreConfig.sh/.bat <previouslyCreatedFilename>

good luck.
0

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
AdminRAMCommented:
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:

Stand-alone
manageprofiles.bat -backupProfile -profileName AppSrv01 -backupFile c:\backup\AppSrv01yymmdd.zip

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


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\AppSrv01yymmdd.zip

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.
0
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.