Hello 1Tamad,
I would do it this way:
1. Enable the feature "priority group activation" in a the pools.
2. Add new nodes with a priority group higher than the rest of the nodes of the pools.
3. Disable + force offline the old servers.
4. Remove connections or persistence records that still match the old servers.
5. Start doing the maintenance tasks over the old nodes.
6. Enable the service over the old nodes.
7. Finally disable the "priority group activation" for the pools.
8. (optional) Remove the priority group value you assigned previously to each node.
REF - https://support.f5.com/csp/article/K13525153
REF - https://support.f5.com/csp/article/K53851362
REF - https://support.f5.com/csp/article/K55632517