Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Spacewalk: The Red Hat Satellite Project: Your open source solution for Linux systems management (Fedora, CentOS, SLE and Debian)
Spacewalk: The Red Hat Satellite Project: Your open source solution for Linux systems management (Fedora, CentOS, SLE and Debian)
Spacewalk: The Red Hat Satellite Project: Your open source solution for Linux systems management (Fedora, CentOS, SLE and Debian)
Ebook357 pages2 hours

Spacewalk: The Red Hat Satellite Project: Your open source solution for Linux systems management (Fedora, CentOS, SLE and Debian)

Rating: 0 out of 5 stars

()

Read preview

About this ebook

The purpose of this book is to share with readers the best practices for Spacewalk implementation and management, a top level project that helps to manage Linux devices (Fedora, CentOS, Debian and SLE).

Reading the book you will be able to install and manage Spacewalk, manage and monitor servers and/or workstations of your environment, keep available errata to registered systems updated and applied, perform auditing routines in all servers (based on OpenSCAP), perform advance network management of Spacewalk, implement a complete management per command line and generate several reports that can be used as environment performance indicators.

It's a great and essential book for professionals who work directly with management and / or Linux environments support as well as for professionals who are passionate about computing in general.
LanguageEnglish
PublisherBRASPORT
Release dateApr 13, 2017
ISBN9788574527451
Spacewalk: The Red Hat Satellite Project: Your open source solution for Linux systems management (Fedora, CentOS, SLE and Debian)

Related to Spacewalk

Related ebooks

System Administration For You

View More

Related articles

Reviews for Spacewalk

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    Spacewalk - Waldirio Manhães Pinheiro

    2.3

    1

    Proposal and First Steps

    1.1. Proposal

    The proposal of this book is to introduce a tool able to manage different kinds of Operating system, centrally and with high control over the environment. Spacewalk currently supports the following operating systems: CentOS, Debian, SUSE and Fedora. On this book We will focus only in CentOS, but all the Spacewalk concepts and features can be applied in all other operating systems.

    By implementing this environment, we will have some servers and clients as follows:

    • router.network.biz

    IP address 192.168.56.254

    NAT head router

    • spacewalk.network.biz

    IP address 192.168.56.200

    Spacewalk 2.2

    • proxy.network.biz

    IP Address 192.168.56.201

    Spacewalk Proxy

    • spacewalk2.network.biz

    IP Address 192.168.56.202

    Spacewalk 2.2/ISS – Inter Satellite Synchronization

    • storage.network.biz

    IP address 192.168.56.250

    DNS server and DHCP

    • node1.network.biz

    IP address 192.168.56.100

    • node2.network.biz

    IP address 192.168.56.101

    • deskx.network.biz

    IP address 192.168.56.102

    • centos7.network.biz

    IP address 192.168.56.103

    At the end of this book, you will be able to implement Spacewalk, with all its functionalities and without any major problem, and have a more detailed knowledge of both the tool and the concept. During the reading, at some parts that requires more attention, I will quote good implementation practices - that can vary from case to case, but we will take into consideration an ideal environment.

    According to the previous image, all examples and implementations are carried out concerning the equipments which are on the dotted line. We will not present configuration examples of the external environments such as DHCP, DNS and NAT.

    1.2. Spacewalk Project

    Where does the Spacewalk project come from? Red Hat, for being an open source company, takes as its premise the idea of having to all its Enterprise products (those that have subscriptions and offer the client a number of benefits such as base, knowledge, updates, support, etc.) an associated project, and this , receive a direct contribution of the community around the world.

    The Spacewalk, also known as the RHN Satellite & RHN Proxy upstream product, was established in June 2008 and since then has attracted systems administrators and developers around the world who contribute directly, with feedback on the project, or by changing codes, making continuous improvement.

    We can say that Spacewalk is currently with many features, due to its development time and ongoing contribution offering a more reliable environment for those who wish to implement it. It is a constantly developed environment, so, we must take care because if any implementation is incomplete and/or a bug, it can directly impact your environment Nowadays there are two main sites that can be accessed for information about Spacewalk project. The first is the Spacewalk Project (http://www.spacewalkproject.org/) where you will find project information, features, project print screens, what Spacewalk can do, discussion lists, and another important information.

    The second link project is currently on https://fedorahosted.org/spacewalk/ and contains information on how the project is going on, new planned features, documentation, downloads, and questions and answers, that’s it :a series of information and communication channels that will help you with Spacewalk.

    One advice: if you want to be updated and/or to be in touch with the team using and giving the necessary assistance/support Spacewalk, visit the link http://spacewalk.redhat.com/communicate.html. Basically you will have access via e-mail, emails already answered, 24 hours a day freenode chat (irc.freenode.net/#spacewalk), that means, a good communication channel and help to your possible doubts.

    And finally, a link which I believe is the pot of gold, due to the amount of experiences shared, https://www.redhat.com/archives/spacewalk-list/. On this site visitors can read all the posted messages and answered, which is a very important to know the project and what is happening since the beginning.

    Here is part of it, but the content can be viewed by subject, date or author. It is possible to download the file for the month of interest.

    1.3. Basic Concepts

    I will show you some basic concepts and technical features, that will help us on this book.

    1.3.1. Centralized Management

    Nowadays a major problem for organizations is how to keep their environment stable, with good control of installed packages and properly updated, total control of errata, safety rules properly verified, among others important points. This is the main problem that occurs in the environment, as clients begin to work with 1 Linux machine, and suddenly they are with 5 ... 10 ... ok, this way is good to manage, but in a short time, the same environment has increased to 50 machines, and on that time is gets difficult to manage these equipments, since all treatment should be performed on a Script way.

    And now on a series of scripts is created, with different ways of access, often without result log - and a very important point: if any machine on your network is turned off, the routine performed by the administrator will not be scheduled for later execution, losing that way, the information of the equipment.

    The idea is to present a solution for managing Linux servers centrally. Note that the facility to manage 1 server will be the same to manage 10, 100 or even 5000 servers. This is the one of the most important strong point of Spacewalk and one of the most interesting.

    1.3.2. RPM Packages

    Why use the RPM package and not the famous tarball (.tar) or .zip ? I usually talk to several system administrators and developers friends, and many assure the idea that the creation of packages is not required, since .tar or .zip is simple, just extract and it is ready. I always try to show the good points and failure points when not working with packages. I can list many, but I will list a few on the following table:

    Anyway, we could spend a full chapter making comparisons and we would always find reasons to adopt a package manager. Note that in other distributions, the extension of the package is different, but the concept remains the same regardless of the packer.

    1.4. Installing

    1.4.1. Prerequisites

    To implement our environment, we will use one server with 4GB RAM and 220 GB hard drive. We will use the operating system CentOS 6.5 with CentOS repositories and Spacewalk.

    The server should respond by FQDN and not only by the hostname. The ideal way is that this setting could be done in the name server (DNS).

    1.4.2. Server installing

    We will carry out the installation of CentOS server only with the Minimal package,that will keep the server lighter and with more resources available for Spacewalk. It will be necessary to download CentOS .iso. Please visit http://www.centos.org/download/ and download it - at this point, you have the option of downloading by http or torrent. In particular, I prefer torrent, owing to the great number of peers, which can make your iso download much faster.

    After downloading iso, if you would like to install on a physical machine, you must burn it to a DVD and then boot it from the DVD drive. If you choose to install on a virtual machine, you can use the .iso file directly.

    To implement our environment, I am installing on a virtual machine using Virtual Box virtualization environment .

    On Initial screen, select the option Install or upgrade an existing system and press Enter.

    At that point you will be prompted to perform a media test. Select Skip and press Enter.

    On the next screen select Next

    On the next screen, select which language you want to install. We will choose English (English), and then click Next.

    On the next screen, select your keyboard. Click Next.

    In the screen below we are being questioned about what types of devices will be involved in the installation. Select Basic Storage Devices and click Next.

    The next screen is just a warning that all data will be erased from the disk. Click Yes, discard any data to

    Enjoying the preview?
    Page 1 of 1