12 Replies Latest reply: Feb 23, 2014 5:11 AM by user11153253 RSS

    patchset (11.2.03.8)

    user11153253

      Hi folks,

       

           we are using 11g r2 (11.2.0.3) on Redhat linux 6.4 environment, patch set 8 that is 11.2.0.3.8 is applied on production database (which is 2 nodes setup),

      i need to apply same patchset 8 that is 11.2.0.3.8 on developement setup . my question is here  below

       

      will i get ocm.rsp file (Oracle configuration Manager)  automatically when grid infrastructure installation  is over?

      if so

      could you tell me location of the file i mean grid base location or grid home location?

       

      it was applied on one of our setup through below comman

       

       

      #./opatch  auto <patch_directory_location>    -ocmrf    <location of ocm director>ocm.rsp

       

      i would appreciate your suggestion

       

       

      thanks & Regards.

        • 1. Re: patchset (11.2.03.8)
          Vandana B -Oracle

          Hi,

           

          You need to create the ocm response file as follows

           

          export ORACLE_HOME=<my_oracle_home_path>

           

           

          $ORACLE_HOME/OPatch/ocm/bin/emocmrsp  -no_banner -output <specify_the_location>/file.rsp

           

           

          creates the response in location specified by the parameter "-output"

           

           

          running without "-output <specify_the_location>/file.rsp"  creats the file in current directory with default name

           

          Regards,

          Vandana - Oracle

          • 2. Re: patchset (11.2.03.8)
            user11153253

            Hi vandana,

             

            thanks for your reply , could you please tell me ocm.rsp file will not come with grid infrastructure installation.

             

            thanks & regards.

            • 3. Re: patchset (11.2.03.8)
              Vandana B -Oracle

              Hi,

               

              No, ocm.rsp needs to be created, and needs to be done only once

               

              Regards,

              Vandana - Oracle

              • 4. Re: patchset (11.2.03.8)
                user11153253

                Hi vandana,


                I   Loged in as  root, grid  & oracle users , to create ocm.rsp file & i dont fine  bin directory under OCM  direcotry  but I  get only below

                 

                [root@vserv-EPPM-DB3 ocm]# pwd

                /oracle/app/11.2.0/grid/OPatch/ocm

                [root@vserv-EPPM-DB3 ocm]# ls

                1. generic.zip

                 

                 

                 

                 

                I am not  getting  bin directory under OCM directory.


                Not like other server

                 

                [oracle@vserv-rh-iDB1 ocm]$ ls

                bin  generic.zip lib  ocm_platforms.txt  ocm.zip


                what i do ? , would you suggest me to copy the ocm.rsp  file from other server which has ?


                quick reply will be higly appreciated.


                thanks & regards.

                • 5. Re: patchset (11.2.03.8)
                  Vandana B -Oracle

                  Hi,

                   

                  Try copying the binaries under /ocm/bin to the server where the binaries are missing and then try creating the ocm.rsp file

                   

                  Regards,

                  Vandana - Oracle

                  • 6. Re: patchset (11.2.03.8)
                    user11153253

                    Hi  Vandana,

                     

                    first of all let me say thank a lot for your quick response.

                     

                    shall i copy only  bin directory under ocm directory from other server ?

                    copying  from other server to missing binaries server as root  or oracle or grid user ?

                    please give me clearity on that.

                     

                    thanks & regards.

                    • 7. Re: patchset (11.2.03.8)
                      Vandana B -Oracle

                      Hi,

                       

                      shall i copy only  bin directory under ocm directory from other server ?

                      Answer: Yes, copy the bin directory from the other server


                      copying  from other server to missing binaries server as root  or oracle or grid user ?

                      Answer: copy as root and ensure that the ownership and permissions of the directory and files do not change


                      Regards,

                      Vandana - Oracle

                      • 8. Re: patchset (11.2.03.8)
                        user11153253

                        Hi

                         

                        thanks, after copying shall i create ocm.rsp file using root user or grid user or oracle user

                        • 9. Re: patchset (11.2.03.8)
                          Vandana B -Oracle

                          Hi,

                           

                          You need to create the response file as grid user

                           

                          Regards,

                          Vandana _ Oracle

                          • 10. Re: patchset (11.2.03.8)
                            user11153253

                            Hi vandana,

                             

                            see when i try to create ocm.rsp  file its giving me below

                             

                            [grid@vserv-EPPM-DB3 bin]$ emocmrsp -no_banner -output /oracle/app/grid/ocm.rsp -bash: emocmrsp: command not found

                            [grid@vserv-EPPM-DB3 bin]$ ls -lrt

                            total 12

                            -rwxr-----. 1 grid oinstall 9063 Feb 23 12:09 emocmrsp

                            [grid@vserv-EPPM-DB3 bin]$

                             

                            As i have checked permission for the emocmrsp in the server from where i have copied this the same permisions for destionation also.

                             

                            source server:

                             

                            [grid@vserv-rh-iDB1 bin]$ ls -lrt

                            total 12

                            -rwxr-----. 1 grid oinstall 9063 Nov 27  2009 emocmrsp

                             

                            destination server:

                            [grid@vserv-EPPM-DB3 bin]$ ls -lrt

                            total 12

                            -rwxr-----. 1 grid oinstall 9063 Feb 23 12:09 emocmrsp

                             

                            any suggestions

                             

                            thnaks

                            • 11. Re: patchset (11.2.03.8)
                              user11153253

                              Hi vandana,

                               

                              see when i try to create ocm.rsp  file its giving me below

                               

                              [grid@vserv-EPPM-DB3 bin]$ ./emocmrsp -no_banner -output /oracle/app/grid/ocm.rsp

                              Exception in thread "main" java.lang.NoClassDefFoundError: OsInfo

                              Unable to access jarfile /oracle/app/11.2.0/grid/OPatch/ocm/lib/emocmclnt.jar

                               

                              i am stuck on it , any help

                              • 12. Re: patchset (11.2.03.8)
                                user11153253

                                Hi vandan,

                                 

                                thanks a lot i have created ocm.rsp file.

                                 

                                thanks a lot again