Skip to content

Latest commit

 

History

History
119 lines (96 loc) · 1.89 KB

File metadata and controls

119 lines (96 loc) · 1.89 KB

Quản lý service Ceph với systemd service


1. Chạy, dừng, khởi động lại tất cả tiến trình

Để chạy, dừng, restart tất cả tiến trình trên Ceph Node (Tại chính node thực hiện)

Chạy tất cả dịch vụ

systemctl start ceph.target

Dừng tất cả dịch vụ

systemctl stop ceph.target

Khởi động lại tất cả dịch vụ

systemctl restart ceph.target

2. Chạy, dừng, khởi động lại tiến trình theo loại

Tất cả tiến trình Monitor

Chạy

systemctl start ceph-mon.target

Dừng

systemctl stop ceph-mon.target

Khởi động lại

systemctl restart ceph-mon.target

Tất cả tiến trình OSD

Chạy

systemctl start ceph-osd.targe

Dừng

systemctl stop ceph-osd.target

Khởi động lại

systemctl restart ceph-osd.target

Tất cả tiến trình RADOS Gateway

Chạy

systemctl start ceph-radosgw.target

Dừng

systemctl stop ceph-radosgw.targe

Khởi động lại

systemctl restart ceph-radosgw.target

2. Chạy, dừng, khởi động tiến trình được chọn

Tiến trình Monitor

Chạy

systemctl start ceph-mon@<monitor_hostname>

Dừng

systemctl stop ceph-mon@<monitor_hostname>

Khởi động lại

systemctl restart ceph-mon@<monitor_hostname>

Tiến trình OSD

Chạy

systemctl start ceph-osd@<OSD_number>

Dừng

systemctl stop ceph-osd@<OSD_number>

Khởi động lại

systemctl restart ceph-osd@<OSD_number>

Tiến trình RADOS Gateway

Chạy

systemctl start ceph-radosgw@rgw.<gateway_hostname>

Dừng

systemctl stop ceph-radosgw@rgw.<gateway_hostname>

Khởi động lại

systemctl restart ceph-radosgw@rgw.<gateway_hostname>