cancel
Showing results for 
Search instead for 
Did you mean: 

SAP file system restoration on other server

Former Member
0 Kudos

Dear Experts,

To check that our offline file system backup is successful, we are planning to restore the offline file system backup from the tape on to a new test server.

Our current SAP system (ABAP only) is in cluster with CI running on one node (using virtual host name cicep) & DB running on another node (using virtual host name dbcep).

Now, is it possible to restore the offline file system backup of the above said cluster server on to a single server with a different host name?

Please help on this.

Regards,

Ashish Khanduri

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

What exactly do you mean by offline file system backup ?

If you are talking about Oracle data files (sapdata, origlog, ...), then yes, it will work. You will have to do some adjustments though. It is called a homogeneous system copy. Read about it!

If you also are talking about Oracle and SAP software ($ORACLE_HOME/bin, /usr/sap/<SID>, ...), then, well, it might work, but it is not the supported way. You better install it on the target system first.

If you also are talking about about operating system, then most probably a restore from cluster to non-cluster will not work. But details will depend on your flavour of Unix.

hope this helps

Former Member
0 Kudos

Dear Joe,

Our OS is Solaris.

We have offline file system backup of all the mount points related to SAP & oracle like /usr/sap/..., /sapmnt/..., /oracle/..., /oracle/sapdata1,2,3,4. In short, all mount points of SAP system.

Actually, we have never done a restoration. So we just want to check that the tapes we are using are usable or not. And the backup we are taking is usable or not. That is the reason we are not going for a system copy method.

You think of this as if some fire catches our server & SAN storage, then can we recover the SAP system with tape backup of all mount points & home directories of SAP users.

Obviously, when this situation will occur in reality, then we will be keeping the host name same of the new server.

But as of now, for testing purpose, I want to know that can I restore the tape backup on another server with different hostname.

Regards,

Ashish

Former Member
0 Kudos

As I wrote above:

If you restore Oracle and SAP software to a different hostname, you will run into a lot of problems. There are several places in Oracle and SAP, where the hostname is stored. If you have a certain degree of experience in Unix and Oracle and SAP, you will most probably be able to get it up and running.

But it will be easier to keep installation media for Oracle and SAP at hand, and do a homogeneous system copy.

If you want to test, if you will be able to restore to the same hostname, then well, do it! But of course don't keep old and new host running in your network at the same time.

regards

Former Member
0 Kudos

Dear Experts,

After restoring all the mount points to the test server, I did following changes:

edited listener file to reflect new host name.

edited tnsnames file to reflect new host name.

listener started successfully.

edited /etc/project file to reflect correct project & users.

edited /etc/user_attr file to reflect correct project for users.

Now, when I try to start oracle database, below is the error I am getting:

SQL> startup pfile='/oracle/CEP/102_64/dbs/initCEP.ora';

ORA-27102: out of memory

SVR4 Error: 22: Invalid argument

SQL>

Please help me on this, how to get rid of this error.

Regards,

Ashish Khanduri

Former Member
0 Kudos

ORA-27102: out of memory

As the error messages says, there seems to be a memory problem. As I don't know any details about your server nor about what exactly you did, I can only guess here:

Maybe your new server is too small (less memory) to run Oracle? Or maybe you could run Oracle, if you first decreased Oracle memory parameters in int<SID>.ora file. Or in case of a temporary problem, a reboot might help.

regards

Former Member
0 Kudos

Hi Experts,

After rebooting the server, the oracle DB is started successfully. Maybe this was because of shared memory.

Ok, now while doing startsap, am getting error as: no start profiles found

Any help on this????

Regards,

Ashish

Former Member
0 Kudos

Check files in your /sapmnt/<SID>/profile directory.

Former Member
0 Kudos

Hi,

I edited all the profiles in /sapmnt/<SID>/profiles directory. Also, renamed the profile files with the new hostname.

After this.............bingo...........SAP started successfully.

But, I want to know, that in SM51 it is showing all 3 servers i.e. real r3-prd CI, real r3-prd Application Server, & the test server.

Same case in real r3-prd, sm51.

Anybody knows the reason for this. Also, is it safe to keep the test server running in the same network? Will there be any conflict between the real r3-prd & test server with same SID?

What about the message server, will the real r3-prd & test server be having diffrent message servers or same message server?

Please help me to answer the above queries.

Regards,

Ashish

Former Member
0 Kudos

Hello Ashish,

in transaction RZ04 delete old instances, and create new ones, if you haven't done so already. Then you will have to import profiles in transaction RZ10.

Let me repeat my suggestion to read the homogeneous system copy guide.

Most of your questions are answered there!

Then, if you can see your test instances in real r3-prd, then obviously something went wrong, and the new system (or part of it) connected to the old one. (One more reason to follow the homogeneous system copy guide, imho.)

This problem may or may not have been solved by now, by doing the changes in the profiles.

regards

PS: Of course the new system will need a message server of its own.

Edited by: Joe Bo. on Jan 4, 2010 10:50 AM

Former Member
0 Kudos

Hi,

Please see the below link:

http://www.uphantis.com/16591/How-to-System-Copy-ABAP-and-JAVA.pdf

OraBRCOPY is the simple and best way to do system copy...

just download the SAR file from marketplace. It content manual also...

Regards.

Sumit.

Former Member
0 Kudos

Hi,

Why are you insisting on System Copy method? I know that & have done that also. But my question was how to restore an SAP system from the flat file system backup on to a different server with different hostname.

Anyways, thanks all for your valuable comments. I was able to restore the system on different server & it was running fine.

Closing this thread now.

Regards,

Ashish

Former Member
0 Kudos

Dear Ashish

We want to include file system backup process as part of our backup strategy. To test the waters, we are planning to take a backup of the at filesystems level. Following are the filesystems in our production systems.

We have a test server (hostname is different), without any filesystems created beforehand.

I want to know:

1. Which filesystems will be required from the below:

/dev/hd4 4194304 3772184 11% 5621 2% /

/dev/hd2 10485760 6151688 42% 43526 6% /usr

/dev/hd9var 4194304 4048944 4% 4510 1% /var

/dev/hd3 4194304 2571760 39% 1543 1% /tmp

/dev/hd1 131072 129248 2% 85 1% /home

/proc - - - - - /proc

/dev/hd10opt 655360 211232 68% 5356 18% /opt

/dev/oraclelv 83886080 73188656 13% 11091 1% /oracle

/dev/optoralv 20971520 20967664 1% 4 1% /opt/oracle

/dev/oracleGSPlv 83886080 74783824 11% 18989 1% /oracle/GSP

/dev/sapdata1lv 833617920 137990760 84% 3189 1% /oracle/GSP/sapdata1

/dev/sapdata2lv 623902720 215847400 66% 82 1% /oracle/GSP/sapdata2

/dev/sapdata3lv 207093760 108510632 48% 24 1% /oracle/GSP/sapdata3

/dev/sapdata4lv 207093760 127516424 39% 28 1% /oracle/GSP/sapdata4

/dev/origlogAlv 20971520 20730080 2% 8 1% /oracle/GSP/origlogA

/dev/origlogBlv 20971520 20730080 2% 8 1% /oracle/GSP/origlogB

/dev/mirrlogAlv 20971520 20762848 1% 6 1% /oracle/GSP/mirrlogA

/dev/mirrlogBlv 20971520 20762848 1% 6 1% /oracle/GSP/mirrlogB

/dev/oraarchlv 311951360 265915600 15% 526 1% /oracle/GSP/oraarch

/dev/usrsaplv 41943040 41449440 2% 165 1% /usr/sap

/dev/sapmntlv 41943040 20149168 52% 565823 21% /sapmnt

/dev/usrsapGSPlv 41943040 25406768 40% 120250 5% /usr/sap/GSP

/dev/saptranslv 41943040 5244424 88% 136618 18% /usr/sap/trans

IDES:/sapcd 83886080 4791136 95% 18878 4% /sapcd

GILSAPED:/usr/sap/trans 41943040 5244424 88% 136618 18% /usr/sap/trans

2. Is it possible to directly backup the filesystems (like /dev/oracleGSPlv)? This requirement is because, when I backup (using tar) /oracle, all the folders in /oracle, like /oracle/GSP, /oracle/GSP/sapdata1 etc, are also backed up. I do not want it. I would like to backup the filesystems directly.

3. Which unix backup tools are used to backup the individual filesystems?

4. How do we restore the filesystems to the test server?

Thanks for your advise.

Abdul

Edited by: Abdul Rahim Shaik on Feb 8, 2010 12:10 PM

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Ashish Khanduri, i'm having some similar problem with my production system, hope you can send me a private message or check the following threat http://scn.sap.com/thread/3358489.

I want some guidelines to resolve my issue, i see you have do something similar in the past.

Thanks in advance.

regards,

Amaury

Former Member
0 Kudos

Offline backup is consistent backup you can recover your full data till the date you having an offline backup

Yes you can restore the offline backup from current SAP system to your Test System.

What you want to do is create file system in Test server as same as your production system and then restore the offline backup.

After that generate Control file in Source system, copy that file in Target system

After copy we have to do some modification in Control file.

Follow the Homogenous system Copy using offline/online backup Method for SAP.