Nginx auxiliary server shcadule[shell scripts]

 

Recently, we are planning to use two nginx server for load balancing’s hot backup. Here is the scripts I wrote that used to switch virtual IP automatically for servers when either one of the two servers got crash.

#!/bin/bash                                                                                

# This scripts is used to check nginx status and startup automatically.
# Written by Libo.ma @ Oct 20, 2011 17:16

Ver=0.9 Continue reading "Nginx auxiliary server shcadule[shell scripts]"