Skip to Content
avatar image
Former Member

System Copy - Cloned

Hi there,

We are running on a virtual Linux landscape. I want to create a sandpit environment

based on our current ECC 6.0 Dev system for now.

We have created a new virtual server and cloned the DEV system onto this.

Now before I start SAP are there any do's and don't's that anyone knows about.

e.g. I know I need to rename the hostname in the instance/startup profiles and in /etc/hosts

     

I also need to remove the links to the transport domain controller.

Just wondering if anyone has gone through this procedure and offer any advice

on the subject

Many thanks

Andy

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Jul 23, 2013 at 12:21 PM

    Hello

    It depends on how you cloned the system.

    If you have cloned a running database then the database wont start. Instead you can restore an online backup and apply all the redologs.

    Else stop the SAP system and the database and take a copy of the system and then start database on the new location.

    If there will be a new SID for the cloned system then you need modify the file system names and also the environment variables else forget this part.

    Install new License (if required)

    If you have an Oracle database then you need to reconfigure the listener and tnsnames.ora files

    Disable the background process before you start SAP for the first time.

    Regards

    RB

    Add comment
    10|10000 characters needed characters exceeded

    • That is interesting. My experience is exactly the opposite - I have done this a lot (dozens of times) and never had a database fail to restart. But, as I said, if I wanted a 100% reliable result I still wouldn't do it this way. I would go for a proper online backup as you describe, or more likely an offline backup (actually shutdown, snapshot, startup, clone from snapshot - no need for an actual backup). For a temporary sandpit, though, given my so far 100% record with this technique, I'm prepared to risk it for the convenience and time savings.

      Steve.

  • Jul 23, 2013 at 11:33 AM

    We do a very similar thing in a Solaris environment. For very temporary sandpit systems we don't bother changing the SID - if the clone isn't going to interact with any other SAP systems there's no need. Just changing the hostname in the profile files should be good enough. And whatever you need to do to your DB to work on the new host.

    The remaining things you need to think about are the same as if you'd done a traditional system copy - background jobs, printing, etc. If this is just a temporary system there's no need to spend a lot of time getting it right, though. And if you haven't changed the SID you don't need to run BDLS.

    About the only thing you really need to get right first is background jobs. They'll start running as soon as the system comes up, obviously. If there are any scheduled that might do unfortunate things - communicate with other systems while pretending to be the source ERP system, for example - you need to avoid that. The simple way is to edit the instance profile (you have to do that anyway) to set the number of background work processes to 0. Then you can start it up, cancel the jobs you don't want, shut it down again and give yourself some Bs back!

    Steve.

    Add comment
    10|10000 characters needed characters exceeded

    • Oh, yes, SCOT. I always forget that. When cloning a DEV system that's unlikely to cause any issues but if you clone a production system best make sure SCOT is disabled also. If you disable background wps for the first start then nothing will get sent out - change the SCOT config at the same time as cancelling background jobs.

      Steve.

  • avatar image
    Former Member
    Jul 23, 2013 at 11:20 AM

    Hi Andy,

    What about the DB part? Which DB you are using ? Cloning is fine for OS level file system stuffs, still you have to perform rename based on your SID . Again, what you will do for DB , you need to perform your DB specific steps for system copy , or else there is no point of such a cloning .

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 23, 2013 at 12:33 PM

    Many thanks guys for taking the timeout to reply to my questions. It is

    much appreciated.

    I now know what needs to be done.

    Thanks again

    Andy

    Add comment
    10|10000 characters needed characters exceeded