How to Apply WebLogic Server (WLS) Patches Using Smart Update

本文目的:

  描述weblogic10.3.6及之前的版本,如何通过Smart Update打补丁

先决条件:

  You should download and apply the enhanced Smart Update when using WLS 10.3.6 to avoid performance issues while patching

操作步骤:

  1,从MOS(My Oracle Support)下载Patch,示例如下:

   下载weblogic10.3.4的PSU p13108901_1034_Generic.zip,到$MIDDLEWARE_HOME/utils/bsu/cache_dir

  2,命令行安装:

    查看下载补丁的命令语法:

    ./bsu.sh -prod_dir=<WL_HOME> -patch_download_dir=<download dir of patch> -status=downloaded -view -verbose

    示例如下:

How to Apply WebLogic Server (WLS) Patches Using Smart Update

    安装补丁命令的语法:   

    ./bsu.sh -prod_dir=<WL_HOME> -patchlist=<patchID> -verbose -install

     示例如下:

How to Apply WebLogic Server (WLS) Patches Using Smart Update

    检查补丁是否安装的命令的语法:

    ./bsu.sh -prod_dir=<WL_HOME> -status=applied -verbose -view

    示例如下:

How to Apply WebLogic Server (WLS) Patches Using Smart Update

  3,重要一点,切记切记,安装前一定要卸载掉之前的PSU,否则会打补丁失败

  Removing a patch

  ./bsu.SH -remove -patchlist=<PATCH_ID> -prod_dir=<WL_HOME> -profile -verbose -log=D:\patchlog.txt

  示例如下:

How to Apply WebLogic Server (WLS) Patches Using Smart Update

 

  如果不先卸载之前的补丁,会出现下面的异常

 How to Apply WebLogic Server (WLS) Patches Using Smart Update

How to Apply WebLogic Server (WLS) Patches Using Smart Update

上一篇:常用正则表达式—手机号码


下一篇:【Git-error】Your local changes to the following files would be overwritten by checkout