Cannot online resource - Veritas Cluster Server

This is a discussion on Cannot online resource - Veritas Cluster Server ; Error form engine_A.log ------------------------------ TAG_E 2006/09/07 14:26:38 VCS:50135:User root fired command: hares -online bgw totemm565ka from 172.16.10.18 TAG_D 2006/09/07 14:26:38 VCS:10233:Clearing Restart attribute for group Oracle1 on all nodes TAG_D 2006/09/07 14:26:38 VCS:10301:Initiating Online of Resource bgw (Owner: unknown, Group: ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: Cannot online resource

  1. Cannot online resource


    Error form engine_A.log
    ------------------------------
    TAG_E 2006/09/07 14:26:38 VCS:50135:User root fired command: hares -online
    bgw totemm565ka from 172.16.10.18
    TAG_D 2006/09/07 14:26:38 VCS:10233:Clearing Restart attribute for group
    Oracle1 on all nodes
    TAG_D 2006/09/07 14:26:38 VCS:10301:Initiating Online of Resource bgw (Owner:
    unknown, Group: Oracle1) on System totemm565ka
    TAG_D 2006/09/07 14:28:42 (totemm565ka) VCS:13066:Agent is calling clean
    for resource(bgw) because the resource is not up even after online completed.
    TAG_C 2006/09/07 14:29:02 (totemm565ka) An attempt is being made to forcefully
    shut down 'bgw' because the online entry point was ineffective.
    TAG_E 2006/09/07 14:29:03 (totemm565ka) VCS:13001:Resource(bgw): Output of
    the completed operation (clean)
    TAG_D 2006/09/07 14:29:03 (totemm565ka) VCS:13068:Resource(bgw) - clean completed
    successfully.
    TAG_D 2006/09/07 14:29:03 (totemm565ka) VCS:13072:Resource(bgw): Agent is
    retrying online (attempt number 1 of 3).


    Once it reached 3 times, Oracle group and its all resources go offline.

    main.cf
    -----------------
    group Oracle1 (
    SystemList = { totemm565ka = 2, totemm565kb = 1 }
    AutoStartList = { totemm565kb, totemm565ka }
    )

    DiskGroup Oracle1_DG (
    DiskGroup = ora1dg
    )

    IPMultiNIC Oracle1_IP (
    Address = "172.16.10.22"
    NetMask = "255.255.255.240"
    MultiNICResName = MultiNICA
    IfconfigTwice = 1
    )

    Mount Oracle1_Mount (
    MountPoint = "/var/opt/mediation/ora"
    BlockDevice = "/dev/vx/dsk/ora1dg/vol01"
    FSType = vxfs
    FsckOpt = "-y"
    )

    ORACLE bgw (
    )

    Proxy Oracle1_NIC_PROXY (
    TargetResName = MultiNICA
    )

    Oracle1_IP requires Oracle1_NIC_PROXY
    Oracle1_Mount requires Oracle1_DG
    Oracle1_Mount requires Oracle1_IP
    bgw requires Oracle1_Mount


    Anyone got this error before, pls help me...

  2. Re: Cannot online resource

    Fiattario wrote:
    > Error form engine_A.log
    > ------------------------------
    > TAG_E 2006/09/07 14:26:38 VCS:50135:User root fired command: hares -online
    > bgw totemm565ka from 172.16.10.18
    > TAG_D 2006/09/07 14:26:38 VCS:10233:Clearing Restart attribute for group
    > Oracle1 on all nodes
    > TAG_D 2006/09/07 14:26:38 VCS:10301:Initiating Online of Resource bgw (Owner:
    > unknown, Group: Oracle1) on System totemm565ka
    > TAG_D 2006/09/07 14:28:42 (totemm565ka) VCS:13066:Agent is calling clean
    > for resource(bgw) because the resource is not up even after online completed.
    > TAG_C 2006/09/07 14:29:02 (totemm565ka) An attempt is being made to forcefully
    > shut down 'bgw' because the online entry point was ineffective.
    > TAG_E 2006/09/07 14:29:03 (totemm565ka) VCS:13001:Resource(bgw): Output of
    > the completed operation (clean)
    > TAG_D 2006/09/07 14:29:03 (totemm565ka) VCS:13068:Resource(bgw) - clean completed
    > successfully.
    > TAG_D 2006/09/07 14:29:03 (totemm565ka) VCS:13072:Resource(bgw): Agent is
    > retrying online (attempt number 1 of 3).
    >
    >
    > Once it reached 3 times, Oracle group and its all resources go offline.
    >


    > Anyone got this error before, pls help me...


    hello,

    you may use ipcs to check the status of the interprocess communication
    facilities on "totemm565ka" - you may have shared memory segments and/or
    semaphores not cleaned correctly by oracle thus preventing the "Oracle1"
    resource from starting.

    greetings,

    Stoyan Angelov




  3. Re: Cannot online resource

    Fiattario wrote:

    > Hi,
    >
    > I got this,
    > bash-2.05# ipcs -A
    > IPC status from as of Fri Sep 8 14:18:24 ICT 2006
    > T ID KEY MODE OWNER GROUP CREATOR CGROUP
    > CBYTES QNUM QBYTES LSPID LRPID STIME RTIME CTIME
    > Message Queues:
    > T ID KEY MODE OWNER GROUP CREATOR CGROUP
    > NATTCH SEGSZ CPID LPID ATIME DTIME CTIME ISMATTCH
    > Shared Memory:
    > m 0 0x5e0028c7 --rw------- root root root root
    > 1 512 290 6944 12:02:40 14:17:16 12:02:40 0
    > m 301 0xb45271ac --rw-r----- oracle dba oracle dba
    > 0 167780352 14604 6617 14:15:29 14:15:29 12:53:07 0
    > m 502 0xf4202688 --rw-r----- oracle dba oracle dba
    > 0 167780352 2068 7070 14:17:46 14:17:46 13:59:16 0
    > T ID KEY MODE OWNER GROUP CREATOR CGROUP
    > NSEMS OTIME CTIME
    > Semaphores:
    > s 0 0x1 --ra-ra-ra- root root root root
    > 1 14:09:15 12:02:40
    > s 458753 0xe6146c48 --ra-r----- oracle dba oracle dba
    > 154 13:02:38 12:53:07
    > s 458754 0xa19b3374 --ra-r----- oracle dba oracle dba
    > 154 14:06:34 13:59:16
    >
    > could you please recommend how should I continue?
    >
    > Thanks.
    >


    hello,

    you may use ipcrm to remove oracle's shared memory segments and
    semaphores. in your case:

    ipcrm -m 301
    ipcrm -m 502
    ipcrm -s 458753
    ipcrm -s 458754

    note that this should be done on the node where oracle is not currently
    running (the one that you try unsuccessfully to start oracle on).

    greetings,

    Stoyan




  4. Re: Cannot online resource


    Stoyan Angelov wrote:
    >Fiattario wrote:
    >> Error form engine_A.log
    >> ------------------------------
    >> TAG_E 2006/09/07 14:26:38 VCS:50135:User root fired command: hares -online
    >> bgw totemm565ka from 172.16.10.18
    >> TAG_D 2006/09/07 14:26:38 VCS:10233:Clearing Restart attribute for group
    >> Oracle1 on all nodes
    >> TAG_D 2006/09/07 14:26:38 VCS:10301:Initiating Online of Resource bgw

    (Owner:
    >> unknown, Group: Oracle1) on System totemm565ka
    >> TAG_D 2006/09/07 14:28:42 (totemm565ka) VCS:13066:Agent is calling clean
    >> for resource(bgw) because the resource is not up even after online completed.
    >> TAG_C 2006/09/07 14:29:02 (totemm565ka) An attempt is being made to forcefully
    >> shut down 'bgw' because the online entry point was ineffective.
    >> TAG_E 2006/09/07 14:29:03 (totemm565ka) VCS:13001:Resource(bgw): Output

    of
    >> the completed operation (clean)
    >> TAG_D 2006/09/07 14:29:03 (totemm565ka) VCS:13068:Resource(bgw) - clean

    completed
    >> successfully.
    >> TAG_D 2006/09/07 14:29:03 (totemm565ka) VCS:13072:Resource(bgw): Agent

    is
    >> retrying online (attempt number 1 of 3).
    >>
    >>
    >> Once it reached 3 times, Oracle group and its all resources go offline.
    >>

    >
    >> Anyone got this error before, pls help me...

    >
    >hello,
    >
    >you may use ipcs to check the status of the interprocess communication
    >facilities on "totemm565ka" - you may have shared memory segments and/or


    >semaphores not cleaned correctly by oracle thus preventing the "Oracle1"


    >resource from starting.
    >
    >greetings,
    >
    >Stoyan Angelov
    >
    >
    >

    Hi,

    I got this,
    bash-2.05# ipcs -A
    IPC status from as of Fri Sep 8 14:18:24 ICT 2006
    T ID KEY MODE OWNER GROUP CREATOR CGROUP
    CBYTES QNUM QBYTES LSPID LRPID STIME RTIME CTIME
    Message Queues:
    T ID KEY MODE OWNER GROUP CREATOR CGROUP
    NATTCH SEGSZ CPID LPID ATIME DTIME CTIME ISMATTCH
    Shared Memory:
    m 0 0x5e0028c7 --rw------- root root root root
    1 512 290 6944 12:02:40 14:17:16 12:02:40 0
    m 301 0xb45271ac --rw-r----- oracle dba oracle dba
    0 167780352 14604 6617 14:15:29 14:15:29 12:53:07 0
    m 502 0xf4202688 --rw-r----- oracle dba oracle dba
    0 167780352 2068 7070 14:17:46 14:17:46 13:59:16 0
    T ID KEY MODE OWNER GROUP CREATOR CGROUP
    NSEMS OTIME CTIME
    Semaphores:
    s 0 0x1 --ra-ra-ra- root root root root
    1 14:09:15 12:02:40
    s 458753 0xe6146c48 --ra-r----- oracle dba oracle dba
    154 13:02:38 12:53:07
    s 458754 0xa19b3374 --ra-r----- oracle dba oracle dba
    154 14:06:34 13:59:16

    could you please recommend how should I continue?

    Thanks.


  5. Re: Cannot online resource

    My big question is What is the resource ?




    ORACLE bgw (
    )




    There is nothing !!!!

    Each resource is supposed to have some attributes that you set (stuff
    like the user for oracle, the SID, the home directory, ......). Nothing
    is set here !!!

    So what is VCS supposed to bring online ??? Which Oracle database ?
    Should it guess ?? Guess the SID, the user, the home directory the
    environment file ????


    Looks at the Guide for required (must have) attributes for the Oracle
    resource and set them !!




    Fiattario wrote:
    > Error form engine_A.log
    > ------------------------------
    > TAG_E 2006/09/07 14:26:38 VCS:50135:User root fired command: hares -online
    > bgw totemm565ka from 172.16.10.18
    > TAG_D 2006/09/07 14:26:38 VCS:10233:Clearing Restart attribute for group
    > Oracle1 on all nodes
    > TAG_D 2006/09/07 14:26:38 VCS:10301:Initiating Online of Resource bgw (Owner:
    > unknown, Group: Oracle1) on System totemm565ka
    > TAG_D 2006/09/07 14:28:42 (totemm565ka) VCS:13066:Agent is calling clean
    > for resource(bgw) because the resource is not up even after online completed.
    > TAG_C 2006/09/07 14:29:02 (totemm565ka) An attempt is being made to forcefully
    > shut down 'bgw' because the online entry point was ineffective.
    > TAG_E 2006/09/07 14:29:03 (totemm565ka) VCS:13001:Resource(bgw): Output of
    > the completed operation (clean)
    > TAG_D 2006/09/07 14:29:03 (totemm565ka) VCS:13068:Resource(bgw) - clean completed
    > successfully.
    > TAG_D 2006/09/07 14:29:03 (totemm565ka) VCS:13072:Resource(bgw): Agent is
    > retrying online (attempt number 1 of 3).
    >
    >
    > Once it reached 3 times, Oracle group and its all resources go offline.
    >
    > main.cf
    > -----------------
    > group Oracle1 (
    > SystemList = { totemm565ka = 2, totemm565kb = 1 }
    > AutoStartList = { totemm565kb, totemm565ka }
    > )
    >
    > DiskGroup Oracle1_DG (
    > DiskGroup = ora1dg
    > )
    >
    > IPMultiNIC Oracle1_IP (
    > Address = "172.16.10.22"
    > NetMask = "255.255.255.240"
    > MultiNICResName = MultiNICA
    > IfconfigTwice = 1
    > )
    >
    > Mount Oracle1_Mount (
    > MountPoint = "/var/opt/mediation/ora"
    > BlockDevice = "/dev/vx/dsk/ora1dg/vol01"
    > FSType = vxfs
    > FsckOpt = "-y"
    > )
    >
    > ORACLE bgw (
    > )
    >
    > Proxy Oracle1_NIC_PROXY (
    > TargetResName = MultiNICA
    > )
    >
    > Oracle1_IP requires Oracle1_NIC_PROXY
    > Oracle1_Mount requires Oracle1_DG
    > Oracle1_Mount requires Oracle1_IP
    > bgw requires Oracle1_Mount
    >
    >
    > Anyone got this error before, pls help me...


+ Reply to Thread