if Appserver gor deleted accidentally then
copy some Appserver directory to deleted Appserver location
then check
$ grep cell_name setupCmdLine.sh
$ perl -p -i -e 's/oldcellname/newcellname/g' setupCmdLine.sh
now after running above command it will replace all copied cell name with deleted cell name.
here old cell name is copied other cell name and new cell name is deleted cell name.
now check again check with below you will get all cell name with deleted cell name
$ grep cell_name setupCmdLine.sh
Note: Ensure Perl is available on server before going for above
copy some Appserver directory to deleted Appserver location
then check
$ grep cell_name setupCmdLine.sh
$ perl -p -i -e 's/oldcellname/newcellname/g' setupCmdLine.sh
now after running above command it will replace all copied cell name with deleted cell name.
here old cell name is copied other cell name and new cell name is deleted cell name.
now check again check with below you will get all cell name with deleted cell name
$ grep cell_name setupCmdLine.sh
Note: Ensure Perl is available on server before going for above
No comments:
Post a Comment