Reformatting and Resetting a CSN Swarm cluster
To reformat and reset a CSN-managed Swarm cluster, you will follow this process:
- Delete the Elasticsearch index.
- Reformat the Swarm volumes.
- Reset the CSN's logs and other data.
- Reset the CSN configuration backups.
Details:
- Delete the Swarm Elasticsearch index (if a Search Feed had been configured).
- Reformat the disks- this will destroy ALL data in the cluster so proceed with caution.
- Attach a keyboard and monitor to a Swarm storage node.
- Select System Control > Stop Storage Processes.
- Select Disk Volumes > All and press F to Format, and accept the confirmations.
- Repeat with each storage node, leaving the storage processes off (so that there is no replication to the newly formatted disks)
- After all storage server disks have been formatted and storage processes have been turned off, on all storage nodes, select System Control > Reboot on each storage node.
- Watch to ensure that they PXEboot.
- Reset the CSN's logs and other cluster-specific data
- Log into the CSN via SSH.
- Remove any unwanted logs in
/var/log/caringo/
.- Relocate those logs to another server for historical reference if desired, but you will want fresh logs for the fresh cluster.
- On older CSNs that included the Content Router, delete any data in
/u01/
- On older CSNs, remove any
rrd
files in/var/opt/caringo/StorageReporter/data/
- Reset the CSN backups
- Create a new backup manifest UUID by removing the UUID in this file:
/var/opt/caringo/csn/backup/manifest/.bootstrap
- Remove references to the old backups by deleting the savesets files in:
/var/opt/caringo/csn/backup/manifest/
- Reboot your CSN.
- Log into the CSN UI.
- Make a manual backup: Cluster Services > Backup and Restore > Create Backup.
- Note the new backup manifest UUID.
- Create a new backup manifest UUID by removing the UUID in this file:
© DataCore Software Corporation. · https://www.datacore.com · All rights reserved.