rename hostname, cell, and node names on websphere

Posted on 2014-08-21
Last Modified: 2014-09-08
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.
Question by:Asmareeno
    LVL 11

    Accepted Solution

    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.
    LVL 8

    Assisted Solution

    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.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    Suggested Solutions

    Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
    Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
    Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
    This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now