Can we Create a new page in two servers at a time using grav admin?
Basically, we have a load balancer delegating requests to two servers. GRAV admin has been installed in both the servers. When i access grav admin, basically one of the server attends to the request and renders the admin page. When i save a page, thereon, as expected, the file gets created only on one server.
Does it require us to manually make the page available in other server through any scripts or do we have any other solution that addresses this problem?
If your file systems are not synced or shared then yes, you will need to duplicate it manually.
You have several options.
- Use a shared folder (with NFS this is cached and is still pretty quick)
- Sync folders with rsync or similar
- Manage files remotely with something like GitHub or Bitbucket and push to both servers, or pull from each server.