Exponential can run one site on several web servers at once. For that it keeps its stored files (images, uploads, and the pages it has built and cached) in a cluster: a shared folder for the files plus an index of them in the site's database. Every server that runs the site reads the same folder and the same index.
A one-node cluster is that setup on the one server your site already runs on. Nothing moves, and your visitors notice no difference. The site is simply ready for a second server: when one is added later, it only has to reach the same folder and the same database.
What changes on your site
A folder dfs | in your hosting account, next to httpdocs; it holds the cluster's copy of your stored files |
| Two tables | ezdfsfile and ezdfsfile_cache in your site's own database: the index of the files |
| Two settings files | a marked section in settings/override/file.ini.append.php and the file config.cluster.php; please leave both as they are |
| A web server rule | images of your site are answered through Exponential's cluster gateway (index_cluster.php) |
Your files stay in your hosting account and in your backups, as before. The space the dfs folder takes counts toward your plan's disk space; a site's stored files are copied into it once.
Which sites can use it
- Exponential sites (6.x) on a MySQL/MariaDB database.
- PostgreSQL sites as soon as their Exponential version includes the PostgreSQL cluster backend; until then the Settings tab says so.
- Not sites on SQLite, and not sites that already have cluster settings of their own (we leave those alone).
Safe by design
The switch checks your site afterwards: the front page, the admin sign-in and a stored image must answer as before. If anything does not, the site goes back to how it was by itself and you get a mail saying so. Switching the cluster off moves the files back the same way.
To switch it on, see Switch a site to a one-node cluster. For more servers, see Adding a second server.
Related articles
- Switch a site to a one-node cluster Turn the one-node cluster of an Exponential site on or off on the site's Settings tab.
- Adding a second server to a cluster What a second server for your site needs, why a one-node cluster is the first step, and how to ask us for it.
- The site page and its tabs Each of your sites has its own page with six tabs: Overview, Backups, Versions, Domains, Logs and Settings.