ninja install
-## Tips and Tricks
-
- * Use "debug builds" only when needed. Debugging builds are helpful for
- development, but they can slow down performance. Use
- `-DCMAKE_BUILD_TYPE=Release` when debugging isn't necessary.
- * Enable Selective Daemons when testing specific components. Don't start
- unnecessary daemons.
- * Preserve Existing Data skip cluster reinitialization between tests by
- using the `-n` flag.
-
-## Troubleshooting
-
- * Cluster Fails to Start: Look for errors in the logs under the `out/`
- directory.
- * OSD Crashes: Check the OSD logs for errors.
- * Cluster in a `Health Error` State: Run the `ceph status` command to
- identify the issue.
- * RocksDB Errors: Look for RocksDB-related errors in the OSD logs.
- To manage a vstart cluster, stop daemons using `./stop.sh` and start them with ./vstart.sh --daemon osd.${ID} [--nodaemonize].
- Restart by stopping and restarting daemons, ensuring no stale sockets.
- For RocksDB performance tracking, set `export ROCKSDB_PERF=true` and start the cluster with `./vstart.sh -n -d -x --bluestore`.
- Build with `vstart-base` using debug flags in cmake, compile, and deploy via `./vstart.sh -d -n --bluestore`.
- To containerize, generate configurations with `vstart.sh`, and deploy with Docker, mapping directories and configuring the network.
- Manage containers using `docker run`, `stop`, and `rm`. For detailed setups, consult the Ceph-Container repository.
### CMake Options
Other available values for `DIAGNOSTICS_COLOR` are `auto` (default) and
`never`.
+## Tips and Tricks
+
+ * Use "debug builds" only when needed. Debugging builds are helpful for
+ development, but they can slow down performance. Use
+ `-DCMAKE_BUILD_TYPE=Release` when debugging isn't necessary.
+ * Enable Selective Daemons when testing specific components. Don't start
+ unnecessary daemons.
+ * Preserve Existing Data skip cluster reinitialization between tests by
+ using the `-n` flag.
+ * To manage a vstart cluster, stop daemons using `./stop.sh` and start them
+ with `./vstart.sh --daemon osd.${ID} [--nodaemonize]`.
+ * Restart the sockets by stopping and restarting the daemons associated with
+ them. This ensures that there are no stale sockets in the cluster.
+ * To track RocksDB performance, set `export ROCKSDB_PERF=true` and start
+ the cluster by using the command `./vstart.sh -n -d -x --bluestore`.
+ * Build with `vstart-base` using debug flags in cmake, compile, and deploy
+ via `./vstart.sh -d -n --bluestore`.
+ * To containerize, generate configurations with `vstart.sh`, and deploy with
+ Docker, mapping directories and configuring the network.
+ * Manage containers using `docker run`, `stop`, and `rm`. For detailed
+ setups, consult the Ceph-Container repository.
+
+## Troubleshooting
+
+ * Cluster Fails to Start: Look for errors in the logs under the `out/`
+ directory.
+ * OSD Crashes: Check the OSD logs for errors.
+ * Cluster in a `Health Error` State: Run the `ceph status` command to
+ identify the issue.
+ * RocksDB Errors: Look for RocksDB-related errors in the OSD logs.
## Building a source tarball