opcragt (cleanstart question)

Hey folks. Not sure if this is the right sub-forum, but I've been wondering whether there's a way to run the "cleanstart" command on multiple nodes in one command. Is there a way to create a list of nodes and run the "cleanstart" (or even "status") commands on that list?

 

Instead of typing something like:

 

opcragt -cleanstart node_name1

 

*Wait for command to finish*

 

opcragt -cleanstart node_name2

 

*Wait for command to finish*

 

opcragt -cleanstart node_name2

 

And so on...

 

is there a way to type a command like:

 

opcragt -cleanstart node_name1,node_name2,node_name3

 

To run cleanstarts on multiple nodes at once? Or even to run through a list of nodes and attempt to cleanstart them one by one?

 

If this is a silly question, I apologize. I'm a little new at this. I suppose I could try creating a batch file to do this but I'm not sure where I'd go with that either.

 

Thanks!!!

Parents Reply Children