ご了承
とりあえず、プロセスの起動ができるようになっただけで
わかっていないことだらけです。
追加情報があり次第、追記していく予定です。
どうぞ、ご了承ください。
準備
環境
# uname -a
Linux jnavi-dev 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release
CentOS release 6.5 (Final)
# mkdir /var/ace
# touch /var/ace/sdconf.rec
# echo CLIENT_IP=192.168.xxx.xxx > /var/ace/sdconf.rec
# chmod 755 /var/ace
# chmod 755 /var/ace/sdconf.rec
# export VAR_ACE=/var/ace
httpdの停止
# /etc/init.d/httpd stop
プロセスの確認
# ps auxww | grep rpc
rpc 1075 0.0 0.0 18976 708 ? Ss Aug07 0:01 rpcbind
rpcuser 1093 0.0 0.0 23348 384 ? Ss Aug07 0:00 rpc.statd
root 22020 0.0 0.0 0 0 ? S Aug08 0:00 [rpciod/0]
root 22021 0.0 0.0 0 0 ? S Aug08 0:00 [rpciod/1]
注)CentOS6
では、portmap
ではなくなり、rpcbind
が起動しています。
インストール
ダウンロード
EMC2からダウンロード
展開
# unzip WebAgent_713_x64_All_Apache_128_01201414.zip
# unzip WebAgent_71_Apache22_RHEL5_64_128_01201414.zip
# cd CD
# mv rhel-5.1-x86-64/*.* ../
rsawebagent.tar
がinstall
と同じディレクトリにいる必要があったので、tar
を移動します。
rhel-5.1
になっていますが、インストールできます。
くわしくは、install
を読んでください。(426行目あたり)
# echo CLIENT_IP=192.168.xxx.xxx > sdopts.rec
# ./install
(利用規約を読んだら)
Do you accept the License Terms and Conditions stated above? (Accept/Decline) [D]A
Enter Directory where sdconf.rec is located [/var/ace]
./install: line 418: [: : integer expression expected
./install: line 426: [: : integer expression expected
./install: line 426: [: : integer expression expected
Please enter the path for the Apache installation directory [/etc/httpd]
Please enter the path for the Apache Configuration File [/etc/httpd/conf/httpd.conf]
Please enter the path for the Apache httpd binary file [/usr/sbin/httpd]
The Web Agent will be installed in the /etc/httpd/rsawebagent directory.
Now installing the Web Agent for Apache Server Files.
This may take several minutes.
確認
# tail /etc/httpd/conf/httpd.conf
###### BEGIN_RSA_BLOCK
###### WARNING: DO NOT EDIT THIS BLOCK. ANYTHING ADDED WILL BE REMOVED BY
###### THE NEXT INSTALLATION OF RSA WEB AGENT
include /etc/httpd/rsawebagent/rsawebagent.conf
###### END_RSA_BLOCK
起動
# /etc/init.d/httpd start
# ps auxww | grep rpc
rpc 1075 0.0 0.0 18976 708 ? Ss Aug07 0:01 rpcbind
rpcuser 1093 0.0 0.0 23348 384 ? Ss Aug07 0:00 rpc.statd
root 22020 0.0 0.0 0 0 ? S Aug08 0:00 [rpciod/0]
root 22021 0.0 0.0 0 0 ? S Aug08 0:00 [rpciod/1]
apache 28056 0.0 0.0 6588 304 ? S 13:05 0:00 aceapi_rpc_server
apache 28057 0.0 0.0 6588 756 ? S 13:05 0:00 aceapi_rpc_server
ひとまず、ここまで。