Utility chparent.exe / chparent_ora.exe is used for the offline change of parent.
"Offline" means that it makes the changes directly into database without interaction with D2000 server. The parent change will show after restarting the D2000 server.
Note: The parent can be changed also online, via XML Import (only for the objects of I/O tag, Event, Database or Table type).
- Sybase/PostgreSQL/MsSql: chparent <app_name> <new_parent_name> <obj_name_mask1> [, <obj_name_mask2> [, ...] ]] - Oracle: chparent_ora <app_name> <new_parent_name> <obj_name_mask1> [, <obj_name_mask2> [, ...] ] |
Utility changes the parents to all object, which match to mask <obj_name_mask1>, <obj_name_mask2>, etc., on value <new_parent_name> in configuration of the application (directly in database).
Parent change does not run if the parent is not valid at least for one object. It means, it is checked if selected parent can be assigned to object of given type.
The user must confirm this change (y = yes, other keys = no). In case of acceptance, the parent will be changed in configuration of the application (directly in database).
The chparent utility does not change the object configuration change time (Modify Time). Therefore, the cfgsynchro utility does not synchronize such changes in the redundant system and it is necessary to modify all configuration databases in the redundant system, not just one (or use export/import of the configuration database). A possible scenario for an outage-free change of a parent in a redundant system is as follows: