此产品的文档集力求使用非歧视性语言。在本文档集中,非歧视性语言是指不隐含针对年龄、残障、性别、种族身份、族群身份、性取向、社会经济地位和交叉性的歧视的语言。由于产品软件的用户界面中使用的硬编码语言、基于 RFP 文档使用的语言或引用的第三方产品使用的语言,文档中可能无法确保完全使用非歧视性语言。 深入了解思科如何使用包容性语言。
思科采用人工翻译与机器翻译相结合的方式将此文档翻译成不同语言,希望全球的用户都能通过各自的语言得到支持性的内容。 请注意:即使是最好的机器翻译,其准确度也不及专业翻译人员的水平。 Cisco Systems, Inc. 对于翻译的准确性不承担任何责任,并建议您总是参考英文原始文档(已提供链接)。
本文档介绍跨集群分机移动的多次登录行为服务参数之一的更改。
本文档没有任何特定的要求。
本文档中的信息基于以下软件和硬件版本:
本文档中的信息都是基于特定实验室环境中的设备编写的。本文档中使用的所有设备最初均采用原始(默认)配置。如果您的网络处于活动状态,请确保您了解所有命令的潜在影响。
Extension Mobility:它允许用户从同一集群中的另一台思科IP电话临时访问其思科IP电话配置(快速拨号、线路外观)。
跨群集分机移动:此功能允许一个Cisco Unified Communication Manager(CUCM)集群(通常称为主集群)的用户登录另一个CUCM集群(称为访问集群)的Cisco IP电话,就像他们在主站点使用IP电话一样。
存在服务参数集群内多重登录行为(System > Service Parameter,然后选择呼叫管理器和分机移动作为服务)。此参数用于控制分机移动的多次登录。有效值为:
用户可以同时登录多个电话。
如果用户登录其中一部电话,他将无法登录另一部电话。
如果用户登录到一部电话,然后尝试登录另一部电话,则登录将在第二部电话上成功,并且将从第一部电话注销。
对于EMCC公司而言,没有这种行为。始终允许多次登录,并且管理员没有控制它的选项。
现在,在EMCC中,我们还可以灵活地控制多次登录。有一个名为Multiple Login Behavior(System > Service Parameter,然后选择呼叫管理器和分机移动作为服务)的新服务参数,这有助于我们实现此目标。其值与以前相同:
注意:在主集群上应用的服务参数配置设置会实施且不访问集群。
示例场景:多个登录行为参数设置为“主群集上不允许多次登录”和“访问群集上允许多次登录”。
如果登录到访问群集,然后尝试再次登录到访问群集上的另一部电话,因此,在这种情况下,此参数不允许登录,因为该参数在主群集上设置为Multiple Logins Not Allowed。
服务参数如下所示:
在分机移动服务日志中,您可以在此处看到参数:
2019-01-26 10:55:59,109 INFO [Thread-68 ] ServiceParameters - -------------Begin Service Parameters ---------------- 2019-01-26 10:55:59,109 INFO [Thread-68 ] ServiceParameters - Max Duration Enabled = false 2019-01-26 10:55:59,109 INFO [Thread-68 ] ServiceParameters - Intra-Cluster Max Login Duration String = 0 2019-01-26 10:55:59,109 INFO [Thread-68 ] ServiceParameters - Inter-cluster Max Login Duration String = 10:00 2019-01-26 10:55:59,109 INFO [Thread-68 ] ServiceParameters - Multi Login Policy = multiOK 2019-01-26 10:55:59,109 INFO [Thread-68 ] ServiceParameters - Max Concurrent Sessions = 15 2019-01-26 10:55:59,109 INFO [Thread-68 ] ServiceParameters - Is IP Check Enabled = false 2019-01-26 10:55:59,110 INFO [Thread-68 ] ServiceParameters - Trusted IP List = 2019-01-26 10:55:59,110 INFO [Thread-68 ] ServiceParameters - EM Device Cache Size = 10000 2019-01-26 10:55:59,110 INFO [Thread-68 ] ServiceParameters - Allow Proxy = false 2019-01-26 10:55:59,110 INFO [Thread-68 ] ServiceParameters - EMCC Allow Proxy = true 2019-01-26 10:55:59,110 INFO [Thread-68 ] ServiceParameters - -------------- End Service Parameters ----------------
服务参数如下所示:
在分机移动服务日志中,您可以将其视为参数:
2019-01-24 22:12:15,916 INFO [Thread-68 ] ServiceParameters - -------------Begin Service Parameters ---------------- 2019-01-24 22:12:15,916 INFO [Thread-68 ] ServiceParameters - Max Duration Enabled = false 2019-01-24 22:12:15,916 INFO [Thread-68 ] ServiceParameters - Intra-Cluster Max Login Duration String = 0 2019-01-24 22:12:15,916 INFO [Thread-68 ] ServiceParameters - Inter-cluster Max Login Duration String = 10:00 2019-01-24 22:12:15,916 INFO [Thread-68 ] ServiceParameters - Multi Login Policy = noLogin 2019-01-24 22:12:15,916 INFO [Thread-68 ] ServiceParameters - Max Concurrent Sessions = 15 2019-01-24 22:12:15,916 INFO [Thread-68 ] ServiceParameters - Is IP Check Enabled = false 2019-01-24 22:12:15,916 INFO [Thread-68 ] ServiceParameters - Trusted IP List = 2019-01-24 22:12:15,916 INFO [Thread-68 ] ServiceParameters - EM Device Cache Size = 10000 2019-01-24 22:12:15,917 INFO [Thread-68 ] ServiceParameters - Allow Proxy = false 2019-01-24 22:12:15,917 INFO [Thread-68 ] ServiceParameters - EMCC Allow Proxy = true 2019-01-24 22:12:15,917 INFO [Thread-68 ] ServiceParameters - -------------- End Service Parameters ----------------
错误的打印方式如下:
2019-01-26 10:54:45,661 ERROR [http-bio-8443-exec-19] EMServiceServlet - 110: LoginService: Dev: test2- Error# 25-com.cisco.emservice.MyException: Policy Violation: com.cisco.emservice.PolicyValidatorException: Not allowed to log into multiple devices. 2019-01-26 10:54:45,661 INFO [http-bio-8443-exec-19] EMServiceServlet - 110:Request succeeded returning<response> <failure> <error code="25">Policy Violation: com.cisco.emservice.PolicyValidatorException: Not allowed to log into multiple devices. </error> </failure> </response>
在电话上,出现此错误。
服务参数如下所示:
在分机移动服务日志中,您可以将其视为参数:
2019-01-26 10:57:30,641 INFO [Thread-68 ] ServiceParameters - -------------Begin Service Parameters ---------------- 2019-01-26 10:57:30,641 INFO [Thread-68 ] ServiceParameters - Max Duration Enabled = false 2019-01-26 10:57:30,641 INFO [Thread-68 ] ServiceParameters - Intra-Cluster Max Login Duration String = 0 2019-01-26 10:57:30,641 INFO [Thread-68 ] ServiceParameters - Inter-cluster Max Login Duration String = 10:00 2019-01-26 10:57:30,641 INFO [Thread-68 ] ServiceParameters - Multi Login Policy = autoLogout 2019-01-26 10:57:30,641 INFO [Thread-68 ] ServiceParameters - Max Concurrent Sessions = 15 2019-01-26 10:57:30,641 INFO [Thread-68 ] ServiceParameters - Is IP Check Enabled = false 2019-01-26 10:57:30,641 INFO [Thread-68 ] ServiceParameters - Trusted IP List = 2019-01-26 10:57:30,641 INFO [Thread-68 ] ServiceParameters - EM Device Cache Size = 10000 2019-01-26 10:57:30,641 INFO [Thread-68 ] ServiceParameters - Allow Proxy = false 2019-01-26 10:57:30,641 INFO [Thread-68 ] ServiceParameters - EMCC Allow Proxy = true 2019-01-26 10:57:30,641 INFO [Thread-68 ] ServiceParameters - -------------- End Service Parameters ----------------
主集群
在EM服务日志中:
首次从电话(SEPF8A5C59E1126)请求登录
2019-01-26 13:45:36,635 DEBUG [http-bio-8443-exec-1] EmccSaxHandler - EMURI = http%3A%2F%2F10.106.125.174%3A8080%2Femapp%2FEMAppServlet%3Fdevice%3DSEPF8A5C59E1126%26doLogout%3Dtrue 2019-01-26 13:45:36,637 DEBUG [http-bio-8443-exec-1] EMServiceServlet - 101: Parse Complete 2019-01-26 13:45:36,637 INFO [http-bio-8443-exec-1] EMServiceServlet - 101: Setting remoteIPAddr to connection IP=10.106.125.174 2019-01-26 13:45:36,637 INFO [http-bio-8443-exec-1] EMServiceServlet - 101 : 137 : atbabu: processEmccRequest: Received EMCC Home Cluster Login Request for :rak 2019-01-26 13:45:36,637 INFO [http-bio-8443-exec-1] EMServiceServlet - 101 : 137 : DeviceSecurityMode: 1 HomeCluster SecurityMode: 0 2019-01-26 13:45:36,637 INFO [http-bio-8443-exec-1] EMServiceServlet - 101: authenticate pin for rak 2019-01-26 13:45:36,650 INFO [http-bio-8443-exec-1] EMServiceServlet - 101 : 137 : atbabu: EmccHomeLogin : Performing Home Device Login for :rak 2019-01-26 13:45:36,650 INFO [http-bio-8443-exec-1] EmccData - 101: getRemoteClusterInfo: Pkid for cluster atbabu is d23ef9ea-8392-dbbf-61db-1d9e1d505243 2019-01-26 13:45:36,650 DEBUG [http-bio-8443-exec-1] EmccData - 101: getRemoteClusterInfo: Hostname = 10.106.125.174 2019-01-26 13:45:36,650 INFO [http-bio-8443-exec-1] Authenticator - 101:Authenticator.userExists: UserID: rak- Calling cmdb.isLocalUser(osUserID)... 2019-01-26 13:45:36,650 DEBUG [http-bio-8443-exec-1] CMDatabase - Userid being passed to the query is rak 2019-01-26 13:45:36,651 DEBUG [http-bio-8443-exec-1] CMDatabase - CMDatabase.isLocalUser() : SELECT islocaluser FROM EndUser WHERE my_lower(userid)= my_lower(?) : parameter ( 'rak' ) 2019-01-26 13:45:36,655 DEBUG [http-bio-8443-exec-1] CMDatabase - PKID for the ROW is 2019-01-26 13:45:36,655 DEBUG [http-bio-8443-exec-1] CMDatabase - CMDatabase.isLocalUser() : isLocaluser : true 2019-01-26 13:45:36,656 DEBUG [http-bio-8443-exec-1] CMDatabase - is Local user value :true 2019-01-26 13:45:36,656 INFO [http-bio-8443-exec-1] Authenticator - 101:Authenticator.userExists: UserID: rak- cmdb.isLocalUser(osUserID) returned 2019-01-26 13:45:36,656 DEBUG [http-bio-8443-exec-1] EMServiceServlet - 101: 137: atbabu: performHomeDeviceLogin for deviceName: SEPF8A5C59E1126 2019-01-26 13:45:36,656 INFO [http-bio-8443-exec-1] EMServiceServlet - 101: computeLoginDuration: Device: SEPF8A5C59E1126 EMCC Request: true EM API Request: false Duration Requested through EM API: -1 2019-01-26 13:45:36,658 INFO [http-bio-8443-exec-1] CMDatabase - CMDatabase.getEndUserEmMaxLoginTime() : SELECT EmMaxLoginTime FROM EndUser WHERE userid=? : parameters ( 'rak') 2019-01-26 13:45:36,659 INFO [http-bio-8443-exec-1] EMServiceServlet - Effective Login Duration :36000 seconds 2019-01-26 13:45:36,659 DEBUG [http-bio-8443-exec-1] DBRequestor - 101 : 137 : atbabu: performHomeDeviceLogin: Exceuting Stored Procedure:
从第二部电话请求同一用户
2019-01-26 13:45:56,442 DEBUG [http-bio-8443-exec-8] EmccSaxHandler - EMURI = http%3A%2F%2F10.106.125.174%3A8080%2Femapp%2FEMAppServlet%3Fdevice%3DSEPB000B4BA01F1%26doLogout%3Dtrue 2019-01-26 13:45:56,442 DEBUG [http-bio-8443-exec-8] EMServiceServlet - 103: Parse Complete 2019-01-26 13:45:56,445 INFO [http-bio-8443-exec-8] EMServiceServlet - 103: Setting remoteIPAddr to connection IP=10.106.125.174 2019-01-26 13:45:56,445 INFO [http-bio-8443-exec-8] EMServiceServlet - 103 : 139 : atbabu: processEmccRequest: Received EMCC Home Cluster Login Request for :rak 2019-01-26 13:45:56,445 INFO [http-bio-8443-exec-8] EMServiceServlet - 103 : 139 : DeviceSecurityMode: 1 HomeCluster SecurityMode: 0 2019-01-26 13:45:56,445 INFO [http-bio-8443-exec-8] EMServiceServlet - 103: authenticate pin for rak 2019-01-26 13:45:56,469 INFO [http-bio-8443-exec-8] EMServiceServlet - 103 : 139 : atbabu: EmccHomeLogin : Performing Home Device Login for :rak 2019-01-26 13:45:56,469 INFO [http-bio-8443-exec-8] EmccData - 103: getRemoteClusterInfo: Pkid for cluster atbabu is d23ef9ea-8392-dbbf-61db-1d9e1d505243 2019-01-26 13:45:56,470 DEBUG [http-bio-8443-exec-8] EmccData - 103: getRemoteClusterInfo: Hostname = 10.106.125.174 2019-01-26 13:45:56,470 INFO [http-bio-8443-exec-8] Authenticator - 103:Authenticator.userExists: UserID: rak- Calling cmdb.isLocalUser(osUserID)... 2019-01-26 13:45:56,470 DEBUG [http-bio-8443-exec-8] CMDatabase - Userid being passed to the query is rak 2019-01-26 13:45:56,470 DEBUG [http-bio-8443-exec-8] CMDatabase - CMDatabase.isLocalUser() : SELECT islocaluser FROM EndUser WHERE my_lower(userid)= my_lower(?) : parameter ( 'rak' ) 2019-01-26 13:45:56,476 DEBUG [http-bio-8443-exec-8] CMDatabase - PKID for the ROW is 2019-01-26 13:45:56,477 DEBUG [http-bio-8443-exec-8] CMDatabase - CMDatabase.isLocalUser() : isLocaluser : true 2019-01-26 13:45:56,478 DEBUG [http-bio-8443-exec-8] CMDatabase - is Local user value :true 2019-01-26 13:45:56,478 INFO [http-bio-8443-exec-8] Authenticator - 103:Authenticator.userExists: UserID: rak- cmdb.isLocalUser(osUserID) returned 2019-01-26 13:45:56,478 DEBUG [http-bio-8443-exec-8] EMServiceServlet - 103: 139: atbabu: performHomeDeviceLogin for deviceName: SEPB000B4BA01F1 2019-01-26 13:45:56,478 INFO [http-bio-8443-exec-8] EMServiceServlet - 103: computeLoginDuration: Device: SEPB000B4BA01F1 EMCC Request: true EM API Request: false Duration Requested through EM API: -1 2019-01-26 13:45:56,482 INFO [http-bio-8443-exec-8] CMDatabase - CMDatabase.getEndUserEmMaxLoginTime() : SELECT EmMaxLoginTime FROM EndUser WHERE userid=? : parameters ( 'rak') 2019-01-26 13:45:56,485 INFO [http-bio-8443-exec-8] EMServiceServlet - Effective Login Duration :36000 seconds 2019-01-26 13:45:56,485 DEBUG [http-bio-8443-exec-8] DBRequestor - 103 : 139 : atbabu: performHomeDeviceLogin: Exceuting Stored Procedure:
访问集群
首次从电话(SEPF8A5C59E1126)请求登录
2019-01-26 13:45:46,786 DEBUG [mjunnur ] EmccCommunicator - 137: postMsg - Url = https://10.106.106.200:8443/emservice/EMServiceServlet m_iHttpsTimeout = 120000 2019-01-26 13:45:47,055 DEBUG [mjunnur ] EmccCommunicator - 137: Retrieved actual user from remote cluster : 'rak' 2019-01-26 13:45:47,056 DEBUG [mjunnur ] EmccCommunicator - 137: performCheckUser: Num of DP is : 1 2019-01-26 13:45:47,056 DEBUG [mjunnur ] CheckUserThread - 137: PerformCheckUser: Home Cluster for UserId: rak is :https://10.106.106.200:8443/emservice/EMServiceServlet 2019-01-26 13:45:47,056 DEBUG [http-bio-8443-exec-7] EmccData - 137: cacheUserToCluster for user: rak 2019-01-26 13:45:47,057 INFO [http-bio-8443-exec-7] EMServiceServlet - 137: EmccLoginRequest: Home Cluster URL for User:rak is : https://10.106.106.200:8443/emservice/EMServiceServlet 2019-01-26 13:45:47,057 INFO [http-bio-8443-exec-7] EMServiceServlet - 137: EmccLoginRequest: Device Profile for this user is: Prerna-EM 2019-01-26 13:45:47,057 DEBUG [http-bio-8443-exec-7] EMServiceServlet - 137:getEmccLoginInfo - SEPF8A5C59E1126 2019-01-26 13:45:47,057 DEBUG [http-bio-8443-exec-7] DBRequestor - 137: getEmccLoginInfo: Query = execute function getEmccLoginInfo('SEPF8A5C59E1126') 2019-01-26 13:45:47,131 DEBUG [http-bio-8443-exec-7] DBRequestor - 137: <VEMAPP>
从第二部电话请求同一用户
2019-01-26 13:46:06,784 DEBUG [mjunnur ] EmccCommunicator - 139: postMsg - Url = https://10.106.106.200:8443/emservice/EMServiceServlet m_iHttpsTimeout = 120000 2019-01-26 13:46:06,901 DEBUG [mjunnur ] EmccCommunicator - 139: Retrieved actual user from remote cluster : 'rak' 2019-01-26 13:46:06,902 DEBUG [mjunnur ] EmccCommunicator - 139: performCheckUser: Num of DP is : 1 2019-01-26 13:46:06,902 DEBUG [mjunnur ] CheckUserThread - 139: PerformCheckUser: Home Cluster for UserId: rak is :https://10.106.106.200:8443/emservice/EMServiceServlet 2019-01-26 13:46:06,902 DEBUG [http-bio-8443-exec-20] EmccData - 139: cacheUserToCluster for user: rak 2019-01-26 13:46:06,903 INFO [http-bio-8443-exec-20] EMServiceServlet - 139: EmccLoginRequest: Home Cluster URL for User:rak is : https://10.106.106.200:8443/emservice/EMServiceServlet 2019-01-26 13:46:06,903 INFO [http-bio-8443-exec-20] EMServiceServlet - 139: EmccLoginRequest: Device Profile for this user is: Prerna-EM 2019-01-26 13:46:06,903 DEBUG [http-bio-8443-exec-20] EMServiceServlet - 139:getEmccLoginInfo - SEPB000B4BA01F1 2019-01-26 13:46:06,903 DEBUG [http-bio-8443-exec-20] DBRequestor - 139: getEmccLoginInfo: Query = execute function getEmccLoginInfo('SEPB000B4BA01F1') 2019-01-26 13:46:06,909 DEBUG [http-bio-8443-exec-20] DBRequestor - 139: <VEMAPP>
登录成功
2019-01-26 13:46:07,143 INFO [http-bio-8443-exec-20] EMServiceServlet - 139: EmccLoginRequest: Performing Visiting Device Login for :rak 2019-01-26 13:46:07,144 INFO [http-bio-8443-exec-20] EMServiceServlet - 139:performVisitingDeviceLogin - SEPB000B4BA01F1 2019-01-26 13:46:07,144 DEBUG [http-bio-8443-exec-20] DBRequestor - 139: performVisitingDeviceLogin: Query: execute function visitingDeviceLogin('SEPB000B4BA01F1', 'mjunnur', 'http://10.106.125.174:8080/emapp/EMAppServlet?device=SEPB000B4BA01F1&doLogout=true', 'rak', '10.106.106.200', 'null', '10.106.106.200', 'null') 2019-01-26 13:46:07,166 DEBUG [http-bio-8443-exec-20] DBRequestor - 139: t 2019-01-26 13:46:07,167 DEBUG [http-bio-8443-exec-20] EMServiceServlet - 139: EmccLoginRequest: Result: <?xml version="1.0"?> <response> <success/> </response>
主集群
请求第一个用户
2019-01-26 14:34:43,093 INFO [http-bio-8443-exec-16] EMServiceServlet - 109 : 142 : atbabu: processEmccRequest: Received EMCC Home Cluster Login Request for :rak 2019-01-26 14:34:43,093 INFO [http-bio-8443-exec-16] EMServiceServlet - 109 : 142 : DeviceSecurityMode: 1 HomeCluster SecurityMode: 0 2019-01-26 14:34:43,093 INFO [http-bio-8443-exec-16] EMServiceServlet - 109: authenticate pin for rak 2019-01-26 14:34:43,112 INFO [http-bio-8443-exec-16] EMServiceServlet - 109 : 142 : atbabu: EmccHomeLogin : Performing Home Device Login for :rak 2019-01-26 14:34:43,112 INFO [http-bio-8443-exec-16] EmccData - 109: getRemoteClusterInfo: Pkid for cluster atbabu is d23ef9ea-8392-dbbf-61db-1d9e1d505243 2019-01-26 14:34:43,112 DEBUG [http-bio-8443-exec-16] EmccData - 109: getRemoteClusterInfo: Hostname = 10.106.125.174 2019-01-26 14:34:43,112 INFO [http-bio-8443-exec-16] Authenticator - 109:Authenticator.userExists: UserID: rak- Calling cmdb.isLocalUser(osUserID)... 2019-01-26 14:34:43,112 DEBUG [http-bio-8443-exec-16] CMDatabase - Userid being passed to the query is rak 2019-01-26 14:34:43,113 DEBUG [http-bio-8443-exec-16] CMDatabase - CMDatabase.isLocalUser() : SELECT islocaluser FROM EndUser WHERE my_lower(userid)= my_lower(?) : parameter ( 'rak' ) 2019-01-26 14:34:43,119 DEBUG [http-bio-8443-exec-16] CMDatabase - PKID for the ROW is 2019-01-26 14:34:43,119 DEBUG [http-bio-8443-exec-16] CMDatabase - CMDatabase.isLocalUser() : isLocaluser : true 2019-01-26 14:34:43,119 DEBUG [http-bio-8443-exec-16] CMDatabase - is Local user value :true 2019-01-26 14:34:43,120 INFO [http-bio-8443-exec-16] Authenticator - 109:Authenticator.userExists: UserID: rak- cmdb.isLocalUser(osUserID) returned 2019-01-26 14:34:43,120 DEBUG [http-bio-8443-exec-16] CMDatabase - Userid being passed to the query is rak 2019-01-26 14:34:43,122 INFO [http-bio-8443-exec-16] CMDatabase - CMDatabase:getLoggedInDeviceNames: query=SELECT decode(d.tkclass,249,emcd.devicename,d.name) name FROM Device d left outer join emccdynamic emcd on d.pkid = emcd.fkdevice INNER JOIN extensionmobilitydynamic emd ON d.pkid=emd.fkdevice AND emd.fkenduser= ? AND emd.logintime is NOT NULL AND D.tkDeviceProfile=0 : parameter ( '952a2d32-14e5-fd43-d192-742c4a50d5ab' ) 2019-01-26 14:34:43,129 DEBUG [http-bio-8443-exec-16] EMServiceServlet - 109: 142: atbabu: performHomeDeviceLogin for deviceName: SEPF8A5C59E1126
第二次不允许使用同一用户。
2019-01-26 14:38:05,841 ERROR [http-bio-8443-exec-12] EMServiceServlet - 111: Not allowed to log into multiple devices. 2019-01-26 14:38:05,841 INFO [http-bio-8443-exec-12] EMServiceServlet - 111: EmccRequest Processing Time: 38 2019-01-26 14:38:05,842 ERROR [http-bio-8443-exec-12] EMServiceServlet - 111: Error processing EMCC request :com.cisco.emservice.PolicyValidatorException: Not allowed to log into multiple devices. 2019-01-26 14:38:05,842 DEBUG [http-bio-8443-exec-12] EMServiceServlet - 111: EMCC: Decrement Counter 2019-01-26 14:38:05,842 INFO [http-bio-8443-exec-12] Counters - 111: Counters -->111,31,4,18,0,0,0,15,3,0,33,0,71,3,0
访问集群
2019-01-26 14:34:53,341 DEBUG [mjunnur ] EmccCommunicator - 142: postMsg - Url = https://10.106.106.200:8443/emservice/EMServiceServlet m_iHttpsTimeout = 120000 2019-01-26 14:34:53,558 DEBUG [mjunnur ] EmccCommunicator - 142: Retrieved actual user from remote cluster : 'rak' 2019-01-26 14:34:53,558 DEBUG [mjunnur ] EmccCommunicator - 142: performCheckUser: Num of DP is : 1 2019-01-26 14:34:53,558 DEBUG [mjunnur ] CheckUserThread - 142: PerformCheckUser: Home Cluster for UserId: rak is :https://10.106.106.200:8443/emservice/EMServiceServlet 2019-01-26 14:34:53,559 DEBUG [http-bio-8443-exec-16] EmccData - 142: cacheUserToCluster for user: rak 2019-01-26 14:34:53,560 INFO [http-bio-8443-exec-16] EMServiceServlet - 142: EmccLoginRequest: Home Cluster URL for User:rak is : https://10.106.106.200:8443/emservice/EMServiceServlet 2019-01-26 14:34:53,560 INFO [http-bio-8443-exec-16] EMServiceServlet - 142: EmccLoginRequest: Device Profile for this user is: Prerna-EM 2019-01-26 14:34:53,560 DEBUG [http-bio-8443-exec-16] EMServiceServlet - 142:getEmccLoginInfo - SEPF8A5C59E1126 2019-01-26 14:34:53,560 DEBUG [http-bio-8443-exec-16] DBRequestor - 142: getEmccLoginInfo: Query = execute function getEmccLoginInfo('SEPF8A5C59E1126') 2019-01-26 14:34:53,576 DEBUG [http-bio-8443-exec-16] DBRequestor - 142: <VEMAPP>
登录成功.
2019-01-26 14:34:53,822 DEBUG [http-bio-8443-exec-16] EMServiceServlet - 142: EmccLoginRequest: Result: <?xml version="1.0"?> <response> <success/> </response>
请求从第二部电话登录。
2019-01-26 14:38:16,081 DEBUG [mjunnur ] EmccCommunicator - 145: postMsg - Url = https://10.106.106.200:8443/emservice/EMServiceServlet m_iHttpsTimeout = 120000 2019-01-26 14:38:16,287 DEBUG [mjunnur ] EmccCommunicator - 145: Retrieved actual user from remote cluster : 'rak' 2019-01-26 14:38:16,288 DEBUG [mjunnur ] EmccCommunicator - 145: performCheckUser: Num of DP is : 1 2019-01-26 14:38:16,288 DEBUG [mjunnur ] CheckUserThread - 145: PerformCheckUser: Home Cluster for UserId: rak is :https://10.106.106.200:8443/emservice/EMServiceServlet 2019-01-26 14:38:16,290 DEBUG [http-bio-8443-exec-2] EmccData - 145: cacheUserToCluster for user: rak 2019-01-26 14:38:16,291 INFO [http-bio-8443-exec-2] EMServiceServlet - 145: EmccLoginRequest: Home Cluster URL for User:rak is : https://10.106.106.200:8443/emservice/EMServiceServlet 2019-01-26 14:38:16,291 INFO [http-bio-8443-exec-2] EMServiceServlet - 145: EmccLoginRequest: Device Profile for this user is: Prerna-EM 2019-01-26 14:38:16,291 DEBUG [http-bio-8443-exec-2] EMServiceServlet - 145:getEmccLoginInfo - SEPB000B4BA01F1 2019-01-26 14:38:16,292 DEBUG [http-bio-8443-exec-2] DBRequestor - 145: getEmccLoginInfo: Query = execute function getEmccLoginInfo('SEPB000B4BA01F1') 2019-01-26 14:38:16,328 DEBUG [http-bio-8443-exec-2] DBRequestor - 145: <VEMAPP>
不允许第二个用户登录。
2019-01-26 14:38:16,449 DEBUG [http-bio-8443-exec-2] EmccCommunicator - 145: parseHomeLoginResponse 2019-01-26 14:38:16,452 ERROR [http-bio-8443-exec-2] EmccCommunicator - 145: handleEmccErrorResponse - 25: Not allowed to log into multiple devices. 2019-01-26 14:38:16,452 ERROR [http-bio-8443-exec-2] EMServiceServlet - 145: Not allowed to log into multiple devices. 2019-01-26 14:38:16,452 INFO [http-bio-8443-exec-2] EMServiceServlet - 145: EmccRequest Processing Time: 438 2019-01-26 14:38:16,453 ERROR [http-bio-8443-exec-2] EMServiceServlet - 145: Error processing EMCC request :com.cisco.emservice.MyException: Not allowed to log into multiple devices. 2019-01-26 14:38:16,453 DEBUG [http-bio-8443-exec-2] EMServiceServlet - 145: EMCC: Decrement Counter 2019-01-26 14:38:16,453 INFO [http-bio-8443-exec-2] Counters - 145: Counters -->145,96,29,10,0,0,0,33,34,0,0,0,32,0,21
主群集
2019-01-26 15:24:47,080 INFO [Thread-6861 ] EmccVisitingLogoutThread - 117EmccLogoutThread: Logout Request sent to visitng cluster : https://10.106.125.176:8443/emservice/EMServiceServlet 2019-01-26 15:24:47,080 DEBUG [Thread-6861 ] EmccCommunicator - 117: performDoLogout 2019-01-26 15:24:47,080 DEBUG [Thread-6861 ] EmccCommunicator - 117: formVisitingLogoutXml : <emcc><visitingLogout><requestNum>117</requestNum><deviceName>SEPF8A5C59E1126</deviceName><clusterId>mjunnur</clusterId></visitingLogout></emcc> 2019-01-26 15:24:47,080 DEBUG [Thread-6861 ] EmccCommunicator - 117: postMsg - Url = https://10.106.125.176:8443/emservice/EMServiceServlet m_iHttpsTimeout = 0 2019-01-26 15:24:47,139 DEBUG [http-bio-8443-exec-12] DBRequestor - 117: t 2019-01-26 15:24:47,140 INFO [http-bio-8443-exec-12] LogoutScheduler - 117: LogoutScheduler.removeLogout(): Dev: SEPF8A5C59E1126- removed logout 2019-01-26 15:24:47,140 INFO [http-bio-8443-exec-12] DBRequestor - 117: DBRequestor.logoutDevName: Dev: SEPF8A5C59E1126- deviceLogout returned 2019-01-26 15:24:47,141 DEBUG [http-bio-8443-exec-12] EMServiceServlet - 117: 151: atbabu: performHomeDeviceLogin for deviceName: SEPB000B4BA01F1 2019-01-26 15:24:47,141 INFO [http-bio-8443-exec-12] EMServiceServlet - 117: computeLoginDuration: Device: SEPB000B4BA01F1 EMCC Request: true EM API Request: false Duration Requested through EM API: -1 2019-01-26 15:24:47,143 INFO [http-bio-8443-exec-12] CMDatabase - CMDatabase.getEndUserEmMaxLoginTime() : SELECT EmMaxLoginTime FROM EndUser WHERE userid=? : parameters ( 'rak') 2019-01-26 15:24:47,152 INFO [http-bio-8443-exec-12] EMServiceServlet - Effective Login Duration :36000 seconds
要配置EM,请参阅以下链接:
有关EMCC的完整配置,请参阅以下链接: