When you run Ceph, look at the main process.

Source: Internet
Author: User

The simplest ceph.conf configuration is as follows:

= 798ed076-8094-429e-9e27-= ceph-192.168. 1.112  = = =192.168. 1.0/2

The command is as follows:

PS -aux| grep Ceph

Output on Ceph-admin:

Ceph2108  0.2  2.2 873932 43060? Ssl -: -   0: -/usr/bin/ceph-osd-f--cluster Ceph--ID 2--setuser Ceph--Setgroup Cephceph8880  0.7  1.8 384816 34920? Ssl -: +   0: -/usr/bin/ceph-mon-f--cluster Ceph--IDCeph-admin--setuser ceph--setgroup ceph

Output on Ceph-node1:

Ceph875  0.3  1.6 390516 30368? Ssl -: -   0: the/usr/bin/ceph-mon-f--cluster Ceph--IDCeph-node1--setuser Ceph--Setgroup Cephceph880  0.0  0.7 333520 14008? Ssl -: -   0:xx/usr/bin/ceph-mds-f--cluster Ceph--IDCeph-node1--setuser Ceph--Setgroup Cephceph2043  0.2  1.8 868136 35172? Ssl -: -   0: ./usr/bin/ceph-osd-f--cluster Ceph--ID 0--setuser Ceph--setgroup Ceph

Output on Ceph-node2:

Ceph911  0.1  1.1 2758896 22588? Ssl -: -   0:Geneva/usr/bin/radosgw-f--cluster ceph--name client.rgw.ceph-node2--setuser ceph--Setgroup Cephceph1707  0.2  2.1 874124 41220? Ssl -: -   0: ./usr/bin/ceph-osd-f--cluster Ceph--ID 1--setuser Ceph--Setgroup Cephceph5822  0.4  1.4 381820 27200? Ssl -: +   0: to/usr/bin/ceph-mon-f--cluster Ceph--IDCeph-node2--setuser ceph--setgroup ceph

Other commonly used ceph commands and outputs:

List all storage pools:

Ceph OSD Lspools

Just built the output, as if only RBD pool

0 RBD,1 . Rgw.root,2 Default.rgw.control,3 default.rgw.data.root,4 DEFAULT.RGW.GC,5 default.rgw.log,6 Default.rgw.users.uid,

Generates a file and puts the file as an object into the specified storage pool:

Echo "Hello" > testfile.txtrados put Test-Object-1 testfile.txt--POOL=RBD

The command rados-p RBD LS output is as follows:

Anchor Object Detail Information:

Ceph OSD Map RBD test-Object-1

Output This object's Dongdong:

' RBD ' (0object'test-object-1'0. 74dc35e2 (0.22), Up ( [2,1], p2) acting ([2,1], p2)

The following command is used to delete an object:

RM test-Object-1 --POOL=RBD

When you run Ceph, look at the main process.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.