Link to home
Start Free TrialLog in
Avatar of rammaghenthar
rammaghenthar

asked on

How to get paging space and memory for all lpars ?

Hi
                In our Implementation project we have around 450 lpars in around 12 managed systems configured with 3 HMCs. We are not alllowed to use ssh keygen to enable passwdless authentication for security reason. We need to get  paging space and memory allocated to all lpars for every week. Currently we are manually logging to all lpars and getting the memory and paging space information took around 30 hours. We need  answer to following question.
Do we able to get paging space through HMC ? as per my understanding it is not possible .if yes do we able to get any script to run on HMC and  get  paging space and memory size .
The output should show HMC IP, Managed system,lpar name and paging size and memory size.


2. Suppose if we could not use HMC . We have NIM server through which we can login to lpar and get paging space and memory info.
We need a script  which will get lparname and passwd from a file and login to lpar then get paging space and memory size  AND IFCONFIG OUTPUT of lpar and put it to output file.
Output file should have lpar name and paging space and memory size. (if the output file shows frame name , lparname and IP configured(ifconfig output) paging space and memory  it will be helpfull) It will give relief from 40 hours of manual painfull work.
ANY HELP PLEASE.
Manual passwd entry method also oK because we are using same passwd for most of the lpars
Avatar of rammaghenthar
rammaghenthar

ASKER

Excel output file format is very helpfull for us
Avatar of woolmilkporc
Hi again, rammaghentharji,

1) You're right, it's not possible to get the LPARs' page space information by querying the HMC,
because the HMC doesn't know anything about LPAR paging.

2) Of course you could use a script to get the required information. But since you don't have the
ability to login using ssh keys, this would be a tedious thing, as you have already noticed.

Instead, I'd suggest that we do the following:

We create a script and transfer it once to each of the LPARs (maybe via scp or FTP).
The script will gather the required info regularly (via crontab) and transfer it to your NIM server
using FTP.
Here, in turn, we will run a small second script which will take the transferred files and form a
single report out of them.

Please tell me if you'd like to proceed that way.

I'll try to work out 'model' versions of the two scripts tomorrow. Please try them out.

Note that the script will not find the name of the managed system, but it will find a 'systemid',
which is essentially the serial number of the managed system. If you like, I can write a piece of
code which will translate the systemid to a managed system name, but for that to work we'll need a
file containing both in the form "systemid managed_system_name", one pair per line.

A systemid looks like this:  IBM,0739FD25D

You get it by issuing 'lsattr -El sys0' at an LPAR.

CU tomorrow

wmp







ASKER CERTIFIED SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial