导入已经安装的产品

安装新的installManager,导入已经安装的产品(向导或者命令行),然后使用iim进行管理

1,使用 Installation Manager 静默导入软件包

[root@portal01 tools]# ./imcl input input.xml

cat input.xml

<!-- Include XML encoding. -->
<?xml version=“1.0” encoding=“UTF-8”?> 

<!-- Response file attributes. -->
<agent-input >

<!-- Create the profile if it does not exist. -->
<profile installLocation='E:\IBM\WAS70' id='IBM WebSphere Application Server - Base'>
<data key='eclipseLocation' value='E:\IBM\WAS70\test'/>
<data key='cic.selector.nl' value='en'/>
</profile>
<import profile='IBM WebSphere Application Server - Base' type='WAS'/>

<!-- Specify a repository to retrieve installation files from. -->
<server>
<repository location='http://a.site.com/local/products/sample/20110915_1542/repository'/>
</server>

<!-- Add preferences. -->
<preference name='offering.service.repositories.areUsed' value='true' />
<preference name='com.ibm.cic.common.core.preferences.eclipseCache' value='D:\temp\20110908\share4' />
<preference name='com.ibm.cic.common.core.preferences.connectTimeout' value='30' />
<preference name='com.ibm.cic.common.core.preferences.readTimeout' value='30' />
<preference name='com.ibm.cic.common.core.preferences.downloadAutoRetryCount' value='0' />
<preference name='com.ibm.cic.common.core.preferences.ssl.nonsecureMode' value='false' />
<preference name='com.ibm.cic.common.core.preferences.http.disablePreemptiveAuthentication'  value='false' />
<preference name='com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts' value='true' />
<preference name='com.ibm.cic.common.core.preferences.searchForUpdates' value='false' />
<preference name='com.ibm.cic.common.core.preferences.import.enabled' value='true' />
<preference name='PassportAdvantageIsEnabled' value='false' />
</agent-input>

 

 

 

2,使用 Installation Manager 控制台导入软件包


导入已经安装的产品_第1张图片
 启用导入功能

[root@portal01 tools]# cat input.xml 
<?xml version="1.0" encoding="UTF-8"?>
<agent-input>
<preference name="com.ibm.cic.common.core.preferences.import.enabled" value='true'/>

</agent-input>
[root@portal01 tools]# ./imcl input input.xml 

 
导入已经安装的产品_第2张图片
 

目前导入只支持WebSphere Application Server,而且有版本限制。

你可能感兴趣的:(导入已经安装的产品)