ClusterInformationAggregationTool (CIAT)

This page is for a staff meeting presentation. Usage instructions can be found on the project repository.

Problem

  • ~140 nodes of the tembo cluster need to be added to inventory
    • Nodes are not all identical, minor subtleties
  • Helpful if barcode were written into BMC

Solution

Automate the one time task with a general purpose script in hope of future usefulness

Tech Stack

  • Python chosen as scripting language
    • I am familiar with it
    • High level features available ex. JSON Parsing
  • Salt Stack
    • Used to run script to collect information from all nodes (Salt selector "*")
    • Can be optionally used to associate barcodes with hostnames
  • lshw, lscpu
    • Simple tools to get system specs with JSON output
    • Available though most package managers
  • Input and output as CSV files
    • Easy to work with in python
    • Compatible with CSCF inventory

Usage

Repo Readme

Fill out example_data.csv

Links

Git Repo

RT

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatcsv example_data.csv r1 manage 57.2 K 2019-10-24 - 13:20 HaoYun  
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2019-10-24 - HaoYun
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback