templates/answer-files/fdr/fdr-failover-answers.json
|
{
"_readme": [ "Sample answer file for the interactive tasks in fdr-failover-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. This plan calls Get-BackupsFromSFTPServer, Restore-ServicesRuntimeComponentBackup and Set-ServicesRuntimeComponentVips 3 times each (once per fleet component: VCF Management Services, Log Management, VCF Automation), in that order.", "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.", "Set-ServicesRuntimeScale/Restore-ServicesRuntimeComponentBackup/Set-ServicesRuntimeComponentVips/New-ServicesRuntime each have a single Y/N confirmation prompt that is already skippable via their own -Force/-autoConfirm switch - the answer file drives the SAME prompt, just conditionally (only when the toggle is on) rather than permanently.", "Get-BackupsFromSFTPServer's own prompts (pick a backup group, optional per-component custom picks, final Y/N) vary with how many backups/components are found on the SFTP server - the values below assume a single matching backup and no custom overrides, and MUST be reviewed against your own environment's real prompts before use.", "Confirm-ManualStep is different from every other key here: its value is a single FLAT array of pre-approved -AnswerKey strings, not an array of answer sets. The manual 'Press Enter once X is done' gates in this plan are: nsx-federation-tasks-complete, vcf-ops-recovered, fleet-vip-dns-updated, vcf-ops-inventory-updated, log-management-state-updated, license-server-redeployed, backup-schedule-updated, nsx-federation-post-failover-complete, vcf-ops-reprotected and recovered-components-backed-up. All of these gates are pre-approved below so the plan can run unattended; remove a key from the array if you want that specific gate to still block for a real Enter press (SELECTIVE answering - an omitted key always blocks, even with this answer file loaded). Each gate confirms real-world work done outside this tool, so only leave a key listed if you will have completed that work before the plan reaches it.", "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 - omitting one just means that cmdlet prompts normally if actually reached - but once a key IS listed, running out of values or supplying an invalid one fails the run immediately rather than hanging or silently misusing a later answer (Confirm-ManualStep is the one exception - see above)." ], "Set-ServicesRuntimeScale": [ ["Y"] ], "Get-BackupsFromSFTPServer": [ ["1", "Y"], ["1", "Y"], ["1", "Y"] ], "Restore-ServicesRuntimeComponentBackup": [ ["Y"], ["Y"], ["Y"] ], "Set-ServicesRuntimeComponentVips": [ ["Y"], ["Y"], ["Y"] ], "New-ServicesRuntime": [ ["Y"] ], "Confirm-ManualStep": [ "nsx-federation-tasks-complete", "vcf-ops-recovered", "fleet-vip-dns-updated", "vcf-ops-inventory-updated", "log-management-state-updated", "license-server-redeployed", "backup-schedule-updated", "nsx-federation-post-failover-complete", "vcf-ops-reprotected", "recovered-components-backed-up" ] } |