Hello,
I have written a command n shell script :
srvctl relocate service -d t1 -s s1 -i i1 -t t1 -f
If the above command executes successfully without error I need to echo
"Service relocated successfully
and If it errors out I need to trap the errors in a file and also need to make sure that the script does not terminate because of a single service relocation error.I mean it ocntinues for other services relocation if one fails but logs the error in a file
Please advise.
Best regards,
Vishal