Hello,
Please check the below link to understand what is needed to be done on the L2 switch to connect control and fabric links between both the nodes of the SRX.
https://kb.juniper.net/InfoCenter/index?page=content&id=KB25017
Also adding to the above link if you want to have dual control links (Possible only on High End SRX Devices) then you need to have both the control links in separate Vlans else the cards on the High End SRX will get stuck in PRESENT state as per the below KB article:-
https://kb.juniper.net/InfoCenter/index?page=content&id=KB28503&actp=search
Also you can refer the below deplyment guide for more information to deploy a SRX HA cluster.
https://kb.juniper.net/library/CUSTOMERSERVICE/GLOBAL_JTAC/NT260/SRX_HA_Deployment_Guide.pdf
Hope this helps. )
Thanks,
Pulkit Bhandari
Please mark my response as Solution Accepted if it Helps, Kudos are Appreciated too.