- Example Rollback
These are the steps to perform a rollback of just Phase 1 to the previous phase.
Refer to Complete Rollback for complete rollback steps.
These are the steps to perform a rollback of Phase 1 back to a clean environment.
Refer to Complete Rollback for complete rollback steps.
These are the steps to perform a rollback of just Phase 2 to the previous phase.
./orchestrate.sh --environment ${MUDRA_ENVIRONMENT} --datafiles orchestration_datafiles --nodetype App --action scaletargetdown --maxworkers 10 --force --phase 2- Edit
node_interfaces/Database.pyand addctx.forward(unswap)to the top of thepreswapmethod. - Execute the following command to swap databases:
./orchestrate.sh --environment ${MUDRA_ENVIRONMENT} --datafiles orchestration_datafiles --nodetype Database --action preswap --maxworkers 10 --phase 2- Edit
node_interfaces/Database.pyand addctx.forward(cleanup)to the top of theprecutovermethod. - Execute the following command to swap databases:
./orchestrate.sh --environment ${MUDRA_ENVIRONMENT} --datafiles orchestration_datafiles --nodetype Database --action precutover --maxworkers 10 --phase 2These are the steps to perform a rollback of Phase 2 back to a clean environment.
Refer to Complete Rollback for complete rollback steps.
These are the steps to perform a rollback of just Phase 3 to the previous phase.
./orchestrate.sh --environment ${MUDRA_ENVIRONMENT} --datafiles orchestration_datafiles --nodetype App --action scaletargetdown --maxworkers 10 --force --phase 3- Edit
node_interfaces/Database.pyand addctx.forward(unswap)to the top of thepreswapmethod. - Execute the following command to swap databases:
./orchestrate.sh --environment ${MUDRA_ENVIRONMENT} --datafiles orchestration_datafiles --nodetype Database --action preswap --maxworkers 10 --phase 3- Edit
node_interfaces/Database.pyand addctx.forward(cleanup)to the top of theprecutovermethod. - Execute the following command to swap databases:
./orchestrate.sh --environment ${MUDRA_ENVIRONMENT} --datafiles orchestration_datafiles --nodetype Database --action precutover --maxworkers 10 --phase 3These are the steps to perform a rollback of Phase 3 back to a clean environment.
Refer to Complete Rollback for complete rollback steps.
These are the steps to perform a rollback of just Phase 4 to the previous phase.
./orchestrate.sh --environment ${MUDRA_ENVIRONMENT} --datafiles orchestration_datafiles --nodetype App --action scaletargetdown --maxworkers 10 --force --phase 4- Edit
node_interfaces/Database.pyand addctx.forward(unswap)to the top of thepreswapmethod. - Execute the following command to swap databases:
./orchestrate.sh --environment ${MUDRA_ENVIRONMENT} --datafiles orchestration_datafiles --nodetype Database --action preswap --maxworkers 10 --phase 4- Edit
node_interfaces/Database.pyand addctx.forward(cleanup)to the top of theprecutovermethod. - Execute the following command to swap databases:
./orchestrate.sh --environment ${MUDRA_ENVIRONMENT} --datafiles orchestration_datafiles --nodetype Database --action precutover --maxworkers 10 --phase 4These are the steps to perform a rollback of Phase 4 back to a clean environment.
Refer to Complete Rollback for complete rollback steps.
These are the steps to perform a rollback of just Phase 5 to the previous phase.
./orchestrate.sh --environment ${MUDRA_ENVIRONMENT} --datafiles orchestration_datafiles --nodetype App --action scaletargetdown --maxworkers 10 --force --phase 5- Edit
node_interfaces/Database.pyand addctx.forward(unswap)to the top of thepreswapmethod. - Execute the following command to swap databases:
./orchestrate.sh --environment ${MUDRA_ENVIRONMENT} --datafiles orchestration_datafiles --nodetype Database --action preswap --maxworkers 10 --phase 5- Edit
node_interfaces/Database.pyand addctx.forward(cleanup)to the top of theprecutovermethod. - Execute the following command to swap databases:
./orchestrate.sh --environment ${MUDRA_ENVIRONMENT} --datafiles orchestration_datafiles --nodetype Database --action precutover --maxworkers 10 --phase 5These are the steps to perform a rollback of Phase 5 back to a clean environment.
Refer to Complete Rollback for complete rollback steps.
./orchestrate.sh --environment ${MUDRA_ENVIRONMENT} --datafiles orchestration_datafiles --nodetype App --action scaletargetdown --maxworkers 10 --force./orchestrate.sh --environment ${MUDRA_ENVIRONMENT} --datafiles orchestration_datafiles --nodetype App --action rollbacksource --maxworkers 10 --force./orchestrate.sh --environment ${MUDRA_ENVIRONMENT} --datafiles orchestration_datafiles --node data-key-service-db --action unswap-dks --maxworkers 10 --force./orchestrate.sh --environment ${MUDRA_ENVIRONMENT} --datafiles orchestration_datafiles --nodetype Database --action unswap --maxworkers 10 --force./orchestrate.sh --environment ${MUDRA_ENVIRONMENT} --datafiles orchestration_datafiles --nodetype Database --action cleanup --maxworkers 10 --force./orchestrate.sh --environment ${MUDRA_ENVIRONMENT} --datafiles orchestration_datafiles --nodetype App --action scaletarget --maxworkers 10 --force