Explore CUCM database

Hi,
I would like know if it's possible to read the CUCM's Database ,such as for the UCCX's database.
If it's possible, where I can find the documentation for created this connection.
Thanks ahead.
Michel

Hi Aaron,
Thank you for your reply.
So I've used the AXL request for created a script for collect Directory Numbers and the Calling Search Space. In my lab environement my script running fine but in production I cannot collect the Calling Search Space. I've checked if the user has the same right  --> Ok.
When I create my file, the field  for the Calling Search Space is always "Null".
I've only one difference, the Framework DOT.Net is different. On the lab environment I've the Framework 3.5 and on the production environment I've the Framework 4.0
Do you have any idea for resolve my issue?
Thanks in advance,
Michel

Similar Messages

  • CUCM Database Query

    We are in need of cross referencing or somehow consolidating our End User fields (user ID, Controlled Devices, and Primary Extension) with our phone DN fields (Directory Number, Associated Devices, and Line Text Label). I'm thinking the best way to go about this is through a SQL query but I'm just not familiar enough with the syntax or the CUCM database schema to get anything useful. There are a number of reasons we want this information:
    1. We sync with LDAP and want to be sure that the Line Text Label field not only exists but also matches the LDAP synced User ID field.
    2. Some end users have physical phones however do not have them assigned under Controlled Devices in End User configuration.
    3. Some end users do not have the Primary Extension assigned to them under End User configuration or it is incorrect.
    4. We want to verify that the Telephone Number field pulled from LDAP matches up with the users actual DN.
    Thank you!
    Michael M.

    Under CUCM documentation, look for the Data Dictionary. Near the end there are a few pages where they show the relationships for some basic/core scenarios. (e.g. users, lines & devices)
    Just be careful with the User<>Device association: There are multiple ways a user can be associated to a device!
    You can either run SQL queries from the CUCM Command line ("run sql SELECT description FROM device WHERE name='SEP112233445566') or via AXL (A SOAP based API used to wrap SQL queries)
    GTG

  • CUCM Database Replication Status MIB

    Hi Guys,
    Can you please help me whether we could monitor CCM database replication status through SNMP MIB or OID..
    Also please guide me in how to configure SNMP traps for the MIBS??
    Regards,
    Indrajith PC

    Hi,
    please take a look at the CUCM serviceability guide:
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/service/9_0/admin/CUCM_BK_C136FE37_00_cisco-unified-serviceability-administration-90/CUCM_BK_C136FE37_00_cisco-unified-serviceability-administration-guide_preface_00.html
    I'm afraid there's no trap generated when DB replication issues occur, so you might want to do periodic polling.
    The above referenced document contains some basic information which MIB's may be interesting to you and how to get them.
    Personally, I would download and register them all, and then just walk the whole tree and cherrypick ;-)
    G.

  • How to create a database for sample code from Tutorial/Book?

    I want to try out the sample code from [http://shop.oreilly.com/product/0636920013471.do] for the book SQL Pocket Guide 3rd Ed.
    I have downloaded the oracle vm/appliance for oracle 11g2 and I have started sqlplus as sysdba.
    I'm feeling overwhelmed with these links describing how to create a database:
    [http://www.adp-gmbh.ch/ora/admin/creatingdbmanually.html]
    [http://tldp.org/HOWTO/Oracle-7-HOWTO-3.html]
    [http://www.adp-gmbh.ch/ora/admin/creatingdbmanually.html]
    (1) What is the command to list the existing databases?
    (2) What is the command to delete an existing database?
    (3) When creating a new database with the create database command, is it necessary to specify the logfile, character set, national character set, datafile, sysaux datafile, undo tablespace, temp table space? Do these have reasonable defaults? I'm not sure what proper directories are to specify for Linux and the examples are for windows.
    Can someone give me a simplified create database command to create a database called 3rdEdPocketGuide? Should I follow the example at [http://tldp.org/HOWTO/Oracle-7-HOWTO-3.html] and instead of orcl use 3rdEdPocketGuide?
    (4) What command do I use to execute the script that comes with the book SQL Pocket Guide 3rd Ed? This is the script that has all the drop table, create table and insert commands in it.
    (5) What command do I use in sqlplus to set the current default database prior to running this script? Perhaps this is the connect command? I don't want my script to create tables in the system database.
    (6) I tried the command "connect 3rdEdPocketGuide" and it prompted for a password! Yikes! What password? Do I need to specify a password when I create a database? I cannot tell if I have successfully created such a database or it is just prompting me for a password to thwart malicious users. Is it is possible to create databases which don't require a password or maybe a zero length password?
    Thanks
    Siegfried
    Edited by: user8816970 on Sep 26, 2012 12:01 PM
    Edited by: user8816970 on Sep 26, 2012 12:18 PM

    user8816970 wrote:
    Paul,
    Thanks! I tried changing my profile name to siegfried but I'm not seeing the change...
    Anyway, I'm trying your suggestion to use SQL Developer which was already installed in the virtual box appliance and I cannot figure out how to get a connection.
    When I use the defaults of sid=xe, port=1521, hostname=localhost and specify
    username=sysdba
    password=
    I get status: failure - test failed: listener refursed connection with the following error: ORA 12505, TNS: listener does not current know of sid given.
    So I try sid=orcl and that works better: status: failure - test failed: ORA-01017: invalid username/passowrd; login denied
    OK, sqlplus let me in with out a password, why does not this work?
    So I try checking the box for "OS Authentication" and I get the same error!
    Hoek: I tried searching the documentation and found "3 Exploring Oracle Database with SQL Developer" at http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/toc.htm but following those directions did not help. Can you be more specific? The directions were for a tutorial and I need to know what the passwords are for the database set up with [http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html|http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html] . I also found [http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/tdddg_connecting.htm#CEGHFHIG|http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/tdddg_connecting.htm#CEGHFHIG] but that did not help either.
    Everyone:
    Do I need to create a user using SQL*Plus first so I can login with "Oracle SQL Developer" so I create my database called? What would be the "create user" command I would execute?
    OK, so I run sqlplus and issue these commands
    create user siegfried identified by abc ;
    grant connect to siegfried ;
    connect siegfried/abc;
    Now, how do I create a database? In Microsoft SQL Server one has to create a database first and if you just start creating tables without creating a database first, the tables will be created in the system database and this is usually undesirable.
    Sometimes a database is known in the java connection string as the catalog. Is there any such analog in oracle SQL plus?
    So now what do I do? I want to create a bunch of tables using my script I downloaded from 3rd Ed SQL Pocket Guide. Does my new user "siegfried" have the right to create tables? I guess I could try but I don't want to create tables in the system database.
    I noticed I can also use "Oracle SQL Developer" to connect with my new "siegfried" account. It seems that I should have been able to connect with sysdba... strange.
    So now I am connected in the "Oracle SQL Developer" and I see no list of databases.
    Thanks!
    Siegfried
    >Paul,
    Thanks! I tried changing my profile name to siegfried but I'm not seeing the change...
    Anyway, I'm trying your suggestion to use SQL Developer which was already installed in the virtual box appliance and I cannot figure out how to get a connection.
    When I use the defaults of sid=xe, port=1521, hostname=localhost and specify
    username=sysdba
    password=
    I get status: failure - test failed: listener refursed connection with the following error: ORA 12505, TNS: listener does not current know of sid given.
    So I try sid=orcl and that works better: status: failure - test failed: ORA-01017: invalid username/passowrd; login denied
    OK, sqlplus let me in with out a password, why does not this work?
    So I try checking the box for "OS Authentication" and I get the same error!
    Hoek: I tried searching the documentation and found "3 Exploring Oracle Database with SQL Developer" at http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/toc.htm but following those directions did not help. Can you be more specific? The directions were for a tutorial and I need to know what the passwords are for the database set up with [http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html|http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html] . I also found [http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/tdddg_connecting.htm#CEGHFHIG|http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/tdddg_connecting.htm#CEGHFHIG] but that did not help either.
    Everyone:
    Do I need to create a user using SQL*Plus first so I can login with "Oracle SQL Developer" so I create my database called? What would be the "create user" command I would execute?
    OK, so I run sqlplus and issue these commands
    create user siegfried identified by abc ;
    grant connect to siegfried ;
    connect siegfried/abc;
    above does NOT use SQL*Net to connect to the instance
    >
    Now, how do I create a database? In Microsoft SQL Server one has to create a database first and if you just start creating tables without creating a database first, the tables will be created in the system database and this is usually undesirable.
    Sometimes a database is known in the java connection string as the catalog. Is there any such analog in oracle SQL plus?
    So now what do I do? I want to create a bunch of tables using my script I downloaded from 3rd Ed SQL Pocket Guide. Does my new user "siegfried" have the right to create tables? I guess I could try but I don't want to create tables in the system database.
    I noticed I can also use "Oracle SQL Developer" to connect with my new "siegfried" account. It seems that I should have been able to connect with sysdba... strange.
    So now I am connected in the "Oracle SQL Developer" and I see no list of databases.SQL Developer can only connect to the instance via SQL*Net
    >
    Thanks!
    Siegfrieda database in SQL Server is same as schema/user in Oracle

  • CUCM DB access

    Trying to get access to the CUCM database (we have version 10.5) to be able to run custom reports.
    We currently have a linked server in SQL Management Studio for UCCX with an Informix ODBC driver set up as a system DSN... Is there a similar way of doing this but with CUCM?
    Unable to find anything online
    Help would be appreciated

    No, we only provide AXL or run sql from CLI

  • Bulk phone import and export CUCM 8.5

    In preparation for a migration to CUCM 9.1.2 we need to update the owner ID field on around 7000 phones. The only way to do this through the bulk admin tool is to export phone all details, update the field and then re import all the phones. The export generates a .txt file. If I open this as an csv in excel it automatically chooses the column data types which messes with the number fields by stripping off leading 0s. If I try and import the data Excel says there are too many columns. How have others been able to work with the phone all details export?

    If there is a Cisco utility to do this I would be greatful. To be honest I'm getting rather annoyed with this process. So far I've ran into these 2 bugs:
    https://tools.cisco.com/bugsearch/bug/CSCsu97248
    https://tools.cisco.com/bugsearch/bug/CSCtl87980
    One of my colleagues has a created a script that goes through the exported file and fixes up the service parameters so we got around these. I piloted re-importing a couple of hundred devices and few spat out sql/db connection errors. I then tried to update another 400 phones the next night and although the validation goes fine, when I try and import i'm faced witha Memory allocation error:
    sql.SQLException: Memory allocation failed during query processing.
    I know this is most likely specific to our CUCM environment and we will be doing a restart tonight to hopefully resolve the issue (the TAC engineer suggested restarting the DB service). However it just seems like one issue after another to do a fairly simple task. The whole process of having to import every field on every phone to update one field is rediculous. I have a list of phone IDs and a list of users, why isn't there a way to define a custom file format and use the update option rather than having to re-insert all details?
    This blogger wrote a cURL AXL script to pretty much do what I'm suggesting:
    http://pandaeatsbamboo.blogspot.hk/2014/01/shell-script-to-update-device-user.html
    However I have no prior experience with working with the CUCM Database via SQL and if anything goes wrong I would be stuffed.

  • Meaning of ";1" beside table name in Field Explorer

    Hi,
    We  can see the data source such as table name in Field Explorer under "Database Fields". Now what does it mean if there is something like this in the table name: "TableName;1" what does ";1" mean?
    Thanks,
    Edited by: MKhair on Jun 17, 2011 6:45 PM

    It means the table has been joined in twice.
    When you try to add a database table in twice it has to be aliased with a new name. Crystal will give the second instance the default alias of tablename_1. If you did it again it would be tablename_2.
    If you want a more user friendly alias, go to database expert double click name and the over write as required.
    Ian

  • Upgrade cucm 4.1(3) to 7.1(2) using dma - import failed

    Hi every body,
    I have cucm 4.1(3) and I want to upgrade to 7.1(2).
    I used DMA to export the cucm database and the DMA result is : Validation = Success with Warnings
    DMA has generate the lic file : "licupgrade.lic"
    I created the answer file to install cucm automatically with a new hostname, administrator login and password : "platformConfig"
    During the cucm installation, the software has detected the usb drive that contains all files but the dma import failed.
    I have the following error message : "file retrieval failed for unknown reason"
    I have seen that I can :
    * trie to change the file name of the .tar file
    * trie to use FTP with 3CDEAMON
    * use SFTP or FTP
    But it never works, it still have the issue.
    Does someone have an idea ?
    Thank you

    Hi Alain. I did this same deployment on last October.
    First the DMA Sucess with warnings have nothing to do with the unretrieval of the file. When i had this message it meant that the users, translation patterns and some route patterns could not be exported in my case. What i did was to BAT the translation patterns and users on the 4.1 and then Bulk Them on the 7 version. The router patterns had to be added manually btw.
    Now back to your real issue, also happened to me. I normally use the Windows Xp FTP installed from the Control-Panel-Add Programs- Add remove windows componnents- . Its actually very simple, the trick is to add the slash to the directory field.
    And all you need to add is the information like this.
    Directory: \
    Username: anonymous
    password: anonymous:[email protected]   (x.x.x.x = your ip)
    You can also use JScape Secure FTP Server, which is the one i normally use to do the backups over the SFTP feature.
    Try the windows FTP and tell me how it went.

  • Irrelevant id's under 'Database Fields' for BW query

    Hi all,
    I am new to Crystal reports and have a problem.
    I installed Crystal Reports 2008 and as integration kit (with BW), i installed 3.1 version.
    I am trying to connect a bw query to the Crystal Reports.
    Now i can connect a bw query, but in 'Fields Explorer' under 'Database Fields' i can not see proper names. I have already selected 'show description ' setting.
    There are items like, Cube creation time, cube type, data update time etc.. and for key figures, there are lots of items that starts with M~[Measures].....
    Some of my collegues have the same version and it is working just fine. So I wonder, what is wrong with mine.
    What can be the problem?
    Thanks
    Ozan

    Settings button can be found in the SAP toolbar.
    Also in Menu bar, you can see 'Settings' under SAP menu.
    By the way, integration kit has to be installed beforehand.

  • Update hadrware resources for CUCM in UCS

    Hello all,
    We have CUCM 8.6 running in UCS.
    The ova file used before installing CUCM 8.6 on UCS was for less number of resources ( 1xvCPU, 1x80GB, 4GB RAM ).
    I need to increase resources of VM, so instead of 1=vCPU & 1x80GB, 4GB RAM i want 2 vCPU and 2 x 80 GB, 6GBM RAM.
    If i increase the number of vCPU, RAM & HD from vSphere Client manually, what is the risk in CUCM database, will it effect or it will be safe ?
    Is there any way to upgrade the ova file in running VM instead of building new VM with new OVA file ?
    Kindly help.
    Regards,

    Hello bernhardczapp,
    We were upgrading CUCM 8.6 to 10.5 but unfortunately it failed with an error saying there is no disk space available, we opened case wtih cisco & we were advised to perform following tasks to free disk space:
    Clear the logs is from RTMT tool, download the old log/traces and delete them from the server with this process:
    1)      Login to RTMT
    2)      Go to Trace & log central
    3)      Select Collect File
    4)      Select All service checkbox and All server checkbox, click next.
    5)      Select a period of time. Select all the time frame for the logs that you do not need anymore, example from January until July. (Also there is a drop down so you can clear the ones from the inactive partition.)
    6)      Select the Delete file Checkbox.
    7)      Click finish
    We followed procedure & after 8 hours it made 6495 MB space free. Before was 36444MB & after process 29949MB.
    Reason i mentioned about new ova file for CUCM 10.5 is that while creating VM i will have option to select 7,500 users (this will give me 2x80GB, 2xvCPU, 1x6GB RAM)
    I will try installing your suggested cop files & will update you. Do i need to restart Servers after cop file installation ?
    But if you have alternate solution please share.
    Kind Regards

  • Forms 10g login to XE database

    Hi
    I have installed XE database followed by the 10g development suite. I have unlocked the hr account and am able to do the following.
    I can access the database through SQL*PLUS and can connect using Reports10g.
    I can also use SQL Developer to explore the database.
    The problem comes when I try and connnect through forms using the same default hr login. The error returned is ORA-12532 TNS:invalid argument.
    Tnsnames is:-
    XE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = XE)
    Any help.
    Thanks.

    Hi
    All sorted now.
    Mcafee personal firewall+ had oracle forms builder blocked. Gave it full access and can now connect, create and run a form.
    Regards and all the best to you all.
    Phil

  • CUCM replication

    Hi i want to replicate the subscriber across a wan link to create a redundant solution for my workplace can someone please indicate what is the minimum bandwidth required also is there a way to do replication only at night take inconsederation that it will only be a backup device incase the main pub and sub has failed or lost connection in the cloud currently we have ver 8.5 and is going to upgradeto vver 9.1 in about 2 to 3 months Thanx Benny Botha

    Hi Guillaume,
    Please check the following related post
    https://supportforums.cisco.com/discussion/12166391/cucm-database-replication-status-mib
    Looks like it is not possible.
    HTH
    Manish

  • CUCM Replication SNMP

    Hi,
    i wondered how to check replication betweek publisher and subscriber via a request SNMP ...
    Thanks for your replies !
    Best regards,
    Guillaume

    Hi Guillaume,
    Please check the following related post
    https://supportforums.cisco.com/discussion/12166391/cucm-database-replication-status-mib
    Looks like it is not possible.
    HTH
    Manish

  • Fresh Install of UCCE 9.0 - Issue

    Get error following  when starting the Configuration Manager on AW  on a fresh install of UCCE 9.0 :
     Unable to intiailze real time feed for instance ICM1. Unable to proceed until realtime can be established.

    Okay lets start over....
    If you dumped the clgr process from the logger, I'm sure you're going to run into a lot of errors. So in your case...
    cdlog icm1 la
    dumplog clgr /o
    You can type in clgr.txt from the next command to open the dumplog. Can you post that log file? I'm sure it's littered with errors. 
    The next you should check is your Web setup. I had this exact issue back in September during an upgrade and my issue was due to the fact that I entered in the incorrect hostname for the Central Controller Connectivity. So lets step through this...
    Log into Web Setup on the Rogger
    Click on Instance Management and confirm that the Facility and Instance are correct, in addition to the Instance Number which in all likely hood is 0. This of course is assuming that you successfully went ran the domain manager tool. 
    Under Component Management, click on Routers
    Deployment page: Fault Tolerance Mode: Duplexed
    Router Connectivity page: Confirm that the hostname you are entering for the Private and Public interfaces do in fact exist as DNS records, or at the very least, exist as a entry in the local host file. 
    Enable PG page: Enter the number range for the PGs
    Router Options page: Make sure Enable Database Routing box is checked
    Under Component Management, Click on Loggers
    Deployment page: Fault Tolerance Mode: Duplexed
    Central Controller Connectivity: Be absolutely positive that you are entering in the hostnames for your Rogger that corresponds to your Private network. For instance, DallasRoggerAPrv. Again, these hostnames should have DNS records or at the very least be an entry within the local host file.
    Additional Options page: Check the box for Enable Historical/Detail Data Replication
    Log into your AW-HDS server and launch Web Setup
    Click on Instance Management and confirm that the Facility and Instance are correct, in addition to the Instance Number which in all likely hood is 0. This of course is assuming that you successfully went ran the domain manager tool. 
    Under Component Managent, click Administration & Data Server
    Deployment size page: I'm sure you'll want to select Small to Medium
    Role page: Select what fits your business needs. I always seem to select the first option
    Administration & Data Server Connectivity page: For Primary and Secondary Admin & Data Server, put in the same hostname for whatever local server you are on. For the Primary/Secondary Pair Name, this will come into affect when you setup your CUCM PGs and will be defined in PG Explorer.
    Database and Options: Select what fits your business needs here. 
    Central Controller Connectivity page: This is the page where I made my mistake in September and entered in the wrong hostnames. So take it from me, be absolutely certain that you enter in the correct hostnames for Side A and Side B here. Also, enter in the domain name suffix for Central Controller Domain Name, this should have been defined in Domain Manager tool.
    Cycle services and then try to Initialize the database on the AW-HDS again

  • Error while running the financial report in the workspace.

    Hi,
    Im getting the below error while running the financial report in the workspace in HTML mode.
    *"Required application module reporting.HRRunDlg is not configured. Please contact your administrator".*
    And im not able to login to the Hyperion Financial Reporting as well.. i get the below error
    *"You are not authorized to use this functionality. Contact your administrator"*
    Can someone let me know how to resolve this error.

    You don't mention the version, what app server or web server you are using, etc.. That information might be helpful, but in general, you can try the following:
    1. Make sure you have gone through the FR Web App deployment steps and verify the settings entered in the Config Tool.
    2. For version 11.1.1.x and 9.3.1.x, try opening the report in FR Studio and running it via the FR Studio Print Preview (*bold*not*bold* Web Preview.) If the report runs/processes, then the back-end FR Services are functioning and the issue is confined to the web interface. Verify the FR Web App is up and listening on the designated port (8200, by default), check the FR Web App logs and the App Server (WebLogic, WebSphere, Tomcat, OAS) logs for errors/issues.
    If the report fails to process in FR Studio Print Preview, then there is a problem with the FR Reporting Server Service. Check to make sure the service is up/functioning and check the FR Report Server logs for errors.
    3. Test access to other FR functionality in workspace (ex: Files->Preferences->Financial Reporting or Explore->Tools->Database Connection Manager?) If these don't work, then try to connect to the following URLs:
    http://workspaceServer:19000/hr/status.jsp
    http://frWebAppServer:8200/hr/status.jsp
    Note: The URLs above assume standard/default ports. You may need to adjust them for your environment.
    If the first URL fails, but the second URL works, there is a problem with the HTTP redirect settings on the Web Server (Apache, IIS, etc.) Run through the Workspace deployment and make sure the Web Server Config settings point to the right ports/servers.

Maybe you are looking for