Getting *Metrics "Global Cache Average CR Get Time" is at* Alerts

Hi ,
I am getting *** Metrics "Global Cache Average CR Get Time" is at *** kind of alerts from grid control from my RAC prod DB.
Can anybody tell me what should i do for these critical alerts? or will these effect on my applications performance which are running in my DB.

This metric refers to the average time necessary to get blocks from the Global cache.
This itself does nog mean anything.
Are you applications running on this DB experiencing performance issues?
If not, you might consider:
increasing the hresholds for this specific metric (use Monitoring Templates for this)
disable this metric (nullify the thresholds)
regards
Rob
http://oemgc.wordpress.com

Similar Messages

  • EM Alert: Critical: Metrics "Global Cache Average Current Get Time" is at X

    I frequently get this notification email alert from the enterprise manager. What does this mean and should I ignore it or work on it?
    Name=<sid>_<instancename>
    Type=Database Instance
    Host=<servername>.<domainname>
    Metric=Global Cache Average Current Block Request Time (centi-seconds)
    Timestamp=Jan 27, 2009 9:27:20 PM GST
    Severity=Critical
    Message=Metrics "Global Cache Average Current Get Time" is at 1.46154
    Rule Name=XXProd
    Rule Owner=SYS
    [email protected]

    those metrics shows the effect of accessing blocks in the global cache and maintaining cache coherency.
    basically, the response time for Cache Fusion transfers is determined by the messaging time and
    processing time imposed by the physical interconnect components, the IPC protocol, and the
    GCS protocol.
    therefore, Inter-Instance performance issues can be caused by:
    1) Under configured network settings at the OS
    2) dropped packets,retransmits, or cyclic redundancy check errors (CRC)
    3) large number of processes in the run queue waiting for CPU
    4) high value for the DB_FILE_MULTIBLOCK_READ_COUNT
    Note also that poor SQL or bad optimization paths can cause additional block gets via the interconnect, just as not using ASSM for Locally Managed Tablespaces, or not using CACHE NOORDER for sequence, ...

  • Global Cache Average critical message at "idle nodes" in RAC

    We receives lots of critical message as Metrics "Global Cache Average Current Get Time" is at 1.125
    and Global Cache Average CR Get Time" is at 1.07843 by EM Oracle metric.
    We have a 4 node 11.1 RAC in red hat. However, these two nodes that display Critical messages message does not support application---second nodes in failover mode.
    I also do not see any user's session in these nodes by gv$session/v$session. I could not understand why these 'idle" node got Critical messages?
    Thanks for explaining
    Jin

    Check this: http://download.oracle.com/docs/cd/B19306_01/em.102/b25986/oracle_database.htm#sthref902

  • Global cache average current block request

    Hi all experts,
    I am getting this error frequently through 12C EM. Please tell me how I can suppress this alert so that I don't get it in future.
    Name=<sid>_<instancename>
    Type=Database Instance
    Host=<servername>.<domainname>
    Metric=Global Cache Average Current Block Request Time (centi-seconds)
    Timestamp xxxxxxxxxxxxxxxxxxxxxxxx
    Severity=Critical
    Message=Metrics "Global Cache Average Current Get Time 62" is at 1.46154
    Rule Name=XXProd
    Rule Owner=SYS

    this metric needs to be disabled in EM at the target level for each instance. you can disable "Global Cache Statistics" metrics in two different ways:
    Navigate to the instance, then click the Oracle Database drop-down -> Monitoring -> All Metrics -> (expand) Global Cache Statistics
    -> Global Cache Average CR Block Request Time (centi-seconds)
    -> Global Cache Average Current Block Request Time (centi-seconds)
    -> Global Cache Blocks Corrupt
    -> Global Cache Blocks Lost
    a. At the top level (Global Cache Statistics), click the [Modify] button , then the (*) Disable radio button to disable the entire group
    b. If only disabling the individual metric (Global Cache Average CR Block Request Time (centi-seconds)), click on Modify Thresholds button to delete the values. Note that empty Thresholds will disable alerts for that metric.
    Same can be done via navigation to the Cluster database instance -> Oracle Database drop-down -> Monitoring -> Metric and Collection Settings -> Global Cache Statistics

  • UCCE 7.5 how to get BHCA and Average Call Handle time?

    Hi everybody,
    I'm trying to do an audit of the existing UCCE system.
    Can someone please tell me how to get the BHCA and Average Call Handle time for agent?
    I did a SQL query against the CallTypeHalfHour table for all the entering Call Type but I'm not sure that's the right BHCA.
    Thanks in advance,
    Best Regards,

    Hi again Geoff,
    Before closing this thread, I'm curious about your query against TCD for average handle time.
    Here's mine using Skill_Group_Half_Hour
    SELECT
        SUM(HandledCallsTalkTimeToHalf) AS TalkTime,
        SUM(IncomingCallsOnHoldTimeToHalf) AS HoldTime,
        SUM(CallsHandledToHalf) AS HandledCalls,
          AHT =
                CASE
                WHEN SUM(CallsHandledToHalf) > 0 THEN (SUM(HandledCallsTalkTimeToHalf) +SUM(IncomingCallsOnHoldTimeToHalf)) / SUM(CallsHandledToHalf)
                ELSE 0
                END
    FROM t_Skill_Group_Half_Hour
    WHERE DateTime between '02/01/11 00:00' and '02/28/11 23:30'
    Besides, can you please also tell me how to get the Average Waiting Time (time before get answered by an agent) ?
    Thank you in advance, Geoff,
    Best Regards,

  • How do I get a chart to show the actual time with blocked data??

    I am currently working on a program that reads the voltage off of a system with a pulsitile quality. The hardware is not national instruments (I know, not smart, but) so I am taking all info in blocks that cover 3 seconds so I can preform some averaging and frequency checks on it. I want to graph the information over a given period of time but can not get it to go under the proper time. Property Nodes have not worked correctly as I have followed the example in Fund>Charts>Realtime chart. Even with a max of 30 and a min of 0, the chart is ranging 30707 seconds and increasing exponentally. Per Scan I am taking 600 samples and running at 200Hz. Any ideas on how to fix this problem?

    > I am currently working on a program that reads the voltage off of a
    > system with a pulsitile quality. The hardware is not national
    > instruments (I know, not smart, but) so I am taking all info in blocks
    > that cover 3 seconds so I can preform some averaging and frequency
    > checks on it. I want to graph the information over a given period of
    > time but can not get it to go under the proper time. Property Nodes
    > have not worked correctly as I have followed the example in
    > Fund>Charts>Realtime chart. Even with a max of 30 and a min of 0, the
    > chart is ranging 30707 seconds and increasing exponentally. Per Scan
    > I am taking 600 samples and running at 200Hz. Any ideas on how to fix
    > this problem?
    The easiest way to fix this, if you are using LV6, is to us
    e waveform
    charts. This way you are wiring timestamp and dt to each waveform
    chunk. The chart will automatically start showing date and time and
    can be customized in the X Scale>>Formatting dialog.
    If you are not using LV6 or do not want to use the waveform datatype,
    you can open the formatting dialog and set the dt to match the timing
    between adjacent points. You can also set the t0 to the initial point
    time. The same points can also be set using a property node.
    Greg McKaskle

  • Top time events showing global cache  buffer busy waits

    can any one guide me to find the root cause for global cache buffer waits

    "Segments by Global Cache Buffer Busy" output from an AWR report.
    And let us know how many CPUs you have If you don't want to reveal the names of the objects, then change them (but do it in a way that means if two indexes are for the same table then it's visible). The distribution of waits is significant.
    How many of the indexes in the "segments" are based on an Oracle Sequence ? Check the values for the CACHE size of those sequences they probably ought to be at least 1,000.
    See note below about producing readable output.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.
    There is a +"Preview"+ tab at the top of the text entry panel. Use this to check what your message will look like before you post the message. If it looks a complete mess you're unlikely to get a response. (Click on the +"Plain text"+ tab if you want to edit the text to tidy it up.)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • I can't seem to use the 'Check seats' link on Delta when I use Firefox but Safari works fine. I get the message 'not available at this time' when using Firefox but when I go to Safari it works fine.

    I can't seem to use the 'Check seats' link on the Delta Airlines site when I use Firefox but Safari works fine. I get the message 'not available at this time' when using Firefox but when I go to Safari it works fine. I love Firefox but this sucks!

    That issue can be caused by corrupted cookies.
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    *http://kb.mozillazine.org/Cookies

  • LiveCycle unable to access Cache Controller. Exception message - Error accessing the cache container - Error on GET action for cache Replicated:UM_CLUSTER_INVALIDATION_CACHE

    The incident starts after all the members are removed from the DCS Stack DefaultCoreGroup view and added back again by WebSphere Application Server. Following exceptions are seen after LiveCycle was added back in again to the view.
    We have a clustered environment with two nodes 2A and 2B. Server 2A crashed and therefore all members on 2B node were removed from the DCS view. Later the new core group view was installed but LiveCycle did resume operations as expected.
    Errors below:
    Exception caught while dealing with cache : Action - Get, ObjectType - UM_CLUSTER_INVALIDATION_CACHE, Exception message - Error accessing the cache container - Error on GET action for cache Replicated:UM_CLUSTER_INVALIDATION_CACHE
    ServiceRegist W   Cache get failed for service EncryptionService Reason: Error accessing the cache container - Error on GET action for cache
    Error accessing the cache container - Error on GET action for cache Local:SERVICE_FACTORY_CACHE
    The following message appeared for several different services:
    Cache put failed for service [CredentialService, ReaderExtensionsService,EncryptionService, etc]
    SSOSessionCle W   Error in cleaning stale sessions from the database. These sessions would be deleted in next trigger
                                     java.lang.RuntimeException: com.adobe.livecycle.cache.CacheActionException: Error accessing the cache container - Error on ENTRYSET action for cache Local:UM_ASSERTION_CACHE
      at com.adobe.idp.um.businesslogic.authentication.AssertionCacheManager.removeExpiredResults( AssertionCacheManager.java:125)
      at com.adobe.idp.um.scheduler.SSOSessionCleanupJob.execute(SSOSessionCleanupJob.java:69)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    Caused by: com.adobe.livecycle.cache.CacheActionException: Error accessing the cache container - Error on ENTRYSET action for cache Local:UM_ASSERTION_CACHE
      at com.adobe.livecycle.cache.adapter.GemfireLocalCacheAdapter.entrySet(GemfireLocalCacheAdap ter.java:219)
      at com.adobe.idp.um.businesslogic.authentication.AssertionCacheManager.removeExpiredResults( AssertionCacheManager.java:99)
      ... 3 more
    Caused by: com.gemstone.gemfire.distributed.DistributedSystemDisconnectedException: GemFire on 2B<v1>:9057/51073 started at Sun Aug 17 08:57:23 EDT 2014: Message distribution has terminated, caused by com.gemstone.gemfire.ForcedDisconnectException: This member has been forced out of the distributed system.  Reason='this member is no longer in the view but is initiating connections'
      at com.gemstone.gemfire.distributed.internal.DistributionManager$Stopper.generateCancelledEx ception(DistributionManager.java:746)
      at com.gemstone.gemfire.distributed.internal.InternalDistributedSystem$Stopper.generateCance lledException(InternalDistributedSystem.java:846)
      at com.gemstone.gemfire.internal.cache.GemFireCacheImpl$Stopper.generateCancelledException(G emFireCacheImpl.java:1090)
      at com.gemstone.gemfire.CancelCriterion.checkCancelInProgress(CancelCriterion.java:59)
      at com.gemstone.gemfire.internal.cache.LocalRegion.checkRegionDestroyed(LocalRegion.java:669 4)
      at com.gemstone.gemfire.internal.cache.LocalRegion.checkReadiness(LocalRegion.java:2587)
      at com.gemstone.gemfire.internal.cache.LocalRegion.entries(LocalRegion.java:1815)
      at com.gemstone.gemfire.internal.cache.LocalRegion.entrySet(LocalRegion.java:7941)
      at com.adobe.livecycle.cache.adapter.GemfireLocalCacheAdapter.entrySet(GemfireLocalCacheAdap ter.java:209)
      ... 4 more
    Caused by: com.gemstone.gemfire.ForcedDisconnectException: This member has been forced out of the distributed system.  Reason='this member is no longer in the view but is initiating connections'
      at com.gemstone.org.jgroups.protocols.pbcast.ParticipantGmsImpl.handleLeaveResponse(Particip antGmsImpl.java:106)
      at com.gemstone.org.jgroups.protocols.pbcast.GMS.up(GMS.java:1289)
      at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
      at com.gemstone.org.jgroups.protocols.VIEW_SYNC.up(VIEW_SYNC.java:202)
      at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
      at com.gemstone.org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:276)
      at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
      at com.gemstone.org.jgroups.protocols.UNICAST.up(UNICAST.java:294)
      at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
      at com.gemstone.org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:625)
      at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
      at com.gemstone.org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:187)
      at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
      at com.gemstone.org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:504)
      at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
      at com.gemstone.org.jgroups.protocols.FD.up(FD.java:438)
      at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
      at com.gemstone.org.jgroups.protocols.Discovery.up(Discovery.java:258)
      at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
      at com.gemstone.org.jgroups.protocols.TP.handleIncomingMessage(TP.java:1110)
      at com.gemstone.org.jgroups.protocols.TP.handleIncomingPacket(TP.java:1016)
      at com.gemstone.org.jgroups.protocols.TP.receive(TP.java:923)
      at com.gemstone.org.jgroups.protocols.UDP$UcastReceiver.run(UDP.java:1320)
      at java.lang.Thread.run(Thread.java:773)
    [22/08/14 0:28:10:237 EDT] 00000b4f WorkPolicyEva W   Exception thrown in background thread. Cause: java.lang.NullPointerException
    [22/08/14 0:29:10:252 EDT] 00000b4f WorkPolicyEva W   Exception thrown in background thread. Cause: java.lang.NullPointerException
    [22/08/14 0:30:10:268 EDT] 00000b4f WorkPolicyEva W   Exception thrown in background thread. Cause: java.lang.NullPointerException
    [22/08/14 0:31:10:283 EDT] 00000b4f WorkPolicyEva W   Exception thrown in background thread. Cause: java.lang.NullPointerException
    [22/08/14 0:32:10:298 EDT] 00000b4f WorkPolicyEva W   Exception thrown in background thread. Cause: java.lang.NullPointerException
    [22/08/14 0:33:10:313 EDT] 00000b4f WorkPolicyEva W   Exception thrown in background thread. Cause: java.lang.NullPointerException
    [22/08/14 0:34:10:328 EDT] 00000b4f WorkPolicyEva W   Exception thrown in background thread. Cause: java.lang.NullPointerException
    [22/08/14 0:35:10:343 EDT] 00000b4f WorkPolicyEva W   Exception thrown in background thread. Cause: java.lang.NullPointerException
    [22/08/14 0:36:10:358 EDT] 00000b4f WorkPolicyEva W   Exception thrown in background thread. Cause: java.lang.NullPointerException
    [22/08/14 0:37:10:373 EDT] 00000b4f WorkPolicyEva W   Exception thrown in background thread. Cause: java.lang.NullPointerException
    [22/08/14 0:38:10:389 EDT] 00000b4f WorkPolicyEva W   Exception thrown in background thread. Cause: java.lang.NullPointerExceptionor
    I have tried looking for the root cause about why LiveCycle was not able to resume normally, didn't find anything related.

    LiveCycle uses Gemfire as distributed cache for cluster members. If you are using TCP Locators (caching based on TCP instead of UDP), below are the possible situations which might lead to “ForcedDisconnectException” :
    - There is time difference between two nodes.
    - These is network connectivity issues.
    - The high CPU usage by the member crashed.
    -Wasil

  • Thread-6080 ERROR ilint: MetricEngine Exception: Could get metric.

    this my metadata file
    <?xml version="1.0" ?>
    <!DOCTYPE TargetMetadata SYSTEM "../dtds/TargetMetadata.dtd">
    <TargetMetadata META_VER="1.1" TYPE="oracle_replica" CATEGORY_PROPERTIES="VersionCategory">
    <Display>
    <Label NLSID="oracle_replica_name">Replica Oficina</Label>
    </Display>
    <Metric NAME="Replica_Response" TYPE="TABLE">
    <ValidIf>
         <CategoryProp NAME="VersionCategory" CHOICES="10gR2;10gR203;11gR1"/>
    </ValidIf>
    <Display>
    <Label NLSID="replica_reponse">Replica Status</Label>
    </Display>
    <TableDescriptor>
    <ColumnDescriptor NAME="Status" TYPE="STRING" IS_KEY="FALSE">
         <Display>
    <Label NLSID="replica_response_status">Status</Label>
    </Display>
         </ColumnDescriptor>
    </TableDescriptor>
    <QueryDescriptor FETCHLET_ID="SQL">
    <Property NAME="STATEMENT" SCOPE="GLOBAL"><![CDATA[
    select (case when minutos >= 5 then 'Down' when minutos < 5 then 'Up' end) "STATUS"
    from (select t.server, round((sysdate - to_date(to_char(t.fecha_sinc_remoto, 'dd/mm/yyyy hh24:mi:ss'),
    'dd/mm/yyyy hh24:mi:ss')) * 24 * 60) minutos from rep_control.control_servers t)
    where server = 'DBSAREN'
    ]]></Property>
    <Property NAME="NUMROWS" SCOPE="GLOBAL">1</Property>
    <Property NAME="MachineName" SCOPE="INSTANCE">10.218.6.2</Property>
    <Property NAME="Port" SCOPE="INSTANCE">1521</Property>
    <Property NAME="SID" SCOPE="INSTANCE">db10g</Property>
    <Property NAME="UserName" SCOPE="INSTANCE">dbsnmp</Property>
    <Property NAME="password" SCOPE="INSTANCE">123456</Property>
    <Property NAME="Role" SCOPE="INSTANCE" OPTIONAL="TRUE">Role</Property>
         <Property NAME="ConnectDescriptor" SCOPE="GLOBAL">(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=%MachineName%)(Port=%Port%))(CONNECT_DATA=(SERVICE_NAME=%ServiceName%)(INSTANCE_NAME=%SID%)(UR=A)))</Property>
    </QueryDescriptor>
    </Metric>
    <InstanceProperties>
    <InstanceProperty NAME="OracleHome" CREDENTIAL="FALSE" OPTIONAL="FALSE">
         <Display>
              <Label NLSID="oracle_replica_OracleHome">Oracle home path</Label>
         </Display>
    </InstanceProperty>
    <InstanceProperty NAME="MachineName" CREDENTIAL="FALSE" OPTIONAL="FALSE">
    <Display>
    <Label NLSID="oracle_replica_machinename">MachineName</Label>
    </Display>
    </InstanceProperty>
    <InstanceProperty NAME="Port" CREDENTIAL="FALSE" OPTIONAL="FALSE">
    <Display>
    <Label NLSID="oracle_replica_port">Port</Label>
    </Display>
    </InstanceProperty>
    <InstanceProperty NAME="ServiceName" CREDENTIAL="FALSE" OPTIONAL="FALSE">
    <Display>
    <Label NLSID="oracle_replica_servicename">ServiceName</Label>
    </Display>
    </InstanceProperty>
    <InstanceProperty NAME="SID" CREDENTIAL="FALSE" OPTIONAL="FALSE">
    <Display>
    <Label NLSID="oracle_replica_sid">SID</Label>
    </Display>
    </InstanceProperty>
    <InstanceProperty NAME="UserName" CREDENTIAL="TRUE" OPTIONAL="FALSE">
    <Display>
    <Label NLSID="oracle_replica_username">UserName</Label>
    </Display>
    </InstanceProperty>
    <InstanceProperty NAME="password" CREDENTIAL="TRUE" OPTIONAL="FALSE">
    <Display>
    <Label NLSID="oracle_replica_password">password</Label>
    </Display>
    </InstanceProperty>
    <InstanceProperty NAME="Role" CREDENTIAL="FALSE" OPTIONAL="TRUE">
    <Display>
    <Label NLSID="oracle_replica_role">Role</Label>
    </Display>
    </InstanceProperty>
    </InstanceProperties>
    </TargetMetadata>
    and I have the following errors when check the metric, please any idea??? thank
    Executing Metric = "Replica_Response"
    ===============================================================================
    2008-05-22 15:16:40 Thread-6080 ERROR ilint: MetricEngine Exception: Could not get metric.
    2008-05-22 15:16:40 Thread-6080 ERROR ilint: Metric Execution Error
    *** Internal Error - No Processing Completed

    Well, if you remove the CATEGORY_PROPERTIES and the ValidIf statement, your metadata should work. I would recommend not using these statements if possible.
    Chris

  • How to get cluster wide cache statistics

    Pls provide me an example using InvocationService to get cluster wide cache statistics.

    JK,
    Thanks for the code snippet.
    Now this is how i re-align my code for cluster wide statistics collection. I am able to retrieve the CacheHits count as 2. Pls let me know if this approach is correct.
    A StatisticsAgent class which provide the invocation service to cluster wide nodes.
    package com.hp.dal.cache.cluster;
    public class StatisticsAgent extends AbstractInvocable {
    String cacheName = null;
         public StatisticsAgent(cacheName) {
              // TODO Auto-generated constructor stub
    this.cacheName = cacheName;
         @Override
         public void run() {
                   Statistics stats = new Statistics();
              //     MBeanServerConnection mBeanServer = jmx();
                   MBeanServerConnection mBeanServer = jmx("vbharadwaj5",40002,null,null);
                   String jmxQuery = "Coherence:type=Cache,service=*,name=" + cacheName + ",nodeId=*,tier=back";
                   Set<ObjectInstance> queryResults;
                   try {
                        queryResults = mBeanServer.queryMBeans(new ObjectName(jmxQuery), null);
                        long totalHits = 0;
                        for (ObjectInstance objectInstance : queryResults) {
                        ObjectName objectName = objectInstance.getObjectName();
                        long cacheHits = (Long) mBeanServer.getAttribute(objectName, "CacheHits");
                        totalHits += cacheHits;
                        stats.setCacheHits(totalHits);
                        super.setResult(stats);
                   } catch (MalformedObjectNameException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (NullPointerException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (IOException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (AttributeNotFoundException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (InstanceNotFoundException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (MBeanException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (ReflectionException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
         public static MBeanServerConnection jmx() {
         return ManagementFactory.getPlatformMBeanServer();
    public static MBeanServerConnection jmx(String host, int port, String user, String password) throws Exception {
         String urlPath = "/jndi/rmi://" + host + ":" + port + "/jmxrmi";
         JMXServiceURL jmxUrl = new JMXServiceURL("rmi", "", 0, urlPath);
         Map<String, String[]> env = new HashMap<String, String[]>();
         if (user != null) {
         env.put(JMXConnector.CREDENTIALS, new String[]{user, password});
         JMXConnector jmxConnector = JMXConnectorFactory.connect(jmxUrl, env);
         return jmxConnector.getMBeanServerConnection();
    A client class which will invoke the InvocationService:
    package com.hp.dal.cache.cluster;
    public class TestClient {
         public static void main(String[] args) throws Exception {
              // TODO Auto-generated method stub
              Map refMap = new HashMap();
              refMap.put("V", "Vidya");
              refMap.put("P", "Sudheesh");
              NamedCache cache = CacheFactory.getCache("some-cache-name");
              cache.put("V", "Vidya");
              cache.put("P","Sudheesh");
              cache.get("V");
              cache.get("P");
         InvocationService invocationService = (InvocationService) CacheFactory.getService("InvocationService");
         Set setMembers = invocationService.getInfo().getServiceMembers();
    System.out.println("SYNCHRONOUS EXECUTING AGENT");
    Map<Member, Object> statsMap = invocationService.query(new StatisticsAgent(cache.getCacheName()), setMembers);
    for (Entry<Member, Object> stats : statsMap.entrySet()) {
    System.out.println("Member: " + stats.getKey() + ", Stats: " + stats.getValue());
    Statistics obj = (Statistics) stats.getValue();
    System.out.println(obj.getCacheHits());
    Corresponding Cache config running on all nodes are:
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
         <caching-scheme-mapping>
              <cache-mapping>
                   <cache-name>*</cache-name>
                   <scheme-name>ExamplesPartitionedPofScheme</scheme-name>
              </cache-mapping>
         </caching-scheme-mapping>
         <caching-schemes>
              <distributed-scheme>
                   <scheme-name>ExamplesPartitionedPofScheme</scheme-name>
                   <service-name>PartitionedPofCache</service-name>
                   <backing-map-scheme>
                        <read-write-backing-map-scheme>
                             <internal-cache-scheme>
                                  <local-scheme>
                                       <high-units>250M</high-units>
                                       <unit-calculator>binary</unit-calculator>
                                       <expiry-delay>0s</expiry-delay>
                                  </local-scheme>
                             </internal-cache-scheme>
                        </read-write-backing-map-scheme>
                   </backing-map-scheme>
                   <autostart>true</autostart>
              </distributed-scheme>
              <invocation-scheme>
    <scheme-name>invocation-service</scheme-name>
    <service-name>InvocationService</service-name>
    <thread-count>5</thread-count>
    <autostart>true</autostart>
    </invocation-scheme>
         </caching-schemes>
    </cache-config>
    Corresponding tangosol-coherence-override.xml is :
    <?xml version='1.0'?>
    <coherence
         xmlns="http://xmlns.oracle.com/coherence/coherence-operational-config"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-operational-config http://xmlns.oracle.com/coherence/coherence-operational-config/1.0/coherence-operational-config.xsd">
         <cluster-config>
              <member-identity>
                   <cluster-name>MyCluster</cluster-name>
              </member-identity>
              <multicast-listener>
                   <address>224.3.7.0</address>
                   <port>3155</port>
                   <time-to-live>100</time-to-live>
              </multicast-listener>
         </cluster-config>
         <configurable-cache-factory-config>
              <init-params>
                   <init-param>
                        <param-type>java.lang.String</param-type>
                        <param-value system-property="tangosol.coherence.cacheconfig">performance-coherence-config.xml
                        </param-value>
                   </init-param>
              </init-params>
         </configurable-cache-factory-config>
         <management-config>
              <managed-nodes>all</managed-nodes>
              <allow-remote-management>true</allow-remote-management>
         </management-config>
    </coherence>
    Server properties:
    -Dtangosol.coherence.management =all
    -Dtangosol.coherence.management.readonly =false

  • It takes a long time to open up documents on my Imac. I get the multicolor circle for a long time. I have 27 In Mid 2010 3.2 ghz Intel core I3 with 16 gb memory.

    It takes a long time to open up documents on my Imac. I get the multicolor circle for a long time. I have 27 In Mid 2010 3.2 ghz Intel core I3 with 16 gb memory.

    There are file hidden all around in your system.
    Go to Phil Stokes' info page, for a gerat uninstall primer.

  • Have been using Lightroom on my Apple computer for years. Now, ever since upgrading to Apple's  Yosemite operating system I get an error message (150:30) every time I try to open a lightroom file. Has anyone else experienced this problem?  Also how do I s

    Have been using Lightroom on my Apple computer for years. Now, ever since upgrading to Apple's  Yosemite operating system I get an error message (150:30) every time I try to open a lightroom file. Has anyone else experienced this problem?  Also how do I subscribe to Adobe's Premium Support? Every time I've tried (through contact support) I just get taken on an unending loop.

    I think we need a lot more information.
    Exactly what does the message say?
    Exactly what files are you trying to open?
    Exactly how are you trying to open them (what menu command or button or mouse action or keyboard shortcut)?
    And lastly, what version of Lightroom are you using?

  • So I have an iPad 2 for two years. Has never been dropped or in water or damaged in any way....now the volume is distorted and I get booted off the web all the time. Plus it shows and no service in top left corner. Any one have these issues?

    So I got is iPad as a gift and the same issues I had with my iPhone 4S is also happening with my iPad. Will Apple cover the problem as it lies within there updates or something. All I know I have taken perfect care of both products and volume is distorted. Can't listen to music, I get booted off the web all the time, I can't even chat with Apple icare it won't work and no service shows on top left corner. What is wrong with Apple products? I'm thinking it's time to switch! I've had to change my iPhone twice now......first time for mic not working and then camera shutter kept sticking. Same on my iPad........ I don't want to pay to get this fixed as it's not my fault this is happening...... It's software apparently?

    This really is starting to feel like a hardware issue than a software one.
    Especially if hearing noises when you connecting up your iPad for charging.
    Something happened to your iPad that has nothing to do with a software update.
    This is why I recommend that
    I can't help you any farther.
    It sounds as if you really need to take this iPad in for a repair.
    Since you are reluctant to do this, there is nothing more I can suggest to you.
    Good Luck on whatever you decide to do.

  • Alert Resolution Time - Get statistics on how long it takes before a specific alert is closed

    Hi,
    Is there a report or a script that can give me the time it takes before a specified  alert(s) is created untill it is closed in scom 2012 r2?
    What I would call resolution time.
    Would be very handy for benchmarking our Event Management. I've got the Veeam Extended Library Reports, but I can not find a solution there.
    Thanks in advance, Best Regards

    Hi,
    We need to use SQL query to get the time when the alert created, and the time when the alert closed from database.
    With in the database, the below table store all information for alert:
    [OperationsManager]
    .[dbo].[Alert]
    The table includes Timeraised and Timeresolved for alerts.
    Please try Roger's suggestion.
    Regards,
    Yan Li
    Regards, Yan Li

Maybe you are looking for