Search | Register | Login 
CMShell > Discussion
Nederlands English
HomeHomeCMShellCMShellGeneralGeneralCM85 - -Realtime not workingCM85 - -Realtime not working
Previous
 
Next
New Post
9/21/2011 8:26 AM
 
Hi All,
On a CUCM 8.5 installation I am trying to retrieve realtime information with the following code:
$CM | Get-CMPhone –Include @{ name="SEP*" } -Realtime

This command seems to hang. I left it running for more than 6 hours today, without the -Realtime option it runs in seconds. Our CUCM cluster only has 300 phones.

I have tried:
CMShell_1.5.0.27873 and
CMShell_1.5.1

Thanks,
Aaron
 
New Post
9/21/2011 11:28 AM
 

Hi Aaron,

To troubleshoot this problem we would like to ask you to try and retrieve a single registered phone with realtime information included. Could you report back to us if this works?

Did you make sure the "Cisco RIS Data Collector"-service is activated and running on the host you are connecting to?

Sincerely,

Foxnet Helpdesk

 
New Post
9/22/2011 12:11 AM
 
Hi Helpdesk,
A single phone returns no realtime data.
PS C:\> $CM | Get-CMPhone -Name 'SEP40F4ECEE98CE' -Realtime

Name Description DevicePool Product Protocol Status IPAddress
---- ----------- ---------- ------- -------- ------ ---------
SEP40F4ECEE98CE Robina HO Phone HO Cisco 7945 SCCP Not Found

This phone is alive and working. Yes the RIS service is running on all hosts in the cluster.

Thanks,
Aaron
 
New Post
9/22/2011 10:30 AM
 

Hi Aaron,

Based on the description of your problem we have reproduced a situation in our lab where a request for 300 phones with realtime information will never return. This is a specific situation where more than 200 devices are requested and the RIS-Data request repeatedly fails. We will fix this bug in the next release.

Since a request for realtime information of a single phone also fails, we assume that the RIS-Data-Service on your cluster is not functioning as expected.

To further troubleshoot this problem we would like to ask you to inspect the SOAP-communication that occurs between CMShell and the host using the "SOAP-Monitor", a web-service that is deployed on your host. You can find this service here:

https://<Host Name or IP>:8443/realtimeservice/SOAPMonitor.html 

If requested to login, you can do so using the same credentials as used for the CUCM administration pages.

If you now perform the same request for a single phone with realtime information again, a SOAP-request and SOAP-response should be logged for the Target-Service "RisPort". We would like you to report back to us with both messages.

Be aware that Cisco warns against use of the "SOAP-Monitor" on a production system to avoid performance impact. Alternatively you could use the Cisco RTMT or Cisco CLI to retrieve these messages from the logs.

Sincerely,

Foxnet Helpdesk

 
New Post
9/23/2011 1:18 AM
 
Hi Helpdesk,
I performed the request again, with the SOAPMonitor HTTPS interface running and no log entries were produced. In fact the only entry I have in my SOAPMonitor is the occasional query of the Timezone service.

So I dug a little deeper. When making the request via CMShell:
I can see the AXL request come in and the response returned: "file tail activelog /tomcat/logs/axl/log4j/axl00006.log"
But there is nothing related in: "file tail activelog cm/trace/ris/sdi/ris00000141.txt"
When I say nothing related, I see a few PerfmonRequests and PerfmonQueries but nothing related to our query.

It is like CMShell is unable to communicate with the Realtime Service, is there any extra logging I can turn on client side?

Thanks,
Aaron
 
Previous
 
Next
HomeHomeCMShellCMShellGeneralGeneralCM85 - -Realtime not workingCM85 - -Realtime not working


Privacy Statement
Foxnet BV 2011