|
Books > Computing & IT > Computer hardware & operating systems > Operating systems & graphical user interfaces (GUIs) > Unix, Unix Linux & Unix TCL/TK
Create high availability clusters to enhance system performance
using CentOS 7 About This Book * Master the concepts of high
performance and high availability to eliminate performance
bottlenecks * Maximize the uptime of services running in a CentOS 7
cluster * A step-by-step guide that will provide knowledge of
methods and approaches to optimize the performance of CentOS
clusters Who This Book Is For This book is targeted at system
administrators: those who want a detailed, step-by-step guide to
learn how to set up a high-availability CentOS 7 cluster, and those
who are looking for a reference book to help them learn or refresh
the necessary skills to ensure their systems and respective
resources are utilized optimally. No previous knowledge of
high-availability systems is needed, though the reader is expected
to have at least some degree of familiarity with any spin-off of
the Fedora family of Linux distributions, preferably CentOS. What
You Will Learn * Install a CentOS 7 cluster and network
infrastructure * Configure firewall, networking, and clustering
services and settings * Set up and test a HAC (high-availability
cluster) to host an Apache web server and a MariaDB database server
* Monitor performance and availability * Identify bottlenecks and
troubleshoot issues * Improve performance and ensure high
availability In Detail CentOS is the enterprise level Linux OS,
which is 100% binary compatible to Red Hat Enterprise Linux (RHEL).
It acts as a free alternative to RedHat's commercial Linux
offering, with only a change in the branding. A high performance
cluster consists in a group of computers that work together as one
set parallel, hence minimizing or eliminating the downtime of
critical services and enhancing the performance of the application.
Starting with the basic principles of clustering, you will learn
the necessary steps to install a cluster with two CentOS 7 servers.
We will then set up and configure the basic required network
infrastructure and clustering services. Further, you will learn how
to take a proactive approach to the split-brain issue by
configuring the failover and fencing of the cluster as a whole and
the quorum of each node individually. Further, we will be setting
up HAC and HPC clusters as a web server and a database server. You
will also master the art of monitoring performance and
availability, identifying bottlenecks, and exploring
troubleshooting techniques. At the end of the book, you'll review
performance-tuning techniques for the recently installed cluster,
test performance using a payload simulation, and learn the
necessary skills to ensure that the systems, and the corresponding
resources and services, are being utilized to their best capacity.
Style and approach An easy-to-follow and step-by-step guide with
hands-on instructions to set up real-world simple cluster scenarios
that will start you on the path to building more complex
applications on your own.
Master the Powerful Management Tools of Oracle Solaris 11.2 Govern
a reliable and secure enterprise cloud computing infrastructure
using the detailed information contained in this Oracle Press
guide. Oracle Solaris 11 System Administration Handbook offers
end-to-end deployment, configuration, and management instruction.
Find out how to install and update Oracle Solaris 11.2, migrate
data and applications, build bare-metal and virtual networks, and
tune performance. This comprehensive resource fully explains new
features, including OpenStack cloud support, Unified Archive
provisioning, and Oracle Solaris Zones. * Install Oracle Solaris
11.2 on SPARC and x86 systems * Virtualize and sandbox applications
with Oracle Solaris Zones * Handle the complete software lifecycle
to ensure systems are appropriately patched * Create both physical
and virtual networks and control bandwidth * Implement reliable,
secure infrastructure with automated compliance reporting * Install
software from pre-configured Unified Archives or custom IPS
repositories * Manage configuration on a large scale with SMF,
Puppet, and RAD * Administer cloud-based compute, storage, and
networking resources using OpenStack
Unleash the power of shell scripts to solve real-world problems by
breaking through the practice of writing tedious code About This
Book * Learn how to efficiently and effectively build shell scripts
and develop advanced applications with this handy book * Develop
high quality and efficient solutions by writing professional and
real-world scripts, and debug scripts by checking and shell tracing
* A step-by-step tutorial to automate routine tasks by developing
scripts from a basic level to very advanced functionality Who This
Book Is For This book is ideal for those who are proficient at
working with Linux and who want to learn about shell scripting to
improve their efficiency and practical skills. By the end of this
book, you will be able to confidently use your own shell scripts in
the real world. What You Will Learn * Familiarize yourself with the
various text filtering tools available in Linux * Combine the
fundamental text and file processing commands to process data and
automate repetitive tasks * Understand expressions and variables
and how to use them practically * Automate decision-making and save
a lot of time and effort of revisiting code * Get to grips with
advanced functionality such as using traps and signals and using
dialogs to develop screens * Start up a system and customize a
Linux system * Take an in-depth look at regular expressions and
pattern matching to understand the capabilities of scripting In
Detail Linux is the one of the most powerful and universally
adopted OSes. Shell is a program that gives the user direct
interaction with the operating system. Scripts are collections of
commands that are stored in a file. The shell can read this file
and act on the commands as if they were typed on the keyboard.
Shell scripting is used to automate day-to-day administration, and
for testing or product development tasks. This book covers Bash,
GNU Bourne Again SHell, preparing you to work in the exciting world
of Linux shell scripting. We start with an introduction to the
Shell environment and explain basic commands used in Shell. Next we
move on to check, kill, and control the execution of processes in
Linux OS. Further, we teach you about the filter tools available in
Linux and explain standard output and standard errors devices. Then
we will ensure you understand Shell's interpretation of commands
and get a firmer grasp so you use them in practice. Next, you'll
experience some real-world essentials such as debugging and perform
Shell arithmetic fluently. Then you'll take a step ahead and learn
new and advanced topics in Shell scripting, such as starting up a
system and customizing a Linux system. Finally, you'll get to
understand the capabilities of scripting and learn about Grep,
Stream Editor, and Awk. Style and approach This practical book will
go from the very basics of shell scripting to complex, customized
automation. The idea behind this book is to be as practical as
possible and give you the look and feel of what real-world
scripting is like.
Acquire skills to manage your IT infrastructure effectively with
Puppet About This Book * Breeze through Puppet 4's key features and
performance improvements to bring real advantage to your IT
infrastructure * Discover Puppet best practices to help you avoid
common mistakes and pitfalls * Blitz through easy-to-follow
examples to get to grips with Puppet and succeed with everyday IT
automation Who This Book Is For If you're an experienced IT
professional and a new Puppet user, this book will provide you with
all you need to know to go from installation to advanced automation
in no time at all. Get a rapid introduction to the essential topics
and then tackle Puppet for advanced automation. What You Will Learn
* Write and employ individual Puppet manifests * Understand how
Puppet implements system abstraction * Deploy the Puppet master and
agents * Leverage and extend Facter to summarize your systems *
Create modular and reusable Puppet code * Extend your code base
with publicly available Puppet modules * Use the modern features of
Puppet 4 * Separate logic from data using Hiera In Detail Puppet is
a configuration management tool that allows you to automate all
your IT configurations, giving you control over what you do to each
Puppet Agent in a network, and when and how you do it. In this age
of digital delivery and ubiquitous Internet presence, it's becoming
increasingly important to implement scalable and portable
solutions, not only in terms of software, but also the systems that
run it. The free Ruby-based tool Puppet has established itself as
the most successful solution to manage any IT infrastructure.
Ranging from local development environments through complex data
center setups to scalable cloud implementations, Puppet allows you
to handle them all with a unified approach. Puppet 4 Essentials,
Second Edition gets you started rapidly and intuitively as you'll
put Puppet's tools to work right away. It will also highlight the
changes associated with performance improvements as well as the new
language features in Puppet 4. We'll start with a quick
introduction to Puppet to get you managing your IT systems quickly.
You will then learn about the Puppet Agent that comes with an
all-in-one (AIO) package and can run on multiple systems. Next,
we'll show you the Puppet Server for high-performance communication
and passenger packages. As you progress through the book, the
innovative structure and approach of Puppet will be explained with
powerful use cases. The difficulties that are inherent to a complex
and powerful tool will no longer be a problem for you as you
discover Puppet's fascinating intricacies. By the end of the book,
you will not only know how to use Puppet, but also its companion
tools Facter and Hiera, and will be able to leverage the
flexibility and expressive power implemented by their tool chain.
Style and approach This quick learning guide for Puppet follows a
practical approach, starting with some basic commands that you can
use from the shell right away. It comprises a series of examples
that will get you familiar with the most important aspects of
Puppet in a flash.
Learn shell scripting to solve complex shell-related problems and
to efficiently automate your day-to-day tasks About This Book *
Familiarize yourself with the terminal by learning about powerful
shell features * Automate tasks by writing shell scripts for
repetitive work * Packed with easy-to-follow, hands-on examples to
help you write any type of shell script with confidence Who This
Book Is For This book is aimed at administrators and those who have
a basic knowledge of shell scripting and who want to learn how to
get the most out of writing shell scripts. What You Will Learn *
Write effective shell scripts easily * Perform search operations
and manipulate large text data with a single shell command *
Modularize reusable shell scripts by creating shell libraries *
Redirect input, output, and errors of a command or script execution
to other streams * Debug code with different shell debugging
techniques to make your scripts bug-free * Manage processes, along
with the environment variables needed to execute them properly *
Execute and embed other languages in your scripts * Manage
creation, deletion, and search operations in files In Detail Shell
scripting is a quick method to prototype complex applications or
problems. Shell scripts are a collection of commands to automate
tasks, usually those for which the user has a repeated need, when
working on Linux-based systems. Using simple commands or a
combination of them in a shell can solve complex problems easily.
This book starts with the basics, including essential commands that
can be executed on Linux systems to perform tasks within a few
nanoseconds. You'll learn to use outputs from commands and
transform them to show the data you require. Discover how to write
shell scripts easily, execute script files, debug, and handle
errors. Next, you'll explore environment variables in shell
programming and learn how to customize them and add a new
environment. Finally, the book walks you through processes and how
these interact with your shell scripts, along with how to use
scripts to automate tasks and how to embed other languages and
execute them. Style and approach This book is a pragmatic guide to
writing efficient shell programs, complete with hands-on examples
and tips.
|
|