Changes between Version 21 and Version 22 of epics/Archiver Appliance インストールメモ


Ignore:
Timestamp:
09/06/24 16:15:12 (7 months ago)
Author:
Shuei Yamada
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TabularUnified epics/Archiver Appliance インストールメモ

    v21 v22  
    1616* あらかじめdnfでインストールしておくもの
    1717 * gcc
    18  * patch
     18 * httpd
    1919 * zenity
    2020* AAインストール後の運用については[[wiki:Archiver Appliance 運用メモ|Archiver Appliance 運用メモ]]を参照のこと
     
    231231}}}
    232232
    233 インストールスクリプトはpython2向けに書かれているので、python3でも動くように[]パッチをあてる
     233インストールスクリプトが呼び出すdeployMultipleTomcats.pyはpython2向けに書かれているので、python3でも動くようにパッチをあてる
     234* あるいはパッチ済みのものをこのページのAttachmentsからダウンロードして使う
    234235{{{
    235236cd ~epics/archappl/workspace
     
    428429* JAVA_OPTSを修正する
    429430  * -XX:MaxPermSize=128Mを削除する
    430   * --Xmx4Gと-Xms1Gはメモリサイズに合わせて適宜調整する
     431  * -Xmx4Gと-Xms1Gはメモリサイズに合わせて適宜調整する
    431432
    432433=== アプライアンスの設定 ===
     
    490491}}}
    491492
    492 * /opt/rh/httpd24/root/etc/httpd/conf/httpd.confには触らないようにする
    493 * ドキュメントのディレクトリにあるファイルをconf.dにコピーして適宜書き換える
    494 {{{
    495 # cd /opt/rh/httpd24/root/etc/httpd/conf.d
    496 # cp /opt/rh/httpd24/root/usr/share/doc/httpd24-httpd-2.4.18/httpd-default.conf 00-default.conf
    497 # cp /opt/rh/httpd24/root/usr/share/doc/httpd24-httpd-2.4.18/httpd-mpm.conf 00-mpm.conf
     493* /etc/httpd/conf/httpd.confには触らないようにする
     494* Attachmentsにあるファイルを/etc/httpd/conf.dにコピーして適宜書き換える
     495* 00-default.conf
     496* 00-proxy.conf
    498497}}}
    499498
     
    529528}}}
    530529
    531 == httpd24の自動起動の設定 ==
    532 {{{
    533 # chkconfig --add httpd24-httpd
    534 # chkconfig --level 3 httpd24-httpd on
    535 # chkconfig --level 4 httpd24-httpd on
    536 # chkconfig --level 5 httpd24-httpd on
     530== httpdの自動起動の設定 ==
     531{{{
     532# systemctl enable httpd
     533# systemctl start httpd
    537534}}}
    538535
    539536= AAの起動と確認 =
    540537== 自動起動/自動停止させる ==
    541 /etc/rc.d/init.dに起動スクリプトを用意し、マシンの起動時/停止時にepicsアカウントでAAが自動的に起動/停止するようにする。
    542 
    543 インストールスクリプトが作った起動スクリプトをrcスクリプトに書き換えたものが
    544 {{{
    545 /jk/dev/operation_app/jkControl/ArchiverAppliance/deploy/sampleStartup.sh
    546 }}}
    547 に置いてある。/etc/rc.d/init.dにコピーし、chkconfigを使って適切にsymlinkを張る:
    548 {{{
    549 # cp /jk/dev/operation_app/jkControl/ArchiverAppliance/deploy/sampleStartup.sh /etc/rc.d/init.d/archappl
    550 # /sbin/chkconfig --add archappl
    551 # chkconfig --level 3 archappl on
    552 # chkconfig --level 4 archappl on
    553 # chkconfig --level 5 archappl on
     538systemdのUnitファイルを用意し、マシンの起動時/停止時にepicsアカウントでAAが自動的に起動/停止するようにする。
     539* Attatchmentから
     540
     541{{{
     542# cp archappl.service /etc/systemd/systemc
     543# systemctlc enable archappl.service
    554544}}}
    555545
    556546== 手動で起動する ==
    557547{{{
    558 # /etc/rc.d/init.d/archappl start
     548# systemctl start archappl
    559549}}}
    560550
     
    570560
    571561= 参考 =
    572 * [https://slacmshankar.github.io/epicsarchiver_docs/installguide.html Archiver Appliance Install Guide]
    573 * [https://slacmshankar.github.io/epicsarchiver_docs/admin.html Archiver Appliance Administration Guide]
    574 * [https://slacmshankar.github.io/epicsarchiver_docs/api/mgmt_scriptables.html Business Process Logics for scripting]
     562* [https://epicsarchiver.readthedocs.io/en/latest/sysadmin/installguide.html Archiver Appliance Install Guide]
     563* [https://epicsarchiver.readthedocs.io/en/latest/sysadmin/admin.html Archiver Appliance Administration Guide]
     564* [https://epicsarchiver.readthedocs.io/en/latest/developer/mgmt_scriptables.html Business Process Logics for scripting]
    575565* [https://github.com/jeonghanlee/epicsarchiverap-sites Site-specific (ESS) EPICS Archiver Appliance Deployment (for CentOS7)]