Skip to main content

Postup replikačních fází

Typický postup je:

syntax-check → xds-completing → dad-creating → pages-creating → installation
$common = @(
'--instance-config', $instanceConfig,
'--replicator-root', $replicatorRoot,
'--mode', 'parameters', '--interactive', 'false',
'--no-appdata-fallback', 'true', '--pause-on-message', 'false'
)

& $exe --run-step xds-completing @common --input-xds $inputXds --version-folder $versionFolder
if ($LASTEXITCODE -ne 0) { throw "xds-completing selhal" }

& $exe --run-step dad-creating @common --version-folder $versionFolder
if ($LASTEXITCODE -ne 0) { throw "dad-creating selhal" }

& $exe --run-step pages-creating @common --version-folder $versionFolder
if ($LASTEXITCODE -ne 0) { throw "pages-creating selhal" }

dad-creating a pages-creating už nepředávají --input-xds; čtou artefakty připravené ve version-folder.

Instalace

& $exe --run-step installation `
--instance-config $instanceConfig --replicator-root $replicatorRoot `
--version-folder $versionFolder --confirm-installation true `
--mode parameters --interactive false --no-appdata-fallback true `
--pause-on-message false

Instalaci spouštějte až po kontrole předchozích výsledků a pouze proti určené instanci.