API gateway Ssgbackup script failing on one cluster node.

book

Article ID: 143866

calendar_today

Updated On:

Products

CA API Gateway API SECURITY CA API Gateway Precision API Monitoring Module for API Gateway (Layer 7) CA API Gateway Enterprise Service Manager (Layer 7) STARTER PACK-7 CA Microgateway

Issue/Introduction

When backing up API Gateway, every day with the ssgbackup script. we get the following error on  one particular cluster configuration, in one node the DB backup is failing. 

Error:

/opt/SecureSpan/Gateway/config/backup/ssgbackup.sh -image imagename  -maindb

Backup of Gateway image partially succeeded.

Failed component: maindb

Environment

Release : 9.4

Component : API GTW ENTERPRISE MANAGER

Resolution

On a cluster gateway the maindb can only be backed up on the primary node .

When trying the backup on the secondary node it will throw this error.

There is no need to take  backup on the the secondary as this is a replica of the database on the master node.