Procedure to Handle Role and Priority of Session Managers in a CPS Replica Set