Only one node detecting

Hi,
I installed oracle cluster ware on oel5 with version oracle 11g r2 on two node.
After installation of cluster ware i am trying to install oracle database software. But while installing it is showing only the first node only node1 that to in grey. another node is not detecting.
what could be the problem. If you know please let me know.
thank you

Can you post the output of below command.
export SRVM_TRACE=true
srvctl status nodeapps -n servername
Thanks,
Nayab

Similar Messages

  • SCAN LISTENER runs from only one node at a time from /etc/hosts !

    Dear all ,
    Recently I have to configure RAC in oracle 11g(r2) in AIX 6.1 . Since in this moment it is not possible to configure DNS, so I dont use SCAN ip into the DNS/GNS, I just add the SCAN ip into the host file like :
    cat /etc/hosts
    SCAN 172.17.0.22
    Got the info from : http://www.freeoraclehelp.com/2011/12/scan-setup-for-oracle-11g-release211gr2.html#ORACLE11GR2RACINS
    After configuring all the steps of RAC , Every services are ok except SCAN_LISTENER . This listener is up only one node at a time . First time when I chek it from node1 , it shows :
    srvctl status scan_listener
    SCAN listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dcdbsvr1
    now when I relocate it from node 2 using
    "srvctl relocate scan -i 1-n DCDBSVR2" , then the output shows :
    srvctl status scan_listener
    SCAN listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dcdbsvr2
    Baring these , we have to try to relocate it from the node2 by the following way, then it shows the error :
    srvctl relocate scan -i 2 -n DCDBSVR2
    resource ora.scan2.vip does not exists
    Now my question , How can I run the SCAN and SCAN_LISTENER both of the NODES ?
    Here is my listener file (which is in the GRID home location) configuration :
    Listener File OF NODE1 AND NODE 2:
    ==================================
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON
    LISTENER_SCAN1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC) (KEY = LISTENER_SCAN1)
    ADR_BASE_LISTENER_SCAN1 = /U01/APP/ORACLE
    2)
    Another issue , when I give the command : " ifconfig -a " , then it shows the SCAN ip either node1 or node2 . suppose if the SCAN ip is in the node1 , and then if I run the "relocate" command from node2 , the ip goes to the Node 2 . is it a correct situation ? advice plz ... ...
    thx in advance .. ...
    Edited by: shipon_97 on Jan 10, 2012 7:22 AM
    Edited by: shipon_97 on Jan 10, 2012 7:31 AM

    After configuring all the steps of RAC , Every services are ok except SCAN_LISTENER . This listener is up only one node at a time . First time when I chek it from node1 , it shows :If I am not wrong and after looking at the document you sent, you will be able to use only once scan in case you use /etc/host file and this will be up on only one node where you added this scan entry in /etc/hosts file.
    Now my question , How can I run the SCAN and SCAN_LISTENER both of the NODES ?Probably you can't in your case, you might run only one i think and on one node only
    srvctl status scan_listener
    SCAN listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dcdbsvr1
    now when I relocate it from node 2 using
    "srvctl relocate scan -i 1 -n DCDBSVR2" , then the output shows :
    srvctl status scan_listener
    SCAN listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dcdbsvr2You moved scan listener from node 1 to node 2, OK
    Baring these , we have to try to relocate it from the node2 by the following way, then it shows the error :
    srvctl relocate scan -i 2 -n DCDBSVR2
    resource ora.scan2.vip does not exists
    --------------------------------------------------------------------------------Since you have only one scan, you can't relocate "2". So ise "1" instead here also
    FYI
    http://www.oracle.com/technetwork/database/clustering/overview/scan-129069.pdf
    Salman

  • XML - ORA-19025: EXTRACTVALUE returns value of only one node

    Hi,
    I am new to XML DB. Can somebody help me with the below XML
    I use the following XML ... (I have pasted only a part of it coz i require data only till this section )
    XML
    <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
    instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Body>
    <ns:PicklistWS_GetPicklistValues_Output xmlns:ns="urn:crmondemand/ws/picklist/">
    <ListOfParentPicklistValue xmlns="urn:/crmondemand/xml/picklist">
    <ParentPicklistValue>
    <Language>ENU</Language>
    <ParentFieldName>plProduct_Team</ParentFieldName>
    <ParentDisplayValue>Marketing On Demand</ParentDisplayValue>
    <ParentCode>Marketing On Demand</ParentCode>
    <Disabled>N</Disabled>
    <ListOfPicklistValue>
    <PicklistValue>
    <Code>OCP/SME Escalation</Code>
    <DisplayValue>OCP/SME Escalation</DisplayValue>
    <Disabled>N</Disabled>
    </PicklistValue>
    <PicklistValue>
    <Code>Fusion Request</Code>
    <DisplayValue>Fusion Request</DisplayValue>
    <Disabled>N</Disabled>
    </PicklistValue>
    Code
    SELECT distinct
    EXTRACTVALUE(VALUE(SR), '/ParentPicklistValue/ListOfPicklistValue/PicklistValue/Code','xmlns="urn:/crmondemand/xml/picklist"') AS Display,
    EXTRACTVALUE(VALUE(SR),'/ParentPicklistValue/ListOfPicklistValue/PicklistValue/DisplayValue','xmlns="urn:/crmondemand/xml/picklist"') AS Return,
    EXTRACTVALUE(VALUE(SR),'/ParentPicklistValue/ParentDisplayValue','xmlns="urn:/crmondemand/xml/picklist"') AS parent_display,
    EXTRACTVALUE(VALUE(SR),'/ParentPicklistValue/ParentCode','xmlns="urn:/crmondemand/xml/picklist"') AS parent_return
    FROM TABLE(XMLSEQUENCE(EXTRACT(
    WEB_SERVICE('<?xml version="1.0" encoding="UTF-8" standalone="no"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
    <PicklistWS_GetPicklistValues_Input xmlns="urn:crmondemand/ws/picklist/">
    <FieldName>Type</FieldName>
    <RecordType>Service Request</RecordType>
    </PicklistWS_GetPicklistValues_Input>
    </soap:Body>
    </soap:Envelope>'
    ,'document/urn:crmondemand/ws/picklist/:GetPicklistValues', Sessionid),
    '/soap:Envelope/soap:Body/*/*/*','xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/'))) SR
    ERROR
    ORA-19025: EXTRACTVALUE returns value of only one node
    UNDERSTANDING
    As my Xpath points only until the node - ParentPicklistValue and not the child nodes under it. Hence when i try to query the child nodes - /ParentPicklistValue/ListOfPicklistValue/PicklistValue/Code, I recieve the above mentioned error.
    REQUIREMENT
    Can somebody help me to recieve the Parent values and also its child values based on the above query and xml.

    Hi,
    That's a classic ;)
    You need a second XMLSequence that will shred the collection of PicklistValue into relational rows :
    select extractvalue(value(sr2), '/PicklistValue/Code', 'xmlns="urn:/crmondemand/xml/picklist"') AS Display
         , extractvalue(value(sr2), '/PicklistValue/DisplayValue', 'xmlns="urn:/crmondemand/xml/picklist"') AS Return
         , extractvalue(value(sr1), '/ParentPicklistValue/ParentDisplayValue', 'xmlns="urn:/crmondemand/xml/picklist"') AS parent_display
         , extractvalue(value(sr1), '/ParentPicklistValue/ParentCode', 'xmlns="urn:/crmondemand/xml/picklist"') AS parent_return
    from table(
           xmlsequence(
             extract( WEB_SERVICE( ... )
                    , '/soap:Envelope/soap:Body/ns:PicklistWS_GetPicklistValues_Output/ListOfParentPicklistValue/ParentPicklistValue'
                    , 'xmlns="urn:/crmondemand/xml/picklist"
                       xmlns:ns="urn:crmondemand/ws/picklist/"
                       xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"' )
         ) sr1
       , table(
           xmlsequence(
             extract( value(sr1)
                    , '/ParentPicklistValue/ListOfPicklistValue/PicklistValue'
                    , 'xmlns="urn:/crmondemand/xml/picklist"' )
         ) sr2
    ;What's your database version BTW?
    On 10.2 and up, you may use XMLTable instead.

  • I want to make only one node draggable in the tree. How?

    I want to make only one node draggable in the tree. How?
    when we have only
    tree.setDragEnable(true)which makes draggable the entire nodes in the tree.
    Thanks -

    Hi Andrea
    Just to clarify things up: is this what you want?
    package treeDnD;
    * DragJustOneNode.java
    import java.awt.*;
    import java.awt.datatransfer.*;
    import java.awt.dnd.*;
    import java.io.*;
    import javax.swing.*;
    import javax.swing.tree.*;
    public class DragJustOneNode extends JFrame {
        private JTree tree;
        private DefaultTreeModel model;
        private DefaultMutableTreeNode root;
        public DragJustOneNode() {
            super("Only child 1 is draggable!");
            setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            setSize(400,300);
            setLocationRelativeTo(null);
            tree = new JTree();
            tree.setDragEnabled(true);
            getContentPane().add(new JScrollPane(tree), BorderLayout.CENTER);
            tree.setTransferHandler(new TreeTransferHandler());
            root = new DefaultMutableTreeNode(new NodeData(0, "root"));
            root.add(new DefaultMutableTreeNode(new NodeData(1, "child 1")));
            root.add(new DefaultMutableTreeNode(new NodeData(2, "child 2")));
            root.add(new DefaultMutableTreeNode(new NodeData(3, "child 3")));
            root.add(new DefaultMutableTreeNode(new NodeData(4, "child 4")));
            model = new DefaultTreeModel(root);
            tree.setModel(model);
        public static void main(final String args[]) {new DragJustOneNode().setVisible(true);}
    class NodeData{
        private int id;
        private String data;
        public NodeData(final int id, final String data){
            this.id = id;
            this.data = data;
        public int getId() {return id;}
        public void setId(final int id) {this.id = id;}
        public String getData() {return data;}
        public void setData(final String data) {this.data = data;}
        public String toString() {return data;}
    class TreeTransferable implements Transferable{
        private NodeData nodeData;
        public TreeTransferable(NodeData nodeData){
            this.nodeData = nodeData;
        public DataFlavor[] getTransferDataFlavors() {
            return new DataFlavor[]{DataFlavor.stringFlavor};
        public boolean isDataFlavorSupported(DataFlavor flavor) {
            return true;
        public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException {
            return nodeData;
    class TreeTransferHandler extends TransferHandler{
        private DefaultMutableTreeNode sourceNode, targetNode;
        public boolean canImport(final JComponent comp, final DataFlavor[] transferFlavors) {
            NodeData nodeData = (NodeData) (sourceNode).getUserObject();
            if(nodeData.getId() == 1) return true;
            return false;
        protected Transferable createTransferable(final JComponent c) {
            JTree tree = ((JTree)c);
            sourceNode = (DefaultMutableTreeNode) tree.getLastSelectedPathComponent();
            return new TreeTransferable((NodeData) sourceNode.getUserObject());
        public int getSourceActions(final JComponent c) {return DnDConstants.ACTION_MOVE;}
        public boolean importData(final JComponent comp, final Transferable t) {
            JTree tree = ((JTree)comp);
            DefaultTreeModel model = (DefaultTreeModel)tree.getModel();
            targetNode = (DefaultMutableTreeNode) tree.getLastSelectedPathComponent();
            DefaultMutableTreeNode parent = (DefaultMutableTreeNode)targetNode.getParent();
            if(parent == null) return false;
            model.removeNodeFromParent(sourceNode);
            model.insertNodeInto(sourceNode, parent, parent.getIndex(targetNode));
            tree.setSelectionPath(new TreePath(model.getPathToRoot(sourceNode)));
            return true;
    }

  • "ORA-19025 EXTRACTVALUE returns value of only one node" - Suggestion

    ORA-19025 EXTRACTVALUE returns value of only one node
    When this error occurs, would you please provide some or all of the following information:
    (1) row number
    (2) row id
    (3) the name of the offending column
    (5) the XQuery expression
    (6) the node name
    (7) the text value being parsed, in which an excess node was found
    and would you consider processing every good row, assuming it may be correct,
    because, in 13 thousand lines generated by my view, there is unlikely to even one more row in error.
    Thank you,
    Mike Rainville
    FYI,
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP and Data Mining options
    ojdbc6.jar 11.1.0.7.0

    Thanks for the suggestion...
    The problem is that in one row, information in a data dump about two different things was combined into one, due to a gap in the input file. The starting delimiter for the second thing and the ending delimiter for the first were missing. The result was that many entity tags that should have been unique were duplicated, ion that particular row.
    I was able to guard the view against future such errors with occurrences using this
    in the WHERE clause ...
    AND NOT ( XMLCLOB LIKE '%<TAG1>%<TAG1>%'
    OR XMLCLOB LIKE '%<TAG2>%<TAG2>%'
    OR XMLCLOB LIKE '%<TAG3>%<TAG3>%'
    /* ... Repeated once for each tag used with extractvalue */
    OR XMLCLOB LIKE '%<TAGN>%<TAGN>%'
    It filters out any row with two identical starting tags, where one is expected.
    I am pleased to see that the suggestion got through.

  • Extract return only one node.

    error is ORA-19025: EXTRACTVALUE returns value of only one node
    CREATE OR REPLACE PROCEDURE a_insertZipcodes
       IS
        p_directory  VARCHAR2(100);
        p_filename   VARCHAR2(100);
        l_xml xmltype;
          type tp is record (c1 varchar2(100), c2 varchar2(100));
          type t is table of tp;
          r t;
        BEGIN
        sp_co_set_globalvar(null,null,null,null,51,null,null,'EOD',null);
        p_filename :='myxml.xml';
        p_directory:=get_handoff_path_batch(PKG_CO_GLOBALVAR.ctrl1);
        l_xml := xmltype(bfilename(p_directory, p_filename), nls_charset_id('AL32UTF8'));
        select extractvalue(l_xml,'root/flexcube/contractStatus/system'),
        extractvalue(l_xml,'root/flexcube/contractStatus/accessKey') bulk collect into r from dual;
          for i in r.first..r.last loop
          dbms_output.put_line(r(i).c1);
          dbms_output.put_line(r(i).c2);
       end loop;
      END;
    xml file is :
    <root>
         <flexcube>
              <contractStatus>  
                   <system>TRESTEL</system>
                   <accessKey>eDealer</accessKey>
                   <password>eDealer</password>
                   <uuid>eDealer</uuid>
                   <sequenceNumber>206981112980100</sequenceNumber>
                   <sourceAddress>M@112980000201@2011-10-25 02:10:03.016@Internal@1112980100@20698@FX@1</sourceAddress>
                   <signature>FEDCBA98765432100123456789ABCDEF</signature>     
                   <ref_num>
                        <contractRef>1112980100</contractRef>
                   </ref_num>
                 <branch>018</branch>    
            </contractStatus>
            <contractStatus>  
                   <system>TRESTEL</system>
                   <accessKey>eDealer</accessKey>
                   <password>eDealer</password>
                   <uuid>eDealer</uuid>
                   <sequenceNumber>206981112980100</sequenceNumber>
                   <sourceAddress>M@112980000201@2011-10-25 02:10:03.016@Internal@1112980100@20698@FX@1</sourceAddress>
                   <signature>FEDCBA98765432100123456789ABCDEF</signature>     
                   <ref_num>
                        <contractRef>1112980100</contractRef>
                   </ref_num>
                 <branch>018</branch>    
            </contractStatus>
            <contractStatus>  
                   <system>TRESTEL</system>
                   <accessKey>eDealer</accessKey>
                   <password>eDealer</password>
                   <uuid>eDealer</uuid>
                   <sequenceNumber>206981112980100</sequenceNumber>
                   <sourceAddress>M@112980000201@2011-10-25 02:10:03.016@Internal@1112980100@20698@FX@1</sourceAddress>
                   <signature>FEDCBA98765432100123456789ABCDEF</signature>     
                   <ref_num>
                        <contractRef>1112980100</contractRef>
                   </ref_num>
                 <branch>018</branch>    
            </contractStatus>
         </flexcube>
    </root>
    error is ORA-19025: EXTRACTVALUE returns value of only one node

    use xmltable as in Re: XMl Inserting

  • Extractvalue gives "only one node" error

    Here is an example I tried to create based on some information I found at:
    http://www.orafaq.com/faq/how_does_one_store_and_extract_xml_data_from_oracle
    I created the table with the following:
    create table XMLTable (doc_id number, filename varchar2(100), xml_data XMLType);
    For a particular record, the xml_data field looks like this:
    <FAQ-LIST>
         <QUESTION>
              <QUERY>Question 1</QUERY>
    <RESPONSE>Abraham Lincoln</RESPONSE>
    </QUESTION>
         <QUESTION>
         <QUERY>Question 2</QUERY>
         <RESPONSE>Thomas Jefferson</RESPONSE>
         </QUESTION>
    </FAQ-LIST>
    I tried to model my select statement after the example:
    select extractValue(xml_data, '/FAQ-LIST/QUESTION/RESPONSE')
    from XMLTable
    where doc_id = 1
    and existsNode(xml_data, '/FAQ-LIST/QUESTION[QUERY="Question 1"]') = 1;
    hoping for a result of "Abraham Lincoln", but instead get the error:
    ORA-19025: EXTRACTVALUE returns value of only one node ...
    How can I arrange the query so I get one RESPONSE for each QUERY value named?
    Thanks,
    --Dave                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    SQL> SELECT EXTRACTVALUE (COLUMN_VALUE, 'QUESTION/RESPONSE') response
      FROM TABLE
              (XMLSEQUENCE
                  (EXTRACT
                      (XMLTYPE
                          ('<FAQ-LIST>
    <QUESTION>
    <QUERY>Question 1</QUERY>
    <RESPONSE>Abraham Lincoln</RESPONSE>
    </QUESTION>
    <QUESTION>
    <QUERY>Question 2</QUERY>
    <RESPONSE>Thomas Jefferson</RESPONSE>
    </QUESTION>
    </FAQ-LIST>'
                       '/FAQ-LIST/QUESTION'
              ) t
    WHERE EXTRACTVALUE (COLUMN_VALUE, 'QUESTION/QUERY') = 'Question 1'
    RESPONSE                                                                       
    Abraham Lincoln                                                                
    1 row selected.

  • In the DTN only one node Open

    Hi
    I am working on portal SP14.
    I wan't that the DTN will show only one Open folder (node) at a time.
    Meaning, when a user presses on a folder (node) in the DTN- This folder (node) will open and  other opened Folder (node) will be closed automatically.
    Thanks
    Nir

    Hi, I have the same Problem. Has nobody a solution?

  • Help only one usb detected on msi kt3 ultra2 ms 6380e on any version o

    i have a problem my specs are here:
    MSI KT3Ultra2 MS6380E
    Bios Ver. 5.6
    Memory 768 Megs Pny ddr Sdram
    Sound- On board
    harddisk- Maxtor 60 gig ata 133
    cd burner 52X24X52 Memorex
    when i install any version of windows it dont matter all it does it detect only one of my usb ports i dont know why but it Sux! please help me.

    Hi,
    Check in the BIOS if all ports are enabled.

  • Oracle 10g RAC - two nodes - change SAN storage - only one node up

    Hi all,
    We're using Oracle 10g with Linux Red Hat.
    We want to migrate to another SAN storage.
    The basic steps are:
    node 1:
    1. presents the volume disk and create partition
    2. asmlib create disk newvolume
    3. alter diskgroup oradata add disk newdisk
    4. alter diskgroup oradata drop disk OLDDISKOTHERSAN
    But THE NODE 2 DOWN.
    we want start the NODE 2 only after ALL operations in node 1 finish.
    What's you opinion? Any impact?
    Can I execute the oracleasm scandisks on node 2 after?
    thank you very much!!!!

    modify the commands just slightly...
    1. presents the volume disk node1 AND node2
    2. create partition node1 [if necessary?? ]
    3. asmlib create disk newvolume [node1] ## I am not a fan of and have never had to use ASMlib - however, apparently you do...
    4. asmlib scandisk... [node2]
    [on one of the nodes]
    alter diskgroup oradata add disk1 newdisk rebalance power 0
    alter diskgroup oradata add disk2 newdisk rebalance power 0
    alter diskgroup oradata add disk3 newdisk rebalance power 0
    alter diskgroup oradata add disk{n} newdisk rebalance power 0
    alter diskgroup oradata drop disk1 OLDDISKOTHERSAN rebalance power 0
    alter diskgroup oradata drop disk2 OLDDISKOTHERSAN rebalance power 0
    alter diskgroup oradata drop disk3 OLDDISKOTHERSAN rebalance power 0
    alter diskgroup oradata drop disk{n} OLDDISKOTHERSAN rebalance power 0
    alter diskgroup oradata rebalance power {n}
    You can actually do this with BOTH nodes ONLINE. I was involved in moving 250TB from one storage vendor to another - all online - no downtime, no outage.
    And before you actually do this and break something - TEST it first!!!

  • 10g RAC with only one node

    Hello
    We are planning to have 10g eventually with 2 nodes in the next 2 weeks. We would like to start preparation, can we install it on our first node and then complete the install when the second is in place.

    Hi,
    You start your prepration on Node1 straight away and can only Implement RAC when Node2 in its place.
    Regards
    Sunny

  • Xml parse, only one node

    Hello,
    I need to parse a xm string (i've got a String variable with an xml in it) to extract some fields.
    All the examples i've read tell you how to index a xml with different nodes on it, but isn't there some function to extract just the field you need?
    For example, CPU.
    Thanks.
    <TEMPLATE><CONTEXT><FILES><![CDATA[/srv/cloud/images/cursos_images/-curso-iop-nodos/context/init.sh]]></FILES><HOSTNAME><![CDATA[ioparal_node1]]></HOSTNAME><IP><![CDATA[192.168.210.2]]></IP><TARGET><![CDATA[hdd]]></TARGET></CONTEXT><CPU><![CDATA[1]]></CPU><DISK><DISK_ID><![CDATA[0]]></DISK_ID><SOURCE><![CDATA[/srv/cloud/images/cursos_images/curso-iop-nodos/-curso-iop-nodo.img]]></SOURCE><TARGET><![CDATA[hda]]></TARGET></DISK><GRAPHICS><KEYMAP><![CDATA[es]]></KEYMAP><LISTEN><![CDATA[127.0.0.1]]></LISTEN><PORT><![CDATA[6680]]></PORT><TYPE><![CDATA[vnc]]></TYPE></GRAPHICS><MEMORY><![CDATA[2048]]></MEMORY><NAME><![CDATA[curso-ioparal_node1]]></NAME><NIC><BRIDGE><![CDATA[br1]]></BRIDGE><IP><![CDATA[192.168.210.2]]></IP><MAC><![CDATA[fe:c0:a8:d2:02]]></MAC><NETWORK><![CDATA[curso-iop-local]]></NETWORK><NETWORK_ID><![CDATA[145]]></NETWORK_ID></NIC><OS><ROOT><![CDATA[hda1]]></ROOT></OS><RANK><![CDATA[- RUNNING_VMS]]></RANK><REQUIREMENTS><![CDATA[HYPERVISOR = "kvm"]]></REQUIREMENTS><VCPU><![CDATA[1]]></VCPU><VMID><![CDATA[780]]></VMID></TEMPLATE>

    i tried it and i got 1 as a result value of CPU tag.
    Here is the code.
    import java.io.ByteArrayInputStream;
    import java.io.InputStream;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.NodeList;
    public class XMLParse
    public static void main(String[] args) throws Exception
    String tmp = "<TEMPLATE><CONTEXT><FILES><![CDATA[/srv/cloud/images/cursos_images/-curso-iop-nodos/context/init.sh]]></FILES><HOSTNAME><![CDATA[ioparal_node1]]></HOSTNAME><IP><![CDATA[192.168.210.2]]></IP><TARGET><![CDATA[hdd]]></TARGET></CONTEXT><CPU><![CDATA[1]]></CPU><DISK><DISK_ID><![CDATA[0]]></DISK_ID><SOURCE><![CDATA[/srv/cloud/images/cursos_images/curso-iop-nodos/-curso-iop-nodo.img]]></SOURCE><TARGET><![CDATA[hda]]></TARGET></DISK><GRAPHICS><KEYMAP><![CDATA[es]]></KEYMAP><LISTEN><![CDATA[127.0.0.1]]></LISTEN><PORT><![CDATA[6680]]></PORT><TYPE><![CDATA[vnc]]></TYPE></GRAPHICS><MEMORY><![CDATA[2048]]></MEMORY><NAME><![CDATA[curso-ioparal_node1]]></NAME><NIC><BRIDGE><![CDATA[br1]]></BRIDGE><IP><![CDATA[192.168.210.2]]></IP><MAC><![CDATA[fe:c0:a8:d2:02]]></MAC><NETWORK><![CDATA[curso-iop-local]]></NETWORK><NETWORK_ID><![CDATA[145]]></NETWORK_ID></NIC><OS><ROOT><![CDATA[hda1]]></ROOT></OS><RANK><![CDATA[- RUNNING_VMS]]></RANK><REQUIREMENTS><![CDATA[HYPERVISOR = \"kvm\"]]></REQUIREMENTS><VCPU><![CDATA[1]]></VCPU><VMID><![CDATA[780]]></VMID></TEMPLATE>";
    DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
    DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
    InputStream inp = new ByteArrayInputStream(tmp.getBytes());
    Document doc = docBuilder.parse(inp);
    System.out.println(XMLParse.getTagValue(doc,"TEMPLATE#CPU"));
    public static String getTagValue(Document doc,String tagPattern)
    String[] tags = tagPattern.split("#");
    String resultValue = "";
    Element el;
    NodeList nodes = doc.getElementsByTagName(tags[0]);
    if(nodes != null && nodes.getLength() > 0)
    el = (Element)nodes.item(0);
    for(int i=1; i < tags.length; i++)
    nodes = el.getElementsByTagName(tags[ i]);
    if(nodes != null && nodes.getLength() > 0)
    el = (Element)nodes.item(0);
    if(el != null && el.getFirstChild() != null)
    resultValue = el.getFirstChild().getNodeValue();
    return (resultValue == null)?"":resultValue;
    -----

  • ORA-19025: EXTRACTVALUE returns value of only one nod- When creating index

    Hi,
    My table have 2 columns . Columns are
    Key varchar2(50)
    Attribute XMLType
    Below is my sample XML which is stored in Attribute column.
    <resource>
    <lang>
    <lc>FRE</lc>
    <lc>ARA</lc>
    </lang>
    <site>
    <sp>257204</sp>
    <sp>3664</sp>
    </site>
    <page>
    <pp>64272714</pp>
    <pp>64031775</pp>
    <pp>256635</pp>
    </page>
    <key>
    <kt>1</kt>
    </key>
    </resource>
    When i try to create a index on XML column and i am getting the above exception. kindly help me out becz i'm not familar with oracle.
    Query is
    create index XMLTest_ind on language_resource_wrapper
         (extractValue(attribute, '/resource/site/sp') )
    index on sp,pp elements in the above XML.

    Thanks for the suggestion...
    The problem is that in one row, information in a data dump about two different things was combined into one, due to a gap in the input file. The starting delimiter for the second thing and the ending delimiter for the first were missing. The result was that many entity tags that should have been unique were duplicated, ion that particular row.
    I was able to guard the view against future such errors with occurrences using this
    in the WHERE clause ...
    AND NOT ( XMLCLOB LIKE '%<TAG1>%<TAG1>%'
    OR XMLCLOB LIKE '%<TAG2>%<TAG2>%'
    OR XMLCLOB LIKE '%<TAG3>%<TAG3>%'
    /* ... Repeated once for each tag used with extractvalue */
    OR XMLCLOB LIKE '%<TAGN>%<TAGN>%'
    It filters out any row with two identical starting tags, where one is expected.
    I am pleased to see that the suggestion got through.

  • Lync Server 2013 Front End Pool Mediation Service only works on one node

    Hello, I'm currently experiencing an interesting issue with a Lync 2013 Front End Pool implementation on a customer, and I don't know if this is by design or am I missing something.
    We implemented 3 Enterprise Front End Servers in a Pool with a hardware load balancer and we have them configured also as a mediation Pool.
    We have a SIP trunk to an Avaya PBX which was perfectly working before on a Lync 2010 Implementation that we migrated to these new 2013 Front End Pools.
    Now the SIP traffic is only working when configured directly to one node of the pool. If we configure it to any other node the calls fail. We also tried configuring the HLB for port 5060 for the pool and pointed the PBX to that IP but the calls also fail.
    Searching around I read something about that the PBX has to be Lync certified in order to use DNS load balancing to send SIP traffic to the mediation pool, however, I don't think DNS load balancing will work because the other nodes doesn't connect the calls
    from the PBX, only one node appears to be listening for the SIP Trunk.
    I also restarted the mediation service on one  non-working mediation server node and the event viewer on the working mediation server node showed events that it restarted the service, Not the non-working one, it's like only one server from the pool
    is doing as mediation server. 
    So even if I get a Lync Certified PBX/Media Gateway, the mediation service doesn't appear to be load balanced, or how does it work in order to do that?
    Thanks.
    Eduardo Rojas

    Just a few things about what should be happening.  Each front-end server should be listening on the port configured in topology builder for the mediation service. So if that is port 5060, verify that you see that port listening on all front-end servers
    by running a netstat -ano.  From a local workstation, also make sure you can connect to that port via a telnet IPAddress 5060.  As you say, you should be able to send any of the three mediation servers an inbound call.
    Outbound calls will round robin out of the enterprise pool.  So you shouldn't see all of the calls coming out of a single server.
    A few other items I would look into:
    - Make sure your ports are right.  Ensure that you are matching ports on the Avaya and Lync.  It's not a hard requirement but makes life easier to troubleshoot.  So if the Avaya is 5060, just make sure TCP/5060 enabled in your mediation pools
    and that your gateways/trunks are also set to TCP/5060.
    - Look outside the Lync Event Viewer and see if anything strange (.net errors) are being tossed anywhere else during startup of the mediation service.  I once had to remove the mediation server installer (Program and Features | Remove) and rebootstrap
    the server because something went sideways during an install.
    Thanks,
    Richard
    Richard Brynteson, Lync MVP | http://masteringlync.com | http://lyncvalidator.com

  • Service is Running on one node only but Preferred instances is on both nodes

    Hi Gurus,
    Here we configured the below service for my 2 node 11gR2 rac db which is on solaris. While i checked the status it is running on only one node.
    Can some one please help me how to find out the issue why it is not running on node 2.
    fdufrdstd02:/home/oracle [+ASM1] $ srvctl status service -d scmple
    Service BPSCare.ebiz.verizon.com is running on instance(s) scmple1
    Service BPSData.ebiz.verizon.com is running on instance(s) scmple1
    fdufrdstd02:/home/oracle [+ASM1] $ srvctl config service -s BPSCare.ebiz.verizon.com -d scmple
    Service name: BPSCare.ebiz.verizon.com
    Service is enabled
    Server pool: scmple_BPSCare.ebiz.verizon.com
    Cardinality: 2
    Disconnect: false
    Service role: PRIMARY
    Management policy: AUTOMATIC
    DTP transaction: false
    AQ HA notifications: false
    Failover type: NONE
    Failover method: NONE
    TAF failover retries: 0
    TAF failover delay: 0
    Connection Load Balancing Goal: LONG
    Runtime Load Balancing Goal: NONE
    TAF policy specification: BASIC
    Edition:
    Preferred instances: scmple1,scmple2
    Available instances:
    fdufrdstd02:/home/oracle [+ASM1] $
    fdufrdstd02:/home/oracle [+ASM1] $ crsctl stat res -t
    NAME           TARGET  STATE        SERVER                   STATE_DETAILS
    Local Resources
    ora.ACFSDG.dg
                   ONLINE  ONLINE       fdufrdstd02
                   ONLINE  ONLINE       fdufrdstd03
    ora.ARCH.dg
                   ONLINE  ONLINE       fdufrdstd02
                   ONLINE  ONLINE       fdufrdstd03
    ora.CMPDATA.dg
                   ONLINE  ONLINE       fdufrdstd02
                   ONLINE  ONLINE       fdufrdstd03
    ora.LISTENER.lsnr
                   ONLINE  INTERMEDIATE fdufrdstd02              Not All Endpoints R
                                                                 egistered
                   ONLINE  ONLINE       fdufrdstd03
    ora.OCRVOTE.dg
                   ONLINE  ONLINE       fdufrdstd02
                   ONLINE  ONLINE       fdufrdstd03
    ora.OFFLINEDATA.dg
                   ONLINE  ONLINE       fdufrdstd02
                   ONLINE  ONLINE       fdufrdstd03
    ora.SCMDATA.dg
                   ONLINE  ONLINE       fdufrdstd02
                   ONLINE  ONLINE       fdufrdstd03
    ora.acfsdg.volacfs.acfs
                   ONLINE  ONLINE       fdufrdstd02              mounted on /goldeng
                                                                 ate
                   ONLINE  ONLINE       fdufrdstd03              mounted on /goldeng
                                                                 ate
    ora.asm
                   ONLINE  ONLINE       fdufrdstd02              Started
                   ONLINE  ONLINE       fdufrdstd03              Started
    ora.gsd
                   OFFLINE OFFLINE      fdufrdstd02
                   OFFLINE OFFLINE      fdufrdstd03
    ora.net1.network
                   ONLINE  ONLINE       fdufrdstd02
                   ONLINE  ONLINE       fdufrdstd03
    ora.ons
                   ONLINE  ONLINE       fdufrdstd02
                   ONLINE  ONLINE       fdufrdstd03
    ora.registry.acfs
                   ONLINE  ONLINE       fdufrdstd02
                   ONLINE  ONLINE       fdufrdstd03
    Cluster Resources
    ora.LISTENER_SCAN1.lsnr
          1        ONLINE  INTERMEDIATE fdufrdstd02              Not All Endpoints R
                                                                 egistered
    ora.LISTENER_SCAN2.lsnr
          1        ONLINE  ONLINE       fdufrdstd03
    ora.LISTENER_SCAN3.lsnr
          1        ONLINE  INTERMEDIATE fdufrdstd02              Not All Endpoints R
                                                                 egistered
    ora.cmpple.bpsrealtime.ebiz.verizon.com.svc
          1        ONLINE  ONLINE       fdufrdstd02
          2        ONLINE  OFFLINE
    ora.cmpple.db
          1        ONLINE  ONLINE       fdufrdstd02              Open
          2        ONLINE  ONLINE       fdufrdstd03              Open
    ora.cvu
          1        ONLINE  ONLINE       fdufrdstd02
    ora.fdufrdstd02.vip
          1        ONLINE  ONLINE       fdufrdstd02
    ora.fdufrdstd03.vip
          1        ONLINE  ONLINE       fdufrdstd03
    ora.oc4j
          1        ONLINE  ONLINE       fdufrdstd03
    ora.offline.db
          1        OFFLINE OFFLINE                               Instance Shutdown
          2        OFFLINE OFFLINE                               Instance Shutdown
    ora.scan1.vip
          1        ONLINE  ONLINE       fdufrdstd02
    ora.scan2.vip
          1        ONLINE  ONLINE       fdufrdstd03
    ora.scan3.vip
          1        ONLINE  ONLINE       fdufrdstd02
    ora.scmple.bpscare.ebiz.verizon.com.svc
          1        ONLINE  ONLINE       fdufrdstd02
          2        ONLINE  OFFLINE
    ora.scmple.bpsdata.ebiz.verizon.com.svc
          1        ONLINE  ONLINE       fdufrdstd02
    ora.scmple.db
          1        ONLINE  ONLINE       fdufrdstd02              Open
          2        ONLINE  ONLINE       fdufrdstd03              Open
    xag.fdufrdstd02-vip2
          1        ONLINE  ONLINE       fdufrdstd03
    xag.gg_1.goldengate
          1        OFFLINE OFFLINE
    Thanks & Regards,
    Venkata Poorna Prasad.S

    Hi Javier,
    I am able to start it manaully . But previously i start the service like below and only it is up on one node.
    $srvctl start service -d <database_name> -s <service_name>
    Also can you please help on crsctl stat res -t output there is entry like Note All Endpoints Registered . What is ment by that as show below.
    {code}
    Cluster Resources
    ora.LISTENER_SCAN1.lsnr
          1        ONLINE  INTERMEDIATE fdufrdstd02              Not All Endpoints R
                                                                 egistered
    ora.LISTENER_SCAN2.lsnr
          1        ONLINE  ONLINE       fdufrdstd03
    ora.LISTENER_SCAN3.lsnr
          1        ONLINE  INTERMEDIATE fdufrdstd02              Not All Endpoints R
                                                                 egistered
    {code}
    Thanks & Regards
    Venkata Poorna Prasad.S

Maybe you are looking for

  • Runtime error in activation BADI (CX_HRPA_INVALID_PARAMETER)

    In activation BADI i get a runtime error using 'HR_INFOTYPE_OPERATION' An exception occurred that is explained in detail below.                        The exception, which is assigned to class 'CX_HRPA_INVALID_PARAMETER', was not    caught in        

  • Full screen Safari doesn't open new windows

    Hi, In my Safari preferences I have "Open pages in tabs instead of windows" set to "Never". When Safari has at least one window that is not in full screen mode, then links from other applications seem to open new windows perfectly fine. However, when

  • Existing Projects into debugging

    We have an existing war based project in eclipse. How can we attach this weblogic server environment to debug it? In other words, do we need to create project in a spefic format to attach it to server? Ours is a maven based project which we fetch it

  • How/Where can I find the 802n enabler for my core 2 duo imac?

    I have a 24" iMac with Intel Core 2 Duo. I want to be able to use an 802.11n router. I have read that to use the new Airport Extreme base you need something called the 802n enabler. Where can I get it?

  • Movie clip not visible

    I the code below I want to add the following array of movie clips: activeLevelofTilesArray After I added the code below the swf plays with the following error: ReferenceError: Error #1069: Property [object S],[object T],...etc. not found on builtin.a