I had to chnag

To make it work with a RAC cluster I had to do the following little changes in the code of the script.

replace $SID by $SERVICE_NAME (it happens 2 times)

It is compatible from my experience (using 10.1 and 10.2)

Thank you