Monday, October 11, 2010

Stopping Sevices from automatically starting after adcfgclone.pl

To avoid problems of services starting automatically after running adcfgclone.pl and hence avoid CM from starting UP and executing any job on the destination instances during clonning , Below are the some small changes we need t make to scripts of adcfgclone.pl to avoid services starting automatically

Go to the end of the adcfgclone.pl file and make the following changes
FROM :
print "\nStarting application Services for $s_dbSid:\n";
print "Running:\n";
print(" $s_com/admin/scripts/$s_contextname/adstrtal.$ext $s_apps_user/\n");
system("$s_com/admin/scripts/$s_contextname/adstrtal.$ext $s_apps_user/$PWD");

TO:
print "\nStarting application Services for $s_dbSid:\n"; # print "Running:\n";
# print(" $s_com/admin/scripts/$s_contextname/adstrtal.$ext $s_apps_user/\n");
#system("$s_com/admin/scripts/$s_contextname/adstrtal.$ext $s_apps_user/$PWD");

No comments:

Post a Comment