Anonymous
public text v1 · immutable // disable from the load balancer
Runtime rt = Runtime.getRuntime();
Process pid;
try {
logDebug("/usr/lib/ee/lb/remote/bin/disable_host " +
getLbName(ftpsvr[i].name) + " 192.168.1.1");
pid = rt.exec("/usr/lib/ee/lb/remote/bin/disable_host " +
getLbName(ftpsvr[i].name) + " 192.168.1.1");
pid.waitFor();
} catch (Exception e2) {
logDebug("disable_host failed");
}