CHANGEPARENTDC
Syntax |
changeparentdc -s <compartment> -n <DC name> -v <DC vendor> [--parentname <name of parent DC>] [--parentvendor <vendor of parent DC>] [--actname <name of activity that contains the changes>] [--actdesc <description of activity that contains the changes>] [-y] |
Arguments |
|
-s <compartment> |
The name of the compartment in which the DC resides. |
-n <DC name> |
The name of the DC. |
-v <DC vendor> |
The vendor of the DC. |
[--parentname <name of parent DC> |
The name of the (new) parent DC. |
[--parentvendor <vendor of parent DC>] |
The vendor of the (new) parent DC. |
[--actname <name of activity that contains the changes>] |
Name of the activity that contains the changes. |
[--actdesc <description of activity that contains the changes>] |
Description of the activity that contains the changes. |
[-y] |
If this flag is set, the command will not abort if the old parent DC of the specified DC cannot be found. |
Description |
This command works for compartments with source state only. For changes to the DTR, an activity is created and checked in. The following cases are supported: ... ● The specified DC is a child DC and a new parent DC is specified. ● As a result the parent-child relationship is adapted accordingly. ● The specified DC is a child DC and no parent DC is specified. In this case, the specified DC becomes a top-level DC. ● The specified DC is a top-level DC and a parent DC is specified. As a result the specified DC becomes a child DC of the specified parent. The child and parent DC must reside in the same compartment. |