From UcARP documentation:
master to backup, pause 3 seconds, then proceed as usual to listen for
other masters and promote itself if necessary. This could be useful if
you wish another node to take over master.
So if you want the slave to takeover the master you juste have to do:
In case of several VIPs, you have to identify the PID of the ucarp managing the vip: