IT/linux

Ansible Controller 설치 (bundle) - Trial License

울티마 2023. 6. 20. 11:45

-  Ansible의 Web GUI 컨트롤로인 AAP(Ansible Automation Platform) 설치

0. 사전 작업

- Redhat OS repository 구성

- 테스트 목적일 경우 selinux, firewalld 종료

- 일반 사용자 등록 (: ansible)

- 일반 사용자의 su 또는 sudo 등록

- 설치 > controller로의 ssh key 접속

  # ssk-keygen

  # ssh-copy-id <controller>

  OR

  # ssh <controller> sshkey 저장 (known_hosts)

 

1. RHAPP bundle 다운로드 설치

(1) Redhat에서 설치 프로그램/이미지 다운로드 및 설치

# ls

bundle  collections  group_vars  images  inventory  licenses  README.md  setup.sh

 

# vim inventory

[automationcontroller]

192.168.11.10

...

[all:vars]

admin_password='admin'

pg_password='postgre'

...

registry_url=''

registry_username=''

registry_password=''

 

# ./setup.sh

PLAY [Post-install insights setup] *********************************************

 

TASK [include_role : ansible.automation_platform_installer.misc] ***************

skipping: [192.168.11.10] => {"changed": false, "skip_reason": "Conditional result was False"}

 

PLAY RECAP *********************************************************************

192.168.11.10              : ok=347  changed=174  unreachable=0    failed=0    skipped=197  rescued=0    ignored=7

localhost                  : ok=3    changed=1    unreachable=0    failed=0    skipped=1    rescued=0    ignored=0

 

The setup process completed successfully.

Setup log saved to /var/log/tower/setup-2022-11-14-04:23:17.log.

 

(2) Web 접속

- Subscription 등록해야 사용 가능 : 평가판 요청

2. AAP(Ansible Automation Platform) 서브스크립션 할당 메니페스트 다운로드

   - "Purchased Products"에서 서브스크립션 확인 : 60 trial 확인

   - 서브스크립션 할당 > " 서브스크립션 할당 만들기"

   - 이름 및 유형 정의

- Subscription 추가 : "서브스크립션 추가"

   - 60 trial 라이선스(100 객체)에서 필요한 수량만큼 할당

     테스트 대상 VM 수량에 맞춰 "인타이틀먼트" 수량 입력 : 최대 100대

   - "메니페스트 내보내기" : xxx.zip의 압축 파일 형태로 다운로드

 

3. 서브스크립션 매니페스토 파일 등록 로그인

  - 앞서 다운로드 받은 zip 파일 형태의 매니페스토 파일 업로드

   - 이 후 기본 진

 

   - 완료 후 대시보드 확인

'IT > linux' 카테고리의 다른 글

X11 forwarding over SSH  (0) 2023.06.22
nfs server with selinux  (0) 2023.06.22
openviswitch port mirror  (0) 2022.06.15
tip : disk full  (0) 2022.06.10
extending xfs filesystem (xfs 확장)  (0) 2022.06.10