Step 1: Choose a server where you can access all your LPAR’s
Step 2: Generate a key from the chosen server and then scp same key to LPAR under /root
Step 3: Now, You can execute the below script from chosen server

Note:- In our case, We have chosen NIM server as our source server where the script to be executed
server – Should contain LPAR or server name
Name of the script:

echo Server Name,Disk,Size in MB,PVID,Volume Group,Location Code,Description

for boot_list in `cat server`
boot_root=`ssh $boot_list getconf BOOT_DEVICE`
boot_size=`ssh $boot_list bootinfo -s $boot_root`
pvid_root=`ssh $boot_list lspv |grep -w $boot_root |awk '{print $2}'`
vg_root=`ssh $boot_list lspv |grep -w $boot_root |awk '{print $3}'`
loc_root=`ssh $boot_list lscfg |grep -w $boot_root |awk '{print $3}'`
des_root=`ssh $boot_list lscfg |grep -w $boot_root |awk '{$1=$2=$3=""; print $0}'`
echo $boot_list,$boot_root,$boot_size,$pvid_root,$vg_root,$loc_root,$des_root