SHOW:
|
|
- or go back to the newest paste.
1 | root@mds01:~/ceph-dep# pwd | |
2 | /root/ceph-dep | |
3 | root@mds01:~/ceph-dep# ceph-deploy -v install mds01 osd{01..10} | |
4 | Installing stable version cuttlefish on cluster ceph hosts mds01 osd01 osd02 osd03 osd04 osd05 osd06 osd07 osd08 osd09 osd10 | |
5 | Detecting platform for host mds01 ... | |
6 | Distro Ubuntu release 13.04 codename raring | |
7 | Installing on host mds01 ... | |
8 | etecting platform for host osd03 ... | |
9 | Distro Ubuntu release 13.04 codename raring | |
10 | Installing on host osd03 ... | |
11 | Detecting platform for host osd04 ... | |
12 | Distro Ubuntu release 13.04 codename raring | |
13 | Installing on host osd04 ... | |
14 | Detecting platform for host osd05 ... | |
15 | Distro Ubuntu release 13.04 codename raring | |
16 | Installing on host osd05 ... | |
17 | Detecting platform for host osd06 ... | |
18 | Distro Ubuntu release 13.04 codename raring | |
19 | Installing on host osd06 ... | |
20 | Detecting platform for host osd07 ... | |
21 | Distro Ubuntu release 13.04 codename raring | |
22 | Installing on host osd07 ... | |
23 | OK | |
24 | Detecting platform for host osd08 ... | |
25 | Distro Ubuntu release 13.04 codename raring | |
26 | Installing on host osd08 ... | |
27 | Detecting platform for host osd09 ... | |
28 | Distro Ubuntu release 13.04 codename raring | |
29 | Installing on host osd09 ... | |
30 | Detecting platform for host osd10 ... | |
31 | Distro Ubuntu release 13.04 codename raring | |
32 | Installing on host osd10 ... | |
33 | OK | |
34 | ||
35 | ... | |
36 | root@mds01:~# dsh -m osd01 -m osd02 getent hosts osd{01..10} | |
37 | 127.0.1.1 osd01.keplerdata.com osd01 | |
38 | 20.10.10.102 osd02.keplerdata.com | |
39 | 20.10.10.103 osd03.keplerdata.com | |
40 | 20.10.10.104 osd04.keplerdata.com | |
41 | 20.10.10.105 osd05.keplerdata.com | |
42 | 20.10.10.106 osd06.keplerdata.com | |
43 | 20.10.10.107 osd07.keplerdata.com | |
44 | 20.10.10.108 osd08.keplerdata.com | |
45 | 20.10.10.109 osd09.keplerdata.com | |
46 | 20.10.10.110 osd10.keplerdata.com | |
47 | 20.10.10.101 osd01.keplerdata.com | |
48 | 127.0.1.1 osd02.keplerdata.com osd02 | |
49 | 20.10.10.103 osd03.keplerdata.com | |
50 | 20.10.10.104 osd04.keplerdata.com | |
51 | 20.10.10.105 osd05.keplerdata.com | |
52 | 20.10.10.106 osd06.keplerdata.com | |
53 | 20.10.10.107 osd07.keplerdata.com | |
54 | 20.10.10.108 osd08.keplerdata.com | |
55 | 20.10.10.109 osd09.keplerdata.com | |
56 | - | 20.10.10.110 osd10.keplerdata.com |
56 | + | |
57 | ||
58 | ||
59 | ||
60 | root@mds01:~/ceph-dep# ceph-deploy -v new osd{01..03} | |
61 | Creating new cluster named ceph | |
62 | Resolving host osd01 | |
63 | Monitor osd01 at 20.10.10.101 | |
64 | Resolving host osd02 | |
65 | Monitor osd02 at 20.10.10.102 | |
66 | Resolving host osd03 | |
67 | Monitor osd03 at 20.10.10.103 | |
68 | Monitor initial members are ['osd01', 'osd02', 'osd03'] | |
69 | Monitor addrs are ['20.10.10.101', '20.10.10.102', '20.10.10.103'] | |
70 | Creating a random mon key... | |
71 | Writing initial config to ceph.conf... | |
72 | Writing monitor keyring to ceph.conf... | |
73 | root@mds01:~/ceph-dep# ls -al | |
74 | total 20 | |
75 | drwxr-xr-x 2 root root 4096 Jul 25 20:41 . | |
76 | drwx------ 7 root root 4096 Jul 25 19:57 .. | |
77 | -rw-r--r-- 1 root root 225 Jul 25 20:41 ceph.conf | |
78 | -rw-r--r-- 1 root root 4014 Jul 25 20:41 ceph.log | |
79 | -rw-r--r-- 1 root root 73 Jul 25 20:41 ceph.mon.keyring | |
80 | root@mds01:~/ceph-dep# cat ceph.conf | |
81 | [global] | |
82 | fsid = 2004ad83-8e19-4330-843b-716611731e27 | |
83 | mon initial members = osd01, osd02, osd03 | |
84 | mon host = 20.10.10.101,20.10.10.102,20.10.10.103 | |
85 | auth supported = cephx | |
86 | osd journal size = 1024 | |
87 | filestore xattr use omap = true |