CMDB groups and changes

Eric M
Giga Expert

In the Istanbul and jakatra release came the concept of CMDB groups. anyone using them with change ? and how are you using them?

Best,

Eric

1 ACCEPTED SOLUTION

johnfw
Kilo Expert

Hi Eric, wish I could help, but have the same question.


In the CI field in CHG, I want users to be able to select a group, and then all CIs within that group to populate the 'affected CIs' related list.


We tried overriding the reference qualifier with "sys_class_name=cmdb_ci_server^ORsys_class_name=cmdb_group" but this didn't work.



If you have had any luck, please share



John


View solution in original post

34 REPLIES 34

camran
Kilo Expert

Are you using the layer approach? Create a technical layer ( e.g. Network Service, System service) and relate CIs, this way you can select that service (CI) on the Change form which will use all relevant CIs.


yes, that works for defined services etc. The grouping of CI allows for a option to provide a mix of cis for different patching models etc.


Paul Coste2
Giga Expert

This doesn't seem fully implemented or documented.   CMDB_Group is not actually a CI class, so you cannot just fill a CI field of a change with a CMDB Group.   There is, however, a class called cmdb_ci_group, and this is a CI class.   There is a Community update set to this class which does what is being asked here.   It adds a list of group members, so that when you add the group CI to a Change, it will add the members as well.   I had heard that is how CMDB group was supposed to work, i.e. adding this capability out of box, but it seems the design is fundamentally different, since cmdb groups are not CIs.

 

Michael Fry1
Kilo Patron

We're using them for Patching. Put the Ci's into a group, like Windows Patch Tuesday or Windows weekend, etc. Then we use SNguru codes to pull the CI's from the group into the Affected CI related list on Change: https://www.servicenowguru.com/cmdb/ci-groups/


We also use the SNGuru scripts just as you mentioned.   What looked promising about the new out-of-box Group was that it also supports the use of encoded queries and CMDB Queries to determine the group lists.   Unfortunately as the "cmdb_group" table is not the same as "cmdb_ci_group" and doesn't extend "cmdb_ci" I can't use this.   Has anyone successfully used the new "cmdb_group" class in Istanbul?   If so, how?