deactivate node

How do i deactivate node remotely in 4.x? My application does rolling restarts of servers in a cluster and I would like to force F5 deactivate node that about to be restarted.

-gene