Pushkar_73645
Aug 24, 2010Nimbostratus
php based solution of icontrol
Hi,
I am trying to write an php script to enable and disable nodes.
I was trying to use following call. I get $serv value from my previous call to LB which get list of all servers.
I see myself entering the loop. But the node is not disabled.
if ($serv == "192.168.100.50"){
echo "test";
$client3->set_monitor_state($serv,"STATE_DISABLED");
}
Thanks,
Pushkar