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

  • From: Robert Bialek <bialekr@xxxxxxxxx>
  • To: Andrew Kerber <andrew.kerber@xxxxxxxxx>
  • Date: Thu, 03 Feb 2011 20:55:36 +0100

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@xxxxxxxxx <mailto:bialekr@xxxxxxxxx>>

    Hi Andrew,

    you can do this with:

    srvctl modify scan_listener -u

    grid@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@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@vm213:~/ [grid]

    grid@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@vm213:~/ [grid] crsctl delete res ora.LISTENER_SCAN3.lsnr


    grid@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@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@vm213:~/ [grid]


    grid@vm213:~/ [grid] srvctl modify scan_listener -u


    grid@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@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@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@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@xxxxxxxxx <mailto:surachart@xxxxxxxxx>> 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.'

Other related posts: