Cannot attach AM replica instance
I have a primary RSA AM virtual appliance running 8.1 that I need to get upgraded to 8.5 to get back onto a supported version, but I want to deploy a replica first so that I can upgrade with no downtime.
I have tried deploying the replica but it failed, so I am trying to follow knowledgebase article 000033409
I have completed steps 1 and 2 [adding the hosts entries to each server] but I am unable to complete step 3 "Extend the synchronization interval between the primary and replica Authentication Manager servers"
When I enter the suggested command on the primary it fails with the the following error:
rsaadmin@RSA:/opt/rsa/am/utils> ./rsautil store -a update_config auth_manager synchronization.replica_sync.heartbeat_interval.seconds 60 GLOBAL 501
Please enter OC Administrator username: ocreplica
Please enter OC Administrator password: *********
psql.bin:/tmp/68ef9729-7060-4b65-b38f-56e0eb5c9ec86346070924560354275.sql:167: WARNING: Unable to update the value: cannot find the host instance '60'.
Can anyone see what the issue is?
Before I upgrade I want to add a replica so I can do the upgrades with no downtime. But adding the replica fails. I followed knowledgebase article 000033409 and when I got to step 3 ("Extend the synchronization interval between the primary and replica Authentication Manager servers") it fails with the error message shown above.
I was hoping someone might know the cause of this error message and how to resolve it.
To me, that heartbeat should be use in very particular case, were you really have latency issues.
What is the error message you are getting when attaching ? (maybe you have detailed logs)
Open the install logs.zip file you can download from the error page, and select the rsa-console.log. In the log you will be able to verify the actual reason for the failed attachment.
However, maybe the error message is messy, so you should try to "add" instead of "update" :
./rsautil store -o <your_OC_admin> -p <your_OC_password> -a add_config auth_manager.synchronization.primary_sync.retry 6 GLOBAL 501 ./rsautil store -o <your_OC_admin> -p <your_OC_password> -a add_config auth_manager.synchronization.replica_sync.retry 6 GLOBAL 501 ./rsautil store -o <your_OC_admin> -p <your_OC_password> -a add_config auth_manager.synchronization.primary_sync.chunksize.kilobytes 1024 GLOBAL 501 ./rsautil store -o <your_OC_admin> -p <your_OC_password> -a add_config auth_manager.synchronization.replica_sync.heartbeat_interval.seconds 90 GLOBAL 501
Changing from update_config to add_config worked, and after increasing the timer from 60 to 120 I tried attaching the replica again and this time it succeeded.
Thanks very much for your help!