Reclassify a CI
You can upgrade, downgrade, or switch the class of a CI by modifying its Class attribute.
시작하기 전에
Role required: sn_cmdb_editor, asset, or itil (In general, the roles required to update a CI)
이 태스크 정보
Each class is defined with a unique set of attributes. This set consists of attributes that were derived from the parent class, and additional attributes defined for the class.
When you reclassify a CI, the following occurs.
- The set of attributes is adjusted to match the set of attributes of the newly assigned class. Attributes are added or removed as needed.
- If any attributes are unique to the current class and are not defined in the newly reclassified class, they are lost.
- A new record with the CI's current sys_id is inserted to the table of the new class, with the appropriate set of attributes for the class (the sys_id of the CI is retained).
Depending on the reclassification, the following occurs.
- Downgrade
The CI class is updated to a class that is higher in the class hierarchy, and the newly assigned class is a parent of the current class. For example, reclassifying a CI from the cmdb_ci_server class to the cmdb_ci_computer class.
For example, 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.
- Upgrade
The CI class is updated to a class that is lower in the class hierarchy, and 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.
A switch is a combination of a downgrade and an upgrade. For example if 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 as in a downgrade operation.
For information about CI reclassification by the Identification and Reconciliation Engine (IRE) and related system properties that control the behavior of automatic CI reclassification, see Configure CI reclassification during IRE processing.