Description:
After a failover from the primary to the shadow machine, Status of the agents is going to Missing or Unqualified
Solution:
Problem might be due to SSL in SSA ( Csam ) which was not set the same way on the agent and scheduler
Run these both commands on the schedulers (primary and shadow) and agents:
$CSAM_SOCKADAPTER/bin/csamconfigedit port=9000 display --> SSL was False while it was True on the agent.
$CSAM_SOCKADAPTER/bin/csamconfigedit portrange=49152-50176 --> SSL was False while is was True on the Agent
If SSL setting is different and for instance has to be se to True on the scheduler, commands are:
$CSAM_SOCKADAPTER/bin/csamconfigedit port=9000 EnableSSL=True
$CSAM_SOCKADAPTER/bin/csamconfigedit portrange=49152-50176 EnableSSL=True
Indeed the opposite is true as well, but the key point here is that SSL has to be set the same on both machines ( scheduler/application server and agents)
If there is any difference, the agent might be stuck