This is expected behavior with master isolation?

Hello

I test HA in a vSphere cluster 5.1 and I want to know if the behavior seen when a master is isolated is normal.

I have 2 knots in my dev Setup. When I isolate my slave (host B) virtual machine stays on as planned (response of isolation leave it powered on).
Host B shows that does not and the virtual machine is disconnected, so this works as expected.

When I isolate my master (host A) of network management of the electoral process unfolds.  Host A show that does not as expected. My virtual machine appears as turned on host B off.
The diary of events for the virtual machine tells me that

-the VM is off on host B

-l' host B cannot open the VMX file

-vSphere HA switched in vain this virtual machine

All the while my VM is accessible and functional. As soon as the host has is is more isolated my VM appears as again propelled this issue.
If everything seems to work as it should, but in vCenter messages say otherwise. Is this normal?

When I simulate a failed host everything works as expected, regardless of whether it is master or slave

The behavior you're seeing is planned.

Let's start with your recent tests. When you remove the current master of the management network, the other FDM is still able to communicate with the master, and so it reconnects with the 2nd network. The election you are seeing is the result of this process - the slave FDM lost access to the master, drops in the State of the election, received a message 'am master' of a master and connected. A master of FDM sends 'Master am' election messages on all its management networks every second and a slave will connect to the master using any network of which he received this message.

VC reports no master, as you alluded to, is because the VC cannot communicate with the master. VC knows that there is a master because the other FDM would have said what is the master. I'll drop a PR for us to improve the text of question config.

Regarding your original posting, I think that the difference of behavior you observed is due to a problem that we have fixed in version 5.5. When you have isolated the master, a new master election occurred. There is a race (we closed) between the new master learning that on the old host virtual machines are turned on and the main workflow for the restart of virtual machines. If restarting the workflow performed too fast, the new master would try to restart the virtual machines that he discovered later were running on the remote host.

Finally, a clarification of the following statement by taking in charge:

"As it is the master who shall report to the vCenter, until a new Master has been established, the display in vCenter won't be accurate when it is isolated.  (I think vCenter new elections of master/slave status is checked every 2 minutes by default).

VC checks actually for a master every 10 seconds by default. How much is the value of 2 minutes of time VC tries to connect to a master before it reports via an event/config-problem, what it does.

Tags: VMware

Similar Questions

  • Is this behavior with the uploaded image is correct?

    Hello

    I noticed a strange behaviour and I don't know if it's supposed to be like that or not.

    BB Pearl 8100 4.5.0.55

    I have an application that downloads an image using http and stores using fileconnection in/store/home/user/myapp/myfolder.

    Everything is ok, but after a device is reset, I can see inside the multimedia/pictures/my pictures folder I create (MyAccount) with the image inside.

    Is this correct or is it some sort of bug? I thought that my images was linked to the SDCard/BlackBerry/pictures.

    Concerning

    It is the expected behavior.  If you don't want the BlackBerry handheld to identify your file as an image you can save it with a custom extension.

  • Disable the Structure (bug or expected behavior?)

    Why a disable_structure does not have a wire not connected to anything?
    ... and allows a thread with a free end.

    because it is not possible to put the wire in the structure!
    Wire (not not connected what whatsoever) is always behind the structure.

    Why this behavior? is this a bug? ... or expected behavior?

    It is common to all structures. If you attempt to drag any structure exclusively around the wires (broken or not), the son will stay below. There are already ideas for this in general (see for example here.)

    If this should be changed, it must be done at the global level for all structures. There are arguments for both sides, and sometimes one is better than the other. Maybe we should be able to select what we need-based (e.g. using ctrl - drag to include the son and the plain of sliding to keep the current behavior).

  • Unexpected behavior with the Option "record in the result.

    Hello

    I have unexpected behavior with the Option "record in the result.

    I have a few steps in the subsequence 'X', this subsequence passes a Boolean parameter. According to the value of the parameter I change the "Recorgind results" Option to report it or not. The thing is that if 'result Recorgind' set at race time I modofy by changing the value of Step.ResultRecordingOption to "Enable" and "Disable", the step is not reported until the same sous-suite 'X' is called for the second time (without changing the parameter passed).

    For example: (Preconditon: result Recorgind Option of all value sous-suite x are defined as Disable)

    1 CallSubsequenceX(Parameter: Enable)

    2 CallSubsequenceX(Parameter: Enable)

    3 CallSubsequenceX(Parameter: Disable)

    4 CallSubsequenceX(Parameter: Disable)

    Expected result:

    1. measures have been reported.

    2. measures have been reported.

    3. measures have not been reported.

    4. measures have not been reported.

    Result:

    1. measures would not same value Step.ResultRecordingOption has been changed to 'enable '. (Not Ok)

    2. measures have been reported. (Ok)

    3. measures reported same value Step.ResultRecordingOption has been changed to 'disable '. (Not Ok)

    4. measures have not been reported. (Ok)

    I use TestStand 2013 (5.1.0.226)

    Thanks in advance.

    -Josymar.

    Hi josymar_guzman,

    I just review the sequence and indeed we´re experience unexpected behavior with the Step.ResultRecordingOption callback. By a reason when you run the callback in the expression before each step section, the statement runs only until the next sequence is called, which is not what we want.

    To avoid this, you can place a statement before each step of the sequence, so you can change the State of the Option "record result" for the sequence running (and it is only the following). You can try something like this

    where the expression of the statement will be the recall "RunState.NextStep.ResultRecordingOption is YourCondition". With this, we guarantee that the results of the next step will be saved or not. I also remove the expression in the expression prior to each step section, because the condition is now on the statement before each step.

    I tried and it works fine. I´ll set the sequence that you share with me, with the changes. I hope this will help you and solve your problem.

  • Strange behavior with Scan function

    Hi, I see some weird behaviors with the scan function.  Here's a code (for Interactive execution) window which illustrates what I'm struggling with:

    #include 
    static double value;//    1234567890123456static char buffer[20] = "-  24.612 g    ?";
    static int scanneditems;
    static unsigned char sign, stable;
    static char unit[6];
    
    scanneditems = Scan(buffer, "%s>%c[u]%f%c[d]%s[w5y]%c[u]", &sign, &value, unit, &stable);
    

    The buffer I'm scanning has five parts.  The first character is a sign, the next 8 characters is a floating point number, then there is a space that just throw, then five characters is a string that describes the unit, and the last character is a question mark if the reading is unstable or a space otherwise.  The problem is with the last character.  When I run the above code, the value of the variable 'stable' is 32 (space), when I expect a 63 (question mark).  The other points seem to parse correctly, including the double value and the 'unit' char array that contains [g] [space] [space] [space] [space], which is exactly what I expect that it contains.

    It seems I'm missing something obvious, probably something to do with the way that the scan function manages the spaces, but I just can't understand what it is.  Thank you.

    I'm not sure about how Scan treats spaces, but if you check NumFmtdBytes () after the scan you see 12, which means that it has scanned only the 'g' (fill the rest of 'unit' with spaces according to the modifier there) and read the character immediately following the stability.

    This line correctly reads the entire string and returns bytes 16 analyses by the function, which is what is expected.

    scanneditems = Scan (buffer, "%s > %c [u] %f %c [d] %s [-w5t] [u] %c", & sign, & value, unit, & stable);

  • unexpected behavior with vpn, clientless ssl and smart tunnels on ASA 5510

    Hi there, hope someone can help

    I am able to set up a smart tunnel for an application and everything works fine, however...

    Without smart tunnel, the user must navigate the portal interface (because of how he encapsulates urls and basically acts as a proxy), it is too beautiful and good and expected behavior. If a user does not enter a URL in the portal URL entry (only enters the normal address bar) she takes them outside the clientless ssl vpn portal.

    Now too the point to start a smart tunnel, URL, the user types in the normal address bar is not encapsulated in the device URL, although they are still placed through our network (and note, the intelligent application of tunnel is not the browser, which is be IE). How can I know it? sites that would be blocked by a web filter are blocked with smart on but not PVD tunnels with smart tunnel.

    I need to know if this is intended behavior or not and how and why this is happening?

    Thanks in advance

    In my view, this is how it works. If you are referring to this doc:

    https://supportforums.Cisco.com/docs/doc-6172

    Smart tunnel is functioning all or nothing. Which means once you turn it on for a specific process or a specific bookmark, all your traffic for this process (and the browser you are using to open the SSL Clientless session ) will pass through the ASA.

    Example: Enable option ST for a process or bookmark #1 (which connected IE used to login). Opening a separate instance of the IE browser will be all traffic through the ASA, tunnel, if the new browser window belongs to the same process. All tabs on the movement of this browser browser will be smart tunnel, even to Favorites (ie. #2 favorite) are not specifically the chip in the tunnel. You must use a different browser (ie. (FireFox) in this case, if you want some of your traffic (ie. #2 favorite) is not to be smart tunnelees.

    I hope this helps.

  • New event expected behavior

    Hi gurus,

    I created a workspace online with 14 participants. When someone creates a new calendar event, a notification goes to 14 participants. Is this expected behavior? If so, is there a way to change this behavior so that the notification will only 3 or 4 participants who are 'invited' to this activity?

    In addition, the second problem that is noticed is that the time of the meeting has received 14 participants is different than the one mentioned in the activity. Is there a way to correct this (set common time zone time setting for all participants!)

    Look forward to some tips.
    Kind regards
    Ashwani

    Ashwani,

    Coordinator of the workspace, you can enter the settings area of the workspace and set calendar preferences to not subscribe to all the members of the calendar. You will then be able to send notifications of events targeted without notifying all users.

    The time zone setting is an individual thing. To set your time zone, go to https://beehiveonline.oracle.com/bcentral, click on my account and set your time zone as appropriate. Make sure that everyone made and meetings will happen at the right time.

    Phil

  • 11g - new: NOT IN has a different behavior with key FOREIGN ACTIVE!

    Oracle has changed NOT IN way that works?
    The NOT IN operator is supposed to return no rows when there are NULL values, see example below:
    Two table c1 (table 1), p2 (table 1 in the parent).

    create table c1 (c_col, p_col number);
    create table p1 (number p_col);
    insert into p1 values ('1');
    insert into values p1 (2);
    Insert in the values of c1 (100, 1);
    Insert in the values of c1 (200, 2);
    Insert in the values of c1 (300, null);
    Select * C1
    If p_col not in (select p_col from p1)
    NO RETURNS NO LINE! <-this is the expected behavior

    When adding a foreign key, the variations in results:
    ALTER TABLE p1
    Add CONSTRAINT p_PK PRIMARY KEY (p_col)
    ALTER TABLE c1
    ADD CONSTRAINT FOREIGN KEY FK1
    (p_col) P1 REFERENCES;

    THE RESULT OF THE CHANGE:
    Select * C1
    If p_col not in (select p_col from p1)
    RETURNS:
    C_COL P_COL
    ---------------------- ----------------------
    300

    1 selected lines

    WHY?
    When the foreign key is disabled, the result does not change back to the old.
    -
    ALTER table disable forced fk1 c1
    Select * C1
    If p_col not in (select p_col from p1)
    NO RETURNS NO LINE!

    Activation of the constraint:
    ALTER table ENable constraint fk1 c1
    Select * C1
    If p_col not in (select p_col from p1)
    RETURNS:
    C_COL P_COL
    ---------------------- ----------------------
    300

    1 selected lines

    That's happened?

    This is a bug caused by a combination of two elements: [join elimination | http://optimizermagic.blogspot.com/2008/06/why-are-some-of-tables-in-my-query.html] introduced in 10 gr 2 and [Null-aware anti-jointures | http://structureddata.org/2008/05/22/null-aware-anti-join/] introduced in 11 GR 1 material. 11 g CBO to the first query transformations via unnesting of the subquery:

    *****************************
    Cost-Based Subquery Unnesting
    *****************************
    SU: Unnesting query blocks in query block SEL$1 (#1) that are valid to unnest.
    Subquery Unnesting on query block SEL$1 (#1)SU: Performing unnesting that does not require costing.
    SU: Considering subquery unnest on query block SEL$1 (#1).
    SU:   Checking validity of unnesting subquery SEL$2 (#2)
    SU:   Passed validity checks.
    SU: Transform ALL subquery to a single null-aware antijoin.
    

    and then eliminates the join:

    *************************
    Join Elimination (JE)
    *************************
    JE:   cfro: C1 objn:61493 col#:2 dfro:P1 dcol#:2
    JE:   cfro: C1 objn:61493 col#:2 dfro:P1 dcol#:2
    Query block (32724184) before join elimination:
    SQL:******* UNPARSED QUERY IS *******
    SELECT "C1"."C_COL" "C_COL","C1"."P_COL" "P_COL" FROM "TIM"."P1" "P1","TIM"."C1" "C1" WHERE "C1"."P_COL"="P1"."P_COL"
    JE:   eliminate table: P1
    Registered qb: SEL$F9980BE6 0x32724184 (JOIN REMOVED FROM QUERY BLOCK SEL$5DA710D3; SEL$5DA710D3; "P1"@"SEL$2")
    ---------------------
    QUERY BLOCK SIGNATURE
    ---------------------
      signature (): qb_name=SEL$F9980BE6 nbfros=1 flg=0
        fro(0): flg=0 objn=61492 hint_alias="C1"@"SEL$1"
    
    SQL:******* UNPARSED QUERY IS *******
    SELECT "C1"."C_COL" "C_COL","C1"."P_COL" "P_COL" FROM "TIM"."C1" "C1" WHERE "C1"."P_COL" IS NULL
    Query block SEL$F9980BE6 (#1) simplified
    

    which is obviously false.
    With optimizer_features_enable = '10.2.0.4' CBO transforms a NOT EXISTS query, since he cannot transform into normal join:

    SELECT "SYS_ALIAS_1"."C_COL" "C_COL","SYS_ALIAS_1"."P_COL" "P_COL" FROM "TIM"."C1" "SYS_ALIAS_1"
    WHERE  NOT EXISTS (SELECT 0 FROM "TIM"."P1" "P1" WHERE LNNVL("P1"."P_COL"<>"SYS_ALIAS_1"."P_COL"));
    

    and elimination of join is not even considered.
    So as a workaround, you can disable elimination join on either the session or application level via the index OPT_PARAM (although course after approval of Oracle support):

    SQL> explain plan for
      2  select /*+ opt_param('_optimizer_join_elimination_enabled' 'false') */ * from c1
      3  where p_col not in (select p_col from p1)
      4  /
    
    Explained
    
    SQL>
    SQL> select * from table(dbms_xplan.display)
      2  /
    
    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------
    Plan hash value: 1552686931
    ---------------------------------------------------------------------------
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    ---------------------------------------------------------------------------
    |   0 | SELECT STATEMENT   |      |     1 |    39 |     5  (20)| 00:00:01 |
    |*  1 |  HASH JOIN ANTI SNA|      |     1 |    39 |     5  (20)| 00:00:01 |
    |   2 |   TABLE ACCESS FULL| C1   |     3 |    78 |     3   (0)| 00:00:01 |
    |   3 |   INDEX FULL SCAN  | P_PK |     2 |    26 |     1   (0)| 00:00:01 |
    ---------------------------------------------------------------------------
    Predicate Information (identified by operation id):
    ---------------------------------------------------
       1 - access("P_COL"="P_COL")
    

    BTW, elimination of join has two major bugs: [bad results: https://metalink2.oracle.com/metalink/plsql/f?p=130:14:9360445691478960109:p14_database_id, p14_docid, p14_show_header, p14_show_help, p14_black_frame, p14_font:NOT, 6894671.8, 1, 1, 1, helvetica] with outer joins and [suboptimal plan | https://metalink2.oracle.com/metalink/plsql/f?p=130:15:9360445691478960109:p15_database_id, p15_docid, p15_show_header] [, p15_show_help, p15_black_frame, p15_font:BUG, 7668888, 1, 1, 1, helvetica], making this dangerous service in 10 gr 2 also.

  • Weird behavior with Signal to simulate and loops

    I'm having a weird behavior with Signal to simulate and while loops. Attached a photo of my program. The problem I have is that when I use Stop to stop inside while loop, then use to restart the inner loop, simulate Signal instantly generates a bunch of points of data between when I pressed Stop and Go. By example, if I stop for 5 seconds, wait 5 seconds, then press Go, it will instantly generate data for t = 5 t = 10. What I need is for the generation of signals to stop when I press stop and continue where it left off when I press Go. How can I accomplish this? I have no idea why he exhibits the behavior described in the first place.

    Hi optometry.

    Can you give us a screenshot of the configuration window for the VI express to simulate signal? I was able to reproduce the problem when I used "Simulate the time of acquisition" at times, but the VI's are featured as you described you wanted when I used "run as fast as possible." Have you tried this setting?

  • with master as * ERROR at line 1: ORA-01762: vopdrv: query not in FROM block

    with master as 
    (
      select lbrcode,prdacctid,dateclosed,dateopen custno from masters
      where  dateclosed>=to_date('30-Sep-2014','DD-MON-YYYY')
    )
    ,
    limit as 
    (
      select totsanclimit,expdate ,lbrcode,prdacctid
                from
                (
                select limits.*,
                 rank() over (partition by lbrcode,prdacctid order by efffromdate desc) as rnk
                 from limits where efffromdate<=to_date('30-Sep-2014','DD-MON-YYYY')
                )where rnk=1
    )
    ,
    got_closing_balance AS 
    (
          SELECT prdacctid, lbrcode, balance1, balance2, balance3
                , balance4, balance5, balance6, balance7
               , RANK () OVER (PARTITION BY lbrcode, prdacctid ORDER BY cbldate DESC) AS rnk
                 FROM balances
            WHERE cbldate<=to_date('30-Sep-2014','DD-MON-YYYY') 
      and t_module_new(prdacctid,lbrcode)=30
       )
    ,
    rec as 
    (
      select * 
      from(
      SELECT 
      LBRCODE,
      MAINACCTID,
      FCYTRNAMT,
      VCRACCTID,
      DRCR,
      ENTRYDATE,
      cashflowtype,
      activitytype,mainmodtype,
                    (case when (cashflowtype='LNPCR' or cashflowtype='LNOCHCR') then 'prn_rec'
                    when (cashflowtype<>'LNPCR' and trim(substr(vcracctid,1,8))='INTREC') then 'int_rec'
                            ELSE 'NOT_TO_BE_CONSIDERED'END)AS REMARK 
                     FROM transactions
                     WHERE 
      POSTDATE BETWEEN to_date('01-Apr-2014','DD-MON-YYYY') AND TO_DATE(' 30-Sep-2014','DD-MON-YYYY')
                     and canceledflag<>'C'
                     and drcr='C' and mainmodtype in (30)
      ) where remark!='NOT_TO_BE_CONSIDERED'
    )
    select 
    m.lbrcode,
    m.prdacctid,m.custno,
    l.totsanclimit
    from master m
    join limit l on m.lbrcode=l.lbrcode and m.prdacctid=l.prdacctid
    join got_closing_balance g on m.lbrcode=g.lbrcode and m.prdacctid=g.prdacctid
    and m.lbrcode=25
    --and T_MODULE_NEW(m.prdacctid,m.lbrcode) in (30) 
     and g.rnk=1
    /
    
    
    
    

    guess it's because you have not used "REC" either in your hand or a with clause - I remember that "earlier" version had a problem with this considering that current versions don't

    HTH

  • Bug report: strange behavior with sharing folders Mac &amp; PHP require (8 VMware)

    I'm using VMware Fusion 8.0.0 (2985594) on Mac OS Yosemite (10.10.5 (14F27)) and I have a Linux VM with Debian Wheezy (3.2.0 - 4-amd64) and PHP (5.4.41 - 0 + deb7u1).

    After I've upgraded from VMware Fusion 7 WMware Fusion 8, the (open source CMS) Typo3 on my development machine began to throw PHP syntax errors during playback of its cache files. As I investigated the problem I found that the behavior is reproducible, but only when the files are written to the folder that is shared between the host system and the VM.

    When I'm demanding a PHP a certain file size and a certain name of file, PHP seems to continue reading about the end of the file in the middle of the arbitrariness of other files. This leads mainly to errors in syntax PHP - but according to the name of the file that they differ, for example:

    PHP Parse error:  syntax error, unexpected '' in require284.php on line 93
    PHP Parse error:  syntax error, unexpected '' in require107.php on line 88
    ^[[APHP Parse error:  syntax error, unexpected 'p' in require472.php on line 88
    PHP Parse error:  syntax error, unexpected end of file in require884.php on line 88
    PHP Parse error:  syntax error, unexpected 'u' in require185.php on line 89
    

    All of these errors are generated by requiring the same content with different file names. If I am demanding the same file with the same name, the PHP error is also the same.

    Steps to reproduce

    I wrote a PHP script that seeks a different file names for a given text, until it crashes. Store this file in the shared folder and run it with php f. As you can see, all the content of the file is commented out, so it shouldn't affect anything.

    <?php
    $content = <<<'EOT'
    <?php
    /*njsRtWyvEHREGDwjZEIuuwOCJidhxoMo
    lsdTFPMPhCnHYdjylYmAlJtOrNQRZRzFDQsX
    QAYugjeSRojQLImGMsGzvsNxSdbvIUZbHvVuXfDTJqyXxjbiNoMgiQGVlREJPPacTIbn
    emIhHyATFwSAHnoTRVtUppVVRoWHDAjMvkoADVBCTJFNT
    aCUTsQsZbIhyaQoSCWcpuhgPcoWBD
    bXzAuYZueusNALsxIYTpkaHGGwmLkdkEPsQRSyPojOhCTUksYnAdlr
    rDfHEzqctbHpFBQkUTOWgYsYKwBzguuNxktJDitUkSDLABoDjYlrQzmtBxRU
    TRZqbDEgTEGqpFAXbCADhmwVltDJGqvsasypalIThuzA
    VDJkyuQAQYJoiTyuoMtjeoXtZMVZKhWxWGbChTZjVWcNX
    ANAKXbsERdugbcApTEjabtRSBvMAjreOdSbCyqBikXMADmzTyIijEwBYhWXzEIQHVn
    LkasQDaUvNBNJghMrpNBBnqqLaUsoxqjDoGUoQjG
    uMQEbeYxRcQSICioqjMOLMZZhUbFTOOLdsGHrVSlk
    IxnyGZMFpCNRqFBOYSbSbyzqhzZyjrkUzjEPXSoZNnbnNsdHVdUKosgpVCDSakQjEgNmUM
    vmusESUYiXPKKqvPfVghfqmTniFjPUorDvEpGGvRaKln
    vrQGhLncjvcGQRBWVGKQQVDfbCPRYrJkUTvLpWfIQscGq
    eaZkNjlIfWCYaWMIHPjUkQNYtEdoJbTCYbHqmQYnaIEsVrYXiqibBWrZIFdcyGdCqLRaW
    KjYicadGOioWoiYJrrfUjdTwKhNnhppkjhXZdUmWMxfiqetHCVvZfrKieR
    yhRbxbgbeORKMVxFmLmTexQhALUTNkOGhjaESxabCZSbcMlNLhz
    QnRzjUstpUDJpAcRLSjpPGSwaPKaVqdXrlXsHRtCFpbaEhocTxUAgPKwFvTskukCbCItNS
    vSDsuvlhCtMwYLOQRaJkSfbCaSlUsKZLVnuESjFwiAuJvIumSiCAHYBjpOFWvS
    pPRnkwaQCgYUtrHujVaEvxQ
    NtmJNjkSoCTvMzLXvmDBnymC
    pddMGqTojVadloHtRkipEFiZrWIsCXaqdayQWzynSiXtBIjesEguDtIfmd
    ZmkZrfNbXmtaUiOBvVvKmFaHePX
    CVCGMVGYjzjXyELANgIyAcsjfvdaGdDEttAofjawnondQuScwBUrAUdYxxerNG
    llGfZwYymZrykyajgjRGkDMpREVsybITgbTlgfhJUWJgGAtEM
    yskdfRkKDBaSfgSgLpKgQBmHybHxo
    EMlIkmGTopRdwcNxzLZigZxhakIcdGtlXVrEyPEgrxzG
    wxEFZcpSvgNUsiEVKZsdWGnSFiypJLvRnBUPGNa
    crmUUXjOENCuxstveIQFfhZYLmUljXEMIkH
    pBpmdMAMuBmTWlYZHOgxnPxQeHpMnTDnQRTmBRpoSRHZABhiQO
    qGksOOcpPKfcKhpdQVDvOcUzjsHIrIUSndRreDHdMtxmorrfaUyNmvuS
    uzQQlEcZXpaILAbCXblyXNQxARvGcRSyXDdAwZuBACpQJkZZNBJSkf
    ptcApSlflVBLBxGGtQLBWgoLciHHZsgixDFWqejANmDqiVWhGwQzQKpcNPH
    KIWUpmzHnUVBNBJCxaQKsy
    lRQCfqSWaiqkpyKmodooVOlEcmiUfElZhoDwhWnivqeEqWOEEJRRlbAPdlAJioAXBZpTXc
    pUzpJRxevfDotRbgqCtdzqIXrCahDDnLqymyREXzAvmMniQghmwbMIdnprCsdpxtsvGplq
    ArYJDZfLGhQVEyzwnPyavPgdvbpIKQyTCwgjiZuQUPQumlcKllkDRfErLLqyNGrLMHBpzY
    biPHNtPYGjrYztLOYhaoPmyVahPtiojqptGVQwbKmrFiqNfSv
    nnHyvOuEgLWZxCfrfmAbCspFUYMugmGZZlXFMSYfUlOQxcsOxpSUOEfvI
    ztnBZJKMbEoQZfRzbnQkUXC
    kXEEPviTpYGNrikuJbkfXSyALJmFIzmVamWouZqAwGanZFCSiN
    AVUDwCPZWUJNIrmUwpaoSWTGKmtkev
    uaKSTGLYHTvKAFQRFnMbCBEJQbpgrxOUYTTLGExcQokfKVmEhaCjK
    xBqwGyJyqvscyLMQlsgzfXnIKUZZZfNwsu
    IVwNskHoJTBrRMtKTaxcgoKyUEVONWywwxKbCMMqcw
    aryEooyClPfmWeLRdMGcIDUhWKMztUQrsQmKwTVVXUOxZnMwxr
    PuKuPRLLYsvbvUUIXNVSkdITWLTOmCQrbFEArsfwpTIQYmRNPDLvJheP
    HFSyzYzvuVUQHsahuUQqiPBaDEYJuiySqZfVYPqsaKEm
    aNsbVyGFRpNREYAcFoFLbCNRa
    jQfdxcrOqGHQkcuqGxTMHoGSgAmVAxpPMmhtwRUCKshdXLNnggmuOhgbClYbUzmiBwQ
    UOcNuUNpmEJwDHGpQLEHzIrFlJlEJALIhQyEpYgcVzsmHIffBBpbhnidaK
    SIjqXPyiGTTCUSCZdqZcXOUVCGgAZZuzgpVpjVYkRArhZgHNc
    pbjeIcbCtYZKhvCdxRSVloKVDGXLYqnbjBJZtieEGYprYWtDRH
    pDIELcriTtSXVsTnHBboDfxHJemyOwmPqCDjJjdFsm
    wUKVYearKMHOwWgptjVJAEresgHifdhkdQdKfrYXJUrtyXqTDUbYOjCsCOEnoWZJDiFt
    JmzMKbzvfZDmhFHRnMATdBOcFOiicGGTYEQhvKjazZNgXTP
    abtSIvcZpQXNDiAIBIRkwOKqLjemQjUHywrfCHNxCNRmMosAOGTHEzCqNfcxQQmTvUx
    puCzHyJacoGHtUDhVLDlcCXBytJpJDOIEUtDcWxENdHXfhGaRnfJKZpOsRaEstLopUBoUv
    vWJvmIRLprUJlMiNqdrPD
    PrXisnQvcMbmZwMrgaZcJcIuFlpuJXwtzasYQHUrTinNtXJYxKftihuApOxUFpSxyjqbWW
    CqHRWXTrsTIuXEZbjNCEwhPNAZoqlAoQD
    XWanteqzjVEzbBIhCEeWsnjdzCWORDAXfPKvJZIfb
    qMHQasPmLItsTsxijJrkQbaowAPjJyasyilAYTwSg
    wefnnxtBFkoYMEXoZiYdKtEqoGtnymFqkvuLHxOmv
    bNjqEWbtxaioqkYPmwXKaqAxQLHJHmJTfJBZymDLvx
    obVmpstUZETvYISUiqySvemOXCzjuWGvfgC
    FKJCBTIdSbbnlvKIkBqbMhAhwkAQMexej
    oWBdyunrwxJuWtHsLtIcveTYmCATjiEDoZuggrAxlQhjlUMtMYR
    TqkWuIblrRzKHhNWaGPOd
    ouYgqSMhhngaisNrySZEoJuZrFXHlfPqfWoEZzOiqMqilx
    sQOTKTweognuFhfrluhjAXa
    PqplUMYbKtCvcHYhpcgShKmulTWLprLohwqAWMNyTcNYZJFcWtn
    UwOXvcdCeJiQrEsCycJwSyZJqrsaiSVFcPOMQKCJqRhfAgBmmgDvdsFUIqHWiagR
    wjRmbEIMrDpJXKqGRndpTUfbpjwlpmBtUOIbdngG
    MmItcEisVEgXUnnvEiTIhMPRazVFEplnBfYQWqLMi
    HGZZdDnjVLjluFnDlFLHWseOeJXSFjrfBUXLcIoITqozfHolhIdCmHUsKKYtnng
    FrlAfGIMXlQRYfsaigOJABjLRknqdIbZlZVcLOqjKYmPcjrHH
    SLrsFrNInZMHVeWJHPKwGFKNapGNMgXFqtPOdB
    KExsWUQXnoORsjShtiRRCTYSKwSAhQjgZbzwRHTsiWGIukdOD
    PJKBKqUvyQvWlsrJENAeNLiVTDapsYAnqQwYFuskUVaWHtditUJpiFVsJwKytWu
    aihAvXNVkxTqixFtPumJDocWAmvocxDHZtUzCcEoFHdwFzclKlAdfLOuhZgqZDTptmXii
    DgYmqpKdlbCtenKLhAVrWmJuDofoWpCPHWYdtjXZiYajKuFh
    GGyFSgSVkGRwVakkZafdGvOMHalwDyeOZY
    oFrLUGOVbaHClgsfLepNpHagKdPzLGnilQUAbPyiSrVcIiJaChvlYOIIWWPRPl
    
    */
    EOT;
    
    for($i = 0; $i < 1000; $i++) {
         // generate a random number
         $rnd = rand(0, 1000);
         $filename = 'require' . $rnd . '.php';
         echo "Try no. $i, filename $filename\n";
         // write the content to $filename
         file_put_contents($filename, $content);
         // require the same file
         require($filename);
    }
    

    I wrote another script to generate the build the combination of text and name of the file that is causing the problem:

    <?php
    
    // the decimal ASCII code of all upper and lower case chars
    $ascii_alpha_chars= array_merge(range(65, 90), range(97, 122));
    
    // how many tries
    $count = 500;
    
    $out= '';
    for($i = 0; $i < $count; $i++) {
         // generate a random number of files
         $lines = rand(70, 90);
         $out ='';
         for($j = 0; $j < $lines; $j++) {
              // ...and a random number of chars on each line
              $rand = rand(30, 70);
              $out .= get_random_chars($rand) . "\n";
         }
         write_and_require($out);
    //     echo "$i\n";
    }
    
    function write_and_require($out) {
         // write the content to a file, require it, and delete it
         $sourceCode= "<?php\n/*n$out\n*/\n";
         for($i = 0; $i < 50; $i++) {
              $rnd = rand(0, 1000);
              $filename = 'require' . $rnd . '.php';
    //          echo "$filename\n";
              file_put_contents($filename, $sourceCode);
              require_once($filename);
              unlink($filename);
         }
    }
    
    function get_random_chars($n) {
         global $ascii_alpha_chars;
         $out = '';
         for($i = 0; $i < $n; $i++) {
              // add a random char
              $out .= chr($ascii_alpha_chars[array_rand($ascii_alpha_chars)]);
         }
         return $out;
    }
    

    This problem occurs only for the upgrade of VMware 8 and only when the script runs in the shared folders, I strongly suspect that it is a problem within the VMware stack.

    Can anyone elso reproduce this behavior?

    Hello

    If you use the kernel of an open-vm-tools HGFS customer then yes there are bugs because the version provided with that was broken and not tested. People has not listened to my complaints about it.

    Current recommended approach is to always use the installation of VMware tools for the shared folders feature.

    Open-vm-tools are used to install tools user mode only. We try to make all of the features available with these, including a file sharing client FUSE based. Version 10 of the open-vm-tools will have this.

    Stick with VMware tools install for now for file sharing.

    Thanks for your great art information and debugging this issue.

    Steve

  • out-of-date statistics - expected behavior?

    If a table is monitored, 0 rows, collect stats, insert 100 rows < do not commit >, flush the pool followed, the show 100 inserted rows and dba_Tab_statistics STALE watch dba_tab_modifications = YES (as BLAND is based on lines changed as a percentage of 10% against the collected statistics)

    Now, lines to restore the 100, drain the pool monitoring, we still see as obsolete statistics.   Is this expected behavior?   It simply means that the table will have its stats are gathered again in the next window of collection if this isn't really a problem but just so I know its expected.

    SQL > drop table t1;

    Deleted table.

    SQL >

    SQL > create table t1 select * from dba_objects where rownum = 0;

    Table created.

    SQL > exec dbms_stats.gather_table_stats (ownname = > user, tabname = > 'T1');

    PL/SQL procedure successfully completed.

    SQL >

    SQL > SELECT table_name, num_rows, stale_stats OF SYS. DBA_TAB_STATISTICS where table_name = 'T1 ';

    TABLE_NAME, NUM_ROWS STA

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

    T1                                      0 NO

    SQL >

    SQL > insert into t1

    2 Select * from dba_objects

    3 where rownum < 101;

    100 rows created.

    SQL >

    SQL > execute DBMS_STATS. FLUSH_DATABASE_MONITORING_INFO;

    PL/SQL procedure successfully completed.

    -We can see that the lines were chosen as changed since we emptied the pool monitoring

    SQL > select table_name, DBA_TAB_MODIFICATIONS inserts

    2 where table_name = 'T1 '.

    3;

    TABLE_NAME INSERTS

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

    T1                                    100

    -the stats are now obsolete and

    SQL > SELECT table_name, num_rows, stale_stats OF SYS. DBA_TAB_STATISTICS where table_name = 'T1 ';

    TABLE_NAME, NUM_ROWS STA

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

    T1                                      0 YES

    -Check the rows are in the table

    SQL > select count (*) from t1;

    COUNT (*)

    ----------

    100

    SQL > rollback;

    Complete restoration.

    -Check the lines are gone

    SQL > select count (*) from t1;

    COUNT (*)

    ----------

    0

    -Rinse the monitoring

    SQL > execute DBMS_STATS. FLUSH_DATABASE_MONITORING_INFO;

    PL/SQL procedure successfully completed.

    SQL >

    - but the tab_modifications and therefore statistics are still showing stale even if 100 inserts restored

    SQL > select table_name, inserts, updates, deletes DBA_TAB_MODIFICATIONS

    2 where table_name = 'T1 '.

    3;

    UPDATES OF INSERTIONS DELETIONS TABLE_NAME

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

    T1                                    100          0          0

    SQL >

    SQL > SELECT table_name, num_rows, stale_stats OF SYS. DBA_TAB_STATISTICS where table_name = 'T1 ';

    TABLE_NAME, NUM_ROWS STA

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

    T1                                      0 YES

    SQL >

    I think what you describe is a reasonable behavior.

    When you run ROLLBACK, Oracle built more DML to reverse the effect of the previous DML and commits the batch as a single transaction. You can almost say that while SQL has a ROLLBACK command, Oracle does not work. It might be better if in your example DBA_TAB_MODIFICATIONS showed 100 insertions as well as 100 deletions.

    Also, don't forget that there are more statistics than the number of rows. Scopes can have been allocated, high waters moved. The ROLLBACK will affect not the latter, so that they are definitely outdated.

  • Can I use this software to photoshop with green screen to insert a background?  If not, what photoshop should buy?

    Can I use this software to photoshop with green screen to insert a background?  If not, what photoshop should buy?

    It is an example of the results you can expect from the technique I described.

  • &amp; APP_USER. not working - is this a normal behavior of the APEX 4

    Hello

    I have a very simple code as shown below is not working (position of the code 1 header 2 header region 3 foot of region in all three cases it doesn't.)
    <script>
    alert( &APP_USER.)
    </script>
    However, if I just enter & APP_USER. in the source area, it works.

    I tried to replace & APP_USER. in the above code with & APP_ID. and & SESSION. two of them work very well. I found that & APP_USER. does not work inside javascript.

    Is this a normal behavior of the APEX, or is this a BUG?



    Kind regards
    Shijesh...

    Hello

    User app is string then try

    
    

    Kind regards
    Jari

  • strange behavior with script times

    Hi all

    I have strange behavior with one of my scripts, and I can't understand where is the problem.

    Before you post the code, here's the principle.

    My form has two fields of time: "Time of Injection" and "Post injection time.

    The script runs when the output of "injection time" event and look if the injection time is before time "post injection.

    Here is my code:

    //get the value of the field "Injection time"
    var injection = this.formattedValue;
    
    //create an new Date object
    var injectionTime = new Date();
    
    //split the string to get the HH MM and SS values of the formattedValue (HH:MM:SS)
    var injectionTimeHoursString = injection.substr(0,2);
    var injectionTimeMinutesString = injection.substr(3,2);
    var injectionTimeSecondsString = injection.substr(6,2);
    
    //parse the strings into integer
    var injectionTimeHoursInt = parseInt(injectionTimeHoursString);
    var injectionTimeMinutesInt = parseInt(injectionTimeMinutesString);
    var injectionTimeSecondsInt = parseInt(injectionTimeSecondsString);
    
    //set the integer values into my Date object
    injectionTime.setHours(injectionTimeHoursInt, injectionTimeMinutesInt, injectionTimeSecondsInt,0);
    
    
    //do the same for the other time field "Post injection time"
    var post = post_injection.post_time.formattedValue;
    var postTime = new Date();
    var postTimeHoursString = post.substr(0,2);
    var postTimeMinutesString = post.substr(3,2);
    var postTimeSecondsString = post.substr(6,2);
    var postTimeHoursInt = parseInt(postTimeHoursString);
    var postTimeMinutesInt = parseInt(postTimeMinutesString);
    var postTimeSecondsInt = parseInt(postTimeSecondsString);
    postTime.setHours(postTimeHoursInt, postTimeMinutesInt, postTimeSecondsInt,0);
    
    
    //calculate the difference between both
    var diff = postTime.getTime() - injectionTime.getTime();
    
    //if the difference gives a negative result, display a message, empty the fields and set focus
    if(diff<0) {
         xfa.host.messageBox("The time of injection should be sooner than the time of post-injection activity measure.\n\nPlease re-enter correct times.","Incompatibility of times");
         this.rawValue = "";
         post_injection.post_time.rawValue = "";
         xfa.host.setFocus(post_injection.post_time);
    }
    

    The code seems to run pretty well... except with certain values.

    If postTime is 12:00

    and injetion is 12:04

    I get the error message and everything, so it's OK

    BUT

    When postTime is 12:00

    and injectionTime is 12:08

    No message! as if the difference was not negative! (the difference is zero...)

    When I display the time in a messagebox, 12:04 12:04:00 GMT blah blah... gives but 12:08 gives 12:00:00 GMT etc...

    same problem with 12:09, but not 12:10 for example...

    Any thoughts?

    Thank you.

    Thank you, but since I'm used to javascript, I'll stick to it.

    I understand the problem. It's a javascript with the ParseInt method bug!

    Check here: http://www.breakingpar.com/bkp/home.nsf/0/87256B280015193F87256C85006A6604

    parseInt("08") = 0.

    How to lose 2 hours for a stupid bug...

Maybe you are looking for

  • Satellite U400 - 14 M - BSOD during XP installation

    HelloI want to install Windows XP on my 14 m U400, but it does not work. After a blue screen, it do a reboot before I can install it. Thank you

  • Satellite A200-13O: RAM upgrade Question

    Hello I have Toshiba Satellite A200-13O, with (512 + 512) GB of ram.I want to change the ram to 2 GB, but I can not find the same type of ram. Is it possible to change it with any type or not? Concerning

  • Two questions about the Lenovo T61

    He doesn't have that thing of flashlight on top, in the dark, you can turn it on and see your keyboard. It also has a built-in microphone.

  • Take the last value of the timer

    Hello Looking for a help store the timer values. Set the backround: will be used to gather data for tests on mechanical switch lifecycle sump pumps. Needs to: number of cycles (lit-shut down-lit), Count time stuck we or off (authorized in time is the

  • Y530 - processors supported

    Hello! I have recently become a happy owner of a laptop Lenovo IdeaPad Y530. If I am satisfied with the performance for the moment, I feel that in the near future, because my Univ. computer science education progresses and programming capacity reache