Este conteúdo não está disponível no idioma selecionado.
Chapter 2. Process Management
Each time you want to start, restart, and stop the Ceph daemons, you must specify the daemon type or the daemon instance.
2.1. Running Ceph as a systemd Service Copiar o linkLink copiado para a área de transferência!
In Red Hat Ceph Storage 2, all process management is done through the Systemd service.
2.1.1. Starting, Stopping, Restarting All Daemons Copiar o linkLink copiado para a área de transferência!
To start, stop, or restart all the Ceph daemons, execute the following commands from the local node running the Ceph daemons, and as root:
Start All Ceph Daemons
systemctl start ceph.target
# systemctl start ceph.targetCopy to Clipboard Copied! Toggle word wrap Toggle overflow Stop All Ceph Daemons
systemctl stop ceph.target
# systemctl stop ceph.targetCopy to Clipboard Copied! Toggle word wrap Toggle overflow Restart All Ceph Daemons
systemctl restart ceph.target
# systemctl restart ceph.targetCopy to Clipboard Copied! Toggle word wrap Toggle overflow
2.1.2. Starting, Stopping, Restarting All Daemons by Type Copiar o linkLink copiado para a área de transferência!
To start, stop, or restart all Ceph daemons of a particular type, execute the following commands from the local node running the Ceph daemons, and as root:
All Monitor Daemons
Starting:
systemctl start ceph-mon.target
# systemctl start ceph-mon.targetCopy to Clipboard Copied! Toggle word wrap Toggle overflow Stopping:
systemctl stop ceph-mon.target
# systemctl stop ceph-mon.targetCopy to Clipboard Copied! Toggle word wrap Toggle overflow Restarting:
systemctl restart ceph-mon.target
# systemctl restart ceph-mon.targetCopy to Clipboard Copied! Toggle word wrap Toggle overflow
All OSD Daemons
Starting:
systemctl start ceph-osd.target
# systemctl start ceph-osd.targetCopy to Clipboard Copied! Toggle word wrap Toggle overflow Stopping:
systemctl stop ceph-osd.target
# systemctl stop ceph-osd.targetCopy to Clipboard Copied! Toggle word wrap Toggle overflow Restarting:
systemctl restart ceph-osd.target
# systemctl restart ceph-osd.targetCopy to Clipboard Copied! Toggle word wrap Toggle overflow
All RADOS Gateway Daemons
Starting:
systemctl start ceph-radosgw.target
# systemctl start ceph-radosgw.targetCopy to Clipboard Copied! Toggle word wrap Toggle overflow Stopping:
systemctl stop ceph-radosgw.target
# systemctl stop ceph-radosgw.targetCopy to Clipboard Copied! Toggle word wrap Toggle overflow Restarting:
systemctl restart ceph-radosgw.target
# systemctl restart ceph-radosgw.targetCopy to Clipboard Copied! Toggle word wrap Toggle overflow
2.1.3. Starting, Stopping, Restarting a Daemon by Instances Copiar o linkLink copiado para a área de transferência!
To start, stop, or restart a Ceph daemon of a particular type by instance, execute the following commands from the local node running the Ceph daemons, and as root:
Monitor Instance
Starting:
systemctl start ceph-mon@<monitor_hostname>
# systemctl start ceph-mon@<monitor_hostname>Copy to Clipboard Copied! Toggle word wrap Toggle overflow Stopping:
systemctl stop ceph-mon@<monitor_hostname>
# systemctl stop ceph-mon@<monitor_hostname>Copy to Clipboard Copied! Toggle word wrap Toggle overflow Restarting:
systemctl restart ceph-mon@<monitor_hostname>
# systemctl restart ceph-mon@<monitor_hostname>Copy to Clipboard Copied! Toggle word wrap Toggle overflow
OSD Instance
Starting:
systemctl start ceph-osd@<OSD_number>
# systemctl start ceph-osd@<OSD_number>Copy to Clipboard Copied! Toggle word wrap Toggle overflow Stopping:
systemctl stop ceph-osd@<OSD_number>
# systemctl stop ceph-osd@<OSD_number>Copy to Clipboard Copied! Toggle word wrap Toggle overflow Restarting:
systemctl restart ceph-osd@<OSD_number>
# systemctl restart ceph-osd@<OSD_number>Copy to Clipboard Copied! Toggle word wrap Toggle overflow
RADOS Gateway Instance
Starting:
systemctl start ceph-radosgw@rgw.<gateway_hostname>
# systemctl start ceph-radosgw@rgw.<gateway_hostname>Copy to Clipboard Copied! Toggle word wrap Toggle overflow Stopping:
systemctl stop ceph-radosgw@rgw.<gateway_hostname>
# systemctl stop ceph-radosgw@rgw.<gateway_hostname>Copy to Clipboard Copied! Toggle word wrap Toggle overflow Restarting:
systemctl restart ceph-radosgw@rgw.<gateway_hostname>
# systemctl restart ceph-radosgw@rgw.<gateway_hostname>Copy to Clipboard Copied! Toggle word wrap Toggle overflow