4.5. Ansible Automation Platform 2.4로 업그레이드


Ansible Tower의 인스턴스를 Ansible Automation Platform 2.4로 업그레이드하려면 원래 Tower 인스턴스에서 새 Tower 인스턴스로 인벤토리 파일을 복사하고 설치 프로그램을 실행합니다. Red Hat Ansible Automation Platform 설치 프로그램은 사전-2.4를 감지하고 업그레이드 프로세스를 계속하기 위해 업그레이드된 인벤토리 파일을 제공합니다.

  1. Red Hat Ansible Automation Platform 다운로드 페이지에서 Red Hat Ansible Automation Platform의 최신 설치 프로그램을 다운로드합니다.
  2. 파일을 추출합니다.

    $ tar xvzf ansible-automation-platform-setup-<latest_version>.tar.gz
    Copy to Clipboard Toggle word wrap
  3. Ansible Automation Platform 설치 디렉터리로 이동합니다.

    $ cd ansible-automation-platform-setup-<latest_version>/
    Copy to Clipboard Toggle word wrap
  4. 원래 인스턴스의 인벤토리 파일을 최신 설치 프로그램의 디렉터리에 복사합니다.

    $ cp ansible-tower-setup-3.8.x.x/inventory ansible-automation-platform-setup-<latest_version>
    Copy to Clipboard Toggle word wrap
  5. setup.sh 스크립트를 실행합니다.

    $ ./setup.sh
    Copy to Clipboard Toggle word wrap

    설정 스크립트를 일시 중지하고 "pre-2.x" 인벤토리 파일이 감지되었지만 원래 인스턴스를 계속 업그레이드할 수 있도록 inventory.new.ini 라는 새 파일을 제공합니다.

  6. 텍스트 편집기를 사용하여 inventory.new.ini 를 엽니다.

    참고

    설치 스크립트를 실행하여 설치 관리자는 원래 인벤토리 파일에서 [automationcontroller]로 이름 변경과 같은 몇 가지 필드를 수정했습니다.

  7. 관련 변수, 노드 및 관련 노드-노드 피어 연결을 할당하여 자동화 메시를 구성하도록 새로 생성된 inventory.new.ini 파일을 업데이트합니다.

    참고

    자동화 메시 토폴로지 설계는 환경의 자동화 요구 사항에 따라 다릅니다. 가능한 모든 시나리오에 대한 설계를 제공하기 위해 이 문서의 범위를 벗어납니다. 다음은 자동화 메시 설계의 예입니다.

    홉 노드를 활용하는 세 개의 노드로 구성된 표준 컨트롤 플레인이 있는 인벤토리 파일의 예:

    [automationcontroller]
    control-plane-1.example.com
    control-plane-2.example.com
    control-plane-3.example.com
    
    [automationcontroller:vars]
    node_type=control 
    1
    
    peers=execution_nodes 
    2
    
    
    
    [execution_nodes]
    execution-node-1.example.com peers=execution-node-2.example.com
    execution-node-2.example.com peers=execution-node-3.example.com
    execution-node-3.example.com peers=execution-node-4.example.com
    execution-node-4.example.com peers=execution-node-5.example.com node_type=hop
    execution-node-5.example.com peers=execution-node-6.example.com node_type=hop 
    3
    
    execution-node-6.example.com peers=execution-node-7.example.com
    execution-node-7.example.com
    
    [execution_nodes:vars]
    node_type=execution
    Copy to Clipboard Toggle word wrap

    1
    일반 작업이 아닌 프로젝트 및 인벤토리 업데이트 및 시스템 작업을 실행하는 제어 노드를 지정합니다. 이러한 노드에서 실행 기능이 비활성화됩니다.
    2
    [execution_nodes] 그룹에서 노드 간 연결에 대한 피어 관계를 지정합니다.
    3
    트래픽을 다른 실행 노드로 라우팅하는 홉 노드를 지정합니다. 홉 노드는 자동화를 실행할 수 없습니다.
  8. 자동화 허브 API 토큰을 가져오거나 생성합니다.

    • automationhub_api_token 플래그를 사용하여 기존 API 토큰을 가져옵니다.

      automationhub_api_token=<api_token>
      Copy to Clipboard Toggle word wrap
    • generate_automationhub_token 플래그를 True:로 설정하여 새 API 토큰을 생성하고 기존 토큰을 무효화합니다.

      generate_automationhub_token=True
      Copy to Clipboard Toggle word wrap
  9. 자동화 메시를 위한 inventory.new.ini 구성을 완료한 후 inventory.new.ini 를 사용하여 설정 스크립트를 실행합니다.

    $ ./setup.sh -i inventory.new.ini -e @credentials.yml -- --ask-vault-pass
    Copy to Clipboard Toggle word wrap
  10. 설치가 완료되면 모든 자동화 컨트롤러 노드에서 Ansible Automation Platform 대시보드 UI에 로그인하여 Ansible Automation Platform이 성공적으로 설치되었는지 확인합니다.

추가 리소스

맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat