There isn't much different if both your environmental setup are the same. Most likely its a different IP, eg. prod is 172.1.1.21 while QA.prod is 168.1.1.21. In this case, you have to parameterize the IP address of your scripts. If they are identified by hostname, it will be easier.
As shlomini mentioned, its what you want to achieve. Then create a generic script (mentioned above) that can work in the different environment.
-papayamilkshake







Reply With Quote