templates/answer-files/ibr/workload-domain-recovery-answers.json

{
  "_readme": [
    "Sample answer file for the interactive tasks in workload-domain-recovery-plan.json, consumed via Import-VCFIRAnswerFile.",
    "Keyed by cmdlet name. Each value is an array of answer sets - one answer set per invocation of that cmdlet in the plan (New-NSXManagerOvaDeployment runs up to 3 times: First/Second/Third NSX Manager OVA Deployment).",
    "Each answer set is an ordered array of the values you would otherwise type at that cmdlet's Read-Host prompts, in the same order the prompts appear.",
    "The exact number of prompts (and so the length of each answer set) depends on your environment's discovered NIC/disk/VDS counts - the values below match a common 1-VDS, single-disk-group, 3-NSX-Manager workload domain and MUST be reviewed against your own environment's prompts before use.",
    "Run each task interactively once first to see its real prompts/IDs, then transcribe your answers here in the same order.",
    "Every key below is OPTIONAL: if you omit a cmdlet entirely, it just prompts normally (exactly as if no answer file were loaded at all) if it's ever actually reached with a real prompt. Once you DO list a key, though, it's a real claim of coverage - an answer set that runs out of values, or supplies an invalid one, fails the run immediately rather than hanging or silently misusing a later answer.",
    "New-RebuiltVsanDatastore prompts only apply to vSAN OSA - it asks nothing at all for vSAN ESA, in which case you can just omit its key entirely instead of listing one.",
    "New-RebuiltVdsConfiguration asks for one comma-separated NIC list per VDS discovered on the reference host, then a final Y/N - the sample below assumes a single VDS.",
    "Invoke-NSXEdgeClusterRecoverySelective is marked interactive:false in THIS plan (whether it actually prompts depends on how many NSX Edges are found, not something the plan JSON can know ahead of time) - it's included below with a real answer so this plan can run fully unattended, but you can delete this line if you'd rather that step always pause for a manual look instead.",
    "This key is ignored by Import-VCFIRAnswerFile - only the cmdlet-name keys below are read."
  ],
  "New-RebuiltVdsConfiguration": [
    ["1,2", "Y"]
  ],
  "New-RebuiltVsanDatastore": [
    ["1", "1", "2,3", "Y"]
  ],
  "New-NSXManagerOvaDeployment": [
    ["1"],
    ["2"],
    ["3"]
  ],
  "Invoke-NSXManagerRestore": [
    ["1", "1"]
  ],
  "Add-AdditionalNSXManagers": [
    ["1"]
  ],
  "Invoke-NSXEdgeClusterRecoverySelective": [
    ["1"]
  ]
}