Wrong node name passing to HPM via SCOM to HPOM SCinterop connector

Hello,
We are experience an intermittant issue with our SCOM to HPOM SCInterOP connector. We are having an issue where the SCOM RMS server  name  is being passed to HPOM as the node name for alerts when in SCOM the node name is a completely diferent
server.
An example would be an IIS appplication pool error that is generated. The path for the alert will specificy a SCOM Agent node, such as "server1.acme.com", however when the event is generated in HPOM the node name will come up with our SCOM RMS server
name eg: "scomsrv1.acme.com".
We have an automated ticketing system which then generates a ticket in our service desk application however when this situation occurs it is very difficult for a non SCOM people to acurately determine what server is actually generating the error.
We are are running SCOM 2007 R2 CU6 and our HP OM server is 8.10 with the latest patches applied.
Any asistance would be much appreciated.
Regards
Tony

Tony,
There are 2 issues that can cause this.
1 - The node name of the IIS server 'server1.acme.com' fails DNS lookup and the connector reverts to the the RMS server name to guarantee the alert is delivered to HPOM.
2 - The connector uses the PrincipleName of the alert generated from SCOM. If the name does not resolve in DNS the connector will revert to the RMS server and use that to guarantee delivery to HPOM. There are a few MPs out there that do not set the PrincipleName
correctly in the alert which causes this issue and it is really an MP issues and not a connector issues.
There's an internal doc that addresses this and provides a workaround. If you'd like a copy you can send and email to [email protected] and replace the something with xplatext.
Regards,
-Steve

Similar Messages

  • How to Display Detailed navigation passing Top level navigation node name

    Hi All,
    I have prepared a DLN par file but unfortunatly my requirement is such that I need to pass one of the toplevel node name as input parameter and that should display the corresponding DLN which is from 3rd level.
    I have checked in sdn for passing a value to the navigation tag lib which will consider it as a selectednode but could find none.
    Can some body suggest me how to acheive this.
    Thanks in Advance.
    Sai Krishna. K

    Hi Kiran,
    Thanks for your Reply..
    Following is my Scenario:
    I use 2 same versions of portals connected via federated portal concept.
    I have my detailed navigation par file in portal2 and was calling it from portal1 from a iview.
    Since I am not physically navigating in portal2(which mean there is no selected node to iterate ), when I call that iview in portal1 it is picking up only 1st node in top level navigation.
    So i need to pass "My reports" (as 1st level) & "India" (as 2nd level) as parameters such that it gets only its DTN at all times from 3rd level.
    Hope you understand my scenario, below is my iteration code logic.
    <div id="myslidemenu" class="jqueryslidemenu">
    <ul>
         <nav:iterateSelectedNavNodesLevel level="<%=START_LEVEL%>">
         <%-- the 'currentDepth' attribute provides the byte value of the current level --%>
        <nav:recurseNavNodeChildren currentDepth="depth">
             <% current = start + depth.intValue() - 1; %>
             <%=writeClosingTags(last - current)%>
             <%
            last = current;
            %>
            <%-- we want to distinguish between folder and leaf nodes so we can use different graphics --%>
              <%-- complete the html syntax for the 'class' attribute pass it as an anchor attribute--%>
              <li><nav:navNodeAnchor navigationMethod="byURL" />
              <%-- checks for additional navigation level and the appropriate html tags to accomodate them --%>
            <nav:ifNextRecursionDepthWillIncrease>
                <ul>
            </nav:ifNextRecursionDepthWillIncrease>
            <nav:ifNextRecursionDepthWillNotChange>
                </li>
            </nav:ifNextRecursionDepthWillNotChange>
        </nav:recurseNavNodeChildren>
        <%=writeClosingTags(last - start)%>
        <% last = start; %>
    </nav:iterateSelectedNavNodesLevel>
    </ul>
    </div>
    As per the passing parameter concept please explain me a bit more clear with step by step procedure.
    <b>Here if not passing parameters, providing static values will also do for my requirement.</b>
    Many Thanks,
    Sai Krishna.
    Edited by: Konchada Sai Krishna on Feb 14, 2009 9:42 PM

  • Clusterware Installation Error - Unable to connect via private node names

    Hi,
    I am trying to install Oracle 10g Clusterware on a VMware two node cluster, Linux OS.
    Before starting to install the clusterware, I made sure the equivalency check passes. Also I can ping from one node to the other using the node names rac1 and rac2, and with the vips - rac1-vip and rac2-vip. However, I cannot ping the nodes, using the private IP names - rac1-priv and rac2-priv.
    I have checked both the /etc/hosts and they are all setup appropriately, as shown below. Is there something that I have not set up properly? Thanks in advance...
    For RAC1
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1     rac1.com     rac1     localhost.localdomain     localhost
    192.168.1.68 rac1.com rac1
    10.10.10.25 rac1-priv.com rac1-priv
    192.168.1.134 rac1-vip.com rac1-vip
    192.168.1.70 rac2.com rac2
    10.10.10.26 rac2-priv.com rac2-priv
    192.168.1.135 rac2-vip.com rac2-vip
    FOR RAC2
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1     rac2.com     rac2     localhost.localdomain     localhost
    192.168.1.68 rac1.com rac1
    10.10.10.25 rac1-priv.com rac1-priv
    192.168.1.134 rac1-vip.com rac1-vip
    192.168.1.70 rac2.com rac2
    10.10.10.26 rac2-priv.com rac2-priv
    192.168.1.135 rac2-vip.com rac2-vip

    Here it is ...
    Please note that I have changed my default gateway to 192.168.1.1 now.
    This is the information for node 1.
    [root@rac1 network-scripts]# /sbin/ifconfig -a
    eth0 Link encap:Ethernet HWaddr 00:0C:29:75:02:0D
    inet addr:192.168.1.134 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::20c:29ff:fe75:20d/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:19946 errors:0 dropped:0 overruns:0 frame:0
    TX packets:16470 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1731850 (1.6 MiB) TX bytes:7203843 (6.8 MiB)
    Interrupt:185 Base address:0x2000
    eth1 Link encap:Ethernet HWaddr 00:0C:29:75:02:17
    inet addr:192.168.1.68 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::20c:29ff:fe75:217/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:3054 errors:0 dropped:0 overruns:0 frame:0
    TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:378063 (369.2 KiB) TX bytes:3360 (3.2 KiB)
    Interrupt:169 Base address:0x2080
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:5000 errors:0 dropped:0 overruns:0 frame:0
    TX packets:5000 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:6717014 (6.4 MiB) TX bytes:6717014 (6.4 MiB)
    sit0 Link encap:IPv6-in-IPv4
    NOARP MTU:1480 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    [root@rac1 network-scripts]# traceroute 10.10.10.25
    traceroute to 10.10.10.25 (10.10.10.25), 30 hops max, 38 byte packets
    1 192.168.1.1 (192.168.1.1) 12.792 ms 1.447 ms 5.020 ms
    2 * * *
    3 * * *
    4 * * *
    5 * * *
    6 * * *
    7 * * *
    8 * * *
    9 * * *
    10 * * *
    11 * * *
    12 * *
    [root@rac1 network-scripts]# traceroute 10.10.10.26
    traceroute to 10.10.10.26 (10.10.10.26), 30 hops max, 38 byte packets
    1 192.168.1.1 (192.168.1.1) 4.896 ms 6.904 ms 4.628 ms
    2 * * *
    3 * * *
    [root@rac1 network-scripts]# cat /etc/resolv.conf
    nameserver 192.168.1.1
    [root@rac1 network-scripts]# route -n
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
    169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
    0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
    [root@rac1 network-scripts]#

  • Xml: how to get node value when pasing node name as a parameter

    Hi,
    I've got some xml:
    var xmlData:XML =
    <1stNode>
        <buttonID>first child node value</buttonID>
        <imageID>second child node value</imageID>
        <labelID>third child node value</labelID>
    </1stNode>
    Then I want to read specific node value based on a value passed to a function. .
    var buttonID = new Button;
    var imageID = new Image;
    var labelID = new Label;
    getNodeValue(buttonID); //the value here is set dynamically
    private function getNodeValue (nodeName:String):void {
    trace (xmlData.nodeName)                      //doesn't work
    var str:String = "xmlData." + nodeName;
    var xml:XMLList = str as XMLList             //doesn't work
    I'm don't know how to get the value when node name is dynamically changed.

    use:
    getNodeValue(buttonID); //the value here is set dynamically
    private function getNodeValue (nodeName:String):void {
    trace (xmlData[nodeName])                    

  • XPATH to determine node name in condition of Interface determination

    Hi,
    does anybody out there know whether one can use a condition such as "name(/p1:Envelop/p1:Body/*)" to retrieve the name of the first element underneath the Body structure which is usually the payload. In the example below.  I'd like to retrieve "ns0:BAPI_USER_GET_DETAIL" or just "BAPI_USER_GET_DETAIL" which I would like to than compare in my "=" condition.
    <?xml version="1.0" encoding="iso-8859-1"?>
    <sap:Envelope xmlns:sap="urn:sap-com:document:sap" version="1.0">
      <sap:Header xmlns:rfcprop="urn:sap-com:document:sap:rfc:properties">
        <saptr:From xmlns:saptr="urn:sap-com:document:sap:transport">BC1</saptr:From>
        <saptr:To xmlns:saptr="urn:sap-com:document:sap:transport">BC2</saptr:To>
      </sap:Header>
      <sap:Body>
         <ns0:BAPI_USER_GET_DETAIL xmlns:ns0="urn:sap-com:document:sap:rfc:functions">
          <CACHE_RESULTS/>
          <USERNAME>bauerd</USERNAME>
         </ns0:BAPI_USER_GET_DETAIL>
      </sap:Body>
    </sap:Envelope>
    I have a client that once to migrate his SAP BC interfaces to PI without having to change the sending application which is a CICS mainframe application. The mainframe application invokes various BAPI's by just passing in a different payload into the above envelope. The payload is always the request structure for the BAPI. The message is send synchronously to SAP BC which than calls the BAPI and returns the response to the caller, again in form of the above envelope and as payload the BAPI response structure.
    To convert this to PI I have to be able to initiate different interface mappings depending on what BAPI is requested. This is pretty straight forward as there are no special mapping transformation taking place in SAP BC for both the BAPI request and response. However I need to determine what interface mapping to call depending on BAPI requested by the CICS application.
    As said the customer does not want to change the sending application. The only part we are allowed to change is the URL which changes from SAP BC to the SAP PI Plain HTTP sender adapter. The post will always use the same outbound message interface. Therefore I can't use SAP PI's standard receiver determination. Using this adapter I will also be able to get access to the whole message envelope as outlined above.
    I already got all of this working nicely with the exception that I can't determine what BAPI is requested and therefore what interface mapping I have to trigger in my interface determination.
    Has anybody used a condition as above and if so how should it look like in the condition editor. The one outlined above does not seem to work. However it is also not failing in PI.
    Also I don't want to change my approach for doing this. However if it is not possible to retrieve the node name using the xpath statement (as outlined above) in the condtion editor than I will have to look for a different approach to resolve this problem. Any suggestions would than be more than welcome.
    Many thanks in advance.
    Dieter

    If the structure is not too big, you can use:
    //ns0:BAPI_USER_GET_DETAIL EX
    otherwise take the full path:
    /p1:Envelop/p1:Body/ns0:BAPI_USER_GET_DETAIL EX
    The namespaces have to be declared.
    Regards
    Stefan

  • Insufficient privileges wirh JDBC & somet. with name/pass@db

    SuseLinux 5.3 & Oracle 8.0.5:
    code-statement in a package (within the package is important!)
    cid := DBMS_SQL.OPEN_CURSOR;
    DBMS_SQL.PARSE('some statement');
    DBMS_SQL.CLOSE_CUSOR(cid);
    works alwyas with sqlplus name/pass
    works sometimes with sqlplus name/pass@db
    works never with JDBC:
    Message: #ORA-01031: insufficient privileges ORA-06512: at xyz,
    line 1776
    What is wrong?
    null

    Create a new user account called "usr", avoid user account
    called "user". connect to system and grant execute on the
    package to the new user "usr"..
    Ken
    OH (guest) wrote:
    : Some more test-results:
    : It works also never with user/passw@db
    : DBMS_SQL.PARSE was called with dbms_sql.v7
    : It works every time on NT with Personal Oracle 8
    : DBMS_SQL grant as sys/change_on_install:
    : grant all on dbms_sql to user;
    : What went wrong when i call a granted Package over SQL*NET??
    null

  • Failed to load the string PRKC-PRKC-1036 : CRS_HOME name passed to the meth

    Hi Experts,
    During Oracle database 11gR2 installation using ASM, I am facing below issue, please look into this and suggest
    Scope: 1- Install Grid Infrastructure and then rdbms software with creating db.
    Issue:
    1- ASM Grid (Grid Infrastructure software) has been installed successfully.
    2- When rdbms (database) Installer start DBCA for database creation it stuck and have same status after hour. When I check the logs I found below error (dbca: log), I am trying to get something more, if I get I will let you know, meanwhile I am also seeking your suggestion..
    Error:
    [main] [ 2012-08-08 14:46:19.600 GST ] [MessageBundle.getMessageFields:338] MessageBundle.getMessage() failed to load the string PRKC-PRKC-1036 : CRS_HOME name passed to the method was null Exception: java.util.MissingResourceException: Can't find resource for bundle oracle.ops.mgmt.resources.PrkcMsg, key PRKC-1036 : CRS_HOME name passed to the method was null
    [main] [ 2012-08-08 14:46:19.600 GST ] [ClusterUtils.getCRSActiveVersion:1797] Error getting CRS active version: PRKC-PRKC-1036 : CRS_HOME name passed to the method was null : <null>
    Note:
    1- I checked, ASM instance is up, listener is also up, and all disk are in mount status
    2- I am installation both (grid and rdbms) with same user (oracle) using same group (oinstall). (I did this because client want one user for both.
    3- Its Standalone server
    Please Help.
    Regards

    Doing things because "the client wants" is not a way to be successful.
    Do things the way Oracle recommends and then use sudo where required to give the customer what the customer wants.
    Show us the output of running Cluster Verify.
    My suspicion is that there are a number of things wrong with your installation.

  • HOw to get parent node name value through its child node?

    Hi,
    Experts,
    I am able to get child node name values but according to attribute name value i want to  get its parent name value how to achieve that. For that i have used If_Ixml_element->Get_parent. Please pass some idea on it.
    Thanks in advance,
    Shabeer ahmed.

    Hello Shabeer
    I think the coding should be straightforward:
    DATA: lo_element   TYPE REF TO if_ixml_element,
              lo_child        TYPE REF TO if_ixml_node,
              lo_parent      TYPE REF TO if_ixml_node.
    " NOTE: LO_ELEMENT holds your child node
      lo_child ?= lo_element.
      lo_parent = lo_child->get_parent( ).
    Regards
      Uwe

  • Create an object with the name passed in as a string argument to a method

    Hi,
    I am sorry if it's too trivial for this forum , but I am stuck with the following requirements.
    I have a method
    void abc(String object_name, String key, String value)
    method abc should first check if there exists in memory a hashmap object with the name passed in as argument object_name.
    If yes ..just put the key and value there.
    if not , then create the hashmap object called <object_name> and insert the key/value there.
    Can anybody help me in the first step i.e, how to check if an object exists with the name passed in and if not then create it.
    Will getInstance method be of any help?
    Thanks in advance for your response.
    -Sub-java

    Dear Cotton.m,
    Thanks for your suggesstion. I will remember that.
    But somehow I have a strong belief that you still need to consult dictionary for exact meaning of the words like "upset" , "frustration" etc. Not knowing something in a language , that too as a beginner, does not yield frustration, but increases curiosity. And people like petes1234 are there to diminish that appetite.
    To clarify above, let me compare jverd's reply to my doubt with petes1234's.
    jverd said it cannot be done and suggested a work around (It was perfect and worked for me) While petes1234 , having no work in hand probably, started analysis of newbies mistakes.
    jverd solved my problem by saying that it cannot be done. petes1234 acted as a worthless critic in my opinion and now joined cotton.m.
    Finally, this is a java forum and I do not want to discuss human characteristics here for sure.
    My apologies if I had a wrong concept or if I chose a wrong forum to ask, where people like petes1234 or Cotton.m show their geekdom by pointing out "shortfalls" rather than clearing that by perfect examples and words.
    Again take it easy and Cotton.m , please do not use this forum to figure out others' frustration but be a little more focussed on solving others "Java related" problems :)
    -Sub-java

  • Dynamic Accordion, fetching node name instead of value. Is it possible?

    Here is the xml.
    <?xml-stylesheet type="text/xsl" href="myweb.xsl"?>
    <client product="ppd" date="4/26/11 3:17 AM">
    <system>
           <osname>Linux
              </osname>
           <hostname>abhishek
              </hostname>
           <release>2.6.18-128.el5
              </release>
           <version>Red Hat Enterprise Linux Server release 5.3 (Tikanga)
              </version>
           <machine>ia64
              </machine>
           <bitmode>64
              </bitmode>
           <filesystem>
              <file mount='Mounted' home='Filesystem' total='1K-blocks' free='Available' used='Used' percentage='Use%' />
              <file mount='/' home='/dev/sda3' total='60300484' free='38305668' used='18882312' percentage='34%' />
              <file mount='/boot/efi' home='/dev/sda1' total='1046516' free='1037912' used='8604' percentage='1%' />
              <file mount='/dev/shm' home='tmpfs' total='4120800' free='4120800' used='0' percentage='0%' />
           </filesystem>
    </system>
    </client>
    my spry region. Using {systemData::osname} I can point to "Linux" but instead I would like to get osname itself. So basically I want to make a tree like structure using accordion where data within tree comes from this xml's node names.
    <div spry:region="systemData">
    <div id="Accordion1" class="Accordion" tabindex="0">
    <div spry:repeat="systemData" class="AccordionPanel">
    <div class="AccordionPanelTab">{systemData::osname}</div>
    <div class="AccordionPanelContent">
    {systemData::hostname}
    </div>
    </div>
    </div>
    <script type="text/javascript">
    var a1 = new Spry.Widget.Accordion("Accordion1");
    </script>
    </div>
    last but not least here is my spry dataset
    var systemData=new Spry.Data.XMLDataSet("include/xml/clientabhishek.xml","client/system");

    hehe. Sorry for not being so clear. I wanted to know whether there is a way I can get osname(node name) instead of Linux (node value) from my dataset. Like using {osname} I can get value of osname but I was wondering if osname itself can be fetched someway. Is there a way? Thanks for passing by

  • Installing Cloud Control 12c agent on other blades thru RPM and response file sets wrong cluster name

    Hi,
    Hopefully someone can help me with this. We installed em Cloud Control 12c and its agents on miscellaneous machines.
    We first proceeded with two target-nodes part of a Grid Infra cluster (let's call it proclu_1). OS is RH6.
    Then, using the same method (1/ yum -y install /tmp/oracle-agt-12.1.0.3.0-1.0.x86_64.rpm and then
    2/ /etc/init.d/oracle-agt RESPONSE_FILE=/usr/lib/oracle/agent/agent.properties) we installed the agent on 2 other
    blades that are part of another cluster (proclu_2). The agent.properties file above just contained the usual key-value lines:
    OMS_HOST=omsmachine.stuff.be
    OMS_PORT=4889
    AGENT_REGISTRATION_PASSWORD=ametemp
    AGENT_USERNAME=oracle
    AGENT_GROUP=oinstall
    AGENT_PORT=3873
    ORACLE_HOSTNAME=promachine.stuff.be
    Now if I change dir to /usr/lib/oracle/agent and search for the name "proclu*" from there, I find the name of the
    first install (on first cluster proclu_1):
    [oracle@bladb0406 agent]$ pwd
    /usr/lib/oracle
    [oracle@bladb0406 oracle]$ find . -name "proclu_1*"
    ./agent/agent_inst/sysman/emd/state/has/proclu2/cluster/proclu
    ./agent/agent_inst/sysman/emd/state/configstate/cluster/proclu_1
    ./agent/agent_inst/sysman/emd/state/statemgmt/cluster/proclu_1
    ./agent/agent_inst/sysman/log/targets/cluster/proclu_1
    My questions:
    1/ on the first two nodes (blada0204 & blada0406) of our first cluster doing this 'find' returns the
    same directory names with "proclu_1", this is what we expected: where did the oracle-agt script pick up
    our cluster name ?
    2/ why has it set the same -and wrong- "proclu_1" name on our two other nodes (bladb0204 & bladb0406) ??
    (we would've expected "proclu_2"...)
    Is there a way to correct this, or should I reinstall the agent (after configuring/modifying something somewhere
    so that it picks up the correct cluster name...) ??
    Thanks a lot.
    Regards,
    Seb

    Unfortunately, this goes back to the RAC install procedures.   Check the cluster name for each cluster.   If they're all installed the same, then you'll need to manually discover/edit name when you promote so that your clusters are unique in EM.
    To verify name set for clusterware installation:
    <CRS_HOME>/bin/cemutlo -n

  • XMLTABLE where node names become columns

    I hope someone can help me with this XMLTABLE question.
    I have XML data stored in a column of a table. I want to map the contents of the XML into relational rows and columns. My request is rather simple: I would like each name of node in the XML to become a column, the contents of the column equal to the name of the node.
    Here is what rows in my table look like:
    ID      XML_CONTENT                            
    832-Q   <LevelOne>                 
                <LevelTwo_A>
                    <LevelThree_1>
                        <h1>3.4</h2>
                        <h2>5.6</h2>
                    </LevelThree_1>
                    <LevelThree_2>
                        <h1>1.2</h2>
                        <h2>8.2</h2>
                    </LevelThree_2>
                    <LevelThree_3>
                        <h1>5.2</h2>
                        <h2>5.22</h2>
                    </LevelThree_3>
                </LevelTwo_A>
                <LevelTwo_A>
                    <LevelThree_4>
                        <h1>3.9</h2>
                        <h2>1.9</h2>
                    </LevelThree_4>
                </LevelTwo_A>
            </LevelOne>
    562-B   <LevelOne>
                <LevelTwo_B>
                    <LevelThree_1>
                        <h1>32.4</h2>
                        <h2>5.5</h2>
                    </LevelThree_1>
                    <LevelThree_4>
                        <h1>10.2</h2>
                        <h2>8.1/h2>
                    </LevelThree_4>
                </LevelTwo_B>
            </LevelOne>And what I would like as output is something like this:
    ID     L2           L3              H1       H2
    832-Q  LevelTwo_A   LevelThree_1    3.4      5.6
    832-Q  LevelTwo_A   LevelThree_2    1.2      8.2
    832-Q  LevelTwo_A   LevelThree_3    5.2      5.22
    832-Q  LevelTwo_A   LevelThree_4    3.9      1.9
    562-B  LevelTwo_B   LevelThree_1    32.4     5.5
    562-B  LevelTwo_B   LevelThree_4    10.2     8.1One way to put this is that it is really the H1 and H2 elements I'm interested in. Each node name in the path leading up to that I want to become columns in my output. Note: My H1 and H2 elements are always at exactly the depth as indicated in the example. I'm not interested in the very first node name ('LevelOne') of XML_CONTENT, simply because in my case it is always similar among the rows in my table.
    I've tried numerous forms of XMLTABLE but just cannot seem to get this right. At the same time I think my request is rather simple so I'm a bit embarrassed that I cannot figure this one out. Anyone can help ?
    Thanks.
    Edited by: user491370 on Apr 11, 2010 9:51 PM

    Hi,
    Your sample had to be corrected a little (e.g. &lt;h1&gt;3.4&lt;/h2&gt;) but here goes :
    -- < Data sample ----------------------------------------------------
    WITH t AS (
    SELECT '832-Q' id, xmltype(
    '<LevelOne>                 
       <LevelTwo_A>
         <LevelThree_1><h1>3.4</h1><h2>5.6</h2></LevelThree_1>
         <LevelThree_2><h1>1.2</h1><h2>8.2</h2></LevelThree_2>
         <LevelThree_3><h1>5.2</h1><h2>5.22</h2></LevelThree_3>
       </LevelTwo_A>
       <LevelTwo_A>
         <LevelThree_4><h1>3.9</h1><h2>1.9</h2></LevelThree_4>
       </LevelTwo_A>
    </LevelOne>'
    ) doc
    FROM dual
    UNION ALL
    SELECT '562-B', xmltype(
    '<LevelOne>
       <LevelTwo_B>
         <LevelThree_1><h1>32.4</h1><h2>5.5</h2></LevelThree_1>
         <LevelThree_4><h1>10.2</h1><h2>8.1</h2></LevelThree_4>
       </LevelTwo_B>
    </LevelOne>'
    FROM dual
    -- ---------------------------------------------------- Data sample >
    SELECT t.id, x.*
    FROM t, xmltable(
    'for $i in $d//*[h1|h2]
      return element row { attribute L3 { local-name($i) },
                           attribute L2 { local-name($i/..) },
                           $i/h1,
                           $i/h2 }'
      passing t.doc as "d"
      columns
       l2 varchar2(30) path '@L2',
       l3 varchar2(30) path '@L3',
       h1 varchar2(30) path 'h1',
       h2 varchar2(30) path 'h2'
    ) x;The key here is to select each parent of "h1" and "h2", then we can construct each "row" (function local-name() is used to retrieve the node name).

  • HT204053 Dear Support Team, every time i tried to logon Icloud its gives me wrong user name or password and at the end it show me error " This Apple ID is valid but is not an ICloud Account" then how can i use one account for same Apple ID and ICloud???

    Dear Support Team,
    Every time i tried to logon Icloud its gives me wrong user name or password and at the end it show me error " This Apple ID is valid but is not an ICloud Account" then how can i use one account for same Apple ID and ICloud?
    Thanks

    It is not possible to create a new iCloud account using a Windows machine. You must create the account using a Mac (10.7.5 or more) or an IOS device (iPhone etc). Once that is done you can sign into and use the account on your Windows machine.

  • I tried to share a photo using e-mail and when I set up my gmail account I typed in the wrong user name and password.  Now i can't share photos using e-mail.

    I tried to share a photo using e-mail and when i set up my gmail account I typed in the wrong user name and password.
    Now I can't send a photo because i get an error message saying the user name and password do not match.
    How do i save a new gmail user name and password??

    iPhoto Menu ->
    Preferences ->
    Accounts ->
    Delete and recreate your email settings.
    Alternatively, use Apple's Mail for the job. It has Templates too - and more of them.

  • How to map the node id to the node name in database view just like "V$GES_RESOURCE"

    i have a rac with 3 nodes,and the node id is from 1 to 3,i can check it with command olsnodes.
    $ olsnodes -p -n -i
    tdsdb1  1       tdsdb1-priv     tdsdb1-vip
    tdsdb2  2       tdsdb2-priv     tdsdb2-vip
    tdsdb3  3       tdsdb3-priv     tdsdb3-vip
    and i also can check it in gv$instance
    SQL> select inst_id,instance_number,instance_name from gv$instance;
       INST_ID INSTANCE_NUMBER INSTANCE_NAME
             1               1 jftds1
             3               3 jftds3
             2               2 jftds2
    but when i select the master node of some resource ,it shows some value of node id =0
    SQL> select resource_name,master_node from v$ges_resource;
    RESOURCE_NAME                  MASTER_NODE
    [0xdcc9fa12][0x246658a5],[QQ]            2
    [0x932][0x70c230e],[IV]                  0
    [0xd9fb][0x13181703],[IV]               0
    [0xddae][0x0],[TM]                       0
    [0xb970fb05][0x729b596a],[LB]            2
    [0xb580][0x70c2e1c],[IV]                 0
    [0x31ad56fb][0x7e4c3daa],[QQ]            2
    [0x3][0x797609],[HW]                     0
    [0x2bf04627][0xf28b1575],[QI]            0
    [0x19c89f33][0xd06ef447],[QQ]            0
    [0x529ae82][0x86e25d46],[QQ]             0
    it seems that the master node id is from 0 to 2
    i want to get the node name from the node id from   v$ges_resource,so i check the table cluster_nodes ,cluster_instances,but there are nothing.
    SQL> select * from CLUSTER_NODES;
    no rows selected
    SQL> select * from CLUSTER_INSTANCES ;
    no rows selected
    how can i get the node name from the node id in the tables just like " v$ges_resource"? thank you .

    my cluster ware version is 10.2.0.5
    database version is 10.2.0.5
    and the source of rac is all online
    $ crsctl query crs activeversion
    CRS active version on the cluster is [10.2.0.5.0]
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    CORE    10.2.0.5.0      Production
    TNS for IBM/AIX RISC System/6000: Version 10.2.0.5.0 - Productio
    NLSRTL Version 10.2.0.5.0 - Production
    $ crs_stat -t
    Name           Type           Target    State     Host       
    ora.jftds.db   application    ONLINE    ONLINE    tdsdb2     
    ora....tds1.cs application    ONLINE    ONLINE    tdsdb1     
    ora....s1.inst application    ONLINE    ONLINE    tdsdb1     
    ora....ds1.srv application    ONLINE    ONLINE    tdsdb1     
    ora....tds2.cs application    ONLINE    ONLINE    tdsdb2     
    ora....s2.inst application    ONLINE    ONLINE    tdsdb2     
    ora....ds2.srv application    ONLINE    ONLINE    tdsdb1     
    ora....tds3.cs application    ONLINE    ONLINE    tdsdb3     
    ora....s3.inst application    ONLINE    ONLINE    tdsdb3     
    ora....ds3.srv application    ONLINE    ONLINE    tdsdb3     
    ora....SM1.asm application    ONLINE    ONLINE    tdsdb1     
    ora....B1.lsnr application    ONLINE    ONLINE    tdsdb1     
    ora.tdsdb1.gsd application    ONLINE    ONLINE    tdsdb1     
    ora.tdsdb1.ons application    ONLINE    ONLINE    tdsdb1     
    ora.tdsdb1.vip application    ONLINE    ONLINE    tdsdb1     
    ora....SM2.asm application    ONLINE    ONLINE    tdsdb2     
    ora....B2.lsnr application    ONLINE    ONLINE    tdsdb2     
    ora.tdsdb2.gsd application    ONLINE    ONLINE    tdsdb2     
    ora.tdsdb2.ons application    ONLINE    ONLINE    tdsdb2     
    ora.tdsdb2.vip application    ONLINE    ONLINE    tdsdb2     
    ora....SM3.asm application    ONLINE    ONLINE    tdsdb3     
    ora....B3.lsnr application    ONLINE    ONLINE    tdsdb3     
    ora.tdsdb3.gsd application    ONLINE    ONLINE    tdsdb3     
    ora.tdsdb3.ons application    ONLINE    ONLINE    tdsdb3     
    ora.tdsdb3.vip application    ONLINE    ONLINE    tdsdb3    

Maybe you are looking for