Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a VMware infrastructure with some ESXi 4.1 hosts and a vCenter Server 5.0 installed. I need to extend our hardware inventory with the following info:

  • how many memory slots are available in each ESXi host
  • how many and what type (DDR2/DDR3, size, MHz) of memory modules are installed in the slots

To collect this info I have to use PowerCLI and if needed, I can use ESXCli from within it. However I do not have ssh access to the ESXi hosts, so running native ESXi commands is not a possibility.

Is there a way to query the memory information from PowerCLI?

(As a bonus it would be lovely to query if the RAID controllers in the ESXi hosts have a BBWC module installed...)

share|improve this question
    
Do you know what types of servers (make/model) you have? The information you receive will depend on that information. –  ewwhite Feb 7 '13 at 13:53
    
I have HP blades. G5-G7 ones if I'm correct. However I can't use the admin UI of the chassis to query the info, all I have access to is PoweCLI... :/ –  Zizzencs Feb 7 '13 at 13:55

1 Answer 1

up vote 2 down vote accepted

So these are HP ProLiant servers. You have a variety of methods to gain the inventory information you're looking for... Of the available choices, querying the VMware host via PowerCLI is about the last option I'd use...

I'll add that if you're not using the HP build of ESXi or don't have the HP .VIB bundles installed, you won't get full visibility into the storage system features.

Also see:
How to find out more hardware details using only ESXi4.1 and (possibly) shell
and
Options for managing Smart Array P400 on an ESXi 5 host

share|improve this answer
    
Yeah, these are all the tools that I could use for this scenario - and they are exactly the ones that I do not have access to... I'm trying to convince the management that I need access to the chassis management UI but I'd still be interested if the querying is doable from PowerCLI. –  Zizzencs Feb 7 '13 at 14:19
    
Depends... Sounds like more of a political issue. For the PowerCLI, it's possible, but far more work. Start here. –  ewwhite Feb 7 '13 at 14:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.