cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1885
Views
10
Helpful
8
Replies

Identify CUCM, Unity, IMP, CCX from CLI

the Q
Level 1
Level 1

I have a bunch of IP addresses and logins for UC servers, but I don't know what the servers are (CUCM, CCX, IMP, Unity, etc.).  I'd like to write a script to go out to each one, login, and run some command to tell me what the server is. 

To simplify the question, is there some command I can run at the CLI that tells me what kind of server (CUCM, CCX, IMP, Unity, etc.) I'm on? 

Like

"admin: show type-of-server"

I have the hostnames for some of them, but some are non-descriptive and I don't want to rely on an arbitrary name anyway. 

1 Accepted Solution

Accepted Solutions

Jaime Valencia
Cisco Employee
Cisco Employee

Probably the easiest way would be to run utils service list and just see what services the server has.

HTH

java

if this helps, please rate

View solution in original post

8 Replies 8

Jaime Valencia
Cisco Employee
Cisco Employee

Probably the easiest way would be to run utils service list and just see what services the server has.

HTH

java

if this helps, please rate

In addition to what Jaime has mentioned, you can also run show network cluster for version 9/10/11 for IMP and CUCM.

the output would tell u about "IP address" along with "hostnames" followed by below output

Subscriber cups DBPub authenticated
Publisher callmanager DBPub authenticated using TCP
Subscriber callmanager DBSub authenticated using TCP
Subscriber cups DBSub authenticated using TCP

regds,

aman

Once I get this script cranking away, that might be a good addition to it.  Thanks Aman.

That seems like it should work, but I'm not sure what to look for.  Which line would tell me? 

Here are some of the outputs: 

============================================Machine 1

admin:utils service list

Requesting service status, please wait...
System SSH [STARTED]
Cluster Manager [STARTED]
Name Service Cache [STARTED]
Entropy Monitoring Daemon [STARTED]
Cisco SCSI Watchdog [STARTED]
Service Manager [STARTED]
HTTPS Configuration Download [STARTED]
Service Manager is running
Getting list of all services
>> Return code = 0
A Cisco DB[STARTED]
A Cisco DB Replicator[STARTED]
Cisco AMC Service[STARTED]
Cisco AXL Web Service[STARTED]
Cisco Audit Event Service[STARTED]
Cisco CAR DB[STOPPED]  Commanded Out of Service
Cisco CAR Scheduler[STOPPED]  Commanded Out of Service
Cisco CDP[STARTED]
Cisco CDP Agent[STARTED]
Cisco CDR Agent[STARTED]
Cisco CDR Repository Manager[STOPPED]  Commanded Out of Service
Cisco CTIManager[STARTED]
Cisco CallManager[STARTED]
Cisco CallManager Admin[STARTED]
Cisco CallManager SNMP Service[STARTED]
Cisco CallManager Serviceability[STARTED]
Cisco CallManager Serviceability RTMT[STARTED]
Cisco Certificate Change Notification[STARTED]
Cisco Certificate Expiry Monitor[STARTED]
Cisco Change Credential Application[STARTED]
Cisco DRF Local[STARTED]
Cisco DRF Master[STOPPED]  Commanded Out of Service
Cisco Database Layer Monitor[STARTED]
Cisco Dialed Number Analyzer[STARTED]
Cisco Dialed Number Analyzer Server[STARTED]
Cisco Directory Number Alias Lookup[STARTED]
Cisco E911[STARTED]
Cisco ELM Client Service[STARTED]
Cisco Extended Functions[STARTED]
Cisco Extension Mobility[STARTED]
Cisco Extension Mobility Application[STARTED]
Cisco IP Voice Media Streaming App[STARTED]
Cisco License Manager[STOPPED]  Commanded Out of Service
Cisco Location Bandwidth Manager[STARTED]
Cisco Log Partition Monitoring Tool[STARTED]
Cisco Prime LM Admin[STARTED]
Cisco Prime LM DB[STARTED]
Cisco Prime LM Server[STARTED]
Cisco RIS Data Collector[STARTED]
Cisco RTMT Reporter Servlet[STARTED]
Cisco SOAP - CallRecord Service[STOPPED]  Commanded Out of Service
Cisco Serviceability Reporter[STARTED]
Cisco Syslog Agent[STARTED]
Cisco Tftp[STARTED]
Cisco Tomcat[STARTED]
Cisco Tomcat Stats Servlet[STARTED]
Cisco Trace Collection Service[STARTED]
Cisco Trace Collection Servlet[STARTED]
Cisco Trust Verification Service[STARTED]
Cisco UXL Web Service[STARTED]
Cisco User Data Services[STARTED]
Host Resources Agent[STARTED]
MIB2 Agent[STARTED]
Platform Administrative Web Service[STARTED]
SNMP Master Agent[STARTED]
SOAP - Diagnostic Portal Database Service[STARTED]
SOAP -Log Collection APIs[STARTED]
SOAP -Performance Monitoring APIs[STARTED]
SOAP -Real-Time Service APIs[STARTED]
System Application Agent[STARTED]
Cisco Bulk Provisioning Service[STOPPED]  Service Not Activated
Cisco CAR Web Service[STOPPED]  Service Not Activated
Cisco CTL Provider[STOPPED]  Service Not Activated
Cisco Certificate Authority Proxy Function[STOPPED]  Service Not Activated
Cisco DHCP Monitor Service[STOPPED]  Service Not Activated
Cisco DirSync[STOPPED]  Service Not Activated
Cisco Directory Number Alias Sync[STOPPED]  Service Not Activated
Cisco IP Manager Assistant[STOPPED]  Service Not Activated
Cisco Intercluster Lookup Service[STOPPED]  Service Not Activated
Cisco Prime LM Resource API[STOPPED]  Service Not Activated
Cisco Prime LM Resource Legacy API[STOPPED]  Service Not Activated
Cisco SOAP - CDRonDemand Service[STOPPED]  Service Not Activated
Cisco TAPS Service[STOPPED]  Service Not Activated
Cisco Unified Mobile Voice Access Service[STOPPED]  Service Not Activated
Cisco WebDialer Web Service[STOPPED]  Service Not Activated
Cisco Wireless Controller Synchronization Service[STOPPED]  Service Not Activated
Self Provisioning IVR[STOPPED]  Service Not Activated
Primary Node =false

admin:

============================================Machine 2

admin:utils service l
admin:utils service list

Requesting service status, please wait...
System SSH [STARTED]
Cluster Manager [STARTED]
Name Service Cache [STOPPED] Service Not Activated
Entropy Monitoring Daemon [STARTED]
Cisco SCSI Watchdog [STARTED]
Service Manager [STARTED]
Service Manager is running
Getting list of all services
>> Return code = 0
A Cisco DB[STARTED]
A Cisco DB Replicator[STARTED]
Cisco AMC Service[STARTED]
Cisco Audit Event Service[STARTED]
Cisco CDP[STARTED]
Cisco CDP Agent[STARTED]
Cisco CallManager Admin[STARTED]
Cisco CallManager Serviceability[STARTED]
Cisco CallManager Serviceability RTMT[STARTED]
Cisco Certificate Change Notification[STARTED]
Cisco Certificate Expiry Monitor[STARTED]
Cisco DRF Local[STARTED]
Cisco DRF Master[STARTED]
Cisco Database Layer Monitor[STARTED]
Cisco ELM Client Service[STARTED]
Cisco Log Partition Monitoring Tool[STARTED]
Cisco Prime LM Admin[STARTED]
Cisco Prime LM DB[STARTED]
Cisco Prime LM Server[STARTED]
Cisco RIS Data Collector[STARTED]
Cisco RTMT Reporter Servlet[STARTED]
Cisco Serviceability Reporter[STARTED]
Cisco Syslog Agent[STARTED]
Cisco Tomcat[STARTED]
Cisco Tomcat Stats Servlet[STARTED]
Cisco Trace Collection Service[STARTED]
Cisco Trace Collection Servlet[STARTED]
Connection Access Layer[STARTED]
Connection Administration[STARTED]
Connection CM Database Event Listener[STARTED]
Connection Conversation Manager[STARTED]
Connection DB[STARTED]
Connection DB Event Publisher[STARTED]
Connection Diagnostic Portal Service[STARTED]
Connection Directory Feeder[STARTED]
Connection File Syncer[STARTED]
Connection HTTPS Directory Feeder[STARTED]
Connection IMAP Server[STARTED]
Connection Inbox RSS Feed[STARTED]
Connection Integrated Mailbox Configuration[STARTED]
Connection Jetty[STARTED]
Connection License Manager Server[STARTED]
Connection Message Event Service[STARTED]
Connection Mixer[STARTED]
Connection Personal Communication Assistant[STARTED]
Connection REST Service[STARTED]
Connection Realtime Monitoring APIs[STARTED]
Connection Reports Data Harvester[STARTED]
Connection SMTP Server[STARTED]
Connection SNMP Agent[STARTED]
Connection Server Role Manager[STARTED]
Connection Serviceability[STARTED]
Connection System Agent[STARTED]
Connection Voice Mail Web Service[STARTED]
Connection Voice Recognition Transport[STARTED]
Connection Voice Recognizer[STARTED]
Host Resources Agent[STARTED]
MIB2 Agent[STARTED]
Platform Administrative Web Service[STARTED]
SNMP Master Agent[STARTED]
SOAP -Log Collection APIs[STARTED]
SOAP -Performance Monitoring APIs[STARTED]
SOAP -Real-Time Service APIs[STARTED]
System Application Agent[STARTED]
Cisco DirSync[STOPPED]  Service Not Activated
Cisco Prime LM Resource API[STOPPED]  Service Not Activated
Cisco Prime LM Resource Legacy API[STOPPED]  Service Not Activated
Connection Branch Sync Service[STOPPED]  Service Not Activated
Connection Database Proxy[STOPPED]  Service Not Activated
Connection Digital Networking Replication Agent[STOPPED]  Service Not Activated
Connection Exchange Notification Web Service[STOPPED]  Service Not Activated
Connection Groupware Caching Service[STOPPED]  Service Not Activated
Connection Mailbox Sync[STOPPED]  Service Not Activated
Connection Message Transfer Agent[STOPPED]  Service Not Activated
Connection Notifier[STOPPED]  Service Not Activated
Connection SpeechView Processor[STOPPED]  Service Not Activated
Primary Node =false

admin:

Thanks Jamie and Rob.  That should work after I figure out the identifier services.  I guess IMT, CUPS, CVP, CUSP, (and whatever else might be in there) should probably have identifiable services. 

Do you think there might be some list of the services to look for?  That would make this project a piece of cake. 

You can look for the following services to identify which application it is, i am mentioning just 2-3 services for each that are specific to the application although there are many more


CUCM:

Cisco CallManager
Cisco CallManager Admin

Unity Connection:

Connection Administration
Connection CM Database Event Listener
Connection Conversation Manager


IM&P / CUPS

Cisco IM and Presence Admin
Cisco IM and Presence Data Monitor


UCCX:

Cisco Unified CCX Administration
Cisco Unified CCX Cluster View Daemon

HTH

Manish

.
Fantastic!

I will be busy scripting this for a while now. 

Thank you.

Rob Huffman
Hall of Fame
Hall of Fame

Hi there,

Machine #1 - is running CUCM as shown by;

Cisco CallManager[STARTED]

Machine #2 - is running Unity Connection as shown by (and others);

Connection Conversation Manager[STARTED]

Cheers!

Rob

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: