Spacewalk: The Red Hat Satellite Project: Your open source solution for Linux systems management (Fedora, CentOS, SLE and Debian)
()
About this ebook
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.
Related to Spacewalk
Related ebooks
Jump Start PHP Environment: Master the World's Most Popular Language Rating: 0 out of 5 stars0 ratingsOracle Digital Assistant: A Guide to Enterprise-Grade Chatbots Rating: 0 out of 5 stars0 ratingsLetters to a New Developer: What I Wish I Had Known When Starting My Development Career Rating: 0 out of 5 stars0 ratingsUnbeatable: The DEFINITIVE Guide on How to Deliver Your SAP S/4HANA Transformation without Breaking the Business Rating: 0 out of 5 stars0 ratingsYour Digital Learning Experience Pocketbook.: For Learning, Talent and Performance Leaders Rating: 0 out of 5 stars0 ratingsMigrating to MariaDB: Toward an Open Source Database Solution Rating: 0 out of 5 stars0 ratingsPro Microsoft Teams Development: A Hands-on Guide to Building Custom Solutions for the Teams Platform Rating: 0 out of 5 stars0 ratingsThe Fragile Methodology Rating: 0 out of 5 stars0 ratingsOrchestrating Experiences: Collaborative Design for Complexity Rating: 5 out of 5 stars5/5Devops in Practice: Reliable and automated software delivery Rating: 1 out of 5 stars1/5Author Experience Rating: 0 out of 5 stars0 ratingsMigrating to Azure: Transforming Legacy Applications into Scalable Cloud-First Solutions Rating: 0 out of 5 stars0 ratingsSOA for the Business Developer: Concepts, BPEL, and SCA Rating: 0 out of 5 stars0 ratingsPractical Full Stack Machine Learning: A Guide to Build Reliable, Reusable, and Production-Ready Full Stack ML Solutions Rating: 0 out of 5 stars0 ratingsXamarin.Forms Solutions Rating: 0 out of 5 stars0 ratingsDesigning Microservices with Django: An Overview of Tools and Practices Rating: 0 out of 5 stars0 ratingsGetting Started with Nano Server Rating: 0 out of 5 stars0 ratingsScalability Patterns: Best Practices for Designing High Volume Websites Rating: 0 out of 5 stars0 ratingsMastering Hibernate Rating: 0 out of 5 stars0 ratingsAdopt & Embrace Microsoft Teams: A manager's guide to communication, collaboration, and coordination with Microsoft Teams Rating: 0 out of 5 stars0 ratingsMonetizing Machine Learning: Quickly Turn Python ML Ideas into Web Applications on the Serverless Cloud Rating: 0 out of 5 stars0 ratingsSet Up and Manage Your Virtual Private Server: Making System Administration Accessible to Professionals Rating: 0 out of 5 stars0 ratingsPro .NET Memory Management: For Better Code, Performance, and Scalability Rating: 0 out of 5 stars0 ratingsLush's Hierarchy of Digital Transformation: A Prescription for Cloud Platform Value Rating: 0 out of 5 stars0 ratingsSustainable Software Architecture: Analyze and Reduce Technical Debt Rating: 0 out of 5 stars0 ratingsData Analysis for Corporate Finance: Building financial models using SQL, Python, and MS PowerBI Rating: 0 out of 5 stars0 ratings
System Administration For You
CompTIA A+ Complete Review Guide: Core 1 Exam 220-1101 and Core 2 Exam 220-1102 Rating: 5 out of 5 stars5/5Bash Command Line Pro Tips Rating: 5 out of 5 stars5/5Cybersecurity: The Beginner's Guide: A comprehensive guide to getting started in cybersecurity Rating: 5 out of 5 stars5/5Learn PowerShell in a Month of Lunches, Fourth Edition: Covers Windows, Linux, and macOS Rating: 0 out of 5 stars0 ratingsThe Complete Powershell Training for Beginners Rating: 0 out of 5 stars0 ratingsConfigMgr - An Administrator's Guide to Deploying Applications using PowerShell Rating: 5 out of 5 stars5/5Mastering Windows PowerShell Scripting Rating: 4 out of 5 stars4/5Practical Data Analysis Rating: 4 out of 5 stars4/5PowerShell: A Comprehensive Guide to Windows PowerShell Rating: 4 out of 5 stars4/5Learn Windows PowerShell in a Month of Lunches Rating: 0 out of 5 stars0 ratingsGit Essentials Rating: 4 out of 5 stars4/5Linux Command-Line Tips & Tricks Rating: 0 out of 5 stars0 ratingsLinux: Learn in 24 Hours Rating: 5 out of 5 stars5/5Linux Bible Rating: 0 out of 5 stars0 ratingsNetworking for System Administrators: IT Mastery, #5 Rating: 5 out of 5 stars5/5Bash for Fun: Bash Programming: Principles and Examples Rating: 0 out of 5 stars0 ratingsLearn SQL Server Administration in a Month of Lunches Rating: 3 out of 5 stars3/5Learning Linux Shell Scripting Rating: 4 out of 5 stars4/5Arduino: A Quick-Start Beginner's Guide Rating: 4 out of 5 stars4/5Improve your skills with Google Sheets: Professional training Rating: 0 out of 5 stars0 ratingsLearn PowerShell Scripting in a Month of Lunches Rating: 0 out of 5 stars0 ratingsLearn Git in a Month of Lunches Rating: 0 out of 5 stars0 ratingsEthical Hacking Rating: 4 out of 5 stars4/5Building a Plex Server with Raspberry Pi Rating: 0 out of 5 stars0 ratings
Reviews for Spacewalk
0 ratings0 reviews
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