- Community Home
- >
- Servers and Operating Systems
- >
- HPE BladeSystem
- >
- BladeSystem - General
- >
- Chassis Inventory question
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2015 01:48 PM
04-13-2015 01:48 PM
Chassis Inventory question
Susan had a chassis inventory question:
************
Is there a simple one stop report that would give my customer the blade inventory of all their chassis, on a per chassis basis?
**********
input from David:
************
And…. If Customer has a number of chassis and/or wants to repeat from time to time, it would pay to automate the collection process:
On a linux (cue the chant: linux, linux, linux J) server, have a script along the lines of:
#! /bin/bash
DATE=$(date +%Y%m%d)
CHASSIS_DATA_DIR=/var/tmp
for chassis in chassis1 chassis2 …..
do
ssh Administrator@${chassis} show all > ${CHASSIS_DATA_DIR}/${chassis}_${DATE}
done
and repeat for the VC (with a consistent DNS name, even if by adding cname records), it could all be trivially done in a single for loop.
NOTE:
- If the Customer does not want to use the Admin account, create another acct, eg chassis-data or similar
- TO avoid the password manual entry, on the linux machine run ssh-keygen, and upload the idrsa key into all the chassis (one time action per user acct/source system).
This will robotically collect the data at about 2 mins per chassis.
Can even cron-collect for further automation, and historical reference / change detection (that get’s slightly more complicated…).
Very handy. Cheers
************
Other comments?