簡介
本文檔介紹在Cisco IM and Presence(IM&P)節點上出現重複使用者警報時要執行的示例和過程。
必要條件
需求
思科建議您瞭解以下主題:
- Cisco IM and Presence Service(IM&P)伺服器
採用元件
本文件所述內容不限於特定軟體和硬體版本。
本文中的資訊是根據特定實驗室環境內的裝置所建立。文中使用到的所有裝置皆從已清除(預設)的組態來啟動。如果您的網路運作中,請確保您瞭解任何指令可能造成的影響。
背景資訊
重複使用者警報通常顯示如下。
Monitoring Automation
Additional comments•05-21-2021 09:12:19
Created by: ALE4855981
Message key: ENTER024::APP_LXT_ENTER024_33f00f5388443c6e24801bce325255711c2bb4a475076ba004ac48df6664deb9
Additional Comments: Timestamp: 2021-05-21 13:12:46
Device:
IP address: Not Supported
Component: Not Supported
Severity: 3
Event Name: APP_LXT_MAJOR
Event SourceNode: ENTER024-LXT1
Message: LayerX.Alarms(10.10.10.10) LayerX ALERT_QUEUE table 0x0000033D 0 204
Custom Message: Alarm ID: 51111 (DuplicateUserid) : Event Message: (%[AlertName=SyslogSeverityMatchFound][AlertDetail= At Fri May 21 08:11:00 CDT 2021 on node impPub.ciscolab.com, the following SyslogSeverityMatchFound events generated: #012SeverityMatch : Alert#012MatchedEvent : May 21 08:10:24 impPub local7 1 : 62: impPub.ciscolab.com: May 21 2021 13:10:24.476 UTC : %UC_ReplWatcher-1-DuplicateUserid: %[AppID=Cisco IM and Presence Data Monitor][ClusterID=][NodeID=impPub]: Cisco IM and Presence Data Monitor has detected that two or more users on the system share the same UserID value.#012AppID : Cisco Syslog Agent#012ClusterID : #012NodeID : impPub#012 TimeStamp : Fri May 21 08:10:24 CDT 2021][AppID=Cisco AMC Service][ClusterID=][NodeID=cucmPub]: RTMT Alert
注意:《Cisco IM&P配置指南》僅提到了識別重複使用者的單一方法。 但是,在某些情況下,utils uservalidate all命令不會顯示任何資訊或顯示空輸出。
疑難排解
對於這些情況,建議採取以下步驟:
步驟1.登入到IM&P的管理網頁(GUI),然後導航至System Troubleshooter頁籤。
步驟2.如果在此找到任何重複的使用者條目,您可以注意到上述使用者的使用者ID。
步驟3.請注意使用者ID,並返回到IM&P命令列介面(CLI)
步驟4.執行命令:
運行sql select * from enduser where enduser.userid='_user_ID'
系統列印可以為該特定使用者找到的所有條目(在本例中,使用者ID為"user92")
admin:run sql select * from enduser where enduser.userid='user92'
pkid userid xcp_user_id tkuserlocale imaddress xep106imaddress directoryuri mailid status fkdirectorypluginconfig deletedtimestamp passwordreverse tkuserprofile tkassignmentstate ocsprimaryuseraddress fkucccmcipprofile tkphonepresence primarynodeid xep106userid xep106mailid auth_pwd login_stamp logout_stamp auth_count pwd_stamp last_status fkucserviceprofile enablecalendarpresence enablecups discoveryuseridentity
==================================== ======= =========== ============ =================== =================== =================== =================== ====== ==================================== ================ ================================================================ ============= ================= ======================= ================= =============== ============= ============ =================== ======== =========== ============ ========== ========== =========== ================== ====================== ========== =====================
633780c3-182b-153a-654a-6d073c2248ac user92 11412 1 user92@ciscolab.com user92@ciscolab.com user92@ciscolab.com user92@ciscolab.com 1 b5acd3a6-5ac2-055b-cf27-ba4f818533d6 NULL aeef2675d3e72b6fbee00a9badf5d944aa016e0a7a302ac9704b79180f63f21e 1 0 sip:user92@ciscolab.com NULL NULL NULL user92 user92@ciscolab.com 0 2020-05-06 NULL t t
3a15e537-db7c-4b1f-8ff2-1daf5c5d4a05 user92 35283 1 user92@ciscolab.com user92@ciscolab.com user92@ciscolab.com 1 NULL NULL NULL d0d177e67ddc687c526364580c9d0c6ce9b0fb47dc51fed3ced90807105d9de9 100 1 NULL NULL 2802 user92 user92@ciscolab.com 0 2020-07-23 NULL f f
在這種情況下,您會看到該特定使用者的兩個條目。
若要清除這些專案,請執行以下步驟:
步驟1.執行命令:
從enduser運行sql delete,其中enduser.userid='user_ID'
步驟2.導航到CUCM Administration頁面> User Management > End User > Select the duplicated user and bounce(uncheck & then re-check)the user's Home Node Cluster覈取方塊,以便為同一使用者建立單個條目
步驟3.最後一次運行此查詢以驗證是否只顯示該使用者的單個條目:
運行sql select * from enduser where enduser.userid='your user ID'
admin:run sql select * from enduser where enduser.userid='user92'
pkid userid xcp_user_id tkuserlocale imaddress xep106imaddress directoryuri mailid status fkdirectorypluginconfig deletedtimestamp passwordreverse tkuserprofile tkassignmentstate ocsprimaryuseraddress fkucccmcipprofile tkphonepresence primarynodeid xep106userid xep106mailid auth_pwd login_stamp logout_stamp auth_count pwd_stamp last_status fkucserviceprofile enablecalendarpresence enablecups discoveryuseridentity
==================================== ======= =========== ============ =================== =================== =================== =================== ====== ==================================== ================ ================================================================ ============= ================= ======================= ================= =============== ============= ============ =================== ======== =========== ============ ========== ========== =========== ================== ====================== ========== =====================
633780c3-182b-153a-654a-6d073c2248ac user92 11412 1 user92@ciscolab.com user92@ciscolab.com user92@ciscolab.com user92@ciscolab.com 1 b5acd3a6-5ac2-055b-cf27-ba4f818533d6 NULL aeef2675d3e72b6fbee00a9badf5d944aa016e0a7a302ac9704b79180f63f21e 1 0 sip:user92@ciscolab.com NULL NULL NULL user92 user92@ciscolab.com 0 2020-05-06 NULL t t