I have successfully REPLICATE SAP HANA between two HANA databases HANA1 and HANA2.
when i fail back to original SAP HANA database and register as a secondary system i got following error.
Crash at /sapmnt/ld7272/a/HDB/jenkins_prod/workspace/FA_CO_LIN64GCC47_rel_fa~newdb100_maint_rel/sys/src/Basis/System/impl/SharedMemorySegment.cpp : 360 Reason: File /var/tmp/.SHM_SAP_IPMM_Mutex_0024_no-sid could not be opened / created. Ensure existing, writable directory /var/lib/hdb. RC:13 Permission denied