When you run the domain repoint command in pre-check mode, data from the vCenter Server is exported, examined, and conflicts are written to a file.
The following data is exported to the /storage/domain-data/ or ProgramData/VMWare/vCenterServerdata/domain-data folder:
- All_Privileges.json
- All_Roles.json
- All_TagCategories.json
- All_Tags.json
These files contain the all the data (Authorization and Tagging) from the vCenter Server on which this command was run.
If a secondary vCenter Server is provided using the -dvf or --dest-vc-fqdn option, any conflicts are also exported to the same folder:
- Conflicts_Roles.json
- Conflicts_TagCategories.json
- Conflicts_Tags.json
The following is a sample conflicts file:
<---- Sample Conflict file code block ---> { "global" : { "resolution" : "MERGE|SKIP|COPY", "description" : "Default resolution option used to resolve Role Conflicts is COPY. The conflicts list describes the differences between Role entities on source and target vCenter Server. If the source information represents an empty JSON array, it simply means that all the entity attributes from source and target are identical. If the source lists few entries, it means that only these entity attributes are missing from the target. If the target lists few entries, it means that only these entity attributes are missing from the source. Though a global resolution can be set, it can also be overridden at each conflict level by providing individual resolution mode." }, "conflicts-count" : 1, "conflicts-list" : { "NoCryptoAdmin" : { "source" : { "privileges" : "[]" }, "target" : { "privileges" : "[Group-1.SamplePriv-1, Group-1.SamplePriv-4, Group-2.SamplePriv-10, Group-2.SamplePriv-3, Group-2.SamplePriv-7, Group-3.SamplePriv-2, Group-3.SamplePriv-9]" }, "resolution" : "" } } <----- End of code block --->
The parts of the sample conflict files are:
description
. Provides the details on how the respective conflicts file is read and understood.source
andtarget
. JSON objects that list only the differences between the source and target vCenter Server objects.resolution
. User supplies one valid resolution. Valid resolutions areMERGE
,COPY
, andSKIP
.
To specify the resolution for handling conflicts, you can provide a default resolution option all conflicts in the "global": "resolution" = "MERGE|SKIP|COPY"
section. If you do not provide a valid global resolution type for resolution
or leave it unedited, the system uses COPY
as the default resolution option.
You can also provide a valid resolution option for each of the conflicts by editing the resolution
property at each conflict level which overrides the global resolution option.
The types of conflicts listed in Conflict Types.
Conflict | Properties used to compare Category Objects | Conflict Types | Conflicting Properties | Conflict Resolution Options |
---|---|---|---|---|
Role conflict |
|
|
Properties that can be conflicting for RoleName conflict type can be Privileges . |
|
Tag Category conflict: A category name must be unique in a vCenter Server. |
|
Only one type of conflict can be seen while importing Tag Categories, CategoryName conflict. This conflict indicates that a category with the same name exists in the target vCenter Server but with different properties (cardinality or associableEntityType ). |
Properties that can be conflicting for conflict type CategoryName can be at least one of two types: Cardinality or AssociableTypes . |
|
Tags Conflict: A tag object always belongs to a category Object. A tag Name must be unique only inside a category. |
|
Only one type of conflict can be seen while importing tags: TagName conflict. This conflict indicates that a Tag with the same name exists under the same category and in the target vCenter Server but with different properties. |
Properties that can be conflicting for a conflict of type: TagName can be Description . |
|