Exastro IT Automation 설치(v1.5.0)
Exastro IT Automation이란?
Exastro IT Automation(이하 ITA로 표기)는 시스템 설정을 IaC(Infrastructure as Code)화하여 중앙 관리하기 위한 오픈 소스 프레임워크입니다.
기기 정보, 설정값, 작업 이력 등 시스템 구성에 관한 정보를 관리할 수 있으며, 그 값을 Excel 데이터로 출력할 수 있습니다. 또한 각 기기의 시스템 구축이나 운용 설정 등을 워크플로우로 관리 또는 실행하는 기능을 갖추고 다양한 PF 구축 툴과 연계가 가능하게 되어 있습니다.
이번에는 이 ITA의 설치와 동작 확인을 해보겠습니다.
작업환경
또한 이번에는 ITA 서버 자체를 대상으로 설정하는 구성을 구축할 예정입니다.
다음은 구성 환경 계획입니다.

설치 절차
이번에는 CentOS7에 ExastroSuite 커뮤니티 페이지에있는 ITA 올인원 (online) 설치 매뉴얼을 참조하여 설치합니다.
먼저, Github에서 필요한 자재를 다운로드합니다.
# wget https://github.com/exastro-suite/it-automation/releases/download/v1.5.0/exastro-it-automation-1.5.0.tar.gz
그런 다음 다운로드한 Zip 파일의 압축을 풀고 설치 스크립트의 권한을 변경합니다.
# tar zxf exastro-it-automation-1.5.0.tar.gz
설정 파일과 설치 쉘이 있는 디렉토리로 변경합니다.
# cd it-automation-1.5.0/ita_install_package/install_scripts
편집기에서 설정 파일(ita_builder_setting.txt)을 열고 편집합니다.
# vi ita_builder_setting.txt
ita_bulder_setting.txt# Select Operation System. ("CentOS7","CentOS8","RHEL7","RHEL8","RHEL7_AWS","RHEL8_AWS")
# e.g) linux_os:CentOS7
linux_os:CentOS7 # インストールするサーバのOS名を記入
#####################################################
#Only when you select linux_os with RHEL7 or RHEL8 # RHEL7 REEL8の場合は以下を適宜設定
# Enter the Red Hat user name and user password
# e.g) redhat_user_name:sample_user
redhat_user_name:
# e.g) redhat_user_password:sample_password
redhat_user_password:
# e.g) pool_id:samplePoolID
pool_id:
#####################################################
이번 도입하는 OS가 CentOS7이므로, linux_os:
이외의 설정을 실시할 필요는 없는 것 같습니다.
그런 다음 답변 파일 (ita_answers.txt)을 편집합니다.
# vi ita_answers.txt
ita_answers.txt#Select install mode. ("Install" or "Uninstall") # インストールモードの設定
# e.g) install_mode:Install
install_mode:Install # Installと記入 アンインストールの場合(Uninstall)
#Enter install directory. # インストールディレクトリの設定
# e.g) ita_directory:/exastro
ita_directory:/exastro # 全ユーザ参照可能ディレクトリを絶対パス指定
# Select language. ("en_US" or "ja_JP") # ITA画面表示の言語設定
# e.g) ita_language:en_US
ita_language:ja_JP # 日本語(ja_JP) 英語(en_US)
# Select Operation System. ("RHEL7" or "RHEL8") # ITAをインストールするOSの設定
# e.g) ita_os:RHEL8
ita_os:RHEL7 # RHEL7系(RHEL7)/ RHEL8系(RHEL8)
# Enter the MariaDB root user's password # MariaDBの設定
# e.g) db_root_password:sample_root_password
db_root_password:password # MariaDBのルートパスワード
# Decide the database name, username, and password for ITA.
# e.g) db_name:sample_db_name
db_name:SAMPLE # ITAで使用するDB名
# e.g) db_username:sample_db_username
db_username:admin # DBユーザ名
# e.g) db_password:sample_db_password
db_password:password # DBユーザのパスワード
# Select the target you need to install.
# yes : need
# no : no need
ita_base:yes
material:no
createparam:yes
hostgroup:yes
ansible_driver:yes
cobbler_driver:no
openstack_driver:no
terraform_driver:no
초기 값은 material
, cobbler_driver
, openstack_driver
, terraform_driver
설치 설정이 no
입니다.
설치하는 경우 설정을 yes
로 설정합니다.
설정 파일, 답변 파일 편집이 완료되면 설치 셸을 실행합니다.
# sh ita_builder_online.sh
INFO:Installation complete!
가 표시되면 설치가 완료된 것입니다.
에러등 발생하는 경우는, 로그 파일 격납 디렉토리(/(설치 자재 전개처)/ita_install_package/install_scripts/log/)아래에 있는 로그 파일(ita_builder.log, ita_installer.log)을 참조하면 좋을 것 같습니다.
동작 확인
설치 종료 후, 자 단말의 WindowsPC로부터 동작 확인을 해 봅니다.
WindowsPC에서 Google 크롬을 열고 http://(サーバのIPアドレス)
로 이동합니다.
ITA가 성공적으로 설치된 경우 아래와 같은 로그인 화면이 브라우저에 표시됩니다.

이상의 화면이 표시되면,
# wget https://github.com/exastro-suite/it-automation/releases/download/v1.5.0/exastro-it-automation-1.5.0.tar.gz
# tar zxf exastro-it-automation-1.5.0.tar.gz
# cd it-automation-1.5.0/ita_install_package/install_scripts
# vi ita_builder_setting.txt
# Select Operation System. ("CentOS7","CentOS8","RHEL7","RHEL8","RHEL7_AWS","RHEL8_AWS")
# e.g) linux_os:CentOS7
linux_os:CentOS7 # インストールするサーバのOS名を記入
#####################################################
#Only when you select linux_os with RHEL7 or RHEL8 # RHEL7 REEL8の場合は以下を適宜設定
# Enter the Red Hat user name and user password
# e.g) redhat_user_name:sample_user
redhat_user_name:
# e.g) redhat_user_password:sample_password
redhat_user_password:
# e.g) pool_id:samplePoolID
pool_id:
#####################################################
# vi ita_answers.txt
#Select install mode. ("Install" or "Uninstall") # インストールモードの設定
# e.g) install_mode:Install
install_mode:Install # Installと記入 アンインストールの場合(Uninstall)
#Enter install directory. # インストールディレクトリの設定
# e.g) ita_directory:/exastro
ita_directory:/exastro # 全ユーザ参照可能ディレクトリを絶対パス指定
# Select language. ("en_US" or "ja_JP") # ITA画面表示の言語設定
# e.g) ita_language:en_US
ita_language:ja_JP # 日本語(ja_JP) 英語(en_US)
# Select Operation System. ("RHEL7" or "RHEL8") # ITAをインストールするOSの設定
# e.g) ita_os:RHEL8
ita_os:RHEL7 # RHEL7系(RHEL7)/ RHEL8系(RHEL8)
# Enter the MariaDB root user's password # MariaDBの設定
# e.g) db_root_password:sample_root_password
db_root_password:password # MariaDBのルートパスワード
# Decide the database name, username, and password for ITA.
# e.g) db_name:sample_db_name
db_name:SAMPLE # ITAで使用するDB名
# e.g) db_username:sample_db_username
db_username:admin # DBユーザ名
# e.g) db_password:sample_db_password
db_password:password # DBユーザのパスワード
# Select the target you need to install.
# yes : need
# no : no need
ita_base:yes
material:no
createparam:yes
hostgroup:yes
ansible_driver:yes
cobbler_driver:no
openstack_driver:no
terraform_driver:no
# sh ita_builder_online.sh
를 입력하고 로그인 버튼을 클릭합니다.
설치 후 처음으로 로그인하면 "비밀번호 변경 화면"으로 전환되므로 적절한 초기 비밀번호를 변경합니다.
로그인 후 다음 화면이 정상적으로 표시되는지 확인합니다.

각 화면 기능에 대한 자세한 내용은 매뉴얼을 읽으면 이해하기 쉽습니다.
요약
이번에는 Exastro IT Automation의 설치 및 동작 확인을 실시했습니다.
다음은 IT Automation 빠른 시작을 참고하여 설치한 ITA를 실제로 사용하고 싶습니다.
관련 링크
색인
Reference
이 문제에 관하여(Exastro IT Automation 설치(v1.5.0)), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/standsetx/items/c0e4ed7c6a2c34b2f068텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)