example for CI upgrade,downgrade,switch in CMDB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2020 11:45 PM
can anyone say example for CI upgrade,downgrade,switch in CMDB other than docs website
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2020 08:39 PM
Hi there,
I hope this will help...
Reclassify a CI by modifying its 'Class' attribute. You can upgrade, downgrade or switch a CI's class. When downgrading or switching a CI's class, attributes that are unique to the current class, and are not defined in the newly reclassified class - are lost.
Each class in the class hierarchy is defined with a unique set of attributes. This set consists of attributes that were inherited from the parent class, and additional attributes specifically defined for the class. When you reclassify a class:
- The set of attributes is adjusted to match the set of attributes of the newly assigned class. Attributes are added or removed as needed.
- A new record, with the CI's sys_id, is inserted to the table of the new class, with the appropriate set of attributes for the class.
More specifically, depending on the reclassification that you chose:
- Downgrade : The newly assigned class is a parent of the current class, and has less attributes than the current class. For example, reclassifying a CI from the cmdb_ci_server class to the cmdb_ci_computer class.
- Upgrade: The newly assigned class is a derived child of the current class and has additional attributes. For example, reclassifying a CI from the cmdb_ci_computer class to the cmdb_ci_server.
- Switch: The newly assigned class is in a different branch in the class hierarchy and has a different set of attributes than the current class. For example, reclassifying a CI from the cmdb_ci_linux_server class to the cmdb_ci_win_server class.
n the example above for a reclassification downgrade, the cmdb_ci_server class has attributes that the cmdb_ci_computer class does not have. During the downgrade, these attributes and their respective values are not included in the new CI record that is inserted into the cmdb_ci_computer class.
A switch is a combination of a downgrade and an upgrade. In the example above for a switch, the CI is downgraded to the cmdb_ci_server, and then upgraded to the cmdb_ci_win_server class. Therefore, attributes are lost in the same manner that they do in a downgrade operation.
- Locate the CI that you want to reclassify. For example, if the CI is a server, then in the navigation search box, type cmdb_ci_server.list to display the CI in the Servers view.
- Ensure that the Class attribute is displayed in the view. Use Personalize List to personalize the view if you need to.
- Locate the CI that you want to reclassify, and click on the Class value of the CI.
- Select the class that you want to reclassify the CI to, and click the green check box to confirm the change request.
In a downgrade or a switch reclassification, some CI data might be lost.
Please mark it as correct and helpful, if applicable.
Regards,
Ishita Shrivastava.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2020 10:04 AM
Hi Ishita,
I'm a ServiceNow novice and having a bit of trouble understanding the documentation's logic.
Could you please explain in your own words how come reclassifying a CI item from a child (cmdb_ci_server) class to a parent (cmdb_ci_computer) class is called Downgrade and vice versa Upgrade?
Are we talking reclassification relative to the class or the item?
They go as far as saying that when you do downgrade data is lost which is counter intuitive since children inherit attributes from parents.
Thanks,
George
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2023 04:09 AM
Hi george353,
how i have understood is , lets say that we are upgrading something, then for sure, whatever the attributes/ fields it do has to possess will be more than the previous one. and vice versa too. As per our programming standards and norms, derived class is always ahead of base class. So relating to that, her he has said like
Upgrade ----Old one is parent ----> New one is Child (extended)
Downgrade ---- old one is child ----> New one is Parent ( as the properties got decreased)
Regards ,
Bammidi Kumar Raja.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2023 04:04 AM
Useful explanation