search cancel

Issue in executing chk_auto_up command - not showing the shadow application server

book

Article ID: 253332

calendar_today

Updated On:

Products

CA Workload Automation AE

Issue/Introduction

When executing the chk_auto_up command , the expected output is not shown

$ chk_auto_up -r 111
______________________________________________________________________________

CAUAJM_I_50054 Attempting (1) to Connect with Database: ABC
CAUAJM_I_50055 *** Have Connected successfully with Database: ABC. ***
______________________________________________________________________________

CAUAJM_I_50128 Connected with Event Server: ABC

______________________________________________________________________________

______________________________________________________________________________

CAUAJM_I_50038 Checking AutoSys Application Server on Machine: host1234
CAUAJM_I_50243 AutoSys Application Server is RUNNING on machine: host1234
______________________________________________________________________________

CAUAJM_I_50038 Checking AutoSys Primary Scheduler on Machine: host1234
CAUAJM_I_50044 Primary Scheduler is RUNNING on machine: host1234
______________________________________________________________________________

CAUAJM_I_50038 Checking AutoSys Shadow Scheduler on Machine: host5678

CAUAJM_I_50045 Shadow Scheduler is RUNNING on machine: host5678
______________________________________________________________________________

 

We have shadow scheduler configured but the when we execute the chk_auto_up command the application server of shadow scheduler is not considered and it shows only the primary scheduler output 

Environment

Release : 12.0

Resolution

When you ran chk_auto_up -r 111
it would display correct statuses for the schedulers, both primary and shadow,
but it would only list 1 application server, the local one.
We modified the $AUTOUSER/config.$AUTOSERV file's AutoServer= entry.
Initially it only listed the local host.
We added the secondary host as well.
Example Before
AutoServer=host1234
Example After
AutoServer=host1234,host5678
We saved the file and re-ran chk_auto_up -r 111
this time it correctly displayed the statuses for both as_servers.
We followed the same procedure on the shadow host and it worked there too.