GithubHelp home page GithubHelp logo

capsule-maintain's Introduction

capsule-maintain

Install/upgrade a Satellite6 Capsule server using ansible playbooks.

Getting Started

What you need:

  • Satellite 6.2/6.3 server. The Satellite server will be used as the Ansible control node.

  • Target server(s) for Capsule installation/upgrade.

  • Password-less ssh from Satellite to all required capsules.

  • You can run install/upgrade/update on one or more capsule servers at one time.

  • Make sure that the required firewall ports are opened in your Capsule and Satellite servers.

  • Activation Key / Content view with the following repos:

    • rhel-7-server-rpms
    • rhel-server-rhscl-7-rpms
    • rhel-7-server-satellite-capsule-<capsule_version>-rpms
    • rhel-7-server-satellite-tools-<capsule_version>-rpms

    where capsule_version is 6.2 or 6.3.

Supported Scenarios:

  • Capsule 6.2/6.3 installation.
  • Capsule 6.2 to 6.3 upgrade.
  • Capsule z-stream update.

Setup

On the Satellite server:

  1. Install ansible package. Ansible should be installed from Satellite maintenance channel.

      # subscription-manager repos --enable rhel-7-server-satellite-maintenance-6-rpms
      # yum install -y ansible
  2. git clone this project.

  # git clone https://github.com/RedHatSatellite/capsule-maintain.git
  # cd capsule-install
  1. Copy the vars configuration file.
  # cp vars.sample.yml vars.yml
  1. In vars.yml file, update the following parameters:

    • capsule_version - Version of the capsule (6.2 or 6.3)to be installed.
    • satellite_org_label - (applicable to install only) Label of the Satellite Organization to which the capsule needs to be registered.
    • satellite_activation_key - (applicable to install only) Activation key of the Satellite Organization to which the capsule needs to be registered.
  2. Update inventory file with the capsule(s) hostname(s).

  3. Use the Capsule install or upgrade playbook:

  • Capsule Install:
      ansible-playbook capsule-install-playbook.yml
  • Capsule Upgrade (y-stream):
      ansible-playbook capsule-upgrade-playbook.yml
  • Capsule Update (z-stream):
      ansible-playbook capsule-update-playbook.yml

capsule-maintain's People

Contributors

h4xr avatar sthirugn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.