This commit removes references to JMX from the docs. Context: The JMX server has been dropped and removed from installation. The user can install it manually if needed, as documented with https://github.com/scylladb/scylladb/issues/18687. This commit removes the outdated information about JMX from other pages in the documentation, including the docs for nodetool, the list of ports, and the admin section. Also, the no longer relevant JMX information is removed from the Docker Hub docs. Fixes https://github.com/scylladb/scylladb/issues/18687 Fixes https://github.com/scylladb/scylladb/issues/19575 Closes scylladb/scylladb#20917
48 lines
1.3 KiB
ReStructuredText
48 lines
1.3 KiB
ReStructuredText
Run ScyllaDB and supporting services as a custom user:group
|
|
===========================================================
|
|
**Topic: Planning and setup**
|
|
By default, ScyllaDB runs as user ``scylla`` in group ``scylla``. The following procedure will allow you to use a custom user and group to run ScyllaDB.
|
|
1. Create the new user and update file permissions
|
|
|
|
.. code-block:: sh
|
|
|
|
useradd test
|
|
groupadd test
|
|
usermod test -G test
|
|
chown -R test:test /var/lib/scylla
|
|
|
|
2. Edit ``/etc/sysconfig/scylla-server`` and change the USER and GROUP
|
|
|
|
.. code-block:: sh
|
|
|
|
USER=test
|
|
GROUP=test
|
|
|
|
3. Edit ``/etc/systemd/system/multi-user.target.wants/scylla-server.service``
|
|
|
|
.. code-block:: sh
|
|
|
|
User=test
|
|
|
|
4. Edit ``/etc/systemd/system/multi-user.target.wants/node-exporter.service``
|
|
|
|
.. code-block:: sh
|
|
|
|
User=test
|
|
Group=test
|
|
|
|
6. Reload the daemon settings and start ScyllaDB and node_exporter
|
|
|
|
.. code-block:: sh
|
|
|
|
systemctl daemon-reload
|
|
systemctl start scylla-server
|
|
systemctl start node-exporter
|
|
|
|
At this point, all services should be started as test:test user:
|
|
|
|
.. code-block:: sh
|
|
|
|
test 8760 1 11 14:42 ? 00:00:01 /usr/bin/scylla --log-to-syslog 1 --log-to-std ...
|
|
test 13638 1 0 14:30 ? 00:00:00 /usr/bin/node_exporter --collector.interrupts
|