rookie11
12 years agoModerator
bpclient command
Hi experts
i got a master server consist of 1500 clients. next week we have a power down\power up maintainence which will go for 4 hrs approx. during this time i need to make 400 clients offline. i know to use : bpclient -client CLIENT NAME -update -offline -ut -onlineat unixtime.
but i cannot run it for all 400 server one by one. please tel me how to use simple script\method to make them offline and then as per requirement make them online.
unix:
Put all the clients in the file listofclients (or whatever you want to call it)
for client in `cat listofclients`
do
bpclient -client $client -update -offline -ut -onlineat unixtime.
done