2 Replies Latest reply on Dec 15, 2016 3:45 PM by mdtaylor

    BSU and ADOP/ADPATCH - optimization


      We are upgrading 12.1.3 to 12.2.5 .

      We are applying adpatch and ADOP patches for the upgrade .

      Also we are applying etcc patches for weblogic patches



      We are using bsu utility for weblogic patch install and uninstall .

      We are having 20 CPU.

      But it is using only 1 CPU , how can we tune bsu utility to use multiple CPUS so that it can complete faster.





      for example one worker get stuck on gather stats for 4-5 hours .

      But during that it uses only 1 CPU , how can that task be multi threaded with multiple CPU;s to complete faster ?

        • 1. Re: BSU and ADOP/ADPATCH - optimization
          Srini Chavali-Oracle

          See recommendations in MOS Doc 1594274.1 - under Table 10, Footnote 5

          • 2. Re: BSU and ADOP/ADPATCH - optimization

            For bsu, enusre you have adequate kernel entropy for java on Linux:


            cat /proc/sys/kernel/random/entropy_avail



            vi /etc/sysconfig/rngd

            # Add extra options here

            EXTRAOPTIONS="-i -o /dev/random -r /dev/urandom -t 10 -W 2048"


            service rngd start

            chkconfig rngd on


            cat /proc/sys/kernel/random/entropy_avail



            For 12.2.5, copy and paste the following commands which completed in about an hour for me:


            ./bsu.sh -remove -patchlist=Y5AP -prod_dir=$FMW_HOME/wlserver_10.3

            ./bsu.sh -remove -patchlist=BLTG -prod_dir=$FMW_HOME/wlserver_10.3

            ./bsu.sh -remove -patchlist=1LRI -prod_dir=$FMW_HOME/wlserver_10.3

            ./bsu.sh -remove -patchlist=VKXF -prod_dir=$FMW_HOME/wlserver_10.3

            ./bsu.sh -remove -patchlist=2GYW -prod_dir=$FMW_HOME/wlserver_10.3

            ./bsu.sh -remove -patchlist=CW9T -prod_dir=$FMW_HOME/wlserver_10.3

            ./bsu.sh -remove -patchlist=FCX7 -prod_dir=$FMW_HOME/wlserver_10.3


            ./bsu.sh -install -patch_download_dir=$FMW_HOME/utils/bsu/cache_dir -patchlist=EJUW -prod_dir=$FMW_HOME/wlserver_10.3

            ./bsu.sh -install -patch_download_dir=$FMW_HOME/utils/bsu/cache_dir -patchlist=L34G -prod_dir=$FMW_HOME/wlserver_10.3

            ./bsu.sh -install -patch_download_dir=$FMW_HOME/utils/bsu/cache_dir -patchlist=N5FK -prod_dir=$FMW_HOME/wlserver_10.3

            ./bsu.sh -install -patch_download_dir=$FMW_HOME/utils/bsu/cache_dir -patchlist=8FBW -prod_dir=$FMW_HOME/wlserver_10.3

            ./bsu.sh -install -patch_download_dir=$FMW_HOME/utils/bsu/cache_dir -patchlist=GK5N -prod_dir=$FMW_HOME/wlserver_10.3


            For adop, specify the number of workers you want on the command line.  I used 32 last time I did it.


            adop phase=apply apply_mode=downtime patches=19676458 workers=32