在您的某个系统上,执行下列操作以记录将安装产品的响应文件:
IBMIM.exe -skipInstall "C:\temp\imRegistry" -record C:\temp\install_response_file.xml
./IBMIM -skipInstall /var/temp/imRegistry -record /var/temp/install_response_file.xml
./IBMIM -skipInstall user_home/var/temp/imRegistry -record user_home/var/temp/install_response_file.xml
提示:记录新响应文件时,可以指定 -skipInstall 参数。使用此参数具有下列益处:
有关更多信息,请阅读 Installation Manager 信息中心。
如果已经在系统的 WebSphere Application Server 安装版本上安装该产品,那么将显示一条消息,指示已安装该产品。要在另一个位置创建该产品的另一个安装版本,请单击继续。
该面板还会显示共享资源目录和磁盘空间信息。
限制:
/opt/ibm/edge/无法修改此路径。
C:\Program Files\IBM\edge\cachingproxy\
/opt/ibm/edge/lb/无法修改此路径。
C:\Program Files\loadbalancer\IBM\edge\lb\可以更改此安装路径的开始部分,但一定要考虑到 Installation Manager 要求您将产品安装到空目录 - 使用缺省路径时,该目录是 C:\Program Files\loadbalancer。该路径的 IBM\edge\lb 部分是硬编码的,无法修改。
例如:
IBMIM.exe -skipInstall "C:\temp\imRegistry" -keyring C:\IM\im.keyring -record C:\temp\keyring_response_file.xml
./IBMIM -skipInstall /var/temp/imRegistry -keyring /var/IM/im.keyring -record /var/temp/keyring_response_file.xml
./IBMIM -skipInstall user_home/var/temp/imRegistry -keyring user_home/var/IM/im.keyring -record user_home/var/temp/keyring_response_file.xml
有关更多信息,请阅读 Installation Manager 信息中心。
例如:
imcl.exe -acceptLicense input C:\temp\keyring_response_file.xml -log C:\temp\keyring_log.xml
./imcl -acceptLicense input /var/temp/keyring_response_file.xml -log /var/temp/keyring_log.xml
./imcl -acceptLicense input user_home/var/temp/keyring_response_file.xml -log user_home/var/temp/keyring_log.xml
有关密钥环文件的更多信息,请阅读 Installation Manager 信息中心。
例如:
imcl.exe -acceptLicense input C:\temp\install_response_file.xml -log C:\temp\install_log.xml -keyring C:\IM\im.keyring
./imcl -acceptLicense input /var/temp/install_response_file.xml -log /var/temp/install_log.xml -keyring /var/IM/im.keyring
./imcl -acceptLicense input user_home/var/temp/install_response_file.xml -log user_home/var/temp/install_log.xml -keyring user_home/var/IM/im.keyring
注意:
示例:以下是Load Balancer for IPv4的样本响应文件:
<?xml version="1.0" encoding="UTF-8"?> <agent-input acceptLicense='true'> <server> <repository location='C:\repositories\edge80\local-repositories'/> </server> <profile id='Load Balancer for IPV4 v8.0' installLocation='c:\program files\loadbalancer\ibm\edge\lb'> <data key='eclipseLocation' value=c:\program files\loadbalancer\ibm\edge\lb'/> <data key='user.import.profile' value='false'/> <data key='cic.selector.nl' value='cs,ja,es,zh_HK,en,zh_TW,pt_BR,it'/> </profile> <install modify='false'> <offering id='com.ibm.websphere.EDGELBIPV4.v80' version='8.0.0.0' profile='IBM WebSphere Edge Components: Load Balancer for IPV4 V8.0' features='Dispatcher,Load Balancer,Metric Server'/> </install> <preference name='com.ibm.cic.common.core.preferences.eclipseCache' value='C:\Program Files\IBM\IMShared'/> <preference value='30' name='com.ibm.cic.common.core.preferences.connectTimeout'/> <preference value='30' name='com.ibm.cic.common.core.preferences.readTimeout'/> <preference value='0' name='com.ibm.cic.common.core.preferences.downloadAutoRetryCount'/> <preference value='false' name='offering.service.repositories.areUsed'/> <preference value='false' name='com.ibm.cic.common.core.preferences.ssl.nonsecureMode'/> <preference value='false' name='com.ibm.cic.common.core.preferences.http.disablePreemptiveAuthentication'/> <preference value='true' name='com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts'/> <preference value='false' name='PassportAdvantageIsEnabled'/> <preference value='false' name='com.ibm.cic.common.core.preferences.searchForUpdates'/> </agent-input>
提示:
<preference value='false' name='offering.service.repositories.areUsed'/> <preference value='false' name='com.ibm.cic.common.core.preferences.searchForUpdates'/>
如果您选择不保存用于回滚的文件,那么可以通过在响应文件中将以下首选项:
<preference name='com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts' value='true'/>
更改为以下内容来阻止保存文件:
<preference name='com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts' value='false'/>