语音和统一通信 : Cisco Unity Connection

Unity Connection在安全密码重置以后的复制问题

2016 年 10 月 24 日 - 机器翻译
其他版本: PDFpdf | 英语 (2015 年 8 月 22 日) | 反馈

简介

本文描述在也许中断在发布服务器和用户之间的复制的Unity Connection遇到的问题,在您重置安全密码并且提供解决方案对问题后。

有两个缺陷与本文涉及:Cisco Bug ID CSCth87452CSCua09290

贡献由斯科特小山, Cisco TAC工程师。

问题

在您重置安全密码为了解决问题后,复制不适当地设置。

如果输入从发行商的此命令您也许发现此输出:使用情况dbreplication runtimestate

                              PING
SERVER-NAME  IP ADDRESS     (msec)
-----------   ------------    ------
Cisco1       192.168.2.50     0.038
Cisco2       192.168.2.51     0.273

       CDR Server        REPL.   DBver&    REPL.   REPLICATION SETUP
RPC?  (ID) & STATUS   QUEUE   TABLES    LOOP?   (RTMT) & details
----    --------------    -----    -------   -----    -----------------
Yes    (2)  Connected   0       match     Yes     (2) PUB Setup Completed
Yes    (3)  Connected   0       match    N/A     (3) Not Setup

注意复制SETUP(RTMT) & Details列指示问题,因为不显示两个(2)。并且,如果输入文件视图activelog /cm/log/informix/ccm.log,输出也许显示:

10:04:02  Password Validation for user [dbmon] failed!
10:04:02  Check for password aging/account lock-out.
10:04:02  listener-thread: err = -952: oserr = 0: errstr =
dbmon@Cisco2.na.cisco.corp[Cisco2]: User (dbmon@Cisco2.na.cisco.corp[Cisco2])'s
password is not correct for the database server.

10:04:06  Password Validation for user [dbauditlog] failed!
10:04:06  Check for password aging/account lock-out.
10:04:06  listener-thread: err = -952: oserr = 0: errstr =
dbauditlog@Cisco2.na.cisco.corp[Cisco2]: User (dbauditlog@Cisco2.na.cisco.corp[Cisco2])'s
password is not correct for the database server.

10:04:06  Password Validation for user [dbdbl] failed!
10:04:06  Check for password aging/account lock-out.
10:04:06  listener-thread: err = -952: oserr = 0: errstr =
dbdbl@Cisco2.na.cisco.corp[Cisco2]: User (dbdbl@Cisco2.na.cisco.corp[Cisco2])'s
password is not correct for the database server.

10:04:07  Password Validation for user [dblpm] failed!
10:04:07  Check for password aging/account lock-out.
10:04:07  listener-thread: err = -952: oserr = 0: errstr =
dblpm@Cisco2.na.cisco.corp[Cisco2]: User (dblpm@Cisco2.na.cisco.corp[Cisco2])'s
password is not correct for the database server.

解决方案

最初,您可能发现数据库(DB)复制IS没设立在发布服务器和用户之间和此行为匹配Cisco Bug ID CSCth87452CSCua09290。不幸地,因为作为解决方案一部分,根访问权限要求, Cisco技术支持中心(TAC)是需要的为了解决问题。

完成这些步骤为了解决问题:

  1. 为了终止思科DB,请输入此命令:

    使用情况服务必须先停止思科DB

  2. 登陆到有一个远程支持帐户的服务器并且上传Python脚本。

    注意:TAC为以下步骤是需要的。



    获取SyncInformixPasswordsWithSystem.py并且放置它在安全FTP (SFTP)服务器。

    为了复制文件从SFTP到Unity Connection,请输入这些命令:

    cd /tmp <enter>

    sftp username@IPAdressSFTPServer <enter>

    get SyncInformixPasswordWithSystem.py <enter>

    bye <enter>


  3. 为了更改文件的访问权限,请输入此命令:  

     chmod 644 /tmp/SyncInformixPasswordsWithSystem.py


  4. 为了运行脚本,请执行此命令:

     python /tmp/SyncInformixPasswordsWithSystem.py


    输出应如下所示:

    [root@nw084b-181 /]# python /tmp/SyncInformixPasswordsWithSystem.py
    Changing password for user informix.
    passwd: all authentication tokens updated successfully.
    Changing password for user database.
    passwd: all authentication tokens updated successfully.
    Changing password for user dbuser.
    passwd: all authentication tokens updated successfully.
    Changing password for user dbccm.


  5. 一旦步骤4完成,请开始DB从admin CLI :

     utils service start A Cisco DB


  6. 为了看到是否仍然有一个问题,请输入使用情况dbreplication runtimestate命令:


    10:04:02  Password Validation for user [dbmon] failed!
    10:04:02  Check for password aging/account lock-out.
    10:04:02  listener-thread: err = -952: oserr = 0: errstr =
    dbmon@Cisco2.na.cisco.corp[Cisco2]: User (dbmon@Cisco2.na.cisco.corp[Cisco2])'s
    password is not correct for the database server.

    10:04:06  Password Validation for user [dbauditlog] failed!
    10:04:06  Check for password aging/account lock-out.
    10:04:06  listener-thread: err = -952: oserr = 0: errstr =
    dbauditlog@Cisco2.na.cisco.corp[Cisco2]: User (dbauditlog@Cisco2.na.cisco.corp[Cisco2])'s
    password is not correct for the database server.

    10:04:06  Password Validation for user [dbdbl] failed!
    10:04:06  Check for password aging/account lock-out.
    10:04:06  listener-thread: err = -952: oserr = 0: errstr =
    dbdbl@Cisco2.na.cisco.corp[Cisco2]: User (dbdbl@Cisco2.na.cisco.corp[Cisco2])'s
    password is not correct for the database server.

    10:04:07  Password Validation for user [dblpm] failed!
    10:04:07  Check for password aging/account lock-out.
    10:04:07  listener-thread: err = -952: oserr = 0: errstr =
    dblpm@Cisco2.na.cisco.corp[Cisco2]: User (dblpm@Cisco2.na.cisco.corp[Cisco2])'s
    password is not correct for the database server.


  7. 为了设置一个新的安全密码和重新启动两个服务器,请输入在Pubisher和用户的集合用户密码安全命令。在某些状况下,这也许是解决您的问题的最后一步。然而,在一些情况中,也许仍然中断复制。在这种情况下,请继续对步骤8。

    注意:允许复制的足够时间设置,很可能至少30分钟,在您决定前未适当地设置。如果输入此命令,您能也检查ccm.log状态更新:文件视图activelog /cm/log/informix/ccm.log



  8. 为了检查复制是否是残破的,请输入使用情况dbreplication runtimestate命令: 

                                  PING
    SERVER-NAME  IP ADDRESS     (msec)
    -----------   ------------    ------
    Cisco1       192.168.2.50     0.038
    Cisco2       192.168.2.51     0.273

           CDR Server        REPL.   DBver&    REPL.   REPLICATION SETUP
    RPC?  (ID) & STATUS   QUEUE   TABLES    LOOP?   (RTMT) & details
    ----    --------------    -----    -------   -----    -----------------
    Yes    (2)  Connected   0       match     Yes     (2) PUB Setup Completed
    Yes    (3)  Connected   0       match    N/A     (3) Not Setup


  9. 输入文件视图activelog /cm/log/informix/ccm.log命令:

    10:41:24  CDR CDRD_1: transaction aborted (All rows in a transaction defined with
    row scope were rejected) with sql error 0 isam error 0.
    10:41:24  CDR CDRD_1: failed rows spooled to
    file /tmp/ris.g_Cisco1_ccm9_1_1_20000_5.g_Cisco2_ccm9_1_1_20000_5.D_1.140322_10:41:24.3
    10:41:24  CDR CDRD_1: failed transaction spooled to
    file /tmp/ats.g_Cisco1_ccm9_1_1_20000_5.g_Cisco2_ccm9_1_1_20000_5.D_1.140322_10:41:24.4
    10:41:24 CiscoAlarmStart:Cisco1_ccm9_1_1_20000_5:ATTENTION:48:CDR: ATS and/or RIS
    files spooled to disk.
    :/tmp/ris.g_Cisco1_ccm9_1_1_20000_5.g_Cisco2_ccm9_1_1_20000_5.D_1.140322_10:41:24.3|
    /tmp/ats.g_Cisco1_ccm9_1_1_20000_5.g_Cisco2_ccm9_1_1_20000_5.D_1.140322_10:41:24.4:CiscoAlarmEnd


  10. 为了设法重置在统一通信(UC)的Cisco CallManager (CCM) DB复制请集群,完成这些步骤:

    1. 输入使用情况dbreplication stop命令在两个发布服务器和用户服务器。
    2. 输入两使用情况dbreplication dropadmindb的on命令发布服务器和用户。
    3. 输入使用情况dbreplication reset all命令在发行商和重新启动的用户。发行商不需要重新启动。


  11. 最后,您能输入在时间preiod的使用情况dbreplication runtimestate命令为了监控复制状态设置。

    这是什么的示例您也许发现:

    DB and Replication Services: ALL RUNNING

    DB CLI Status: No other dbreplication CLI is running...

    Cluster Replication State: BATCHING SYNC Requests from nodes at: 2014-03-22-11-27
         Sync Request Progress: Received 1 node requests for DB sync
         Sync Request Errors: NO ERRORS

    DB Version: ccm9_1_1_20000_5
    Repltimeout set to: 300s
    PROCESS option set to: 1

    Cluster Detailed View from Cisco1 (2 Servers):

                                PING
    SERVER-NAME  IP ADDRESS     (msec)
    -----------   ------------    ------
    Cisco1       192.168.2.50     0.028
    Cisco2       192.168.2.51     0.221

           CDR Server        REPL.   DBver&    REPL.   REPLICATION SETUP
    RPC?  (ID) & STATUS   QUEUE   TABLES    LOOP?   (RTMT) & details
    ----    --------------    -----    -------   -----    -----------------
    Yes    (2)  Connected   0       match     Yes     (2) PUB Batching Sub Req's
    Yes    (3)  Connected   0       match    N/A     (0) Setup Requested


    这是什么您也许发现是否输入命令每后的短时间:

    Cluster Replication State: BROADCAST SYNC Started on 1 server(s) at: 2014-03-22-11-32
         Processing Table: typeconfiginputdata
         Sync Progress: 275 tables sync'ed out of 603
         Sync Errors: NO ERRORS

    DB Version: ccm9_1_1_20000_5
    Repltimeout set to: 300s
    PROCESS option set to: 1

    Cluster Detailed View from Cisco1 (2 Servers):

                                PING
    SERVER-NAME  IP ADDRESS     (msec)
    -----------   ------------    ------
    Cisco1       192.168.2.50     0.031
    Cisco2       192.168.2.51     0.210

           CDR Server        REPL.   DBver&    REPL.   REPLICATION SETUP
    RPC?  (ID) & STATUS   QUEUE   TABLES    LOOP?   (RTMT) & details
    ----    --------------    -----    -------   -----    -----------------
    Yes    (2)  Connected   0       match     Yes     (2) PUB Setting Subs
    Yes    (3)  Connected   0       match    N/A     (0) Setup in Progress


    这是什么您也许发现是否输入命令每后的短时间:

    DB and Replication Services: ALL RUNNING

    DB CLI Status: No other dbreplication CLI is running...

    Cluster Replication State: BROADCAST SYNC Completed on 1 servers at: 2014-03-22-11-33
         Last Sync Result: SYNC COMPLETED  603 tables sync'ed out of 603
         Sync Errors: NO ERRORS

    DB Version: ccm9_1_1_20000_5
    Repltimeout set to: 300s
    PROCESS option set to: 1

    Cluster Detailed View from Cisco1 (2 Servers):

                                PING
    SERVER-NAME  IP ADDRESS     (msec)
    -----------   ------------    ------
    Cisco2       192.168.2.51     0.0298
    Cisco1       192.168.2.50     0.050

           CDR Server        REPL.   DBver&    REPL.   REPLICATION SETUP
    RPC?  (ID) & STATUS   QUEUE   TABLES    LOOP?   (RTMT) & details
    ----    --------------    -----    -------   -----    -----------------
    Yes    (3)  Connected   0       match     Yes     (2) Setup Completed
    Yes    (2)  Connected   0       match    Yes     (2) PUB Setup Completed



    这时,您能看到复制设立,因为复制表显示2。

相关信息



Document ID: 117623