Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Can we Create a new page in two servers at a time using grav admin?

Started by Muut Archive 11 years ago · 2 replies · 266 views
11 years ago

Can we Create a new page in two servers at a time using grav admin?

11 years ago

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?

11 years ago

If your file systems are not synced or shared then yes, you will need to duplicate it manually.

You have several options.

  1. Use a shared folder (with NFS this is cached and is still pretty quick)
  2. Sync folders with rsync or similar
  3. Manage files remotely with something like GitHub or Bitbucket and push to both servers, or pull from each server.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1338 9 years ago
Archive · by Muut Archive, 9 years ago
2 927 9 years ago
Archive · by Muut Archive, 9 years ago
2 4056 9 years ago
Archive · by Muut Archive, 9 years ago
1 2941 9 years ago
Archive · by Muut Archive, 9 years ago
3 1112 9 years ago