Re: 11gr2 Clusterware config (or: does anyone know what an endpoint is?)

From: Robert Bialek <bialekr_at_gmail.com>
Date: Thu, 03 Feb 2011 20:34:45 +0100
Message-ID: <4D4B0355.2080804_at_gmail.com>



Hi Andrew,

you can do this with:

srvctl modify scan_listener -u

grid_at_vm213:~/ [grid] srvctl status scan SCAN VIP scan1 is enabled
SCAN VIP scan1 is running on node vm213
SCAN VIP scan2 is enabled
SCAN VIP scan2 is running on node vm214
SCAN VIP scan3 is enabled
SCAN VIP scan3 is running on node vm214

grid_at_vm213:~/ [grid] srvctl status scan_listener

SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is running on node vm213
SCAN Listener LISTENER_SCAN2 is enabled
SCAN listener LISTENER_SCAN2 is running on node vm214
SCAN Listener LISTENER_SCAN3 is enabled
SCAN listener LISTENER_SCAN3 is not running
grid_at_vm213:~/ [grid]

grid_at_vm213:~/ [grid] crsctl stop res ora.LISTENER_SCAN3.lsnr CRS-2673: Attempting to stop 'ora.LISTENER_SCAN3.lsnr' on 'vm214' CRS-2677: Stop of 'ora.LISTENER_SCAN3.lsnr' on 'vm214' succeeded

grid_at_vm213:~/ [grid] crsctl delete res ora.LISTENER_SCAN3.lsnr

grid_at_vm213:~/ [grid] srvctl status scan SCAN VIP scan1 is enabled
SCAN VIP scan1 is running on node vm213
SCAN VIP scan2 is enabled
SCAN VIP scan2 is running on node vm214
SCAN VIP scan3 is enabled
SCAN VIP scan3 is running on node vm214

grid_at_vm213:~/ [grid] srvctl status scan_listener

SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is running on node vm213
SCAN Listener LISTENER_SCAN2 is enabled
SCAN listener LISTENER_SCAN2 is running on node vm214
grid_at_vm213:~/ [grid]

grid_at_vm213:~/ [grid] srvctl modify scan_listener -u

grid_at_vm213:~/ [grid] srvctl status scan_listener

SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is running on node vm213
SCAN Listener LISTENER_SCAN2 is enabled
SCAN listener LISTENER_SCAN2 is running on node vm214
SCAN Listener LISTENER_SCAN3 is enabled
SCAN listener LISTENER_SCAN3 is not running


grid_at_vm213:~/ [grid] crsctl start res ora.LISTENER_SCAN3.lsnr CRS-2672: Attempting to start 'ora.LISTENER_SCAN3.lsnr' on 'vm214' CRS-2676: Start of 'ora.LISTENER_SCAN3.lsnr' on 'vm214' succeeded

grid_at_vm213:~/ [grid] srvctl status scan_listener

SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is running on node vm213
SCAN Listener LISTENER_SCAN2 is enabled
SCAN listener LISTENER_SCAN2 is running on node vm214
SCAN Listener LISTENER_SCAN3 is enabled
SCAN listener LISTENER_SCAN3 is running on node vm214
grid_at_vm213:~/ [grid]

Cheers,
Robert

On 02/03/2011 07:27 PM, Andrew Kerber wrote:
> I guess I didnt explain the problem. There are now 3 ips for SCAN,
> and they show up properly in DNS and in srvctl config scan, but
> according to Oracle I have to add another scan listener. I cant
> figure out the correct syntax of the command to add a scan listener,
> primarily because I dont know what a scan prefix or an endpoint is.
>
> On Thu, Feb 3, 2011 at 11:35 AM, Surachart Opun <surachart_at_gmail.com
> <mailto:surachart_at_gmail.com>> wrote:
>
> >srvctl config scan also showed just two
> How about nslookup and dig command-line show you?
> 2 IPs or 3 IPs
>
> >Oracle usually said dont use crsctl for this kind of stuff except
> as a last resort.
>
> if you need to add resource SCAN or SCAN LISTNER - you may need it
>
> If you want to use "srvctl" -> check DNS see 3 IPs(mayby reverse
> DNS too), remove SCAN + SCAN LISTENER and then ADD again by srvctl
>
>
> Good Luck
> Surachart Opun
> http://surachartopun.com
> Oracle ACE, OCE, OCP
>
>
>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Feb 03 2011 - 13:34:45 CST

Original text of this message