<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to associate an AppUser with thousands of devices in Management</title>
    <link>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3571643#M2277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Per the Data Dictionary 'newid()' is the default value for the field, so it looks like you can omit it and the database rules will make sure it is present.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Dec 2015 15:54:56 GMT</pubDate>
    <dc:creator>dstaudt</dc:creator>
    <dc:date>2015-12-02T15:54:56Z</dc:date>
    <item>
      <title>How to associate an AppUser with thousands of devices</title>
      <link>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3571634#M2268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using AXL addAppUser to add an AppUser for UCCE systems. This AppUser has over 5500 controlled devices + device profiles. From the AXL logs, I can see UCM tried to update this appUser account with each associated device one by one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2015-11-19 11:56:23,632 DEBUG [http-bio-443-exec-180345] axlapiservice.AddAppUserHandler - select pkid from device where my_lower(name) = my_lower('SEP5067AE2505EB')&lt;/P&gt;&lt;P&gt;2015-11-19 11:56:23,634 DEBUG [http-bio-443-exec-180345] axlapiservice.Handler - insert into applicationuserdevicemap ( tkUserAssociation,fkDevice,pkid,fkApplicationUser ) values ( '1','ed3e2faf-27ef-c16e-454a-1a70fb1d1593','7c82905c-131e-35f5-dcab-79d31c0248f3','ca7f4383-9bc2-aaf5-ee0f-a77d3cd5c85c' )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is, tons of DBL Change Notification sitting in the queue. When there's other change happening con-currently, this AXL request will fail with the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2015-11-19 11:47:57,177 DEBUG [http-bio-443-exec-180331] filters.ThrottlingFilter - DBLCNQueue Count: 3048&lt;/P&gt;&lt;P&gt;2015-11-19 11:47:57,177 WARN&amp;nbsp; [http-bio-443-exec-180331] filters.ThrottlingFilter - AXL Unavailable due to throttling&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So wondering, is there other better way to get this done using AXL?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Charlie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 13:43:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3571634#M2268</guid>
      <dc:creator>chazhang</dc:creator>
      <dc:date>2015-11-20T13:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to associate thousands of devices with an appUser</title>
      <link>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3571635#M2269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Yes - just smash them in with a SQL query via AXL.&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 14:41:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3571635#M2269</guid>
      <dc:creator>Aaron Harrison</dc:creator>
      <dc:date>2015-11-20T14:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to associate thousands of devices with an appUser</title>
      <link>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3571636#M2270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The CUCM database includes triggers that will perform tasks, like sending change notifications to the runtime parts of CUCM, on certain operations, like associating users to devices, on any change (whether from the admin UI, AX, or direct SQL manipulation) so inserting 5500 rows into the appUser-&amp;gt;device mapping table in one go would likely still trigger a large number of change notifications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you performing an addAppUser with a giant associatedDevices list, or how are you attempting to get the 5500 devices associated?&amp;nbsp; If so, one possible workaround might be to do the addAppUser with no associated devices, and then use executeSqlUpdate (via the applicationuserdevicemap table) to add groups of devices over a period of time, say 100 devices every X seconds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 15:10:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3571636#M2270</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2015-11-20T15:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to associate thousands of devices with an appUser</title>
      <link>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3571637#M2271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys. Not confident at using SQL insert statement to update DB directly. I guess the statement could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;insert into applicationuserdevicemap (fkapplicationuser, fkdevice, tkuserassociation) select au.pkid, d.pkid, 1 from applicationuser au cross join device d where au.name = 'ipcc' and d.name in ('SEPXXXXXXX', 'SEPYYYYYY', 'SEPZZZZZZ', ...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct me, or let me know if there's some way to fine-tune this SQL statement to make it more efficient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Charlie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 12:57:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3571637#M2271</guid>
      <dc:creator>chazhang</dc:creator>
      <dc:date>2015-11-24T12:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to associate thousands of devices with an appUser</title>
      <link>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3571638#M2272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your ultimate goal here?&amp;nbsp; Do you want the application users to be able to have CTI control over the 5500 devices? There's a much easier way to do that, if so. If not, can you share the goal?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 19:30:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3571638#M2272</guid>
      <dc:creator>npetrele</dc:creator>
      <dc:date>2015-11-24T19:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to associate thousands of devices with an appUser</title>
      <link>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3571639#M2273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As this AppUser is for PG, it needs to be associated to all agent phones and device profiles. So yes, I '&lt;SPAN style="color: #3d3d3d; font-family: arial; font-size: 12px;"&gt;want the application users to be able to have CTI control over the 5500 devices&lt;/SPAN&gt;'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 19:40:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3571639#M2273</guid>
      <dc:creator>chazhang</dc:creator>
      <dc:date>2015-11-24T19:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to associate an AppUser with thousands of devices</title>
      <link>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3571640#M2274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can add the AppUser to the group "Standard CTI Allow Control of All Devices" and that should do the trick.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 20:09:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3571640#M2274</guid>
      <dc:creator>npetrele</dc:creator>
      <dc:date>2015-11-24T20:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to associate an AppUser with thousands of devices</title>
      <link>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3571641#M2275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note the 'CTI Allow Control of All Devices' will only work if the CTI application user the 'super provider' feature set to dynamically add devices to its control list (not sure if PG supports that.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is a one time config, then the CUCM Bulk Administration Tool (BAT) may be an option - it allows you to configure bulk user/device associations by submitting a CSV/spreadsheet file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To insert a row into the applicationuserdevicemap table to create an association, the basic form is like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;insert into applicationuserdevicemap (pkid,description,fkapplicationuser,fkdevice,tkuserassociation) values (newid(),'','02743a27-7f8e-8968-95bf-a26e39fbeda0','1de50417-2f0a-3ef0-8969-eb7b7aaadb58',1);&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to insert multiple rows with one request, you can submit multiple commands separated by semi-colons, e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;lt;soapenv:Envelope xmlns:soapenv="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.xmlsoap.org/soap/envelope/" rel="nofollow" target="_blank"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;&lt;SPAN&gt;" xmlns:ns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.cisco.com/AXL/API/10.5" rel="nofollow" target="_blank"&gt;http://www.cisco.com/AXL/API/10.5&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;soapenv:Header/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;soapenv:Body&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ns:executeSQLUpdate&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sql&amp;gt;insert into applicationuserdevicemap (pkid,description,fkapplicationuser,fkdevice,tkuserassociation) values (newid(),'','02743a27-7f8e-8968-95bf-a26e39fbeda0','1de50417-2f0a-3ef0-8969-eb7b7aaadb58',1);&lt;/P&gt;
&lt;P&gt;insert into applicationuserdevicemap (pkid,description,fkapplicationuser,fkdevice,tkuserassociation) values (newid(),'','6a30e7ea-d30d-2956-7cfc-7b73499f18c7','7d65fcf4-678b-64e3-0c3b-d0c04cc1fc32',1);&lt;/P&gt;
&lt;P&gt;&amp;lt;/sql&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ns:executeSQLUpdate&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/soapenv:Body&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/soapenv:Envelope&amp;gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 23:59:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3571641#M2275</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2015-12-01T23:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to associate an AppUser with thousands of devices</title>
      <link>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3571642#M2276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much appreciated the reply. One more question if you don't mind, do we have to use 'newid()' when inserting the row? I checked on my lab serves, without newid(), Informix does generate the new pkid for each new row.. So newid() is just a best practice, or mandatory? Curious whether it will cause something wrong if we don't use newid().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Charlie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 09:20:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3571642#M2276</guid>
      <dc:creator>chazhang</dc:creator>
      <dc:date>2015-12-02T09:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to associate an AppUser with thousands of devices</title>
      <link>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3571643#M2277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Per the Data Dictionary 'newid()' is the default value for the field, so it looks like you can omit it and the database rules will make sure it is present.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 15:54:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3571643#M2277</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2015-12-02T15:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to associate an AppUser with thousands of devices</title>
      <link>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3571644#M2278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't know if you solve this issue, but here is php script that i made for bulk adding or removing devices from&amp;nbsp; AppUser in CUCM. If anyone need it , here it is : &lt;A href="https://github.com/moki74/cucm-appuser-devices" title="https://github.com/moki74/cucm-appuser-devices"&gt;GitHub - moki74/cucm-appuser-devices&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Oct 2017 15:32:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3571644#M2278</guid>
      <dc:creator>igormo</dc:creator>
      <dc:date>2017-10-14T15:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to associate an AppUser with thousands of devices</title>
      <link>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3699633#M2961</link>
      <description>&lt;P&gt;Hi Igormo,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am giving your script a test but I always get the error message below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"PHP Fatal error: Uncaught error: Class 'SoapClient' not found in C:\Users\test\cucm-appuser-devices\cucmappuser.php:25&lt;/P&gt;
&lt;P&gt;Stack trave:&lt;/P&gt;
&lt;P&gt;#0 {main}&lt;/P&gt;
&lt;P&gt;&amp;nbsp; thrown in C:\Users\test\cucm-appuser-devices\cucmappuser.php on line 25&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried it against a 10.5 couster &amp;amp; 11.5 cluster by downloading AXL toolkit from 11.5 and creating new folder as per instructions&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you know any rason I am getting this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks in advance&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 09:58:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-associate-an-appuser-with-thousands-of-devices/m-p/3699633#M2961</guid>
      <dc:creator>rchaseling</dc:creator>
      <dc:date>2018-09-03T09:58:26Z</dc:date>
    </item>
  </channel>
</rss>

