Monday, 30 July 2012

Creating PATCH &Applying PATCH in instacne


CREATING PATCH:

1)create new folder with name xx_folder
 in that folder it should contain some folders named as
 admin,bin,code,sql,ctl,install
 and also contains some files named as readme,remarks,drv file,sh file,sh install filw

 folders:
 admin folder contains another subfolder inside named as import,in this folder all ldt files placed
 code is empty
 bin is empty
 sql is empty
 ctl is empty
 install folder contains all scripts i.e table scripts,packega spec and body
 files:
 readme file contains patch components,and process apply process
 remarks file contains all tables names,package name and body name,concurrent program name,responsibility name,parameters passed in c.p
          and any depencies of this conversion
drv file contains the all the syntaxs of code and also ldt file that need to be patched or installed and also  under which top need to be moved
sh file contains drv file name inside


by following above all steps,we can  create patch,


How to APPLY PATCH:

our patch folder need to be placed in desktop or any local disk

now connect to winscp with hostname,username ,password and press login.
now it open unix box.
leftside select the place where our patch folder is there,and move tht to rightside to which it need to be moved and patched.

now connect to putty software,with hostname and press open
command prompt screen wil be opened,by asking username,so enter username ,and press enter
agian it ask password,enter password.

now enter the sudo code and press enter
agian press all systaxes one by one i.e
$ cd /tmp   press enter
$ cd abcdef_patches     press enter      note:  abcdef_patches  is folder creted where our patches moving
$ ls
$ cd ram      note:ram folder i created in unix path,where all my patches need to be placed
$ ls
$ cp -r xx_folder $<topname>/install/conversion_patch
$ cd $<topname>/install/conversion_patch
$ ls
$ cd xx_folder
$ ls
$ dos2unix *.*
$ chmod 777 *.*
$ sh ap_sup.sh
$ n
$ y
$ erp_lance    note:this is password
$ apps
conclusion:after all steps,it will start applying patch.

  

 

No comments:

Post a Comment