Thursday 18 April 2013

Script to calculate Virtual Processor to Core Ratio on POWER

There have been excellent presentations by Rosa Davidson about Virtual Processors on the AIX Virtual Users group.  If you haven't seen these, check them out at

 https://www.ibm.com/developerworks/mydeveloperworks/wikis/home?lang=en#/wiki/Power%20Systems/page/AIX%20Virtual%20User%20Group%20-%20USA

 One of the things Rosa covered in the presentation was making sure you understand your ratio of Virtual Processors to Cores on the entire frame and understanding the ratio of Entitled CPU to Virtual Processor on each LPAR.

I think this is a great idea, and wrote a script to automate the process of creating a report that shows this information.

The script creates a report like this:



You run the script from AIX or Linux server that has SSH keys setup with your HMC.   You then just specify the HMC name (or user@hmc) with the "-h" flag and the managed system name with the "-m" flag.

Here is the link to download the script:   https://www.ibm.com/developerworks/mydeveloperworks/blogs/brian/resource/vp-report.tgz

0 blogger-disqus:

Post a Comment