EDM コンポーネントのセットアップ¶
管理サーバーで、下記手順にしたがってセットアップを行います。
インストール¶
-
以下のコマンドを実行します。
# cd edm_manager/Ansible/linux # tar xfv ./EDM_Install_backend.tar # cd backend -
以下のコマンドを実行します。
# vi hosts_inventory全行削除した上で、以下のとおり入力します。(IP アドレスで指定します。「localhost」やホスト名での指定はできません)
[PostgreSQL] 127.0.0.1 ansible_connection=local [EDM] 127.0.0.1 ansible_connection=local [tomcat] -
OpenSSL のインストールを行います。
「初期設定 (管理サーバー)」にてEPELリポジトリが導入済みの場合、以下のコマンドを順に実行します。
# yum install openssl11-libsRHEL8 の場合
# dnf install compat-openssl10 libaio -
製品デフォルトの設定値から変更が必要な場合は以下のコマンドを実行します。
# vi conf.yml以下の設定値を変更可能です。
設定項目 説明 edm.postgresql.admin_user PostgreSQL管理者ユーザ名 edm.postgresql.admin_pass PostgreSQL管理者パスワード edm.postgresql.inst_dir PostgreSQLインストールディレクトリ
(デフォルト値:/usr)edm.postgresql.port PostgreSQL起動ポート番号
(デフォルト値:5432)edm.postgresql.database.user EDM用データベースのユーザ名 edm.postgresql.database.pass EDM用データベースのパスワード edm.http.msg_store_listen_port メッセージストアコンポーネントの起動ポート番号
(デフォルト値:22524)edm.http.inventory_listen_port 構成情報管理コンポーネントの起動ポート番号
(デフォルト値:22527)edm.http.dist_listen_port 配布管理コンポーネントの起動ポート番号
(デフォルト値:22528) -
以下のコマンドを実行します。
# ansible-playbook -i hosts_inventory site.yml実行結果が「failed=0」となっていることを確認します。
-
以下のコマンドを実行します。
# vi /opt/nec/pf/edm/manager/conf/edm_inventory.propertiesexport.dirの行と、export.urlの行を、それぞれ以下のように変更します。構成情報をエクスポート先のフォルダを指定します。
export.dir=/etc/nginx/htmlエクスポートしたファイルをWebサーバで取得する際のURLを指定します。
export.url=http://ホスト名 -
以下のコマンドを実行します。
# vi /opt/nec/pf/edm/manager/conf/edm_dist.propertieslog.file_server.urlの行を、以下のように変更します。log.file_server.url=http://ログファイルサーバ/api/v1/backend/file/collection -
以下のコマンドを実行します。
# systemctl stop edm_dist # systemctl stop edm_inventory # systemctl start edm_inventory # systemctl start edm_dist -
以下のコマンドを実行し、各サービスがenabledになっていることに加えて、起動している(
Active: active (running)になっている)ことを確認します。# systemctl status postgresql-14 # systemctl status edm_messagestore # systemctl status edm_inventory # systemctl status edm_dist