This is an old revision of the document!
ldom.ksh
Author | Vernon Everett |
---|---|
Compatibility | Xymon but might work elsewhere - it's simple enough |
Requirements | T-series hardware running LDoms |
Download | None |
Last Update | 2010-06-10 |
Description
This script was born from a need to give people visibility of the LDoms and available resources, but without giving them access to the control domain to gather this information.
Xymon, being available, seemed the most logical place to display the information for those who needed it.
Added CPU usage graphing to assist with capacity planning. Calculates and graphs an “Effective Number of VCPUs Utilised”.
Installation
Client side
Copy ldom.ksh in hobboit/xymon ext directory (usually in HOBBITCLIENTHOME/ext) on the control domain.
Give it appropriate sudo, SUID or RBA access to allow the hobbit/xymon user to run ldm
Add the following to clientlaunch.cfg
[ldom] ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg CMD $HOBBITCLIENTHOME/ext/ldom.ksh LOGFILE $HOBBITCLIENTHOME/logs/ldom.log INTERVAL 5m
Server side
No changes required
Source
ldom.ksh
Known Bugs and Issues
Let me know if you spot any.
To Do
Solve world hunger.
Credits
I acted alone, I swear it!
Changelog
- 2010-06-10
- Initial release