Need A script for disable

2 views
Skip to first unread message

rehaman abdul

unread,
Sep 20, 2007, 5:15:06 AM9/20/07
to mirac...@googlegroups.com
Hi All, 
 
I got the work to write a shell script like this below requirements.
 
 While running the cold refersh in the repliation, the users are connecting and making cold referesh fail.
 
 For this i need to write a script that disables/reenables all the remote connections.
 
 Their idea is to do like this: --  set the service name in dbm parameter to 0.

The  script should do roughly following:

script name: remote_users <p1> (parameter on or off)

Parameter off:

- set service name to 0 so that remote connections fail

- force all current apps off

- recycle instance

Parameter on:

- restore correct service name

- recycle instance

  Please write shell script as per the same.

  Do you have any doubts please let me know

  Advance thanks

  Rehaman

Reply all
Reply to author
Forward
0 new messages