We do not support people querying Operational (OperationsManager) db
directly. However, we do support querying the DW as long as you query views.
The view you're looking for is vManagedEntity - that thing contains all the
objects in the system (computers, groups, logical disks, etc).
If you'd like to query for particular type of object you can examin
vManagedENtityType view and join to vManagedEntity and set
ManagedEntityTypeRowId to a value you want.
Naturally, some other views have important information. Those are
vManagedENtityProperty and vManagedEntityPropertySet for object properties
and vManagedEntityManagementGroup to see lifetime of the object.
If you want to query, say, all members of a certain group, you'll need to
understand that objects have "relationships" between them. That's
vRelationship view. Say, given a group that contains computers you can get
ID of the group by querying vManagedEntity view by DisplayName (of the
group) and figuring out its ManagedEntityRowId. Then query vRelationship
where SourceManagedEntityRowId is equal to your group's Id and
TargetManagedEntityRowId will give you the computer's Ids. There are some
caveats to this process (if your group contains subgroups of if you are
looking for logical disks on computers in a group, etc) but the process
generally is the same.
Thanks,
Vitaly
--
-------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Post by m***@yahoo.comCould some one know and tell me what are all these managedentity*.*
tables and views are?
Is there any doc regarding the database of SCOM?
I am desperatley looking for ways to find out which tables or view has
computer/server display names.
Thanks a lot