You require full layer 2 extension between the datacentres. So that every interface on the MX on both sites are connected at layer 2 (both WAN and LAN).
If this is being used for AutoVPN you could also consider running active/active. To do this each MX must be connected via a stub network to the main DC networks at each site.