Identify the HA primary nodes in a Cluster

I'm looking to identify primary and secondary HA in a cluster nodes.  I am running ESXi 4.1 on Dell Blade material.  I want to assure you that all my primary nodes are not in the same chassis.

I heard it's possible via PowerCli, I also heard there is a command to force the promotion or demotion of a primary node.  If anyone knows how to do this with PowerCli, I would really appreciate help?

Thanks in advance.

geob

To list nodes, you can do

Get-Cluster | Get-HAPrimaryVMHost

As far as I know, there is no way to force a primary node.

The type of the node is determined when a node joins the lcuster.

See Duncan HA Deepdive

Tags: VMware

Similar Questions

  • How to identify the primary Parent of a shared node?

    We have a property that is set to Local defined, inherit,

    Suppose the 'Color' property and currently is the behavior in DRM

    Parent A - blue

    Child 1 - blue (inherited from Parent)

    Child 2 - color blue (inherited from Parent)

    Child 3-color blue (inherited from Parent)

    Parent B - Red

    Child 3 ~ part 1 - red color (inherited from Parent B)

    Child 4-color red (inherited from Parent B)

    Children 5 - red color (inherited from Parent B)

    The customer has improved the requirement so that in the case of shared members 'color' is inherited from the primary parent like the example below.

    Parent B - Red

    Child 3 ~ action1 - blue (inherited from "Primary" Parent A)

    Child 4-color red (inherited from Parent B)

    Children 5 - red color (inherited from Parent B)

    I guess I'm going to need a new property like 'Primary colors' and I need to write a formula to calculate the color of base on the primary parent.  However, I do not know how to identify the "main Parent" a shared node we use version 11.1.1.2 N-Tier

    I'm looking for suggestions on how to calculate the value of the property you want.

    Any help will be greatly appreciated.

    Hello

    You can create a new property derived like u said and use instead of the property defined in your exports or anywhere where you have to refer to the color. The property set can be used just to take the user input.

    The new derived property should be a logic like that-

    If (PropValue (Core.SharedFlag_MDM),

    NodePropValue (PropValue (Core.PrimaryName_MDM), Custom.Colour)

    PropValue (Custom.Colour))

    Now, 11.1.1.2 I lost the memory of how the properties are referred to as - if they are just used with their names or namespaces is mentioned (Core. , custom.). You can change the formula accordingly to view properties

    Thus, if SharedFlag_MDM is True, then it will take the value of the property to its primary node, which is inherited from the primary parent and if the shared flag is False then it is just a varValeurProp on the node itself.

    I hope that answers you.

    Thank you

    Denzz

  • How to identify the iSCSI nodes?

    How to identify the iSCSI nodes?

    with IQN

  • How to identify the primary key relationship, key and forien

    Hello

    I wanted to know for a given table, how to identify if there is no child table. I could get details of the constraint in ALL_CONSTRAINTS or DBA_CONSTRAINTS, but I will not be able to determine who his children tables.
    If there is no other available table, it's possible to identify the parent and child tables so please please let me know.

    I know that we can check through creation of Table (DDL) script, but I need to understand programmatically. Is sort available?

    Thanks in advance.

    Kind regards
    SK

    SK says:
    Hello

    I wanted to know for a given table, how to identify if there is no child table. I could get details of the constraint in ALL_CONSTRAINTS or DBA_CONSTRAINTS, but I will not be able to determine who his children tables.
    If there is no other available table, it's possible to identify the parent and child tables so please please let me know.

    I know that we can check through creation of Table (DDL) script, but I need to understand programmatically. Is sort available?

    use

    query using R_CONSTRAINT_NAME where CONSTRAINT_TYPE = 'R '.

    SQL> desc user_constraints
     Name                            Null?    Type
     ----------------------------------------- -------- ----------------------------
     OWNER                                  VARCHAR2(30)
     CONSTRAINT_NAME                  NOT NULL VARCHAR2(30)
     CONSTRAINT_TYPE                        VARCHAR2(1)
     TABLE_NAME                       NOT NULL VARCHAR2(30)
     SEARCH_CONDITION                        LONG
     R_OWNER                             VARCHAR2(30)
     R_CONSTRAINT_NAME                        VARCHAR2(30)
     DELETE_RULE                             VARCHAR2(9)
     STATUS                              VARCHAR2(8)
     DEFERRABLE                             VARCHAR2(14)
     DEFERRED                             VARCHAR2(9)
     VALIDATED                             VARCHAR2(13)
     GENERATED                             VARCHAR2(14)
     BAD                                  VARCHAR2(3)
     RELY                                  VARCHAR2(4)
     LAST_CHANGE                             DATE
     INDEX_OWNER                             VARCHAR2(30)
     INDEX_NAME                             VARCHAR2(30)
     INVALID                             VARCHAR2(7)
     VIEW_RELATED                             VARCHAR2(14)
    
    SQL> 
    
  • anything input, as the builtin JSON nodes

    Hello! I do a Subvi, which takes input data, it turns into JSON and sends it to a server after a predetermined agreement (HTTP REST). The nice thing about the builtin JSON nodes is that they take 'something' as input, and I would like to wire this entry directly outside the Subvi. When I right click on the 'something' of entry and then "create control", however, an empty cluster shows, and if I try to use it as input, the Subvi will actually want an empty cluster and not do anything.

    Thank you Cla_Cup and thank you Sam_Sharp.

    In the end, I decided to avoid the issue completely and let the FlattenToJSON node out of the Subvi. I loaded my client to insert a code snippet containing the FlattenToJSON related to the Subvi node node instead of simply as the Subvi node. That seemed just a cleaner solution, I didn't download the third-party libraries to replicate a function that already have LabVIEW.

  • SQL Server 2005 unattended install using the script fails on Windows 2003 Cluster

    We strive to perform the installation without SQL Server 2005 via the script assistance, but the installation fails on Windows 2003 Cluster, we use Windows 2008 with HyperV running a DC with two nodes (all Win 2003). Script is...

    Start/wait setup.exe/qb VS = INSTALLVS SQLTEST = SQL_Engine INSTANCENAME = SQL123 ADDLOCAL = SQL_Engine ADDNODE = sqlnode-1, sqlnode-2 GROUP = SQL1 IP = 192.168.1.85, SQLNetwork ADMINPASSWORD = Windows8! SAPWD = Windows8! INSTALLSQLDIR=%ProgramFiles%\Microsoft SQL Server\ INSTALLSQLDATADIR = G:\SQLDATADIR\ SQLACCOUNT = SQLPASSWORD lab\sql_svc = Windows8! AGTACCOUNT = lab\sql_svc = Windows8 AGTPASSWORD! SQLBROWSERACCOUNT = SQLBROWSERPASSWORD = Windows8 lab\sql_svc! SQLCLUSTERGROUP = "lab\sql_grp" AGTCLUSTERGROUP = "lab\sql_grp" FTSCLUSTERGROUP = "lab\sql_grp" ERRORREPORTING = 1 SQMREPORTING = 1 SQLCOLLATION = SQL_Latin1_General_CP1_CI_AS

    Errors on the nodes:

    SQLSetup0008_SQLNODE1_Core (Local)

     Running: InstallSqlAction to the: 4/14/2012 22:56:39

    Installation: sql on target: SQLNODE1

    Waiting for remote setup (s) to prepare

    Remote Setup (s) is ready

    Problem of determining the State of the virtual server for the package: '1' because of the exception of data store:

    Source the name of the file: datastore\cachedpropertycollection.cpp

    Compiler timestamp: Fri 29 Jul 01:13:49 2005

    Function name: CachedPropertyCollection::findProperty

    The source line number: 63

    ----------------------------------------------------------

    Could not find the property 'VsDataPath' {'PackageIdStateScope', ' ', '1'} in the cache.

    Source the name of the file: datastore\packageidstatescopecollector.cpp

    Compiler timestamp: Wed Aug 24 13:40:04 2005

    Function name: PackageIdStateScopeCollector::collectProperty

    The source line number: 115

    ----------------------------------------------------------

    dataPathValue is empty

    Cluster functionality detected: SQL_Engine

    Loaded DLL:C:\Program SQL Server\90\Setup Bootstrap\sqlsval.dll Version: 2005.90.1399.0

    Source the name of the file: datastore\cachedpropertycollection.cpp

    Compiler timestamp: Fri 29 Jul 01:13:49 2005

    Function name: CachedPropertyCollection::findProperty

    The source line number: 130

    ----------------------------------------------------------

    Unable to find property 'IPResources' {"VirtualServerInfo", "", "SQLTEST"} in the cache

    Source the name of the file: datastore\cachedpropertycollection.cpp

    Compiler timestamp: Fri 29 Jul 01:13:49 2005

    Function name: VirtualServerInfo.IPResources

    The source line number: 113

    ----------------------------------------------------------

    Could not collect the property 'IPResources' {"VirtualServerInfo", "", "SQLTEST"}

    Transact package threw an exception.

    Error code: 0x8007000d (13)

    Windows error text: these data are incorrect.

    Source the name of the file: sqlchaining\highlyavailablepackage.cpp

    Compiler timestamp: Mon Aug 29 01:18:42 2005

    Function name: sqls::HighlyAvailablePackage:manageVsResources

    The source line number: 490

    ---- Context -----------------------------------------------

    SQLs::HighlyAvailablePackage:preInstall

    SQLs::HighlyAvailablePackage:manageVsResources

    m_dataDirPath is empty

    Cluster API threw an exception during operations of virtualization.

    Package first notify: 13

    Error code: 0x8007000d (13)

    Windows error text: these data are incorrect.

    Source the name of the file: sqlchaining\highlyavailablepackage.cpp

    Compiler timestamp: Mon Aug 29 01:18:42 2005

    Function name: sqls::HighlyAvailablePackage:manageVsResources

    The source line number: 490

    ---- Context -----------------------------------------------

    SQLs::HighlyAvailablePackage:preInstall

    SQLs::HighlyAvailablePackage:manageVsResources

    m_dataDirPath is empty

    Cluster API threw an exception during operations of virtualization.

    SQLSetup0008_SQLNODE2_Core (Local)

     

    Local configuration can complement

    Running: InstallSqlAction at: 4/2012/14 23:23:57

    Installation: sql on target: SQLNODE2

    Informs the package is ready to start: 0

    Waiting for notification start installation

    Local configuration can begin installation

    Error code: 0x8007000d (13)

    Windows error text: these data are incorrect.

    Source the name of the file: remotepackageengine\remotepackageinstallersynch.cpp

    Compiler timestamp: Wed Aug 24 13:40:17 2005

    Function name: sqls::RemotePackageInstallerSynch:preInstall

    The source line number: 128

    ---- Context -----------------------------------------------

    SQLs::InstallPackageAction: perform

    SQLs::RemotePackageInstallerSynch:preInstall

    Abandonment of the package: "sql", due to an error from the configuration of the host: 13

    Notify all ready to commit: 13

    Notify all ready to put end to: 13

    Waiting for notification complete installation

    Local configuration can complement

    Packaging return code: 13

    Complete: InstallSqlAction at: 4/2012/14 23:23:59, returned false

    Error: The 'InstallSqlAction' Action failed during execution.  Error during execution information:

    Target collection includes the local machine.

    -----------------------------------------------

    Error: The 'UninstallForRS2000Action' Action failed during execution.  Error during execution information:

    Action: "UninstallForRS2000Action" will be marked as failed due to the following condition:

    The condition 'rs has been correctly upgraded level.' returned false.

    Package installation: 'patchRS2000' failed due to a precondition.

    Running: ReportChainingResults at: 4/2012/14 23:24:1

    Error: Action "ReportChainingResults" threw an exception during execution.

    One or more packages could not be installed. See logs for details of the error. : 13

    Error code: 0x8007000d (13)

    Windows error text: these data are incorrect.

    Source the name of the file: sqlchaining\sqlchainingactions.cpp

    Compiler timestamp: 1 Thu Sep 22:23:05 2005

    Name of the function: sqls::ReportChainingResults: perform

    The source line number: 3097

    Please notify.

    Assani

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums. You can follow the link to your question:

    http://TechNet.Microsoft.com/en-us/WindowsServer/bb512923

    Hope this information helps.

  • Identify the main hard drive on an HDX X 18 1103EA

    I seek to replace the main drive in my notebook, but how to identify the main drive, there are two here, with no brand identification who's who? Service guide deosn seem to make light, either...

    Hello

    Secondary and primary hard drives are located under the lid of the accessories. The main hard disk drive is located to the left disk hard bay, identified by the number "1" embossed on the base unit. The secondary hard drive is located in the right disc hard bay, identified by the number '2' embossed on the base unit.

  • Validation of single Description primary node?

    We need in version DRM 11 1.2.4.302 for a validation that ensures all primary nodes have a unique description. VersionUniqueProp validation feature fails to meet our needs as our hierarchies have shared nodes with the same description as the validation fails. In addition, VersionUnique2Prop does not work because it's a Global node validation, but Core.SharedFlag is not a selectable property. I noticed there was a topic on this latest year available here:DRM class validation - improvement VersionUnique but with no resolution. Everyone has applied this validation successfully? Could you share how you reached?

    Thank you!

    Denzz, thanks for your help so far.

    I created a global property with the logic that you have specified and used the Evaluate function inside the property definition to assess a shared node and a head node. It works as expected! But when I return to my hierarchy and check the value of property on the nodes themselves, the feature fails - Core.SharedFlag_MDM always returns false.

    So I tested with a local property, and the evaluation and of the hierarchy, it works as expected.

    It seems that the SharedFlag_MDM property always returns FALSE in global properties. We tested the same thing using the POS function and got the same results; POS always returns 0 global properties, but returns the expected value of local properties.

    Sounds like SR material unless someone else can explain why this could be?

    Edit: I understood why this is the case. Global property values must be the same on all nodes. Thus in the following example, if I create a global property called "IsShared" and set its value to PropValue (Core.SharedFlag_MDM) the following will happen:

    Core.Abbrev Custom.IsShared
    AC_123 FAKE
    AC_123:Shared001 FAKE

    IsShared is Global, its value can not be different between common or related nodes. But if we set IsShared at Local level, we'll see our intended functionality:

    Core.Abbrev Custom.IsShared
    AC_123 FAKE
    AC_123:Shared001 TRUE

    So the problem with this is now VersionUniqueProp and VersionUnique2Prop validations require global variables to work. And because the Core.SharedFlag_MDM property and the POS function are incompatible with global properties, this feature does not work for us.

  • Lose the text portion of the complexType mixed nodes

    Hello

    I'm trying to store XML documents in a structure based on a schema object relational Oracle 11.2.0.4.

    My schema has a node mixed complexType.

    Things work fine, until I have a portion of text only in the mixed content node. Text only the part is lost.

    Here is my example:

    -- register the schema
    BEGIN
    dbms_xmlschema.registerschema(
    'http://localhost/mixedtest.xsd',
    '<?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:oraxdb="http://xmlns.oracle.com/xdb" oraxdb:storeVarrayAsTable="true" oraxdb:schemaURL="http://localhost/mixedtest.xsd">
      <xs:element name="mixedTest" oraxdb:SQLName="MIXED_TEST" oraxdb:SQLType="ZZZ_MIXED_TEST_TYPE" oraxdb:defaultTable="" oraxdb:tableProps="NOLOGGING" oraxdb:maintainDOM="false">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="mixed" type="mixedType" oraxdb:SQLName="MIXED" oraxdb:maintainDOM="true"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:complexType name="mixedType" mixed="true" oraxdb:SQLType="ZZZ_MIXED_TYPE" oraxdb:maintainDOM="false">
        <xs:sequence>
          <xs:element name="sub" type="xs:string" oraxdb:SQLName="SUB" oraxdb:maintainDOM="false"/>
        </xs:sequence>
      </xs:complexType>
    </xs:schema>',
    gentables=>FALSE);
    END;
    /
     
    -- create the table
    create table zzz_t_xml_mixed_test (
      id number not null enable,
      xml_doc xmltype,
      constraint zzz_pk_xml_mixed_test primary key (id) enable
    )
    NOLOGGING 
    XMLTYPE COLUMN XML_DOC XMLSCHEMA "http://localhost/mixedtest.xsd" ELEMENT "mixedTest";
       
       
    -- insert test-XMLs
    insert into zzz_t_xml_mixed_test values(1, xmltype('<mixedTest><mixed><sub>blabla</sub></mixed></mixedTest>'));
    insert into zzz_t_xml_mixed_test values(2, xmltype('<mixedTest><mixed>bli<sub>blabla</sub></mixed></mixedTest>'));
    insert into zzz_t_xml_mixed_test values(3, xmltype('<mixedTest><mixed>bli</mixed></mixedTest>'));
    insert into zzz_t_xml_mixed_test values(4, xmltype('<mixedTest><mixed>bli<sub>blabla</sub>blublu</mixed></mixedTest>'));
    commit;
       
    -- read them back out
    select id, to_clob(xml_doc) from zzz_t_xml_mixed_test;
       
          
    -- show internal structure of the mixed node type 
    describe ZZZ_MIXED_TYPE;
       
    -- clean up
    drop table zzz_t_xml_mixed_test purge;
       
    execute DBMS_XMLSCHEMA.DELETESCHEMA('http://localhost/mixedtest.xsd', DBMS_XMLSCHEMA.DELETE_CASCADE);
    
    

    The result I get when playing on the XMLs is:

    1 blabla < mixedTest > < mixed > < sub > < / sub > < / mixed > < / mixedTest >

    2 < mixedTest > < mixed > < sub > blabla < / sub > < / mixed > < / mixedTest >

    3 < mixedTest > < mixed / > < / mixedTest >

    4 < mixedTest > < mixed > < sub > blabla < / sub > < / mixed > < / mixedTest >

    Documents 2, 3, and 4 are missing portions "bli...

    Is this a problem with Oracle XML DB, and how it handles mixed nodes, or I do something wrong?

    I tried Google and the doc XML DB, but couldn't find much complexType mixed nodes...

    Thank you...

    Use maintainDOM = "true" in mixed complexType definition:

    oraxdb:maintainDOM = "true">

  • Can't see resource calculate in the vRA, even if the vSphere Agent log shows a cluster

    I'm debating on the issue of whether the question should be minimal vRA installation requires anonymous authentication in IIS?  Or am I crazy?  I let you choose how to respond.

    This is a new installation of minimal vRA 6.2.1 new identity applice, vRA device and a single server Win2012R2 for all roles of IaaS. Gentle and the pre - req check tool was happy before you install it.

    However, when I went to add an endpoint yesterday for the vSphere Agent, I installed, I get the following error in the logs of vRA:

    Exception occurred retrieving the work of VRM: request the HTTP is unauthorized with client authentication scheme 'Anonymous '. The server received authentication header was 'NTLM, Negotiate. " Inner exception: the remote server returned an error: (401) unauthorized.

    A minimal installation uses anonymous authentication?  The pre - req just had check tool has that disable and use Windows authentication with the suppliers of the following order: NTLM, Negotiate.  Hmmm..., well although perhaps I'll activate anonymous and restart the agent of vSphere and see what happens.  I restart the agent and now I only get an error on the authentication and the following of the vSphereAgent.log seems to say that the endpoint is communication and a cluster of back of the vCenter:

    [03/31/2015 10:22:08] [Debug]: Thread-Id: 10 - Ping sent successfully: [<? xml version = "1.0" encoding = "utf-16"? > < pingReport = "vSphereAgent-XXXXXX" CurrentVersion "6.2.0.0" = Nom_agent agentLocation = "VRAIaaSServer01" WorkitemsProcessed = "0" > < Endpoint externalReferenceId = "F86349A2-B8D7-4E17-9599-CC4F5C9E94B3" / > < nodes > < node = "ClusterName" type name = 'Cluster' identity="XXXXXX.mydomain.com/vCenter 5.5 Test/host/NOMCLUSTER" datacenterExternalReferenceId = "data center-21" isCluster = "True" managementEndpointId = "72195415-bdb6-4f7a-a3ac-92b9c4eca960" / > < / nodes > < AgentTypes > < AgentType name = "Hypervisor" / > < AgentType name = "vSphereHypervisor" / > < / AgentTypes > < / pingReport >]

    [03/31/2015 10:22:08] [Debug]: Thread-Id: 10 - Ping completed report

    However, when I navigate to compute resources under endpoint, vRA shows no clumps.

    What happens one? I'm going crazy?   Well, maybe, but actually part of the problem is that calculation of resources are not displayed when you think, until you go to groups - fabric groups and then check the clusters that you would like to use vRA.  Now when you navigate to calculate the select cluster resources will appear.  {shakes head and face Palm}

    The lesson is, so don't forget the section group of fabric with the addition or subtraction of compute resources.  In addition, it is perhaps orphan computing resources in the database.  The following KB may help solve this problem.  VMware KB: deletion of an endpoint in vRealize Automation fails with the error: the endpoint is used by comput #...

    Hope this helps some that can run into questions adding vCenter endpoint computing resources.

    Hey Sean,

    OK on one of my IIS servers

    At the level of the server host level anonymous authentication is the SSO is enabled

    Move forward in websites - Site by default - Windows authentication is the only thing allowed

    For the repository - anonymous and authentication Windows are enabled

    for the vcac - forms authentication is the only permit

    For the WAPI - anonymous and Windows authentication are enabled

    Who help me?

  • To identify the address IP of BMC in ESXi console

    Hello

    Is there a command to esxcli to identify the address IP of BMC of the node started ESXI?

    In the Linux machine, 'ipmitool lan print' will list the of the BMC IP address assigned to the node...

    any ideas?


    Unfortunately it seems not exist a standard esxcli of builtin command to query the IP Address of management controller.

    But you can query local shell ESXi CIM providers and get IP address like this:

    # enum_instances OMC_IPMIIPProtocolEndpoint root/cimv2 | grep IPv4Address

    IPv4Address = 10.2.1.17

    You can do also makes a request of information the remote host CIM, for example like this:

    $ curl - sk https://myesxihost.local:5989 / cimom -x POST root user.

    H ' content-type: application/xml; charset = "utf-8" '.

    H ' CIMMethod: ' EnumerateInstances------.

    H ' CIMOperation: MethodCall'.

    H ' CIMProtocolVersion: 1.0 '.

    H ' CIMObject: root/cimv2 '.

    -data '

    ' | grep-A1 IPv4Address

    Enter password for user "root": Home

    10.2.1.17

    These are generic methods of CIM which should work with any standard IPMI device and don't require any special drivers/extensions by a hardware vendor.

  • How to identify the LUN WWN of ESX 3.5

    Hi all

    We have Vcenter 2.5 environment with 3 groups each cluster with 4 ESX 3.5 hosts. LUN is assigned to each group of EMC clariion and VNX storage boxes. I want to know how can I identify the LUN WWN of ESX console numbers. I tried esxcfg-vmhbadevs - m and esxcfg-mpath - l, but I'm not able to identify the LUN WWN here numbers are these commands HBA cards. I have numbers of WWN of the two clariion LUN and provided VNX nby our storage from these WWN team I want to identify what data store is using storage?

    any suggestions

    You can try running the command console and after the release?

    Run the following command

    esxcfg-mpath-lv | grep ^ disc | grep - v vmhba0 | AWK '{print $2} '.

    then choose a vmhba unit... IE: vmhba1:02:03...

    Run the following command (replace $entry by the vmhba you chose)

    esxcfg-mpath-lv | grep disc | grep - v vmhba0 | AWK '{print $3, $5, $2} "|  cut - b15 | Cup c - 1-32, 45 | Sort + 3 | grep w $entry | AWK '{print $1} '.

    Let me know if you still get the error...

    Otherwise, it is also a way to get what you need to use powerCLI... I have scripts on my other computer, but it is currently not available...

  • Load balancing between nodes in a cluster analytic provider service

    Hi all

    -First a bit of background on my architecture. My EMP environment consist of 3 servers Solaris:

    Server1: Foundation Services + APS + EAS WLS Server Admin

    Server2: Foundation Services-APS-EA

    Server 3: Essbase Server + server Essbase Studio

    All services are deployed on a single domain. We have a load balancer, sitting in front of Server1 and Server2 that redirects the request according to the availability of services.

    -Consider the APS:

    We have an APS cluster "AnalyticProviderServices" loaded their AnalyticProviderServices1 on Server1 and AnalyticProviderServices2 deployed on Server2.

    So I connect to the APS and connect as User1. Say that the balancer load decides to send my request to server1, so my request are then managed by APS on Server1. Now if APS on server1 is reduced, all requests for APS on server1 are redirected by weblogic to APS on server2.

    Now ideally APS on server2 should say "hey I see what APS on server1 is down so I will take your session, where it was stopped." So I wait for the 2nd APS node in the cluster to tale my session. But this does not happen... I need to log in again when I hit refresh in excel I get the error "Invalid session...". Please log in again". When I opened EAS, according to me, that I was connected with a new session ID. It seems that the cluster nodes are simply load - swing and are not smart enough to take a node that failed, sessions where she had stopped.

    Is my understanding correct or do I have to configure something to do?

    Thank you

    Kent

    Yes, the session will be lost.

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • Find the empty XML node on a table with 15 M lines

    I have a query that runs to always seek to empty xml node.

    CREATE TABLE TEST_TAB (ID number, doc XMLTYPE);

    SELECT COUNT (1)

    OF test_tab

    WHERE ((XMLEXISTS (declare default element namespace "http://oracle.com/»;)))  * / EmployeeNode / text () [not (empty (.))]'

    PASSAGE DOC)));

    Are there specific oracle or operator XML text that is more effective to check null values or a specific type of text/xml index that is best suited looking for nulls in the whole of nodes?

    Thank you

    Kevin

    In the meantime, here's a test on a similar scenario.

    It seems that the structured XMLIndex gives the best response time. The obvious drawback is that she is very specific and cannot be used to solve other queries.

    SQL > drop table test_tab is serving;

    Deleted table.

    SQL > create table test_tab like

    2. select id, cast (level as number)

    3, xmlparse (document

    4'http://xmlns.example.org ">"

    5         || -case when mod (level 5) = 0 then end level

    6         || '' correct

    (7) doc

    8 double

    9 connect by level<= 100000="">

    Table created.

    SQL > set timing on

    SQL > define pages 100

    SQL > set lines 200

    SQL > set autotrace on explain

    SQL >

    SQL > exec dbms_stats.gather_table_stats (user, 'TEST_TAB');

    PL/SQL procedure successfully completed.

    Elapsed time: 00:00:00.92

    SQL > select count (*)

    2 of test_tab

    3 where (xmlexists)

    4 ' declare default element namespace "http://xmlns.example.org"; / root/item/Text () '

    5 passage doc

    6  ) ;

    COUNT (*)

    ----------

    20000

    Elapsed time: 00:00:09.09

    Execution plan

    ----------------------------------------------------------

    Hash value of plan: 2371188561

    --------------------------------------------------------------------------------

    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |

    --------------------------------------------------------------------------------

    |   0 | SELECT STATEMENT |          |     1.   125.   271 (1) | 00:00:04 |

    |   1.  GLOBAL TRI |          |     1.   125.            |          |

    |*  2 |   FILTER |          |       |       |            |          |

    |   3.    TABLE ACCESS FULL | TEST_TAB |   100K |    11 M |   269 (1) | 00:00:04 |

    |   4.    XPATH EVALUATION.          |       |       |            |          |

    --------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):

    ---------------------------------------------------

    2 filter (EXISTS (SELECT 0 FROM))

    XPATHTABLE ('/ oraxq_defpfx:root / oraxq_defpfx:Item / Text () ' PASSING: B1)

    PATH OF XMLTYPE COLUMNS ' C_00$ ' '.')  "P"))

    SQL >

    With the index structured:

    SQL >

    SQL > create index test_tab_sxi on test_tab (doc)

    2 indextype is xdb.xmlindex

    () 3 parameters

    4Q ' {XMLTABLE test_tab_xt

    5 XMLNAMESPACES (default 'http://xmlns.example.org'),

    6 ' / root/item / text () '

    {7 item_value PATH VARCHAR2 COLUMNS (30) '.'} "

    8  ) ;

    The index is created.

    Elapsed time: 00:00:10.13

    SQL >

    SQL > exec dbms_stats.gather_table_stats (user, 'TEST_TAB');

    PL/SQL procedure successfully completed.

    Elapsed time: 00:00:01.69

    SQL >

    SQL > select count (*)

    2 of test_tab

    3 where (xmlexists)

    4 ' declare default element namespace "http://xmlns.example.org"; / root/item/Text () '

    5 passage doc

    6  ) ;

    COUNT (*)

    ----------

    20000

    Elapsed time: 00:00:00.18

    Execution plan

    ----------------------------------------------------------

    Hash value of plan: 3461631238

    -------------------------------------------------------------------------------------

    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |

    -------------------------------------------------------------------------------------

    |   0 | SELECT STATEMENT |             |     1.    28.   290 (1) | 00:00:04 |

    |   1.  GLOBAL TRI |             |     1.    28.            |          |

    |*  2 |   HASH JOIN RIGHT SEMI |             | 22015 |   601K |   290 (1) | 00:00:04 |

    |*  3 |    TABLE ACCESS FULL | TEST_TAB_XT | 22015 |   343K |    20 (0) | 00:00:01 |

    |   4.    TABLE ACCESS FULL | TEST_TAB |   100K |  1171K |   269 (1) | 00:00:04 |

    -------------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):

    ---------------------------------------------------

    2 - access ("TEST_TAB". ROWID = "SYS_SXI_0." ("' RID ')

    3 - filter("SYS_SXI_0".") ITEM_VALUE' IS NOT NULL)

    With an index not structured:

    SQL > drop index test_tab_sxi;

    The index is deleted.

    Elapsed time: 00:00:00.11

    SQL >

    SQL >

    SQL > create index test_tab_uxi on test_tab (doc)

    2 indextype is xdb.xmlindex

    3 parameters ("PATH of TABLE test_tab_pt

    4 PATHS (INCLUDE (/ root/point))

    (5 MAPPING of namespace (xmlns = "http://xmlns.example.org"))');

    The index is created.

    Elapsed time: 00:01:20.99

    SQL >

    SQL > exec dbms_stats.gather_table_stats (user, 'TEST_TAB');

    PL/SQL procedure successfully completed.

    Elapsed time: 00:00:06.56

    SQL >

    SQL > select count (*)

    2 of test_tab

    3 where (xmlexists)

    4 ' declare default element namespace "http://xmlns.example.org"; / root/item/Text () '

    5 passage doc

    6  ) ;

    COUNT (*)

    ----------

    20000

    Elapsed time: 00:00:00.45

    Execution plan

    ----------------------------------------------------------

    Hash value of plan: 2464052102

    ---------------------------------------------------------------------------------------------

    | ID | Operation | Name | Lines | Bytes | TempSpc | Cost (% CPU). Time |

    ---------------------------------------------------------------------------------------------

    |   0 | SELECT STATEMENT |             |     1.    42.       |   773 (1) | 00:00:10 |

    |   1.  GLOBAL TRI |             |     1.    42.       |            |          |

    |*  2 |   HASH JOIN RIGHT SEMI |             |  6547 |   268K |  2176K |   773 (1) | 00:00:10 |

    |*  3 |    TABLE ACCESS FULL | TEST_TAB_PT | 53020 |  1553K |       |   283 (2) | 00:00:04 |

    |   4.    TABLE ACCESS FULL | TEST_TAB |   100K |  1171K |       |   269 (1) | 00:00:04 |

    ---------------------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):

    ---------------------------------------------------

    2 - access ("TEST_TAB". ROWID = "SYS_P0." ("' RID ')

    3 - filter("SYS_P0".") PATHID "= HEXTORAW ('061D') AND"

    SYS_XMLI_LOC_ISTEXT ("SYS_P0". "LOCATOR", "SYS_P0" "." " PATHID') = 1)

    (tested on 11.2.0.2)

  • What is a node in a cluster average?

    I looked around, but I want the simplest def, what is a node in a cluster average.

    Node = vm?

    Please comment.

    Thank you

    If a cluster own hosts and I can manage multiple clusters using a vCenter Instance right?

    I made a correction to your question and the answer is Yes.

Maybe you are looking for

  • Satellite A100-237: S-video/RCA-out black & white

    Hey everybody, I'm * tent * to connect my laptop to my TV via the s-video on my A100-237 output, unfortunately the (PAL) TV is old enough and the only entrance is RCA so I got a RCA s-video cable. The picture comes out in black and white, and I chang

  • JB soak Test for XT912 - using old kernel ICS?

    Hey people, Just curious to know a few things about the trial of impregnation... My boyfriend showed me his phone and I have a pull and was satisfied with the fluidity of the operating system. There was something that I noticed though. When I checked

  • driver para recover el volumen in the pantalla.

    Alguien me can help con mi compu lenovo G475, her formats there are no me appears the opcion para dar volumen in the pantalla me could orientar para volver a nuevo mind, are ven cuando era of fabrica daba the opcion con tecla END las las flechitas, f

  • Windows fails to start

    Hello. I bought a professional with Windows 7 HP pavilion desktop computer to a friend of mine some time ago, and a few days ago, he got the blue screen of death while I was playing a game. When I restarted the computer it wouldn't start upward and s

  • Interchangeable speakers?

    Can I use the speakers, initially supplied with my f1503 monitor, with my new monitor s2031?