テストに使用する AIX ホスト上で、応答ファイルを作成します。 応答ファイルは、このファイルでサイレント インストールされるすべてのエージェント用の仕様を提供します。
サイレント エージェント インストール用の応答ファイルを作成する方法
pkgask -r response_filename.rsp -d ca-elmagent.pkg
Select package(s) you wish to process (or 'all' to process all packages). (default: all) [?,??,q]: Do you agree to the above license terms? [Yes or No] (No): Enter the hostname/IP of the ELM server : Enter ELM server authentication code : Enter the ELM Agent username (root): Enter the full path to the ca-elmagent root directory (/opt/CA/ELMAgent): Do you want to configure default connectors?[Yes or No] (Yes): Enter default connectors configuration file path :
確認メッセージが表示されます。
EULA=Y ELM_SERVER=172.24.36.107 BASEDIR=/opt/CA/ELMAgent AUTH_CODE=my_authentication_key AGENT_USER=elmagentusr DEFAULT_CONNECTORS=/usr/mydir INST_MSGFILE=/tmp/install_ca-elm.msg.EN INST_LOGFILE=/tmp/install_ca-elmagent.030410.1749.log
UNIX サーバでエージェントのサイレント インストールを起動できます。 このエージェント インストール用の値で構成されている応答ファイルを使用します。 サイレント インストールを実行するには、root ユーザとしてログインする必要があります。 <install directory> には、ca-elmagent.pkg および ca-elmagent.rsp ファイルが存在する必要があります。
サイレント インストールを起動する前に、応答ファイルの設定を確認します。 応答ファイルに AGENT_USER の値として root 以外が指定されている場合は、その名前を持つ権限レベルの低いユーザがこのホストで定義されていることを確認します。 応答ファイルに DEFAULT_CONNECTORS 用のパスが含まれる場合は、Connectors.xml がパスに存在することを確認します。
サイレント インストールを起動する方法
sh install_ca-elmagent.sh –s ca-elmagent.rsp
エージェントは、応答ファイルに記録したときに指定した設定を使用してインストールされます。
Installation of <ca-elmagent> was successful.
| Copyright © 2010 CA. All rights reserved. | このトピックについて CA Technologies に電子メールを送信する |