wiki:XAS
Last modified 11 months ago Last modified on 01/11/17 15:23:14

NAME

XAS - Middleware for Datacenter Operations

DESCRIPTION

XAS is middleware for datacenter operations. Every datacenter has those little one off scripts that perform some important task. Most of them were written on the fly, to automate some specific task. These scripts have grown organically, they may have actually become an important part of your operations and they are generally a pain to maintain. Most of these scripts are written in a shell language or an interpreted language such as Perl. They have some important characteristics:

  • They have no consistent command structure.
  • They are not documented.
  • They represent an investment of time and money.
  • They are the accumulated knowledge of how your operations really work.

If you are trying to pull your operations into the 21st century, you need to refactor those scripts. You could throw them out and restart, but that would be a waste of time and money. Your operations people have better things to do then rewrite everything from scratch. More importantly, you could choose a framework that helps you migrate those old scripts into something more modern. XAS is that framework, and it will help you to refactor those old Perl scripts into a modern code base.

XAS does this by providing a consistent framework to write your operations procedures. It is a layered environment that allows you to follow accepted practices for continuous integration and delivery of software.

UTILITIES

These utilities are provided with this package.

xas-rotate

A simple file rotation program. Primarily used on platforms that don't provide a file rotation utility.

xas-rotate --help

This will display a brief help screen on command options.

xas-rotate --manual

This will display the utilities man page.

xas-alert

A will send a XAS alert from the command line. This is useful when you want to send an alert from a script.

xas-alert --help

This will display a brief help screen on command options.

xas-alert --manual

This will display the utilities man page.

xas-init

A simple utility that will create directories and set permissions for /var/run/xas and /var/lock/xas. This is needed on systemd systems where those directories are mounted as tmpfs volumes and go away on system reboots.

xas-init --help

This will display a brief help screen on command options.

xas-init --manual

This will display the utilities man page.

SEE ALSO

XAS::Base

XAS::Class

XAS::Constants

XAS::Exception

XAS::Factory

XAS::Utils

XAS::Apps::Alert

XAS::Apps::Init

XAS::Apps::Rotate

XAS::Lib::App

XAS::Lib::App::Daemon

XAS::Lib::App::Service

XAS::Lib::App::Service::Unix

XAS::Lib::App::Service::Win32

XAS::Lib::Batch

XAS::Lib::Batch::Job

XAS::Lib::Batch::Queue

XAS::Lib::Batch::Server

XAS::Lib::Batch::Interface::Torque

XAS::Lib::Curl::FTP

XAS::Lib::Curl::HTTP

XAS::Lib::Iterator

XAS::Lib::Lockmgr

XAS::Lib::Lockmgr::Filesystem

XAS::Lib::Lockmgr::Flom

XAS::Lib::Lockmgr::KeyedMutex

XAS::Lib::Lockmgr::Nolock

XAS::Lib::Log

XAS::Lib::Log::Console

XAS::Lib::Log::File

XAS::Lib::Log::Json

XAS::Lib::Log::Syslog

XAS::Lib::Mixins::Bufops

XAS::Lib::Mixins::Configs

XAS::Lib::Mixins::Handlers

XAS::Lib::Mixins::Keepalive

XAS::Lib::Mixins::Process

XAS::Lib::Mixins::Process::Unix

XAS::Lib::Mixins::Process::Win32

XAS::Lib::Modules::Alerts

XAS::Lib::Modules::Email

XAS::Lib::Modules::Environment

XAS::Lib::Modules::Spool

XAS::Lib::Net::Client

XAS::Lib::Net::Server

XAS::Lib::Net::POE::Client

XAS::Lib::Pidfile

XAS::Lib::Pidfile::Unix

XAS::Lib::Pidfile::Win32

XAS::Lib::Pipe

XAS::Lib::Pipe::Unix

XAS::Lib::POE::PubSub

XAS::Lib::POE::Session

XAS::Lib::POE::Service

XAS::Lib::Process

XAS::Lib::Process::Unix

XAS::Lib::Process::Win32

XAS::Lib::RPC::JSON::Client

XAS::Lib::RPC::JSON::Server

XAS::Lib::Service

XAS::Lib::Service::Unix

XAS::Lib::Service::Win32

XAS::Lib::Spawn

XAS::Lib::Spawn::Unix

XAS::Lib::Spawn::Win32

XAS::Lib::SSH::Client

XAS::Lib::SSH::Client::Exec

XAS::Lib::SSH::Client::Shell

XAS::Lib::SSH::Client::Subsystem

XAS::Lib::SSH::Server

XAS::Lib::Stomp::Frame

XAS::Lib::Stomp::Parser

XAS::Lib::Stomp::POE::Client

XAS::Lib::Stomp::POE::Filter

XAS::Lib::Stomp::Utils

XAS::Lib::WS::Base

XAS::Lib::WS::Exec

XAS::Lib::WS::Manage

XAS::Lib::WS::RemoteShell

XAS::Lib::WS::Transfer

SUPPORT

Additional support is available at:

  http://scm.kesteb.us/trac

AUTHOR

Kevin L. Esteb, <kevin@…>

LICENSE AND COPYRIGHT

Copyright (c) 2012-2017 Kevin L. Esteb

This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.