search cancel

Online Database Backup failing at decompression on secondary

book

Article ID: 240539

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

RCPD copies file from primary to secondary successfully, but fails at decompression. 

With dynamic debugging for Online Backup enabled, the specific error seen in RCPD.OUT on secondary:  

 Uncompressing the database file...FAILED. Response ticket :
DATE OF THIS REQUEST

 

Cause

The .ft_save_file.SS file name format was incorrect in the Spectrum environment which was causing the decompression on the ssdb file to fail. The extension should be .SSdb. The following message can be seen in rcpd.out

Apr 28 11:26:19 : Successfully received .ft_save_file.SS
Apr 28 11:26:19 : Stopping the SpectroSERVER...success.
Apr 28 11:26:23 : Running SSdbload on the uncompressed database file...FAILED. Response ticket : 

RCPD on secondary VM with compression:

Apr 21 12:43:20 : rcpd started

 command:  RECV
    file:  .ft_save_file.SS
    rcpd:  0xcafe

Apr 21 12:43:20 : Creating listen socket on port 0xcafe
Apr 21 12:43:20 : Done creating listen socket on port 0xcafe
Apr 21 12:43:20 : Doing accept on listen socket
file name: .ft_save_file.SS.gz
file size: 197476740
 compress: 1
peer host: dc2prcspvss0002

Apr 21 12:43:21 : Starting file transfer using 1048576 byte TCP receive socket buffer.
Apr 21 12:43:23 : Received 1048572 / 197476740 bytes.
Apr 21 12:50:40 : Received 197476740 / 197476740 bytes.
Apr 21 12:50:40 : Successfully received .ft_save_file.SS.gz
Apr 21 12:50:40 : Uncompressing the database file...FAILED. Response ticket : 

RCPD on secondary VM without compression:

Apr 28 10:59:49 : rcpd started

 command:  RECV
    file:  .ft_save_file.SS
    rcpd:  0xcafe

Apr 28 10:59:49 : Creating listen socket on port 0xcafe
Apr 28 10:59:49 : Done creating listen socket on port 0xcafe
Apr 28 10:59:49 : Doing accept on listen socket
file name: .ft_save_file.SS
file size: 714105679
 compress: 0
peer host: dc2prcspvss0002

Apr 28 10:59:49 : Starting file transfer using 1048576 byte TCP receive socket buffer.
Apr 28 10:59:51 : Received 1048572 / 714105679 bytes.

Apr 28 11:26:19 : Successfully received .ft_save_file.SS
Apr 28 11:26:19 : Stopping the SpectroSERVER...success.
Apr 28 11:26:23 : Running SSdbload on the uncompressed database file...FAILED. Response ticket :

 

Environment

Release : 20.2,21.2.x

Component : Spectrum Core / SpectroSERVER

Resolution

1. Ensured that 51966 port enabled b/w primary & secondary spectrum VMs for RCPD application for the OLB sync
2. Restarted processd on the secondary server to pass the correct file to rcpd daemon.
3. Triggered online backup which ran successfully.
4. Verified correct .ft_save_file.SSdb file was copied over to the secondary server for spectrum rcpd daemon