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
  • Hi Bearwhale,

     

    I created the tool and tested it and it works correctly.

     

     

     

    This is from the system.txt after the tool was executed

     

    0: INF: Wed Jan 04 09:46:32 2012: coda (3212/2344): Stopping CODA

    0: INF: Wed Jan 04 09:49:03 2012: ovconfd (2212/2208): (conf-393) Configuration and Deploy process 'ovconfd' stopped.

    0: INF: Wed Jan 04 09:49:04 2012: ovbbccb (2724/2720): (bbc-250) OV Communication Broker stopped. Exit code (0).

     

    0: INF: Wed Jan 04 09:49:21 2012: ovconfd (5552/58556): (conf-390) Configuration and Deploy process 'ovconfd' started.

    0: INF: Wed Jan 04 09:49:22 2012: coda (2496/54012): Waiting to initialize SCOPE ...

    0: INF: Wed Jan 04 09:49:29 2012: coda (2496/54012): SCOPE datasource initialization succeeded

     

    Hope this helps :)

Reply
  • Hi Bearwhale,

     

    I created the tool and tested it and it works correctly.

     

     

     

    This is from the system.txt after the tool was executed

     

    0: INF: Wed Jan 04 09:46:32 2012: coda (3212/2344): Stopping CODA

    0: INF: Wed Jan 04 09:49:03 2012: ovconfd (2212/2208): (conf-393) Configuration and Deploy process 'ovconfd' stopped.

    0: INF: Wed Jan 04 09:49:04 2012: ovbbccb (2724/2720): (bbc-250) OV Communication Broker stopped. Exit code (0).

     

    0: INF: Wed Jan 04 09:49:21 2012: ovconfd (5552/58556): (conf-390) Configuration and Deploy process 'ovconfd' started.

    0: INF: Wed Jan 04 09:49:22 2012: coda (2496/54012): Waiting to initialize SCOPE ...

    0: INF: Wed Jan 04 09:49:29 2012: coda (2496/54012): SCOPE datasource initialization succeeded

     

    Hope this helps :)

Children
No Data