sap post copy automation

10
SAP Post Copy Automa.on

Upload: gary-jackson-mbcs

Post on 22-Jan-2018

182 views

Category:

Software


0 download

TRANSCRIPT

Page 1: SAP Post Copy Automation

SAP  Post  Copy  Automa.on  

Page 2: SAP Post Copy Automation

•  This  document  provides  a  quick  overview  of  SAP  Post  Copy  Automa;on  (PCA)  based  on  experiences  during  implementa;on  on  customer  projects

•  PCA  is  part  of  NetWeaver  Landscape  Virtualiza;on  Manager  Enterprise  Edi;on  (LVM)

•  It  is  available  for  both  the  ABAP  and  Java  stack  of  NetWeaver  but  this  document  focuses  on  the  ABAP  implementa;on

•  The  document  is  aimed  at  system  administrators  familiar  with  the  system  copy  process  for  ABAP-­‐based  systems  such  as  ECC

Introduc.on  

Page 3: SAP Post Copy Automation

•  Automates  most  of  the  post  copy  steps  in  the  Basis  area •  Uses  an  export/import  approach  via  R3trans

•  Op;ons  to  export/import  customer  tables  through  BAdI •  Can  run  standalone  or  integrated  with  LVM

•  SAP  standard  task  lists  available

Main  Features  

Page 4: SAP Post Copy Automation

Prepara.on  •  Prepara;on  in  source  system

–  Enter  tables  to  be  excluded  from  conversion  in  table  BDLSEXZ

–  Run  RBDLS_CHECK  to  populate  table  BDLSCOUNTALL •  Prepara;on  in  target  system

–  Ensure  kernel  is  up  to  date –  Parameter  ctc/allow_systemcopy_postconfig  should  be  set  to  1

–  Parameter  login/no_automa;c_user_sapstar  should  be  set  to  0  

–  Create  ctc_data  directory  in  DIR_GLOBAL –  Ensure  sufficient  background  work  processes  for  BDLS

Page 5: SAP Post Copy Automation

Transportable  Objects  •  Customer  task  lists

–  SAP  standard  task  lists  must  not  be  changed

–  Create  customer  task  lists  as  copies  of  standard  task  lists

–  Transport  to  produc;on •  Customer  tables

–  Customer  tables  can  be  handled  via  enhancement  spot  SCTC_SC_CUSTOMER  and  BADI  SCTC_SC_CUSTOMER_TAB

–  Tables  can  be  exported/imported  or  truncated

–  BAdI  invoked  by  PCA  tasks  “Export/Import  Customer  Defined  Configura;on  Tables”  or  “Cleanup  of  Customer  Defined  Configura;on  Tables”  

Page 6: SAP Post Copy Automation

System  Copy  with  PCA  •  System  Copy

–  Perform  ini;al  system  copy  using  SWPM  target  system  install

–  Perform  ini;al  configura;on  using  SAP  supplied  PCA  task  list

–  Perform  remaining  configura;on  tasks  manually  e.g. •  RFC  des;na;on  adjustments

•  Adjustments  in  the  spool  administra;on

–  Perform  logical  system  name  conversion  (BDLS)  using  PCA  task  list

Page 7: SAP Post Copy Automation

System  Refresh  with  PCA  •  System  Refresh

–  Perform  configura;on  export  using  PCA  task  list

–  Perform  database  refresh  using  standard  tools  (dump/load)

–  Perform  configura;on  import  using  PCA  task  list

–  Perform  logical  system  name  conversion  (BDLS)  using  PCA  task  list

Page 8: SAP Post Copy Automation

Logical  System  Conversion  •  Logical  System  Conversion

–  Uses  content  of  BDLSCOUNTALL  prepared  earlier –  Processes  all  logical  system  name  pairs  simultaneously

–  Parallel  processing  of  tables  via  numerous  background  jobs

–  Standard  PCA  task  list  SAP_BASIS_COPY_BDLS  is  sufficient

Page 9: SAP Post Copy Automation

Standard  Task  List   System  Copy   System  Refresh  

SAP_BASIS_COPY_REFRESH_EXPORT   ✖   ✔  

SAP_BASIS_COPY_INITIAL_CONFIG   ✔   ✖  

SAP_BASIS_COPY_REFRESH_EXPORT   ✖   ✔  

SAP_BASIS_COPY_BDLS   ✔   ✔  

System  Copy  &  Refresh  Summary  

Page 10: SAP Post Copy Automation

www.aliterconsul.ng.co.uk