cancel
Showing results for 
Search instead for 
Did you mean: 

bpclient command

rookie11
Moderator
Moderator
   VIP   

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.

1 ACCEPTED SOLUTION

Accepted Solutions

revarooo
Level 6
Employee

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

 

 

View solution in original post

4 REPLIES 4

revarooo
Level 6
Employee

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

 

 

Marianne
Level 6
Partner    VIP    Accredited Certified

Why not just suspend the scheduler?

Or will certain clients be left online for which backups need to run?

 

rookie11
Moderator
Moderator
   VIP   

 can't suspend scheduler. power down is in phases.

backups from certain region \type has to go as per schedule.

revarooo
Level 6
Employee

See above, I have supplied a basic script for automating it in unix, but you need to populate a file with a list of clients you want to disable.