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.
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?
1 of 1 people found this helpful
If 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.
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...
you are running this in the 'external command' of a blpackage right?
I tried again and this time "agentctl -b restart" worked, I think I made a mistake while first execution..
Good to know