-
1. Re: Restarting RSCD agent service during a job.
Bill RobinsonApr 24, 2012 6:58 AM (in response to Malay Tiwari)
Yes. do the deploy of the dlls in a blpackage, and put a command to do the agent restart (agentctl) in an external command in the blpackage. Set the reboot type on that item to ‘out of band’ and set the deploy job to honor item defined reboot. The box won’t actually reboot but the agent restart will look like a restart for all intents and purposes.
-
2. Restarting RSCD agent service during a job.
Malay Tiwari Apr 25, 2012 5:09 AM (in response to Bill Robinson)Thanks Bill, it worked for me.
but for restarting RSCD agent following command didn't worked,
nexec -e -i agentctl -b restart, which gave an error "nexec: No host to execute the command on"
instead following cammand worked
nexec <hostname> agentctl -b restart.
Can you give me some workaround for this?
Malay
-
3. Restarting RSCD agent service during a job.
Rohit Nayyar Apr 25, 2012 5:11 AM (in response to Malay Tiwari)1 of 1 people found this helpfulIf you have included this command in the blpackage/deploy job, then you dont need to do a nexec.
Just adding agentctl -b restart as an external commmand in your blpackage.
-
4. Restarting RSCD agent service during a job.
Malay Tiwari Apr 25, 2012 5:41 AM (in response to Rohit Nayyar)I tried that earlier.. it didn't worked for me giving error
nsh: command not found: agentctl
Then I tried following which worked for me..
nexec ??TARGET.HOST?? agentctl -b restart
Thank you all for the help...
-
5. Re: Restarting RSCD agent service during a job.
Bill RobinsonApr 25, 2012 5:52 AM (in response to Malay Tiwari)
you are running this in the 'external command' of a blpackage right?
-
6. Re: Restarting RSCD agent service during a job.
Malay Tiwari Apr 25, 2012 5:54 AM (in response to Bill Robinson)Yes...
-
7. Re: Restarting RSCD agent service during a job.
Malay Tiwari Apr 25, 2012 6:21 AM (in response to Rohit Nayyar)Rohit,
I tried again and this time "agentctl -b restart" worked, I think I made a mistake while first execution..
Thanks...
-
8. Restarting RSCD agent service during a job.
Rohit Nayyar Apr 25, 2012 7:09 AM (in response to Malay Tiwari)Good to know