ドメイン再ポイント コマンドを事前チェック モードで実行すると、Platform Services Controllerのデータのエクスポートおよび調査が行われて、競合内容がファイルに書き込まれます。
次のデータが /storage/domain-data/ または ProgramData/VMWare/vCenterServerdata/domain-data フォルダにエクスポートされます。
- All_Privileges.json
- All_Roles.json
- All_TagCategories.json
- All_Tags.json
これらのファイルには、このコマンドが実行された vCenter Serverのすべてのデータ(認証およびタグ付け)が含まれています。
-dvf または --dest-vc-fqdn オプションを使用してセカンダリ vCenter Server が指定されている場合は、競合内容も同じフォルダにエクスポートされます。
- Conflicts_Roles.json
- Conflicts_TagCategories.json
- Conflicts_Tags.json
競合のサンプル ファイルは、次のとおりです。
<---- 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 PSC. 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 --->
次に、競合のサンプル ファイルの一部を示します。
-
description。それぞれの競合ファイルを読み取って理解する方法の詳細を示します。 -
sourceおよびtarget。ソースおよびターゲット Platform Services Controllerオブジェクト間の違いのみを示す JSON オブジェクト。 -
resolution。ユーザーは 1 つの有効な解決策を指定します。有効な解決策は、MERGE、COPY、およびSKIPです。
競合を処理するための解決策を指定する際に、"global": "resolution" = "MERGE|SKIP|COPY"セクション内のすべての競合にデフォルトの解決策オプションを指定できます。resolutionに有効なグローバル解決策を指定しない場合、または未編集のまま残した場合は、デフォルトの解決策オプションとして COPY が使用されます。
グローバル解決策オプションをオーバーライドする各競合レベルの resolutionプロパティを編集して、各競合に有効な解決策オプションを指定することもできます。
競合タイプに示されている競合のタイプ・
| 競合 | カテゴリ オブジェクトを比較するために使用されるプロパティ | 競合タイプ | 競合するプロパティ | 競合の解決策オプション |
|---|---|---|---|---|
| ロールの競合 |
|
ロールのインポート中に、ターゲット Platform Services Controller内に同じ名前で権限が異なるロールが存在する場合は、 |
競合タイプが RoleNameの場合に競合する可能性のあるプロパティは、Privileges などです。 |
|
| タグ カテゴリの競合:Platform Services Controller内でカテゴリ名が一意である必要があります。 |
|
タグ カテゴリのインポート中に表示できる特定の競合タイプのみ(CategoryNameの競合)。この競合は、ターゲット Platform Services Controller内に同じ名前を持ち、プロパティが異なる(cardinality または associableEntityType である)カテゴリが存在することを示します。 |
競合タイプが CategoryNameの場合に競合する可能性のあるプロパティは、少なくとも Cardinality または AssociableTypes のいずれかです。 |
|
タグの競合:tagオブジェクトは常にcategory オブジェクトに属しています。タグ名はカテゴリ内でのみ一意である必要があります。 |
|
タグのインポート中に表示できる特定の競合タイプのみ(TagNameの競合)。この競合は、同じ名前を持ち権限が異なるタグが、同じカテゴリ内および Platform Services Controllerターゲット内にあることを示します。 |
競合タイプが TagNameの場合に競合する可能性のあるプロパティは、Description などです。 |
|