inactive, paused when checked via vim-cmd hbrsvc/vmreplica.getState <VMID>.VMware vSphere Replication 8.x
VMware vSphere Replication 9.x
Required network ports (TCP 31031/32032 and 902) are not open or reachable between the Disaster Recovery (DR) ESXi hosts and the Primary vSphere Replication appliance, or a missing network route prevents connectivity.
Verify Port Connectivity:
From the DR ESXi host, test connectivity to the Primary VR appliance IP on port 31031: nc -zv <Primary_VR_IP> 31031
If the connection fails with Connection timed out, investigate the physical firewall or virtual network security groups.
Validate VM Replication Configuration:
Identify the VM ID: vim-cmd vmsvc/getallvms | grep '<VM_NAME>'
Check replication config: vim-cmd hbrsvc/vmreplica.getConfig <VMID>
In case of Legacy Replication:
In case of Enhanced Replication:
[root@esx-07a :~ ] vim-cmd hbrsvc/vmreplica.getConfig 6
Retrieve VM replication configuration:
The VM is configured for replication with the following options:
VM Replication ID = GID-63b1a0d4-####-####-####-255390782242
Destination IP Address = 127.0.0.1
Destination Port = 32032
Recovery Point Objective = 60
Quiesce Guest OS = false
Enable Opportunistic Updates = false
Network Compression = false
DataSets replication = true
Network Encryption = true
Encryption Destination IP Address = 10.x.x.xx
Encryption Destination Port = 32032
Remote Certificate Thumbprint = PFUc1uF2PcFK0jxj09tD5dEqCpmnDvw10MVEga9ljKQ=
Paused for Replication = false
Disk scsi0:0 is configured for replication:
Device key = 2000
Replication ID = RDID-27996226-###-###-####-ce75e48311ba
Confirm the "Destination IP Address" and "Destination Port" (31031/32032) match the target environment.
Configure Network Routing:
Log in to the vSphere Replication appliance via SSH as admin.
Check existing routes: ip route
If the route to the source host network is missing, add a static route: sudo ip route add <Source_Host_IP>/32 via <Gateway_IP>
Verify the route is persistent or add it to the appliance configuration.
Verify Management Connectivity:
Ensure port 902 is open from the VR appliance to the ESXi hosts: curl -v telnet://<ESXi_FQDN>:902
Resume Replication:
Once connectivity is restored, the synchronization monitoring will resume automatically, and the re-protect process can be re-initiated in SRM.
Port numbers that must be open for vSphere Replication
https://knowledge.broadcom.com/external/article/312798/port-numbers-that-must-be-open-for-vsphe.html