ramgopalm545617
ramgopalm545617
11-05-2018
Recently in a day care ticket, adobe support team has mentioned that it is suggested to have a separate datastore for standby server.
if we want to implement cold-standby in an existing AEM environment with a file datastore, do we have to copy over the existing datastore to a separate folder and update the configurations accordingly.
Regards,
Ramgopal.
Kunwar
Employee
Kunwar
Employee
11-05-2018
Yes you have to take over the datastore to the standby server and remove the sling id. In summary, below steps should give you an idea. These include the datastore configs :
Use the below steps to setup cold standby instance and let me know incase of any issues.
Setting up Primary instance
Setting up the Standby instance
Testing if the cold standby setup works
Config files : Shared Files - Acrobat.com
ramgopalm545617
ramgopalm545617
15-05-2018
Hi Kunwar,
Thanks for your reply, but these steps are for setting up a new environment.
But, in our scenario we already have an environment with a file datastore configured to a different file path and we are trying to create cold-stand by on top a running instance. The setup is as below
Crx quick start location : /k01/app/aem/crx-quickstart
File datastore location: /l01/aem/datastore
Day care has suggested to create a separate datastore for stand-by server. So, my question was that If we are configuring a cold stand-by now, do we have to copy the file datastore from /l01/aem/datastore to /l01/aem/datastore-standby and then start the standby server pointing the new datastore location or just create a new location and start the server?
Kunwar
Employee
Kunwar
Employee
15-05-2018
Id prefer cloning the current primary instance along with datastore to a new location and start as standby instance as if you start a fresh coldstandby instance, the time to sync over everything from primary would be very high.
if cloning, copy everything along with datastore to a new location, find and delete sling.id file and start as standby instance
if new standby instance, just place correct configs to new aem instance and start as standby and wait for sync to complete
ramgopalm545617
ramgopalm545617
15-05-2018
This really helps
As per my knowledge for every restart the sling ID gets changed, do you think it is mandatory to delete the sling.id file?
Kunwar
Employee
Kunwar
Employee
15-05-2018
- As per my knowledge for every restart the sling ID gets changed : This is incorrect.
Only if you clone the instance to another location, you need to regenerate the sling.id file. For a new instance, you don't need to do this.
ramgopalm545617
ramgopalm545617
15-05-2018
Thanks again, let me check this setup and get back to you
msina
msina
18-09-2018
Hi,
Did it worked for you.
Thanks
Sina
ramgopalm545617
ramgopalm545617
21-09-2018
we are still working on issues and still not able to complete the setup
msina
msina
21-09-2018
Thanks for the update.