- The Urgent Need for Data Minimization Standards
- If ChatGPT produces AI-generated code for your app, who does it really belong to?
- The best iPhone power banks of 2024: Expert tested and reviewed
- The best NAS devices of 2024: Expert tested
- Four Ways to Harden Your Code Against Security Vulnerabilities and Weaknesses
Cisco CUCM : Troubleshoot Backup Issue
Hi Guys , I found below link useful when troubleshooting CUPS backup issues,
Original Link # https://bsoftbangalore.wordpress.com/2012/06/14/cisco-cucm-7-x8-x-troubleshoot-backup-issue/
Cisco Unified Communications Manager backups are not running as scheduled. All Disaster Recovery Framework (DRF) services are down, and no new devices, schedules, or statuses can be viewed from the DRF console. Also, when you access the DRF admin pages, this error message is received:
Status: Local Agent is not responding. This may be due to Master or Local Agent being down.
This RTMT alert is received during the backup failure:
CiscoDRFFailure Reason : Master Agent was unable to send a backup/restore request to the local agent. Node [ELS-PUB1] is not connected. AppID : Cisco DRF Master ClusterID : NodeID: ELS-pub1 . The alarm is generated on Tue Nov 24 02:00:04 PST 2009
Solution
First, verify if the Certificate Serial Number in the keystore of Publisher is present in the Truststore of all Subscribers. Complete these steps:
- Log on to CUCM OS Administration page of Publisher server of the cluster setup. Choose Security > Certificate Management. The Certificate List window displays.
- You can use the Find controls in order to filter the certificate.
- Click on the ipsec.pem file and check the serial number of the certificate.
- Log on to CUCM OS Administration page of each node of the cluster. Choose Security > Certificate Management. The Certificate List window displays.
- You can use the Find controls in order to filter the certificate.
- Click on ipsec-trust.pem file with the file name of hostname of the publisher and check the serial number of the certificate.
- Certificate Serial Number should be same on all the nodes of the cluster. If Serial Number of any node is mismatched, complete these steps.
- Log on to CUCM OS Admin page of affected node.
- Choose Security > Certificate Management. The Certificate List window displays.
- You can use the Find controls in order to filter the certificate.
- Click on ipsec.pem file and download that certificate.
- Find the existing ipsec-trust with the filename of the hostname of the publisher,click on the file name and Delete.
- Upload the downloaded ipsec.pem file with the caption ipsec-trust.
- Restart the DRF Master Agent(MA)/DRF Local Agent (LA).
Error: Cannot write: Broken pipe
DRF backup failed with this error message:
/bin/tar: -: Cannot write: Broken pipe /bin/tar: Error is not recoverable: exiting now CCMDB Backup failed, unable to tar data to master agent Restoring CAR services ...
This issue is documented in Cisco bug ID CSCte62205 (registered customers only)
As a workaround try one of these steps:
- Disable client alive messages on the Open SSH server
- Set the ClientAliveCountMax and ClientAliveInterval to a high enough count / interval so the server does not timeout the connection to CUCM during the backup.
- Restart the DRF Master Agent(MA)/DRF Local Agent (LA).
DRS Hangs During CCMDB Backup
Problem
DRS hangs during CCMDB backup if there are large number of CDR/CMR files accumulated in the Preserve folder. This issue is documented in Cisco bug ID CSCsl16967 (registered customers only) .
Note: If you stop CAR service, it does not stop the accumulation of flat CDR files.
Solution
Complete these steps in order to resolve this issue:
- Complete these steps in order to clean up the CDR files temporarily so that DRS can proceed:
- Stop the CDR Agent service on all servers in the cluster, so that no new CDR files are pushed to the publisher.
- Run this command in order to verify that all files have been pushed to the billing server(s):
file list activelog /cm/cdr_repository/destination/*
- Complete these steps in order to verify that there are no symbolic links in any of the subfolders:
- Stop CDR Repository Manager, CAR Scheduler, and CAR Web Service on the publisher.
- Use this command in order to remove all the files under /var/log/active/cm/cdr_repository/preserve/<date> that have been accumulated:
file delete activelog /cm/cdr_repository/preserve/* noconfirm
- Use this command in order to remove all the symbolic links under /var/log/active/cm/cdr_repository/car/<date>:
file delete activelog /cm/cdr_repository/car/* noconfirm
- Restart CDR Repository Manager, CAR Scheduler, and CAR Web Services on the publisher.
- Complete these steps in order to stop further accumulation of CDR files:Note: In order to stop further accumulation of CDR files, you must start the CAR Scheduler service, set the loader to schedule continuous loading, and load CDR only.
- If it is not yet created, create a ccmadmin account in user group management on the ccmadmin page.
- Log in to CAR, and go to System > Scheduler > CDR Load.
- Check the Continuous Loading 24/7 and the Load CDR only check boxes, and click Update.
- Choose System > Database > Configure Automatic Database Purge.
- Enter 1 for Min Age of Call Detail Records and Max Age of Call Detail Records, and click Update.
- Choose Report Config > Automatic Generation/Alert.
- For each report, choose Disabled, and click Update.
- Restart the CDR Agent service on all the servers.
Error: The system is currently locked by another process. Please try again later
DRS Backups stop to execute automatically and when you attempt a manual backup, you get the Backup operation currently in progress. Please wait and try after sometime error message. When you try to install a new version or a COP file, you get the The system is currently locked by another process. Please try again later error message. This issue occurs if DRF is scheduled to backup the CUCM server automatically. This is documented by Cisco bug ID CSCsr87199 (registered customers only) .
Solution
Reset DRF Master Agent in order to resolve the issue.
Backup Fails with Winsock Error
With CUCM 8.x, the backup failed with the Winsock Error 10054/10035/10053 error message.
Solution
Make sure that the firewall is disabled on the remote backup device and perform the backup again.
DRF Backup Does Not Backup Certificates
With CUCM 8.x, on a bridge upgrade restored server, the ITL file does not have a valid signer. Phones do not have https services if the publisher is the TFTP server. On a migration to UCS, or any new hardware where a backup and restore is performed, phones do not accept configuration files and changes from the new cluster without the manual deletion of the existing ITL from the phones.
When you restore from a disaster recovery situation, phones no longer recognize their configuration or ITL files after the DRS restore if the restored server was the TFTP server. Phones may not recognize configuration changes or upgrades until their existing ITL is deleted and replaced with the newly generated ITL.
Also, when you issue the show itl CLI command on the servers, this error message appears:
This etoken was not used to sign the ITL file. Verification of the ITL file failed. Error parsing the ITL file
This issue is documented by Cisco bug ID CSCtn50405 (registered customers only) .
Solution
After a disaster recovery or hardware migration situation, complete these steps.
- Regenerate the CallManager.pem file (only on the restored server) to sync the CallManager.pem file on the file system to the one in the database.
- Restart TVS and TFTP.
- For a single node cluster, or only one TFTP server, delete the ITL file manually from all phones in the cluster.
- For a Multi node cluster, phones should automatically use TVS of alternate CallManager Group Servers in order to authenticate the new ITL file. Alternatively phones can be pointed to another TFTP server in the cluster.
After a bridge upgrade, complete these steps.
- Regenerate the CallManager.pem file (only on the restored server) to sync the CallManager.pem file on the file system to the one in the database.
- Restart TVS and TFTP.
- The phones need to be reset in order to download the new ITL file, but should not need to have the ITL file deleted as they never would have had a valid ITL file to download so far.
Error Message: bad decrypt 16404:error
With CUCM 8.x, DRS restore fails for the TFTP components with this error message
error:06065064:digital envelope routines:EVP_DecryptFinal:bad decrypt:evp_enc.c:438:
Solution
This error message is an indication of the IP Address or Hostname Mismatch. Make sure that the CUCM server has the same IP Address and Hostname as on the MCS servers from where the backup is located. If the hostname is not the same as the backup server, you need to modify the hostname in order to be the same as the backup server and run the restore again.
Error on the backup page on CUCM
Problem
When you navigate to the backup page, the Local Agent is not responding. This may be due to Master or Local Agent being down error message appears. This also happens while you attempt to add a back-up device.
Solution
Complete these steps in order to resolve this issue:
- Login to the CUCM OS Admin page.
- Choose Security > Certificate Management.
- Check the serial number for ipsec.pem file.
- Ensure that the serial number matches the ipsec-trust.pem file for the subscribers.
- Restart the Cisco DRF MAster and DRF Local service in the Publisher.
- Activate the TFTP service.