templates/answer-files/ibr/management-domain-recovery-answers.json
|
{
"_readme": [ "Sample answer file for management-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.", "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. There's no need to add a placeholder for a cmdlet that will never prompt for your plan/environment - e.g. New-RebuiltVdsConfiguration isn't listed here at all, since it auto-detects the MANAGEMENT domain's own default cluster and always takes a fully automatic, non-interactive path in THIS plan (contrast with workload-domain-recovery-answers.json/additional-cluster-recovery-answers.json, where this same cmdlet targets a non-default cluster and genuinely does 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. Add-AdditionalNSXManagers and Invoke-NSXEdgeClusterRecoverySelective are both marked interactive:false in THIS plan (whether they actually prompt depends on runtime conditions like NSX node/edge counts, not something the plan JSON can know ahead of time) - they're included below with real answers so this plan can run fully unattended, but you can delete either line if you'd rather that specific step always pause for a manual look instead.", "The exact number of prompts (and so the length of each answer set) depends on your environment's discovered NIC/disk/VDS/edge counts - the values below match a common 2-VDS, single-disk-group, 3-NSX-Manager management 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.", "New-SingleHostVsanDatastore prompts only apply to vSAN OSA (disk group count, then cache/capacity disk IDs per group, then Y/N) - it asks nothing at all for vSAN ESA, in which case you can just omit its key entirely instead of listing one.", "This key is ignored by Import-VCFIRAnswerFile - only the cmdlet-name keys below are read." ], "New-PrepareManagementHostNetworking": [ ["", "2,3", "Y"] ], "New-SingleHostVsanDatastore": [ ["1", "1", "2,3", "Y"] ], "New-NSXManagerOvaDeployment": [ ["1"], ["2"], ["3"] ], "Invoke-NSXManagerRestore": [ ["1", "1"] ], "Add-AdditionalNSXManagers": [ ["1"] ], "Invoke-NSXEdgeClusterRecoverySelective": [ ["1"] ] } |