sassoftware / SAS-lsm

The SAS-lsm utility provides consistent management of single- or multi-tiered SAS-related services for UNIX/Linux deployments from a single shell script.
Apache License 2.0
8 stars 4 forks source link

SAS_lsm

Overview

The SAS_lsm utility provides consistent management of single- or multi-tiered SAS-related services for UNIX/Linux deployments from a single shell script. Consistent management includes tier dependency checking, starting, stopping, status checking (tier- and deployment-based), error log collection and analysis. You can execute the script from the operating system command line, via a scheduled cron process, or via your operating system reboot facility.

What's New

SAS_lsm 4.1 adds the following features and improvements:

Prerequisites

Installation

Refer to detailed installation documentation provided in package as Install-Update-Guide.pdf.

Running

The usage function inside SAS_lsm describes how to use the utility. A basic version of this is copied below.

[bash | sh] ${PROG} [-a <NUM> | -o <NUM> | -s] -c <CFG> [-e]

NOTE: Only one action option (-a, -o, and -s) can be run in a single command.

Examples

Start services from, above, and including tier 1: bash SAS_lsm -a 1 -c /path/to/config-file.cfg

Stop services down to (and including) tier 4. Perform log analysis if errors are encountered: bash SAS_lsm -o 4 -c /path/to/config-file.cfg -e

Check tier status for all tiers in configuration file: bash SAS_lsm -s -c /path/to/config-file.cfg

Contributing

We welcome your contributions! Please read CONTRIBUTING.md for details on how to submit contributions to this project.

License

This project is licensed under the Apache 2.0 License.

Additional Resources