Skip to main content

PC version 

Version pc.2024.3.1

 

Please find the below failover summary in which I can see the guest script is successful as per https://portal.nutanix.com/page/documents/details?targetId=Disaster-Recovery-DRaaS-Guide-vpc_2024_1:ecd-ecdr-create-recoveryplan-pc-t.html Step 7. When we checked guest for the below script result we found it didn’t run.

 

===========================================

[root@RHEL9 sbin]# pwd

/usr/local/sbin

[root@RHEL9 sbin]# ls -ltr

total 12

-rwxrwxrwx. 1 root root 119 Jun 11 21:00 test_vm_recovery

-rwxrwxrwx. 1 root root 200 Jun 12 00:27 production_vm_recovery

-rw-r--r--  1 root root 942 Jun 12 00:28 test.txt

[root@RHEL9 sbin]# cat production_vm_recovery

#!/bin/bash

#mkdir failovertest

#cd failovertest

#touch test.txt

#df -h >> test.txt

 

mkdir failovertest && cd failovertest

if touch test.txt && df -h >> test.txt; then

    exit 0

else

    exit 1

fi

 

 

[root@RHEL9 sbin]#

 

 

=============================================

 

 

 

 

 

 

 

Failover - 06/12/2025, 12:04:50 AM

 

 

Recovery Plan Summary

  • Failover fromPC_172.21.54.86
  • Failover toLocal AZ
  • Entities1

Test Summary

  • OperationFailover
  • ResultSucceeded
  • Errors0
  • Warnings0
  • Executed OnJun 12, 2025, 12:04 AM
  • Executed Byadmin

Recovery Steps Overview

  • 1. Stage 1COMPLETED

Validation

Name

Start Time

Status

Snapshot Validation

Jun 12, 2025, 12:04 AM

Succeeded

Network Validation

Jun 12, 2025, 12:04 AM

Succeeded

Category Validation

Jun 12, 2025, 12:04 AM

Succeeded

Entity Validation

Jun 12, 2025, 12:04 AM

Succeeded

Connectivity Validation

Jun 12, 2025, 12:04 AM

Succeeded

Infrastructure Validation

Jun 12, 2025, 12:04 AM

Succeeded

License Validation

Jun 12, 2025, 12:04 AM

Succeeded

1. Stage 1

Task

Start Time

End Time

Result

Migrating VM rhel9.6

Jun 12, 2025, 12:05 AM

Jun 12, 2025, 12:08 AM

Succeeded

Powering ON VM rhel9.6

Jun 12, 2025, 12:08 AM

Jun 12, 2025, 12:09 AM

Succeeded

Running Script inside the guest VM rhel9.6

Jun 12, 2025, 12:09 AM

Jun 12, 2025, 12:11 AM

Succeeded

Post-processing

Task

Start Time

End Time

Result

Generating Failover Execution Report

Jun 12, 2025, 12:11 AM

-

Succeeded

 

Be the first to reply!