Skip to Content
author's profile photo Former Member
Former Member

Cloning of a LINUX with MAXDB problem

Hello all,

We cloned (copied) a complete Linux server (AAA) with SAP using MAXDB, target server was ZZZ.

The copy was very successful, nothing missed. Edited the profile parameters and changed all ENVironment variables changing anything from AAA to ZZZ.

SAP in AAA starts successfuly, but it was pointing the the the database from ZZZ. Any thing I should change more?

Thanks,

Terry

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Nov 17, 2011 at 04:04 PM

    > SAP in AAA starts successfuly, but it was pointing the the the database from ZZZ. Any thing I should change more?

    you need to change the xuser access for <sid>adm and sqd<sid>:

    xuser -U DEFAULT -u <sapschema>,<password> -d AAA -n <hostname> set

    The database name will still be the old one, there's more to do to also rename the database:

    Note 604680 - Renaming an SAP DB or liveCache instance

    Note 1427931 - Renaming a MaxDB or liveCache instance as of Version 7.8

    You're aware that this method is not officially supported to do system copies?

    Markus

    Add a comment
    10|10000 characters needed characters exceeded

    • > I issued the 'xuser' command, including the changing of the node to AAA_server. However, when I did startsap, the database is stilll trying to connect to ZZZ_server. Bottom of note 604680 has '

      What's the output of

      xuser list

      Does the user DEFAULT point to the proper database?

      > 'The name of the database as well as the server are retained as DBIdent in the database. This name is not changed by the renaming process. The DBIdent also appears in the data backups (full, incremental and log backup)'.

      > Any workaround?

      As I said before, the method you use to "clone" a system is not supported. You will need to maually rename the database, the files etc.

      See

      Note 604680 - Renaming an SAP DB or liveCache instance

      Note 1427931 - Renaming a MaxDB or liveCache instance as of Version 7.8

      Markus

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.