I am working on a project to configure sync failover between device X and Y and sync only group between X and Z device. Is this possible ? If yes than are there any prerequisite ?
Yes it's possible.
You have the prerequisites here -> https://support.f5.com/csp/article/K63243467