count of session vCenter

For our Foglight environment we have virtual 2 centers with both going to a single FGLAM. If I connect on vCenter and select sessions I show Foglight 4 connections.
If I kill the sessions all return.

Why 4 connections? I expect to have only 1 of each vcenter.

They will come to the time where the agent collects the data again.  We use several sessions to collect performance data, inventory etc. in parallel to each other.  Otherwise, you will have to wait quite a long time in some environments of data would be complete/update.

Tags: Dell Tech

Similar Questions

  • Idle sessions of VMware

    Hi friends,

    We see too many idle session in the sessions vCenter tab. Although it should not harm immeidate, we always want to find a way to hollow compensation even some settings build-in if possible.

    Article, I came across what suggests to change the vpxdclient configuration file where vSphere client is installed. But in our various teams access infra vcenter from different client computers. Is it possible to clear the list of inactive session of vCenter settings the value?

    Thank you!

    Kind regards

    Hari.

    Idle session configured in vSphere client machine and RDP timeout as well through AD.

    Thank you!

    Hari.

  • Library cache pin and Mutex Ref count

    I understand that concurrency library cache is managed by library cache pin, and a session must acquire a PIN after blocking, now from 10 g Mutex (cursor: PIN) has replaced the locking pin: library cache. Now the cursor: hand S is incremented when another process is updating the reference (PIN) of a shared cursor count, it is in fact rather than sleep until the mutex is available, my confusion is that before this implementation of ByRef count which is effective, library cache latch was removed and assigned whenever the cursor was executed which was shared of course , now with Ref count each sessions only and only by increments and decrements without deletion and by allocating a memory lock (latch: cache library).

    Now what brings to my mind, is that for this mutex, it can be referenced at the same time many sessions, providing that all sessions of reference the mutex in S (shared Mode). So if they can refer to the mutex at the same time I don't think there should be any event queue unless just pending session increment counter Ref, so another question is can multiples at the same time run the cursor with the cursor: pin S. And I think that no. assume the session A, B, C wants to share a C1 cursor, they want to execute all this slider, now a, b and c session I think run independently of this slider, at different times, time, they have the chance to increment the counter of REF. Please remove my confusion, it is a humble request.

    842638 wrote:
    I understand that concurrency library cache is managed by library cache pin, and a session must acquire a PIN after blocking, now from 10 g Mutex (cursor: PIN) has replaced the locking pin: library cache. Now the cursor: hand S is incremented when another process is updating the reference (PIN) of a shared cursor count, it is in fact rather than sleep until the mutex is available, my confusion is that before this implementation of ByRef count which is effective, library cache latch was removed and assigned whenever the cursor was executed which was shared of course , now with Ref count each sessions only and only by increments and decrements without deletion and by allocating a memory lock (latch: cache library).

    Now what brings to my mind, is that for this mutex, it can be referenced at the same time many sessions, providing that all sessions of reference the mutex in S (shared Mode). So if they can refer to the mutex at the same time I don't think there should be any event queue unless just pending session increment counter Ref, so another question is can multiples at the same time run the cursor with the cursor: pin S. And I think that no. assume the session A, B, C wants to share a C1 cursor, they want to execute all this slider, now a, b and c session I think run independently of this slider, at different times, time, they have the chance to increment the counter of REF. Please remove my confusion, it is a humble request.

    I think you see the mutex as an object 1/0 a session must value 1 while it running the cursor. It's actually a counter that a session increments when it wants to run the cursor and decremented when it has finished execution. This means that if you want to run a cursor when the meter is already worth 5, we will both try to set to 6 - one usage will succeed and start execution of the cursor, the other fails but recognize that the meter is now 6 and set it to 7 before execution.

    To get detailed information about locks, mutexes and the differences between them, there is no better source of information at http://andreynikolaev.wordpress.com/

    Concerning
    Jonathan Lewis
    http://jonathanlewis.WordPress.com
    Author: core Oracle

  • kill notched sessions

    is it necessary to explicitly kill sessions marked as "SNIPED"?

    I put in the profile for idle less than 2 minutes limit.

    After that, the session time is sniped, but rest in GV$ SESSION

    as the behaviour is - she gets removed from GV$ SESSION when the user try to access again

    but users do not connect through sqlplus,


    also the number of notched sessions will affect the total number of sessions allowed (sessions parameter)
    instance, and give maximum sessions exceeded error?

    Check this note in metalink:
    DOC - ID: 96170.1

    Apparently this note says that Yes, you must explicitly kill them.

    Based on the documentation:

    [SNIPED - Session inactive, waiting on customer | http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/dynviews_2088.htm#REFRN30223]

    So I'll wait until they count the sessions and you may have an error on the maximum number of open sessions.

  • count the number of occurrence in the table with toplink

    Hello!

    There is no way to create a query with the expressionbuilder or... to count the number of occurences in my table?
    I don't want to use the query " select count (*) from table .

    Thank you

    Not sure about the question. You are looking to get the SQL "select count (*) table" to use the framework of expression TopLink or pull you that SQL already and want something else?

    If you are looking just to get the count of a table/class, you can use a ReportQuery:
    ReportQuery rquery = new ReportQuery (ClassToQueryOn.class);
    rquery.addCount (); equivalent to count (*);

    session.executeQuery (rquery);

    You can use a report query to return data instead of objects and use the criteria for selection as a normal read request.

    Best regards
    Chris

  • Find entities within multiple vCenters

    Well... now that my brain is wrecked near I ask for help

    I'm doing a script to search for an entity as a whole of the Vcenters. I have to put the name of the entity, the Type (I give to make this variable...) and the Vcenter... Only two types of information from different vcenters.

    Example:

    Name Type
    CL002-01Cluster
    Vm001-POCVirtualMachine

    The challenge for this task is to reduce the response time... The old writing back information, but a lot of time is wasted.

    I came here and my brain won't work more... Any help?

    Add: a question... is it possible to connect to multiple Vcenters using 'orders-work' and use the connection information of them somehow?

    #Add-PSSnapin VMware.VimAutomation.Core
    #Add-PSSnapin VMware.VumAutomation
    #. "%programfiles%\VMware\Infrastructure\vSphere PowerCLI\Scripts\Initialize-PowerCLIEnvironment.ps1"
    # Adds the base cmdlets
    Add-PSSnapin VMware.VimAutomation.Core -EA SilentlyContinue
    # Set to multiple VC Mode 
    if(((Get-PowerCLIConfiguration -Scope Session).DefaultVIServerMode) -ne "Multiple") {
        Set-PowerCLIConfiguration -DefaultVIServerMode Multiple -Scope AllUsers -Confirm:$false | Out-Null
        Set-PowerCLIConfiguration -DefaultVIServerMode Multiple -Scope User -Confirm:$false | Out-Null
        Set-PowerCLIConfiguration -DefaultVIServerMode Multiple -Scope Session -Confirm:$false | Out-Null
    }
    $count = 0
    Function Get-INFOS{
        param($dcInfo)
        
        Get-Inventory -Location $dcInfo
        
    }
    Function Find{   
        
        foreach ($info in $finalOUTPUT){
            if($info.Name -match "$typed*"){
            
                $infoFound = $info.Name
                $vcFound = ((($info.uid.split("@"))[1]).split(":"))[0]
            
                Write-host "
                Result Found($count):
                    Nome: $infoFound
                    VCenter: $VCFound
                " -ForegroundColor Green
                $count = $count +1
            }
        }
    }
    Function Load{
    $vCenters= import-csv lista_vcenters.csv -Header("Vcenter")
    $finalOUTPUT = @()
    #$finalOUTPUT = "" | Select-Object VC, EntityType, Entity
     
    Write-Host ("Getting the Inventory info from {0} vCenters." -f $vCenters.Length)
     
    foreach ($vCenter in $vCenters) {
            Start-job -scriptblock{  
        $vc = Connect-VIServer $vCenter.Vcenter -WarningAction SilentlyContinue
          
        if (!$vc) {
      Write-Host "Failure connecting to the vCenter $vCenter."
      exit
     }      
        $dcs = Get-Datacenter -Server $vc
        
        foreach ($dc in $dcs) {
            $vcname = $vCenter.vcenter
            Write-host " "
            Write-Host "Getting info from $vcname" -ForegroundColor Green
              $finalOUTPUT += Get-INFOS $dc
        }
            
        Disconnect-VIServer $vc -Confirm:$false
        } | Wait-Job
    }
    }
    Load
    $typed = Read-Host "Type the name of the Entity you want to find:"
    Find
    while(((Read-Host "Do you want to start a new Search?") -eq "y")){
        
        $count = 0    
        Clear
        
        $typed = Read-Host "Type the name of the Entity you want to find:"
        if($count -lt 1){
            Write-Host "No Results Found!" -ForegroundColor Red
        }
        Find
    }
    
    

    When you run too many jobs in parallel and thus focus on memory and CPU, the total duration of the session, then if you run them in batches.

    With the Invoke-Command cmdlet, you use the ThrottleLimit parameter, which allows better control how much desired parallelism.

    See also example 2 the Start-Job cmdlet.

  • Charge of monitoring database service.

    Hello

    I'm working on a cluster of CARS of 7 knots (11.2.0.3 on RHEL 6.4 x86_64) who has a services 50 + registered what companies use different applications to connect to the database.

    Can someone suggest a method to establish which of these services are the most frequent and most generate load on their respective authorities?

    I would like to be able to distribute services between available instances so that the busiest services do not come into conflict with each other on an instance.

    Is it possible to readily identified what are the first services of number of connections and the workload performed?

    Thanks in advance,

    In Enterprise Manager, I select the database of interest and then go on the Performance page. The second table contains a tab named Services. If you click on it, you can see the load broken down by service name.

    You can get a count of sessions by a query similar to the following:

    Select service_name, inst_id, count (*) as num_connections

    GV $ session

    Service_name group, select INST_ID

    order by service_name, INST_ID select;

    See you soon,.
    Brian

  • User VM lane closure

    Hi all.

    This morning someone in our data center made a stop of all virtual machines in a cluster HA/DR.

    I looked in vcenter events/task and I found that the command has been issued by domain\administrator. Multiple users use this account.

    I found the IP address of the remote session in vcenter/mob, but I am unable to match the information to find where the IP address is issued to the shutdown command...

    How can I find this information?

    What I need to know is:

    -What command has been issued

    -When it is issued to

    -What IP has been issued the command?

    Matteo

    Hello

    hope this helps:

    VMware KB: Determine why a virtual machine has been powered off or rebooted

    http://www.virtuallyghetto.com/2010/12/how-to-identify-origin-of-vSphere-login.html

    Download full session vCenter news - notes LucD

    VMware KB: Determine if an event of control of Virtual Machine high availability caused one machine virtual restart

    Kind regards

    P.

  • $ Sqlplus in Bash

    When you select a table using normal sqlplus, it works very well. When the table is queried by a shell script, it throws the following error

    -shell script-
    #! / bin/ksh
    . ~/.bash_profile

    sqlplus "/ as sysdba" < < EOF
    coil /home/oracle/test.log
    Select count (*) from v_$ session;
    spool off
    EXPRESSIONS OF FOLKLORE
    -end-

    -Newspaper-
    SQL > select count (*) from v_;
    Select count (*) from v_
    *
    ERROR on line 1:
    ORA-00942: table or view does not exist

    No idea why it does not read the ' $' and later by the script? Is this a bug or any other workaround?

    Thank you
    Anand

    >

    Hi Anand,

    ORA-00942: table or view does not exist

    I think the script is "confused" to "special" characters

    No idea why it does not read the ' $' and later by the script? Is this a bug or any other workaround?

    Try the SELECT COUNT (*) FROM V\_$ Session; or, SELECT COUNT (*) V_\$ Session;

    (Not tested)

    HTH,

    Paul...

    Anand

  • Remove the service from dba_services

    Hello

    I have my Production database running on 11.1.0.7 running on Oracle Enterprise Linux 64-bit environment.
    Please help me to clarify doubts about database services
    SQL > select name from dba_services;
    
    NAME
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    SYS$BACKGROUND
    SYS$USERS
    seeddataXDB
    seeddata
    MYCSMR.example.com
    CONSUM
    CONSUM_SEARCH
    MYCSMA.example.com
    QUICKSURVEY
    QUICKSURVEY.example.com
    
    10 rows selected.
    
    SQL > sho parameter service
    
    NAME                                 TYPE                              VALUE
    ------------------------------------ --------------------------------- ------------------------------
    service_names                        string                            CONSUM, CONSUM_SEARCH, MYCSMA.
                                                                           example.com, QUICKSURVEY
    I see additional services of 2 vue-est-a-dire dba_services > MYCSMR.example.com & QUICKSURVEY.example.com
    Guidance for how I remove it from the view of dba_services?

    Thank you!

    Hello

    You can check session $ v and see if any session uses the services exploited where SERVICE_NAME clause. Here's the script for rac 3-node check the name of the service and the number of sessions to come to their use

    prompt Total Sessions by Service
    select service_name "Service",
           count(*) "Total Sessions",
           sum(decode(se.inst_id,1,1,0)) "Inst 1",
           sum(decode(se.inst_id,2,1,0)) "Inst 2",
           sum(decode(se.inst_id,3,1,0)) "Inst 3"
    from gv$session se
    group by service_name
    order by service_name;
    

    You can also check ACTIVE_SERVICES $ V and V$ active_session_history and also to join, then using the SERVICE_HASH and NAME_HASH columns.

    Anand

  • Add the new column on 25 million lines Table

    Hi gurus,

    I have to add the new column to a populated application table who get to each Transaction.
    We can do this with no interruption of service and what are the things that I need to look after adding the peak of performance.
    Something happened to my mind is re - run stats

    Any Suggestion

    Database version = 10.2.0.4
    OS = RHEL4

    I appreciate your help on this
    Thank you

    789816 wrote:
    If the GET of the table is locked, it means that the application cannot write any new transactions in the table until the new default values has been updated?, my understanding of the downtime to do this to

    *-Online Yes, you need downtime in 10 g *.

    Another Question if we have default values as NULL will always be the table get locked?

    *-ONLINE YES *.

    11 g, this problem has been fixed by oracle: http://www.oracle-class.com/?p=1943

    create table sales as
       select rownum as id,
       mod(rownum,5) as product_id,
     mod(rownum,100) as client_id,
     2000 as price,
     to_date(
     '01.'||lpad(to_char(mod(rownum,3)+1),2,'0')||'.2011','dd.mm.yyyy')
     as c_date
     from dual
     10   connect by level <= 2.5e5;
    
    Table created.
    
    SQL> select count(*) from sales;
    
      COUNT(*)
    ----------
        250000
    
    ----session 1
    SQL> begin
      2  for i in 1..100000 loop
      3  insert into sales (id) values(i);
      4  end loop;
      5  commit;
      6  end;
      7  /
    
    PL/SQL procedure successfully completed.
    
    SQL> 
    
    When inserting into the table sales, the alter table add the new column was waiting for the inserts to finish
    
    -----session2:
    SQL> alter table sales add (provider_id NUMBER(2));
    
    Table altered.
    
    SQL> 
    
  • The question regarding SQL intervals

    I'm writing a piece of SQL for a report that will caclulate the total number of active sessions. The name of table I in draught is called "sessionhistory. This table has a field named "sessioninstantiationtime" for the start of the session and one called "sessiondestructiontime" for when it ends. I want counts the number of active sessions and calculate the bandwidth for each interval. Currently, my SQL works, but it only beginning resembles the session (sessioninstantiationtime). I need to change so that I count the sessions began, but have not yet finished. Here's the monetary SQL, can someone point me in the right direction? Any help is greatly appreciated...

    --

    SELECT
    To_char (sessioninstantiationtime, 'HH24') | ':' || To_char (Floor (TO_NUMBER (to_char (sessioninstantiationtime, 'MI')) / 15) * 15, "FM00") interval_value,.
    Count (case when to_char(sh.sessioninstantiationtime,'D') = '1', THEN '1' ELSE null END) as Sun_Streams,
    Sum (case when to_char(SH.sessioninstantiationtime,'D') = '1' Then sh.tsdownstreambw else 0 end) / 1000/1000 as Sun_Bandwidth,
    Count (case when to_char(sh.sessioninstantiationtime,'D') = '2', THEN '1' ELSE null END) as Mon_Streams,
    Sum (case when to_char(SH.sessioninstantiationtime,'D') = '2' Then sh.tsdownstreambw else 0 end) / 1000/1000 as Mon_Bandwidth,
    Count (case when to_char(sh.sessioninstantiationtime,'D') = '3', THEN '1' ELSE null END) as Tue_Streams,
    Sum (case when to_char(SH.sessioninstantiationtime,'D') = '3' Then sh.tsdownstreambw else 0 end) / 1000/1000 as Tue_Bandwidth,
    Count (case when to_char(sh.sessioninstantiationtime,'D') = '4', THEN '1' ELSE null END) as Wed_Streams,
    Sum (case when to_char(SH.sessioninstantiationtime,'D') = '4' Then sh.tsdownstreambw else 0 end) / 1000/1000 as Wed_Bandwidth,
    Count (case when to_char(sh.sessioninstantiationtime,'D') = '5', THEN '1' ELSE null END) as Thu_Streams,
    Sum (case when to_char(SH.sessioninstantiationtime,'D') = '5' Then sh.tsdownstreambw else 0 end) / 1000/1000 as Thu_Bandwidth,
    Count (case when to_char(sh.sessioninstantiationtime,'D') = '6', THEN '1' ELSE null END) as Fri_Streams,
    Sum (case when to_char(SH.sessioninstantiationtime,'D') = '6' Then sh.tsdownstreambw else 0 end) / 1000/1000 as Fri_Bandwidth,
    Count (case when to_char(sh.sessioninstantiationtime,'D') = '7', THEN '1' ELSE null END) as Sat_Streams,
    Sum (case when to_char(SH.sessioninstantiationtime,'D') = '7' Then sh.tsdownstreambw else 0 end) / 1000/1000 Sat_Bandwidth
    Of
    sessionHistory sh
    WHERE
    SH.sessioninstantiationtime BETWEEN TO_DATE('01-aug-09', 'dd-mon-yy') - 6 AND TO_DATE (1 August 09 ',' dd-mon-yy') + 1
    GROUP BY
    To_char (sessioninstantiationtime, 'HH24') | ':' || To_char (Floor (TO_NUMBER (to_char (sessioninstantiationtime, 'MI')) / 15) * 15, "FM00")
    ORDER BY
    To_char (sessioninstantiationtime, 'HH24') | ':' || To_char (Floor (TO_NUMBER (to_char (sessioninstantiationtime, 'MI')) / 15) * 15, "FM00");

    Hello

    If you want to specify the 7th day of the period of 7 days instead of 1 day and then subtract 6 in the two places where this setting is used.
    If you want a variable number of periods / hour instead of 4, then replace the three occurrences of the 'magic number' 4 with the number of periods per hour (60 /: period_length, where: length of the period is the number of minutes, for example 5, 15, 30 or 60.)

    VARIABLE  report_end_date     VARCHAR2 (20)
    EXEC      :report_end_date     := '03-Jul-2009';
    
    VARIABLE  period_length          NUMBER
    EXEC     :period_length          := 5;
    
    WITH     all_periods     AS
    (
         SELECT  TO_DATE (:report_end_date, 'DD-Mon-YYYY') + ( (LEVEL - 1)
                                                / (24 * 60 / :period_length)
                                           )
                                         - 6     AS period_start
         ,     TO_DATE (:report_end_date, 'DD-Mon-YYYY') + (  LEVEL
                                                / (24 * 60 / :period_length)
                                           )
                                         - 6     AS next_period_start
         FROM    dual
         CONNECT BY     LEVEL <= 7 * 24 * 60 / :period_length
    )
    SELECT     TO_CHAR (ap.period_start, 'HH24:MI')     AS period_start_time
    ,     COUNT    (CASE WHEN TO_CHAR (ap.period_start, 'Dy') = 'Fri' THEN sh.tsdownstreambw END)     AS fri_streams
    ,     NVL (SUM (CASE WHEN TO_CHAR (ap.period_start, 'Dy') = 'Fri' THEN sh.tsdownstreambw END), 0)
               / (1000 * 1000)                                             AS fri_bandwidth
    ,     COUNT (   CASE WHEN TO_CHAR (ap.period_start, 'Dy') = 'Sat' THEN sh.tsdownstreambw END)     AS sat_streams
    ,     NVL (SUM (CASE WHEN TO_CHAR (ap.period_start, 'Dy') = 'Sat' THEN sh.tsdownstreambw END), 0)
               / (1000 * 1000)                                             AS sat_bandwidth
    FROM           all_periods     ap
    LEFT OUTER JOIN  sessionhistory     sh     ON    sh.sessioninstantiationtime <  ap.next_period_start
                                      AND   sh.sessiondestructiontime   >= ap.period_start
    WHERE       TO_CHAR (ap.period_start, 'HH24:MI')     LIKE '01:__'     --     *****  FOR TESTING ONLY!  *****
    GROUP BY  TO_CHAR (ap.period_start, 'HH24:MI')
    ORDER BY  TO_CHAR (ap.period_start, 'HH24:MI')
    ;
    

    Note that the main request is completely unchanged.

    Out with the above parameters and the set of two rows of sample data:

    .           FRI_      FRI_       SAT_      SAT_
    PERIO    STREAMS BANDWIDTH    STREAMS BANDWIDTH
    ----- ---------- --------- ---------- ---------
    01:00          0      .000          0      .000
    01:05          0      .000          0      .000
    01:10          0      .000          0      .000
    01:15          0      .000          0      .000
    01:20          0      .000          0      .000
    01:25          0      .000          0      .000
    01:30          2     7.500          0      .000
    01:35          2     7.500          0      .000
    01:40          1     3.750          0      .000
    01:45          1     3.750          0      .000
    01:50          1     3.750          0      .000
    01:55          0      .000          0      .000
    

    The query will cover a period of 7 days consecutive ending with (and including): report_end_date.
    'Saturday' in this example means June 27, 6 days before Friday.

  • ORA-12520: TNS:listener not found Manager available for requested...?

    Hello

    I am to evaluate a tool that allows you to migrate a database from MySQL to oracle. Everything seems fine, until the tool is gone through the import of the target Oracle database process. The following error arises: ORA-12520: TNS:listener could not find a Manager is available for the requested server type


    Following is part of the output of the migration, just tool before and where the error occurs:
    ---
    ...
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production

    SWS_core_documentation_ID SEQUENCE of FALL
    *+
    ERROR on line 1:
    ORA-02289: sequence does not exist

    Order of creation.

    Trigger created.

    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production

    Core_group for Oracle table import
    Creating table and its constraints using the Oracle SQL * more utilitarian

    SQL * more: Release 10.2.0.1.0 - Production kills Mar 31 16:20:14 2009

    Copyright (c) 1982, 2005, Oracle.  All rights reserved.

    ERROR:
    ORA-12520: TNS:listener could not find Manager available for requested type
    Server

    Enter user name:
    ---

    I searched around and raised that potentially the problem could lie with the MAX_UTILIZATION value for the number of PROCESSES. How can I increase the value?

    Some diagnoses are:

    ---
    + $> lsnrctl services +.

    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on March 31, 2009 16:37:44

    Copyright (c) 1991, 2005, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC_FOR_XE)))
    Summary of services...
    Service 'CLRExtProc' has 1 instance (s).
    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...
    Managers:
    + 'DEDICATED' set up: 0 denied: 0 +.
    LOCAL SERVER
    Service 'PLSExtProc' has 1 instance (s).
    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
    Managers:
    + 'DEDICATED' set up: 0 denied: 0 +.
    LOCAL SERVER
    Service 'XEXDB' has 1 instance (s).
    Instance "xe", State LOAN, has 1 operation for this service...
    Managers:
    + "D000" put in place: 0 denied: 0 current: 0 max: 1002 State: loan +.
    DISPATCHER < machine: xxxxxxx, pid: 2552 >
    + (Address = (Protocol = TCP (port = 1044))(Host=xxxxxxx)) +.
    Service 'XE_XPT' has 1 instance (s).
    Instance "xe", State LOAN, has 1 operation for this service...
    Managers:
    + 'DEDICATED' set up: 38 refused: 0 status: ready +.
    LOCAL SERVER
    "Xe" service has 1 instance (s).
    Instance "xe", State LOAN, has 1 operation for this service...
    Managers:
    + 'DEDICATED' set up: 38 refused: 0 status: ready +.
    LOCAL SERVER
    The command completed successfully

    + $> +.

    ---

    + $> lsnrctl status +.

    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on March 31, 2009 16:51:52

    Copyright (c) 1991, 2005, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    ------------------------
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    Beginning of March 31, 2009 15:58:13
    Uptime 0 days 0 h 53 min 38 s
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Default Service XE
    Listener parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\listener.ora
    Listener log file C:\oraclexe\app\oracle\product\10.2.0\server\network\log\listener.log
    Summary of endpoints listening...
    +(Description=(address=(Protocol=IPC)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))+
    + (Description = (Address = (Protocol = TCP) (Host = xxxxxxx (port = 1521))) +)
    + (Description = (Address = (Protocol = TCP)(Host=127.0.0.1) (port = 8080)) (Presentation = http)(session=RAW)) +.
    Summary of services...
    Service 'CLRExtProc' has 1 instance (s).
    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...
    Service 'PLSExtProc' has 1 instance (s).
    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
    Service 'XEXDB' has 1 instance (s).
    Instance "xe", State LOAN, has 1 operation for this service...
    Service 'XE_XPT' has 1 instance (s).
    Instance "xe", State LOAN, has 1 operation for this service...
    "Xe" service has 1 instance (s).
    Instance "xe", State LOAN, has 1 operation for this service...
    The command completed successfully

    + $> +.

    ---

    + $> sqlplus /nolog +.

    SQL * more: Release 10.2.0.1.0 - Production kills Mar 31 16:54:04 2009

    Copyright (c) 1982, 2005, Oracle.  All rights reserved.

    SQL > connect sys as sysdba
    Enter the password:
    Connected.
    SQL > select * from v$ resource_limit where resource_name = '' process. ''

    RESOURCE_NAME CURRENT_UTILIZATION MAX_UTILIZATION INITIAL_AL
    ------------------------------ ------------------- --------------- ----------
    LIMIT_VALU
    ----------
    processes                                       21              33         40
    + 40 +.


    SQL > SELECT count (*) FROM THE process of v$.

    COUNT (*)
    ----------
    + 21 +.


    SQL > SELECT count (*) FROM $session v;

    COUNT (*)
    ----------
    + 15 +.


    SQL > SELECT * FROM v$ resource_limit;

    RESOURCE_NAME CURRENT_UTILIZATION MAX_UTILIZATION INITIAL_ALLOCATION LIMIT_VALUE
    ----------------------------------------------------------------------------------------------------------------------------------------------------
    gcs_shadows 0 0 0 0
    dml_locks 0 57 212 UNLIMITED
    temporary_table_locks 0 9 UNLIMITED UNLIMITED
    0 7 53 UNLIMITED transactions
    0 0 53 UNLIMITED branches
    0 1 53 UNLIMITED cmtcallbk
    sort_segment_locks 0 1 UNLIMITED UNLIMITED
    11 11 53 65535 max_rollback_segments
    max_shared_servers 4 4 UNLIMITED UNLIMITED
    0 0 0 3600 PARALLEL_MAX_SERVERS


    ---

    Any ideas as to what could be the problem?

    Thank you
    Amedeo.


    P. S.
    What is the syntax to create a block of code, if this forum?

    Hello

    It isn't dinamyc parameter, so you need to modify the init.ora file.
    that is incase you are usning init.ora file.
    If you use spfile, you should
    Run change processes control system = <# of="" proccesses="">scope = spfile;

    Thank you
    Benjamin Gopal

  • Easy remote VPN - IPsec Session count

    I have recently updated our ASA5510 head to our datacenter to 8.2.1 to 8.4.5. The ASD has been also improved 6.2.1 to 7.1. (1) 52. Under the old code, a connected remote ASA5505 via remote VPN easy showed 1 IPsec tunnel. However, after the upgrade, it shows 42 sessions. It seems to me that each split tunnel network defined in the easy VPN profile is being counted as a tunnel. Someone has seen this, or is - it possible that I may have something misconfigured now that the code is upgraded? Thank you.

    Dave

    No, IMHO, it's a display error in ASDM for 7.1.

    Return to ASDM 6.4.9 and it should be 1 tunnel.

  • How to check constantly vCenter logon session?

    I need a reliable way to check to see if my vCenter session is active. I am aware of the $global: DefaultVIServer.IsConnected, but no one knows how many times which is updated from $true to $false if vCenter fails? I performed a test fast and connected to a vCenter, valid IsConnected = $true, stopped the vCenter services and it took several minutes before he ever upgrade IsConnected = $false. I even ran a few basic cmds (Get - VM, Get-Cluster, etc.) trying to see if that would update IsConnected = $false, but I had no luck.

    I have a very long interview script that runs throughout the night and I need to be able to check the status of my session of vCenter repeatedly during the maintenance script. My first thoughts were to build a function around the State of IsConnected, but based on my tests and the time it took to update, I'm not sure this is the correct path.

    Does anyone have a better suggestion on checking the status of my session of vCenter or know a way to force IsConnected to update immediately after the session of vCenter is killed?

    This will tell you if the session is connected or disconnected.

    $si = get-view ServiceInstance

    $sessMgr is get-view-Id $si. Content.SessionManager

    {while ($true)}

    {if($sessMgr.CurrentSession)}

    Write-Output "$(Get-Date-Format ' hh) connected Session.

    }

    else {}

    Write-Output "$(Get-Date-Format ' hh) disconnected Session.

    }

    sleep 1

    $sessMgr.UpdateViewData ('CurrentSession')

    }

Maybe you are looking for