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)4!
 
*.#)
/!+
 
)
)
/+#I 
,!
+!! 
!
 
.
)
/!
:: 
$
% 
( )?77!7!@ 
[global] 
fsid = a7f64266-0894-4f1e-a635-d0aeaca0e993 
mon initial members = node1 
mon host = 192.168.0.1 
public network = 192.168.0.0/24 
auth cluster required = cephx 
auth service required = cephx 
auth client required = cephx 
osd journal size = 1024 
filestore xattr use omap = true 
osd pool default size = 2 
osd pool default min size = 1 
osd pool default pg num = 333 
osd pool default pgp num = 333 
osd crush chooseleaf type = 1 
./=C

C 
. 
.$ 
 
(  	##

 
	# 
!*
***	#7!7!	#***	#***! 
ABA 
A
+
 
+
+
%
: 
+!*!#
 
! 
.##!
 
*
! 
#!/! 

#
#
: 
$
%
' 
( 3	# 


	# 
!*
***	#77!7!	#***	#* 
***
D;**!ABA**!ABA**!AA 
( .	#!	# 
!*
7!7!	#**!*	# 
77!7!	# 
( 3!
12 
$124
/
 
7!7!= 
 !****::9:08;:**50E00*;89E*E:* 
0'*;;997!7! 
J
!+# 
	#	#
: 
$
%
' 
(  
#12 
12 

	77+7!77!*: 
( $!
12! 
	# 
!***	*:**!7!7!**	# 
7!7!	# 
( 
12 

777!: 
( F#
= 
!* 
.!
# 
#
!
:E 
!		
# 
( )#
#
12
#
 

)
/ 
 G

H
#
 

)
/
+! 
+1!
ID
 
)
/2 
(  !!!*	
#!! 
	!#
 ! 
 ,!*	
#)
//+# 
 
 !*	)
/ -
J!
 
#
 
)#
#
12
#
 
)
/ 
$
H
#
 

)
/
+!+1 
!
ID
)
/2
:' 
!		
#
' 
( $!)
/ 

!*	!!**
!**
*

50E00*;89E*E:* 
0'*;;99***#!E77: 
( .)
/= 

!*	77: 
( ,!
!!= 
!* 
( ,
= 
! 
))
/
#

#)
/ 
#
#

 
%.MMMM 



!.!# 
+#!
 
)
/##
	#
Tut6117
:5 
(

	 
( +!! 
( 	#!! 
( ,!
%
( 

!!
!
= 
 
)$
) 
 
	7	 
 F
1FKLFJ#!*F2 
  
1.
)!
.I
2
:8 
!		


#%
)
:9 
(
*$
; 
!
: 
%	

	
+#
,	
+#- 
+
)= 
:2.	
!!	 
2
2$	1
%F
2 
E2/
!!!
%
$K
)	+	! 
 !)
/! 
!
+# !)
/ 

)
/+
+ 
!!
 

	+

%
$K
# 
!

#!
!
E 
+	 
( .$K
+#
+
!# 
	/F/ 
( .	#
#! 
( 

.
G
,#
 

#
! 
%
 
(  != 
 /J $ 
 ,4,$ 
 $K
+1#
2 
 
! 
.$K
++#
 
!7

# 
	###

 
 
)#
#+

.
G
, 
$K
+!
#
#+
/J $,4,$#
 
! 
%A	!*+#*
' 
./
  
( 
+/J $
 


 
( 77! 
subnet 192.168.43.0 netmask 255.255.255.0 { 
range 192.168.43.1 192.168.43.254; 
filename pxelinux.0; 
next-server 192.168.43.100; 
} 
( ,!= 
 **
!# 
++ 
 =
!#+ 
++# 
#
#/J $#
	#
 

 
,!!?*@?@ 
+#!#++# 
/J $
0 
00/
  
( +! 
( 777! 
service tftp 
{ 
socket_type = dgram 
protocol = udp 
wait = yes 
flags = IPv6 IPv4 
user = root 
server = /usr/sbin/in.tftpd 
server_args = -v -s /srv/tftp 
disable = no 
} 
,,4,$ 
+	 
)+ 

	*!
5 
/1

%
  
( ?#
@
$K
+ 
/srv/tftp/pxelinux.cfg/default 
/srv/tftp/f1 
/srv/tftp/initrd 
/srv/tftp/linux 
/srv/tftp/pxelinux.0 
( 77!7!
7
 
# hard disk 
label harddisk 
kernel linux 
append SLX=0x202 
# ceph installation 
label cephosd 
kernel linux 
append initrd=initrd splash=silent showopts  
install=http://192.168.43.100/repo/JeOS-SLES11-SP3-x86_64/CD1  
autoyast=http://192.168.43.100/autoyast/osd.xml 
implicit 0 
display f1 
prompt 1 
timeout 0 
,$K

More Related Content

Tut6117

  • 3. ! $
  • 4. ##
  • 5. ! ! #$ %
  • 6. #$ ,# + ! # # !! ! + + #! %
  • 8. ! ! #$ %
  • 9. #$
  • 10. )
  • 11. #
  • 12. ! ++ ! !+!+ !!# ! ,##+ # #
  • 13. ' ( )!* * ++ # ( # ,!#+ ! ! + ## ( + !-./) -+. /+ )+ ** !Z )! * +# + #!#! ##+ ! !+ ! # !#!!!# ##!# ++#! Q #Q#+#+
  • 14. 0 )+ /1) /2 ! 1/ 2 ! ! ! /1-/2 !)+ 1-32 !4# ! !!Z , !!## # ! : ! ) / ! ! . ! /1 -/2!I+* !+ ! !)+ , !)+ 1 -32! -
  • 15. ,.$!+.I )! !4# , !4#1 !4 2!$) K! # + # ! !+# ++# !! HH$#- +#$J$
  • 16. 5 ( ! !# !1 + 2 ( !)+ /1) /2 1%621 7! 2 ( ! 1/ 2 ! !4#$ ! #1! 2*+# ! .+! ! J! ! !# !, !+# ! + + 2 ! +# ,) /!!# ! ) /+ !! .!# ! !#, ##! $ !!+# !
  • 17. 8 ! # ! ! !/ !) / , != *!-./) + -./) # *! ! !
  • 18. 9 ! # ! ! -!. !. /7) !/ !) / J !! !+#= * ! ! .!7)) / * ! ) / ! !+! #! `*!** , +# ! ! # ! ! 12 %%6),+ #
  • 19. :;
  • 20. # ( . ! = #) /!+ ( !!! ,! 1 + !! +! !!) / +2 ( . ) /! !#! # = *. ! # $)4! *.#) /!+ ) ) /+#I ,! +!! ! . ) /!
  • 21. :: $ % ( )?77!7!@ [global] fsid = a7f64266-0894-4f1e-a635-d0aeaca0e993 mon initial members = node1 mon host = 192.168.0.1 public network = 192.168.0.0/24 auth cluster required = cephx auth service required = cephx auth client required = cephx osd journal size = 1024 filestore xattr use omap = true osd pool default size = 2 osd pool default min size = 1 osd pool default pg num = 333 osd pool default pgp num = 333 osd crush chooseleaf type = 1 ./=C C . .$ ( ## # !* *** #7!7! #*** #***! ABA A + + +
  • 22. %
  • 23. : +!*!# ! .##! * ! #!/! # #
  • 24. : $ % ' ( 3 # # !* *** #77!7! #*** #* *** D;**!ABA**!ABA**!AA ( . #! # !* 7!7! #**!* # 77!7! # ( 3! 12 $124 / 7!7!= !****::9:08;:**50E00*;89E*E:* 0'*;;997!7! J !+# # #
  • 25. : $ % ' ( #12 12 77+7!77!*: ( $! 12! # !*** *:**!7!7!** # 7!7! # ( 12 777!: ( F# = !* .! # # !
  • 26. :E ! # ( )# # 12 # ) / G H # ) / +! +1! ID ) /2 ( !!!* #!! !# ! ,!* #) //+# !* ) / - J! # )# # 12 # ) / $ H # ) / +!+1 ! ID ) /2
  • 27. :' ! # ' ( $!) / !* !!** !** * 50E00*;89E*E:* 0'*;;99***#!E77: ( .) /= !* 77: ( ,! !!= !* ( , = ! )) / # #) / # # %.MMMM !.!# +#! ) /## #
  • 29. :5 ( ( +!! ( #!! ( ,!
  • 30. %
  • 31. ( !! ! = )$ ) 7 F 1FKLFJ#!*F2 1. )!
  • 32. .I 2
  • 35. ; !
  • 39. %
  • 40. $K
  • 41. ) + ! !) /! ! +# !) / ) /+ + !! + %
  • 42. $K
  • 44. E + ( .$K
  • 45. +# + !# /F/ ( . # #! ( . G ,# #
  • 46. ! % ( != /J $ ,4,$ $K
  • 47. +1# 2 ! .$K
  • 48. ++# !7 # ### )# #+ . G , $K
  • 49. +! #
  • 50. #+ /J $,4,$# ! %A !*+#*
  • 51. ' ./ ( +/J $ ( 77! subnet 192.168.43.0 netmask 255.255.255.0 { range 192.168.43.1 192.168.43.254; filename pxelinux.0; next-server 192.168.43.100; } ( ,!= ** !# ++ = !#+ ++# # #/J $# # ,!!?*@?@ +#!#++# /J $
  • 52. 0 00/ ( +! ( 777! service tftp { socket_type = dgram protocol = udp wait = yes flags = IPv6 IPv4 user = root server = /usr/sbin/in.tftpd server_args = -v -s /srv/tftp disable = no } ,,4,$ + )+ *!
  • 53. 5 /1 % ( ?# @ $K
  • 54. + /srv/tftp/pxelinux.cfg/default /srv/tftp/f1 /srv/tftp/initrd /srv/tftp/linux /srv/tftp/pxelinux.0 ( 77!7! 7 # hard disk label harddisk kernel linux append SLX=0x202 # ceph installation label cephosd kernel linux append initrd=initrd splash=silent showopts install=http://192.168.43.100/repo/JeOS-SLES11-SP3-x86_64/CD1 autoyast=http://192.168.43.100/autoyast/osd.xml implicit 0 display f1 prompt 1 timeout 0 ,$K
  • 56. + +## +# = * # *!#?:@ + * + +
  • 57. 8 /1 % ' ( 77!7: harddisk - Boot from Harddisk cephosd - Add a new Ceph OSD to the existing Ceph Storage Cluster cephmon - TODO Add a new Ceph Mon to the existing Ceph Storage Cluster cephmds - TODO Add a new Ceph MDS to the existing Ceph Storage Cluster ( !#?@? @ %
  • 58. /F/ # cp /media/cdrom/boot/i386/loader/initrd /srv/tftpboot/ # cp /media/cdrom/boot/i386/loader/linux /srv/tftpboot/ ( # J!!#?:@ + #$K
  • 60. 9 /1 % ' (
  • 61. !! /srv/tftp/pxelinux.cfg/default /srv/tftp/f1 /srv/tftp/initrd-SLES11SP2 /srv/tftp/linux-SLES11SP2 /srv/tftp/initrd-SLES11SP3 /srv/tftp/linux-SLES11SP3 /srv/tftp/initrd-SLES12 /srv/tftp/linux-SLES12 /srv/tftp/pxelinux.0 ___________________ # ceph on SLES11 SP2 label cephosd-sles11sp2 !#?@? @+ M kernel linux append initrd=initrd splash=silent showopts install=http://192.168.43.100/repo/SLES11-SP2-x86_64/CD1 autoyast=http://192.168.43.100/autoyast/osd.xml # ceph on SLES11 SP3 label cephosd-sles11sp3 kernel linux append initrd=initrd splash=silent showopts install=http://192.168.43.100/repo/SLES11-SP3-x86_64/CD1 autoyast=http://192.168.43.100/autoyast/osd.xml # ceph on SLES12 label cephosd-sles12 kernel linux append initrd=initrd splash=silent showopts install=http://192.168.43.100/repo/SLES12-x86_64/CD1 autoyast=http://192.168.43.100/autoyast/osd.xml ?77!7! 7 @ !?:@ # J!! $K
  • 62. + + %
  • 63. :; %
  • 64. :: %
  • 66. ; + ( ! # +# ( +#+ = !1#!2 !/F/1 )2+ ( G ,# #
  • 67. #! !# +J,,$ 4,$## +# # + +# ! 4)-%. ,# ) / $K
  • 68. +
  • 69. . G ,
  • 71. % # # I ( ! . G ,! 1K%2 ( = !# /!# # .!+ . G ,$K
  • 72. +
  • 73. % # # 7 I . G , !#+ # #! ! +! ## # ! + # #
  • 74. ! / N*O NPP! =#!DQQO N#O NP ONMR /.,.R2334$!0 56+/433 77/89:;6; /.SSON7P O N! O %
  • 76. $JN7! O N! PO7N7! PO N PP=#!DQ+QO N7 PPO N7#O N7PP! O N7*O N!=#!DQQO NO NI=#!DQ+QO N7IO N!=#!DQQO N!O N=#!DQ+QO N7O N#!P=#!DQ+QON7#!PO N#=#!DQ#+QON7#O N=#!DQ+QO N7O N!O N7!O N!P=#!DQ+QON7!PO NPO*N7PO N O3N7 O N +#=#!DQ#+QON7 +#O N!P=#!DQQO::N7!PO NI=#!DQ+QON7IO NION7IO N7!O % #!K% J *! +# !#! ! +# + ) /
  • 77. E = N O N!P!O NPPON7PPO NPP!O.,)N7PP!O N7!P!O NO N!P=#!DQ+QO N7!PO NO4.#0=!$ 4N7O NO4#$!+=4N7O NPP!#ON7PP!#O NP=#!DQ+QO N7PO N7O N=#!DQQO NO N+!ON7+!O NO;N7O N!O4+/!5 4N7!O N O4= 0$!4N7 O NO N7O N ON7 O N7O N7O N=#!DQ+QON7O N7 O J # # # .# ! *+ ! ! ! % !#
  • 78. ' ! 7 N *=#!DQQO N O NOJ N7O N=#!DQQO;N7O N=#!DQQO:N7O N!=#!DQQO N!O N7!O N7!O N O ?? 9?'N7 O NON7O N!O NON7O N PP=#!DQ+QON7 PPO N=#!DQ+QO N7O N ONMR /.,.RTM7+7+ UF.%O7!7P SSO N7 O N+ =#!DQ+QON7+ O N+ =#!DQ+QO N7+ O N7!O N7 O RS J I !+# 4 + .
  • 79. 0 ! @ N O NOJ N7O N=#!DQQO;N7O N=#!DQQON7O N!=#!DQQO N!O ;!N7!O N7!O N O+/ ! +5 9 ?? 7A@?7;:?7?73@'N7 O NON7O N!O NO!N7O N PP=#!DQ+QO N7 PPO N=#!DQ+QO N7O N ONMR /.,.RTM7+7+ P12V DU: R*IQUQSWWQG !MQWW: R*IQUV77R.*X*I;*9S7YQSWW*Q Z1 2[ [QU VY[QQWW: !DQU1QUQ *4QQAV!UYA2Q R*IQU!QSWW*Q Z1 2[ [QUVY[QQWW: !DQUV77R.*X*I;*9S7YQ RQUVT!YQ*:SWW*Q Z1 2[. #QWW: ; Y 12 V T6 +''''*''+#I **U11'*1U:78222''''''''U111''NN18*1U:]8222W''22;;; RU:*:SWWU: UV:*;YUV*;YUV*;YUVE*;Y Y RS , ! ! +# + # ! $ #$ # #
  • 80. 5 ! @ ' P!12V !DU:! R*IQU!QSWWQG !$! /-!MQWW: RQUVT!YQ*9SWW*Q$! /-!Z[G #AUVT!YAQWW: R*QUV!77R;*9[7S7YQSWW*Q$! /-!Z[4 =AUV!77R;*9S7YAQWW: !DQU1QU!Q *4Q7QAV!UYA2Q R*IQU!QSWW*Q, /-! +!M[1:9:08::7E2[QWW: ; Y J) ,6.
  • 87. ,. LDU1 QU /-Q2 B34.#0=!$ 43C.#0=!$ 3B D B34#$!+=43C#$!+=3B D B34+/!5 43C+/!5 3B D B34= 0$!43C= 0$!3B D B3EDFG3H3IC3 B D 333?9 I 333 ?9 SSO N7 O N+ =#!DQ+QON7+ O N+ =#!DQ+QO N7+ O N7!O N7 O N7 *O -! ! *++ ! ##.+# ! #! +##= .#! ! ! ! #K4 4 +#
  • 88. 8 / N!*!=#!DQQO N!O N+ =#!DQ+QO N7+ O N+ =#!DQ+QON7+ O NOIN7O N!ON7!O NONMR /.,.RSSON7O N P=#!DQ+QON7 PO NON7O N ONMR /.,.RTM7+7+ 77! !=77. ,
  • 91. -P$7!7! # T ) / DU1!2 T) /) !! ! # # = *7!77+7!77!*UVY TI) /# !**U** ^ # RS
  • 92. 9 / ' T-) / #, !!*V* Y!U *U # ! # = ! UVYABAAA*77+7!77!*UVY7 # T)-L.-)6/ Q
  • 93. 6F.%=#:+ #Q ! UVY ! UVYABAAA*77+7!77!*UVY7 # T.) / - J!) /+ ! UVY:D T)-L.-)6/ = 77+7!77!*UVY7# T ) / 777!UVY T
  • 94. + !+ 7+7! T) Q. ,
  • 97. 7!7 %
  • 99. $J7 %
  • 101. $J SSON7 O N7!O N7!*!O N7!O
  • 103. E: ! 9
  • 104. +# !#
  • 105. %
  • 106. !- J
  • 107. !% # I !# - !# I!I I - + + #! ( $
  • 108. E 3 )!I $
  • 109. #$
  • 110. EE /1 ( !!
  • 111. +# ) I#!!!*
  • 112. 77#7!
  • 113. 77! (
  • 114. +*# .O
  • 115. O*# O
  • 116. +I
  • 117. E' ( . %
  • 118. :: $
  • 120. $ O ( . ! ) O O
  • 121. ( . !-!# O O -!O
  • 122. ( . !-!# O O O -!O
  • 123. E0 J ( !# %
  • 128. E5 / K ( . ! #O. O$O
  • 129. + + ! ! ( .+ #O. O$O O F+ 4!= P #D:*::!*80P0E
  • 130. E8 / K ' ( != #O. O$O O/ O4
  • 131. !?T@?T@ .!! $SNIPPET('spacewalk/sles_no_signature_checks') $SNIPPET('spacewalk/sles_register_script') .*= add-on add_on_products config:type=list listentry ask_on_error config:type=booleantrue/ask_on_error media_urlhttp://$redhat_management_server/ks/dist/child/sles11-sp3-updates-x86_64/sles11sp3-x86_64/media_url nameSLES11-SP3-updates/name productSLES11 SP3 updates/product product_dir//product_dir /listentry listentry ask_on_error config:type=booleantrue/ask_on_error media_urlhttp://$redhat_management_server/ks/dist/child/ceph-sles11sp3-x86_64/sles11sp3-x86_64/media_url nameCeph-SLES11-SP3/name productCeph SLES11 SP3/product product_dir//product_dir /listentry /add_on_products /add-on
  • 132. E9 5 K ( 3 ! !6 #O #3 !O
  • 133. ( .L# #O.L# ( . !.L# #O.L#O3 !O ( 3! ! .O
  • 134. O! !O
  • 135. '; 5 K ' ( 3! ! 7777! +7+! ( !-! **+!*! ( + G ,O O -!O.O (
  • 136. ! ! cat bootstrap-EDITED-NAME.sh | ssh root@CLIENT_MACHINE1 /bin/bash
  • 137. , # ':
  • 138. '
  • 139. . L ' 9;E;96 + 3# HE99::5E;';12 _ = ! '
  • 141. %% .
  • 145. !
  • 146. 4