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:55:36 +0100
Message-ID: <4D4B0838.2020703_at_gmail.com>



yes.

srvctl modify scan_listener -h

Modifies the SCAN listeners so that the number of SCAN listeners is the same as the number of SCAN VIPs or modifies the SCAN listener endpoints.

-u                       Update SCAN listeners to match the number of 
SCAN VIPs

Cheers,
Robert

On 02/03/2011 08:39 PM, Andrew Kerber wrote:
> So the way I read that, its just another modify command?
>
> srvctl modify scan_listener -u
>
> 2011/2/3 Robert Bialek <bialekr_at_gmail.com <mailto:bialekr_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
>>
>>
>>
>>
>
>
>
>
> --
> Andrew W. Kerber
>
> 'If at first you dont succeed, dont take up skydiving.'

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

Original text of this message