Convert a multisite indexer cluster to single-site
You can convert a multisite indexer cluster to a basic, single-site cluster. When you do so, all peers and search heads become part of the implicit single site.
1. Stop all cluster nodes (manager/peers/search heads).
2. On the manager node, edit server.conf
:
- Set
multisite
tofalse
. - Set the single-site
replication_factor
andsearch_factor
attributes to implement the desired replication behavior. - Remove the
site
attribute.
3. On each search head, edit server.conf
:
- Set
multisite
tofalse
. - Remove the
site
attribute.
4. On each peer, edit server.conf
:
- Remove the
site
attribute.
5. Start the manager node.
6. Start the peer nodes and search heads.
Note the following:
- The manager ignores any multisite attributes remaining in
server.conf
(site_replication_factor
and so on).
- Upon restart, the manager picks a primary copy for each bucket.
- After the conversion, any bucket copies that exceed the single-site replication factor remain in place. For information on removing these extra copies, see Remove excess bucket copies.
- Future bucket replication and bucket fixing will follow the values set for the single-site replication and search factors.
For information on how to convert a single-site cluster to multisite, see Migrate an indexer cluster from single-site to multisite.