Re: How to modify a CRS resource
- From: amit.poddar@xxxxxxxx
- To: exriscer@xxxxxxxxx
- Date: Mon, 20 Mar 2006 09:27:15 -0500
Yes it is unsupported to change oracle resources using crs commands.
But I have done it on my test machines quite successfully.
For example for registering listener I did the following.
cd /tmp
touch ora.nemo.LISTENER_NEMO.lsnr.cap
vi ora.nemo.LISTENER_NEMO.lsnr.cap
and paste the following in the file
NAME=ora.nemo.LISTENER_NEMO.lsnr
TYPE=application
ACTION_SCRIPT=<FULL PATH TO ORACLE_HOME>/bin/racgwrap
ACTIVE_PLACEMENT=0
AUTO_START=1
CHECK_INTERVAL=600
DESCRIPTION=CRS application for Listener on node
FAILOVER_DELAY=0
FAILURE_INTERVAL=0
FAILURE_THRESHOLD=0
HOSTING_MEMBERS=nemo
OPTIONAL_RESOURCES=
PLACEMENT=restricted
REQUIRED_RESOURCES=
RESTART_ATTEMPTS=5
SCRIPT_TIMEOUT=600
USR_ORA_ALERT_NAME=
USR_ORA_CHECK_TIMEOUT=0
USR_ORA_CONNECT_STR=/ as sysdba
USR_ORA_DEBUG=0
USR_ORA_DISCONNECT=false
USR_ORA_FLAGS=
USR_ORA_IF=
USR_ORA_INST_NOT_SHUTDOWN=
USR_ORA_LANG=
USR_ORA_NETMASK=
USR_ORA_OPEN_MODE=
USR_ORA_OPI=false
USR_ORA_PFILE=
USR_ORA_PRECONNECT=none
USR_ORA_SRV=
USR_ORA_START_TIMEOUT=0
USR_ORA_STOP_MODE=immediate
USR_ORA_STOP_TIMEOUT=0
USR_ORA_VIP=
(All the parameters used above are documented in 10g R2 Docs)
then run
crs_register ora.nemo.LISTENER_NEMO.lsnr -dir /tmp -f
and try to start listener again using srvctl
thanks
Quoting LiShan Cheng <exriscer@xxxxxxxxx>:
Hi
I have seen those commands before I post the message. The problem (or not)
is the documentation specifically says
"Do not use the Oracle Clusterware commands crs_register, crs_profile,
crs_start or crs_stop on resources with names beginning with the prefix ora
unless either Oracle Support asks you to, or unless Oracle has certified you
as described in http://metalink.oracle.com."
Listener is one of ORA resources.
The crs_* commands are suppose to be used to protect third party
applications.
I guess netca is the only way to accomplish what I need...
On 3/20/06, amit.poddar@xxxxxxxx <amit.poddar@xxxxxxxx> wrote:
yes crs_register
and crs_unregister
They are in $CRS_HOME/bin
Its all documented in Oracle Cluster ware documentation of 10g R2.
But these commands also work in 10g R1
amit
Quoting LiShan Cheng <exriscer@xxxxxxxxx>:
> Hi
>
> I have been looking the Oracle Clusterware documentation for a command
which
> would modify resource name, for example the listener resource is called
>
> RAC_RAC02
>
> however my rac database is looking for LISTENER_RAC02. What I have done
is
> add a new listener using netca so the resource appears in CRS then using
the
> netca delete th incorrect listener. Is there a CRS command to modify the
> resource so netca is not needed?
>
> tia
>
--
http://www.freelists.org/webpage/oracle-l
- References:
- How to modify a CRS resource
- From: LiShan Cheng
- Re: How to modify a CRS resource
- From: amit . poddar
- Re: How to modify a CRS resource
- From: LiShan Cheng
Other related posts:
- » How to modify a CRS resource
- » Re: How to modify a CRS resource
- » Re: How to modify a CRS resource
- » Re: How to modify a CRS resource
Hi
I have seen those commands before I post the message. The problem (or not) is the documentation specifically says
"Do not use the Oracle Clusterware commands crs_register, crs_profile, crs_start or crs_stop on resources with names beginning with the prefix ora unless either Oracle Support asks you to, or unless Oracle has certified you as described in http://metalink.oracle.com."
Listener is one of ORA resources.
The crs_* commands are suppose to be used to protect third party applications.
I guess netca is the only way to accomplish what I need...
On 3/20/06, amit.poddar@xxxxxxxx <amit.poddar@xxxxxxxx> wrote:
yes crs_register and crs_unregister They are in $CRS_HOME/bin
Its all documented in Oracle Cluster ware documentation of 10g R2. But these commands also work in 10g R1
amit
Quoting LiShan Cheng <exriscer@xxxxxxxxx>:
> Hi > > I have been looking the Oracle Clusterware documentation for a command which > would modify resource name, for example the listener resource is called > > RAC_RAC02 > > however my rac database is looking for LISTENER_RAC02. What I have done is > add a new listener using netca so the resource appears in CRS then using the > netca delete th incorrect listener. Is there a CRS command to modify the > resource so netca is not needed? > > tia >
- How to modify a CRS resource
- From: LiShan Cheng
- Re: How to modify a CRS resource
- From: amit . poddar
- Re: How to modify a CRS resource
- From: LiShan Cheng