« Back to Technical Discussions

Memory details via XML API...

Combination View Flat View Tree View
Threads [ Previous | Next ]
Is there a way via the XML API to get the same information as if I had:
 
* SSH'd to a FI
* Scope server chassis1/blade1
* Show memory detail
 
Thanks,
 
Sage

Yes, you can post something like the following XML if you want ALL the DIMMs regardless of what blade they are on:

1<configResolveClass cookie="1317220833/e3b0a156-df30-4066-9145-d7be9dc01237" inHierarchical="false" classId="memoryUnit"/>



You can be more specific and file to a particular chassis and/or blade with a wildcard filter

1<configResolveClass cookie="1317220833/e3b0a156-df30-4066-9145-d7be9dc01237" inHierarchical="false" classId="memoryUnit"><inFilter><wcard class="memoryUnit" property="dn" value="chassis-1/blade-5" /></inFilter> </configResolveClass>

That did it, thanks Paul.

Do you know if there's a way to also get the manufactured week off the DIMM's too? Ultimately that's what I was looking for, I just thought it would be in that query. Somehow we've got some DIMM's that aren't paired correctly and I'd like to run something against all of our blades so we can be proactive and line 'em up before we have a problem.

PS Enjoyed your presentation at the UCS user group meeting in RTP.

I am still looking into this. We had a similar need in the past. We were able to use the model number at that time for our purposes. I have wondered about including something like that in the UCS Dashboard, but that sort of information in not something would necessarily want to visually browse very often. If you had the choice of having that in web UI to view in a chart .. or just had a command line script or DB view to select that info as needed ... what do you think you would be most likely to use?

Personally I would use a command line script. As you said it's not something I would look at on a regular basis. It's generally something that would only need to be done once in a while to either confirm or audit that all DIMMs are paired correctly. If I'm doing an audit I'd want something scriptable so I can easily hit all our blades.