Is there a way to get the following information from a Symmetrix VMAX array using symcli (not multiple individual commands but rather a batch file or script):
LUN - Thin pool name - Storage Group - Pool capacity - Bound capacity - Host written capacity - Subscription % - Allocation %
This information is required strictly from a management perspective and for capacity planning and trending.
Please note that we do not have the host agents on ECC and hence we can't use ECC to generate reports from Host perspective.
If you have FASTvp in use then it wont make sense to add the thin pools names in report for every luns.
As with Fastvp some portion of lun will be in multiple pools . Yeah you can say which pool you bound initially but now it can be different pool where data is being used. For management I think you can prepare a report either via each pool or via Hosts. Means hosts => %in whichever thin pool tht host is using and add what you more specifically want to show them. And specifically for capacity you can give details of the pools and % of space allocated and free now more to use and how much oversubscription done on them.
But may be below can help you for every host info :-
for i in `symaccess -sid xx show MV_name view | awk '{print $1}' | grep -v ':' | grep -i 0`; do echo $i################################; symcfg -sid xx list -thin -pool | grep RAID | awk '{printf "symcfg -sid xx show -pool %s -thin -detail\n",$1}' | sh | egrep "Name|$i"; done
And if your requirement is exactly like you mentioned then you have to write a script using symcli comands.
mdani1
56 Posts
318
0
Posted September 10th, 2012 13:00
Hi Sree,
If you have FASTvp in use then it wont make sense to add the thin pools names in report for every luns.
As with Fastvp some portion of lun will be in multiple pools . Yeah you can say which pool you bound initially but now it can be different pool where data is being used. For management I think you can prepare a report either via each pool or via Hosts. Means hosts => %in whichever thin pool tht host is using and add what you more specifically want to show them. And specifically for capacity you can give details of the pools and % of space allocated and free now more to use and how much oversubscription done on them.
But may be below can help you for every host info :-
for i in `symaccess -sid xx show MV_name view | awk '{print $1}' | grep -v ':' | grep -i 0`; do echo $i################################; symcfg -sid xx list -thin -pool | grep RAID | awk '{printf "symcfg -sid xx show -pool %s -thin -detail\n",$1}' | sh | egrep "Name|$i"; done
And if your requirement is exactly like you mentioned then you have to write a script using symcli comands.
Regards,
Mrinal Dani