注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

mylotustips的博客

IBM Lotus协作产品家族经验分享

 
 
 

日志

 
 
关于我

欢迎大家使用SR向IBM800提交问题http://www.ibm.com/support/servicerequest 可以随时查看问题状态,上传文件

网易考拉推荐

如何静默安装IBM Connections的iFix  

2015-09-07 12:42:52|  分类: SocialBusiness |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

问题:如何静默安装IBM Connections支持提供的iFix,如LO84818(针对手机应用分配待办事宜无法搜索姓名的修订程序)

环境:Windows 2008 R2, Connections 4.5 CR4

解答:

请按以下步骤进行操作:

1. 请将IBM Connections支持提供的iFix拷贝至指定的路径,以Windows为例,请自行修改蓝色标记的参数

installDir

c:\IBM\Connections\

Connections的程序路径

fixDir

c:\IBM\Connections\updateInstaller\fixes\

存放Connections iFix的路径

fixes

LO84818

如果要安装一系列的补丁,请用半角逗号隔开

wasUserId

admin

WAS管理员账号

wasPassword

admin

WAS管理员密码

featureCustomizationBackedUp

yes

定制的文件是否已备份

databaseSchemaUpdatesHaveBeenCompleted

yes

数据库Schema是否已升级

 

2. 在命令行提示符下输入:

UNIX环境:

  • 输入su回车
  • 输入root密码,回车
  • 输入cd /opt/IBM/Connections/updateInstaller 回车
  • 输入>updateSilent.sh -fix -install -installDir /opt/IBM/Connections -fixDir /opt/IBM/Connections/updateInstaller/fixes -fixes LO84818 -wasUserId admin -wasPassword admin -featureCustomizationBackedUp yes -databaseSchemaUpdatesHaveBeenCompleted yes 回车

Windows环境:

c:\IBM\Connections\updateInstaller>updatesilent.bat -fix -install -installDir c:\IBM\Connections\ -fixDir c:\IBM\Connections\updateInstaller\fixes\ -fixes LO84818 -wasUserId admin -wasPassword admin -featureCustomizationBackedUp yes -databaseSchemaUpdatesHaveBeenCompleted yes

 

如果提示:

需要设置环境变量WAS_HOME,指向WAS的安装路径,如:

UNIX 环境:

export WAS_HOME=/opt/IBM/WebSphere/AppServer/

Windows环境:

set WAS_HOME=C:\IBM\WebSphere\AppServer

正常情况下,返回的结果例如:

Start of [ updatesilent.bat ]

Build 20131020_0747

 

Setting permissions on c:\IBM\CONNEC~1\\version

Launch: com.ibm.websphere.update.silent.UpdateInstaller

[1]: -fix

[2]: -install

[3]: -installDir

[4]: c:\IBM\Connections\

[5]: -fixDir

[6]: c:\IBM\Connections\updateInstaller\fixes\

[7]: -fixes

[8]: LO84818

[9]: -wasUserId

[10]: admin

[11]: -wasPassword

[12]: admin

[13]: -featureCustomizationBackedUp

[14]: yes

[15]: -databaseSchemaUpdatesHaveBeenCompleted

[16]: yes

System file encoding: Cp1252

Set encoding: console

Console encoding set; checking file encoding.

File encoding is Cp1252; updating to Cp850.

Updating encoding

Locating target class: com.ibm.websphere.update.silent.UpdateInstaller

Locating main method

Building proper arguments

Invoking main method

Fix update specified

Installation specified

Fix directory: c:\IBM\Connections\updateInstaller\fixes

Fix: LO84818

Target product directory: c:\IBM\Connections

Copyright (c) IBM Corporation 2002, 2013; All rights reserved.

IBM Connections

Update Installer Version 4.5.0.0, Dated 10/20/13

 

Customer has backed up the customization for IBM Connections applications.

Customer has been updated Database Schema according to the documentation.

Image Repository:

DTD Directory : c:\IBM\Connections\version\dtd

Repository Dir: c:\IBM\Connections\updateInstaller\fixes

Image Repository: prepare ...

Image Repository: setJarFiles ...

Image Repository: setJarFiles ... complete

Image Repository: setEFixImages ...

Image Repository: setEFixImages ... efix ID: LO79662

Image Repository: setEFixImages ... efix ID: LO84818

Image Repository: setEFixImages ... efix ID: LO78429-IC4500-CR04-Activities

Image Repository: setEFixImages ... efix ID: LO78429-IC4500-CR04-Blogs

Image Repository: setEFixImages ... efix ID: LO78429-IC4500-CR04-Bookmarks

Image Repository: setEFixImages ... efix ID: LO78429-IC4500-CR04-CCM

Image Repository: setEFixImages ... efix ID: LO78429-IC4500-CR04-Common

Image Repository: setEFixImages ... efix ID: LO78429-IC4500-CR04-Communities

Image Repository: setEFixImages ... efix ID: LO78429-IC4500-CR04-Container

Image Repository: setEFixImages ... efix ID: LO78429-IC4500-CR04-Files

Image Repository: setEFixImages ... efix ID: LO78429-IC4500-CR04-Forums

Image Repository: setEFixImages ... efix ID: LO78429-IC4500-CR04-Help

Image Repository: setEFixImages ... efix ID: LO78429-IC4500-CR04-Homepage

Image Repository: setEFixImages ... efix ID: LO78429-IC4500-CR04-Metrics

Image Repository: setEFixImages ... efix ID: LO78429-IC4500-CR04-Mobile

Image Repository: setEFixImages ... efix ID: LO78429-IC4500-CR04-MobileAdmin

Image Repository: setEFixImages ... efix ID: LO78429-IC4500-CR04-Moderation

Image Repository: setEFixImages ... efix ID: LO78429-IC4500-CR04-News

Image Repository: setEFixImages ... efix ID: LO78429-IC4500-CR04-Profiles

Image Repository: setEFixImages ... efix ID: LO78429-IC4500-CR04-Proxy

Image Repository: setEFixImages ... efix ID: LO78429-IC4500-CR04-Search

Image Repository: setEFixImages ... efix ID: LO78429-IC4500-CR04-Wikis

Image Repository: setEFixImages ... complete

Image Repository: prepare ... complete

No coreqs; not mandatory; answering true.

efixDriver, product-coreq not exist, not required for efix LO84818

Testing OR product prereqs

Testing OR prereq [ 0 ]

Testing for product: mobile: mobile

Pass on product build date

Pass on product build date

Product matches

Testing AND product prereqs

Testing OR product prereqs

No OR product prereqs; answering true

Product prereqs were satisfied.

 

Building graph ...

Creating node for efix: LO84818

Processing prereqs of LO84818

Building graph ... done

Performing sort ...

Processing any node: LO84818

Emitting tail node: LO84818

Removing terminal node: LO84818

No current tail node.

Expanding factor nodes ...

Sorting factor: LO84818

Adding driver: LO84818

Expanding factor nodes ... done

Driver [ 0 ]: LO84818

Testing efix component prereqs.

Testing efix (efix) component prereqs: LO84818

Total component updates: 1

Removing component updates that unsatisfy component-prereq Checking

Testing efix component prereqs: LO84818: Done, returning true

Testing efix component prereqs: Done

Install Prerequisite Report:

 

EFixes:

EFix: LO84818

 

EFixes (install order):

EFix: LO84818

 

Install prerequisite disatisfaction:

 

No coreqs; not mandatory; answering true.

efixDriver, product-coreq not exist, not required for efix LO84818

Testing OR product prereqs

Testing OR prereq [ 0 ]

Testing for product: mobile: mobile

Pass on product build date

Pass on product build date

Product matches

Testing AND product prereqs

Testing OR product prereqs

No OR product prereqs; answering true

Product prereqs were satisfied.

 

Building graph ...

Creating node for efix: LO84818

Processing prereqs of LO84818

Building graph ... done

Performing sort ...

Processing any node: LO84818

Emitting tail node: LO84818

Removing terminal node: LO84818

No current tail node.

Expanding factor nodes ...

Sorting factor: LO84818

Adding driver: LO84818

Expanding factor nodes ... done

Driver [ 0 ]: LO84818

Testing efix component prereqs.

Testing efix (efix) component prereqs: LO84818

Total component updates: 1

Removing component updates that unsatisfy component-prereq Checking

Testing efix component prereqs: LO84818: Done, returning true

Testing efix component prereqs: Done

Install Prerequisite Report:

 

EFixes:

EFix: LO84818

 

EFixes (install order):

EFix: LO84818

 

Install prerequisite disatisfaction:

 

Task 1 out of 3; Begin com.ibm.websphere.update.ptf.InstallerNLS:prefix.efix.ins

tallcom.ibm.websphere.update.ptf.InstallerNLS:prepare.update.install

Task 1 out of 3; End com.ibm.websphere.update.ptf.InstallerNLS:prefix.efix.insta

llcom.ibm.websphere.update.ptf.InstallerNLS:prepare.update.install

Task 2 out of 3; Begin com.ibm.websphere.update.ptf.InstallerNLS:prefix.efix.ins

tallcom.ibm.websphere.update.ptf.InstallerNLS:component.update.install

Quiet Mode: Logging to c:\IBM\Connections\version\log\20150907_121331_LO84818_mo

bile_install.log

com.ibm.websphere.update.delta.CopyFileAction@9d93575a.checkSrcFile::srcFileName

== c:\IBM\Connections\mobile/mobile/mobile/work/config/LO84818_mobile_update_cf

g.xml

com.ibm.websphere.update.delta.CopyFileAction@9d93575a.checkDestFile::destFileNa

me == c:\IBM\Connections\mobile/mobile/mobile/config/includes/LO84818_mobile_upd

ate_cfg.xml

com.ibm.websphere.update.delta.CopyFileAction@e4e4354e.checkSrcFile::srcFileName

== c:\IBM\Connections\updateResultPattern.txt

com.ibm.websphere.update.delta.CopyFileAction@e4e4354e.checkDestFile::destFileNa

me == c:\IBM\Connections\version/updateResultPattern.txt

os.name=Windows Server 2008 R2

platformList=Windows

os.name=Windows Server 2008 R2

platformList=NonWindows

.*@@update-ear-success@@.*

Task 2 out of 3; End com.ibm.websphere.update.ptf.InstallerNLS:prefix.efix.insta

llcom.ibm.websphere.update.ptf.InstallerNLS:component.update.install

Task 3 out of 3; Begin com.ibm.websphere.update.ptf.InstallerNLS:prefix.efix.ins

tallcom.ibm.websphere.update.ptf.InstallerNLS:complete.update.install

Task 3 out of 3; End com.ibm.websphere.update.ptf.InstallerNLS:prefix.efix.insta

llcom.ibm.websphere.update.ptf.InstallerNLS:complete.update.install

Fix installation completed successfully.

UpdateInstaller.puiReturnCode is 0

 

End of [ updatesilent.bat ]

3. 如果安装失败的话,请查阅安装日志文件(被写入以下路径):

C:\IBM\Connections\version\log\20150907_121331_LO84818_mobile_install.log

4. 安装完成后,通过WAS控制台重启相应的应用程序,使更改生效。

5. 要卸载已经安装的iFix,请输入:

c:\IBM\Connections\updateInstaller>updatesilent.bat -fix -uninstall -installDir

c:\IBM\Connections\ -fixDir c:\IBM\Connections\updateInstaller\fixes\ -fixes LO8

4818 -wasUserId admin -wasPassword admin -featureCustomizationBackedUp yes -data

baseSchemaUpdatesHaveBeenCompleted yes

...

Testing uninstall blocking: OK

 

Uninstall Prerequisite Report:

 

EFixes:

EFix: LO84818

 

EFixes (uninstall order):

EFix: LO84818

 

Uninstall prerequisite disatisfaction:

 

Testing EFix Uninstall Prerequisites: Complete

Task 1 out of 3; Begin com.ibm.websphere.update.ptf.InstallerNLS:prefix.efix.uni

nstallcom.ibm.websphere.update.ptf.InstallerNLS:prepare.update.uninstall

Task 1 out of 3; End com.ibm.websphere.update.ptf.InstallerNLS:prefix.efix.unins

tallcom.ibm.websphere.update.ptf.InstallerNLS:prepare.update.uninstall

Task 2 out of 3; Begin com.ibm.websphere.update.ptf.InstallerNLS:prefix.efix.uni

nstallcom.ibm.websphere.update.ptf.InstallerNLS:component.update.uninstall

Quiet Mode: Logging to c:\IBM\Connections\version\log\20150907_122820_LO84818_mo

bile_uninstall.log

os.name=Windows Server 2008 R2

platformList=Windows

os.name=Windows Server 2008 R2

platformList=NonWindows

Task 2 out of 3; End com.ibm.websphere.update.ptf.InstallerNLS:prefix.efix.unins

tallcom.ibm.websphere.update.ptf.InstallerNLS:component.update.uninstall

Task 3 out of 3; Begin com.ibm.websphere.update.ptf.InstallerNLS:prefix.efix.uni

nstallcom.ibm.websphere.update.ptf.InstallerNLS:complete.update.uninstall

Task 3 out of 3; End com.ibm.websphere.update.ptf.InstallerNLS:prefix.efix.unins

tallcom.ibm.websphere.update.ptf.InstallerNLS:complete.update.uninstall

Fix uninstallation completed successfully.

UpdateInstaller.puiReturnCode is 0

 

End of [ updatesilent.bat ]

 

参考文档

updateSilent command

http://www-01.ibm.com/support/knowledgecenter/SSYGQH_5.0.0/admin/migrate/r_updatelc_command.dita

Setting the WAS_HOME environment variable before updating

http://www-01.ibm.com/support/knowledgecenter/SSYGQH_5.0.0/admin/migrate/t_set_was-home.dita

  评论这张
 
阅读(193)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017