{"id":23331190,"url":"https://github.com/sassoftware/sas-lsm","last_synced_at":"2025-04-09T16:13:16.986Z","repository":{"id":50519318,"uuid":"265634440","full_name":"sassoftware/SAS-lsm","owner":"sassoftware","description":"The SAS-lsm utility provides consistent management of single- or multi-tiered SAS-related services for UNIX/Linux deployments from a single shell script. ","archived":false,"fork":false,"pushed_at":"2022-08-25T21:30:37.000Z","size":1931,"stargazers_count":8,"open_issues_count":0,"forks_count":4,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-09T16:13:12.552Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sassoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-20T17:10:20.000Z","updated_at":"2024-03-20T14:03:10.000Z","dependencies_parsed_at":"2022-09-07T11:20:49.941Z","dependency_job_id":null,"html_url":"https://github.com/sassoftware/SAS-lsm","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassoftware%2FSAS-lsm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassoftware%2FSAS-lsm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassoftware%2FSAS-lsm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassoftware%2FSAS-lsm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sassoftware","download_url":"https://codeload.github.com/sassoftware/SAS-lsm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065282,"owners_count":21041872,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-20T22:32:17.167Z","updated_at":"2025-04-09T16:13:16.956Z","avatar_url":"https://github.com/sassoftware.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SAS_lsm\n\n## Overview\n\nThe  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.\n\n### What's New\n\nSAS_lsm 4.1 adds the following features and improvements:\n\n* UserExit Management - Add capabilities to allow UserExit scripts to be called pre- or post- STATUS checks on a tier. \n* Platform LSF GRID Support - Deliver utility script to easily enable integration with Platform LSF GRID deployments.\n* Configuration File Wizard - Logic updates to check and catch additional user-errors when running the Wizard.\n* Documentation - Denote considerations when running SAS_lsm regularly via CRON or schedulers.\n\n### Prerequisites\n\n* Passwordless-SSH must be enabled (into the SAS Installation  User account on each machine of the deployment). This should be multi-directional to ensure full functionality.\n* The BASH and SH shells are supported. Use of BASH is highly recommended.\n\n### Installation\n\nRefer to detailed installation documentation provided in package as **Install-Update-Guide.pdf**. \n\n### Running\n\nThe usage function inside SAS_lsm describes how to use the utility. A basic version of this is copied below.\n\n`[bash | sh] ${PROG} [-a \u003cNUM\u003e | -o \u003cNUM\u003e | -s] -c \u003cCFG\u003e [-e]`\n\n* **-a NUM**     start deployment tier services from tier NUM to MAXTIERS\n* **-o NUM**     stop deployment tier services from MAXTIERS to tier NUM\n* **-s**         provide status of all deployment tier services\n* -**c CFG**     specify configuration file\n* **-e**         [OPTIONAL] extract potential tier error logs to a centralized location under !STATUSROOT/!CFG/\n\n*NOTE: Only one action option (-a, -o, and -s) can be run in a single command.*\n\n\n### Examples\n\n*Start services from, above, and including tier 1:* `bash SAS_lsm -a 1 -c /path/to/config-file.cfg`\n\n*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`\n\n*Check tier status for all tiers in configuration file:* `bash SAS_lsm -s -c /path/to/config-file.cfg`\n\n## Contributing\n\nWe welcome your contributions! Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to submit contributions to this project.\n\n* Please contribute changes on a function-based level. Update or add functions as found in the repository's \"lsm_components\" subdirectory. Use the make_lsm.bash script (in the repository root) to combine all function files to a master SAS_lsm script before pushing changes.\n\n## License\n\nThis project is licensed under the [Apache 2.0 License](LICENSE).\n\n## Additional Resources\n\n* [SAS Note 58231](http://support.sas.com/kb/58/231.html)\n* [SAS_lsm Demo Blog](https://communities.sas.com/t5/SAS-Communities-Library/The-SAS-lsm-Utility-Makes-it-Easy-to-Control-SAS-Servers-in-a/ta-p/418165)\n* [SGF 2017 Proceedings](http://support.sas.com/resources/papers/automating-management-unix-linux-multi-tiered-sas-services.pdf)\n* [SGF 2018 Proceedings](https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2018/1921-2018.pdf)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsassoftware%2Fsas-lsm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsassoftware%2Fsas-lsm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsassoftware%2Fsas-lsm/lists"}