cancel
Showing results for 
Search instead for 
Did you mean: 

System Rename Preparation

sandeep_kumar60
Participant
0 Kudos

Dear Friends

We are planning to Build a BW System for Test Purpose , the solution we want to follow is the SYstem Rename Concept.

Can we Do it using  the OS backup Restore using the TAR mechanisam , and then proceed with this Rename ?

and as per my understanding using the guide we need to create a file system such as /usr/sap/SID--old

and /usr/sap/SID--new.

Apart from this no other file systems need to be created extra .

Can some one guide me in this procedure.

Regards

Sandeep

Accepted Solutions (1)

Accepted Solutions (1)

Reagan
Advisor
Advisor
0 Kudos

Absolutely. On Unix/Linux platforms you can copy the file systems from the source and create the target system on the new host. You will need to create the file systems /sapmnt/SID and /usr/sap/SID on the target server and copy the contents of these filesystems from the source server. If there is a change in the SID then you will just recreate the symbolic links. You will also need to modify the SAP profiles located at /sapmnt/SID/profile with the correct hostname and SID and port/instance numbers, add the /etc/services with SAP services. You will also need to create the OS users <SID>adm and ora<SID> (if the DB is Oracle) and copy the .sh and .csh files from the source to the target and modify them.

sandeep_kumar60
Participant
0 Kudos

HI Benjamin and gaurav ,

I had already done with the required channges and started the System Rename process , got stuck in

Rename/Configure Database instance step

Error is  role ORA_SID is not created yet.

Itried the solutions mentiond in the below links but none of the solutions worked.

http://scn.sap.com/thread/3402532

Cann any have faced similar situation in System Rename , kindly guide me pls

My Db is oracle 112 and HP Unix paltform

Regards

Sandeep

former_member182657
Active Contributor
0 Kudos

Hi Sandeep,

As you've already marked your thread as answered,so it would be difficult for other members to check updates from you on this thread in regards issue.First i request you to kindly unmark the thread as not answered to get more support or responses from other SCN experts too.

Anyways for the issue could you share the sapinst log from the tmp directory as well as snap-shot for the show-stopper.

Regards,

sandeep_kumar60
Participant
0 Kudos

HI Rana

Below is the error screen shot

sandeep_kumar60
Participant
0 Kudos

Both the log files says Role ORA_SID Not yet cretaed

sapinst_dev.log

<html> <head> </head> <body> <p> An error occurred while processing option <i>System Rename > Standard System > SAP System Rename( Last error reported by the step: Assertion failed: in

function (role, readAccountData) {

    if (readAccountData === undefined) {

        readAccountData = true;

    }

    NWUsers.trace("NWUsers.getAccountData(", role, ")");

    this._initAccountData();

    ASSERT(arguments.callee, this.haveAccountData(role), "role " + role + " is not created yet.");

    var ad = this._readAccountDataFromKeydb(role);

    if (readAccountData) {

        ad = this._readAccountData(ad);

    }

    var masterpwd = this.getMasterPassword();

    if (ad.password == "" && this._useMasterPasswordForAccountData(ad) && ad.type == "USER" && masterpwd !== undefined && role != NWUsers.roles.J2EEGuest && !ad.locked) {

        ad.password = masterpwd;

    }

    NWUsers.trace("NWUsers.getAccountData(): ", dump_properties(ad));

    return ad;

}

: role ORA_SID is not created yet.)</i>. You can now: </p> <ul> <li> Choose <i>Retry</i><br>to repeat the current step. </li> <li> Choose <i>Log Files</i><br>to get more information about the error. </li> <li> Stop the option and continue later. </li> </ul> <p> Log files are written to /tmp/sapinst_instdir/NW73/SBC/STANDARD. </p> </body></html>

TRACE      2015-06-02 16:21:09.060 (root/sapinst) [iaxxgenimp.cpp:1035] CGuiEngineImp::acceptAnswerForBlockingRequest

Waiting for an answer from GUI

sapinst.log


ERROR 2015-06-02 16:21:06.710 (root/sapinst) id=controller.stepExecuted errno=FCO-00011

The step installInitOra with step key |offlineadjustment_dialogs|ind|ind|ind|ind|0|0|offlineadjustment_db_post|ind|ind|ind|ind|db_post|0|ora_clone_db_post_dia|ind|ind|ind|ind|ora|0|ora_clone_obr|ind|ind|ind|ind|oraOBR|0|installInitOra was executed with status ERROR ( Last error reported by the step: Assertion failed: in

function (role, readAccountData) {

    if (readAccountData === undefined) {

        readAccountData = true;

    }

    NWUsers.trace("NWUsers.getAccountData(", role, ")");

    this._initAccountData();

    ASSERT(arguments.callee, this.haveAccountData(role), "role " + role + " is not created yet.");

    var ad = this._readAccountDataFromKeydb(role);

    if (readAccountData) {

        ad = this._readAccountData(ad);

    }

    var masterpwd = this.getMasterPassword();

    if (ad.password == "" && this._useMasterPasswordForAccountData(ad) && ad.type == "USER" && masterpwd !== undefined && role != NWUsers.roles.J2EEGuest && !ad.locked) {

        ad.password = masterpwd;

    }

    NWUsers.trace("NWUsers.getAccountData(): ", dump_properties(ad));

    return ad;

}

: role ORA_SID is not created yet.).

INFO 2015-06-02 16:21:07.100 (root/sapinst)

Creating file /tmp/sapinst_instdir/NW73/SBC/STANDARD/__instana_tmp.xml.

INFO 2015-06-02 16:21:08.840 (root/sapinst)

Removed file /tmp/sapinst_instdir/NW73/SBC/STANDARD/instslana.xml.

INFO 2015-06-02 16:21:08.850 (root/sapinst)

Creating file /tmp/sapinst_instdir/NW73/SBC/STANDARD/instslana.xml.

Sriram2009
Active Contributor
0 Kudos

Hi Sandeep

Kindly refer the SAP Note with error message "Error role ORA_SID" and  follow the solution.

1714490 - Inst.Systems Based on NW 7.0 / 7.0 EHP 1-3 - UNIX / Oracle

BR

SS

sandeep_kumar60
Participant
0 Kudos

HI Sriram

I had already checked the Note

As per the Note they suggested to change as below

Solution:

  1. Search in control.xml for the following entry:
    NWDBora.prototype.setDBUserEnvironment = function(nwusers, cdroot)...
  2. Replace the following line:
    <Z2>if ( installer.onUnix() <(>&<)>& OraCom.isDbHost(nw)) {</>with the following line: <Z2>if ( installer.onUnix() <(>&<)>& OraCom.isDbHost(nw) && !nw.
    isAddinInstallation() ) {
  3. Restart Sapinst with the option "Continue old installation".

From My Control.xml

these lines had already been existing

if ( installer.onUnix() && OraCom.isDbHost(nw) && !nw.isAddinInstallation() )

  {

    var user = undefined;

    var ad = undefined;

and i restarted the sapinst , but the same issue occurs

Answers (2)

Answers (2)

former_member182657
Active Contributor
0 Kudos

Hi Sandeep,


UNIX only: SAP system created as copy of file system and database of source system


It mean that Tar Backup Restore Will work? just  need to confirm about this

Yes it'll work,you need to follow SAP Homogeneous system copy guides.

Regards,

former_member182657
Active Contributor
0 Kudos

Hi,

As per my understandings System Rename concept,you could follow SCN docs at http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/700e1f3f-1221-3110-4dbe-ff56c6132...

&

With this you need to use SWPM for system renaming.

Regards,

sandeep_kumar60
Participant
0 Kudos

HI Rana

Thanks for thr reply

I will defiantely use SWPM for System rename

i had already gone through the documnet , the point mentioned over ther is

UNIX only: SAP system created as copy of file system and database of source system


It mean that Tar Backup Restore Will work? just  need to confirm about this

Sriram2009
Active Contributor
0 Kudos

Hi Sandeep

1.  Is it dual stack or ABAP / JAVA only system?  If it is Dual better you can perform the Normal System copy of PRD to Test system,

2. If it is Single system your can follow the steps as mention by Rana. before starting the check the SP /patch level  and restrictions. Refer the SAP note  1619720 - System Rename for SAP Systems based on SAP NetWeaver

BR

SS

sandeep_kumar60
Participant
0 Kudos

Hi Sriram

Its a single stack Abap system

Sriram2009
Active Contributor
0 Kudos

Hi Sandeep

Thanks for your information, You can follow the same as mentioned by Rana,

BR

SS