Skip to Content
author's profile photo
Former Member

Can we re-name SAP Instance?


Our system has a Longer Instance name and we are getting some dumps due to this issue.

Is there any way we can re-name the instance? or do we need copy/Install from Scratch?

Pls help..



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Posted on Sep 28, 2007 at 07:27 AM


    as this is the database forum, i can only speak for the database. Running with SQL 2005 you can rename the Server without problems. The only thing you have to do, is to change the internal servername afterwards by running a script like this:

    use master

    exec sp_dropserver '<OldServerName>'

    exec sp_addserver '<NewServername>','local'

    When you then run a

    select @@servername

    the new name should be returned.

    From the SAP perspective, i would assume that you have to change all the profiles and change the old server name with the new servername. But the even the name of the profiles contain the name, so it might be a little bit trickier to change all of them (re-register the service etc.). With a Java instance the thing will be even more complicated. The best thing is, that you either open a message for this or perform a homogeneouse system copy on the same maschine. During this procedure you can ensure that all occurences for the servername will be replaced with the new one.



    Add comment
    10|10000 characters needed characters exceeded