Redhat Satelitte health check

What is satelitte server?

Satellite 6 is the next generation Linux systems management tool and is the combined product of many open source projects, including Foreman, Katello, Pulp, Candlepin, and Puppet. Since all of these projects bring different featuresand functionality, the performance of your Satellite 6 server is essential.

What is capsule server?

The Red Satellite Capsule Server is a Satellite component that provides federated services to discover, provision, and configure hosts outside of the primary Satellite server. A Satellite Capsule Server provides the following features:
  • Pulp Server/Content Node features, including:
    • Repository synchronization
    • Content delivery

Why Healthcheck ?

Once we start scaling up datacenter, so as capsule server and managed nodes, its essential to have satelitte healthcheck tool.   It make sure to check all basic services, network ports..etc checked.

Any other tools?

There might be other tools. I find this useful and i customized it for my satelitte scale work. This is not officially supported one.

Usage:

 

  1. git clone https://github.com/boogiespook/sat6_healthCheck.git
  2. cd sat6_healthCheck
  3.  chmod 655 sat6_healthCheck.sh
  4.  Update credentials. mkdir ~/.hammer
    chmod 600 ~/.hammer
    echo << EOF >> /root/.hammer/cli_config.yml
    :foreman:
    :host: ‘https://$(hostname -f)’
    :username: ‘admin’
    :password: ‘password’
    EOF”
  5.  ./sat6_healthCheck.sh

Example Output:

  1. #######################################
    Satellite 6 Health Check Report
    #######################################
  2. ####################
    ## Checking umask ##
    ####################
  3. #######################
    ## Connection Status ##
    #######################
  4. ############################
    Checking Disk Partitions
    ############################”
  5. ###########################
    Checking Firewall Rules
    ###########################”
  6. #######################################
    ## Checking Satellite Configuration  ##
    #######################################
  7. #######################
    Checking OS Services
    #######################”
  8. #######################################
    Checking Katello/Satellite Services
    ######################################

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s