If you made your scripts modular it should be possible to make it fit more configurations. First would be the need for a heartbeat monitor (and server). Then would be a script to take over the IP, and then would be a script to start (or restart) a service e.g. file-services (AFP and/or SMB), web, email, calendar.
The hearbeat monitor script could have lines calling scripts which would start specific service(s) and if you comment out or uncomment a line it would start the service.
For the benefit of everyone else, some services could be managed by a DNS loadbalancer and the use of VIPs (virtual IP addresses). However OpenDirectory and PasswordServer and DHCP would not be possible this way, so these services as used to be possible with Snow Leopard Server would need an IP-failover approach like discussed here.